RobertCNelson / boot-scripts

Just a bunch of useful scripts placed under /opt/scripts/
125 stars 132 forks source link

Added the possibility to set the default gw and the nameservers perman… #35

Closed hcab14 closed 8 years ago

hcab14 commented 8 years ago

…ently

Example of /etc/network/interfaces:

iface usb0 inet static address 192.168.7.2 netmask 255.255.255.252 network 192.168.7.0 gateway 192.168.7.1 dns-nameservers 8.8.8.8 8.8.4.4 post-up /sbin/route add default gw 192.168.7.1

RobertCNelson commented 8 years ago

Thanks