Robotic Arena

From IridiaWiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Connect both to the Internet and the e-puck network

edit /etc/network/interfaces put this:

 auto lo eth0 eth0:1
 iface lo inet loopback
 iface eth0 inet static
       address 10.0.0.XXX  #(high value > 160)
       network 10.0.0.0
       netwmask 255.255.255.0
       broadcast 10.0.0.255
       gateway 10.0.0.1
 iface eth0:1 inet static
       address 10.0.1.X #(low value < 10)
       network 10.0.1.0
       netmask 255.255.255.0
       broadcast 10.0.1.255

Put the correct static IPs and remove the comments

Restart the network

 sudo /etc/init.d/networking restart