Unsolved wifi断开连接后有时候无法自动恢复
-
笔记本放家里,开了内网穿透。家里网络wifi路由器白天会重新一次。今天在公司远程,之后永久断开未能恢复。到家后,ubuntu系统显示wifi图标带一个问号。
停用wifi再重新启用,网络恢复。
> dmesg [112854.932755] [WARNING][BB] H2C cmd error!! [112854.932770] [WARNING][BB]Error H2C CLASS=1, ID=0, Rt_v = 1 [112856.944567] [WARNING][BB]Error H2C CLASS=1, ID=1, Rt_v = 1 [112856.944573] [WARNING][BB] H2C cmd error!! [112856.944582] [WARNING][BB]Error H2C CLASS=1, ID=0, Rt_v = 1 [112858.964538] [WARNING][BB]Error H2C CLASS=1, ID=1, Rt_v = 1 [112858.964544] [WARNING][BB] H2C cmd error!! [112858.964553] [WARNING][BB]Error H2C CLASS=1, ID=0, Rt_v = 1 [112860.980605] [WARNING][BB]Error H2C CLASS=1, ID=1, Rt_v = 1 [112860.980620] [WARNING][BB] H2C cmd error!! [112860.980636] [WARNING][BB]Error H2C CLASS=1, ID=0, Rt_v = 1 [112871.056721] [WARNING][BB]Error H2C CLASS=1, ID=1, Rt_v = 1 [112871.056735] [WARNING][BB] H2C cmd error!! [112871.056752] [WARNING][BB]Error H2C CLASS=1, ID=0, Rt_v = 1 [112871.976395] rtw8852be: Connection disconnected for reason 0 [112872.675141] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [112892.583775] rtw8852be: Connection disconnected for reason 0 [112903.466798] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
-
不是每次都这样,目前发现了第二次,第一次是在家里,这次远程时,导致一个白天不能连上。
-
-
@berkaroad
可以尝试禁止IPV6,默认使用IPV4.
具体方法在cmdline增加“ipv6.disable=1”:sudo vim /boot/firmware/extlinux/extlinux.conf default Linux coolpi label Linux coolpi kernel /Image initrd /initrd.img fdt /rk3588-cpcm5-notebook-v20.dtb append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0 ipv6.disable=1
-
@george 好的
-
@george 内核启动设置了
ipv6.disable=1
,今天发现wifi突然断开后无法重连,禁用wifi后再启用也无法恢复,重启电脑后正常。(新问题)查看日志如下:
journalctl -xeu wpa_supplicant