[arch-general] On module blacklisting

Robin Martinjak rob at rmartinjak.de
Sat Jun 18 04:56:01 EDT 2011


On Fri, Jun 17, 2011 at 01:03:44PM +0200, Robin Martinjak wrote:
> > > > $ sudo NETCFG_DEBUG="yes" netcfg ethernet-moheim-static
> > > > DEBUG: Loading profile ethernet-moheim-static
> > > > DEBUG: Configuring interface eth0
> > > > :: ethernet-moheim-static up                                                                                                                           [BUSY] DEBUG: status reported to profile_up as:
> > > > DEBUG: Loading profile ethernet-moheim-static
> > > > DEBUG: Configuring interface eth0
> > > > DEBUG: ethernet_iproute_up ifup
> > > > DEBUG: ethernet_iproute_up ip addr add 143.205.216.123/24 brd + dev eth0
> > > > DEBUG: ethernet_iproute_up ip route add default via 143.205.216.255
> > > > RTNETLINK answers: Invalid argument
> > > >  > Adding gateway 143.205.216.255 failed
> > > > DEBUG: profile_up connect failed
> > > >                                                                                                                                                       [FAIL]
> > > >
> > > > Pretty disappointing, considering that rc.conf and a really dumb bash script just works.
> > > > The dhcp config is straight from the examples, the static one looks like
> > > > this:
> > > > CONNECTION='ethernet'
> > > > DESCRIPTION='A basic static ethernet connection using iproute'
> > > > INTERFACE='eth0'
> > > > IP='static'
> > > > ADDR='143.205.216.123'
> > > > GATEWAY='143.205.216.255'
> > > > DNS=('143.205.64.51','143.205.64.52','143.205.176.16','143.205.176.17')
> > > >
> > > > Any ideas what's wrong?
> > > 
> > > I don't have time to look at this in the next few days, so please file
> > >  bug report and it will not be forgotten.
> > > 
> > > -t
> > 
> > Thanks Tom, I'll do so.
> > 
> > Philipp
> > 
> Try setting a NETMASK;
> > > > DEBUG: ethernet_iproute_up ip addr add 143.205.216.123/24 brd + dev eth0
> Looks like netcfg is assuming a /24 netmask which makes 143.205.216.255
> a net address (which ofc can't be used as a gateway)
> 
> Regards, Robin

Correction: 143.205.216.255/24 is a broadcast, not net address ;)


More information about the arch-general mailing list