How do I disable and enable network adapter in Linux?

Giang Phạm

New member
How do I disable and enable network adapter in Linux?
Answer
Can anybody help me to how can I enable and disable network card through terminal? 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.
 

Tìm kiếm

Back
Top