network configuration

albi albi at
Mon Sep 26 08:57:23 UTC 2005

On Mon, 26 Sep 2005 10:41:57 +0200 (MEST)
"Patrick Maechler" <PMaechler at> 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
sudo route add default gw
echo "nameserver" > /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 | gpg --import

More information about the ubuntu-users mailing list