Kismon / kismon

A GUI client for kismet
BSD 3-Clause "New" or "Revised" License
106 stars 20 forks source link

Installation Issues - KismetRest #13

Closed kerbroasted closed 5 years ago

kerbroasted commented 5 years ago

I am having issues getting kismon to run with the latest version of kismet.

I have installed the KismetRest python module from https://github.com/kismetwireless/python-kismet-rest.git

But when I run kismon whilst kismet is running, I get the following: Traceback (most recent call last): File "/usr/local/bin/kismon", line 2, in import kismon.core File "/usr/local/lib/python3.7/dist-packages/kismon/core.py", line 39, in from kismon.client_rest import * File "/usr/local/lib/python3.7/dist-packages/kismon/client_rest.py", line 33, in import KismetRest ModuleNotFoundError: No module named 'KismetRest'

I have also created a directory in my Kismet directory called /python_modules/ and placed the KismetRest module in there.

Can someone help please?

dreadnought commented 5 years ago

Hi, did you install the KismetRest module for python3 (not python/python2)? Can you post the commands that you have executed?

kerbroasted commented 5 years ago

The following instructions dont seem to work: $ git clone https://github.com/kismetwireless/kismet.git $ cd kismet/python_modules/KismetRest $ sudo python3 setup.py install

kerbroasted commented 5 years ago

To install kismon I have download the git repository and ran "sudo make install"

r3vy commented 5 years ago

I cant get it to work. There is no director for "kismet/python_modules/KismetRest",

dreadnought commented 5 years ago

For installing the Kismet Module please do this:

git clone https://github.com/kismetwireless/python-kismet-rest.git
cd python-kismet-rest
sudo python3 setup.py install

Then update the Kismon repository (git pull) and install it again. I applied changes to make it work with the latest Kismet Module.

calidor commented 5 years ago

KismetRest was renamed to kismet_rest so codechange is needed.

dreadnought commented 5 years ago

Yes, that is what I changed in https://github.com/Kismon/kismon/commit/68c22f40d643a78e7fc357f5d51978fe82e20530

calidor commented 5 years ago

then i think its fixed:) i pulled it just before you commited.