计算机无法保持与 wifi 的连接

计算机无法保持与 wifi 的连接

我们公司最近更改了 wifi 密码。我编辑了旧连接,以便使用新密码

$ nmcli connection edit "Internet"
$ set wifi-sec.psk <password>
$ save persistent
$ activate

大约五分钟内一切都很好。但之后连接就断了。我可以重新启动它,但它每隔 1-5 分钟左右就会断一次(在输入这个问题时,我不得不重新启动 wifi 四次)。我有时在尝试重新启动连接时会收到错误消息,但即使发生错误,连接也会成功重新启动。

$ nmcli connection up "Internet" 
Passwords or encryption keys are required to access the wireless network 'Internet'.
Warning: password for '802-11-wireless-security.psk' not given in 'passwd-file' and nmcli cannot ask without '--ask' option.
Error: Connection activation failed.

我尝试再次重置连接密码,并删除并重新创建连接,但结果相同。

这是 nmcli 问题、驱动程序问题还是其他问题?

计算机是戴尔 Latitude E6230,Ubuntu 版本是 16.04.3, lshw给出:

description: Wireless interface
       product: Centrino Advanced-N 6205 [Taylor Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 34
       serial: 84:3a:4b:9c:b5:f0
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-112-generic firmware=18.168.6.1 ip=192.168.xx.xx latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
       resources: irq:31 memory:f7d00000-f7d01fff

iwconfig给出:

wlp2s0    IEEE

 802.11abgn  ESSID:"Our Internet"  
          Mode:Managed  Frequency:5.785 GHz  Access Point: 70:8B:CD:CD:6A:04   
          Bit Rate=216 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=47/70  Signal level=-63 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:13  Invalid misc:101   Missed beacon:0

iwlist scan给出:

wlp2s0    Scan completed :
          Cell 01 - Address: 70:8B:CD:CD:6A:04
                    Channel:157
                    Frequency:5.785 GHz
                    Quality=45/70  Signal level=-65 dBm  
                    Encryption key:on
                    ESSID:"Our Internet"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000027b06e54a4
                    Extra: Last beacon: 48164ms ago
                    IE: Unknown: 000C4F757220496E7465726E6574
                    IE: Unknown: 01088C129824B048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1AEF0917FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D169D0D1500000000000000000000000000000000000000
                    IE: Unknown: 7F080000000000000040
                    IE: Unknown: BF0CB259820FEAFF0000EAFF0000
                    IE: Unknown: C005019B000000
                    IE: Unknown: C30402020202
                    IE: Unknown: DD09001018020E001C0000
                    IE: Unknown: DD180050F2020101840003A4000027A4000042435E0062322F00

答案1

我遇到了类似的问题。重新启动 NetworkManager 后问题就解决了。

在我的系统中:

systemctl restart NetworkManager

也许这是某种密码缓存。希望对您有帮助

相关内容