Adding DHCP to system that was installed with no network access

Derek Broughton derek at pointerstop.ca
Thu May 14 23:49:30 UTC 2009


email.listen at googlemail.com wrote:

> Am Do, 14. Mai 2009 16:14:35 schrieb Dotan Cohen:
>> I had to install Ubuntu 9.04 on a system that was not connected to a
>> network at the time of install. Now, the system cannot find the home
>> network (DHCP assigned from a consumer router).

Very odd, because I invariably install on systems not connected to a 
network, and have yet to have an issue.


> - For b)
> Open /etc/network/interfaces in an editor and check if the dhcp option is
> set for your network-card (NIC):
> 
> Open a Terminal and type
> 
>   sudo editor /etc/network/interfaces
> 
> You will see the file opened in your systems favorite editor.
> 
> For your NIC it should have an entry like the one below:
> 
> ---8<---
> auto eth0
> iface eth0 inet dhcp

This, as I'm sure Dotan knows, is practically never required for an Ubuntu 
installation.  For NetworkManager to work, the interface should _not_ be 
specified in /etc/network/interfaces.  Now, for a wired interface it rarely 
matters - you can put it there anyway - but still it is simpler and usually 
better to leave it out.
-- 
derek






More information about the ubuntu-users mailing list