sono una principiante del mondo Linux. Devo usare Ubuntu 18.04 LTS per un progetto, ma il mio computer ha la scheda di rete rotta ed uso un usb adapter come da titolo.
Ho installato i driver come scritto nella guida del pacchetto del driver corrispondente
Codice: Seleziona tutto
1. Install DKMS and other required tools
* for normal Linux systems
```shell
$ 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;
```
2. Clone this repository and change your directory to cloned path.
```shell
$ git clone https://github.com/Mange/rtl8192eu-linux-driver;
```
```shell
$ 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.
* for the Raspberry Pi, you need to set the I386 to n and the ARM_RPI to y:
```sh
...
CONFIG_PLATFORM_I386_PC = n
...
CONFIG_PLATFORM_ARM_RPI = y
```
* for arm64 devices (e.g. Orange Pi PC 2):
```sh
...
CONFIG_PLATFORM_I386_PC = n
...
CONFIG_PLATFORM_ARM_AARCH64 = y
```
4. Add the driver to DKMS. This will copy the source to a system directory so
that it can used to rebuild the module on kernel upgrades.
```shell
$ sudo dkms add .;
```
5. Build and install the driver.
```shell
$ 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;
```
7. Force RTL8192EU Driver to be active from boot.
```shell
$ 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;
```
9. Update changes to Grub & initramfs
```shell
$ sudo update-grub; sudo update-initramfs -u;
```
10. Reboot system to load new changes from newly generated initramfs.
```shell
$ systemctl reboot -i;
```
11. Check that your kernel has loaded the right module:
```shell
$ sudo lshw -c network;
```
You should see the line ```driver=8192eu```
Codice: Seleziona tutto
sudo lshw -c network
Codice: Seleziona tutto
*-network DISABLED
description: Wireless interface
product: AR9285 Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 01
serial: 78:dd:08:fc:ba:7a
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.15.0-177-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:f4a00000-f4a0ffff
*-network
description: Ethernet interface
product: Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB]
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: enp4s0
version: 11
serial: 54:42:49:6f:14:22
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=192.168.1.12 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:24 memory:f2220000-f2223fff ioport:a000(size=256) memory:f2200000-f221ffff
*-network DISABLED
description: Wireless interface
physical id: 1
bus info: usb@2:1.6
logical name: wlxd03745748673
serial: d0:37:45:74:86:73
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8192eu multicast=yes wireless=unassociated
Codice: Seleziona tutto
Bus 002 Device 004: ID 2357:0109
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:6464 Microdia
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub