LinuxQuestions.org
Review your favorite Linux distribution.
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 05-26-2006, 04: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, 04:40 PM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
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, 04: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, 05: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



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 11:27 AM
changing my hostname in suse 9.3 abuheider Linux - Networking 1 10-11-2005 10:28 PM
SuSE can't ping by hostname jschwartzman Linux - Networking 10 03-14-2005 03:29 PM
Strange Problem on SuSE 9.1 - Remembering previous sessions apachedude Linux - Distributions 4 12-28-2004 07:04 PM
Remembering Passwords 4hp Mandriva 5 09-03-2003 11:05 AM

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

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