KoreUSBCam User Manual rev 1.2
16
pairwise=TKIP
proto=WPA
priority=5
}
You can check the following link for other encryptions:
http://hostap.epitest.fi/wpa_supplicant/
b) run the daemon controlling the wireless connection with the following command:
wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -Dwext -B
You can also add the command above to a file
in
/etc/network/if-pre-up.d named wireless:
#!/bin/sh
ifconfig wlan0 up
ifconfig wlan0 YOUR_IP_ADDRESS
route add default gw YOUR_GATEWAY wlan0
wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -Dwext -B
4.2.
Connecting to the Korebot with network over usb cable
a) launch the usb module on the Korebot:
modprobe g_ether
b) connect the computer to the Korebot USB slave port with an USB cable
c) configure the usb port on the Korebot:
ifconfig usb0 10.0.0.2/24
d) on the computer, configure also the usb port (you must be root, or use sudo):
ifconfig usb0 10.0.0.1/24
4.3.
Transferring files using scp (ssh)
1) Establish a network connection between the computer and the korebot (using Wifi see
chapter "Using a Wireless compact flash card", or using Ethernet over usb see chapter
"Connecting to the Korebot with network over usb cable"
2) Execute the following command, where FILE, is the file to transfer, KOREBOT_IP the
Korebot ip address.
scp FILE root@KOREBOT_IP:/home/root