Hostname

Questions and Answers : Unix/Linux : Hostname
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Jean-Michel Bruenn
Volunteer tester
Avatar

Send message
Joined: 6 Nov 03
Posts: 9
Credit: 1,124,328
RAC: 4
Germany
Message 690342 - Posted: 10 Dec 2007, 12:31:44 UTC

Hey,

where is seti getting the "hostname" from? Seti is showing no hostname on my account page for one of my boxes... i'm using the actual boinc

ID: 690342 · Report as offensive
DJStarfox

Send message
Joined: 23 May 01
Posts: 1066
Credit: 1,226,053
RAC: 2
United States
Message 690344 - Posted: 10 Dec 2007, 12:57:56 UTC - in response to Message 690342.  

/etc/hosts

If you're using DHCP, try:
/etc/sysconfig/networking/profiles/default/if-cfg0

and look for:
DHCP_HOSTNAME=mycomputer
ID: 690344 · Report as offensive
peristalsis

Send message
Joined: 23 Jul 99
Posts: 154
Credit: 28,610,163
RAC: 51
United States
Message 690349 - Posted: 10 Dec 2007, 13:55:32 UTC - in response to Message 690342.  

Hey,

where is seti getting the "hostname" from? Seti is showing no hostname on my account page for one of my boxes... i'm using the actual boinc


I'm using PCLinuxOS (PCLOS).
in etc/hosts (hosts is the actual file name), I have this line:
127.0.0.1 pclos localhost.pclos
and "pclos" shows up as the computer name when accessing the seti site..j
ID: 690349 · Report as offensive
Desti
Volunteer tester

Send message
Joined: 28 Feb 03
Posts: 123
Credit: 519,284
RAC: 1
Message 690352 - Posted: 10 Dec 2007, 14:12:51 UTC

Take a look at

hostname --help
ID: 690352 · Report as offensive
Profile Jean-Michel Bruenn
Volunteer tester
Avatar

Send message
Joined: 6 Nov 03
Posts: 9
Credit: 1,124,328
RAC: 4
Germany
Message 690690 - Posted: 11 Dec 2007, 16:49:32 UTC

heh. ty. fixed it. it was because my servers use dns first, then files.

changing that helped. (now it's using the /etc/hosts first)
ID: 690690 · Report as offensive

Questions and Answers : Unix/Linux : Hostname


 
©2024 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.