您尚未登录。

#1 2020-03-21 19:31:02

zhiyuanzhaiw
会员
注册时间: 2020-03-21
帖子: 13

求助:NetworkManager疑似启动得太早

最近给我的MacBook Pro装了Arch。历经千难万险最后终于能正常使用了,但还剩下最后一个问题,就是WiFi不能正常提示。

目前开机以后,WiFi可以正常连接,可以上网,但是NetworkManager显示没有连接到WiFi。于是自然想到重启一下NetworkManager:

sudo systemctl restart NetworkManager

然后一切正常。于是我想到:难道是NetworkManager启动太早,以至于它要比我WiFi驱动加载的时间早?

一个问题就是怎样调整NetworkManager的启动顺序了,从此开始进入我不会的领域。主要是因为我想要找一个比较优雅的方法。我担心,如果直接改动NetworkManager.service文件,下一次滚动更新的时候说不定就把我的改动给刷掉了,那到时候这个问题还得再出现(当然这个担心也有可能是多余的……)。现在我不知道怎么办了。

作为一个Linux新手,我觉得我需要求助一下。

最近编辑记录 zhiyuanzhaiw (2020-03-24 09:53:13)

离线

#2 2020-03-21 20:36:06

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,960
个人网站

Re: 求助:NetworkManager疑似启动得太早

呃,那个时间是启动花了多久,不是什么时间启动的……

离线

#3 2020-03-21 21:42:25

zhiyuanzhaiw
会员
注册时间: 2020-03-21
帖子: 13

Re: 求助:NetworkManager疑似启动得太早

依云 说:

呃,那个时间是启动花了多久,不是什么时间启动的……

哦好吧……这个我搞错了。但是除此之外我也想不到更好的解释,因为确实开机之后重启一下NetworkManager就好了。
要么就是iwd启动得太晚了?

最近编辑记录 zhiyuanzhaiw (2020-03-21 21:54:00)

离线

#4 2020-03-21 22:25:21

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,960
个人网站

Re: 求助:NetworkManager疑似启动得太早

你可以看一下 NetworkManager 的日志,希望有些有用的信息。

离线

#5 2020-03-22 19:46:59

zhiyuanzhaiw
会员
注册时间: 2020-03-21
帖子: 13

Re: 求助:NetworkManager疑似启动得太早

刚刚查看了日志,主要是涉及到wlan0这个网络。发现开机的时候没有接入到wlan0,有这么一行,提示状态unmanaged:

Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5378] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')

重启NetworkManager的时候wlan0就正常了。

完整的日志在这儿,这是开机+重启NM的日志:

