Recently (these days) Gentoo has changed the /etc/conf.d/net file format. I updated my apache 2.0.40 because of the new important bug they found in 2.0.4x versions and thought of updating my "world" also ... semi-bad idea

. Read on.
Beware if you update your world portage and accept the changes in /etc/conf.d/net when issuing "etc-update". It will replace the old file with one that has no config set by default (everything is commented out).
Do *
NOT* reset your linode before editing /etc/conf.d/net. If you do, well ... read on.
When booting, you will receive an error message like:
Code:
* Please make sure that /etc/conf.d/net has one of the following set:
* $iface_eth0 for old-style configuration
* $ifconfig_eth0 for new-style configuration
* $ipaddr_eth0 for iproute2-style configuration
.. and all following net dependant services (practically all of them) will fail to start since no net interface is up. If that happens and if you don't have another distro in which you can boot and neither the space to create one (debian-small is the smallest) then you're pretty much screwed

. Assuming you have the space to create a new distro, use the web-interface and install a new distro and mount the gentoo disk in it in some /dev/ubdX ... then boot the new distro, login as root, mount the gentoo partition /dev/ubdX somewhere to gain access to it and start editing /etc/conf.d/net as shown below.
You will see the new net file has 3 possible configs you can choose from. I recommend the new-style one (the 1st one). You must uncomment the appropriate lines.
If you use dhcp then just uncomment the first line with the dhcp option.
If you use a static Ip like I am, then go some lines below and you will find the config lines for static IPs. Uncomment and modify to look like the one below:
Code:
ifconfig_eth0=(
"<your linode IP> netmask 255.255.255.0"
)
then again some lines below to activate the default gateway:
Code:
routes_eth0=(
"default gw 64.62.190.1"
)
... and replace 64.62.190.1 with your gateway.
That's about it. Go to the Linode web interface and reboot.
Cheers
p.s. There is one more issue though. If you boot into lish (your host's ssh) then everything goes ok, services start until "local", like this:
Code:
...
* Setting DNS domainname to mentalgate.net... [ ok ]
* Starting local... [ ok ]
INIT: no more processes left in this runlevel
And the lish hangs there ... you no longer get the login prompt as you did before this update ... You can login to your linode's ssh though with no problems.
Chris? any ideas on this one?