您尚未登录。

#1 2014-09-17 12:34:18

enun
会员
注册时间: 2012-07-15
帖子: 7
个人网站

gnome 托盘无VPN下拉菜单

gnome-shell 重启后无VPN下拉菜单。但是先systemctl stop NetworkManager,停止网络管理,再重启gnome-shell,再启动网路管理,VPN下拉菜单又出现了,有人知道这是怎么回事吗?如何解决,谢谢!

离线

#2 2014-10-19 17:28:50

everyx
会员
所在地: 安徽安庆
注册时间: 2011-08-27
帖子: 47

Re: gnome 托盘无VPN下拉菜单

journalctl -u NetworkManager 输出什么呢?

离线

#3 2014-10-19 18:45:49

enun
会员
注册时间: 2012-07-15
帖子: 7
个人网站

Re: gnome 托盘无VPN下拉菜单

开机启动的日志如下:

[root@enun-net:~]# journalctl -b -u NetworkManager
-- Logs begin at Sun 2014-09-07 21:30:26 CST, end at Sun 2014-10-19 18:41:54 CST. --
Oct 19 18:41:28 enun-net NetworkManager[429]: <info> NetworkManager (version 0.9.10.1) is starting...
Oct 19 18:41:28 enun-net NetworkManager[429]: <info> Read config: /etc/NetworkManager/NetworkManager.conf
Oct 19 18:41:28 enun-net NetworkManager[429]: <info> WEXT support is enabled
Oct 19 18:41:28 enun-net NetworkManager[429]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
Oct 19 18:41:28 enun-net NetworkManager[429]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
Oct 19 18:41:28 enun-net NetworkManager[429]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> Loaded plugin keyfile: (c) 2007 - 2013 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/PPTP (US)
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/TP-LINK_BF560A
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/Wired connection 1
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/PPTP (TW)
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/TP-LINK_F89A5E 1
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/enunnet-public
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/ppp0
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/PPTP (TL)
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/enun-net
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> new connection /etc/NetworkManager/system-connections/TP-LINK_F89A5E
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> monitoring kernel firmware directory '/usr/lib/firmware'.
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill1) 
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> WiFi hardware radio set disabled
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> WWAN hardware radio set enabled
Oct 19 18:41:29 enun-net NetworkManager[429]: <info> Loaded device plugin: /usr/lib/NetworkManager/libnm-device-plugin-adsl.so
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> Loaded device plugin: /usr/lib/NetworkManager/libnm-device-plugin-wwan.so
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> Loaded device plugin: /usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> Loaded device plugin: /usr/lib/NetworkManager/libnm-device-plugin-wifi.so
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> WiFi disabled by radio killswitch; disabled by state file
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> WWAN enabled by radio killswitch; enabled by state file
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> WiMAX enabled by radio killswitch; enabled by state file
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> Networking is enabled by state file
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (lo): link connected
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (lo): carrier is ON
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (lo): new Generic device (driver: 'unknown' ifindex: 1)
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (lo): exported as /org/freedesktop/NetworkManager/Devices/0
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (enp0s25): carrier is OFF
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (enp0s25): new Ethernet device (driver: 'e1000e' ifindex: 2)
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (enp0s25): exported as /org/freedesktop/NetworkManager/Devices/1
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (enp0s25): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (enp0s25): preparing device
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (wlp3s0): using nl80211 for WiFi device control
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (wlp3s0): driver supports Access Point (AP) mode
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (wlp3s0): new 802.11 WiFi device (driver: 'rtl8192ce' ifindex: 3)
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (wlp3s0): exported as /org/freedesktop/NetworkManager/Devices/2
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (wlp3s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> (wlp3s0): preparing device
Oct 19 18:41:30 enun-net NetworkManager[429]: <info> use BlueZ version 5
Oct 19 18:41:35 enun-net NetworkManager[429]: <info> startup complete
Oct 19 18:41:49 enun-net NetworkManager[429]: <info> BT device Nexus 5 (BC:F5:AC:50:72:9C) added (NAP)
Oct 19 18:41:49 enun-net NetworkManager[429]: <info> (BC:F5:AC:50:72:9C): new Bluetooth device (driver: 'bluez' ifindex: 0)
Oct 19 18:41:49 enun-net NetworkManager[429]: <info> (BC:F5:AC:50:72:9C): exported as /org/freedesktop/NetworkManager/Devices/3
Oct 19 18:41:49 enun-net NetworkManager[429]: <info> (BC:F5:AC:50:72:9C): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Oct 19 18:41:49 enun-net NetworkManager[429]: <info> (BC:F5:AC:50:72:9C): preparing device
Oct 19 18:41:49 enun-net NetworkManager[429]: <info> (BC:F5:AC:50:72:9C): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> (enp0s25): link connected
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> (enp0s25): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Auto-activating connection 'Wired connection 1'.
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) starting connection 'Wired connection 1'
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) scheduled...
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) started...
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> (enp0s25): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> NetworkManager state is now CONNECTING
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) scheduled...
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) complete.
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) starting...
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> (enp0s25): device state change: prepare -> config (reason 'none') [40 50 0]
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) successful.
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) scheduled.
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) complete.
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) started...
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> (enp0s25): device state change: config -> ip-config (reason 'none') [50 70 0]
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) complete.
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 5 of 5 (IPv4 Commit) started...
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> (enp0s25): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> Activation (enp0s25) Stage 5 of 5 (IPv4 Commit) complete.
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> (enp0s25): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> (enp0s25): device state change: secondaries -> activated (reason 'none') [90 100 0]
Oct 19 18:41:50 enun-net NetworkManager[429]: <info> NetworkManager state is now CONNECTED_LOCAL
Oct 19 18:41:52 enun-net NetworkManager[429]: <info> NetworkManager state is now CONNECTED_GLOBAL
Oct 19 18:41:52 enun-net NetworkManager[429]: <info> Policy set 'Wired connection 1' (enp0s25) as default for IPv4 routing and DNS.
Oct 19 18:41:52 enun-net NetworkManager[429]: <info> Writing DNS information to /usr/bin/resolvconf
Oct 19 18:41:52 enun-net NetworkManager[429]: <info> Activation (enp0s25) successful, device activated.

离线

#4 2014-10-20 20:47:08

everyx
会员
所在地: 安徽安庆
注册时间: 2011-08-27
帖子: 47

Re: gnome 托盘无VPN下拉菜单

看着没问题,是不是这个 bug 呢?
https://wiki.archlinux.org/index.php/Ne … g_in_GNOME

离线

#5 2014-10-22 23:40:22

enun
会员
注册时间: 2012-07-15
帖子: 7
个人网站

Re: gnome 托盘无VPN下拉菜单

已经解决了,比较委婉的方法,写个脚本监控即可

离线

页脚