0
(07-04-2020, 19:22)yahoob3 napisał(a): Wydaje mi się, że podmiana sterownika rtl8xxxu na 8192eu może mieć sens.Niestety nic z tego, chyba że zrobiłem coś nie tak. Wklejam co jak po kolei było robione.
https://github.com/clnhub/rtl8192eu-linux
W tym pliku jest "automat"... w sensie skrypt do przeprowadzenia całej operacji:
https://github.com/clnhub/rtl8192eu-linu...ll_wifi.sh
Kod:
tedi1@tedi1-GA-870A-USB3:~$ sudo rmmod 8192eu
[sudo] hasło użytkownika tedi1:
rmmod: ERROR: Module 8192eu is not currently loaded
Kod:
tedi1@tedi1-GA-870A-USB3:~$ sudo apt list linux-headers-generic build-essential dkms git
Lista... Gotowe
build-essential/bionic,now 12.4ubuntu1 amd64 [zainstalowany]
dkms/bionic-updates,bionic-updates,now 2.3-3ubuntu9.7 all [zainstalowany]
git/bionic-updates,bionic-security,now 1:2.17.1-1ubuntu0.5 amd64 [zainstalowany]
linux-headers-generic/bionic-updates,bionic-security 4.15.0.96.87 amd64
Kod:
tedi1@tedi1-GA-870A-USB3:~$ sudo apt -y install linux-headers-generic build-essential dkms git
apt
Usage: apt command [options]
apt help command [options]
Commands:
add-repository - Add entries to apt sources.list
autoclean - Erase old downloaded archive files
autoremove - Remove automatically all unused packages
build - Build binary or source packages from sources
build-dep - Configure build-dependencies for source packages
changelog - View a package's changelog
check - Verify that there are no broken dependencies
clean - Erase downloaded archive files
contains - List packages containing a file
content - List files contained in a package
deb - Install a .deb package
depends - Show raw dependency information for a package
dist-upgrade - Upgrade the system by removing/installing/upgrading packages
download - Download the .deb file for a package
edit-sources - Edit /etc/apt/sources.list with your preferred text editor
dselect-upgrade - Follow dselect selections
full-upgrade - Same as 'dist-upgrade'
held - List all held packages
help - Show help for a command
hold - Hold a package
install - Install/upgrade packages
list - List packages based on package names
policy - Show policy settings
purge - Remove packages and their configuration files
recommends - List missing recommended packages for a particular package
rdepends - Show reverse dependency information for a package
reinstall - Download and (possibly) reinstall a currently installed package
remove - Remove packages
search - Search for a package by name and/or expression
show - Display detailed information about a package
showhold - Same as 'held'
showsrc - Display all the source package records that match the given package name
source - Download source archives
sources - Same as 'edit-sources'
unhold - Unhold a package
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
version - Show the installed version of a package
Kod:
tedi1@tedi1-GA-870A-USB3:~$ ./install_wifi.sh
bash: ./install_wifi.sh: Nie ma takiego pliku ani katalogu
tedi1@tedi1-GA-870A-USB3:~$ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
logical name: enp5s0
version: 06
serial: 50:e5:49:36:32:a4
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII
resources: irq:17 ioport:ae00(size=256) memory:fdaff000-fdafffff memory:fdaf8000-fdafbfff
*-network
description: Wireless interface
physical id: 1
bus info: usb@1:2
logical name: wlx18d6c7122b11
serial: 18:d6:c7:12:2b:11
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8xxxu driverversion=5.3.0-46-generic firmware=N/A ip=192.168.202.108 link=yes multicast=yes wireless=IEEE 802.11
Kod:
tedi1@tedi1-GA-870A-USB3:~$ dkms status
nvidia, 390.116, 5.0.0-32-generic, x86_64: installed
nvidia, 390.116, 5.3.0-45-generic, x86_64: installed
nvidia, 390.116, 5.3.0-46-generic, x86_64: installed
rtl8192eu, 1.0: added
tedi1@tedi1-GA-870A-USB3:~$ sudo rmmod 8192eu
rmmod: ERROR: Module 8192eu is not currently loaded
tedi1@tedi1-GA-870A-USB3:~$ sudo rmmod rtl8xxxu
tedi1@tedi1-GA-870A-USB3:~$ sudo dkms remove rtl8192eu/1.0 --all
------------------------------
Deleting module version: 1.0
completely from the DKMS tree.
------------------------------
Done.
Kod:
tedi1@tedi1-GA-870A-USB3:~$ echo "blacklist rtl8xxxu" >> ./blacklist-rtl8xxxu.conf
tedi1@tedi1-GA-870A-USB3:~$ sudo mv ./blacklist-rtl8xxxu.conf /etc/modprobe.d/
tedi1@tedi1-GA-870A-USB3:~$ sudo dkms add .
Error! Invalid number of arguments passed.
Usage: add <module>/<module-version> or
add -m <module>/<module-version> or
add -m <module> -v <module-version>
tedi1@tedi1-GA-870A-USB3:~$ sudo dkms install rtl8192eu/1.0
Creating symlink /var/lib/dkms/rtl8192eu/1.0/source ->
/usr/src/rtl8192eu-1.0
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' all KVER=5.3.0-46-generic...........(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.3.0-46-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
tedi1@tedi1-GA-870A-USB3:~$