Realtek RTL8192EU ID 0BDA:818B


175 posts   Page 2 of 7   1, 2, 3, 4, 5 ... 7
by Kunkka » Fri Jan 29, 2016 10:51 am
MrEngman wrote:
Kunkka wrote:Hi MrEngman

Could you pls compile one for this
Code: Select all
Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux


Thanks

Sorry, I can not, I only compile for raspberry pi raspbian. Why don't you compile it on your own system?



MrEngman


... it's too complicated to me. I'm not farmiliar with unix yet :(
would u kindly walk me through some step?
Posts: 2
Joined: Thu Jan 28, 2016 12:47 pm
by djones » Mon Feb 01, 2016 8:02 pm
MrEngman wrote:
nsticco wrote:Hello,

I would love some help with this as well:

$ uname -a
Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux

Thanks,
Nate

Try this
Code: Select all
wget https://dl.dropboxusercontent.com/u/80256631/8192eu-4.1.13-v7-826.tar.gz
tar xzf 8192eu-4.1.13-v7-826.tar.gz
./install.sh



MrEngman



Great! Thanks, you saved my day.
I tried for 20hours to get a solution and you did it in one minute - thanks :mrgreen:
Posts: 2
Joined: Sun Jan 24, 2016 11:43 am
by zgoda » Thu Feb 11, 2016 1:34 pm
I'm trying to compile this module on my own. After few failed attempts now I am able to compile the module but I'm getting:

Code: Select all
$ sudo modprobe 8192eu
modprobe: ERROR: could not insert '8192eu': Exec format error


and line in dmesg:

Code: Select all
[11060.493887] 8192eu: disagrees about version of symbol module_layout


Which is not surprising because I see vermagic mismatch:

Code: Select all
vermagic:       4.1.17-v7 SMP mod_unload modversions ARMv7


in modinfo vs uname:

Code: Select all
$ uname -r
4.1.17-v7+


I'm stuck here, any help?

The same source compiles cleanly and loads without any problems on x86_64 (Ubuntu 14.04, kernel 3.13.0-77-generic).
User avatar
Posts: 3
Joined: Tue Jan 26, 2016 4:35 pm
by Casey800 » Fri Feb 12, 2016 11:22 pm
@MrEngman. So, with your help my wifi 8192eu-4.1.13-826 worked perfectly. Stupidly i did an upgrade and now I'm stuck with 4.1.17+ build 838. Not working anymore. Tried to install with a changed install.sh. No. Patched the driver as I found 4.1.13 somewhere. No. So can you please compile a new version ? Or supply the source with the compile instructions ?
Posts: 2
Joined: Fri Feb 12, 2016 11:09 pm
by btmurph » Mon Feb 22, 2016 12:07 am
I'm in the same boat as Casey, however I'm kernel 4.1.18-v7+ #845. As with Casey, either the compiled driver or instructions on how to compile my own (even better) would be greatly appreciated!
Posts: 2
Joined: Sun Feb 21, 2016 11:58 pm
by MrEngman » Mon Feb 22, 2016 7:37 am
I've managed to update the 8192eu drivers I compile so they are now available for 4.1.17(-v7)+ and 4.1.18(-v7)+.

Using my standard naming format you can download and install using
wget https://dl.dropboxusercontent.com/u/80256631/8192eu-kernel-build.tar.gz
tar xzf 8192eu-kernel-build.tar.gz
./install.sh
replacing kernel and build with the values from the command uname -a.

As an example for a Pi 2 B using raspbian 4.1.18-v7+ #845 use commands
wget https://dl.dropboxusercontent.com/u/80256631/8192eu-4.1.18-v7-845.tar.gz
tar xzf 8192eu-4.1.18-v7-845.tar.gz
./install.sh


For the Pi A/A+/B/B+ the kernel version will not have -v7 like
wget https://dl.dropboxusercontent.com/u/80256631/8192eu-4.1.18-845.tar.gz
tar xzf 8192eu-4.1.18-845.tar.gz
./install.sh



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

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3448
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by btmurph » Mon Feb 22, 2016 11:55 pm
MrEngman, thank you SO much! That worked famously :-)

