I've made some progress: If I remove the following lines from /etc/network/interfaces: iface wlan0 inet dhcp iface wlan0 inet6 auto
NetworkManager errors "nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed" are gone: systemctl status NetworkManager ● NetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2015-11-02 09:42:09 CET; 3s ago Main PID: 5524 (NetworkManager) CGroup: /system.slice/NetworkManager.service └─5524 /usr/sbin/NetworkManager --no-daemon Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (tap1): device state change: secondaries -> activated (reason 'none') [90 100 0] Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (tap1): Activation: successful, device activated. Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (virbr4): device state change: secondaries -> activated (reason 'none') [90 100 0] Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (virbr4): Activation: successful, device activated. Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (virbr11): device state change: secondaries -> activated (reason 'none') [90 100 0] Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (virbr11): Activation: successful, device activated. Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (virbr7): device state change: secondaries -> activated (reason 'none') [90 100 0] Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (virbr7): Activation: successful, device activated. Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (virbr3): device state change: secondaries -> activated (reason 'none') [90 100 0] Nov 02 09:42:10 msi-ge60-ubuntu NetworkManager[5524]: <info> (virbr3): Activation: successful, device activated. However, it seems that the module rtl8723ae is not loaded: lsmod | grep -i rtl8723ae modinfo rtl8723ae libkmod: ERROR ../libkmod/libkmod-module.c:192 kmod_module_parse_depline: ctx=0x55ae7dba3010 path=/lib/modules/4.2.0-16-generic/updates/drivers/net/wireless/rtlwifi/rtl8723com/rtl8723-common.ko error=No such file or directory libkmod: ERROR ../libkmod/libkmod.c:506 lookup_builtin_file: could not open builtin file '/lib/modules/4.2.0-16-generic/modules.builtin.bin' filename: /lib/modules/4.2.0-16-generic/updates/drivers/net/wireless/rtlwifi/rtl8723ae/rtl8723ae.ko modinfo: ERROR: could not get modinfo from 'rtl8723ae': No such file or directory lshw -C network *-network UNCLAIMED description: Network controller product: RTL8723AE PCIe Wireless Network Adapter vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:05:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress cap_list configuration: latency=0 resources: ioport:c000(size=256) memory:f7800000-f7803fff This is strange because I can see some WiFi networks in the top right hand side menu. Furthermore, if I try to connect to a WiFi hotspot (Nexus 5 here), NetworkManager tries to connect to the Nexus 5 bluetooth interface (BC:F5:AC:4B:72:11): Nov 2 09:43:17 msi-ge60-ubuntu NetworkManager[5524]: <info> (BC:F5:AC:4B:72:11): Activation: starting connection 'Nexus 5 Network' (3a1ff886-d78c-49c3-8984-a635c16ec9c9) Nov 2 09:43:17 msi-ge60-ubuntu NetworkManager[5524]: <info> (BC:F5:AC:4B:72:11): device state change: disconnected -> prepare (reason 'none') [30 40 0] Nov 2 09:43:17 msi-ge60-ubuntu NetworkManager[5524]: <info> NetworkManager state is now CONNECTING Nov 2 09:43:17 msi-ge60-ubuntu NetworkManager[5524]: <info> (BC:F5:AC:4B:72:11): device state change: prepare -> config (reason 'none') [40 50 0] Nov 2 09:43:23 msi-ge60-ubuntu NetworkManager[5524]: <warn> (BC:F5:AC:4B:72:11): Error connecting with bluez: GDBus.Error:org.bluez.Error.Failed: Input/output error Nov 2 09:43:23 msi-ge60-ubuntu NetworkManager[5524]: <info> (BC:F5:AC:4B:72:11): device state change: config -> failed (reason 'bluetooth-failed') [50 120 44] Nov 2 09:43:23 msi-ge60-ubuntu NetworkManager[5524]: <info> NetworkManager state is now CONNECTED_LOCAL Nov 2 09:43:23 msi-ge60-ubuntu NetworkManager[5524]: <info> Connection 'Nexus 5 Network' failed to autoconnect; 4 tries left Nov 2 09:43:23 msi-ge60-ubuntu NetworkManager[5524]: <warn> (BC:F5:AC:4B:72:11): Activation: failed for connection 'Nexus 5 Network' Nov 2 09:43:23 msi-ge60-ubuntu NetworkManager[5524]: <info> (BC:F5:AC:4B:72:11): device state change: failed -> disconnected (reason 'none') [120 30 0] Nov 2 09:43:23 msi-ge60-ubuntu NetworkManager[5524]: <info> Device 'BC:F5:AC:4B:72:11' has no connection; scheduling activate_check in 0 seconds. Now, if I try to turn off bluetooth, Ubuntu goes into airplane mode which disables WiFi as well - I'm unable to turn off bluetooth alone. Connecting Ubuntu Server to Nexus 5 Bluetooth: OK Reconnecting it to Nexus 5 Hotspot: KO Nov 2 10:00:35 msi-ge60-ubuntu NetworkManager[5524]: <info> (BC:F5:AC:4B:72:11): device state change: config -> failed (reason 'bluetooth-failed') [50 120 44] Nov 2 10:00:35 msi-ge60-ubuntu NetworkManager[5524]: <info> NetworkManager state is now CONNECTED_LOCAL Nov 2 10:00:35 msi-ge60-ubuntu NetworkManager[5524]: <info> Connection 'Nexus 5 Network' failed to autoconnect; 3 tries left Nov 2 10:00:35 msi-ge60-ubuntu NetworkManager[5524]: <warn> (BC:F5:AC:4B:72:11): Activation: failed for connection 'Nexus 5 Network' Nov 2 10:00:35 msi-ge60-ubuntu NetworkManager[5524]: <info> (BC:F5:AC:4B:72:11): device state change: failed -> disconnected (reason 'none') [120 30 0] Nov 2 10:00:35 msi-ge60-ubuntu NetworkManager[5524]: <warn> (BC:F5:AC:4B:72:11): failed to enable userspace IPv6LL address handling Nov 2 10:00:35 msi-ge60-ubuntu NetworkManager[5524]: <info> Device 'BC:F5:AC:4B:72:11' has no connection; scheduling activate_check in 0 seconds. This seems to indicate that WiFi & bluetooth interfaces are considered as the same interface for this operation, which is very strange. Ubuntu Server tries to connect to the bluetooth interface of the Nexus 5 hotspot, probably because the rtl8723ae module is not loaded. If I try to manually load the rtl8723ae module in /etc/modules: rtl8723ae update-initramfs-u shutdown -r now It does not change anything. I believe we should try to solve the errors shown in "modinfo rtl8723ae". -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1510648 Title: [Ubuntu Server 15.04/15.10] Realtek RTL8723AE cannot connect to WPA2/AES Status in network-manager package in Ubuntu: New Bug description: Ubuntu Gnome Server 15.10 - 4.2.0-16-generic - network-manager-gnome 0.9.10.1 ------------------------------------------------------------------------------- sudo systemctl status NetworkManager.service ● NetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2015-10-27 12:15:32 CET; 1min 17s ago Main PID: 1204 (NetworkManager) CGroup: /system.slice/NetworkManager.service └─1204 /usr/sbin/NetworkManager --no-daemon Oct 27 12:15:59 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:00 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:00 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:02 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:03 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:03 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:03 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:05 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:20 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed Oct 27 12:16:20 msi-ge60-ubuntu NetworkManager[1204]: nm_urfkill_get_wlan_state: assertion 'self->wlan_proxy != NULL' failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1510648/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp