我在 Windows 上安装了 Ubuntu。Wifi 适配器在 Windows 上无法使用,因为它可以通过自动安装驱动程序来运行。通过帮助解决问题这里我安装了更新的驱动程序,但重启后标题栏中仍然没有WIFI面板。运行sudo modprobe rtl8188gu
结果为modprobe: FATAL: module rtl8188gu not found in directory /lib/modules/5.11.0-44-generic
。
这是驱动程序存储库。正如存储库 wiki 中所述,运行eject /dev/cdrom0
结果为eject: /dev/cdrom0: not found mountpoint or device with the given name
。该命令不适用于./dev/cdrom0
或cdrom
。
我对 Linux 和 CLI 了解不多。非常感谢您的帮助。
编辑:
$ lsusb
Bus 002 Device 011: ID 0bda:b711 Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (After Modeswitch)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ sudo modprobe 8188gu
modprobe: ERROR: could not insert '8188gu': Exec format error
编辑2:
hammad@hammad-linux:~$ (dmesg; modinfo 8188gu) | nc termbin.com 9999
dmesg: read kernel buffer failed: Operation not permitted
nc: getaddrinfo for host "termbin.com" port 9999: Temporary failure in name resolution
hammad@hammad-linux:~$ sudo (dmesg; modinfo 8188gu) | nc termbin.com 9999
bash: syntax error near unexpected token `dmesg'
hammad@hammad-linux:~$ (sudo dmesg; modinfo 8188gu) | nc termbin.com 9999
nc: getaddrinfo for host "termbin.com" port 9999: Temporary failure in name resolution
[sudo] password for hammad:
hammad@hammad-linux:~$ (sudo dmesg; modinfo 8188gu) | nc termbin.com 9999
nc: getaddrinfo for host "termbin.com" port 9999: Temporary failure in name resolution
hammad@hammad-linux:~$ modinfo
modinfo: ERROR: missing module or filename.
hammad@hammad-linux:~$ modinfo 8188gu
filename: /lib/modules/5.11.0-44-generic/kernel/drivers/net/wireless/8188gu.ko
version: v5.2.20.2_28373.20180619
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: 0134ED43BF3F55F2E3E0DD4
alias: usb:v0BDAp2005d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v0BDApB711d*dc*dsc*dp*icFFiscFFipFFin*
depends: cfg80211
retpoline: Y
name: 8188gu
vermagic: 5.11.0-44-generic SMP mod_unload modversions
param...(shortened for body characters limit here)
hammad@hammad-linux:~$ nc termbin.com 9999
nc: getaddrinfo for host "termbin.com" port 9999: Temporary failure in name resolution