I want to register a kill-switch for my PC to disconnect from the network if someone starts a video chat or IP call suddenly at my house while ma downloading something big.
The command I want to run is dhclient -r and run it with with Kde Connect, Kde connect gives no errors while trying but the command doesn’t run and I tried sudo useradd -G network USER. Command output below.
sudo useradd -G network USER
useradd: user 'USER' already exists
What do you believe should happen? Did you use dhclient to set up your networking? Just releaseing the current lease and stopping dhclient will not kill your networking if you use NetworkManager or other programs to set up your networking.
Stop the service of the program you use to set up your networking.