]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - ugw/ppc/S50ugw
Add a simple user space gateway for measuring routing latencies
[can-benchmark.git] / ugw / ppc / S50ugw
diff --git a/ugw/ppc/S50ugw b/ugw/ppc/S50ugw
new file mode 100644 (file)
index 0000000..75d5fdf
--- /dev/null
@@ -0,0 +1,10 @@
+echo Setting up CAN interfaces
+
+ip link set can0 type can bitrate 1000000
+ip link set up dev can0
+ip link set can1 type can bitrate 1000000
+ip link set up dev can1
+
+echo Starting UGW
+
+ugw