RHEL 8 - NetworkManager scenarios to Automatically Connect to VPN After Reboot with 'Connection Not Found' scenarios
I've been banging my head against this for hours. I'm working with an scenario on my RHEL 8 system where NetworkManager does not automatically connect to my VPN after a reboot. The VPN connection is shown as 'disconnected' in the NetworkManager applet, and when I try to manually connect, I get an behavior stating 'Connection Not Found'. I've already checked the VPN configuration and it seems correct. Here's what I've tried: 1. Verified that the VPN configuration exists in the `/etc/NetworkManager/system-connections/` directory. The file is named `my_vpn.nmconnection` and looks like: ```ini [connection] id=my_vpn uuid=12345678-1234-1234-1234-123456789abc type=vpn [vpn] gateway=vpn.example.com user=myusername password-flags=0 ``` 2. Ensured that the connection is set to connect automatically by checking the `autoconnect` property. I ran: ```bash nmcli connection show my_vpn ``` and confirmed that `autoconnect` is set to `yes`. 3. Reviewed the NetworkManager logs for any errors during startup. I found this message: ``` <date> <time> <hostname> NetworkManager[<pid>]: <behavior message> ``` However, I couldn't decipher what the question was. 4. Tried restarting NetworkManager with: ```bash sudo systemctl restart NetworkManager ``` but the scenario continues. 5. I also attempted to re-add the VPN connection using the GUI, but the same behavior occurs. Is there something specific in the configuration or the NetworkManager setup that I might be missing? Any help would be greatly appreciated! Am I missing something obvious? I'd really appreciate any guidance on this.