public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /etc/conf.d/net syntax under new baselayout?
@ 2011-05-11  0:19 Walter Dnes
  2011-05-11  0:42 ` William Hubbs
  0 siblings, 1 reply; 3+ messages in thread
From: Walter Dnes @ 2011-05-11  0:19 UTC (permalink / raw
  To: Gentoo Users List

[-- Attachment #1: Type: text/plain, Size: 1747 bytes --]

  I tried to follow the instructions for the baselayout upgrade...
- good news - the system boots
- bad news - networking is totally broken
- really good news - I have a "hot backup" machine, which I'm sending
  this message from <G>

  DMESG does show the Via-Rhine card coming up, and I do not use modules
for anything.  I simply have a honking big kernel.

  Here's my /etc/conf.d/net.  How does the syntax look?


# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

# Actually /usr/share/doc/openrc-<version>/net.example is where to look
# for example setup.

config_eth0=
"192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
169.254.1.3/16 broadcast 169.254.255.255"
routes_eth0=
"default via 192.168.123.254 metric 2
192.168.123.248/29 via 192.168.123.254 metric 0
169.254.0.0/16 via 169.254.1.3 metric 0"


  In case anyone is wondering...
- the "default via 192.168.123.254 metric 2" allows a dialup connection
  to take priority, without me having to manually tear down eth0, and
  restart it after dialup finishes.  I don't use it that often, but when
  ADSL is down, it's nice to have a backup connection.
- The /29 route allows my main machine to talk to my other machine via
  eth0, even when a dialup session is in progress.
- The 169.254.x.y/16 stuff is for my network-enabled TV tuner box, which
  *INSISTS* on coming up with a "zero-config" address... "it's not a
  bug, it's a feature" so they say.

  File-attached is the last page of screen output from the boot process,
in case it'll help.


-- 
Walter Dnes <waltdnes@waltdnes.org>

[-- Attachment #2: boot.txt --]
[-- Type: text/plain, Size: 2358 bytes --]

 * Wiping /tmp directory ...
 * Setting terminal encoding [ASCII] ...
 * Setting console font [lat1-14] ...
 * Setting hostname to i3 ...
 * Setting keyboard mode [ASCII] ...
 * Loading key mappings [us] ...
/etc/init.d/../conf.d/net: line 11: 192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
169.254.1.3/16 broadcast 169.254.255.255: No such file or directory
/etc/init.d/../conf.d/net: line 15: default via 192.168.123.254 metric 2
192.168.123.248/29 via 192.168.123.254 metric 0
169.254.0.0/16 via 169.254.1.3 metric 0: No such file or directory
 * net.lo: error loading /etc/init.d/../conf.d/net
 * ERROR: net.lo failed to start
/etc/init.d/../conf.d/net: line 11: 192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
169.254.1.3/16 broadcast 169.254.255.255: No such file or directory /etc/init.d/../conf.d/net:
line 15: default via 192.168.123.254 metric 2
192.168.123.248/29 via 192.168.123.254 metric 0
169.254.0.0/16 via 169.254.1.3 metric 0: No such file or directory
 * net.eth0: error loading /etc/init.d/../conf.d/net
 * ERROR: net.eth0 failed to start
 * Mounting misc binary format filesystem ...
 * Activating swap devices ...
 * Initializing random number generator ...
INIT: Entering runlevel: 3
 * Starting syslog-ng ...
 * Starting dcron ...
 * Starting gpm ...
 * Loading iptables state and starting firewall ...
/etc/init.d/../conf.d/net: line 11: 192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
169.254.1.3/16 broadcast 169.254.255.255: No such file or directory
/etc/init.d/../conf.d/net: line 15: default via 192.168.123.254 metric 2
192.168.123.248/29 via 192.168.123.254 metric 0
169.254.0.0/16 via 169.254.1.3 metric 0: No such file or directory
 * net.lo: error loading /etc/init.d/../conf.d/net
 * ERROR: net.lo failed to start
/etc/init.d/../conf.d/net: line 11: 192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
169.254.1.3/16 broadcast 169.254.255.255: No such file or directory
/etc/init.d/../conf.d/net: line 15: default via 192.168.123.254 metric 2
192.168.123.248/29 via 192.168.123.254 metric 0
169.254.0.0/16 via 169.254.1.3 metric 0: No such file or directory
 * net.eth0: error loading /etc/init.d/../conf.d/net
 * ERROR: net.eth0 failed to start
 * ERROR: cannot start netmount as net.lo would not start
 * Starting rsyncd ...
 * ERROR: cannot start sshd as net.lo would not start
 * Starting local


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] /etc/conf.d/net syntax under new baselayout?
  2011-05-11  0:19 [gentoo-user] /etc/conf.d/net syntax under new baselayout? Walter Dnes
@ 2011-05-11  0:42 ` William Hubbs
  2011-05-11  1:36   ` [gentoo-user] Re: [SOLVED] " Walter Dnes
  0 siblings, 1 reply; 3+ messages in thread
From: William Hubbs @ 2011-05-11  0:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Hi Walter,


On Tue, May 10, 2011 at 08:19:10PM -0400, Walter Dnes wrote:
> config_eth0=

The quote on the line below this should be moved up, so it looks like:

config_eth0="
192.168.123.249/29 broadcast 192.168.123.255 mtu 1454
169.254.1.3/16 broadcast 169.254.255.255"
routes_eth0=

Same here:

routes_eth0="
default via 192.168.123.254 metric 2
192.168.123.248/29 via 192.168.123.254 metric 0
169.254.0.0/16 via 169.254.1.3 metric 0"

Try that and write back if it doesn't work.

William


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: [SOLVED] /etc/conf.d/net syntax under new baselayout?
  2011-05-11  0:42 ` William Hubbs
@ 2011-05-11  1:36   ` Walter Dnes
  0 siblings, 0 replies; 3+ messages in thread
From: Walter Dnes @ 2011-05-11  1:36 UTC (permalink / raw
  To: gentoo-user

On Tue, May 10, 2011 at 07:42:21PM -0500, William Hubbs wrote
> Hi Walter,
> 
> 
> On Tue, May 10, 2011 at 08:19:10PM -0400, Walter Dnes wrote:
> > config_eth0=
> 
> The quote on the line below this should be moved up, so it looks like:
> 
> config_eth0="

<ELVIS>
Thank you, thank you, thank you verrry verrry much.
</ELVIS>

  That was it.  My main machine is running OK and I can think about
upgrading the hot backup machine.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-11  2:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11  0:19 [gentoo-user] /etc/conf.d/net syntax under new baselayout? Walter Dnes
2011-05-11  0:42 ` William Hubbs
2011-05-11  1:36   ` [gentoo-user] Re: [SOLVED] " Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox