[sclug] ethernet connection to router

Stuart Major stuartmajor at phonecoop.coop
Sun Apr 23 10:58:11 UTC 2006


Hi All,

I am trying to fix a problem with a connection to a router.

When I run

sudo nano /etc/network/interfaces

I get

 This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

mapping hotplug
        script grep
        map eth0
        auth eth0

#iface eth0 inet dhcp

iface eth0 inet static
        address 192.168.0.100
        netmask 255.0.0.0
        dns-nameserver smtp-0.telecomplete.net
        gateway 192.168.2.1

which shows up the various settings, but it isn't until I run

sudo dhclient eth0

that the link is up.  How can I get the inteface/link up on boot?

/etc/resolv.conf contains the following

search Belkin
nameserver 192.168.2.1


Thanks, Stuart.



More information about the Sclug mailing list