Commit 73f8153b authored by Leigh B. Stoller's avatar Leigh B. Stoller

Change the OSID from from -LBS to -WIRELESS.

Add a section on using link_config and the XMLRPC interface to change
links on the fly.
parent da907247
...@@ -46,10 +46,10 @@ in the following small example: ...@@ -46,10 +46,10 @@ in the following small example:
tb-set-node-lan-setting $lan0 $nodew1 "txpower" "auto" tb-set-node-lan-setting $lan0 $nodew1 "txpower" "auto"
# You must use Redhat 9.0 on wireless capable nodes. # You must use Redhat 9.0 on wireless capable nodes.
tb-set-node-os $nodew1 RHL90-LBS tb-set-node-os $nodew1 RHL90-WIRELESS
tb-set-node-os $nodew2 RHL90-LBS tb-set-node-os $nodew2 RHL90-WIRELESS
tb-set-node-os $nodew3 RHL90-LBS tb-set-node-os $nodew3 RHL90-WIRELESS
tb-set-node-os $nodew4 RHL90-LBS tb-set-node-os $nodew4 RHL90-WIRELESS
tb-set-node-os $node3 FBSD-STD tb-set-node-os $node3 FBSD-STD
# Turn on static routing. # Turn on static routing.
...@@ -94,7 +94,7 @@ A few points should be noted: ...@@ -94,7 +94,7 @@ A few points should be noted:
<li> You must use Redhat 9.0 to take advantage of wireless interfaces. Be <li> You must use Redhat 9.0 to take advantage of wireless interfaces. Be
sure to set the OSID for all of your wireless nodes to sure to set the OSID for all of your wireless nodes to
<tt>RHL9-NONSTD</tt>. <tt>RHL90-WIRELESS</tt>.
</ul> </ul>
Numerous interface settings are possible using <tt>tb-set-lan-setting</tt> Numerous interface settings are possible using <tt>tb-set-lan-setting</tt>
...@@ -134,3 +134,22 @@ can currently specify: ...@@ -134,3 +134,22 @@ can currently specify:
support this option. support this option.
</ul> </ul>
After your experiment is swapped in, the above settings (including the
accesspoint) can be changed on the fly, using either the
<tt>link_config</tt> script on <tt>users.emulab.net</tt>, or with the
XMLRPC interface. For example, if you want to change the accesspoint
of a lan, first determine the MAC address (dotted or undotted notation
is fine) of the interface you want to be the accesspoint, and then use
link_config:
<code><pre>
link_config myproj myexp lan0 accesspoint=00:09:5B:94:26:AF
</code></pre>
Or you can use the <a href=../xmlrpcapi.php3>XMLRPC interface</a> from
your desktop or from <tt>users</tt>.
<code><pre>
sshxmlrpc_client.py link_config proj=myproj exp=myexp
link=lan0 "params={'accesspoint': '00:09:5B:94:26:AF'}"
</code></pre>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment