![Linux 无法检测到 Wllan0](https://linux22.com/image/1505756/Linux%20%E6%97%A0%E6%B3%95%E6%A3%80%E6%B5%8B%E5%88%B0%20Wllan0.png)
我无法连接到Wifi
当我输入ifconfig
wlan0 up 时它显示wlan0: ERROR while getting interface flags: No such device
我尝试过重新安装firmware-b43-installer
、安装wicd
下载 Broadcom 软件包等解决方案但它似乎不起作用。我有一台 Breadcom bcm43142,当我输入时ifconfig
它显示
eth0 Link encap:Ethernet HWaddr 74:86:7a:62:4f:8a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1200 (1.1 KiB) TX bytes:1200 (1.1 KiB)
命令dmesg | tail
显示
[ 17.455266] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 17.455269] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 653.534672] cfg80211: Calling CRDA for country: IN
[ 653.538524] cfg80211: Regulatory domain changed to country: IN
[ 653.538531] cfg80211: DFS Master region: JP
[ 653.538534] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 653.538540] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 653.538544] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 653.538548] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 653.538552] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
如果有人知道如何解决这个问题,我将不胜感激。命令ip link
显示
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 74:86:7a:62:4f:8a brd ff:ff:ff:ff:ff:ff
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 02:03:00:5a:33:63 brd ff:ff:ff:ff:ff:ff
usb0 是我的手机,我将其用作 usb 调制解调器
答案1
您可以检查:
$ lspci -k | grep -A2 Broadcom
02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
Subsystem: Dell Wireless 1704 802.11n + BT 4.0
Kernel driver in use: wl
然后您可以检查:
$ rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
然后你可以检查:
$ lsmod | grep wl
wl 4207760 0
cfg80211 480503 1 wl
lib80211 14381 2 wl,lib80211_crypt_tkip
当您这样做时...请执行以下操作并回复我:
$ uname -a
$ lspci -vvnn | grep 14e4