[arch-general] On module blacklisting

Tom Gundersen teg at jklm.no
Fri Jun 17 05:22:35 EDT 2011


On Fri, Jun 17, 2011 at 10:08 AM, Philipp Überbacher
<hollunder at lavabit.com> wrote:
> I'm trying to make the switch to netcfg but it fails in mulltiple ways.
>
> 1) apparently a warning only when connecting to wlan:
> nl80211: 'nl80211' generic netlink not found
>
> The module is indeed not loaded, but not blacklisted either, it simply
> isn't there (can't modprobe it manually).
>
> 2) Ethernet seems to only work in debug mode:
> $ sudo NETCFG_DEBUG="yes" netcfg ethernet-dhcp
> DEBUG: Loading profile ethernet-dhcp
> DEBUG: Configuring interface eth0
> :: ethernet-dhcp up                                                                                                                                    [BUSY] DEBUG: status reported to profile_up as:
> DEBUG: Loading profile ethernet-dhcp
> DEBUG: Configuring interface eth0
> DEBUG: ethernet_iproute_up ifup
> DEBUG: ethernet_up dhcpcd -qL -t 10 eth0
> DEBUG:
> DEBUG: ethernet_iproute_up hostname eris
>                                                                                                                                                       [DONE] $ sudo NETCFG_DEBUG="yes" netcfg -d ethernet-dhcp
> DEBUG: Loading profile ethernet-dhcp
> DEBUG: Configuring interface eth0
> DEBUG: status reported to profile_down as: ethernet-dhcp
> :: ethernet-dhcp down                                                                                                                                  [BUSY] DEBUG: Loading profile ethernet-dhcp
> DEBUG: Configuring interface eth0
> DEBUG: ethernet_down dhcpcd -qx eth0
> DEBUG: ethernet_down if_down
>                                                                                                                                                       [DONE] $ sudo netcfg ethernet-dhcp
> :: ethernet-dhcp up                                                                                                                                    [BUSY]  > DHCP IP lease attempt failed.
>                                                                                                                                                       [FAIL] 3) static ethernet doesn't work at all:
> $ 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


More information about the arch-general mailing list