Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-18 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On 10/13/15 22:00, Rui Paulo wrote:
> Hi,
> 
> Please download and test the wpa_supplicant/hostapd import patch:
> 
> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff
> 
> 
> Changelog:
> 
> http://w1.fi/cgit/hostap/plain/hostapd/ChangeLog 
> http://w1.fi/cgit/hostap/plain/wpa_supplicant/ChangeLog
> 
> 
> Please report success/failures.
> 
> Thanks,
> 

Not the most useful information, but for MIPS this all seems to
compile/work great.

sean
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQF8BAEBCgBmBQJWI/izXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kDb0IAKbLWtBRSrHQwaV2cW0BK3mE
GSFUQXao38GEyIKHBb5Hioq9cKmlnMFz3vDrwuwLo8B+1QPYmsxW90byyOpUPXQc
ybDp9aIdL1Naq3PiXOBbbPvx2ag7m5TSgnmNNzVvaWEsEbA8FAauS0C3ehSRJs2J
3GcrN36R09nRW2Cc8dHUzl2zUxF8H4EJ1W0zhP93czjwJCgZ5d3uICqggzDvgYkF
oMq1yMihBQGTJ9vdiZ6vCA1522S9LF0e6sW9TYX7/7kw5fWxboaJc6ZwVxWI6uN8
XHqX+ZusWF3FO98870WZd6G7/5jbo6Kq7YPnqg72dtfgeRBgE3qjmfJUPt7ULoQ=
=8bD6
-END PGP SIGNATURE-
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-17 Thread Ben Woods
On 14 October 2015 at 13:00, Rui Paulo  wrote:

> Hi,
>
> Please download and test the wpa_supplicant/hostapd import patch:
>
> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff
>
>
> Changelog:
>
> http://w1.fi/cgit/hostap/plain/hostapd/ChangeLog
> http://w1.fi/cgit/hostap/plain/wpa_supplicant/ChangeLog
>
>
> Please report success/failures.
>
> Thanks,
> --
> Rui Paulo
>


Hi Rui,

I've build FreeBSD head with your patch and have been using it on my home
wireless router for a couple of days now (running on a Netgate RCC-VE 8860
running FreeBSD head amd64 with AR9280 wifi chip).

All working fine for me. Thanks for your work.

Regards,
Ben

--
From: Benjamin Woods
woods...@gmail.com
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-17 Thread Ranjan1018 .
2015-10-14 7:00 GMT+02:00 Rui Paulo :

> Hi,
>
> Please download and test the wpa_supplicant/hostapd import patch:
>
> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff
>
>
> Changelog:
>
> http://w1.fi/cgit/hostap/plain/hostapd/ChangeLog
> http://w1.fi/cgit/hostap/plain/wpa_supplicant/ChangeLog
>
>
> Please report success/failures.
>
> Thanks,
> --
> Rui Paulo
> Wishlist: http://amzn.com/w/ZU4EQTF9M613
>
> ___
> freebsd-curr...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>

Hi,
I am using this patch on my home laptop for three days and all things work
well.
# pciconf -l -v | grep -A 3 ath
ath0@pci0:1:0:0:class=0x028000 card=0x4105144d chip=0x0032168c rev=0x01
hdr=0x00
vendor = 'Qualcomm Atheros'
device = 'AR9485 Wireless Network Adapter'
class  = network
# uname -a
FreeBSD ativ 11.0-CURRENT FreeBSD 11.0-CURRENT #10 r289378M: Thu Oct 15
21:57:57 CEST 2015 root@ativ:/usr/obj/usr/src/sys/GENERIC  amd64

Before the patch I have some trouble connecting to the office Netgear
DGND4000, but now is ok.
Thanks.
- Maurizio
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-16 Thread Adrian Chadd
Hm, please file a bug with this? having hostapd break with
net.bpf.zerocopy_enable is (a) bad, but (b) very reproducable. :)


-a


