LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i change my computer name at the welcome screen? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-change-my-computer-name-at-the-welcome-screen-133152/)

vince24a69 01-09-2004 02:17 PM

How do i change my computer name at the welcome screen?
 
I just installed redhat 9 and after boot up i get "welcome x1-6-00-d0-09-e9-f1-f7" i dont know how to change it! then when i try to log in i get
"Could not look up internet address for x1-6-00-d0-09-e9-f1-f7.
This will prevent GNOME from operating correctly.
It may be possible to correct the problem by adding
x1-6-00-d0-09-e9-f1-f7 to the file /etc/hosts."

i did that but nothing happened.
the strange thing is i nstalled the same version of rh9 on my buddy computer and his computer name localhost.localdomain and his system doesn't have a probblem with httpd startup like mine!

i wanna use localhost.localdomain or something like it!


i want it to say "welcome localhost.localdomain"
and maybe it will fix my apache problem too!
any help would be great


:D

vikrampant 01-09-2004 02:43 PM

edit /etc/hosts
 
You might get some luck editing your /etc/hosts file with a localhost ip instead of the hex string below. It looks like a MAC address, but upon further review it wasn't.

If you can get to vi, then use it to modify your /etc/hosts file like below

[vikram localhost]$ more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost

Hope this helps,
Vikram

michaelk 01-09-2004 05:30 PM

Edit the /etc/sysconfig/network file. Change hostname=

The host file just resolves an IP address to name.

It looks like that x... is your nic mac address.


All times are GMT -5. The time now is 07:48 AM.