Ubuntu 18.04 问题:Wifi 几秒后断开连接

Ubuntu 18.04 问题:Wifi 几秒后断开连接

我最近几天都遇到了这个问题 - 不用说它有多烦人!当我重新启动笔记本电脑时,连接似乎在前几秒钟(大约 < 1/2 分钟)正常工作,但随后工具栏上的 wifi 图标变为?并且所有互联网连接都断开了(我也无法访问路由器页面)。

我正在运行 Ubuntu 18.04 与 Windows 10 双启动,并且 Wi-Fi 似乎在 Windows 上运行正常,因此似乎不是某种硬件问题。

更新:输出dmesg | tail -30

[   89.947959] thunderbolt 0000:08:00.0:   Max hop id (in/out): 9/9
[   89.947960] thunderbolt 0000:08:00.0:   Max counters: 2
[   89.947960] thunderbolt 0000:08:00.0:   NFC Credits: 0x1000000
[   89.947961] thunderbolt 0000:08:00.0: 0:b: disabled by eeprom
[  130.676731] thunderbolt 0000:08:00.0: stopping RX ring 0
[  130.676738] thunderbolt 0000:08:00.0: disabling interrupt at register 0x38200 bit 12 (0xffffffff -> 0xffffefff)
[  130.676744] thunderbolt 0000:08:00.0: stopping TX ring 0
[  130.676750] thunderbolt 0000:08:00.0: disabling interrupt at register 0x38200 bit 0 (0xffffffff -> 0xfffffffe)
[  130.676752] thunderbolt 0000:08:00.0: control channel stopped
[  130.676820] thunderbolt 0000:08:00.0: freeing RX ring 0
[  130.676825] thunderbolt 0000:08:00.0: freeing TX ring 0
[  130.676832] thunderbolt 0000:08:00.0: shutdown
[  130.677389] pci_bus 0000:07: Allocating resources
[  130.677434] pcieport 0000:07:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3e] add_size 200000 add_align 100000
[  130.677450] pcieport 0000:07:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  130.677451] pcieport 0000:07:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  130.677454] pcieport 0000:07:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  130.677455] pcieport 0000:07:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  141.191707] wlp2s0: deauthenticating from xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING)
[  146.396090] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[ 1961.942132] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 1961.945143] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[ 1962.055601] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 1966.931319] wlp2s0: authenticate with xx:xx:xx:xx:xx 
[ 1966.971413] wlp2s0: send auth to xx:xx:xx:xx:xx  (try 1/3)
[ 1966.991945] wlp2s0: authenticated
[ 1966.996031] wlp2s0: associate with xx:xx:xx:xx:xx  (try 1/3)
[ 1967.041184] wlp2s0: RX AssocResp from xx:xx:xx:xx:xx (capab=0x1511 status=0 aid=3)
[ 1967.043496] wlp2s0: associated
[ 1967.073448] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready

更新 2:我正在使用的蓝牙设备似乎受到干扰。最近我连接了 Apple 键盘,问题就是从那时开始出现的。现在我关闭了蓝牙,重新启动了 wifi,然后又可以正常工作了。我还应该在这里指出,我的蓝牙扬声器目前已连接,但没有造成任何问题。只有 Apple 键盘会造成问题。:S

这是新日志:

[ 1967.073448] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[ 2311.498301] wlp2s0: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2316.508055] ath10k_pci 0000:02:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[ 2362.817902] ath10k_pci 0000:02:00.0: Unknown eventid: 118809
[ 2362.821008] ath10k_pci 0000:02:00.0: Unknown eventid: 90118
[ 2362.940476] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 2367.820609] wlp2s0: authenticate with xx:xx:xx:xx:xx:xx
[ 2367.860785] wlp2s0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[ 2367.881334] wlp2s0: authenticated
[ 2367.884027] wlp2s0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
[ 2367.929172] wlp2s0: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x1511 status=0 aid=3)
[ 2367.931656] wlp2s0: associated
[ 2367.961039] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[ 3170.274053] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3188.189904] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3204.317937] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3209.383400] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3209.383414] Bluetooth: HIDP socket layer initialized
[ 3228.125945] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3244.257944] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3266.269929] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3283.165976] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3300.317942] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3310.301959] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3327.197967] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3343.325939] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3359.197945] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3368.480842] input: yy:yy:yy:yy:yy:yy as /devices/virtual/input/input15
[ 3378.141901] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3394.269966] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3402.269700] hid-generic XXXX:XXXX:XXXX.XXXX: unknown main item tag 0x0
[ 3402.269787] input: Antonios Minas Krasakis’s Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/bluetooth/hci0/hci0:5/XXXX:XXXX:XXXX.XXXX/input/input16
[ 3402.270096] hid-generic XXXX:XXXX:XXXX.XXXX: input,hidraw3: BLUETOOTH HID v1.00 Keyboard [Antonios Minas Krasakis’s Keyboard] on zz:zz:zz:zz:zz
[ 3412.189924] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3428.317897] Bluetooth: hci0: last event is not cmd complete (0x0f)
[ 3444.190954] Bluetooth: hci0: last event is not cmd complete (0x0f)

答案1

如果没有任何效果,我建议阅读描述这里特别注意 Docker:Docker 网络(网桥)配置实际上可能处于冲突国家与主机网络,如这个 Docker 论坛。如果您认为这是您的情况,则可能的修复方法是打开终端并执行以下命令:

docker network prune

正如选项所暗示的那样,这将删除至少一个容器未使用的所有自定义网络。

答案2

因此,显然正如我在编辑中提到的那样,我的问题源于 Apple 蓝牙键盘和我的 wifi 之间的干扰。更改路由器的频道或频率(2.4/5GHz)没有帮助。

解决问题的方法是重新配对蓝牙键盘,但不是通过 GUI。相反,我使用了提供的指南这里现在它运行完美!

相关内容