[arch-general] On module blacklisting
Philipp Überbacher
hollunder at lavabit.com
Fri Jun 17 04:08:59 EDT 2011
Excerpts from Martti Kühne's message of 2011-06-13 01:01:07 +0200:
> On Sun, Jun 12, 2011 at 10:03 PM, Philipp Überbacher
> <hollunder at lavabit.com> wrote:
> <snip>
> > Yes, most likely nicer than rc.conf editing for dhcp/static and custom
> > shell script for wlan, it's just that netcfg feels like just a wrapper
> > around wpa_supplicant and thus somewhat pointless.
> >
> >
>
>
> Probably I should mention that netcfg *just works* here as a wrapper
> for the wired bridge config I use. So, no harm done on that part. On
> the other hand, the wireless_tools and wpa_supplicant dependencies
> (which really isn't relevant for wired desktop installations) could be
> patched to optdepends. Let's see, I've been having quite a hand for
> bash scripting in the past.
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?
More information about the arch-general
mailing list