A20 lime2 / wifi dongle not working

Started by AnkyB, April 25, 2017, 02:55:51 PM

Previous topic - Next topic

AnkyB

Hi,

I am using A20 lime2-4gb with official debian 8 jessie image. I am trying to get wifi dongle working but its not connecting to network where as Ethernet connections is working properly. I tried all commands or procedures available for wifi setup.
I am able to get network scanning results using # iw wlan0 scan.
But when I try to connect to network it is does not connect. I also tested this with other wifi dongles but performance is same. :(

Can anyone help me , how can I solve this issue ?

LubOlimex

Which dongle? Which chip is inside the dongle? RTL8188CUS or RT5370?

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

AnkyB


I used 2 dongles.
1) Netgear WNA3100M - rtl8192cu
2)TP-LINK TL-WN725N  - rtl8188eus

Best regards,
Anky

panda84

Quote from: AnkyB on April 26, 2017, 12:54:00 PM
2)TP-LINK TL-WN725N  - rtl8188eus

The RTL8188EU driver isn't generally included in kernel builds, as it is still in the drivers staging section:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/drivers/staging/rtl8188eu

There's a standalone version of the driver here:
https://github.com/lwfinger/rtl8188eu

AnkyB

Thank you so much.
I'll try to install this driver , but what about the other one? 



AnkyB

#6
Hi panda84 ,JohnS,

I tried installing these drivers, but when I run sudo make all I get following error for both drivers  :(

root@A20-OLinuXino:/home/olimex# cd rtl8188eu-master
root@A20-OLinuXino:/home/olimex/rtl8188eu-master# sudo make all
make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.4.103-00033-g9a1cd034181a-dirty/build M=/home/olimex/rtl8188eu-master  modules
make[1]: *** /lib/modules/3.4.103-00033-g9a1cd034181a-dirty/build: No such file or directory.  Stop.
Makefile:151: recipe for target 'modules' failed
make: *** [modules] Error 2
root@A20-OLinuXino:/home/olimex/rtl8188eu-master#

I have build-essential,gcc and linux-headers installed

How to resolve this issue?

AND

I also tried using MOD-WIFI-R5370 wifi module, it is also not able to connect network, having same issue as mentioned earlier.

I get scanning results for #sudo iwlist wlan0 scan

but when I try to connect to network I get following output

root@A20-OLinuXino:/home/olimex# sudo wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument

root@A20-OLinuXino:/home/olimex# sudo iw wlan0 link
Not connected.

and  #sudo dhclient wlan0 also returns nothing

am I missing any configuration or doing something wrong setup?


Best Regards,
AnkyB



AnkyB


AnkyB

I used latest image of debain jessie mainline kernel and wifi dongle is working. I dont know How to mark this question solved
Thank you so much