On Friday 13 May 2011 03:30:27 Manuel McLure wrote:
> Just ran into a gotcha with my main server upgrade to
> openrc/baselayout2 - it appears that the old ifconfig network syntax
> no longer works. I kept getting the message:
> 
> Error: either "local" is duplicate, or "netmask" is garbage
> 
> until I changed the syntax from
> 
> config_eth0="XX.YY.ZZ.WW broadcast XX.YY.ZZ.255 netmask 255.255.255.0"
> 
> to
> 
> config_eth0="XX.YY.ZZ.WW/24"
> 
> The other syntax worked in baselayout1.

It still works here with baselayout 2.0.2:

config_eth0="192.168.2.6 netmask 255.255.255.0 brd 192.168.2.255"
routes_eth0="default via 192.168.2.1"
dns_servers_eth0="192.168.2.2"

No network error messages. Sounds like your error is elsewhere.

-- 
Rgds
Peter

Reply via email to