Solved Utilities for disabling/re-enabling ethernet access

Stumbling onto this article, I found some methods to achieve it, however if I follow them, I get after the restart a DNS name resolution failure.

Which way would help me to achieve a clean enabling/disabling of the ethernet access without plugging the cable ?
Preferably I want to be able to do it as normal user as I want to write scripts and append them to wiregurads config files.
 
Do you use dhcp or static ip address?
DHCP, but I have already solved the problem.
Thinking over night, I found a entirely different solution to my big problem, which consist enabling/disabling/re-enabling as a part of.
 
Back
Top