Hi all
First let me express my gratefulness for the work the people at SCIONlab have done over the past few months to bring the VM's and native installation to the level we see now. I just want to share my experiences to improve the system further. Please note that my adventures might not apply to a lot of people, but who knows what folks operate in their environment out there.
So - to prepare for SCION Retreat 2018 I wanted to set up a SCION connection from my laptop. I created an AS without VPN and no VM. Installing SCION with the install script worked fine, but I couldn't run the network. During the compiling phase at "./scion.sh run" I received weird errors which I couldn't interpret at first glance. I tried to circumvent most of them by commenting out the statements (mostly fprintf's with no impact on functionality), but failed as well - until I realized that I was on a 32 Bit installation... :-(
Cause #1, 32 Bit platform. Remediation: check platform in scion_install_script.sh (e.g. with uname -m) before actually installing anything
I then moved to another low-end laptop and tried to set it up there (making sure it was a 64 Bit installation). Still native installation, no VM, no VPN. Unfortunately I am already on Ubuntu 18.04, so the installer (rightfully) complains. I tried to sneak around by changing the installer, but it then failed on pip3 dependencies (exact hash required).
Cause #2, wrong OS version. Remediation: port to newer Ubuntu LTS version (probably not something done in 5 mins, if I find time I will try to help out there)
So - finally I decided to go with a VM. I therefore created a new AS with a VM, but no VPN. Installation again worked fine, up to the point when I tried "vagrant up". It then failed because my prehistoric processor didn't support virtulaization... :-(
Cause #3, processor doesn't support VT-x. Remediation: check processor flags in scion_install_script.sh (e.g. with egrep ‘(vmx|svm)’ /proc/cpuinfo) before actually installing anything
Eventually I installed SCION on a virtual machine I found somewhere else and created a third AS with VM and VPN - works beautifully! :-)
Regards
Fritz