network configuration

albi albi at scii.nl
Mon Sep 26 08:57:23 UTC 2005


On Mon, 26 Sep 2005 10:41:57 +0200 (MEST)
"Patrick Maechler" <PMaechler at gmx.net> wrote:

> surely easy.... how i do configure the network at the console on a ubuntu
> box?

for one time setting up your NIC manually, e.g. :

sudo ifconfig eth0 192.168.0.2
sudo route add default gw 192.168.0.1
echo "nameserver 192.168.0.1" > /etc/resolv.conf

[better] edit your /etc/network/interfaces
and then /etc/init.d/networking restart
for syntax see : man interfaces

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import




More information about the ubuntu-users mailing list