LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-28-2003, 08:59 PM   #1
mac_phil
Member
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
Mandrake Sets Hostname Before Getting IP?


I connect to a network via a 10baseT cable. The network uses dhcp. It assigns me a hostname that includes the last few numbers of my IP address.

What I don't get is that when I reboot, one of the first messages is: Setting hostname [old hostname]. Then, many steps later, it brings up eth0 and gets my ip.

Why does it do this? A few times I've gotten the error: unable to resolve hostname. Then X functions extremely poorly and I have to connect to the network manually (if I can connect at all). I'm assuming this is because DHCP tries to give me a new ip# that doesn't match with my old hostname.

Am I missing something? Shouldn't mandrake assign the hostname after it gets the ip #?
 
Old 09-30-2003, 09:41 AM   #2
mikeb222
LQ Newbie
 
Registered: Sep 2003
Location: Woburn, MA
Distribution: Mandrake 9.1
Posts: 25

Rep: Reputation: 15
Host names are recorded locally on each box. IP address is requested from and assigned by the DHCP server.

The following web site has a list of ways to check and/or correct the information on your system.

http://www.cpqlinux.com/hostname.html

hope this helps
 
  


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
mandrake 10.1 --- Linuxant drivers problem (?)and a hostname question reflection666 Linux - Newbie 3 11-24-2004 02:33 PM
hostname <Mandrake 9.2> Penguin666 Linux - Networking 5 11-22-2003 04:00 PM
Dynamic Disk Sets, Installing Mandrake on them. NiX0n Mandriva 1 11-12-2003 03:08 PM
Mandrake sets up NIC in Dell Optiplex GXA with 3c59x driver instead of 3c90x Linuxpenguin Linux - Networking 5 07-24-2003 05:27 AM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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