20:03 NetworkManager Loaded device plugin: NMWifiFactory (/usr/lib/ x86_64- linux-gnu/ NetworkManager/ 1.40.0/ libnm-device- plugin- wifi.so) 20:03 NetworkManager manager : rfkill: WWAN hardware radio set enabled 20:03 NetworkManager manager : rfkill: Wi-Fi hardware radio set enabled 20:03 NetworkManager dns-mgr: init: dns=systemd- resolved rc-manager= unmanaged (auto), plugin= systemd- resolved 20:03 NetworkManager hostname: static hostname changed from (none) to "HP-ENVY" 20:03 NetworkManager hostname: hostname: using hostnamed 20:03 NetworkManager monitoring ifupdown state file '/run/network/ ifstate'. 20:03 NetworkManager manager : monitoring kernel firmware directory '/lib/firmware'. 20:03 NetworkManager bus-manager: acquired D-Bus service "org.freedeskto p.NetworkManage r" conf) (etc: default- wifi-powersave- on.conf) conf) (run: 10-globally- managed- devices. 20:03 NetworkManager Read config: /etc/NetworkMan ager/NetworkMan nf (lib: 10-dns- resolved. 20:03 NetworkManager NetworkManager (version 1.40.0) is starting. Which is of course a bug: how can you activate a VPN connection if there is no network connection present? I noticed how at boot-time NetwrokManager first successfully activates (!!?!?) the Wireguard VPN connection and only after it activates the WiFi connection. These are my Network Manager config files for these two questions:Īfter looking at the logs, i think i understand what the problem is. This is very annoying! Any ideas what could be wrong and how can I set this up correctly? If I restart manually the WireGuard VPN, everything works and I am able to access the network again. After booting, both connections show as active and connected, but I cannot access the network/internet. I've set-up both connections to auto-start upon boot. They both work when I start them up manually. I configured Network Manager with two connections: a Wi-Fi and a WireGuard VPN. However Network Manager can obtain VPN password from Seahorse if VPN auto connect is turned off and user selects VPN connection manually from Network Manager applet.How can I set up network manager to auto-connect at boot-time to a Wi-Fi and a WireGuard VPN? It appears Network Manager cannot obtain VPN password from Seahorse after user login. Having to store VPN password in plain text in order for Network Manager to automatically connect is not secure. This change allows Network Manager to connect to VPN automatically after user login. Manually selecting the VPN connection from Network Manager applet in the system tray after login results in normal VPN connection.Ĭhanging "password-flags=1" to "password-flags=0" in the VPN configuration file in /etc/NetworkManager/system-connections, Network-Manager adds "password=XXXX" to that configuration file where XXXX is VPN connection password in plain text. Network Manager does not automatically connect to VPN after login. Ubuntu 16.04 (Unity) with Ethernet connection set to automatically connect to VPN in Network Manager after user login (to Ubuntu desktop).
0 Comments
Leave a Reply. |