OK, so this is something of a continuation of this thread:
https://forums.hak5.org/index.php?/topic/32535-wardrive/page-2?hl=kismet
Since the topic changed a bit, and it's a little stale, I thought I'd start a new thread. Here goes:
So, just as @barry99705 said, kismet_server will not run from one of the boot mode command lines or from the 'execute command' window under settings > advanced in the pinapple web interface, but if I SSH into the pineapple and issue the command, it works as expected.
Here is my boot mode command:
logger "Boot Mode 100 executing now..."; logger "Starting kismet_server..."; kismet_server
And here is the relevant log output (with a couple of extra lines for context):
Jan 1 00:00:08 Pineapple daemon.info dnsmasq-dhcp[1833]: DHCPACK(br-lan) [removed]
Jan 1 00:00:08 Pineapple daemon.info dnsmasq-dhcp[1833]: DHCPREQUEST(br-lan) [removed]
Jan 1 00:00:02 Pineapple user.info sysinit: /bin/sh: kismet_server: not found
Jan 1 00:00:02 Pineapple user.notice root: Starting kismet_server...
Jan 1 00:00:02 Pineapple user.notice root: Boot Mode 100 executing now...
Jan 1 00:00:00 Pineapple user.info sysinit: Wed Jan 1 00:00:00 GMT 2014
Also, for grins, I tried the full path to the command in case PATH variables weren't quite loaded yet (I'm running kismet from my sd card.):
logger "Boot Mode 100 executing now..."; logger "Starting kismet_server..."; /sd/usr/bin/kismet_server
Resulting in a slightly more curoius error loading libcap.so.2:
Jan 1 00:00:03 Pineapple daemon.info dnsmasq-dhcp[1833]: DHCPACK(br-lan) [removed]
Jan 1 00:00:03 Pineapple daemon.info dnsmasq-dhcp[1833]: DHCPREQUEST(br-lan) [removed]
Jan 1 00:00:02 Pineapple user.info sysinit: /sd/usr/bin/kismet_server: can't load library 'libcap.so.2'
Jan 1 00:00:02 Pineapple user.notice root: Starting kismet_server...
Jan 1 00:00:02 Pineapple user.notice root: Boot Mode 100 executing now...
Jan 1 00:00:00 Pineapple user.info sysinit: Wed Jan 1 00:00:00 GMT 2014
The only other thing I could think of to do, again in case environment variables needed time to load, was delay the command execution via sleep ala:
sleep 30 && /sd/usr/bin/kismet_server
with the same results in the logs only delayed a bit.
Any other ideas on how to get kismet to autorun at boot? This is my first attempt at doing anything interesting with the pineapple, and I don't want to give up until it works.
Thanks!