OpenRC: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
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

Template:Box Code

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