[sclug] ethernet connection to router
John Stumbles
john at stumbles.org.uk
Sun Apr 23 15:28:13 UTC 2006
Tim Sutton wrote:
> Hi
>
> Try uncommenting this line:
>
>
>>#iface eth0 inet dhcp
# precede it with
auto eth0
# to have the interface brought up automatically (i.e., at boot time or
with ifup -a|--all)
> And comment out these ones:
>
>>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
>
> Then restart
You shouldn't need to reboot, but do
ifdown eth0
<edit file>
ifup eth0 (or -a or --all instead of 'eth0' to check that it auto-starts OK)
Is this a debian [based] distro?
I found this helpful:
http://www.debian.org/doc/manuals/reference/ch-gateway.en.html
--
John Stumbles
More information about the Sclug
mailing list