This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
rknfg [2015/04/28 12:42] zoza [hadrware] |
rknfg [2015/04/28 13:01] zoza [HOWTO] |
||
---|---|---|---|
Line 11: | Line 11: | ||
===== technical details ===== | ===== technical details ===== | ||
- | cubicle (wood base + stretchable fabric sides) + arduino + laptop running airodump-ng under an old Debian distribution | + | cubicle (wood base + stretchable fabric sides) + linear actuators + arduino + laptop running airodump-ng on Debian |
==== hadrware ==== | ==== hadrware ==== | ||
Line 22: | Line 22: | ||
- two Firgelli linear servo actuators, http://nodna.de/linear-actuator_11 | - two Firgelli linear servo actuators, http://nodna.de/linear-actuator_11 | ||
+ | |||
+ | {{http://www.phidgets.com/images/3541_0_Web.jpg?nolink&200|}} | ||
* controls: | * controls: | ||
Line 28: | Line 30: | ||
==== software ==== | ==== software ==== | ||
- | * aircrack-ng, scanning network traffic (looks up the traffic on a specific BSSID, writes a dump to a .csv file) | + | * [[http://www.aircrack-ng.org/|aircrack-ng]], scanning network traffic (looks up the traffic on a specific BSSID, writes a dump to a .csv file) |
* [[extended-python-arduino-api|extended-python-arduino API]] firmware for the Arduino, with the associated arduino library | * [[extended-python-arduino-api|extended-python-arduino API]] firmware for the Arduino, with the associated arduino library | ||
* python script [[motors-scanner-test-1|motor-scanner.py]]: reads the .csv file, calcutlates the next position of the linear actuators based on the difference in the number of packets since the last calculation | * python script [[motors-scanner-test-1|motor-scanner.py]]: reads the .csv file, calcutlates the next position of the linear actuators based on the difference in the number of packets since the last calculation | ||
* more details: [[salzamt|RKNFG development]] | * more details: [[salzamt|RKNFG development]] | ||
+ | |||
+ | ===== HOWTO ===== | ||
+ | |||
+ | * use this [[startup]] script | ||
+ | or | ||
+ | * start aircrack scan | ||
+ | <code bash>/etc/init.d/networking stop # stop network manager | ||
+ | killall wicd # if using wicd network manager for debian | ||
+ | airmon-ng start wlan0 # start airmonitor on your wireless card; to check the name of the card run $ sudo ifconfig | ||
+ | airodump-ng mon0 # see available networks, find bssid of the network you want to scan | ||
+ | airodump-ng --bssid xx:xx:xx:xx:xx:xx -w /path/to/your/folder mon0 # dumps the scan to a file in /path/to/your/folder/ | ||
+ | </code> | ||
+ | * in a separate terminal, run the python script | ||
+ | <code sh>python /path/to/your/folder/reading.py</code> | ||
+ | * when finished, stop airmon-ng | ||
+ | <code sh>airmon-ng stop wlan0 | ||
+ | airmon-ng stop mon0 | ||
+ | </code> | ||
+ | |||