无线 7265 无法在 ubuntu 16.04 + Asus K401U 上运行

无线 7265 无法在 ubuntu 16.04 + Asus K401U 上运行

我刚买了一台华硕 K401U。除了 Wifi 无法与 Ubuntu 16.04 配合使用之外,这台电脑的网络状况非常好。虽然大楼内有 Wifi,但我的电脑上仍然什么都看不到。

下面,我收集了一些诊断信息:

ifconfig-a:

yug@yug-pc:~$ ifconfig -a
enp2s0    Link encap:Ethernet  HWaddr 30:5a:3a:8d:22:7f  
          inet addr:10.1.250.18  Bcast:10.1.255.255  Mask:255.255.0.0
          inet6 addr: fe80::4ee0:db4c:9436:1d18/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34706 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:47459302 (47.4 MB)  TX bytes:1833011 (1.8 MB)

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

wlp3s0    Link encap:Ethernet  HWaddr dc:53:60:f2:49:00  
          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)

lspci、refkill 列表、etc/resolv.conf:

yug@yug-pc:~$ lspci -nnk | grep 0280 -A2
03:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
    Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5110]
    Kernel driver in use: iwlwifi
yug@yug-pc:~$ iwconfig
wlp3s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

enp2s0    no wireless extensions.

lo        no wireless extensions.

yug@yug-pc:~$ rfkill list
1: asus-wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: asus-bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
3: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
yug@yug-pc:~$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search SCTFICGRP

描述:

yug@yug-pc:~$ dmesg | grep iwl
[    3.822199] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-19.ucode failed with error -2
[    3.822213] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-18.ucode failed with error -2
[    3.822224] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-17.ucode failed with error -2
[    3.822689] iwlwifi 0000:03:00.0: Unsupported splx structure
[    3.828132] iwlwifi 0000:03:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
[    3.894906] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[    3.894982] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    3.895173] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[    3.986345] iwlwifi 0000:03:00.0: RF_KILL bit toggled to disable radio.
[    3.989171] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    3.993340] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
yug@yug-pc:~$ ls -al /lib/firmware | grep 7265
-rw-r--r--  1 root root  736844 Jan  5 22:34 iwlwifi-7265-10.ucode
-rw-r--r--  1 root root  880604 May 13  2015 iwlwifi-7265-12.ucode
-rw-r--r--  1 root root  885224 Aug  3  2015 iwlwifi-7265-13.ucode
-rw-r--r--  1 root root 1180356 Mar 21 20:27 iwlwifi-7265-16.ucode
-rw-r--r--  1 root root  690452 Nov 24  2014 iwlwifi-7265-8.ucode
-rw-r--r--  1 root root  697828 Dec  2  2014 iwlwifi-7265-9.ucode
lrwxrwxrwx  1 root root      21 May 29 09:37 iwlwifi-7265D-10.ucode -> iwlwifi-7265-10.ucode
-rw-r--r--  1 root root 1002800 May 13  2015 iwlwifi-7265D-12.ucode
-rw-r--r--  1 root root 1008692 Aug  3  2015 iwlwifi-7265D-13.ucode
-rw-r--r--  1 root root 1384500 Mar 21 20:27 iwlwifi-7265D-16.ucode

编辑/lib/固件|grep 7265

yug@yug-pc:~$  ls -al /lib/firmware | grep 7265
-rw-r--r--  1 root root  736844 Jan  5 22:34 iwlwifi-7265-10.ucode
-rw-r--r--  1 root root  880604 May 13  2015 iwlwifi-7265-12.ucode
-rw-r--r--  1 root root  885224 Aug  3  2015 iwlwifi-7265-13.ucode
-rw-r--r--  1 root root 1180356 Mar 21 20:27 iwlwifi-7265-16.ucode
-rw-r--r--  1 root root  690452 Nov 24  2014 iwlwifi-7265-8.ucode
-rw-r--r--  1 root root  697828 Dec  2  2014 iwlwifi-7265-9.ucode
lrwxrwxrwx  1 root root      21 May 29 09:37 iwlwifi-7265D-10.ucode -> iwlwifi-7265-10.ucode
-rw-r--r--  1 root root 1002800 May 13  2015 iwlwifi-7265D-12.ucode
-rw-r--r--  1 root root 1008692 Aug  3  2015 iwlwifi-7265D-13.ucode
-rw-r--r--  1 root root 1384500 Mar 21 20:27 iwlwifi-7265D-16.ucode

我会非常感激您的帮助。如果您需要我回复更多信息,我会尽快回复。

也可以看看英特尔无线完全不工作无法在 Ubuntu 15.10、华硕 ZenBook UX305 上使用英特尔 AC 7265 连接 wifi(似乎没有一个可靠的答案)

答案1

编辑:

  1. 关闭您的电脑,使其进入睡眠模式。
  2. 重新打开它:它将被唤醒并且 wifi 将正常工作。不要问为什么。只需这样做即可。

上一个答案:

好的。rfkill 是你的朋友。

rfkill - tool for enabling and disabling wireless devices

SYNOPSIS
       rfkill [options] command

COMMANDS
       ...

       block index|type
              Disable the device corresponding to the given index.  type is one of "all",  "wifi",
              "wlan", "bluetooth", "uwb", "ultrawideband", "wimax", "wwan", "gps", "fm" or "nfc".

       unblock index|type
              Enable  the  device corresponding to the given index. If the device is hard-blocked,
              e.g. via a hardware switch, it will  remain  unavailable  though  it  is  now  soft-
              unblocked.

因此要软解锁所有:

sudo rfkill unblock all 

硬解锁, 寻找键盘上的按键或硬件开关。对我来说,它是带有飞机图标的 F2。按此键。之后:

$rfkill list 
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: asus-wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
3: asus-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
4: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no

答案2

嘿大家,我正在使用华硕 K501U 和 Ubuntu 16.04。

安装 Ubuntu 后,我发现我的 wifi 被禁用了,这是由硬阻塞问题引起的。

我发现“拍拍电脑并打开”解决方案胡戈尔普兹工作中。

但随着我不断搜索,我发现下面的解决方案也适用于我:

echo "options asus_nb_wmi wapf=1" | sudo tee /etc/modprobe.d/asus_nb_wmi.conf

原始帖子是Asus k501U Wifi 被封

相关内容