我刚刚第一次安装 Xubuntu,并尝试建立无线连接,在终端中配置连接,因为我在桌面上看不到网络图标。
我想配置 wlan0 连接但不确定如何操作。
当我运行 ifconfig 时,我得到以下信息:配置文件
06:05.0 Network controller [0280]: Broadcom Limited BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
Subsystem: AMBIT Microsystem Corp. TravelMate 2410 [1468:0312]
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
lan@alan-TravelMate-2420:~$ lspci -knn | grep Net -A3; rfkill list
06:05.0 Network controller [0280]: Broadcom Limited BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
Subsystem: AMBIT Microsystem Corp. TravelMate 2410 [1468:0312]
Kernel modules: ssb, wl
06:07.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter [10ec:8139] (rev 10)
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
我设法解决了 wlan0 问题,但现在我收到错误“设置编码 (8B2A)”。在网上研究后,我认为您无法使用 iwconfig 连接到 WPA/WPA2 网络。
alan@alan-TravelMate-2420:~$ iwconfig lo no wireless extensions.
wlan0 IEEE 802.11 ESSID:"VM1579855"
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
enp6s7 no wireless extensions.
alan@alan-TravelMate-2420:~$ sudo iwconfig wlan0 key s:password [sudo] password for alan: Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
提前感谢大家:)
答案1
通过其他方式临时连接互联网并在终端中运行:
sudo apt purge bcmwl-kernel-source
sudo apt install firmware-b43-installer
立即或重启后,您的 Wi-Fi 适配器应能正常运行。您无需摆弄奇怪的终端命令即可连接。