On 16 October 2015 at 11:25, Nikolay Denev  wrote:
> I've noticed hostapd getting stuck in pcap_next() which led me to
> check some net.bpf sysctls, as I was running with
> net.bpf.zerocopy_enable=1.
> When disabled hostapd works again for multiple clients.
>
>
> --Nikolay
>
> On Fri, Oct 16, 2015 at 8:20 PM, Nikolay Denev  wrote:
>> I'm not sure yet if this is related but I've just upgraded to latest
>> 10-stable from svn and I'm also seeing issues.
>> Running hostapd in foreground like this : /usr/sbin/hostapd -P
>> /var/run/hostapd.pid -d /etc/hostapd.conf
>> I see one client connect and then attempts from other clients time out.
>> When I give hostapd Ctrl-C I see this:
>>
>>   wlan0: AP-STA-CONNECTED 00:bb:3a:03:09:32
>>   wlan0: STA 00:bb:3a:03:09:32 IEEE 802.1X: authorizing port
>>   wlan0: STA 00:bb:3a:03:09:32 RADIUS: starting accounting session
>> 56213F3C-
>>   wlan0: STA 00:bb:3a:03:09:32 WPA: pairwise key handshake completed (RSN)
>>
>>
>>   ^Celoop: could not process SIGINT or SIGTERM in two seconds. Looks like 
>> there
>>   is a bug that ends up in a busy loop that prevents clean shutdown.
>>   Killing program forcefully.
>>
>> --Nikolay
>>
>>
>>
>> On Fri, Oct 16, 2015 at 6:12 PM, Adrian Chadd  wrote:
>>> Wait, there's a regression with wifi in -HEAD? What's the deal?
>>>
>>>
>>> -a
>>>
>>>
>>> On 16 October 2015 at 02:21, Olivier Cochard-Labbé  
>>> wrote:
 On Wed, Oct 14, 2015 at 7:00 AM, Rui Paulo  wrote:

> Hi,
>
> Please download and test the wpa_supplicant/hostapd import patch:
>
> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff
>
>
>
 Your patch were ested with success:
 - hostapd v2.5
 - Atheros 9280 (ath) in hostapd mode (WPA2-EAP/TLS using a RADIUS)
 - FreeBSD 11.0-CURRENT r283534

 (I meet problem with ath in hostap mode on more recent -head: clients
 can't authenticate, but need time for bisec the exact commit that create
 this regression)

 Regards,
 ___
 freebsd-curr...@freebsd.org mailing list
 https://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>>> ___
>>> freebsd-curr...@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-16 Thread Nikolay Denev
I've noticed hostapd getting stuck in pcap_next() which led me to
check some net.bpf sysctls, as I was running with
net.bpf.zerocopy_enable=1.
When disabled hostapd works again for multiple clients.


--Nikolay

On Fri, Oct 16, 2015 at 8:20 PM, Nikolay Denev  wrote:
> I'm not sure yet if this is related but I've just upgraded to latest
> 10-stable from svn and I'm also seeing issues.
> Running hostapd in foreground like this : /usr/sbin/hostapd -P
> /var/run/hostapd.pid -d /etc/hostapd.conf
> I see one client connect and then attempts from other clients time out.
> When I give hostapd Ctrl-C I see this:
>
>   wlan0: AP-STA-CONNECTED 00:bb:3a:03:09:32
>   wlan0: STA 00:bb:3a:03:09:32 IEEE 802.1X: authorizing port
>   wlan0: STA 00:bb:3a:03:09:32 RADIUS: starting accounting session
> 56213F3C-
>   wlan0: STA 00:bb:3a:03:09:32 WPA: pairwise key handshake completed (RSN)
>
>
>   ^Celoop: could not process SIGINT or SIGTERM in two seconds. Looks like 
> there
>   is a bug that ends up in a busy loop that prevents clean shutdown.
>   Killing program forcefully.
>
> --Nikolay
>
>
>
> On Fri, Oct 16, 2015 at 6:12 PM, Adrian Chadd  wrote:
>> Wait, there's a regression with wifi in -HEAD? What's the deal?
>>
>>
>> -a
>>
>>
>> On 16 October 2015 at 02:21, Olivier Cochard-Labbé  
>> wrote:
>>> On Wed, Oct 14, 2015 at 7:00 AM, Rui Paulo  wrote:
>>>
 Hi,

 Please download and test the wpa_supplicant/hostapd import patch:

 http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff



