Procedures for doing an experiment:
Step 1: Check the available time window on the Calendar page and make reservations with the administrator via email 24h in advance.
Email address: email@example.com
Step 2: When the experiment time is granted, the administrator will provide login information for the “sconsole” on the master node (Default: 12345) and “pi” on each node (Default: password). The “sconsole” is the account on Node 1 for accessing the master RF modem from Internet.
After logged in “sconsole”, some cellular modem configure information will show up. Now the user can use the “Switch to Node x” buttons to choose the node to connect to.
Sometimes the RF modems may need extra time to wake up from sleeping mode. The node switching procedures may be interrupted by the waking up process. The user can either press Enter before click on the “Switch to Node x” buttons or just click the buttons again after failed switch.
Step 3: The “pi” is the account on Raspberry Pi board on each node. The default login password is: password After logged in on a node, the user can run all commands that are supported by the operating system of Raspberry Pi.
Example Experiment: Link Test
There is an example bash script for link test in ~/linktest named run_chinfo.sh. It will transmit acoustic packet in different length and power level according to the configuration. To run this script, the repeat time of each configurations will be required as the argument. User can use this script to get a rough idea about the average delay and packet loss ratio of an underwater channel.
There are 3 parameters can be configured by the user: transmit power level, packet length, and modulation mode. The corresponding lines in run_chinfo.sh are as following:
# (0--50) MPWR:max power; LPWR:lowest power; PPWR:power step
# (1-16) MBKN:max block #; LBKN: lowest block #; PBKN: # step
# (1-5) MMOD:max transmit mode #; LMOD: lowest mode #; PMOD: mode # step
The example configuration will do the experiment for:
Transmit power levels at -20dB, -23dB, -26dB, -29dB, -32dB;
Packet length as 1 data block, 8 data blocks and 15 data blocks;
Using modulation modes 2 and 3.
There will be 5x3x2=30 different configurations. The number of packet transmit with each configuration will be taken as the argument of script as
Example Experiment: UWN Protocol Test with SeaLinx
There are 4 test script examples for testing performance of different protocols in the folder ~/sealinxNode0x, namely run-dummy.sh, run-sfama.sh, run-fastaloha.sh, and run-uwaloha.sh. These examples shows how to configure MAC layer, network layer and transport layer protocols for SeaLinx. Need to run stack-stop.sh to stop the experiment.