Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How's the openrc update going for everyone?
Date: Fri, 13 May 2011 15:23:17
Message-Id: 201105131621.41576.peter@humphrey.ukfsn.org
In Reply to: Re: [gentoo-user] How's the openrc update going for everyone? by Manuel McLure
1 On Friday 13 May 2011 03:30:27 Manuel McLure wrote:
2 > Just ran into a gotcha with my main server upgrade to
3 > openrc/baselayout2 - it appears that the old ifconfig network syntax
4 > no longer works. I kept getting the message:
5 >
6 > Error: either "local" is duplicate, or "netmask" is garbage
7 >
8 > until I changed the syntax from
9 >
10 > config_eth0="XX.YY.ZZ.WW broadcast XX.YY.ZZ.255 netmask 255.255.255.0"
11 >
12 > to
13 >
14 > config_eth0="XX.YY.ZZ.WW/24"
15 >
16 > The other syntax worked in baselayout1.
17
18 It still works here with baselayout 2.0.2:
19
20 config_eth0="192.168.2.6 netmask 255.255.255.0 brd 192.168.2.255"
21 routes_eth0="default via 192.168.2.1"
22 dns_servers_eth0="192.168.2.2"
23
24 No network error messages. Sounds like your error is elsewhere.
25
26 --
27 Rgds
28 Peter

Replies

Subject Author
Re: [gentoo-user] How's the openrc update going for everyone? William Hubbs <williamh@g.o>