>>> Your patch were ested with success:
>>> - hostapd v2.5
>>> - Atheros 9280 (ath) in hostapd mode (WPA2-EAP/TLS using a RADIUS)
>>> - FreeBSD 11.0-CURRENT r283534
>>>
>>> (I meet problem with ath in hostap mode on more recent -head: clients
>>> can't authenticate, but need time for bisec the exact commit that create
>>> this regression)
>>>
>>> Regards,
>>> ___
>>> freebsd-curr...@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>> ___
>> freebsd-curr...@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-16 Thread Nikolay Denev
Done :  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203827

--Nikolay

On Fri, Oct 16, 2015 at 8:30 PM, Adrian Chadd  wrote:
> Hm, please file a bug with this? having hostapd break with
> net.bpf.zerocopy_enable is (a) bad, but (b) very reproducable. :)
>
>
> -a
>
>
> On 16 October 2015 at 11:25, Nikolay Denev  wrote:
>> I've noticed hostapd getting stuck in pcap_next() which led me to
>> check some net.bpf sysctls, as I was running with
>> net.bpf.zerocopy_enable=1.
>> When disabled hostapd works again for multiple clients.
>>
>>
>> --Nikolay
>>
>> On Fri, Oct 16, 2015 at 8:20 PM, Nikolay Denev  wrote:
>>> I'm not sure yet if this is related but I've just upgraded to latest
>>> 10-stable from svn and I'm also seeing issues.
>>> Running hostapd in foreground like this : /usr/sbin/hostapd -P
>>> /var/run/hostapd.pid -d /etc/hostapd.conf
>>> I see one client connect and then attempts from other clients time out.
>>> When I give hostapd Ctrl-C I see this:
>>>
>>>   wlan0: AP-STA-CONNECTED 00:bb:3a:03:09:32
>>>   wlan0: STA 00:bb:3a:03:09:32 IEEE 802.1X: authorizing port
>>>   wlan0: STA 00:bb:3a:03:09:32 RADIUS: starting accounting session
>>> 56213F3C-
>>>   wlan0: STA 00:bb:3a:03:09:32 WPA: pairwise key handshake completed (RSN)
>>>
>>>
>>>   ^Celoop: could not process SIGINT or SIGTERM in two seconds. Looks like 
>>> there
>>>   is a bug that ends up in a busy loop that prevents clean shutdown.
>>>   Killing program forcefully.
>>>
>>> --Nikolay
>>>
>>>
>>>
>>> On Fri, Oct 16, 2015 at 6:12 PM, Adrian Chadd  
>>> wrote:
 Wait, there's a regression with wifi in -HEAD? What's the deal?


 -a


 On 16 October 2015 at 02:21, Olivier Cochard-Labbé  
 wrote:
> On Wed, Oct 14, 2015 at 7:00 AM, Rui Paulo  wrote:
>
>> Hi,
>>
>> Please download and test the wpa_supplicant/hostapd import patch:
>>
>> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff
>>
>>
>>
> Your patch were ested with success:
> - hostapd v2.5
> - Atheros 9280 (ath) in hostapd mode (WPA2-EAP/TLS using a RADIUS)
> - FreeBSD 11.0-CURRENT r283534
>
> (I meet problem with ath in hostap mode on more recent -head: clients
> can't authenticate, but need time for bisec the exact commit that create
> this regression)
>
> Regards,
> ___
> freebsd-curr...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
 ___
 freebsd-curr...@freebsd.org mailing list
 https://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-16 Thread Olivier Cochard-Labbé
On Wed, Oct 14, 2015 at 7:00 AM, Rui Paulo  wrote:

> Hi,
>
> Please download and test the wpa_supplicant/hostapd import patch:
>
> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff
>
>
>
​Your patch were ested with success:
- hostapd v2.5
- Atheros 9280 (ath) in hostapd mode (WPA2-EAP/TLS using a RADIUS)
- FreeBSD 11.0-CURRENT r283534​

​​(I meet problem with ath in hostap mode on more recent -head: clients
can't authenticate, but need time for bisec the exact commit that create
this regression)

Regards,
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-16 Thread Adrian Chadd
Wait, there's a regression with wifi in -HEAD? What's the deal?


