Difference between revisions of "Mesh/WalkThrough"

Jump to navigation Jump to search
Line 52: Line 52:
* Gateway: 0.0.0.0
* Gateway: 0.0.0.0


You can also use the command:
You can also use the commands:
   sudo ifconfig eth0 192.168.1.10 netmask 255.255.255.0
   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 command
Or use the commands
   sudo ifconfig eth0 172.22.0.10 netmask 255.255.255.0
   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...)