我有一台 Lenovo Yoga 720,它与 Ubuntu 18.04 配合使用时效果非常好,但是设置 VPN 后,我无法在启动或从挂起状态恢复时自动连接到 wifi。这很烦人,因为 Gnome 需要五次鼠标点击才能打开网络对话框、选择网络并连接。另外,我必须手动重新加载打开的选项卡。连接到 wifi 后,VPN 会自动连接。根据 Ask Ubuntu 上相关主题的建议,我无法解决这个问题。
user@pc$ifconfig
<snip>
wlp63s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.151 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::5715:5c3:8e58:58f3 prefixlen 64 scopeid 0x20<link>
ether 3c:95:09:63:8c:21 txqueuelen 1000 (Ethernet)
RX packets 623886 bytes 792613698 (792.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 205568 bytes 62069644 (62.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sudo lshw -class network
[sudo] password: passwd
*-network
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:3f:00.0
logical name: wlp63s0
version: 32
serial: 3c:95:09:63:8c:21
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-31-generic firmware=WLAN.RM.4.4.1-00079-QCARMSWPZ-1 ip=192.168.1.151 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:132 memory:75000000-751fffff