Configuration for ad-hoc mode K-Team SA jtharin v1.0 20090218 first release v1.1 20100218 corrected for Wifi G cards v1.2 20100616 added Ubuntu specific commands variables you have to know/set: ESSID: is your wireless network identification name GATEWAY: is the gateway of your network IP_C: your computer IP for your wireless Ad-hoc ETH1: your computer wireless port name: you can check the name with iwconfig command IP_K: is the IP for your Korebot, Khepera, must be in the same last group of IP number (i.e X.X.X.Y, where Y is the last group) of computer IP_C NETMASK: is the netmask of your network: must be the same between Computer and Korebot WEP_KEY: is the wep key of your wireless network; if not encrypted, you can skip the line on computer: Ensure that network manager has been stopped and then bring the interface down (for Ubuntu): sudo /etc/dbus-1/event.d/25NetworkManager stop sudo ifconfig eth1 down commands to configure network: sudo iwconfig ETH1 essid ESSID sudo iwconfig ETH1 mode Ad-Hoc sudo iwconfig ETH1 key s:WEP_KEY sudo iwconfig ETH1 channel 3 sudo ifconfig eth1 up then check your computer IP adress for this wireless ad-hoc network: ifconfig ETH1 on robot: - for Wifi B wireless cards : (Ambicom WL1100C-CF) The card port name is :wlan0 commands to configure network: iwconfig wlan0 essid ESSID iwconfig wlan0 mode Ad-Hoc iwconfig wlan0 key s:WEP_KEY ifconfig wlan0 IP netmask NETMASK route add default gw GATEWAY wlan0 - for Wifi G wireless cards : (Ambicom WL5400G-CF) The card port name is : eth0 commands to configure network: iwconfig eth0 essid ESSID iwconfig eth0 mode Ad-Hoc iwconfig eth0 key s:WEP_KEY ifconfig eth0 IP_K netmask NETMASK route add default gw GATEWAY eth0