LinuxQuestions.org
Register a domain and help support LQ
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 02-05-2006, 03:02 PM   #1
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 316

Rep: Reputation: 30
Change hostname?


Okay, I want to change the name of the server. I used hostname, and it changed. For example, bash would show:
zeno@zenorebirth
Which is what I wanted, and it had changed. But then on a reboot, it reverted to the old name.

I want to change the name, but without using netconfig. That's how I used it originally.
 
Old 02-05-2006, 03:16 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
http://linuxcommand.org/man_pages/hostname1.html
 
Old 02-05-2006, 03:17 PM   #3
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 316

Original Poster
Rep: Reputation: 30
Yes, I read that manual already. It still doesn't explain why the hostname reset on reboot.

Unless what I'm trying to change is the FQDN..?
 
Old 02-05-2006, 03:42 PM   #4
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
and the distribution you are using is.......
and how did you change the name......

If you are using Slackware as it says under your name...then the hostname is set in the /etc/hosts file.
 
  


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
cant change hostname! secret_squirrel SUSE / openSUSE 3 04-18-2005 11:30 PM
change hostname mikpos Linux - Networking 1 08-12-2004 01:19 PM
Hostname change AttOMIXT Linux - Newbie 2 11-02-2003 12:10 AM
hostname change campo Linux - Networking 9 02-06-2003 04:41 PM
change hostname kafnir Linux - Networking 1 10-21-2002 12:10 PM


All times are GMT -5. The time now is 04:34 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