Monday, July 17, 2006

/etc/conf.d/net

My network connection = Modem --> Router --> Computers

At first, I set my Gentoo system to automatically use DHCP and obtain the IP address. However this resulted in a very slow startup for the computer if the router is switched off. Hence I edited the file /etc/conf.d/net and added this:

###
config_eth0=( "my-ip-address-allocated-by-router netmask 255.255.255.0" )
routes_eth0=( "default gw router's-ip-address" )
###

No comments: