Show network devices and configuration
ip addr show ip link show
Enable a network interface
ifconfig eth0 up ip link set eth0 up
A network interface is disabled in a similar way:
ifconfig eth0 down ip link set eth0 down
Show network devices and configuration
ip addr show ip link show
Enable a network interface
ifconfig eth0 up ip link set eth0 up
A network interface is disabled in a similar way:
ifconfig eth0 down ip link set eth0 down