Configuring the ORBIT node as an AP with bridging enabled
1. Image orbit nodes using baseline.ndz, current kernel version is 2.6.12
console> imageNodes [1,2] baseline.ndz
2. Power on that node, update its apt repository list and install bridge-utils
console>wget 'http://cmc:5012/cmc/on?x=1&y=2'
console>ssh root@node1-2
node1-2>apt-get update
node1-2>apt-get install bridge-utils
3. To enable bridging, we need a host kernel with two extra options which are not supported by current baseline.ndz, so we need to recompile the kernel
node1-2>cd /usr/src/linux-2.6.12
node1-2>make menuconfig
enable:
Device Drivers --> Networking Support --> Universal TUN/TAP device driver support
Device Drivers --> Networking Support --> Network Options-->802.1d Ethernet Bridging
save changes and exit
node1-2>make
4. then we need to copy the new kernel to booting directory
node1-2>cd /boot
node1-2>cp /usr/src/linux-2.6.12/arch/i386/boot/bzImage .
node1-2>rm vmlinuz
node1-2>ln -s bzImage vmlinuz
5. reboot the node to load the new kernel
node1-2>reboot
6. ssh to the node, remove old wireless driver modules
console>ssh root@node1-2
node1-2>rmmod ath_pci
node1-2>rmmod ath_rate_sample
node1-2>rmmod ath_hal
node1-2>rmmod wlan
7. recompile madwifi driver and load driver modules
In order to use an image that already contains these changes please use imageNodes [1,1] baseline-bridge.ndz
