OpenRC: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Die Seite wurde neu angelegt: == Packages == {{Box Code|emerge baselayout -pv| <pre> [ebuild U ] sys-apps/baselayout-2.0.0 [1.12.12] USE="-build (-bootstrap%) (-static%) (-unicode%*)" 23 kB [ebu...
 
Tgurr (talk | contribs)
No edit summary
Line 22: Line 22:


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:
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:
{{Codeline|# }}
{{Box File|/etc/conf.d/net|
{{Box File|/etc/conf.d/net|
<pre>
<pre>

Revision as of 15:36, 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:

# 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