Brian
Posts: 2
Joined: Sun Feb 21, 2016 11:58 pm
by Casey800 » Mon Feb 22, 2016 11:56 pm
@MrEngman: your driver for 4.1.17 build 838 works A-OK !! Thanks a lot for your service. :D
Posts: 2
Joined: Fri Feb 12, 2016 11:09 pm
by cannonfodder728 » Tue Feb 23, 2016 1:38 am
Yup works like a charm, thanks
Posts: 5
Joined: Sun Feb 21, 2016 8:54 pm
by Learntofly » Thu Feb 25, 2016 3:41 pm
Many many thanks Sir,

For posterity, my pi zero is showing the following as a result of "uname -a"

Linux XXHOSTNAMEXX 4.1.18+ #845 Thu Feb 18 19:37:13 GMT 2016 armv6l GNU/Linux

The "githash" from /boot/.firmware_revision is:

68febe187617906637e0ac71b0c8b8f581f10078

I believe (although I am no expert) that this would allow someone, in conjunction with the rpi-update tool to downgrade / upgrade to this *EXACT* kernel that is compatible with your driver.

I dont know is this changed for the pi2b, but ive previously had a headache trying to find the githash to downgrade, hopefully this may help someone if you were unable to compile a driver due to being abroad /away etc...

I claim credit for nothing, merely postng a has that may help somone next week or the week after :)

Regards,
LTF





MrEngman wrote:I've managed to update the 8192eu drivers I compile so they are now available for 4.1.17(-v7)+ and 4.1.18(-v7)+.

Using my standard naming format you can download and install using
wget https://dl.dropboxusercontent.com/u/80256631/8192eu-kernel-build.tar.gz
tar xzf 8192eu-kernel-build.tar.gz
./install.sh
replacing kernel and build with the values from the command uname -a.

As an example for a Pi 2 B using raspbian 4.1.18-v7+ #845 use commands
wget https://dl.dropboxusercontent.com/u/80256631/8192eu-4.1.18-v7-845.tar.gz
tar xzf 8192eu-4.1.18-v7-845.tar.gz
./install.sh


For the Pi A/A+/B/B+ the kernel version will not have -v7 like
wget https://dl.dropboxusercontent.com/u/80256631/8192eu-4.1.18-845.tar.gz
tar xzf 8192eu-4.1.18-845.tar.gz
./install.sh



MrEngman
Posts: 12
Joined: Sun Dec 02, 2012 12:29 am
by udarkman » Sat Feb 27, 2016 9:33 am
Hi MrEngman

I have the same problem. Can you compile it for:

root@raspberrypi:~# uname -a
Linux raspberrypi 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l GNU/Linux


Raspberry pi 2
Jessie

Thanks
Posts: 1
Joined: Sat Feb 27, 2016 9:30 am
by MrEngman » Sat Feb 27, 2016 3:57 pm
udarkman wrote:Hi MrEngman

I have the same problem. Can you compile it for:

root@raspberrypi:~# uname -a
Linux raspberrypi 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l GNU/Linux


Raspberry pi 2
Jessie

Thanks

Use the info in the previous post to download and install the driver you need.

From uname -a you see kernel = 4.1.17-v7 and build = 838 so to download and install use commands
Code: Select all
wget https://dl.dropboxusercontent.com/u/80256631/8192eu-4.1.17-v7-838.tar.gz
tar xzf 8192eu-4.1.17-v7-838.tar.gz
./install.sh



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

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3448
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by liltek » Wed Mar 02, 2016 9:18 am
I would also greatly appreciate some help with this matter. I am using a RPi 2, Running Raspbian (NOOBS). I have looked almost everywhere for the driver for my wifi module, hoping that someone may have found a solution to it and possibly already compiled, as I am quite new to most of this myself.

