LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-20-2003, 07:17 PM   #1
leb01002
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 3

Rep: Reputation: 0
Unhappy dual boot (rh9 winXP) host problem


I have RH9 and WinXP set up on my computer. Every so often, when I boot to linux, my host name will get set to my computer's name that I set up when I first installed windows. This screws up sendmail and who knows what else. How do I fix this so that my host doesn't change from localhost.localdomain, or how can I make linux accept my computer's name?

thanks
 
Old 11-20-2003, 08:32 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You will need to edit the /etc/sysconfig/network file by adding your hostname to the hostname line.
Code:
HOSTNAME=hostname
And you will need to edit the /etc/hosts file by appending your hostname to the loopback (127.0.0.1) line.
Code:
127.0.0.1       localhost.localdomain   localhost hostname

Last edited by Mathieu; 11-21-2003 at 07:37 PM.
 
Old 11-21-2003, 09:58 AM   #3
leb01002
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 3

Original Poster
Rep: Reputation: 0
thanks!!
 
  


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
dual boot problem: winxp and rh9 both one one hard drive dinow Red Hat 6 07-26-2005 07:00 AM
vmware Slack (Host)/WinXP - dual-boot issues gearsmithy Linux - Software 0 01-28-2004 11:42 AM
RH9 and WinXP, dual boot Ulaire Smiley Linux - Newbie 3 09-27-2003 10:09 AM
WinXP/RH9 - Dual Boot? Ulaire Smiley Linux - Newbie 5 09-26-2003 02:08 PM
WinXP/RH9 Dual Boot Shademeister Linux - Newbie 7 08-08-2003 07:40 PM


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