Comment 5 for bug 580744

Revision history for this message
dlotton (yellow56) wrote :

Sudhir,

The assumption above with the 'sudo dhclient eth0' command is that your computer is connected to a network where there is a dhcp server present. Usually your network edge router device (e.g. DSL/cable modem, wireless router, etc.) provides this service if you connect to that device via Ethernet or wireless.

If you don't have a device on your network that serves dhcp addresses, then you will need to set up a fixed network address based on your network (IP address, netmask, gateway, etc). That can be done in '/etc/network/services'. From your last comment it looks like you had trouble editing that file. Use the sudo command to gain access to the file 'sudo <editor name> /etc/network/interfaces'. You'll have to google the specifics on setting that up.

If you set up a fixed IP address you'll also have to point to a name server in 'etc/resolve.conf'.