mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-01 03:05:34 +00:00
Merge pull request #293 from kylefmohr/realtek-4.4.x
Remove "$ " from code snippets for easier copy + pasting
This commit is contained in:
commit
23e06000d8
24
README.md
24
README.md
@ -37,22 +37,22 @@ from source when the kernel is upgraded (for example using your package manager)
|
||||
* for normal Linux systems
|
||||
|
||||
```shell
|
||||
$ sudo apt-get install git linux-headers-generic build-essential dkms;
|
||||
sudo apt-get install git linux-headers-generic build-essential dkms
|
||||
```
|
||||
|
||||
* for Raspberry Pi
|
||||
|
||||
```shell
|
||||
$ sudo apt-get install git raspberrypi-kernel-headers build-essential dkms;
|
||||
sudo apt-get install git raspberrypi-kernel-headers build-essential dkms
|
||||
```
|
||||
|
||||
2. Clone this repository and change your directory to cloned path.
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/Mange/rtl8192eu-linux-driver;
|
||||
git clone https://github.com/Mange/rtl8192eu-linux-driver
|
||||
```
|
||||
```shell
|
||||
$ cd rtl8192eu-linux-driver;
|
||||
cd rtl8192eu-linux-driver
|
||||
```
|
||||
|
||||
3. The Makefile is preconfigured to handle most x86/PC versions. However, if you are compiling for something other than an intel x86 architecture, you need to first select the platform.
|
||||
@ -79,48 +79,48 @@ from source when the kernel is upgraded (for example using your package manager)
|
||||
that it can used to rebuild the module on kernel upgrades.
|
||||
|
||||
```shell
|
||||
$ sudo dkms add .;
|
||||
sudo dkms add .
|
||||
```
|
||||
|
||||
5. Build and install the driver.
|
||||
|
||||
```shell
|
||||
$ sudo dkms install rtl8192eu/1.0;
|
||||
sudo dkms install rtl8192eu/1.0
|
||||
```
|
||||
|
||||
6. Distributions based on Debian & Ubuntu have RTL8XXXU driver present & running in kernelspace. To use our RTL8192EU driver, we need to blacklist RTL8XXXU.
|
||||
|
||||
```shell
|
||||
$ echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf;
|
||||
echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf
|
||||
```
|
||||
|
||||
7. Force RTL8192EU Driver to be active from boot.
|
||||
```shell
|
||||
$ echo -e "8192eu\n\nloop" | sudo tee /etc/modules;
|
||||
echo -e "8192eu\n\nloop" | sudo tee /etc/modules
|
||||
```
|
||||
|
||||
8. Newer versions of Ubuntu has weird plugging/replugging issue (Check #94). This includes weird idling issues, To fix this:
|
||||
|
||||
```shell
|
||||
$ echo "options 8192eu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8192eu.conf;
|
||||
echo "options 8192eu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8192eu.conf
|
||||
```
|
||||
|
||||
9. Update changes to Grub & initramfs
|
||||
|
||||
```shell
|
||||
$ sudo update-grub; sudo update-initramfs -u;
|
||||
sudo update-grub; sudo update-initramfs -u
|
||||
```
|
||||
|
||||
10. Reboot system to load new changes from newly generated initramfs.
|
||||
|
||||
```shell
|
||||
$ systemctl reboot -i;
|
||||
systemctl reboot -i
|
||||
```
|
||||
|
||||
11. Check that your kernel has loaded the right module:
|
||||
|
||||
```shell
|
||||
$ sudo lshw -c network;
|
||||
sudo lshw -c network
|
||||
```
|
||||
|
||||
You should see the line ```driver=8192eu```
|
||||
|
Loading…
Reference in New Issue
Block a user