Welcome to the most active Linux Forum on the web.
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 05-26-2006, 05:08 PM   #1
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Rep: Reputation: 15
suse not remembering the hostname

Hey i'm having a problem with changing my hostname i change it with the command

hostname <newhostname>

but it doesn't remember the change after i've restarted the system

any ideas?

thanks for any help
Old 05-26-2006, 05:40 PM   #2
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,495

Rep: Reputation: 52

Changing the hostname like you have is temporary until you reboot. If you want to make it permenent, as root, go to /etc/hostname and change it to whatever you want.

Hope this helps

Old 05-26-2006, 05:44 PM   #3
spirit receiver
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

Rep: Reputation: 33
Try YaST->Network Services->DNS/Hostname. There you may specify a name and make sure that it won't be altered by a DHCP client.
Old 05-28-2006, 06:55 AM   #4
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks that worked ,

One other question, i can now access my music with "smb://suse/music" on my mac, but I can't connect to it with my windows machine with "//suse/music"

is this more of a windows issue?


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
Hostname and Domain Name SuSE 10.1 Wavz SUSE / openSUSE 7 05-23-2006 12:27 PM
changing my hostname in suse 9.3 abuheider Linux - Networking 1 10-11-2005 11:28 PM
SuSE can't ping by hostname jschwartzman Linux - Networking 10 03-14-2005 04:29 PM
Strange Problem on SuSE 9.1 - Remembering previous sessions apachedude Linux - Distributions 4 12-28-2004 08:04 PM
Remembering Passwords 4hp Mandriva 5 09-03-2003 12:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:11 PM.

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
Open Source Consulting | Domain Registration