On Mon, 2015-01-19 at 16:40 +0100, Léo Peltier wrote: > Hi, > > I currently trying to get NM to handle a "virtual" wlan device and can't > get it to work. Its the second connection of an Intel 7260, the first > one being used as an access point managed outside of NM. > > The OS is an Ubuntu Server 12.04 running NM 0.9.4.0-0ubuntu4.4.1 > uname: 3.13.0-43-generic #72~precise1-Ubuntu SMP i686 i386 > > When I do everything manually through ip/iw/iwlist everything works fine > but I now need to integrate it with the rest of our software that > handles the network configuration using NM via DBus.
Some quick things that I can think of: 1) rfkill - what does 'rfkill list' say? 2) wpa_supplicant - is the supplicant running, and was it spawned with the "-u" option? Dan > I create the iface using the following command: > > iw dev wlan0 interface add wlan1 type station > > Here's what NM gives me: > > $ nmcli dev list iface wlan1 > > GENERAL.DEVICE: wlan1 > > GENERAL.TYPE: 802-11-wireless > > GENERAL.VENDOR: Intel Corporation > > GENERAL.PRODUCT: Wireless 7260 > > GENERAL.DRIVER: iwlwifi > > GENERAL.HWADDR: F8:16:54:55:A5:9C > > GENERAL.STATE: 20 (unavailable) > > GENERAL.REASON: 2 (Device is now managed) > > GENERAL.UDI: > > /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/net/wlan1 > > GENERAL.IP-IFACE: > > GENERAL.NM-MANAGED: yes > > GENERAL.FIRMWARE-MISSING: no > > GENERAL.CONNECTION: not connected > > CAPABILITIES.CARRIER-DETECT: no > > CAPABILITIES.SPEED: unknown > > WIFI-PROPERTIES.WEP: yes > > WIFI-PROPERTIES.WPA: yes > > WIFI-PROPERTIES.WPA2: yes > > WIFI-PROPERTIES.TKIP: yes > > WIFI-PROPERTIES.CCMP: yes > > Syslog: > > <info> (wlan1): using nl80211 for WiFi device control > > <warn> (wlan1): driver supports Access Point (AP) mode > > <info> (wlan1): new 802.11 WiFi device (driver: 'iwlwifi' ifindex: 28) > > <info> (wlan1): exported as /org/freedesktop/NetworkManager/Devices/4 > > <info> (wlan1): now managed > > <info> (wlan1): device state change: unmanaged -> unavailable (reason > > 'managed') [10 20 2] > > <info> (wlan1): bringing up device. > > <info> (wlan1): preparing device. > > <info> (wlan1): deactivating device (reason 'managed') [2] > > I have "[ifupdown] managed=false" in my NetworkManager.conf and wlan1 > does not appear in `/etc/network/interfaces`. Nothing is disabled in > `/var/lib/NetworkManager/NetworkManager.state`. > > Can someone point me the right direction to get out of this > "unavailable" state? > > Thanks. > _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list