omikron
Posts: 15
Joined: Sat May 25, 2019 8:30 am

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Thu Jun 20, 2019 12:00 pm

MrEngman wrote:
Thu Jun 20, 2019 11:21 am
omikron wrote:
Thu Jun 20, 2019 10:29 am
MrEngman

Is the source of rtl8192 driver available, in the case I will build my own kernel?
rtl8192cu or rtl8192eu?


MrEngman
rtl8192

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Thu Jun 20, 2019 3:14 pm

omikron wrote:
Thu Jun 20, 2019 12:00 pm
MrEngman wrote:
Thu Jun 20, 2019 11:21 am
omikron wrote:
Thu Jun 20, 2019 10:29 am
MrEngman

Is the source of rtl8192 driver available, in the case I will build my own kernel?
rtl8192cu or rtl8192eu?


MrEngman
rtl8192
There are at least 6 different rtl8192 wifi drivers, RTL8192CU, RTL8192DU, RTL8192EU, RTL8192FM, RTL8192SU, RTL8192U.

You need to be more specific in asking where to get the driver source for your wifi by specifying the full version type your wifi adapter uses as it will only work with one of them.

Specifying just RTL8192 is no use.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

omikron
Posts: 15
Joined: Sat May 25, 2019 8:30 am

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Sun Jun 23, 2019 4:02 pm

It is rtl8192eu, Tenda U6

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Sun Jun 23, 2019 4:47 pm

omikron wrote:
Sun Jun 23, 2019 4:02 pm
It is rtl8192eu, Tenda U6
I use the source from here:- https://github.com/Mange/rtl8192eu-linux-driver

I compile several different drivers for use with Raspbian, including the 8192eu driver, and they can be downloaded from my web site http://downloads.fars-robotics.net/wifi-drivers/

I also have a script that you can use to download and install the drivers I compile. You can download and install the script using commands

Code: Select all

sudo wget http://downloads.fars-robotics.net/wifi-drivers/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
The command

Code: Select all

sudo install-wifi -h
will give details on how the script can be used. To download and install the driver for your current version of Raspbian with the wifi module connected to the Pi use command

Code: Select all

sudo install-wifi
The script will check the wifi module you have connected to your Pi and then select the driver it uses and then check the Raspbian kernel version and download and install the driver version for your kernel version.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

alexlin
Posts: 1
Joined: Tue Nov 12, 2019 5:39 pm

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Tue Nov 12, 2019 5:53 pm

Hello. I have rpi 3b with oscm os. I try to install a driver for tenda u6 by manual.
After "sudo install-wifi" command I got log:
------------------------------------------------------------------------------------------------------------------------------
osmc@osmc:~$ sudo install-wifi

*** Raspberry Pi wifi driver installer by MrEngman.
*** Performing self-update
*** Relaunching after update

*** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 4.19.55-6-osmc+
Your current kernel build = #1

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 006: ID 0bda:818b Realtek Semiconductor Corp. RTL8192EU 802.11b/g/n WLAN Adapter

And it uses the 8192eu driver.


Your Pi revision number is
a22082
You have a Pi 3B v1.2
Checking for a 8192eu wifi driver module for your current kernel.
A driver does not yet exist for this update.
osmc@osmc:~$
------------------------------------------------------------------------------------------------------------------------------
How I can resolve this problem?

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Tue Nov 12, 2019 9:19 pm

alexlin wrote:
Tue Nov 12, 2019 5:53 pm
Hello. I have rpi 3b with oscm os. I try to install a driver for tenda u6 by manual.
After "sudo install-wifi" command I got log:
------------------------------------------------------------------------------------------------------------------------------
osmc@osmc:~$ sudo install-wifi

*** Raspberry Pi wifi driver installer by MrEngman.
*** Performing self-update
*** Relaunching after update

*** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 4.19.55-6-osmc+
Your current kernel build = #1

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 006: ID 0bda:818b Realtek Semiconductor Corp. RTL8192EU 802.11b/g/n WLAN Adapter

And it uses the 8192eu driver.


Your Pi revision number is
a22082
You have a Pi 3B v1.2
Checking for a 8192eu wifi driver module for your current kernel.
A driver does not yet exist for this update.
osmc@osmc:~$
------------------------------------------------------------------------------------------------------------------------------
How I can resolve this problem?
Hi alexlin,

The wifi drivers I compile are for Raspbian OS. They will not work with OSMC.

I would suggest you try and find an answer on the OSMC forum https://discourse.osmc.tv/ or wiki https://osmc.tv/wiki/


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

