Questions and Answers :
Unix/Linux :
Computer ID says LOCALHOST
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 14 May 99 Posts: 16 Credit: 2,494,119 RAC: 0 ![]() |
Ubuntu Linux dapper with full updates. From what I can tell the system is named JUNIOR, but according to the S@H computer listing it's LOCALHOST. Is there an option that i'm missing here that is supposed make the system naming official? All of your WU's are belong to me now! |
Desti Send message Joined: 28 Feb 03 Posts: 123 Credit: 519,284 RAC: 1 |
|
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
It could be, if your hostname is right set, as Desti posted, that there are wrong entries in the /etc/hosts and so the boinc client could not resolve the hostname correctly. For example : 127.0.0.1 localhost HOSTNAME Change HOSTNAME in the hostname you have named your computer If you change it in : 127.0.0.1 localhost IP_OF_THE_INTERFACE HOSTNAME Change IP_OF_THE_INTERFACE in the example above in the ip address, you have assigned to your interface. But the IP_OF_THE_INTERFACE depends how you connect to the outside. If you connecting with ehternet to a router, the example above may be right. If you connecting with ppp (dialup with ISDN or modem) and get a dynamicly IP this change of the /etc/hosts should work : 127.0.0.0.1 HOSTNAME localhost |
![]() Send message Joined: 14 May 99 Posts: 16 Credit: 2,494,119 RAC: 0 ![]() |
Here is what is in my HOSTS file: 127.0.0.1 localhost JUNIOR 127.0.1.1 JUNIOR The rest is nomenclature for IPv6 capable hosts. All of your WU's are belong to me now! |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
Here is what is in my HOSTS file: If you change the hosts to following it would work : 127.0.0.1 localhost x.x.x.x JUNIOR -> x.x.x. is the IP of the Interface you are going outside. If your host made a reverse lookup to the only one IP (127.0.0.1), it get the localhost entry as first hostname, so the boinc client see "localhost" as hostname. |
![]() Send message Joined: 14 May 99 Posts: 16 Credit: 2,494,119 RAC: 0 ![]() |
Hmm, Can't seem to touch the HOSTS file.. It's write-locked and the properties says that i'm not the owner so I can't unlock it.. I guess I need the SUDO command to disable the write lock. All of your WU's are belong to me now! |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
Hmm, Can't seem to touch the HOSTS file.. It's write-locked and the properties says that i'm not the owner so I can't unlock it.. Yes, you need root permitsions to edit it. A "su - root" or a "sudo vi /etc/hosts" would help. |
©2025 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.