internet address, hostname, gnome login error

Maurice F. Piller piller at
Mon Sep 27 05:26:29 UTC 2004

Well, the problem is now fixed, I copied the setup from another ubuntu machine.

I first did an nslookup on the ip address I was receiving from dhcp to find the
hostname, and then set the hostname to this in file /etc/hostname.   

I then appended the hostname to the localhost line entry in file /etc/hosts.  

That is how the I On Sun, 26 Sep 2004 20:28:59 -0400
 "Maurice F. Piller" <piller at> wrote:
> Hi,
> I had two network cards in my computer, eth0 and eth1, the ubuntu
> installation
> setup the network using eth0 and all was fine.  
> I then replaced the eth0 network card with a new sound card (which is working
> fine) and rebooted.  
> The machine tried to boot using the old eth0 card, I got a gnome login error
> message that says it was unable to find an internet address and that gnome
> will
> not function properly, perhaps the problem can be fixed by changing
> /etc/hosts
> file.  The eth1 card does work.  
> My machine now has no hostname, and many of the Ubuntu applications fail to
> run
> showing a failed to gethostbyname message.
> I tried using the network-admin tool, deleting the network interface, then
> adding a new network interface but the problem remains.  
> Short of a fresh install how can I get a fresh new network setup on my ubuntu
> box?
> Thanks,
> Chip

More information about the ubuntu-users mailing list