Kismet Wireless

Kismet Forums

 

Posted by:analogk
Subject:Logprefix, and Auto Launching ( rasberrypi )
Date:17:11:05 24/11/2015

What did you set your logprefix to ?
Example, if dir. you want to save to is /home/pi/kismet then try

logprefix=/home/pi/kismet

save the config.

How exactly do you know kismet_server is not running on boot? You may not necessarily see anything happen with --daemonize used.

What happens when you run rc.local manually ?
Also, do systemctl status rc-local.service, may give you a clue to what the problem may be.


> I am having issues changing the logprefix. I want it to write to a dir other than the default install dir. (# Kismet config file
> # Most of the "static" configs have been moved to here -- the command line
> # config was getting way too crowded and cryptic. We want functionality,
> # not continually reading --help!
>
> # Version of Kismet config
> version=2009-newcore
>
> # Name of server (Purely for organizational purposes)
> # If commented out, defaults to host name of system
> # servername=Kismet Server
>
> # Prefix of where we log (as used in the logtemplate later)
> # logprefix=/some/path/to/logs
> #logprefix=/kismet
>
> # Do we process the contents of data frames? If this is enabled, data
> # frames will be truncated to the headers only immediately after frame type
> # detection. This will disable IP detection, etc, however it is likely
> # safer (and definitely more polite) if monitoring networks you do not own.
> # hidedata=true
> )
>
> I also am trying to configure the Rasberry pi to start kismet at launch, but it doesnt want to.
>
> ( GNU nano 2.2.6 File: /etc/rc.local
>
> #!/bin/sh -e
> #
> # rc.local
> #
> # This script is executed at the end of each multiuser runlevel.
> # Make sure that the script will "exit 0" on success or any other
> # value on error.
> #
> # In order to enable or disable this script just change the execution
> # bits.
> #
> # By default this script does nothing.
>
> # Print the IP address
> _IP=$(hostname -I) || true
> if [ "$_IP" ]; then
> printf "My IP address is %s\n" "$_IP"
> fi
>
> #start Kismet
> /usr/local/bin/kismet_server--daemonize
>
> exit 0
>
> )
>
> I am new to all of this. And cant see where I am going wrong. The project i have been using is located here ( http://www.sans.org/reading-room/whitepapers/networkdevs/war-pi-34435 )
>
> Any help would be appreciated!!


Reply to this message