147 | | * |
| 147 | * Run the nodehandler on the console with our mini test script by: gautam@console.grid:~$ nodehandler -k atheros-1-node |
| 148 | - remember do not give the '.rb' extension, as this is some how appended by the script itself. |
| 149 | * All the status messages can be seen on the screen running the new nodeagent at command line and all the requests made are seen as a part of the INFO statements placed in the code for debugging (sample code running on node9-4): |
| 150 | {{{ |
| 151 | INFO NodeAgent: Located at 9:4 |
| 152 | INFO NodeAgent: RESET |
| 153 | INFO WirelessDevice.unload: |
| 154 | INFO NodeAgent: Located at 9:4 |
| 155 | INFO AtherosDevice: configure net/w0/mode = master |
| 156 | INFO AtherosDevice: activate: ath0 ath_pci false |
| 157 | INFO AtherosDevice: activate: ath0 ath_pci destroy previous instance of ath0 |
| 158 | INFO AtherosDevice: activate: ath0 ath_pci destroy previous instance of ath1 |
| 159 | INFO AtherosDevice: Loaded ath_pci driver |
| 160 | INFO AtherosDevice: getConfigCmd: master |
| 161 | INFO AtherosDevice: configure net/w0/essid = neo |
| 162 | INFO AtherosDevice: configure net/w0/channel = 36 |
| 163 | INFO AtherosDevice: configure net/w0/ip = 192.168.1.1 |
| 164 | INFO AtherosDevice: configure net/w0/mode = master |
| 165 | INFO AtherosDevice: getConfigCmd: master |
| 166 | INFO AtherosDevice: configure net/w1/essid = trinity |
| 167 | INFO AtherosDevice: configure net/w1/ip = 192.168.2.1 |
| 168 | INFO AtherosDevice: New Cell ID: 00:60:B3:AC:2B:52 |
| 169 | INFO AtherosDevice: New Cell ID: 06:60:B3:AC:2B:52 |
| 170 | INFO NodeAgent: RESET |
| 171 | INFO WirelessDevice.unload: |
| 172 | INFO WirelessDevice: Unloaded ath_pci driver |
| 173 | INFO NodeAgent: Located at 9:4 |
| 174 | }}} |
| 175 | * To check if the nodeagent worked properly ssh into the node, and do a iwconfig when the script is done configuring the interfaces. Detailed information with the essid's and mapped ip addresses will be seen on screen. |
| 176 | * The drivers are unloaded at the end of the experiment and this can be checked by doing a iwconfig at the end of the experiment. |
| 177 | |