[maemo-developers] [maemo-developers] Re: gethostbyname() ?? Unable to become root --> solved!

From: krischan.keitsch at alumni.tu-berlin.de krischan.keitsch at alumni.tu-berlin.de
Date: Wed Jan 3 22:40:47 EET 2007
Am Mittwoch, 3. Januar 2007 15:47 schrieb Zoran Kolic:
> > When I try to become root in an xterminal (sudo su -, or sudo gainroot)
> > it often fails and I end up with this error message.
> > "unable to lookup Nokia770-39 via gethostbyname()"
>
> I suspect you have changed hosts file.
> For the very first line it should be
> 127.0.0.1 new_box_name localhost
> This new name should match hostname file.
>
>                         Zoran
>
Hey Zoran

You were absolutely right! Thank you very much!
When I upgraded from itos 2006 28-8 to 39-14 (the fist update for the 2006 
edition) I copied over many files from my backup.

My /etc/hosts started with
...
127.0.0.1 Nokia770-26 localhost 
...
instead of

127.0.0.1 Nokia770-39 localhost 		<== 39!  ;-)

Next time I reinstall files from my backup after a firmware upgrade I will 
double check! Promissed! :-)

Regards Krischan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070103/d1e1754d/attachment.pgp 
More information about the maemo-developers mailing list