How do I disable and enable network adapter in Linux?
Answer
Answer
- if you want to disable for example the eth0 (ethernet port), you can sudo ifconfig eth0 down which will disable (down) the port. changing down to up will re-enable it. use ifconfig to view your ports. …
- @chrisguiver That sounds like an answer. Would you be willing to post it (or something like it) as one? –