BeagleBone wifi RTL819EU installation problems.

Oh man. I hate to resort to this. But surely what arrives in the BB box should be straight forward to configure. But it aint!

I need to install driver RTL8192EU. The instructions given on the CD are pants!

root@beaglebone:/usr/src# lsusb
Bus 001 Device 002: ID 0bda:818b Realtek Semiconductor Corp. This is RTL8192EU and it needs installing.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I’ve updated the headers etc.
root@beaglebone:/usr/src# uname -a
Linux beaglebone 3.8.13-bone79 #1 SMP Tue Oct 13 20:44:55 UTC 2015 armv7l GNU/Linux

Not sure how to get the files copied from the CD onto the BeagleBone after I’ve update the BB f/w. I have a /media but no /media/BEAGLEBONE…

So I got the files from git. And its all there - lovely.

But the MAKE file falls over:
192EU_linux_v4.2.2_7585.20130524 modules
make[1]: Entering directory /lib/modules/3.8.13-bone79' make[1]: *** No rule to make target modules’. Stop.

Any ideas please? Thanks in advance.

Upgrade to the latest Debian build where support is built in. I had the same problem as you did with 3.8.13-bone79. http://beagleboard.org/latest-images

uname -a
Linux beaglebone 4.1.15-ti-rt-r43 #1 SMP PREEMPT RT Thu Jan 21 20:13:58 UTC 2016 armv7l GNU/Linux
is working for me.

Are you sure it’s a 8192EU because it’s driver is still in development so not in the kernel yet.

The driver you downloaded from git will be the one from realtek and will need some help to compile
You need to have the kernel sources installed with the /lib/modules/“kernel version”/build symlink pointing to where they are installed.
You might want to read up on how to build an out of tree kernel module

Thanks Paul,

Many thanks

Paul.

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots

Regards,

Hi Barry,

lsusb:
Bus 001 Device 002: ID 0bda:818b Realtek Semiconductor Corp. This is RTL8192EU and it needs installing.

Yes I’ve been trying my best to build the RTL8192EU driver with no joy.
Updated the headers etc etc, and created that “special” soft link from the empty build directory to the other build directory (similar info on the web for the CU version…). I’m going to try that again today. I really want to learn how to build it. Then post it.

Also what is the best way to copy files from the cd into the BB. The new version of firmware I was using does not have the /media/BEAGLEBONE “backdoor” dir. It just had the /media dir. It was only by chance that I saw someone had uploaded RTL8192EU into git. So I cloned it. But it was missing the setup file (the file you run to choose what host you are using if you wanna build a sigle driver) which you don’t really need anyway as you can “eventually” figure out what install.sh script does and you can create the make command yourself. That said - I guess the install.h script must pickup a parameter from what setup creates? Dunno.

As you can see, I’m still chipping away at it. I didn’t realise that all this stuff is still in the mix… even though I bought a purchasable item :slight_smile: Funny but interesting.

Paul.

Ok, don’t know what cd you’re talking about. Did it come with the wifi adapter?

This is the original realtek driver - ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip
I think the one you downloaded is a modified version, possibly already compiled.
Look under install_folder/driver/rtl8192EU_linux_v4.2.2_7585.20130524/ for a file named 8192eu.ko That’s the driver. You can try loading it using modprobe but don’t be surprised if it doesn’t work.
These days the kernel won’t accept a driver that hasn’t been compiled against the same version kernel as the one you are running.
Could you post the link of where you got the driver from? If I get time tomorrow I’ll try compiling and using it.