LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-09-2003, 04:56 AM   #1
xanthumn
LQ Newbie
 
Registered: Dec 2002
Location: California State University, Chico
Distribution: Redhat/LFS
Posts: 2

Rep: Reputation: 0
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.
 
Old 01-16-2003, 06:28 AM   #2
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
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?
 
Old 01-21-2003, 04:30 AM   #3
xanthumn
LQ Newbie
 
Registered: Dec 2002
Location: California State University, Chico
Distribution: Redhat/LFS
Posts: 2

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ip of my server changes, seemingly at random esteeven Linux - Networking 7 03-10-2007 09:18 AM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 11:37 PM
Configurable HW seemingly dead? Recirqie Linux - Hardware 10 12-09-2004 06:16 PM
Creating random numbers from shell with /dev/random khermans Linux - General 1 07-13-2004 01:12 PM
9.1 installation freezes at seemingly random points mustardseed Slackware - Installation 2 03-02-2004 06:25 PM


All times are GMT -5. The time now is 05:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration