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:
Any help on how to have this use dhcp automagically? BTW, I'm on Gentoo if that makes a difference.
# $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="126.96.36.199 broadcast 188.8.131.52 netmask 255.255.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
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.
I added to my /etc/rc.conf file and all is good now.
Thanks so much!