95
edits
Line 52: | Line 52: | ||
* Gateway: 0.0.0.0 | * Gateway: 0.0.0.0 | ||
You can also use the | You can also use the commands: | ||
sudo | sudo ip link set eth0 down | ||
sudo ip addr add 192.168.1.10/24 dev eth0 | |||
sudo ip link set eth0 up | |||
where eth0 is the name of your ethernet interface found using ifconfig (other common interface names esp3s0...) | where eth0 is the name of your ethernet interface found using ifconfig (other common interface names esp3s0...) | ||
Line 81: | Line 83: | ||
* Gateway: 0.0.0.0 | * Gateway: 0.0.0.0 | ||
Or use the | Or use the commands | ||
sudo | sudo ip link set eth0 down | ||
sudo ip addr add 172.22.0.10/24 dev eth0 | |||
sudo ip link set eth0 up | |||
where eth0 is the name of your ethernet interface found using ifconfig (other common interface names esp3s0...) | where eth0 is the name of your ethernet interface found using ifconfig (other common interface names esp3s0...) |
edits