This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
startup-sh [2012/09/23 12:33] 85.218.109.130 |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <code bash> | ||
- | #!/bin/sh | ||
- | echo I am running | ||
- | /etc/init.d/networking stop | ||
- | killall wicd | ||
- | |||
- | # start airodump, write to a file | ||
- | echo starting airmon-ng | ||
- | airmon-ng start wlan0 | ||
- | echo scanning the rkngf network | ||
- | xterm -e airodump-ng --bssid 14:D6:4D:B6:97:3C -w /home/selena/rknfg/salzamt mon0 & | ||
- | |||
- | sleep 10 | ||
- | cat /home/selena/rknfg/salzamt-01.csv | ||
- | |||
- | echo Starting python | ||
- | # start the python script which reads the dump and controls the motors | ||
- | python /home/selena/rknfg/reading.py | ||
- | |||
- | # close airodump | ||
- | airmon-ng stop wlan0 | ||
- | airmon-ng stop mon0 | ||
- | |||
- | </code> |