mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-07 09:07:45 +02: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