龙空技术网

处理Linux上WIFI不定时中断的问题

皮皮技术站 114

前言:

此刻兄弟们对“ubuntuwicd总是断开”可能比较讲究,看官们都想要剖析一些“ubuntuwicd总是断开”的相关文章。那么小编在网络上汇集了一些有关“ubuntuwicd总是断开””的相关文章,希望同学们能喜欢,你们一起来了解一下吧!

开始以为自己的无线网卡驱动问题:

查看网卡型号:lspci -v | grep Network
显示:2c:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852

寻找到匹配网卡并安装后,问题并没有解决。

后来通过各种寻找,终于在archlinux官方论坛找到一个 相关的帖子[]

由于自己的菜鸡,在安装archlinux时,同时安装并运行了NetworkManager.service,wpa_supplicant.service,iwd.service服务。停止NetworkManager.service与wpa_supplicant.service服务后,网络恢复正常。

查看自己运行的服务:

命令一:find /etc/systemd -name "*.service"/etc/systemd/system/getty.target.wants/getty@tty1.service/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service/etc/systemd/system/display-manager.service/etc/systemd/system/dbus-org.freedesktop.timesync1.service/etc/systemd/system/multi-user.target.wants/dhcpcd.service/etc/systemd/system/multi-user.target.wants/iwd.service/etc/systemd/system/multi-user.target.wants/NetworkManager.service/etc/systemd/system/bluetooth.target.wants/bluetooth.service/etc/systemd/system/dbus-org.bluez.service/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service
命令二:systemctl --type=service --state=runningUNIT LOAD ACTIVE SUB DESCRIPTIONbluetooth.service loaded active running Bluetooth servicedbus.service loaded active running D-Bus System Message Busdhcpcd.service loaded active running dhcpcd on all interfacesiwd.service loaded active running Wireless servicepolkit.service loaded active running Authorization Managersddm.service loaded active running Simple Desktop Display Managersystemd-journald.service loaded active running Journal Servicesystemd-logind.service loaded active running User Login Managementsystemd-timesyncd.service loaded active running Network Time Synchronizationsystemd-udevd.service loaded active running Rule-based Manager for Device Events and Filesupower.service loaded active running Daemon for power managementuser@1000.service loaded active running User Manager for UID 1000

命令二是在我停止相关服务后查看的,停止服务的命令:

systemctl stop NetworkManager.servicesystemctl stop wpa_supplicant.service

禁止开机自动启动:

systemctl disable NetworkManager.service

标签: #ubuntuwicd总是断开