hangkitegale
Posts: 4
Joined: Wed Mar 12, 2014 5:47 pm

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Mon Feb 03, 2020 12:25 am

Hi MrEngman,

My raspbian kernel is 4.9.35
My device 0bda:f179

Using the install wifi script says it is 8188fu however, no driver found for 4.9 kernel.

Can you help, please.
Sincerely

hangkitegale
Posts: 4
Joined: Wed Mar 12, 2014 5:47 pm

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Mon Feb 03, 2020 6:37 am

sorry for my previous post.
turned out, running rpi-update upgrade my kernel tp 4.19.97 and then install-wifi is working.

thanks mrengman

Bee78000
Posts: 10
Joined: Sun Mar 22, 2015 7:12 pm

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Tue May 19, 2020 3:54 pm

Hi MrEngman,

I am trying to install a new Tp-Link Model:Archer-T4U, ID 2357:0115- AC1300 on Raspberry pi 2Model b v1.1, and finally found this thread thinking it will help me to finalize the installation, but it is still failing.
I followed all links suggested:
sudo wget http://downloads.fars-robotics.net/wifi ... stall-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
sudo install-wifi

The driver is installed correctly :
# sudo install-wifi 8812au
*** Raspberry Pi wifi driver installer by MrEngman.
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi wifi driver installer by MrEngman.
Your current kernel revision = 4.19.66-v7+
Your current kernel build = #1253
Your Pi revision number is a01041
You have a Pi 2B v1.1
Checking for a 8812au wifi driver module for your current kernel.
There is a driver module available for this kernel revision.
Downloading the 8812au driver, 8812au-4.19.66-v7-1253.tar.gz.
Installing the 8812au driver.
Installing driver config file 8812au.conf.
mv 8812au.conf /etc/modprobe.d/.
Installing driver module 8812au.ko.
install -p -m 644 8812au.ko /lib/modules/4.19.66-v7+/kernel/drivers/net/wireless
Syncing changes to disk
A version of the 8812au driver is already loaded and running.
You will need to reboot to load the new driver, 8812au.ko.

But at the end "wlan0: Not associated" is still displayed.
Here are commands to share with you:
# ifconfig wlan0
wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500
inet 192.168.0.63 netmask 255.255.255.0 broadcast 192.168.0.255
ether 00:e0:4c:98:ab:a0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lshw -c network
*-network:0
description: Ethernet interface
identifiant matériel: 2
nom logique: eth0
numéro de série: b8:27:eb:a2:32:07
taille: 100Mbit/s
capacité: 100Mbit/s
fonctionnalités: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverversion=22-Aug-2005 duplex=full firmware=smsc95xx USB 2.0 Ethernet ip=192.168.0.62 link=yes multicast=yes port=MII speed=100Mbit/s
*-network:1 DÉSACTIVÉ ( translation: Disabled)
description: Interface réseau sans fil
identifiant matériel: 3
information bus: usb@1:1.2
nom logique: wlan0
numéro de série: 00:e0:4c:98:ab:a0
fonctionnalités: ethernet physical wireless
configuration: broadcast=yes driver=rtl8812au ip=192.168.0.63 multicast=yes wireless=IEEE 802.11

ifconfig wlan0 inet 192.168.0.63
SIOCSIFFLAGS: Opération non permise ( translation: Operation not allowed)


I searched a few days with no success, trying to update kernel (Same after), changing USB port, reinstalling driver (Same)
Have you got some ideas to share or explanations to help?

Thanks a lot in advance,
Stéphane

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Tue May 19, 2020 5:44 pm

Bee78000 wrote:
Tue May 19, 2020 3:54 pm
Hi MrEngman,

I am trying to install a new Tp-Link Model:Archer-T4U, ID 2357:0115- AC1300 on Raspberry pi 2Model b v1.1, and finally found this thread thinking it will help me to finalize the installation, but it is still failing.
I followed all links suggested:
sudo wget http://downloads.fars-robotics.net/wifi ... stall-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
sudo install-wifi

