LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-12-2005, 09:28 AM   #1
apocolpse
Member
 
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91

Rep: Reputation: 15
Host Name Change ?


I used to be connect to my Cable modem throw a Linksys router, but now I am connected directly into the cable modem. When I was on the router my hostname was localhost.localdomain. NOw that I am connected directly to the modem its changed... to <number>.<number>.<number>.<number>.cfl.res.rr.com .........
I'm using Fedora Core 3. When I go to System Settings -> Network, the DNS Tab has my hostname still as localhost.localdomain.

Why did this happen ? Can I change it with any ill effects to my cable connection ? If so, how can I change it ?
 
Old 04-12-2005, 09:39 AM   #2
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
With the router you were effectively on an internal private network. Now you are hooked up directly to the net ,i.e your ip is the one you cable service provides.

It's normal and no you can't change it, but your box is still localhost. Although now without a router you obviously can't be on your own network so it's pretty much meaningless.

$ hostname

Should still return localhost. Why did you get rid of the router anyway? It provides a great first line of defense.

Last edited by chbin; 04-12-2005 at 09:40 AM.
 
Old 04-12-2005, 10:46 AM   #3
apocolpse
Member
 
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91

Original Poster
Rep: Reputation: 15
I didn't get rid of it actually. Me and my roommate share our connection through the router, but I live in Florida and some lightening
had a field day wit some of our electronics since we weren't home to unplug them.

So what if I wanted to change my hostname to something like myhost.mydomain.org ?
 
Old 04-12-2005, 11:27 AM   #4
NoZlmAn72
LQ Newbie
 
Registered: Oct 2003
Location: Phoenix
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
You can change it to whatever you want in the /etc/sysconfig/network file.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change Host Name intels_ss Linux - Newbie 4 07-25-2005 07:26 PM
how to change host name? gobi_dgm Linux - Newbie 6 05-01-2005 12:34 AM
how do i change my host name? jsmarshall85 Debian 7 10-19-2004 03:04 PM
How to change the host name? aroop Linux - Networking 8 09-12-2004 08:29 PM
How can I change the host name? Kramer Linux - General 7 01-15-2004 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 PM.

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