LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-20-2002, 02:37 PM   #1
jarmstrong
Registered User
 
Registered: May 2002
Location: Wisconsin, Madison
Distribution: FEDORA Core 1
Posts: 26

Rep: Reputation: 15
Local Host Name Change!!


Hey,
during the install I must have missed where to "name" my red hat 8.0 box.
When I log in to the box is reads Welcome to

TDS blah balh Usvnet.##ip routes###/ ect ect.


Where can I chage the name... its current name is my IPS IP Address and Route name for my NIC.

Thanks for the help
 
Old 12-20-2002, 02:42 PM   #2
bobo_daclown
Member
 
Registered: Dec 2002
Location: NC (no comment)
Distribution: Psyche (RH8.0) / LFS / OS X.2 / MDK 9.0 / Win2k Server
Posts: 49

Rep: Reputation: 15
In /etc/sysconfig/network , add a line/ modify current line: HOSTNAME=my_hostname_here That will make it work at boot.

Also, at the prompt: hostname my_hostname_here
Will do it immediately, but not on reboot.
 
Old 12-20-2002, 10:28 PM   #3
jarmstrong
Registered User
 
Registered: May 2002
Location: Wisconsin, Madison
Distribution: FEDORA Core 1
Posts: 26

Original Poster
Rep: Reputation: 15
Unhappy

That was not it.


at text login screen read madwitdsVLAN400-200 .. ect ect.
Usually it reads localhost or "Name of Box" ie (windows IDENTIFICATION name)
any other ideas would be great ..

Do I Need to Reinstall?
 
Old 12-20-2002, 10:59 PM   #4
johnny
LQ Newbie
 
Registered: Dec 2002
Location: SW Missouri
Distribution: Mandrake 9.0
Posts: 1

Rep: Reputation: 0
Go to the Login Manager, Start application (Kicker Button)>Configuration>KDE>System>Login Manager. On the first page you can change the Greeting. I hope thats what your looking for.

Never mind, I forgot to look and see what Distro you are running. I am useing Mandrake 9.0 and i dont know much about it. Much less Red Hat. Sorry

Last edited by johnny; 12-20-2002 at 11:01 PM.
 
Old 12-20-2002, 11:12 PM   #5
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
from root (or su) try typing "neat" at the command line. This brings up the network config GUI (in RH 7.3 at least). One of the tabs allows you to change the name of the host and the domain (linux@localhost.localdomain or what ever). If you dont have a NIC or if RH 8 is diferent, this might be useless, but it might help. I'd check, but I'm not in my RH box now.

Good Luck
 
Old 12-20-2002, 11:15 PM   #6
jarmstrong
Registered User
 
Registered: May 2002
Location: Wisconsin, Madison
Distribution: FEDORA Core 1
Posts: 26

Original Poster
Rep: Reputation: 15
Red Hat 8.0
 
Old 12-20-2002, 11:25 PM   #7
jarmstrong
Registered User
 
Registered: May 2002
Location: Wisconsin, Madison
Distribution: FEDORA Core 1
Posts: 26

Original Poster
Rep: Reputation: 15
OK I have done all of that..
Hmm..

When I restart my RH8.0
I get the the first line after the Kill Signal is

------> madwi tdsvlan400-222 ect.ect. <------ login : [ ok ]
above is what I want changed [ ok ]
[ ok ]

I checked my eth0 and kickbox dialog .. nothing I am new to RH 80 from 7.3
before the " login : " this is not found anywhere on my box to change.


 
Old 12-20-2002, 11:27 PM   #8
jarmstrong
Registered User
 
Registered: May 2002
Location: Wisconsin, Madison
Distribution: FEDORA Core 1
Posts: 26

Original Poster
Rep: Reputation: 15
[root@mdsnwi13-vlan444-220 root]#


At root I see this...

I need it changed to root@"anything else" root
 
Old 12-21-2002, 08:16 AM   #9
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Sorry for not replying. Had to sleep.

I understand now what you mean. I also realize that my suggestion will not work. Before going to sleep I tried to change mine to some thing else and was unsuccessful. however, I did realize something in the process. While I was successful at changing my hostname and domain name, the login remained the same "localhost login:" (run level 3, just befor X starts). The "localhost login" seems to be just a lable printed to the screen telling you to login. While it seems odd that yours says what it does, so long as nothing else is messed up, you should be OK. My guess is that there is some config script some where that has a line "print 'localhost login'" and your has a line that says something else (I'm not a programmer and I'm a linux newbie so I'm sure that syntax is wrong, but you get my point)

Assuming that you can get into linux OK, launch a console and type "hostname" <enter>, and "domainname" <enter>. See if it's the same or different than the login lable. You can also change the names using these commands as posted previously.

While "neat" may not work in RH8 there should be a network config program under system in the KDE menu. While this won't change the login, you'll be able to see the hostname, domainname, and aliase for your NIC and loopback (127.0.0.1). See what they say and if they resemble your login. If they do, you can also change the name here. I hanged my hostname to bertha and when i start xterm it says steve@bertha or root@bertha. I believe this is what you want. When I start the computer it still says "localhost login" so yours will still say whatever.

Of course, you could have reinstalled 5 times in the time it took me to type this :-). But what fun is that.

Anyway, I'm not sure I've been any help at all, but I wanted follow up my previous unhelpful post.

Good luck

must.....go........xmas........shopping.........
 
Old 12-21-2002, 02:43 PM   #10
jarmstrong
Registered User
 
Registered: May 2002
Location: Wisconsin, Madison
Distribution: FEDORA Core 1
Posts: 26

Original Poster
Rep: Reputation: 15
WORKED

THANKS !!!!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i change my local host? Jose Santos Linux - Newbie 1 05-26-2005 04:15 AM
Local Host? mac_casey Linux - General 7 03-02-2005 08:04 AM
local host login raysr Linux - Newbie 18 11-28-2003 02:35 PM
Local Host Webpage littlebradley Linux - Software 4 05-09-2003 08:39 PM
Changing local host name hagbardc Linux - Newbie 1 04-24-2003 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:12 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
Open Source Consulting | Domain Registration