NM: git HEAD breaks (wifi plugin not available), Debian source works



Hello NM folks,

This is an issue I encountered while trying to run the latest
NetworkManager. I am compiling the latest git HEAD, and I am compiling
from Debian's source; the latter works, but the git version refuses to
detect any network connections. In particular, when the git version is
run with debug enabled, I get some startup messages and then:

NetworkManager[26170]: <info>  (wlan0): 'wifi' plugin not available; creating generic device
NetworkManager[26170]: <info>  (wlan0): carrier is OFF
NetworkManager[26170]: <info>  (wlan0): new Generic device (driver: 'iwlwifi' ifindex: 2)
NetworkManager[26170]: <info>  (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1

And nmcli shows that wlan0 is unmanaged. In comparison, the Debian
version runs quite well. The corresponding output is instead,

NetworkManager[26241]: <info> (wlan0): using nl80211 for WiFi device control
NetworkManager[26241]: <info> (wlan0): driver supports Access Point (AP) mode
NetworkManager[26241]: <info> (wlan0): new 802.11 WiFi device (driver: 'iwlwifi' ifindex: 2)
NetworkManager[26241]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
NetworkManager[26241]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 
20 2]

Obviously the git version is seeing the wlan0 interface, but then
something goes wrong. At a guess, maybe it is treating wlan0 as a modem
device instead of a wifi device (hence CARRIER) -- maybe related to the
new ifupdown stuff? (I saw something about that in the changelogs...)

You can see Debian's changes at the following repo (it is based on
version 0.9.10.0): git://anonscm.debian.org/pkg-utopia/network-manager.git

I am compiling both with ordinary configure commands (just setting
--prefix) and installing to a local directory. I copied the configs from
my local system, but the only settings are:

    [main]
    plugins=ifupdown,keyfile

    [ifupdown]
    managed=true

Any thoughts would be appreciated.

David


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]