Page 1 of 1
NanoPi WiFi problem
Posted: Thu Dec 03, 2015 9:26 pm
by davef
Seems a number of us are having the same problem trying to access certain APs. Refer to this thread for details:
http://www.friendlyarm.net/forum/topic/6466#lastpostAppreciate your comments.
davef
Re: NanoPi WiFi problem
Posted: Fri Dec 04, 2015 9:16 am
by FATechsupport
Hi davef,
Thank you.
We have to admit that the overall performance of the NanoPi WIFI is not very good.
As for the AP issue you can try removing the connector shown below and solder an antenna

- NanoPi.png (246.74 KiB) Viewed 14202 times
As for the wifi client issue our Debian by default is set to WPA so if the AP is WPA2 it might not work. You can set it to WPA2 and try again.
Re: NanoPi WiFi problem
Posted: Sat Dec 05, 2015 9:26 am
by davef
Signal strength is not the problem.
wpa_cli -iwlan0 scan_result shows -37 (dBm) as the NanoPi is about 1 meter away from the Wireless router. Also, I had tried WPA2 with no result.
I will try again in a few days.
Re: NanoPi WiFi problem
Posted: Mon Dec 07, 2015 9:48 am
by davef
Looking at the first error message:
[10347.440300] dhd_preinit_ioctls buf_key_b4_m4 set failed -23
and in dhd_linux.c
at line 3979 one will find the text in the error message:
"buf_key_b4_m4 set failed"
There is no comment before:
bcm_mkiovar("buf_key_b4_m4", (char *)&buf_key_b4_m4, 4, iovbuf, sizeof(iovbuf));
So, maybe someone who understands what this function is doing could suggest what the problem is.
Line 4097 has the text for the 2nd error message:
ampdu_hostreorder
Can't find where:
dhd_set_scb_probe
is located, however maybe resolving the first error message will eliminate the others.
Later on: these error messages even exist when it does connect properly ... so ignore this post.
Re: NanoPi WiFi problem
Posted: Tue Dec 08, 2015 7:47 am
by FATechsupport
Hi davef
Thank you very much for your observation. We are doing some tests now and will release some results
Re: NanoPi WiFi problem
Posted: Tue Dec 08, 2015 9:05 am
by davef
Well, after successfully accessing another two Smartphones and another wireless router, I tried my TP-LINK again and now it works.
Following an example on Ubuntu help pages, I put:
wpa_proto WPA RSN
see
https://help.ubuntu.com/community/NetworkConfigurationCommandLine/Automatic and the section WPA supplicant.
I read somewhere else that RSN = WPA(2) so having to put both seems redundant.
I am moving on to the next problem.
Re: NanoPi WiFi problem
Posted: Wed Dec 09, 2015 8:13 am
by FATechsupport
Thank you davef.
We did several tests here and we followed the steps on our wiki and could connect to our router. Our router is NETGEAR R6300V2 and is set to "WPA2-PSK[AES]"