Robotic Arena

From IridiaWiki
Revision as of 13:48, 29 November 2013 by Manubrambi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
Personal tools