summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/getwifi6
-rwxr-xr-xbin/killwifi4
-rwxr-xr-xbin/startsynergy4
3 files changed, 14 insertions, 0 deletions
diff --git a/bin/getwifi b/bin/getwifi
new file mode 100755
index 0000000..04a7778
--- /dev/null
+++ b/bin/getwifi
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+ifconfig eth0 down
+ifconfig eth1 down
+iwconfig eth1 txpower on
+dhclient eth1
diff --git a/bin/killwifi b/bin/killwifi
new file mode 100755
index 0000000..c10607c
--- /dev/null
+++ b/bin/killwifi
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+ifconfig eth1 down
+iwconfig eth1 txpower off
diff --git a/bin/startsynergy b/bin/startsynergy
new file mode 100755
index 0000000..cb831fd
--- /dev/null
+++ b/bin/startsynergy
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+ssh -L 24800:snark:24800 snark &
+synergyc localhost