User Tools

Site Tools


startup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

startup [2015/04/28 13:03] (current)
zoza created
Line 1: Line 1:
 +====== RKNFG startup.sh ======
  
 +<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 /​path/​to/​your/​folder/​salzamt mon0 &
 +
 +sleep 10
 +cat /​path/​to/​your/​folder/​salzamt-01.csv #check if airodump wrote something to the file
 +
 +echo Starting python
 +# start the python script which reads the dump and controls the motors
 +python /​path/​to/​your/​folder/​reading.py
 +
 +# close airodump
 +airmon-ng stop wlan0
 +airmon-ng stop mon0
 +
 +</​code>​
startup.txt ยท Last modified: 2015/04/28 13:03 by zoza