Rtl8192du: Skirtumas tarp puslapio versijų
Jump to navigation
Jump to search
1 eilutė: | 1 eilutė: | ||
== rtl8192du modulio diegimas armbian sistemoje == | == rtl8192du modulio diegimas armbian sistemoje == | ||
− | apt install linux-headers-next-sunxi | + | apt install linux-headers-next-sunxi bison flex |
+ | cd /usr/src/linux-headers-4.19.62-sunxi | ||
+ | make scripts | ||
+ | cd /root | ||
git clone https://github.com/lwfinger/rtl8192du.git | git clone https://github.com/lwfinger/rtl8192du.git | ||
cd rtl8192du | cd rtl8192du | ||
− | make &&make install | + | make ARCH=arm&&make install |
insmod /lib/modules/`uname -r`/kernel/drivers/net/wireless/8192du.ko | insmod /lib/modules/`uname -r`/kernel/drivers/net/wireless/8192du.ko | ||
sync&&reboot | sync&&reboot | ||
+ | === /etc/udev/rules.d/70-persistent-net.rules === | ||
+ | # 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" | ||
+ | |||
== rtl8192du modulio diegimas raspbian sistemoje == | == rtl8192du modulio diegimas raspbian sistemoje == | ||
13:26, 16 spalio 2019 versija
rtl8192du modulio diegimas armbian sistemoje
apt install linux-headers-next-sunxi bison flex 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
# 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"
rtl8192du modulio diegimas raspbian sistemoje
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
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
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
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