sudo pacman -S networkmanager sudo systemctl start NetworkManager.service sudo pacman -S nm-connection-editor sudo pacman -S network-manager-applet nmcli device nmcli connection nmcli c delete
System policy prevents control of network connections
System policy prevents control of network connections System policy prevents modification of network settings for all users<
Open /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy with root/sudo privileges and search for the following line:
System policy prevents modification of network settings for all users A few lines below that should be this:
<allow_active>auth_admin_keep</allow_active> Change it to:
<allow_active>yes</allow_active> Save the file and restart your computer.
Authentication by the owner of the session that the client originates from is required.
Authentication by an administrative user is required.
Like auth_self but the authorization is kept for a brief period (e.g. five minutes).
Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).
network manager + openvpn 多个默认路由的问题
IPv4 Settings->Routes and checking “Use this connection only for resources on its network”. https://www.debuntu.org/how-to-network-manager-openvpn-overwrites-default-route/