mirror of
https://github.com/tiyn/wiki.git
synced 2025-12-21 15:49:46 +01:00
477 B
477 B
IP
ip is a program that can edit and display the configurations of network
interfaces, routing and tunnels.
It is a replacement for the program ifconfig.
List all network interfaces
You can list network interfaces by running:
ip link list
Enable/disable a network interface
Assuming the interface is named wlan0 run the following:
ip link set wlan0 up
Disabling works accordingly by running:
ip link set wlan0 down