aboutsummaryrefslogtreecommitdiff
path: root/rumba/prototypes
diff options
context:
space:
mode:
Diffstat (limited to 'rumba/prototypes')
-rwxr-xr-xrumba/prototypes/enroll.py2
-rw-r--r--rumba/prototypes/irati.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/rumba/prototypes/enroll.py b/rumba/prototypes/enroll.py
index 774ba52..35cc136 100755
--- a/rumba/prototypes/enroll.py
+++ b/rumba/prototypes/enroll.py
@@ -28,6 +28,7 @@ import argparse
import socket
import time
import re
+import sys
def printalo(byt):
print(repr(byt).replace('\\n', '\n'))
@@ -133,5 +134,6 @@ if connected:
else:
print('Failed to connect to "%s"' % socket_name)
+ sys.exit(-1)
s.close()
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py
index f104054..48b013a 100644
--- a/rumba/prototypes/irati.py
+++ b/rumba/prototypes/irati.py
@@ -79,7 +79,7 @@ class Experiment(mod.Experiment):
"export https_proxy=\"https://proxy.atlantis.ugent.be:8080\"; "
+ self.sudo("apt-get install g++ gcc "
"protobuf-compiler libprotobuf-dev git --yes "
- "pkg-config "
+ "pkg-config ethtool socat "
"libnl-3-dev libnl-genl-3-dev"),
self.sudo("rm -rf ~/irati"),
"cd ~; "