Ubuntu 18.10(DELL Inspiron)上未找到英特尔无线 3165 WIFI 适配器

Ubuntu 18.10(DELL Inspiron)上未找到英特尔无线 3165 WIFI 适配器

我最近从 ubuntu 16.10 升级到了 18.10 LTS,但是升级后我无法连接到无线 Wi-Fi,除非我使用 USB。我尝试了几种方法都无济于事。我尝试过的一些方法包括:

sudo lshw -C network

输出:

~$ sudo lshw -C network
[sudo] password for chiefsamurai: 
  *-network DISABLED        
       description: Wireless interface
       product: Wireless 3165
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 79
       serial: 7c:67:a2:27:69:1a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.1.0-050100rc2-generic firmware=29.1044073957.0 ip=192.168.8.104 latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:131 memory:d2100000-d2101fff
  *-network
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 07
       serial: 64:00:6a:fd:f7:0a
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII
       resources: irq:17 ioport:d000(size=256) memory:d2004000-d2004fff memory:d2000000-d2003fff
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: enx0c5b8f279a64
       serial: 0c:5b:8f:27:9a:64
       capabilities: ethernet physical
       configuration: broadcast=yes driver=cdc_ether driverversion=22-Aug-2005 firmware=CDC Ethernet Device ip=192.168.8.100 link=yes multicast=yes

我确实运行了这个

lspci -knn | grep Net -A3

输出为:

~$ lspci -knn | grep Net -A3
02:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 79)
    Subsystem: Intel Corporation Wireless 3165 [8086:4410]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

我甚至尝试过:

lspci -vvnn | grep Network

输出:

02:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 79)

然后我检查它是否被阻止了

rfkill list all

结果是

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

当我跑步的时候

uname -r

我以为 mit 版本可能比较旧,所以我按照教程升级到了 5.1,现在运行时它看起来像这样uname -r

5.1.0-050100rc2-generic

如果我启用安全启动,它不会启动,但会显示分配的签名错误。然后通过复制 iwlwifi-7265-13 文件 ucode 文件来更新我的 /lib/firmare,但我的 wifi 仍然无法工作。请帮忙,我真的需要让我的无线 wifi 工作。

更新:@heynnema 当我跑步时grep -i iwlwifi /var/log/syslog*

我明白了:

/var/log/syslog.1:Mar 29 18:25:03 chief-nechi-samurai kernel: [   20.203138] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
/var/log/syslog.1:Mar 29 18:25:03 chief-nechi-samurai kernel: [   20.412914] iwlwifi 0000:02:00.0: loaded firmware version 29.1044073957.0 op_mode iwlmvm
/var/log/syslog.1:Mar 29 18:25:03 chief-nechi-samurai kernel: [   20.659364] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
/var/log/syslog.1:Mar 29 18:25:03 chief-nechi-samurai kernel: [   20.681102] iwlwifi 0000:02:00.0: base HW address: 7c:67:a2:27:69:1a
/var/log/syslog.1:Mar 29 18:25:03 chief-nechi-samurai kernel: [   25.785034] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
/var/log/syslog.1:Mar 29 18:25:04 chief-nechi-samurai NetworkManager[1223]: <info>  [1553873104.6885] rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/ieee80211/phy0/rfkill0) (driver iwlwifi)

更新 2:@heynnema 以下是我得到的输出

cat /etc/network/interfaces</code>

输出:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto wlp2s0
iface wlp2s0 inet dhcp

至于

cat /etc/netplan/*.yaml

输出

cat: '/etc/netplan/*.yaml': No such file or directory

以及

resolvectl

结果是:

 LLMNR setting: no
MulticastDNS setting: no
  DNSOverTLS setting: no
      DNSSEC setting: no
    DNSSEC supported: no
  Current DNS Server: 192.168.8.1
         DNS Servers: 192.168.8.1
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
                      18.172.in-addr.arpa
                      19.172.in-addr.arpa
                      20.172.in-addr.arpa
                      21.172.in-addr.arpa
                      22.172.in-addr.arpa
                      23.172.in-addr.arpa
                      24.172.in-addr.arpa
                      25.172.in-addr.arpa
                      26.172.in-addr.arpa
                      27.172.in-addr.arpa
                      28.172.in-addr.arpa
                      29.172.in-addr.arpa
                      30.172.in-addr.arpa
                      31.172.in-addr.arpa
                      corp
                      d.f.ip6.arpa
                      home
                      internal
                      intranet
                      lan
                      local
                      private
                      test

Link 4 (enx0c5b8f279a64)
      Current Scopes: DNS
       LLMNR setting: yes
MulticastDNS setting: no
  DNSOverTLS setting: no
      DNSSEC setting: no
    DNSSEC supported: no
  Current DNS Server: 192.168.8.1
         DNS Servers: 192.168.8.1
          DNS Domain: ~.

Link 3 (wlp2s0)
      Current Scopes: none
       LLMNR setting: yes
MulticastDNS setting: no
  DNSOverTLS setting: no
      DNSSEC setting: no
    DNSSEC supported: no

Link 2 (enp3s0)
      Current Scopes: none
       LLMNR setting: yes
MulticastDNS setting: no
  DNSOverTLS setting: no
      DNSSEC setting: no
    DNSSEC supported: no

也尝试过

 sudo ifconfig wlp2s0 up

sudo ip link set wlp2s0 up

问题仍然存在

更新 3:至于

dpkg -l *netplan*

我有

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  netplan        <none>       <none>       (no description available)
ii  netplan.io     0.40.2.2     amd64        YAML network configuration abstra

回答您的问题:这不是一个全新安装,而是一个升级,而且我在升级过程中遇到了一些错误,因为断电了。我修好了一些东西,但是从那以后无线就无法工作了。但是我工作所需的一切现在似乎都运行良好(希望不会出现任何问题)。

更新 #4:

我确实安装了.yaml 文件。

当我现在跑步时

cat /etc/netplan/*.yaml

我得到了文件:

network:
  version: 2
  renderer: NetworkManager

更新 #5:

创建 .yaml 文件后

我做到了:

sudo netplan --debug generate

收到

DEBUG:command generate: running ['/lib/netplan/generate']
** (generate:5991): DEBUG: 17:13:02.875: Processing input file /etc/netplan/config.yaml..
** (generate:5991): DEBUG: 17:13:02.876: starting new processing pass
** (generate:5991): DEBUG: 17:13:02.876: Generating output files..
(generate:5991): GLib-DEBUG: 17:13:02.876: posix_spawn avoided (fd close requested)

至于:

sudo netplan apply

成功了

现在正在重启

答案1

编辑/etc/network/interfaces并使其看起来像这样...

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

重新启动并重新检查sudo lshw -C network,确保设备wlp2s0未被禁用。重试无线连接。


由于 18.10 升级过程中出现问题,您的/etc/netplan.yaml 文件不存在。其中至少应该有一个文件,内容为(如果你要使用 NetworkManager 而不是 networkd)...

sudo pico /etc/netplan/config.yaml# 创建/编辑 .yaml 文件

network:
  version: 2
  renderer: NetworkManager

sudo netplan --debug generate# 生成配置文件

sudo netplan apply# 应用配置

reboot# 重启并验证操作


最后,使用 ukuu 或任何您想要的方法,启动到比 更旧的内核5.1.0-050100rc2-generic,然后删除内核。这是一个不稳定的“候选版本”。5.1.0-050100rc2-generic

相关内容