I typically run on WiFi, ethernet disconnected.
If I log in as root the WiFi interface is down, "ip address show" tells me "state DOWN". (If connected, wired ethernet is up).
For system maintenance I can login as my regular user then "su" to to have WiFi enabled or login as root and bring up WiFi with the command;
Code: Select all
ip link set dev wlp2s0 up