Ubuntu 18.04 未发现wifi适配器

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
myUbuntusys
帖子: 1
注册时间: 2019-01-01 7:49
系统: Ubuntu 18.04
送出感谢: 0
接收感谢: 0

Ubuntu 18.04 未发现wifi适配器

#1

帖子 myUbuntusys » 2019-01-01 8:03

昨天安装了Ubuntu18.04发现没有wifi,未发现wifi适配器,我是win10和Ubuntu双系统,刚上手Ubuntu,下面是输出的信息,看看有没有帮助。
eartsilence@heartsilence-PC:~$ uname -a
Linux heartsilence-PC 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
heartsilence@heartsilence-PC:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 3e30 (rev 0a)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 0a)
00:14.0 USB controller: Intel Corporation 200 Series PCH USB 3.0 xHCI Controller
00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0)
00:1c.1 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #2 (rev f0)
00:1c.3 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #4 (rev f0)
00:1c.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0)
00:1d.5 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #14 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a2c9
00:1f.2 Memory controller: Intel Corporation 200 Series PCH PMC
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
00:1f.4 SMBus: Intel Corporation 200 Series PCH SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1080 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)
03:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)
04:00.0 SD Host controller: Realtek Semiconductor Co., Ltd. RTS5250 PCI Express Card Reader (rev 01)
70:00.0 Non-Volatile memory controller: Device 1987:5008 (rev 01)
71:00.0 Network controller: Intel Corporation Device 2526 (rev 29)
heartsilence@heartsilence-PC:~$ sudo lshw -C network
[sudo] heartsilence 的密码:
*-network
description: Ethernet interface
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 10
serial: 80:fa:5b:5a:96:28
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
resources: irq:16 memory:de600000-de63ffff ioport:d000(size=128)
*-network
description: Ethernet interface
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: enp3s0
version: 10
serial: 80:fa:5b:5a:96:29
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=172.16.0.146 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:17 memory:de500000-de53ffff ioport:c000(size=128)
*-network UNCLAIMED
description: Network controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:71:00.0
version: 29
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix cap_list
configuration: latency=0
resources: memory:de200000-de203fff
头像
mraandtux
论坛版主
帖子: 5161
注册时间: 2009-12-12 19:29
系统: Ubuntu + Windows 10
来自: 随便一个地方
送出感谢: 0
接收感谢: 168 次
联系:

Re: Ubuntu 18.04 未发现wifi适配器

#2

帖子 mraandtux » 2019-01-01 17:32

电脑型号多少?试试输入lsusb。
头像
astolia
论坛版主
帖子: 4006
注册时间: 2008-09-18 13:11
送出感谢: 1 次
接收感谢: 661 次

Re: Ubuntu 18.04 未发现wifi适配器

#3

帖子 astolia » 2019-01-01 21:11

网卡是这个

代码: 全选

71:00.0 Network controller: Intel Corporation Device 2526 (rev 29)
当前系统上没有合适的驱动所以用不了

先通过有线网络连上网,在命令行下用以下命令下载编译安装驱动

代码: 全选

sudo apt update
sudo apt install git build-essential linux-headers-generic
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
cd backport-iwlwifi
make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make
sudo make install
以后如果升级了内核,内核中还没有更新驱动的话,还需要重装,如果你保留了以前的backport-iwlwifi目录没删,直接运行下面的命令就行了

代码: 全选

cd backport-iwlwifi
make clean
make defconfig-iwlwifi-public
make
sudo make install
来源: https://askubuntu.com/a/1028199
回复

回到 “网卡问题以及网络和拨号”