Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-05-2006, 03:02 PM   #1
Zeno McDohl
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 317

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:
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
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,879

Rep: Reputation: 263Reputation: 263Reputation: 263
Old 02-05-2006, 03:17 PM   #3
Zeno McDohl
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 317

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
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 AM.

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