Jump to content

barry99705

Dedicated Members
  • Posts

    3,109
  • Joined

  • Last visited

  • Days Won

    104

Everything posted by barry99705

  1. I see what you're saying now. Turn your index.php into a roll. That way you don't accidentally kill it. It's not too difficult to figure out how they are set up. I did it, so it can't be that hard!
  2. That's what should be happening I believe. It copies the random roll index.php to where the web server can read them. When you stop it, the old one is copied back. Sometimes mobile devices ignore the pineapple's dns settings if they've been to a site lately. Reboot the device and try after that. Also try starting up random roll before they connect.
  3. According to the reviews it uses RT2870 drivers. So it should work, unless they changed chipsets since that review....
  4. Okay, I've given up on autostarting kismet, so now I'm trying to make an infusion. I know dick about writing php, so I'm copying the crap out of other infusions that have the commands I need. Basically I've copied Darren's ads-b tracker settings for the small_tile.php, handler.php, functions.php and the includes directory. I've modified everything(I think) to work with kismet instead of dump1090. I've removed settings that don't pertain, or just don't need to be there. After tracking down an extra bracket, I've gotten the small tile to actually show the start, stop buttons, and current status of kismet. Now the problem is I can't get the start button to actually start kismet server..... It will stop it, and even show it's running if I ssh in and start it manually. I think I'm almost there, but not sure what's wrong. Here's the configs if anyone wants to chime in. small_tile.php <?php include_once('/pineapple/includes/api/tile_functions.php'); ?> <?php include_once("{$directory}/functions.php"); ?> <div style='text-align: right'><a href='#' class="refresh" onclick='refresh_network()'> </a></div> <?php $kismet_server_running = exec("pidof kismet_server"); if($kismet_server_running == "") { echo "kismet_server <font color='red'>disabled</font>"; } else { echo "kismet_server <font color='lime'>enabled</font>"; } ?> <br/><br/> <form method="POST" action="/components/infusions/kismet/functions.php?action=startkismet_server" id="startkismet_server" onSubmit="$(this).AJAXifyForm(notify); return false;"> <input type='submit' name='submit' value='Start kismet_server'> </form> <form method="POST" action="/components/infusions/kismet/functions.php?action=stopkismet_server" id="stopkismet_server" onSubmit="$(this).AJAXifyForm(notify); return false;"> <input type='submit' name='submit' value='Stop kismet_server'> </form> functions.php <?php if(isset($_GET['action'])){ if($_GET['action'] == "startkismet_server"){ echo start_kismet_server(); } if($_GET['action'] == "stopkismet_server"){ echo stop_kismet_server(); } } function start_kismet_server(){ //print_r($_POST); $startcommand = "kismet_server --daemonize"; exec("echo ".$startcommand." | at now"); return "<font color='lime'>kismet_server Started</font>"; } function stop_kismet_server(){ exec("killall kismet_server"); return "<font color='lime'>kismet_server Stopped.</font>"; } ?>
  5. Yea, It was only on for the picture. The supplied antenna is actually a much better antenna.
  6. It's a binary. It's executable. I can get a linksys wrt54gl to run it as an init.d object no problem. The pineapple just won't run it. I'm going to try removing the karma init.d objects and see if that works. Well that didn't help either. Freaking weird. I even tried making an init script to automagically start it at boot. Nada. I can now call /etc/init.d/kismet_server start and it starts just fine. I can just do a kismet_server and it starts just fine. For some reason it won't start during boot though. Not sure why.
  7. Most of it doesn't work anymore. At least not on any of the phones I have now.
  8. I thought about taking the old telco access box on my last house when I moved. There was an extra one on the side that was no longer used. When they came to hook up the phone when we moved in they ran a new wire and put the new box on the back of the house. A couple of v clamps like rock climbing cams on the back and you could just stick it to a brick wall!
  9. sbin:/usr/sbin:/bin:/usr/bin
  10. Added the path before, /usr/bin/kismet_server.
  11. Nope, didn't help. Like I said, I can do a ./startkismet.sh and it works. I've also tried just putting kismet_server as a boot mode. Wonder if it needs the path? Nope, that doesn't work either.
  12. I can execute the script no problem, it's just not running at boot. root@Pineapple:~# mount rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro,relatime) proc on /proc type proc (rw,noatime) sysfs on /sys type sysfs (rw,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=30904k) tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,noatime,mode=600) /dev/mtdblock3 on /overlay type jffs2 (rw,noatime) overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay) debugfs on /sys/kernel/debug type debugfs (rw,relatime) /dev/sdcard/sd1 on /sd type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered) none on /proc/bus/usb type usbfs (rw,relatime)
  13. I used a drafting circle template to find the correct radius for the corners on mine.
  14. Maybe someone smarter than me can help me out. I've got a bash script called startkismet.sh saved to /sd. In my boot modes config I have 11001 set to run /sd/startkismet.sh. The problem is it's not running the script. I've chmodded it 777, just to be sure, and I can ssh in and run the command manually. Here's the really simple script, #!/bin/sh kismet_server Any ideas?
  15. I haven't seen self powered usb hubs in a while.
  16. No problem. Kismet throws mac80211 errors, but the radio seems to hop. Might work better with a different usb wifi adapter, but then you lose the gps, or have to use a powered hub, then you have other power issues.
  17. root@Pineapple:~# opkg install gpsd You might not need gpsd since kismet can talk to gps devices natively now, but I've got a script somewhere that can update the date and time from the gps so I always install it. I'm using a Microsoft usb gps that came with MS Streets and Trips 2006, which is a rebranded Pharos igps 500. root@Pineapple:~# opkg install kismet-client kismet-server Edit your /etc/kismet/kismet.conf These are the changes to my settings. # See the README for full information on the new source format # ncsource=interface:options # for example: ncsource=wlan1 # ncsource=wifi0:type=madwifi # ncsource=wlan0:name=intel,hop=false,channel=11 # Do we have a GPS? gps=true # Do we use a locally serial attached GPS, or use a gpsd server? # (Pick only one) #gpstype=gpsd gpstype=serial # What serial device do we look for the GPS on? gpsdevice=/dev/ttyUSB0 # Host:port that GPSD is running on. This can be localhost OR remote! gpshost=localhost:2947 # Do we lock the mode? This overrides coordinates of lock "0", which will # generate some bad information until you get a GPS lock, but it will # fix problems with GPS units with broken NMEA that report lock 0 gpsmodelock=false # Do we try to reconnect if we lose our link to the GPS, or do we just # let it die and be disabled? gpsreconnect=true # How often (in seconds) do we write all our data files (0 to disable) writeinterval=120 logtemplate=/sd/kismet_logs/%p%n-%D-%t-%i.%l Then just setup a switch configuration to start kismet_server. You can ssh in and start kismet_client just like you would on a laptop to make sure your settings are working.
  18. Can't you just make your own? It's not that hard, and way cheaper. I used masonite in one of my cases.
  19. That's why you never use the isp's router, or if you have to use it, have them put it in bridge mode if you can't, and install a firewall after it.
  20. These? http://www.innerspacecases.com/panel-frame-kit-for-pelican-1200-1300/
  21. Toughbooks are awesome. Used to have one that I used for wardriving. The nice thing about the military grade laptops is they can dim the screens down to "night vision goggles" safe. Really helps when driving at night, most normal laptops are still too bright at their lowest setting. As for non-mac like, proper ICS is a good example. Even running kismet natively is a pain in the ass to set up now.
×
×
  • Create New...