Haha, fixed some sillyness with the client in c.
[soho-sigint.git] / client-wifi / client-c / interface-setup.sh
diff --git a/client-wifi/client-c/interface-setup.sh b/client-wifi/client-c/interface-setup.sh
new file mode 100755 (executable)
index 0000000..60d18d7
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+#iw phy phy0 interface add mon1 type monitor flags fcsfail
+iw phy phy0 interface add mon0 type monitor
+iw dev wlan0 del
+ifconfig mon0 up
+#iw dev mon0 set freq 2412
+iw dev mon0 set freq 2437
+#iw dev mon0 set freq 2462