[maemo-developers] [maemo-developers] Re: gethostbyname() ?? Unable to become root--> solved!
From: Jakub.Pavelek at nokia.com Jakub.Pavelek at nokia.comDate: Thu Jan 4 08:55:06 EET 2007
- Previous message: [maemo-developers] Re: gethostbyname() ?? Unable to become root --> solved!
- Next message: [maemo-developers] Re: gethostbyname() ?? Unable to become root
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>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 One more reason to stick with the built-in backup and restore SW ;) --jakub
- Previous message: [maemo-developers] Re: gethostbyname() ?? Unable to become root --> solved!
- Next message: [maemo-developers] Re: gethostbyname() ?? Unable to become root
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]