Last updated 1 month ago
To see links, masks, local network config:
ip a ip link show
To activate an interface:
ip link set enp0s1 up
To deactivate an interface:
ip link set enp0s1 down
To configure a network interface:
ip addr add 192.168.1.1/24 dev enp0s1
To delete a network interface:
ip addr del 192.168.1.1 dev enp0s1
If we detect a interface as "disconnected".
nmcli device status
We could try to "activate" it:
nmcli dev connect enp0s8
And maybe the interface now is giving us new info (: