diff options
author | P. J. McDermott <pjm@nac.net> | 2012-04-30 00:49:32 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-04-30 00:49:32 (EDT) |
commit | fb6206f10183e5d0f70b50067d4b074bc5267ce8 (patch) | |
tree | 96dc938a811f0b1b405594f4be8bd6f91b631fab /src/etc/network | |
parent | f7e704dd1aac625991a236f096a1af9463e7196c (diff) |
Use a static IP address instead of DHCP.
Diffstat (limited to 'src/etc/network')
-rw-r--r-- | src/etc/network/interfaces | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/etc/network/interfaces b/src/etc/network/interfaces index f9b1a34..aa1ce93 100644 --- a/src/etc/network/interfaces +++ b/src/etc/network/interfaces @@ -5,11 +5,9 @@ auto lo iface lo inet loopback -# Ethernet interfaces. +# Ethernet interface. auto eth0 -iface eth0 inet dhcp -iface eth1 inet dhcp - -# RNDIS interface. -auto usb0 -iface usb0 inet dhcp +iface eth0 inet static + address 192.168.11.191 + netmask 255.255.255.0 + gateway 192.168.11.1 |