Changing dhcpcd to dhclient in startup scripts
I recently upgraded to a Intel i3 cpu and Intel H55 motherboard. This was from an old P4 machine that was running Slackware 13.0. The machine is a single connection to the internet through a cable modem.
I moved the hard drives over, and found that dhcpcd would not work with this board in either Slackware 13.0 or 13.1 (after updating). I tried both the Gigabit onboard Lan, an old PCI ethernet card, and installing the most recent version of dhcpcd. No luck.
Dhcpcd would negotiate the lease with my cable modem, assign an IP address. But after that the process stalled. The internet was unreachable, and no nameservers were printed in /etc/resolv.conf. Manually killing dhcpcd and entering: "dhclient -4 eth0" got me on the internet without a problem.
As this appears to be a lingering problem with dhcpcd, I am going to try to use dhclient permanently.
Has anyone else moved over to using dhclient? If you have modified your startup scripts in /etc/rc.d to use dhclient, could you please post them so I could see what approach you have taken?
|