Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] /etc/conf.d/net syntax under new baselayout?
Date: Wed, 11 May 2011 00:20:36
Message-Id: 20110511001910.GA4567@waltdnes.org
1 I tried to follow the instructions for the baselayout upgrade...
2 - good news - the system boots
3 - bad news - networking is totally broken
4 - really good news - I have a "hot backup" machine, which I'm sending
5 this message from <G>
6
7 DMESG does show the Via-Rhine card coming up, and I do not use modules
8 for anything. I simply have a honking big kernel.
9
10 Here's my /etc/conf.d/net. How does the syntax look?
11
12
13 # This blank configuration will automatically use DHCP for any net.*
14 # scripts in /etc/init.d. To create a more complete configuration,
15 # please review /etc/conf.d/net.example and save your configuration
16 # in /etc/conf.d/net (this file :]!).
17
18 # Actually /usr/share/doc/openrc-<version>/net.example is where to look
19 # for example setup.
20
21 config_eth0=
22 "192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
23 169.254.1.3/16 broadcast 169.254.255.255"
24 routes_eth0=
25 "default via 192.168.123.254 metric 2
26 192.168.123.248/29 via 192.168.123.254 metric 0
27 169.254.0.0/16 via 169.254.1.3 metric 0"
28
29
30 In case anyone is wondering...
31 - the "default via 192.168.123.254 metric 2" allows a dialup connection
32 to take priority, without me having to manually tear down eth0, and
33 restart it after dialup finishes. I don't use it that often, but when
34 ADSL is down, it's nice to have a backup connection.
35 - The /29 route allows my main machine to talk to my other machine via
36 eth0, even when a dialup session is in progress.
37 - The 169.254.x.y/16 stuff is for my network-enabled TV tuner box, which
38 *INSISTS* on coming up with a "zero-config" address... "it's not a
39 bug, it's a feature" so they say.
40
41 File-attached is the last page of screen output from the boot process,
42 in case it'll help.
43
44
45 --
46 Walter Dnes <waltdnes@××××××××.org>

Attachments

File name MIME type
boot.txt text/plain

Replies

Subject Author
Re: [gentoo-user] /etc/conf.d/net syntax under new baselayout? William Hubbs <williamh@g.o>