Changes between Version 8 and Version 9 of Tutorials/c0WiFi/Tutorial3
- Timestamp:
- May 24, 2016, 9:02:01 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/c0WiFi/Tutorial3
v8 v9 3 3 == Wifi Tutorial: Access point with multiple clients == 4 4 5 This tutorial shows how an experiment script configures an access point (AP) and multiple clients for performance testing with iperf. In this experiment scriptwe'll use an OMF feature to define an application header for iperf and run this application on the AP and access points.5 This tutorial shows how an experiment script configures an access point (AP) and multiple clients for performance testing with iperf. In this experiment script, we'll use an OMF feature to define an application header for iperf and run this application on the AP and access points. 6 6 7 7 === Experiment Script === 8 8 9 The experiment script is shown below. Near the top of the script we define an application header for iperf. After which we define two groups - the first group (AP) consists of a single node to be configured as an access point. The second group (client) can be single or multiple node(s) to be configured as wifi clients. Both groups add the iperf application and configure the wireless interfaces accordingly. At the bottom of the script, the nodes in the all thegroups are brought up and the applications are executed.9 The experiment script is shown below. Near the top of the script we define an application header for iperf. After which we define two groups - the first group (AP) consists of a single node to be configured as an access point. The second group (client) can be a single or multiple node(s) that will be configured as WiFi clients. Both groups add the iperf application and configure the wireless interfaces accordingly. At the bottom of the script, the nodes in all the defined groups are brought up and the applications are executed. 10 10 11 11 {{{ … … 274 274 === Executing the Experiment Script === 275 275 An overview on running experiment scripts on the orbit testbed can be found on the [wiki:Documentation/CGettingStarted Getting Started Page]. 276 In order to run this experiment script, load ''baseline.ndz'' image on nodes with wifi cards. Check the ''Status Page' on the [https://www.orbit-lab.org/cPanel/controlPanel/start Control Panel] to select any particular type of wifi card. 277 {{{ 278 nilanjan@console.grid:~/EXP$ omf load -i baseline.ndz -t node15-1,node16-1,node17-1,node19-1,node20-1 276 277 In order to run this experiment script, load the ''baseline.ndz'' image onto nodes with WiFi cards. Check the ''Status Page' in the [https://www.orbit-lab.org/cPanel/controlPanel/start Control Panel] to find nodes with a WiFi card. 278 {{{ 279 user@console:~$ omf load -i baseline.ndz -t node1-1,node1-2 279 280 }}} 280 281 281 282 After the nodes have finished imaging, turn the nodes on. The topology used here is ''system:topo:imaged'' which selected the prior set of node that were successfully imaged. 282 283 {{{ 283 nilanjan@console.grid:~/EXP$ omf tell -a on -t system:topo:imaged284 user@console:~$ omf tell -a on -t system:topo:imaged 284 285 }}} 285 286 286 287 To run this experiment with 2 clients nodes: 287 288 {{{ 288 nilanjan@console.grid:~/EXP$ omf exec test:exp:tutorial:wifi-ap-iperf.rb -- --accesspoint node15-1 --client node16-1,node17-1 --duration 60289 user@console:~$ omf exec test:exp:tutorial:wifi-ap-iperf.rb -- --accesspoint node15-1 --client node16-1,node17-1 --duration 60 289 290 }}} 290 291