Dell Latitude E6430 - 我没有摆弄过任何东西,所以这是一次让我感到困惑的更新。我现在有了铜线以太网连接,不知何故通过我的 wlp2s0 接口而不是无所事事的 eno1 接口。Wifi 扫描没有发现无线网络。但当我外出时,我必须使用 wifi,所以我被困在这里。
软件更新没有显示任何需要更新的驱动程序。
$ dmesg | grep -i wlan
[ 17.081015] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
$ lspci -knn | grep Net -A3; rfkill list
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
Subsystem: Dell 82579LM Gigabit Network Connection (Lewisville) [1028:0534]
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
--
02:00.0 Network controller [0280]: Intel Corporation Centrino Ultimate-N 6300 [8086:422b] (rev 35)
Subsystem: Intel Corporation Centrino Ultimate-N 6300 3x3 AGN [8086:1121]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
$ rfkill list
1: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
$ ifconfig -a
eno1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether d4:be:d9:75:af:65 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7f00000-f7f20000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 315 bytes 29571 (29.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 315 bytes 29571 (29.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.59 netmask 255.255.255.0 broadcast 192.168.69.255
ether 3c:a9:f4:41:41:90 txqueuelen 1000 (Ethernet)
RX packets 10993 bytes 13755428 (13.7 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6905 bytes 849653 (849.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ sudo lshw -C network
*-network DISABLED
description: Ethernet interface
product: 82579LM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 04
serial: d4:be:d9:7c:ff:95
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:30 memory:f7f00000-f7f1ffff memory:f7f38000-f7f38fff ioport:f060(size=32)
*-network
description: Wireless interface
product: Centrino Ultimate-N 6300
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 35
serial: 3c:a9:f4:44:4b:30
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-36-generic firmware=9.221.4.1 build 25532 ip=192.168.69.59 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:31 memory:f7e00000-f7e01fff
答案1
我建议使用 NetworkManager 而不是 netplan。然后您可以使用常规 GUI 工具来配置网络设备。
在 中terminal
,执行以下操作...
cd /etc/netplan
# 更改目录sudo mv existing.yaml existing.yaml.HOLD
# 重命名现有文件sudo pico config.yaml
# 创建新文件
输入以下文本,保持相同的缩进格式...
network:
version: 2
renderer: NetworkManager
sudo netplan --debug generate
# 生成配置文件sudo netplan apply
# 应用新的配置文件reboot
# 重启计算机
现在转到有线和 Wi-Fi 网络设置面板并配置您的设备。