Kismet Wireless

Kismet Forums

 

Posted by:garlicsalt2
Subject:make suidinstall fails on powerbook (darwin) with RC2
Date:00:06:45 21/06/2009

> Running 'sudo make suidinstall' fails, but 'make install' works just fine, see below.
>
> ---cut---
> aarons-powerbook-g4-12:kismet-2009-05-RC2 aaron$ sudo make suidinstall
> groupadd -f staff
> make: groupadd: Command not found
> make: *** [suidinstall] Error 127
> ---cut---
>
> Compilation completed without any errors.
>
> Running kismet_server fails, as below:
> ---cut---
> aarons-powerbook-g4-12:kismet-2009-05-RC2 aaron$ kismet_server -n
> INFO: Not running as root - will try to launch root control binary (/usr/lo
> cal/bin/kismet_capture) to control cards.
> Failed to exec as IPC child: No such file or directory
> INFO: Reading from config file /usr/local/etc/kismet.conf
> ERROR: Failed to open file descriptor passing socket during root IPC synchr
> onization, may cause problems in the future
> INFO: No 'dronelisten' config line and no command line drone-listen
> argument given, Kismet drone server will not be enabled.
> INFO: Created alert tracker...
> ERROR: Failed to open primary plugin directory (/usr/local/lib/kismet/):
> No such file or directory
> ERROR: Failed to open user plugin directory (/Users/aaron/.kismet//plugins/
> ): No such file or directory
> INFO: Kismet will attempt to hop channels at 5 channels per second unless
> overridden by source-specific options
> INFO: No specific sources named on the command line, sources will be read
> from kismet.conf
> INFO: Using default channel list 'IEEE80211b' on source 'en1'
> INFO: Created source en1 with UUID 231bd7de-5df5-11de-b69a-12750389023c
> INFO: Will attempt to reopen on source 'en1' if there are errors
> INFO: Created Kismet UI TCP server on port 2501
> INFO: Kismet drone framework disabled, drone will not be activated.
> INFO: Inserting basic packet dissectors...
> INFO: Allowing Kismet frontends to view WEP keys
> INFO: Starting GPS components...
> INFO: Enabling reconnection to the GPS device if the link is lost
> ERROR: Could not create initial connection to the GPSD server
> INFO: Using GPSD server on localhost:2947
> ERROR: Could not open OUI file '/etc/manuf': No such file or directory
> ERROR: Could not open OUI file '/usr/share/wireshark/wireshark/manuf': No
> such file or directory
> ERROR: Could not open OUI file '/usr/share/wireshark/manuf': No such file
> or directory
> ERROR: No OUI files were available, will not resolve manufacturer names
> for MAC addresses
> INFO: Creating network tracker...
> INFO: Creating channel tracker...
> INFO: Registering dumpfiles...
> INFO: Pcap log in PPI format
> INFO: Kismet starting to gather packets
> INFO: Deferring opening of packet source 'en1' to IPC child
> FATAL: Suid-root control binary failed: No such file or directory
> FATAL: Root IPC control binary has died, shutting down
> INFO: IPC controller waiting for IPC child process 3382 to end.
> ERROR: Child process 3382 didn't die cleanly, killing it.
> INFO: IPC controller IPC child process 3382 has ended.
> ERROR: Could not connect to the GPSD server, will reconnect in 5 seconds
> INFO: Shutting down plugins...
>
> *** KISMET IS SHUTTING DOWN ***
>
> *** KISMET HAS ENCOUNTERED A FATAL ERROR AND CANNOT CONTINUE. ***
> Shutting down log files...
> FATAL: Suid-root control binary failed: No such file or directory
> FATAL: Root IPC control binary has died, shutting down
> WARNING: Kismet changes the configuration of network devices.
> In most cases you will need to restart networking for
> your interface (varies per distribution/OS, but
> usually: /etc/init.d/networking restart
>
> Kismet exiting.
> ---cut---
>
> I am going to look through the makefile, and see if I can bypass that command. FYI: I am already a member of the 'Staff" group.

Ok, after checking the Makefile. I executed the following command:
sudo make -e binsuidinstall
Now everything works great!!

--Aaron


Reply to this message