OpenRC: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
== | == Installation == | ||
You have to run ~arch to get baselayout-2.0.x, don't mix stable with unstable! | |||
{{Root|emerge baselayout --oneshot}} | {{Root|emerge baselayout --oneshot}} | ||
Revision as of 17:43, 13 January 2011
Installation
You have to run ~arch to get baselayout-2.0.x, don't mix stable with unstable!
# emerge baselayout --oneshot
Configuration
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="192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" routes_eth0="default via 192.168.0.1"
Finalize
# rm /etc/init.d/functions
# rm /etc/conf.d/rc
# rm /etc/init.d/net.lo.openrc.bak