LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-21-2003, 01:58 PM   #1
PlatinumRik
Member
 
Registered: Feb 2003
Location: Buffalo, NY
Distribution: Novell Linux Desktop
Posts: 159

Rep: Reputation: 30
/etc/sysconfig/network reboot?


how can i make the hostname change take effect w/o rebooting??
 
Old 05-21-2003, 02:06 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
if you want to restart the network do

'/etc/rc.d/init.d/network restart'

if that doesnt bring up your hostname you can set the hostname by using 'hostname'

it will be good untill the net reboot and of course once you reboot your hostname will come-up
 
Old 05-21-2003, 02:15 PM   #3
PlatinumRik
Member
 
Registered: Feb 2003
Location: Buffalo, NY
Distribution: Novell Linux Desktop
Posts: 159

Original Poster
Rep: Reputation: 30
it still says Name@localhost on the prompt???
 
Old 05-21-2003, 02:16 PM   #4
PlatinumRik
Member
 
Registered: Feb 2003
Location: Buffalo, NY
Distribution: Novell Linux Desktop
Posts: 159

Original Poster
Rep: Reputation: 30
got it it changed after i did the network reboot and then logged out and logged back in thanks for the help
 
  


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
How do I edit /etc/sysconfig/network IPDreams Linux - Newbie 14 07-28-2005 07:32 PM
/etc/sysconfig/network does not exist! Lechium Linux - Newbie 1 06-21-2004 05:18 PM
Where is the SuSE 9.0 /etc/sysconfig/network file? hnash53 Linux - Networking 1 02-07-2004 03:54 PM
/etc/sysconfig/network ssrikant Linux - Software 1 05-18-2003 03:30 PM
/etc/sysconfig/network-scripts on Solaris? meshcurrent Solaris / OpenSolaris 6 11-24-2002 01:51 AM


All times are GMT -5. The time now is 02:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration