View Full Version : DHCP problems
2nd June 2004, 07:36 PM
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.
3rd June 2004, 02:11 AM
My /etc/resolv.conf was
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.
3rd June 2004, 03:42 AM
The original resolv.conf was generated by dhclient-script. I've tried
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.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.