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



On Sat, 2014-08-16 at 00:12 -0400, dwk wrote:
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,


Since nm-0-9-10, support for wifi devices moved to a device plugin.

First you must make sure that you actually build with wifi support.
For example it should build a file:
  src/devices/wifi/.libs/libnm-device-plugin-wifi.so


Then on startup you should see lines like:

Aug 17 23:29:29 hal NetworkManager[12722]: <info>  Loaded device plugin: 
/usr/lib64/NetworkManager/libnm-device-plugin-adsl.so
Aug 17 23:29:29 hal NetworkManager[12722]: <info>  Loaded device plugin: 
/usr/lib64/NetworkManager/libnm-device-plugin-team.so
Aug 17 23:29:29 hal NetworkManager[12722]: <info>  Loaded device plugin: 
/usr/lib64/NetworkManager/libnm-device-plugin-wifi.so
Aug 17 23:29:29 hal NetworkManager[12722]: <info>  Loaded device plugin: 
/usr/lib64/NetworkManager/libnm-device-plugin-bluetooth.so
Aug 17 23:29:29 hal NetworkManager[12722]: <info>  Loaded device plugin: 
/usr/lib64/NetworkManager/libnm-device-plugin-wwan.so


Did you do `make install` when running NetworkManager?
You can also run NM from the source tree but maybe you have to take
care of setting the proper paths in the configure options.


Note that there is no stable interface between NM and the device plugins.
Make sure that NM actually loads the plugins that were build for *that* version.


Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



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