~$ uname -r
3.18.11-v7+

Once again,
If there's any way you can help, I would really appreciate it.

Thank you,
Brad
Posts: 1
Joined: Wed Mar 02, 2016 9:03 am
by MrEngman » Wed Mar 02, 2016 5:55 pm
liltek wrote:I would also greatly appreciate some help with this matter. I am using a RPi 2, Running Raspbian (NOOBS). I have looked almost everywhere for the driver for my wifi module, hoping that someone may have found a solution to it and possibly already compiled, as I am quite new to most of this myself.

~$ uname -r
3.18.11-v7+

Once again,
If there's any way you can help, I would really appreciate it.

Thank you,
Brad

Presumably you are using a 8192eu wifi module so you can find how to determine the driver to download looking here https://www.raspberrypi.org/forums/viewtopic.php?p=910778#p910778.

Check uname -a and use the kernel and build number you find to make the correct filename to download and install.



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

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3448
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by BaasChristo » Mon Mar 07, 2016 3:37 pm
MrEngman

You are the MAN!

Thank you very much for this - worked first time :)

Now my hair can grow back...

Where must I send the whisky to?

Regards

Chris
Posts: 1
Joined: Mon Mar 07, 2016 2:54 pm
by cokemina » Wed Mar 09, 2016 7:28 pm
Thanks !!!.
Worked 100% on a Raspberry pi 2 / B ,
my wifi hardware: TNB ADWF300 usb wifi dongle
my raspbian version is:
Linux 4.1.18-v7+ #846 SMP Thu Feb 25 14:22:53 GMT 2016 armv7l GNU/Linux

greetings from Barcelona !
Posts: 1
Joined: Wed Mar 09, 2016 7:18 pm
by tsisport » Sat Mar 12, 2016 3:44 pm
I am new to Linux and get this error when doing ./install.sh
please could you advise

root@RaspiNAS:/home/pi/Downloads/install_folder# ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:

rtl8192EU_linux_v4.2.2_7585.20130524
Authentication requested [root] for make clean:
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/4.1.13+/build M=/home/pi/Downloads/install_folder/driver/rtl8192EU_linux_v4.2.2_7585.20130524 modules
make[1]: *** /lib/modules/4.1.13+/build: No such file or directory. Stop.
Makefile:1043: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
Posts: 2
Joined: Sat Mar 12, 2016 3:39 pm
by MrEngman » Sun Mar 13, 2016 8:58 am
tsisport wrote:I am new to Linux and get this error when doing ./install.sh
please could you advise

root@RaspiNAS:/home/pi/Downloads/install_folder# ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:

rtl8192EU_linux_v4.2.2_7585.20130524
Authentication requested [root] for make clean:
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/4.1.13+/build M=/home/pi/Downloads/install_folder/driver/rtl8192EU_linux_v4.2.2_7585.20130524 modules
make[1]: *** /lib/modules/4.1.13+/build: No such file or directory. Stop.
Makefile:1043: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

You need to create a link to your linux source directory like
Code: Select all
sudo ln -s /home/pi/src/linux /lib/modules/4.1.13+/build
You will need to change /home/pi/src/linux to point to the directory where your linux source is.

If you are using raspbian OS you can download and install the driver I compile using the following https://www.raspberrypi.org/forums/viewtopic.php?p=910778#p910778 setting the filename to download using info from command uname -a to set the kernel version and build number in the file to download.


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

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3448
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by tsisport » Sun Mar 13, 2016 11:55 am
Thank you Mr E for you help, I have done as you advised and downloaded and installed but, the wifi connection continually drops in and out on my raspberry pi.

Regards Steve
Posts: 2
Joined: Sat Mar 12, 2016 3:39 pm
by MrEngman » Sun Mar 13, 2016 5:19 pm
tsisport wrote:Thank you Mr E for you help, I have done as you advised and downloaded and installed but, the wifi connection continually drops in and out on my raspberry pi.

