You can find some demos that get the lights flashing on the E-Puck robots here:
http://www.gctronic.com/doc/index.php/E-Puck/
Showing posts with label epuck. Show all posts
Showing posts with label epuck. Show all posts
Friday, 15 October 2010
WLAN network setup for E-Puck and Linux Box
Setting up network for AD-HOC (point-to-point between PC and E-Puck)
We are working with a private local network using static IP addresses!
Add entries to file "/etc/network/interfaces" (on the PC):
auto wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
address 192.168.0.100
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
#pointopoint 192.168.0.1
wireless-mode ad-hoc
and ''"/etc/network/interfaces"'' (on the E-Puck)
auto wlan1
#iface wlan1 inet dhcp
iface wlan1 inet static
address 192.168.0.1
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
#pointopoint 192.168.0.100
wireless-mode ad-hoc
Invoke on both systems either
sudo /etc/init.d/networking restart
or
sudo ifdown wlan0 (or wlan1)
sudo ifup wlan0 (or wlan1)
Setting up network for ACCESS POINT (the PC needs a wireless router attached)
We are working with a private local network using static IP addresses!
Add entries to file "/etc/network/interfaces" (on the PC)
auto wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
address 192.168.0.100
network 192.168.0.0
netmask 255.255.255.0
gateway 192.168.0.200 (address of router!)
broadcast 192.168.0.255
wireless-essid 'name'
#wireless-key 1234567890
wireless-mode managed
and "/etc/network/interfaces" (on the E-Puck)
auto wlan1
#iface wlan1 inet dhcp
iface wlan1 inet static
address 192.168.0.1
network 192.168.0.0
netmask 255.255.255.0
gateway 192.168.0.200 (address of router!)
broadcast 192.168.0.255
wireless-essid 'name'
wireless-mode managed
#there is a line missing adjusting the power, look up on E-Puck
Invoke on both systems either
sudo /etc/init.d/networking restart
or
sudo ifdown wlan0 (or wlan1)
sudo ifup wlan0 (or wlan1)
We are working with a private local network using static IP addresses!
Add entries to file "/etc/network/interfaces" (on the PC):
auto wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
address 192.168.0.100
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
#pointopoint 192.168.0.1
wireless-mode ad-hoc
and ''"/etc/network/interfaces"'' (on the E-Puck)
auto wlan1
#iface wlan1 inet dhcp
iface wlan1 inet static
address 192.168.0.1
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
#pointopoint 192.168.0.100
wireless-mode ad-hoc
Invoke on both systems either
sudo /etc/init.d/networking restart
or
sudo ifdown wlan0 (or wlan1)
sudo ifup wlan0 (or wlan1)
Setting up network for ACCESS POINT (the PC needs a wireless router attached)
We are working with a private local network using static IP addresses!
Add entries to file "/etc/network/interfaces" (on the PC)
auto wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
address 192.168.0.100
network 192.168.0.0
netmask 255.255.255.0
gateway 192.168.0.200 (address of router!)
broadcast 192.168.0.255
wireless-essid 'name'
#wireless-key 1234567890
wireless-mode managed
and "/etc/network/interfaces" (on the E-Puck)
auto wlan1
#iface wlan1 inet dhcp
iface wlan1 inet static
address 192.168.0.1
network 192.168.0.0
netmask 255.255.255.0
gateway 192.168.0.200 (address of router!)
broadcast 192.168.0.255
wireless-essid 'name'
wireless-mode managed
#there is a line missing adjusting the power, look up on E-Puck
Invoke on both systems either
sudo /etc/init.d/networking restart
or
sudo ifdown wlan0 (or wlan1)
sudo ifup wlan0 (or wlan1)
Labels:
access point,
ad-hoc,
e-puck,
embedded system,
epuck,
network,
robot
Subscribe to:
Posts (Atom)