summaryrefslogtreecommitdiffstats
path: root/bin/getwifi
diff options
context:
space:
mode:
Diffstat (limited to 'bin/getwifi')
-rwxr-xr-xbin/getwifi6
1 files changed, 6 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