-- Logs begin at Fri 2020-03-06 18:13:29 CST, end at Sun 2020-03-22 19:26:27 CST. --
Mar 22 19:09:12 zhiyuan-flash systemd[1]: Starting Network Manager...
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.0837] NetworkManager (version 1.22.10-1) is starting... (for the first time)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.0837] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf)
Mar 22 19:09:13 zhiyuan-flash systemd[1]: Started Network Manager.
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.0861] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.1215] manager[0x55f8ddc650c0]: monitoring kernel firmware directory '/lib/firmware'.
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.3895] hostname: hostname: using hostnamed
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.3895] hostname: hostname changed from (none) to "zhiyuan-flash"
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.3913] dns-mgr[0x55f8ddc1f220]: init: dns=default,systemd-resolved rc-manager=symlink
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.3918] rfkill0: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.0/0000:03:00.0/ieee80211/phy0/rfkill0) (driver brcmfmac)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.3920] manager[0x55f8ddc650c0]: rfkill: Wi-Fi hardware radio set enabled
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.3920] manager[0x55f8ddc650c0]: rfkill: WWAN hardware radio set enabled
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.4185] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-wwan.so)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.4249] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-ovs.so)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.4804] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-team.so)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.4863] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-wifi.so)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.4982] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-bluetooth.so)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5028] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-adsl.so)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5037] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5041] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5044] manager: Networking is enabled by state file
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5061] dhcp-init: Using DHCP client 'internal'
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5083] settings: Loaded settings plugin: keyfile (internal)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5257] device (lo): carrier: link connected
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5259] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5264] device (enp2s0f1u1): carrier: link connected
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5271] manager: (enp2s0f1u1): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5285] settings: (enp2s0f1u1): created default wired connection 'Wired connection 1'
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5291] device (enp2s0f1u1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5371] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5378] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5683] ovsdb: Could not connect: No such file or directory
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5698] device (enp2s0f1u1): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5706] policy: auto-activating connection 'Wired connection 1' (f92bf89c-88f7-3abd-a31b-2c6eba4f2406)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5713] device (enp2s0f1u1): Activation: starting connection 'Wired connection 1' (f92bf89c-88f7-3abd-a31b-2c6eba4f2406)
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5714] device (enp2s0f1u1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5718] manager: NetworkManager state is now CONNECTING
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5721] device (enp2s0f1u1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5727] device (enp2s0f1u1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Mar 22 19:09:13 zhiyuan-flash NetworkManager[542]: <info>  [1584875353.5731] dhcp4 (enp2s0f1u1): activation: beginning transaction (timeout in 45 seconds)
Mar 22 19:09:32 zhiyuan-flash NetworkManager[542]: <info>  [1584875372.5213] agent-manager: agent[201b3119059221f0,:1.39/org.freedesktop.nm-applet/1000]: agent registered
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <warn>  [1584875398.3701] dhcp4 (enp2s0f1u1): request timed out
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3701] dhcp4 (enp2s0f1u1): state changed unknown -> timeout
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3702] device (enp2s0f1u1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3704] manager: NetworkManager state is now DISCONNECTED
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <warn>  [1584875398.3710] device (enp2s0f1u1): Activation: failed for connection 'Wired connection 1'
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3712] device (enp2s0f1u1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3868] dhcp4 (enp2s0f1u1): canceled DHCP transaction
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3868] dhcp4 (enp2s0f1u1): state changed timeout -> done
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3882] policy: auto-activating connection 'Wired connection 1' (f92bf89c-88f7-3abd-a31b-2c6eba4f2406)
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3887] device (enp2s0f1u1): Activation: starting connection 'Wired connection 1' (f92bf89c-88f7-3abd-a31b-2c6eba4f2406)
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3888] device (enp2s0f1u1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3891] manager: NetworkManager state is now CONNECTING
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3893] device (enp2s0f1u1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3896] device (enp2s0f1u1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Mar 22 19:09:58 zhiyuan-flash NetworkManager[542]: <info>  [1584875398.3898] dhcp4 (enp2s0f1u1): activation: beginning transaction (timeout in 45 seconds)
Mar 22 19:10:24 zhiyuan-flash NetworkManager[542]: <info>  [1584875424.9607] caught SIGTERM, shutting down normally.
Mar 22 19:10:24 zhiyuan-flash systemd[1]: Stopping Network Manager...
Mar 22 19:10:24 zhiyuan-flash NetworkManager[542]: <info>  [1584875424.9802] dhcp4 (enp2s0f1u1): canceled DHCP transaction
Mar 22 19:10:24 zhiyuan-flash NetworkManager[542]: <info>  [1584875424.9802] dhcp4 (enp2s0f1u1): state changed unknown -> done
Mar 22 19:10:24 zhiyuan-flash NetworkManager[542]: <info>  [1584875424.9804] manager: startup complete
Mar 22 19:10:24 zhiyuan-flash NetworkManager[542]: <info>  [1584875424.9879] exiting (success)
Mar 22 19:10:24 zhiyuan-flash systemd[1]: NetworkManager.service: Succeeded.
Mar 22 19:10:24 zhiyuan-flash systemd[1]: Stopped Network Manager.
Mar 22 19:10:24 zhiyuan-flash systemd[1]: Starting Network Manager...
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.0002] NetworkManager (version 1.22.10-1) is starting... (after a restart)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.0003] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf)
Mar 22 19:10:25 zhiyuan-flash systemd[1]: Started Network Manager.
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.0017] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.0049] manager[0x55f8e4cd40a0]: monitoring kernel firmware directory '/lib/firmware'.
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2572] hostname: hostname: using hostnamed
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2572] hostname: hostname changed from (none) to "zhiyuan-flash"
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2574] dns-mgr[0x55f8e4c8e220]: init: dns=default,systemd-resolved rc-manager=symlink
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2580] rfkill0: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.0/0000:03:00.0/ieee80211/phy0/rfkill0) (driver brcmfmac)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2581] manager[0x55f8e4cd40a0]: rfkill: Wi-Fi hardware radio set enabled
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2581] manager[0x55f8e4cd40a0]: rfkill: WWAN hardware radio set enabled
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2599] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-wwan.so)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2602] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-ovs.so)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2630] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-team.so)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2632] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-wifi.so)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2634] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-bluetooth.so)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2637] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/1.22.10-1/libnm-device-plugin-adsl.so)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2639] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2640] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2640] manager: Networking is enabled by state file
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2641] dhcp-init: Using DHCP client 'internal'
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2642] settings: Loaded settings plugin: keyfile (internal)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2659] device (lo): carrier: link connected
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2661] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2667] device (enp2s0f1u1): carrier: link connected
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2672] manager: (enp2s0f1u1): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2680] manager: (enp2s0f1u1): assume: will attempt to assume matching connection 'Wired connection 1' (f92bf89c-88f7-3abd-a31b-2c6eba4f2406) (indicated)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2681] device (enp2s0f1u1): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'assume')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2688] device (enp2s0f1u1): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'assume')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2693] device (enp2s0f1u1): Activation: starting connection 'Wired connection 1' (f92bf89c-88f7-3abd-a31b-2c6eba4f2406)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2698] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2705] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2816] device (wlan0): new IWD device state is connected
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <warn>  [1584875425.2816] device (wlan0): Unsolicited connection success, asking IWD to disconnect
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2823] ovsdb: Could not connect: No such file or directory
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2825] device (wlan0): new IWD device state is disconnecting
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2834] device (enp2s0f1u1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'assume')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2838] device (enp2s0f1u1): state change: prepare -> config (reason 'none', sys-iface-state: 'assume')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2847] agent-manager: agent[b982b4368b361f77,:1.39/org.freedesktop.nm-applet/1000]: agent registered
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2848] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2898] device (wlan0): new IWD device state is disconnected
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2899] device (enp2s0f1u1): state change: config -> ip-config (reason 'none', sys-iface-state: 'assume')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2902] dhcp4 (enp2s0f1u1): activation: beginning transaction (timeout in 45 seconds)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2907] policy: auto-activating connection 'TP-LINK_54F8' (a3538fa0-5ca4-4cf5-90a5-f8344ae89c69)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2911] device (wlan0): Activation: starting connection 'TP-LINK_54F8' (a3538fa0-5ca4-4cf5-90a5-f8344ae89c69)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2912] device (wlan0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2915] manager: NetworkManager state is now CONNECTING
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2918] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.2924] device (wlan0): new IWD device state is connecting
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.4337] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to 'TP-LINK_54F8'.
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.4338] device (wlan0): new IWD device state is connected
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.4338] device (wlan0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.4340] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Mar 22 19:10:25 zhiyuan-flash NetworkManager[28695]: <info>  [1584875425.5239] dhcp4 (wlan0): state changed unknown -> expire
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option dhcp_lease_time      => '7200'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option domain_name          => 'DHCP HOST'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option domain_name_servers  => '202.102.134.68 202.102.128.68'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option expiry               => '1584882628'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option ip_address           => '192.168.1.102'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option requested_broadcast_address => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option requested_domain_name => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option requested_domain_name_servers => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4587] dhcp4 (wlan0): option requested_domain_search => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_host_name  => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_interface_mtu => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_ms_classless_static_routes => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_nis_domain => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_nis_servers => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_ntp_servers => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_rfc3442_classless_static_routes => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_root_path  => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_routers    => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_static_routes => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_subnet_mask => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_time_offset => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option requested_wpad       => '1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option routers              => '192.168.1.1'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): option subnet_mask          => '255.255.255.0'
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4588] dhcp4 (wlan0): state changed expire -> bound
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4614] device (wlan0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4648] device (wlan0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4649] device (wlan0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4652] manager: NetworkManager state is now CONNECTED_LOCAL
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4660] manager: NetworkManager state is now CONNECTED_SITE
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4661] policy: set 'TP-LINK_54F8' (wlan0) as default for IPv4 routing and DNS
Mar 22 19:10:28 zhiyuan-flash NetworkManager[28695]: <info>  [1584875428.4731] device (wlan0): Activation: successful, device activated.
Mar 22 19:10:29 zhiyuan-flash NetworkManager[28695]: <info>  [1584875429.1017] manager: NetworkManager state is now CONNECTED_GLOBAL
Mar 22 19:11:10 zhiyuan-flash NetworkManager[28695]: <warn>  [1584875470.3588] dhcp4 (enp2s0f1u1): request timed out
Mar 22 19:11:10 zhiyuan-flash NetworkManager[28695]: <info>  [1584875470.3588] dhcp4 (enp2s0f1u1): state changed unknown -> timeout
Mar 22 19:11:10 zhiyuan-flash NetworkManager[28695]: <info>  [1584875470.3589] device (enp2s0f1u1): DHCPv4: trying to acquire a new lease within 90 seconds
Mar 22 19:12:40 zhiyuan-flash NetworkManager[28695]: <info>  [1584875560.3614] device (enp2s0f1u1): DHCPv4: grace period expired
Mar 22 19:12:40 zhiyuan-flash NetworkManager[28695]: <info>  [1584875560.3620] device (enp2s0f1u1): state change: ip-config -> ip-check (reason 'ip-config-unavailable', sys-iface-state: 'assume')
Mar 22 19:12:40 zhiyuan-flash NetworkManager[28695]: <info>  [1584875560.3757] device (enp2s0f1u1): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'assume')
Mar 22 19:12:40 zhiyuan-flash NetworkManager[28695]: <info>  [1584875560.3759] device (enp2s0f1u1): state change: secondaries -> activated (reason 'none', sys-iface-state: 'assume')
Mar 22 19:12:40 zhiyuan-flash NetworkManager[28695]: <info>  [1584875560.3765] device (enp2s0f1u1): Activation: successful, device activated.
Mar 22 19:12:40 zhiyuan-flash NetworkManager[28695]: <info>  [1584875560.3767] manager: startup complete

