LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-26-2006, 05:08 PM   #1
Josh100
Member
 
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
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Hi

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

Bob
 
Old 05-26-2006, 05:44 PM   #3
spirit receiver
Member
 
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
Josh100
Member
 
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?
 
  


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


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