Introduction on FIRE testbeds and Fed4FIRE: introduction_fed4fire.pptx
The accompanying slides can be downloaded here: gettingstarted_part1.pptx
http://nepi.inria.fr/Nepi/LinuxNodeExperiments#File_transfer_using_netcat
Each attendee will use 2 PlanetLab nodes during the tutorial which can be provisioned at the beginning using jFed. The node hostnames for each attendee will be pre-assigned from a list.
In this tutorial, we will show you how to set up one wireless access point and connect with 1 client. The access point will start an iPerf server instance, after which we will run an iPerf client instance on the second node. By using the correct IP addresses, we make sure that the iPerf traffic stream is routed over the wireless interfaces.
In this tutorial, we will use a mobile node for setting up the access point. The client will be configured on a fixed wireless node.
The following steps should guide you through the entire process.
Name them: ap, client and backup. See the table on the slides to see which nodes you can use.
Before running the experiment, we will use the shell script option in the RSpec to install hostapd. We will also configure the OMF6 RC so it can be used in the labwiki tutorial. If you are doing this tutorial afterwards, you can skip this step. Go to the Raw RSpec view and add the following in the node part of the ap (first line is already there):
<sliver_type name="raw-pc"/>
<services>
<execute shell="sh" command="sudo apt-get update ; sudo apt-get install hostapd ; "/>
<execute shell="sh" command="cd /local ; sudo wget http://fed4fire-testbeds.test.iminds.be/OMF/fgre_wilab.sh"/>
<execute shell="sh" command="sudo chmod 755 /local/fgre_wilab.sh"/>
<execute shell="sh" command="sudo /local/fgre_wilab.sh"/>
</services>
Note: it should be valid XML, so if you want to use &&, then escape it. See http://fed4fire-testbeds.ilabt.iminds.be/ilabt-documentation/urnsrspecs.html#install-software-when-provisioning-and-run-a-script-after-provisioning for more examples.
SSH to your mobile node (from jFed). Become root:
sudo su
Create a config file for the hostapd program:
nano /root/hostapd.conf
Add the following content to the config file (X=group number, Y=channel, Z=mode lines should be left aligned):
interface=wlan0
driver=nl80211
country_code=BE
ssid=demoX
hw_mode=Z
channel=Y
hostapd /root/hostapd.conf
Open a second ssh terminal and give an IP address to the wlan0 interface so we can test the connection to the clients (in the next steps):
ifconfig wlan0 192.168.X.1/24
Become root:
sudo su
Put the wireless interface into managed mode and specify the SSID so it knows to which AP it should connect
iwconfig wlan0 mode managed
iwconfig wlan0 essid demoX
Specify an IP address and bring up the interface:
ifconfig wlan0 192.168.X.10/24 up
Check if you can ping the AP:
ping 192.168.X.1
Start an iPerf server instance (UDP in this case) on the mobile node (AP):
iperf -s -u -i 1 &
Configure the iPerf client:
iperf -u -c 192.168.X.1 -b 40M -i 1 -t 6000
By tweaking the transmit power (values of 0 to 20dBm) of the access point, you should be able to see a difference in throughput of the iPerf stream:
iwconfig wlan0 txpower <0-20>
For this tutorial, leave the txpower to 20 for the first experiment runs. If the effect of moving the mobile node is too limited, you can try lowering the txpower.
Note that each antenna at the w-iLab.t is equipped with a 10dB attenuator (so 20dB attenuation per link).
See http://nitlab.inf.uth.gr/NITlab/index.php/testbed/fgre-tutorials. (credentials will be passed during the tutorial)
The accompanying slides can be downloaded here: TutorialPart2_virtualwall.pptx
See here: http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowOVS
The main set of slides for the tutorial: http://univbrisofeliaf4f.blogs.ilrt.org/files/2014/07/Fed4FIRE_FGRE-2014_7_9-Ghent.pdf
The RSpecs for the tutorial: http://univbrisofeliaf4f.blogs.ilrt.org/files/2014/07/rspecs.zip
Youtube video of Optical OpenFlow demo: https://www.youtube.com/watch?v=CtZguEvxwzA