Regards Steve

Sound like the sort of problem you could get with power supply issues. What type of Pi are you using? Do you see the red PWR led flashing at all?

Could possibly be a bad connection in your USB socket. May be changing the USB connector you are using could help.



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

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3448
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by ArcAiN6 » Sat Apr 02, 2016 12:48 am
I'm having the same issues with this device.. I can't compile because /lib/modules/4.1.19v7-aufs/build doesn't exist.

uname -a produces this:

Code: Select all
Linux raspberrypi 4.1.19v7-aufs #1 SMP Sun Mar 13 12:48:13 CET 2016 armv7l GNU/Linux

Which is different than earlier dropbox download items..

Any help would be appreciated, as i would love to get this working so i can untether my CNC machine from my desktop :D
Posts: 9
Joined: Sat Apr 02, 2016 12:42 am
by MrEngman » Sat Apr 02, 2016 1:10 am
ArcAiN6 wrote:I'm having the same issues with this device.. I can't compile because /lib/modules/4.1.19v7-aufs/build doesn't exist.

uname -a produces this:

Code: Select all
Linux raspberrypi 4.1.19v7-aufs #1 SMP Sun Mar 13 12:48:13 CET 2016 armv7l GNU/Linux

Which is different than earlier dropbox download items..

Any help would be appreciated, as i would love to get this working so i can untether my CNC machine from my desktop :D

/lib/modules/4.1.19v7-aufs/build is a symlink to the linux source you need to compile you driver with. You can create it using command
Code: Select all
sudo ln -s /home/pi/src/linux /lib/modules/$(uname -r)/build
replacing directory /home/pi/src/linux to point to where you have your linux source directory.



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

Please post ALL technical questions on the forum. Please Do Not send private messages.
Posts: 3448
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by ArcAiN6 » Sat Apr 02, 2016 2:20 am
i was kind of hoping for less of a canned response..

I've been searching for over 4 hours to try to resolve this, and everything i've seen doesn't bode well.. This is the one forum thread i've found where someone has managed to build the drivers, but again, no real explination on how. Everywhere else seems to be that very response you gave, but no real explination on where to get the source, how much space i'll need etc. the other common response is to link to forum threads that seem to go no where..

It's like a viscous circle trying to figure out a few things..
1) What sources do i need
2) What is the easiest method to get them
3) How much storage space will i need
4) After seeing this issue has been around for years for this particular wifi module, why hasn't it been addressed at the OS level?

i get that this is a minimalistic OS, but the fact that this module has been plaguing users for years, one would think, by now, someone in the development team would have addressed it.. be it optional kernel downloads, or something a little less clunky than a git repo.

Sorry for venting, but i just seem to be going in ever frustrating circles here.. spinning my gears, going nowhere fast.
Posts: 9
Joined: Sat Apr 02, 2016 12:42 am
by ArcAiN6 » Sat Apr 02, 2016 2:58 pm
Turns out the issue i was having was due to bootberry's weird custom kernel...

used DD to write the raspbian image to USB drive
then reformatted TF-Card and copied boot partition from usb to tf card, and edited comandline.txt and edited the root= section to point to sda2.. booted everything up just fine, once that was done, my new uname -a response is:
Code: Select all
Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux


Once i had the different kernel, applying the installer.sh went off without a hitch, and wifi is now working like a dream.

Thanks so much for building these installers.. But it would be really helpful to everyone if you could create a tutorial on how exactly to go about doing this for ourselves.

:D
Posts: 9
Joined: Sat Apr 02, 2016 12:42 am
by John_Moses » Fri Apr 15, 2016 6:50 pm
Hello guys,
I am totally new to the Pi and am struggling right now with my wifi.
I need the 8192EU drivers, uname -a brought up:
Code: Select all
Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux


Mr. Engman, could you provide me the right driver?
Posts: 2
Joined: Fri Apr 15, 2016 6:40 pm