Commit 43c423e1 authored by Benoit Rat's avatar Benoit Rat

userspace: ease configuration for non-DHCP switch

parent 405bc8f3
......@@ -15,4 +15,6 @@ if [ "$rootloc" != "" ]; then
else
echo "Starting ifplugd..."
/usr/sbin/ifplugd -I -f -i eth0
#Pull up the interface (check static/dynamic config in /etc/network/interfaces)
ifup eth0
fi
......@@ -2,3 +2,14 @@
auto lo
iface lo inet loopback
#Force eth0 to be configured by DHCP
auto eth0
iface eth0 inet dhcp
# Uncomment this example for static configuration
# iface eth0 inet static
# address 192.168.1.10
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment