NM apparently has grown support for "ap" mode style hotspots. It should be possible to write the NM connection file with mode="ap" instead of mode="adhoc".
So, I took Antti's connection file and modified it to use mode="ap" instead of "adhoc". I don't get the same stack trace when trying to activate such a connection on mako, however it doesn't seem to work all that well. I initially saw the AP in the network list of my laptop ( trusty ), and an Android phone, however when I tried to connect via Android, it appeared the defined psk in Antti's connection file is too short for WPA-PSK ( the PSK needs to be 8 chars minimum ) so the Android connect button was never active. Once I corrected this by adding a few trailing characters, I tried to connect with both OS X ( Invalid Password error ), and Android ( tries to connect, fails, no error displayed ). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to wpa in Ubuntu. https://bugs.launchpad.net/bugs/1337753 Title: [mako] can not create an ad-hoc network Status in “linux-mako” package in Ubuntu: New Status in “network-manager” package in Ubuntu: Invalid Status in “wpa” package in Ubuntu: Incomplete Bug description: When trying to create an adhoc network using network-manager with mako kernel "Linux ubuntu-phablet 3.4.0-5-mako #28-Ubuntu SMP PREEMPT Fri Mar 28 15:20:22 UTC 2014 armv7l armv7l armv7l GNU/Linux" the creation fails with: NetworkManager[1347]: <info> Activation (wlan0) starting connection 'Ubuntu hotspot' wpa_supplicant[1735]: wlan0: CTRL-EVENT-SCAN-STARTED kernel: [ 1202.120128] wlan: [1352:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:1e:ab:04:92:77 chan= 1, rssi = -83, countryCode TW kernel: [ 1202.120341] wlan: [1352:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid c8:60:00:dc:42:90 chan= 8, rssi = -66, countryCode GB kernel: [ 1202.120616] wlan: [1352:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country Bssid c8:60:00:dc:42:90 chan= 8, rssi = -66, countryCode GB wpa_supplicant[1735]: wlan0: Trying to associate with SSID 'Ubuntu hotspot' NetworkManager[1347]: <info> (wlan0): supplicant interface state: disconnected -> associating kernel: [ 1202.989958] wlan: [1352:E :PE ] limMlmAddBss: 1672: TRYING TO HIDE SSID 0 kernel: [ 1202.990477] wlan: [1352:E :PE ] mlm_add_sta: 1573: GF: 0, ChnlWidth: 0, MimoPS: 0, lsigTXOP: 0, dsssCCK: 0, SGI20: 0, SGI400 kernel: [ 1203.007416] wlan: [1352:F :PE ] limProcessIbssMlmAddBssRsp: 2524: could not activate Heartbeat timer kernel: [ 1203.008087] VOS ASSERT in logDebug Line 219 kernel: [ 1203.008759] ------------[ cut here ]------------ kernel: [ 1203.008850] WARNING: at /build/buildd/linux-mako-3.4.0/drivers/staging/prima/CORE/SYS/legacy/src/utils/src/logApi.c:219 logDebug+0xc0/0xf4() kernel: [ 1203.008881] Modules linked in: kernel: [ 1203.008972] [<c00150d0>] (unwind_backtrace+0x0/0xe8) from [<c08cbf68>] (dump_stack+0x20/0x24) kernel: [ 1203.009033] [<c08cbf68>] (dump_stack+0x20/0x24) from [<c0075628>] (warn_slowpath_common+0x5c/0x74) kernel: [ 1203.009094] [<c0075628>] (warn_slowpath_common+0x5c/0x74) from [<c00756fc>] (warn_slowpath_null+0x2c/0x34) kernel: [ 1203.009186] [<c00756fc>] (warn_slowpath_null+0x2c/0x34) from [<c069aad4>] (logDebug+0xc0/0xf4) kernel: [ 1203.009247] [<c069aad4>] (logDebug+0xc0/0xf4) from [<c05e06cc>] (limLog+0x48/0x50) kernel: [ 1203.009339] [<c05e06cc>] (limLog+0x48/0x50) from [<c05fdce8>] (limProcessMlmAddBssRsp+0x168/0xd40) kernel: [ 1203.009400] [<c05fdce8>] (limProcessMlmAddBssRsp+0x168/0xd40) from [<c05f5010>] (limProcessMessages+0xe74/0x10ac) kernel: [ 1203.009491] [<c05f5010>] (limProcessMessages+0xe74/0x10ac) from [<c05f5560>] (limMessageProcessor+0x274/0x2bc) kernel: [ 1203.009552] [<c05f5560>] (limMessageProcessor+0x274/0x2bc) from [<c05db1a8>] (peProcessMessages+0x54/0x5c) kernel: [ 1203.009613] [<c05db1a8>] (peProcessMessages+0x54/0x5c) from [<c06ba540>] (VosMCThread+0x44c/0x68c) kernel: [ 1203.009705] [<c06ba540>] (VosMCThread+0x44c/0x68c) from [<c0095954>] (kthread+0x9c/0xa8) kernel: [ 1203.009766] [<c0095954>] (kthread+0x9c/0xa8) from [<c000ee74>] (kernel_thread_exit+0x0/0x8) kernel: [ 1203.009827] ---[ end trace 4821fc77d3719675 ]--- NetworkManager[1347]: <warn> Activation (wlan0/wireless): Ad-Hoc network creation took too long, failing activation. NetworkManager[1347]: <info> (wlan0): device state change: config -> failed (reason 'supplicant-timeout') [50 120 11] wpa_supplicant[1735]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3 locally_generated=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-mako/+bug/1337753/+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