无wlan0界面:Ubuntu 16.04


1

我在Ubuntu 16.04(HP Pavilion G6-2149tx)笔记本电脑上安装了b43-fwcutter和固件-b43-installer。

sudo apt-get remove --purge bcmwl-kernel-source 
sudo apt-get update
sudo apt-get install b43-fwcutter firmware-b43-installer

但是我无法在笔记本电脑上创建wlan0接口。

ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device

我的配置如下:

iwconfig

lo        no wireless extensions.

wlp7s0b1  IEEE 802.11bgn  ESSID:"ISIS"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: EC:1D:7F:B6:17:58   
          Bit Rate=57.8 Mb/s   Tx-Power=19 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=68/70  Signal level=-42 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:37   Missed beacon:0

eno1      no wireless extensions.

enp0s20u2  no wireless extensions.

ifconfig

eno1      Link encap:Ethernet  HWaddr 84:34:97:7e:d3:80  
          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)

enp0s20u2 Link encap:Ethernet  HWaddr 36:4b:50:b7:ef:c2  
          inet addr:192.168.0.129  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::60df:e107:928f:791/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:833 errors:0 dropped:0 overruns:0 frame:0
          TX packets:874 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:162821 (162.8 KB)  TX bytes:113464 (113.4 KB)

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:472 errors:0 dropped:0 overruns:0 frame:0
          TX packets:472 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:34036 (34.0 KB)  TX bytes:34036 (34.0 KB)

wlp7s0b1  Link encap:Ethernet  HWaddr 68:94:23:c9:1c:d8  
          inet addr:192.168.0.197  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::94f7:b2f:2512:b017/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2538 (2.5 KB)  TX bytes:7142 (7.1 KB)

和:

tree  /etc/modprobe.d/

/etc/modprobe.d/
├── alsa-base.conf
├── blacklist-ath_pci.conf
├── blacklist-bcm43.conf~
├── blacklist.conf
├── blacklist-firewire.conf
├── blacklist-framebuffer.conf
├── blacklist-modem.conf
├── blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
├── blacklist-rare-network.conf
├── blacklist-watchdog.conf
├── dkms.conf
├── fbdev-blacklist.conf
├── intel-microcode-blacklist.conf
├── iwlwifi.conf
├── mlx4.conf
└── vmwgfx-fbdev.conf


$ rfkill list all
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

$ dmesg | grep -i firmware
[    0.145271] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    1.315344] [Firmware Bug]: Invalid critical threshold (0)
[    2.426164] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[   13.536705] bluetooth hci0: Direct firmware load for    brcm/BCM20702A1-0a5c-21e3.hcd failed with error -2

我需要在笔记本电脑上设置wlan0。谢谢。


1
“我需要在笔记本电脑上设置wlan0。” 不,你不。您需要设置wlp7s0b1
Rinzwind '16

1
大声笑是巧合
hellozee '16

Answers:


3

您的无线接口wlp7s0b1不是wlan0。哦,伙计,在这里发布问题之前,您应该多注意教程并进行一些研究。


1
它称为“可预测的接口名称”,是systemd的一部分。
Rinzwind '16

那么,对于花这么多钱写这个问题的人来说,是多么浪费时间。
hellozee

现在,您可以将其标记为答案
hellozee '16

1
并且我知道它曾经被问过,所以它也将很快关闭;)虽然找不到这个
假人

谢谢上帝,因为如果您在stackoverflow中问同样的问题,您就在askubuntu中,您将获得超过100的downvote以及with动的答案。:P
hellozee '16
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.