The driver is installed correctly :
# sudo install-wifi 8812au
*** Raspberry Pi wifi driver installer by MrEngman.
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi wifi driver installer by MrEngman.
Your current kernel revision = 4.19.66-v7+
Your current kernel build = #1253
Your Pi revision number is a01041
You have a Pi 2B v1.1
Checking for a 8812au wifi driver module for your current kernel.
There is a driver module available for this kernel revision.
Downloading the 8812au driver, 8812au-4.19.66-v7-1253.tar.gz.
Installing the 8812au driver.
Installing driver config file 8812au.conf.
mv 8812au.conf /etc/modprobe.d/.
Installing driver module 8812au.ko.
install -p -m 644 8812au.ko /lib/modules/4.19.66-v7+/kernel/drivers/net/wireless
Syncing changes to disk
A version of the 8812au driver is already loaded and running.
You will need to reboot to load the new driver, 8812au.ko.

But at the end "wlan0: Not associated" is still displayed.
Here are commands to share with you:
# ifconfig wlan0
wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500
inet 192.168.0.63 netmask 255.255.255.0 broadcast 192.168.0.255
ether 00:e0:4c:98:ab:a0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lshw -c network
*-network:0
description: Ethernet interface
identifiant matériel: 2
nom logique: eth0
numéro de série: b8:27:eb:a2:32:07
taille: 100Mbit/s
capacité: 100Mbit/s
fonctionnalités: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverversion=22-Aug-2005 duplex=full firmware=smsc95xx USB 2.0 Ethernet ip=192.168.0.62 link=yes multicast=yes port=MII speed=100Mbit/s
*-network:1 DÉSACTIVÉ ( translation: Disabled)
description: Interface réseau sans fil
identifiant matériel: 3
information bus: usb@1:1.2
nom logique: wlan0
numéro de série: 00:e0:4c:98:ab:a0
fonctionnalités: ethernet physical wireless
configuration: broadcast=yes driver=rtl8812au ip=192.168.0.63 multicast=yes wireless=IEEE 802.11

ifconfig wlan0 inet 192.168.0.63
SIOCSIFFLAGS: Opération non permise ( translation: Operation not allowed)


I searched a few days with no success, trying to update kernel (Same after), changing USB port, reinstalling driver (Same)
Have you got some ideas to share or explanations to help?

Thanks a lot in advance,
Stéphane
Not sure why it is "Not associated" as it appears to have been assigned an IP address.

Please post full output of commands to check your wifi configuration

Code: Select all

rfkill list
ifconfig
sudo cat /etc/network/interfaces
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Cosminnn
Posts: 3
Joined: Tue May 19, 2020 7:03 pm

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Wed May 20, 2020 1:05 pm

TP-LINK Archer T4U v3 - ID 2357:0115 TP-Link - works with 8822BU driver - at least for me (RPI 3B and Buster Lite). I did countless tries with the default script installing 8812au - I could see it, but no connection.
I used

Code: Select all

sudo install-wifi 8822BU
, reboot and it worked like a charm.

deepakdeshp
Posts: 143
Joined: Thu Oct 26, 2017 7:23 pm

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Wed May 20, 2020 2:22 pm

I think The install script detects your hardware and installs proper drivers.

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Wed May 20, 2020 2:39 pm

Cosminnn wrote:
Wed May 20, 2020 1:05 pm
TP-LINK Archer T4U v3 - ID 2357:0115 TP-Link - works with 8822BU driver - at least for me (RPI 3B and Buster Lite). I did countless tries with the default script installing 8812au - I could see it, but no connection.
I used

Code: Select all

sudo install-wifi 8822BU
, reboot and it worked like a charm.
Thanks for that info Cosminnn. For some reason the USB ID 2357:0115 was in both sets of IDs for the 8812au and 8822bu drivers.

I have updated the script and removed that ID from the list of IDs supported by the 8812au driver.

You should now find the script will download the 8822bu driver if installing the driver for the T4U v3 again.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Cosminnn
Posts: 3
Joined: Tue May 19, 2020 7:03 pm

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Wed May 20, 2020 3:40 pm

Thanks for that info Cosminnn. For some reason the USB ID 2357:0115 was in both sets of IDs for the 8812au and 8822bu drivers.

I have updated the script and removed that ID from the list of IDs supported by the 8812au driver.

You should now find the script will download the 8822bu driver if installing the driver for the T4U v3 again.

MrEngman
[/quote]


Glad I was able to help and thanks for the great tool.

Bee78000
Posts: 10
Joined: Sun Mar 22, 2015 7:12 pm

Re: [SOLVED] Code to execute wi-fi dongle doesnt work

Wed May 20, 2020 5:15 pm

Dear Mr Engman and Cosminnn,
Thanks a lot,
It's fixed now!
I tried both drivers again( 8822bu, and 8812au), and this key is now working like a charm using both drivers!
Thanks again for this great tool and easy installation

Return to “Troubleshooting”