Rtl8192du

Iš Žinynas.
Jump to navigation Jump to search

Senesniuose branduoliuose (3.4.x ar pan.) reikia senesnės git revizijos:

git reset --hard 93e739e88d75435fa276894e6e5ddc6c75c82eec

rtl8192du modulio diegimas armbian sistemoje[keisti]

apt install linux-headers-next-sunxi bison flex # arba deb https://mirror.applebred.net/armbian/pool/main/l/linux-4.19.20-sunxi/linux-headers-next-sunxi_5.75_armhf.deb
cd /usr/src/linux-headers-4.19.62-sunxi
make scripts
cd /root
git clone https://github.com/lwfinger/rtl8192du.git
cd rtl8192du
make ARCH=arm&&make install
insmod /lib/modules/`uname -r`/kernel/drivers/net/wireless/8192du.ko
sync&&reboot

/etc/udev/rules.d/70-persistent-net.rules[keisti]

# USB device 0x:0x (rtl8192du)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:86:3b:ca:1a:00", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

Enable old networking

rtl8192du modulio diegimas raspbian sistemoje[keisti]

Naudosime raspberry pi 2 ir esama kernel 4.9.44-v7+

Įdiegiame reikalingus įrankius skirtus kompiliavimui

sudo apt-get install build-essential bc git dkms

Parsiunčiame current Linux branduolį perdirbtą respberiui..

sudo su
modprobe configs
cd /usr/src
git clone https://github.com/raspberrypi/linux.git
ln -s linux linux-headers-`uname -r`
cd linux
modprobe configs
zcat /proc/config.gz > .config
ln -s /usr/src/linux /lib/modules/`uname -r`/build
cd arch&& ln -s arm armv7l && cd ../
make mrproper && make oldconfig && make prepare && make modules_prepare

Kernel modulio diegimas[keisti]

sudo su
cd /root/sources
git clone https://github.com/lwfinger/rtl8192du.git
cd rtl8192du
make &&make install
insmod /lib/modules/`uname -r`/kernel/drivers/net/wireless/8192du.ko
sync&&reboot

Wifi konfiguravimas[keisti]

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install wpasupplicant
wpa_passphrase tavo_ssid tavo_slaptazodis

Gaunam outputa kuri turesime prideti prie interfeisu konfiguracijos

sudo nano /etc/network/interfaces
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
  wpa-ssid "your_ssid"
  wpa-psk b2abb0fcd2f4527e11817de0823a57bb19ba4622f4595062c94ec4dd1370b5fe

diegimas fedora sistemoje[keisti]

 sudo dnf install dkms
 git clone https://github.com/lwfinger/rtl8192du.git
 cd rtl8192du
 sudo cp -rv . /usr/src/rtl8192du-1.0
 sudo dkms add rtl8192du-1.0 .
 sudo dkms install rtl8192du-1.0