Fedora Linux Support Community & Resources Center
  #1  
Old 2nd June 2004, 07:36 PM
dciarnie Offline
Registered User
 
Join Date: Jun 2004
Posts: 88
DHCP problems

I have run into some dhcp problems with Fedora Core 2. I have been connecting to the Internet with an ADSL modem and a D-Link firewall/router which works fine. I run into problems, however, if I remove the firewall/router and connect directly through the modem. In this case, DHCP gets the new IP without problem but I lose DNS lookups. As far as I can tell, this is because resolv.conf is not being updated. The nameserver entry is 192.168.1.1 which is the address of the router which isn't connected.

Shouldn't resolv.conf be updated the the DHCP lookup? Any solutions to the problem would be greatly appreciated.
Reply With Quote
  #2  
Old 3rd June 2004, 02:11 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
My /etc/resolv.conf was
Quote:
generated by /sbin/dhclient-script
Perhaps run that again?

If your ISP gives you the IPs of their DNS servers, you could add them as new DNS entries in /etc/resolv.conf. It tries them in order. If you left ones that didn't work in there, however, it would wait until it timed out which may make resolving things longer.
Reply With Quote
  #3  
Old 3rd June 2004, 03:42 AM
dciarnie Offline
Registered User
 
Join Date: Jun 2004
Posts: 88
The original resolv.conf was generated by dhclient-script. I've tried

/sbin/dhclient eth0

This updates the IP address but it does not update resolve.conf. I've also manually de-activating and activating eth0 with system-config-network. Nothing works.

I should not have to manually enter the DNS entries into resolv.conf. This should be handled automatically. As I recall, it worked just fine with RH9 but I can't check it any more to confirm.
Reply With Quote
Reply

Tags
dhcp, problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Problems borgward Servers & Networking 25 16th November 2006 10:24 PM
DHCP server problems mirelamarta Installation and Live Media 6 2nd December 2004 07:37 PM


Current GMT-time: 17:18 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat