Python module wifi not showing all wireless networks - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: Python module wifi not showing all wireless networks (/thread-23952.html) |
Python module wifi not showing all wireless networks - marozsas - Jan-24-2020 The call to wifi.Cell.all is not returning all wireless networks as regular user but is does as root user ! I don't know if it is a bug or by design. I don't know if it is related to the other network is a 5GHz or not. One of then is 2.4GHz and the other one is 5GHz.Why wifi.Cell.all ('wlan0') is returning only one wifi network as regular user? How can I get all wireless networks as a regular user ? RE: Python module wifi not showing all wireless networks - buran - Jan-24-2020 According to docs: Quote:To get a list of the different cells in the area, you can do RE: Python module wifi not showing all wireless networks - marozsas - Jan-24-2020 (Jan-24-2020, 01:55 PM)buran Wrote: NoteThank you ! Somehow I misssed the note, my bad. What are my alternatives ? What is the best approach to get this information ? What are other options than create a script that does the "iwlist wlan0 scan", then put that script in /etc/sudoers and call it from my python program with subprocess ? Do you know a less "dirty" option ? RE: Python module wifi not showing all wireless networks - buran - Jan-24-2020 I have no idea about the alternatives, maybe someone else... |