Talk:Wrt54g kismet with linux server

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:20, 4 August 2005 (edit)
Tin-man (Talk | contribs)
(Install drone - Method 4)
← Previous diff
Revision as of 22:25, 4 August 2005 (edit) (undo)
Tin-man (Talk | contribs)
(Install drone - Method 4)
Next diff →
Line 74: Line 74:
telnet <ip address of wrt> telnet <ip address of wrt>
cd /tmp cd /tmp
- wget http://<ip addr>/wrt-autoload+ wget http://172.16.42.88/wrt/wrt-autoload
chmod +x wrt-autoload chmod +x wrt-autoload
- ./autoload+ ./wrt-autoload
Then answer the questions (assuming that I get as far as building an interactive script to do the configuring). Then answer the questions (assuming that I get as far as building an interactive script to do the configuring).

Revision as of 22:25, 4 August 2005

From the aticle --- Note: I have found that when using these versions, the wrt reboots occasionally (presumably after a crash). I am not sure if this is due to a problem with the seavsoft firmware, or a problem with the drone -- this needs to be tested.

sveasoft firmware?! haven't you used dd-wrt?

--nope, I havent yet got round to trying it with the dd-wrt.

Yes, I do realise that this is supposed to be a dd-wrt wiki. The only reason that I put this article on here is that I used some of the info I found here on how to set up kismet with windows to figure out how to do it with linux. It was also a wiki, so I thaught I would document how I did it. I will test it oul later on the other wrt that I have got which is running the dd-wrt firmware. ;)

-- TODO: write a short script that can be stored somewhere on the web (on this sites wiki???) that does all of the loading of the files to the wrt and configuring them automatically.

I have tried to upload the script using the wiki's 'upload' page, but it wont let me upload a script (or any other kind of non-immage file). Anyone got any ideas where I could upload it so that someone could directly download the file onto the wrt (usng wget) instead of novice users having to learn the (very unfreindly to new users) vi editor. If I can find somewhere to put it, I would develop the script to make it more user friendly...

Script (early version)...

Ugh, the wiki formatting messes this up


  1. ! /bin/sh
  2. COPYRIGHT : Distributed unde the GPL (version > 2)
  3. Short script to automatically load all of the bits to make kismet
  4. work on a wrt54g and to do some configuring.
  5. Maybee also have an option to run the channel hopper script too??
  1. Copied straght from the wiki!!!

cd /tmp wget http://www.kismetwireless.net/code/kismet-2005-06-R1a-wrt54.tar.gz tar -zxf kismet-2005-06-R1a-wrt54.tar.gz mv kismet-2005-06-R1a-wrt54/kismet_drone /tmp/kismet_drone mv kismet-2005-06-R1a-wrt54/conf/kismet_drone.conf /tmp/etc/kismet_drone.conf rm kismet-2005-06-R1a-wrt54.tar.gz rm -rf kismet-2005-06-R1a-wrt54 chmod +x /tmp/kismet_drone

  1. Edit /tmp/etc/kismet_drone.conf and change allowedhosts= line .
  2. Can we prompt the user for this??? - ugh scripting in ash.
  1. and change to source=wrt54g,prism0,Kismet-Drone
  1. Then set up for passive mode etc...

wl ap 0 #switch off access point mode wl passive 1

  1. wl channel
  1. Then we are ready to run the drone
  2. /tmp/kismet_drone
  1. But, maybee we shoud also be running the hopper....?

exit 0

  1. --------------------cut here-------------------
  1. The hopper....
  2. !/bin/sh

X=1 while [ $X -eq 1 ] ; do

       sleep 1
       wl scan > /dev/null 2>&1 &

done


--Tin-man 22:20, 4 Aug 2005 (CEST)

Install drone - Method 4

Work in progress

Power up the wrt54g.

Telnet into the wrt

telnet <ip address of wrt>
cd /tmp
wget http://172.16.42.88/wrt/wrt-autoload
chmod +x wrt-autoload
./wrt-autoload

Then answer the questions (assuming that I get as far as building an interactive script to do the configuring).