From Q
Revision as of 14:49, 4 May 2012 by Tgurr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


# emerge baselayout openrc --oneshot


Merge your configs first:

# etc-update

Create a new symlink for your eth0, else your network won't be available after reboot:

# cd /etc/init.d
# ln -s net.lo net.eth0

Now edit /etc/conf.d/net, you'll find your old config in /etc/conf.d/net.eth0 but note that the syntax has changed so don't copy & paste. To set eth0 to a static IP you'll need something like this:

File: /etc/conf.d/net
config_eth0=" netmask brd"
routes_eth0="default via"