Knoppix Static IP

As part of something today, had to run Knoppix, but it couldn't find DHCP. As a note to myself, more than anything, from a terminal:

ifconfig eth0 192.168.1.100
ifconfig eth0 netmask 255.255.255.0
echo nameserver 8.8.8.8 >> /etc/resolv.conf
route add default gw 192.168.1.1

And go. As less of a note to myself, that's using Google's new Public DNS service, which has some drawbacks, but does have a very, very memorable IP: 8.8.8.8.

No comments: