LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2013, 10:13 AM   #1
summersBee
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
Why does my terminal display of hostname changes by itself ?


Hello.
This is my first post in any forum, so please excuse me if anything is incorrect or incompletly asked.
So here is my problem
From around 2 weeks my hostname changes by itself and i wonder why.
I have also noticed that when logon prompt apears it says "user logon ip address" and the ip address has changed twice all by itself !!
Now the situation is: the terminal says: [root@222 ~]#
and "user logon 222....." same ips

It would be great if you at least help me find from where logon prompt reads to output the string with misterious ip address?

Best wishes,
Sb
 
Old 06-03-2013, 10:18 AM   #2
Genocide_Hoax
Member
 
Registered: Apr 2011
Distribution: OpenSuse 12.3 , Slackware 13.1 ; Centos 6.2 ; Fedora 14
Posts: 90

Rep: Reputation: 8
Which flavor of linux are you using? I suppose automatically assign hostname is enabled your system. And you are connected to some router which is assigning you a new IP via DHCP and since your auto hostname is enabled it keeps on changing. In order to give you the exact steps how to disable this , I need to know which flavor of Linux are you using?
 
Old 06-03-2013, 10:54 AM   #3
summersBee
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Centos 6.4 and i have a static public ip addres
Where is the option for automatic assigning hostname? so i can see whats happening
 
Old 06-03-2013, 10:57 AM   #4
Genocide_Hoax
Member
 
Registered: Apr 2011
Distribution: OpenSuse 12.3 , Slackware 13.1 ; Centos 6.2 ; Fedora 14
Posts: 90

Rep: Reputation: 8
I suppose that option is not valid for centos. I saw it in opensuse. Anyways you can try the following steps to resolve your problem

http://daddy-linux.blogspot.in/2012/...of-centos.html
 
  


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
HP ILO boot screen resolution and hostname display usao Linux - Server 2 01-22-2012 01:38 PM
display only IP or IP and hostname out put of nmap scan krillz Programming 3 03-28-2011 08:56 PM
HOSTNAME shows as none from terminal micka Linux - Networking 8 02-19-2010 02:55 PM
Display hostname? HLA91 Linux - Newbie 5 03-11-2009 04:31 PM
How to change the ipaddress,hostname,mac number in Fedora 6 from Terminal me4linux Linux - Networking 1 03-24-2007 07:34 AM


All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration