Version 5 (modified by 11 years ago) (diff) | ,
---|
Set up and preparation for ECE375 Experiment
Account
- Go to https://panther.gpolab.bbn.com/ press the “Use GENI” button and log in with your UMass OIT credentials.
- Click “Join a Project” and select “UMASS-ECE374”.
- I will then invite get a notification and invite you to join the project.
VirtualBox:
To carry out the assignment from your own computer you need to install VirtualBox and a specific image:
- Download VirtualBox from: https://www.virtualbox.org/
- Install the following VM image: http://www.planet-lab.org/GEC16/GEC16-Tutorials-Final.ova
- The account for the VM is “geni” and the account’s PW is “gec16user”.
Credentials:
- Open browser in VM and goto: https://panther.gpolab.bbn.com/
- Log in using your UMass OIT credentials.
- When you are logged in, select “Profiles” from the top, right menu.
- Next, click on “Generate SSH keypair” and enter your passphrase. Make sure
you remember that passphrase.
- On the next page click on “Download Private Key” and save key to ~/.ssh locally.
- In the browser, still on the same page under “My Stuff, Configure Omni” click on the link “create an SSL certificate”.
- Download the certificate to ~/.ssl locally.
- Make sure the files that hold your secret keys are adequately protected. To
make sure that’s the case you can execute the following commands:
chmod 0600 .ssh/id_geni_ssh_rsa chmod 0600 .ssl/geni-mzink.pem
(remember that your .pem file is named differently)
- Generate a you public ssh key by executing the following command:
ssh-keygen -y -f .ssh/id_geni_ssh_rsa > .ssh/id_geni_ssh_rsa.pub
- Open a terminal and execute the following command:
curl http://emmy9.casa.umass.edu/create_jks.py -o create_jks.py
- Change it’s access rights by executing: chmod a+x create_jks.py
- Execute command:
python create_jks.py -c ~/.ssl/geni-mzink.pem -s ~/.ssl/mzink.jks -k ~/.ssl/geni-mzink.pem
Note:~/.ssl/geni-mzink.pem
should be replace by the path to your pem file and~/.ssl/geni-mzink.pem
should be replaced by the name under which you would like to store your jks file. - Edit the 3 last lines in the .flukes.properties file:
user.keystore=/home/geni/.ssl/mzink.jks ssh.key=/home/geni/.ssh/id_geni_ssh_rsa ssh.pubkey=/home/geni/.ssh/id_geni_ssh_rsa.pub
by typing
nano .flukes.properties
Note: Make sure the paths to your jave keystore and the files hold cert and private key are co rrect!
Now execute the following command do download the topology description for our virtual network:
curl http://emmy9.casa.umass.edu/gec14.rdf -o gec14.rdf