Message boards :
Number crunching :
How do you change the host name?
Message board moderation
Author | Message |
---|---|
Chilean Send message Joined: 6 Apr 03 Posts: 498 Credit: 3,200,504 RAC: 0 |
|
Metod, S56RKO Send message Joined: 27 Sep 02 Posts: 309 Credit: 113,221,277 RAC: 9 |
> I have a linux computer called "localhost" which it doesnt sound too cool (if > ya know what I mean :) Well the point is, if anybody knows how to change the > host name in Linux ? It is the name boinc gets from your system using gethostmyname() function. I've had the same issue and I solved it. I changed the /etc/hosts file by changing the definition which belongs to IP 127.0.0.1. But I can't tell you and more specificaly as I don't remember which host was that. Metod ... |
FalconFly Send message Joined: 5 Oct 99 Posts: 394 Credit: 18,053,892 RAC: 0 |
I had the same Problems, and used the Infos from these Pages to correct the Problem : http://www.cpqlinux.com/hostname.html http://www.linuxquestions.org/questions/archive/2/2003/04/4/57490 http://archive.linuxfromscratch.org/lfs-museum/2.1.5/LFS-HOWTO-2.1.5-HTML/LFS-HOWTO-2.1.5-9.html |
ksnash Send message Joined: 28 Nov 99 Posts: 402 Credit: 528,725 RAC: 0 |
> I have a linux computer called "localhost" which it doesnt sound too cool (if > ya know what I mean :) Well the point is, if anybody knows how to change the > host name in Linux ? > In Fedora core3 x86-64 they seem to have decided to totally ignore the /etc/hostname and etc/domainname files. I had to set the host name through the boot manager. Its really fun to try to put a share out on a computer called localhost. where does smb://localhost/share really exist? If any Fedora people read this, DO NOT SET THE DEFAULT HOSTNAME TO LOCALHOST! |
7822531 Send message Joined: 3 Apr 99 Posts: 820 Credit: 692 RAC: 0 |
where does smb://localhost/share really exist? Yes. `localhost` is a stand-in token for 127.0.0.1, but you already knew that, so I'm gonna leave it at that. BTW: Have you had any sound problems with FC3? |
ksnash Send message Joined: 28 Nov 99 Posts: 402 Credit: 528,725 RAC: 0 |
> where does smb://localhost/share really exist? > Yes. `localhost` is a stand-in token for 127.0.0.1, but you already > knew that, so I'm gonna leave it at that. > > BTW: Have you had any sound problems with FC3? > Hard to tell, didn't have speakers on that computer. About the localhost, I tried to put some files on the linux_64 system and thats how I found out they used a stupid default. I used the windows network neighborhood to connect to the so named localhost system and it would loopback to the same computer. I was going through the setup pretty fast and don't remember seeing the set hostname screen. |
7822531 Send message Joined: 3 Apr 99 Posts: 820 Credit: 692 RAC: 0 |
If you boot graphically you should see the host name and domain at the login screen. ls /etc/*host* and you'll see the files that need to be checked (host.conf?). I ask about FC's sound because it's the only thing that flat-out will not work (This is YDL4/FC2 and Red Hat's FC3/PPC) |
©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.