-
DHCP Help
My router recently got knocked out by an outage from my ISP. Since then I've haven't got it back up and running. So in the meantime, I've changed my eth0 to use DHCP and hit the net directly.
The problem is that after restarting the machine, I have to manually drop to a term window and issue My /etc/conf.d/net has the following in it:
Code:
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#iface_eth0="192.168.128.2 broadcast 192.168.128.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."
Any help on how to have this use dhcp automagically? BTW, I'm on Gentoo if that makes a difference.
TIA,
CT
-
Make sure that dhcpd is started at boot, as well. :)
-
does gentoo have an rc.local file?
if so, you could put "dhcpcd eth0" in there.
Jason
-
I added to my /etc/rc.conf file and all is good now.
Thanks so much!