Run a raspberry pi emulation environment on ieng6 servers

$ ssh -Y cs30fxx@ieng6-240.ucsd.edu

[cs30fxx@ieng6-240]:~:1$ mkdir images
[cs30fxx@ieng6-240]:~:2$ cp ../public/images/* ./images/

Note: The images are failry large. So, it will take a while for the copy to complete. Be patient. If you get a disk quota error, let us know and we will increase your disk space.


[cs30fxx@ieng6-240]:~:1$ cp ../public/run_qemu ./
[cs30fxx@ieng6-240]:~:1$ cp ../public/bin/find_open_port ./

[cs30fxx@ieng6-240]:test_qemu:118$ ./find_open_port 
30223

Note: Take note of the number that the script outputs. You will use it when running the next script


[cs30fxx@ieng6-240]:~:1$ ./run_qemu PORT_NUMBER

In the above example PORT_NUMBER is 30223

Note: Unlike docker, it will take a few minutes for Raspian to boot up. After it boots up you should get a prompt to login. Login with username pi and password raspberry

ssh pi@localhost -p PORT_NUMBER

Replace PORT_NUMBER with the port number that the find_port script gave you earlier