LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Seemingly random hostname changes (http://www.linuxquestions.org/questions/linux-networking-3/seemingly-random-hostname-changes-40816/)

xanthumn 01-09-2003 03:56 AM

Seemingly random hostname changes
 
Howdy all!

I have recently found a problem I have never encountered before. My
system seems to be truncating my hostname at aparently random intervals.
I run RedHat 7.2 (kernel 2.4.9-31), Ximian Gnome 1.4 with Enlightenment.
Has anyone else encountered this? My normal hostname is in the form of
MyComputer.Domain.com but becomes simply MyComputer after a while.

Thanks in advance.

irish_rover 01-16-2003 05:28 AM

Do you have more info...an example of this happening. How do you know the hostname is different.. i.e. - .is it showing up different in a certain program?

xanthumn 01-21-2003 03:30 AM

I always have a console window open. When I can no longer run any programs that have a window, I run the `hostname` command to see what my hostname is, it just shows as MyComputer, when I know that it is set to MyComputer.Domain.com during startup. I then can `sudo hostname MyComputer.Domain.com` to change it back. I have had this problem long enough that I have a script to run that command.

Thanks for your help!


All times are GMT -5. The time now is 08:37 AM.