summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorbnewbold <bnewbold@eta.mit.edu>2009-05-05 12:45:40 -0400
committerbnewbold <bnewbold@eta.mit.edu>2009-05-05 12:45:40 -0400
commit552ac7bf375fdcc00ec01e6025ede46aee94b5be (patch)
treec41fd97f439f8263cf0ea9e3cff09dfaefd1b134 /bin
parent97b1676fd7ba690e9bbc819920c7b3b5e5bfa5e5 (diff)
downloadopenwrt-repro-552ac7bf375fdcc00ec01e6025ede46aee94b5be.tar.gz
openwrt-repro-552ac7bf375fdcc00ec01e6025ede46aee94b5be.zip
new layout
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