Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on ./iSniff_import.py -i wlan1 #22

Open
tailer73 opened this issue Apr 8, 2016 · 3 comments
Open

Error on ./iSniff_import.py -i wlan1 #22

tailer73 opened this issue Apr 8, 2016 · 3 comments

Comments

@tailer73
Copy link

tailer73 commented Apr 8, 2016

Hi!
Start import wifi network and get error:

./iSniff_import.py -i wlan1
WARNING: No route found for IPv6 destination :: (no default route?)
Traceback (most recent call last):
File "./iSniff_import.py", line 10, in
from iSniff_GPS.models import Client, AP, Location
File "/root/iSniff-GPS/iSniff_GPS/models.py", line 5, in
class Client(models.Model):
File "/root/iSniff-GPS/iSniff_GPS/models.py", line 6, in Client
mac = models.CharField(max_length=len('ff:ff:ff:ff:ff:ff'), unique=True)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/init.py", line 1012, in init
super(CharField, self).init(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/init.py", line 146, in init
self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 46, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 40, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

Please, help me solve this problem.

@hubert3
Copy link
Owner

hubert3 commented Apr 9, 2016

Hi, did you follow the instructions in README.md?

Specifically the 3 steps under "To use the web interface" (you need to do this first to create the database) then the 4 steps under "To sniff wifi traffic". I would recommend that you use run.sh rather than calling iSniff_import.py directly.

@tailer73
Copy link
Author

Yes, i am follow your instruction in README.md.
Web interface working, clients and network added in database, but when user Apple connect to Wi-Fi network - in database wigle.net not added geolocation this hotspot.

@tailer73
Copy link
Author

Do i understand correctly that if the network has an Apple device, this network shpuld be automatically applied to the map?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants