User guide
The R2lab tutorials - let's get you started
Infrastructure¶
- Sign up for an R2lab account
- all information about how to register and schedule a node.
- Shell tools available in the R2lab gateway
- discover how to do basic control of the nodes by logging in at the
faraday.inria.frgateway from a regularsshsession: how to check for the nodes status, leases, images, and even phones. - About graphic sessions
- running X11 and VNC sessions on the gateway and on the nodes.
Examples of experimentation scripts with nepi-ng¶
- nepi-ng: install
how to install
nepi-ngon your laptop.- nepi-ng: the basics - a.k.a. the A series
a couple of examples to get started with the
nepi-ngnetwork tool:A1: simplest way to run a simple ping from
faraday.inria.frtogoogle.fr;A2: same functions, but can pass a slice name on the command line;
A3: run the ping from a node instead of from the gateway;
A4: check for a valid reservation;
A5: run ping between two nodes inside the chamber, on the wired network.
- nepi-ng: wireless - a.k.a. the B series
a few more pings to see how one can initialize and configure wireless links:
B1: like A5, but on a wireless ad hoc network;
B2: same scenario, simplified by using
r2lab-id;B3: same scenario, but extract all the shell code in a single external file;
B4: add an infinite loop that prints out TICK every second;
B5: same but using a
Watchinstance for showing elapsed time instead.
- nepi-ng: file exchange - a.k.a. the C series
a full loop doing file transfers, using SFTP to and from the nodes, and an example of file transfer between two nodes:
C1: a random file is produced locally, and pushed on one node;
C2: then transferred to a second node using netcat over the wired network;
C3: and retrieved back on the local laptop where it is compared with the original;
C3bis: a variant on C2, that deals with a service that is started and stopped in sync with another job.
- nepi-ng: preparation - a.k.a. the D series
examples that deal with preparing the testbed from a
nepi-ngscript:D1: adding a command-line option to load images;
D2: turning off unused nodes while loading images;
D3: passing chosen nodes on the command line;
D4: using a nested scheduler, for more modular scripts.
- nepi-ng: troubleshooting guidelines
how to check for common mistakes, how to check your software environment, how to enable more verbosity.
- nepi-ng: real scale examples
dealing with any number of nodes, run pings between all couples of nodes.
Other stuff¶
- R2lab and OpenAirInterface
- some indications on the features present on R2lab to deploy experiments based on OpenAirInterface.
- Video tutorials on YouTube
- an end-to-end wireless experiment, and an OAI 5G experiment (setting up an OpenAirInterface-based 5G infrastructure, and a tour in the chamber using Skype on a commercial android phone).
Contacts¶
If you have any issue with these tutorials, or with using R2lab more
generally, please contact us at
fit
You can subscribe to the fit-r2lab-users discussion list by sending an email
to sympa@inria.fr with subscribe fit-r2lab-users in the body of the
message; or simply click this link.
Chat room¶
We use the #r2lab channel on freenode; also once you are logged into the
website, in the RUN page, you will find on top
of the page a button that will let you join this chat room in a single click.