image
image

Go Back   macosx.com > Mac Help Forums > Networking & Compatibility

Reply
 
Thread Tools
  #1  
Old July 12th, 2006, 09:49 PM
Registered User
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
jlfinkels is on a distinguished road
Question DHCP client not setting DNS server

I feel rather foolish asking this, but I've tried everything I could think of at this point.

I'm a newbie to Macintosh, but am fairly UNIX savvy. I recently purchased an iBook G4 (OSX 10.3.9) and Powerbook G4 (OSX 10.4.7). My network is a SA Webstar Cable modem connected to a Linksys RT31P2 router (for Vonage) which is connected to a Belkin Wireless 54G access point. All other connections are wireless. All clients are setup for DHCP which is served by the Linksys router.

Now, my wife's XP laptop works fine, my Powerbook works fine but my iBook gets an IP address but does not set a DNS server. I checked the DNS packets with tcpdump and I can see the DNS information in the DHCPREPLY, but for some reason the iBook does not write it to /etc/resolv.conf like the Powerbook does. The only way I can get DNS to work is to hard-code the DNS server in the /etc/resolv.conf file. I thought this may have been an issue with my Linksys router, so I took the iBook to work with me and it exhibits the same symptoms there. It gets an IP address fine, but does not set the DNS server.

I take my laptop with me everywhere and need to have full DHCP working. Does anyone have any ideas of what I should be looking at or may have done wrong? If I'm in the wrong forum please let me know.

-jeff

Last edited by jlfinkels; July 12th, 2006 at 10:01 PM. Reason: cross-posted to OSX forum
Reply With Quote
  #2  
Old July 13th, 2006, 03:28 AM
Volunteer Tech
 
Join Date: Dec 2004
Location: England
Posts: 386
Thanks: 0
Thanked 0 Times in 0 Posts
Tommo is on a distinguished road
The DNS information on OSX is not stored in /etc/resolv.conf like other unix systems. /etc/resolv.conf is a sybollic link to /var/run/resolv.conf. You cxan get this problem if that link is broken.

Try deleteing the resolv.conf file you created and then recreate the link.
Reply With Quote
  #3  
Old July 13th, 2006, 06:11 AM
Registered User
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
jlfinkels is on a distinguished road
Smile

Bingo!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subnet Client cannot get IP via DHCP - solved Lawrence Bean Mac OS X Server 0 December 7th, 2005 12:37 PM
Setting Client Hostname? Sogni Networking & Compatibility 1 December 11th, 2003 09:34 PM
setting up FTP for client access behind firewall MrHappyMonkey Mac OS X System & Mac Software 0 June 2nd, 2002 12:28 AM
DHCP client vic Mac OS X System & Mac Software 2 March 11th, 2002 05:25 PM
dhcp client name unsend ! popey.marin Mac OS X System & Mac Software 1 July 30th, 2001 02:25 AM


All times are GMT -5. The time now is 07:32 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.