Arch Linux - implementing NetworkManager Not Connecting to VPN on Boot
I've hit a wall trying to I'm trying to figure out I'm working with an scenario where my Arch Linux system does not automatically connect to my VPN using NetworkManager on boot... I've set up the VPN via the NetworkManager GUI and ensured that it works perfectly when I connect it manually after logging in. However, it seems that the VPN connection does not establish at startup, and I don't see any behavior messages in the logs. I have the following configuration in my `/etc/NetworkManager/system-connections/MyVPN` file: ```ini [connection] id=MyVPN uuid=YOUR-VPN-UUID type=vpn [vpn] service-type=org.freedesktop.NetworkManager.openvpn remote=your.vpn.server:1194 user=your_username password-flags=0 ``` I've ensured that the service is enabled and starts at boot: ```bash sudo systemctl enable NetworkManager ``` However, when I check the status with `systemctl status NetworkManager`, it seems to show that the service starts, but the VPN remains disconnected. I've also tried adding a delay to my VPN connection via `nmcli`, thinking it might be a timing scenario: ```bash nmcli connection modify MyVPN connection.autoconnect-retries 10 nmcli connection modify MyVPN connection.autoconnect-timeout 30 ``` Despite this setup, the VPN does not connect until I manually trigger it after logging in. I checked the NetworkManager logs with `journalctl -u NetworkManager`, but there's no indication of why it's failing to connect. Has anyone experienced similar issues or have suggestions on how to troubleshoot this further? This is happening in both development and production on Windows 11. What am I doing wrong? Is this even possible? This is happening in both development and production on macOS. Thanks for any help you can provide! Any suggestions would be helpful.