-a


On 16 October 2015 at 02:21, Olivier Cochard-Labbé  wrote:
> On Wed, Oct 14, 2015 at 7:00 AM, Rui Paulo  wrote:
>
>> Hi,
>>
>> Please download and test the wpa_supplicant/hostapd import patch:
>>
>> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff
>>
>>
>>
> Your patch were ested with success:
> - hostapd v2.5
> - Atheros 9280 (ath) in hostapd mode (WPA2-EAP/TLS using a RADIUS)
> - FreeBSD 11.0-CURRENT r283534
>
> (I meet problem with ath in hostap mode on more recent -head: clients
> can't authenticate, but need time for bisec the exact commit that create
> this regression)
>
> Regards,
> ___
> freebsd-curr...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-16 Thread Olivier Cochard-Labbé
On Fri, Oct 16, 2015 at 8:25 PM, Nikolay Denev  wrote:

> I've noticed hostapd getting stuck in pcap_next() which led me to
> check some net.bpf sysctls, as I was running with
> net.bpf.zerocopy_enable=1.
> When disabled hostapd works again for multiple clients.
>
>
​Wow, thanks for this tips: I confirm disabling bpf zerocopy solve my
problem on recent head!
Then this patch bringing hostapd to 2.5 works great on head r289426 too.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-16 Thread Adrian Chadd
OK! Next up - who can figure out the bug? :)
On Oct 16, 2015 4:19 PM, "Olivier Cochard-Labbé"  wrote:

> On Fri, Oct 16, 2015 at 8:25 PM, Nikolay Denev  wrote:
>
> > I've noticed hostapd getting stuck in pcap_next() which led me to
> > check some net.bpf sysctls, as I was running with
> > net.bpf.zerocopy_enable=1.
> > When disabled hostapd works again for multiple clients.
> >
> >
> ​Wow, thanks for this tips: I confirm disabling bpf zerocopy solve my
> problem on recent head!
> Then this patch bringing hostapd to 2.5 works great on head r289426 too.
> ___
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org
> "
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: CFT: wpa_supplicant/hostapd 2.5

2015-10-16 Thread Nikolay Denev
I'm not sure yet if this is related but I've just upgraded to latest
10-stable from svn and I'm also seeing issues.
Running hostapd in foreground like this : /usr/sbin/hostapd -P
/var/run/hostapd.pid -d /etc/hostapd.conf
I see one client connect and then attempts from other clients time out.
When I give hostapd Ctrl-C I see this:

  wlan0: AP-STA-CONNECTED 00:bb:3a:03:09:32
  wlan0: STA 00:bb:3a:03:09:32 IEEE 802.1X: authorizing port
  wlan0: STA 00:bb:3a:03:09:32 RADIUS: starting accounting session
56213F3C-
  wlan0: STA 00:bb:3a:03:09:32 WPA: pairwise key handshake completed (RSN)


  ^Celoop: could not process SIGINT or SIGTERM in two seconds. Looks like there
  is a bug that ends up in a busy loop that prevents clean shutdown.
  Killing program forcefully.

--Nikolay



On Fri, Oct 16, 2015 at 6:12 PM, Adrian Chadd  wrote:
> Wait, there's a regression with wifi in -HEAD? What's the deal?
>
>
> -a
>
>
> On 16 October 2015 at 02:21, Olivier Cochard-Labbé  wrote:
>> On Wed, Oct 14, 2015 at 7:00 AM, Rui Paulo  wrote:
>>
>>> Hi,
>>>
>>> Please download and test the wpa_supplicant/hostapd import patch:
>>>
>>> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff
>>>
>>>
>>>
>> Your patch were ested with success:
>> - hostapd v2.5
>> - Atheros 9280 (ath) in hostapd mode (WPA2-EAP/TLS using a RADIUS)
>> - FreeBSD 11.0-CURRENT r283534
>>
>> (I meet problem with ath in hostap mode on more recent -head: clients
>> can't authenticate, but need time for bisec the exact commit that create
>> this regression)
>>
>> Regards,
>> ___
>> freebsd-curr...@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> ___
> freebsd-curr...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"