Wing for x86 desktop machines

This page describes how to build and run Wing on a generic x86 machine (e.g. your laptop). You will need a set a PCs each of them equipped with a WiFi card based on the Atheros chipset (you can find a list of supported devices here.

Setting up the development environment

Fetch the Click sources from the repository into a local directory called click inside your home directory (~):

git clone git://read.cs.ucla.edu/git/click click

Check out the latest version of the wing packages for click from the Wing Subversion repository with the following command:

svn co http://gforge.create-net.org/svn/click-packages/trunk click-packages

create a symbolic link to the xr package inside the click/elements directory

ln -s ~/click-packages/xr ~/click/elements/xr

Building the sources

Switch to the Click directory and run the configure script:

cd click
./configure --enable-wifi --enable-xr --disable-linuxmodule --enable-userlevel

Finally run make:

make

Running Wing

Run the Wing configuration script (as root):

sudo su
./elements/xr/conf/gen_config_wing_monitor_madwifi.sh -p ./elements/xr/conf/sr2.bulk.click | ./userlevel/click 

At this point running /sbin/ifconfig (on another terminal) should show a new tap interfaces called srcr2, which is configured as 6.X.X.X and uses multi-hop routing.

 
software/notebook.txt · Last modified: 2010/01/28 10:50 by roberto.riggio
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki