mirror of https://github.com/tiyn/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
468 B
468 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