-
Notifications
You must be signed in to change notification settings - Fork 20
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
line 508, in setFrequency #2
Comments
i think the problem is that one of the frequencies is not supported: https://github.com/stef/wireless-radar/blob/master/wirelessradar/mrssi.py#L17 is the chan map, i think it is also replicated in the other py files. play with it and iwconfig to figure out which frequencies are supported by your wifi card. if that helps, would be nice to know which freqs were causing trouble, might be useful for others. |
wlan6mon IEEE 802.11bgn Mode:Monitor Frequency:2.427 GHz Tx-Power=20 dBm |
can you try if it works if you only have the entry for 2.427GHz in the mapping? |
do you use wlan0 or mon0 for this? i think you have to put the interface to monitor mode. |
can you try if it works if you only have the entry for 2.427GHz in the mapping? do you use wlan0 or mon0 for this? i think you have to put the interface to monitor mode. yes I m using wlan6mon that is my monitor interface armon-ng is working fine I have re-download the version from the Python site and seems I did run the ./wprox.py wlan6mon WARNING: No route found for IPv6 destination :: (no default route?) And stops |
can you replace the dict in line https://github.com/stef/wireless-radar/blob/master/wirelessradar/wprox.py#L17 til line 29 with the following dict and try again? |
Hello Stef, I've tried this and also I didn't work.... Thanks once again for helping me on this |
can you post the output please? |
that is very strange. what happens, when you press ctrl-c? can you post that output? seems to hang somewhere it seems. |
Stef, I just press enter to run and then drop a line nothing happen. I haven't control c at all. What version of Linux have you used in order to make it work. |
i doubt this has anything to do with a linux version, i suspect it is a difference in the wireless device. what kind of wireless device do you have? anyway, still interested in where it hangs, pls paste the output of the following steps:
|
Alsa Network wlan6mon IEEE 802.11bgn Mode:Monitor Frequency:2.427 GHz Tx-Power=20 dBm Teamviewer? Thanks |
Would you say that possible could be the IPV6? Answer = NO Just disabled |
sorry i have no teamviewer. however it would be interesting to know what your wireless card is and what the output is when you interrupt wprox.py. |
Stef, I not sure how could I troubleshooting this as when I run the command I don't received no communication or error the command just drop one line ./wprox.py mon0 Any help ? |
pls execute: #2 (comment) |
^CTraceback (most recent call last): |
huh. did you press immediately ctrl-c? this looks very strange, this is the very 1st line. can you wait a bit after starting then press ctrlc and if something else is displayed? if so, can you post it here, if not, can you say, that it's the same output after waiting a couple seconds? |
ile "./wprox.py", line 10, in |
Stef, The reason is that the command drops just after I m pressing. Your stuff really interest me, but I can't make it work. |
You may can help in my project, Could we agree even in a price ... I need to be able to generate the RSSI from a wlan also the Threseholds Max and Min of that Link |
it seems i found the problem, python-wifi somehow bitrotted away, and setfrequency instead of frequencies suddenly accepts channel ids, probably the interface below changed, or pythonwifi changed from 0.5 to 0.6? anyway this 2b2b775 should fixe the bug. |
can you confirm that this fixes it please? |
Dear Stef,
I m very please with your code, I m trying to run so I could use for my study of the RSSI.
Mrssi is what I m after but I m having this issue
Please let me know if you could help.
Thanks
Traceback (most recent call last):
File "./wprox.py", line 66, in run
Wireless(self.interface).setFrequency(self.freq)
File "/usr/local/lib/python2.7/dist-packages/pythonwifi/iwlibs.py", line 508, in setFrequency
iwreq)
File "/usr/local/lib/python2.7/dist-packages/pythonwifi/iwlibs.py", line 1038, in iw_set_ext
return self.iw_get_ext(ifname, operation, data)
File "/usr/local/lib/python2.7/dist-packages/pythonwifi/iwlibs.py", line 1033, in iw_get_ext
result = self._fcntl(request, ifreq)
File "/usr/local/lib/python2.7/dist-packages/pythonwifi/iwlibs.py", line 1020, in _fcntl
return fcntl.ioctl(self.sockfd.fileno(), request, args)
IOError: [Errno 22] Invalid argument
The text was updated successfully, but these errors were encountered: