[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-15 Thread Tony Espy
** Changed in: linux-mako (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337753 Title: [mako] can not create an ad-hoc network To manage notifications about

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-14 Thread Seth Forshee
As far as the errors from the driver goes, the first one I see is could not activate Heartbeat timer (not sure yet what the heartbeat timer does, perhaps expiring peer STAs in the IBSS network when beacons aren't seen for some period). This is printed using some internal logging functions and has

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-11 Thread Alfonso Sanchez-Beato
Same error for OEM phones: phablet@ubuntu-phablet:~$ nmcli c up uuid aab22b5d-7342-48dc-8920-1b7da31d6829 Error: Timeout 90 sec expired. I attach the syslog. NM fails with the same reason: Jul 11 09:29:59 ubuntu-phablet NetworkManager[1456]: warn Activation (wlan0/wireless): Ad-Hoc network

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-11 Thread Tony Espy
By the way, here's the mako WiFi driver version info logged in the kernel: wlan: WCNSS WLAN version 1.4.1.2 wlan: WCNSS software version 201038 wlan: WCNSS hardware version WCN v2.0 RadioPhy vIris_TSMC_2.0 with 48MHz XO -- You received this bug notification because you are a member of Ubuntu

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-11 Thread Tony Espy
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

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-10 Thread Tony Espy
A couple of comments... Currently Ubuntu uses adhoc for it's Hotspot functionality. This seems at odds with what other OSes do. Both OSX and Android use mode=Master which is what's used by Access Points. When our Hotspot is run in adhoc mode, it: 1. Is invisible to Android, as Android

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-10 Thread Tony Espy
@Mathieu What's the difference between the wpasupplicant (Ubuntu) package and the wpa (Ubuntu) package? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337753 Title: [mako] can not create an ad-hoc

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-10 Thread Tony Espy
When I follow Antti's instructions in comment #2, I get the following error when trying to activate the hotspot: root@ubuntu-phablet:~# nmcli c up uuid aab22b5d-7342-48dc-8920-1b7da31d6829 Error: No suitable device found: no device found for connection 'Ubuntu hotspot'. -- You received this

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-10 Thread Tony Espy
OK, after updating the mac-address in Antti's connection file, I was able to get this to work. I now see the following when I run the nmcli command: root@ubuntu-phablet:~# nmcli c up uuid aab22b5d-7342-48dc-8920-1b7da31d6829 Error: Timeout 90 sec expired. ...and I get the same NetworkManager

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-10 Thread Tony Espy
And a better snippet... every time the nmcli command is run to bring up the adhoc connection, the same kernel stack-trace as show in the description is produced: Jul 10 21:43:07 ubuntu-phablet wpa_supplicant[1706]: wlan0: Trying to associate with SSID 'hotspot' Jul 10 21:43:07 ubuntu-phablet

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-10 Thread Tony Espy
One other comment, it may well be that since mako's Wi-Fi driver ( qcom prima? ) is built with P2P support enabled, that adhoc support isn't really supported... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-10 Thread Tony Espy
Also, it should be noted that NM 0.9.9.8 has support for AP-mode hotspots. We should investigate how much work it would be to leverage this as opposed to using the adhoc method. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-10 Thread Tony Espy
We also should investigate the functionality provided by the qcom wpa_supplicant driver library shipped as part of AOSP: https://code-

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-07 Thread Mathieu Trudel-Lapierre
This would be a kernel bug. There is nothing NM can do if the device says it supports ad-hoc and really doesn't. ** Changed in: network-manager (Ubuntu) Status: New = Invalid ** Changed in: network-manager (Ubuntu) Importance: Undecided = Low ** Changed in: wpasupplicant (Ubuntu)

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-07 Thread Mathieu Trudel-Lapierre
There may or may not be something to do with wpasupplicant here in some cases; while we need to first make sure ad-hoc works at all with the wcnss driver, there may be work needed in wpasupplicant as well, so I'll mark this Incomplete for wpa for now. ** Package changed: wpasupplicant (Ubuntu) =

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-04 Thread Antti Kaijanmäki
** Attachment added: syslog.txt https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/1337753/+attachment/4145395/+files/syslog.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337753

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-04 Thread Antti Kaijanmäki
You can reproduce by copying this configuration file to the device: On host: $ adb push Ubuntu\ hotspot /etc/NetworkManager/system-connections/Ubuntu\ hotspot On Device: $ sudo chmod 600 /etc/NetworkManager/system-connections/Ubuntu\ hotspot $ sudo restart network-manager $ nmcli c up uuid

[Bug 1337753] Re: [mako] can not create an ad-hoc network

2014-07-04 Thread Antti Kaijanmäki
** Description changed: 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: - Jul 3 09:09:01 ubuntu-phablet