OpenRC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 15: | Line 15: | ||
{{Codeline|# etc-update}} | {{Codeline|# etc-update}} | ||
Create a new symlink for your eth0: | Create a new symlink for your eth0, else your network won't be available after reboot: | ||
{{Codeline|# cd /etc/init.d}} | {{Codeline|# cd /etc/init.d}} | ||
Revision as of 15:38, 28 April 2008
Packages
Installation
# 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: Template:Box File
Finalize
# rm /etc/conf.d/rc
# rm /etc/conf.d/net.eth0