Here is the manual to compile Realtek modules for Raspbian kernel. It will work for other chipsets too, if you have the driver source for it.
And the same strategy also works with crazycat's media build for rare USB DVB dongles.
Install some needed packages
Code: Select all
sudo apt-get install libncurses5-dev build-essential bc git wget
Code: Select all
sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source && /usr/bin/rpi-source -q --tag-update
Run it
Code: Select all
rpi-source
Get the driver source you need, here it is rtl8192eu
Code: Select all
git clone https://github.com/Mange/rtl8192eu-linux-driver.git
Code: Select all
cd rtl8192eu-linux-driver/
nano Makefile
but ARM_RPI to y
Build
Code: Select all
make
If no errors, install the new module
Code: Select all
sudo make install
Question:
After this procedure, the wifi works, iwlist wlan0 scan lists all ap's nearby. But the system does not manage the connection. If I configure it by hand, it works, but it does not conncect to networks in /etc/wpa_supplicant/ automatically. Older Tenda dongle supported by kernel does, but this newly compiled does not.
How can I make it to work automatically, like older supported wifi dongles?