离线

#6 2020-03-22 20:17:11

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,960
个人网站

Re: 求助:NetworkManager疑似启动得太早

是不是有其它网络管理器也在运行啊?

另外长日志建议找 pastebin 贴,比如 https://fars.ee 。太长复制起来很不方便。

离线

#7 2020-03-24 01:25:03

zhiyuanzhaiw
会员
注册时间: 2020-03-21
帖子: 13

Re: 求助:NetworkManager疑似启动得太早

依云 说:

是不是有其它网络管理器也在运行啊?

这个怎么查看?我印象中就只安装了 dhcpcd, NetworkManager 和作为 WiFi 后端的 iwd。

离线

#8 2020-03-24 01:32:46

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,960
个人网站

Re: 求助:NetworkManager疑似启动得太早

不知道。翻日志,看 htop,等等。
说实话我不用 NetworkManager,所以我也只是根据报错信息猜测。

离线

#9 2020-03-29 19:47:35

zhiyuanzhaiw
会员
注册时间: 2020-03-21
帖子: 13

Re: 求助:NetworkManager疑似启动得太早

依云 说:

不知道。翻日志,看 htop,等等。
说实话我不用 NetworkManager,所以我也只是根据报错信息猜测。

目前也确实没发现有别的进程占用

不过确实这点小问题也不影响使用……

最近编辑记录 zhiyuanzhaiw (2020-03-29 19:53:31)

离线

页脚