+ 3
Python Wifi Scanner Script HELP
i am trying to create a script that scans wifi networks near me and lists them. So far i am getting it to work pretty well but it only lists the ssid of the network. I want it to list the bssid and the channel and everything. My code: import wifi from wifi import Cell, Scheme networks = Cell.all('wlan0') print('Found %d Networks' % len(networks)) for network in networks: print('%s' % (network.ssid))
5 Respostas
+ 6
Will look at it later, bookmarked ;)
+ 4
Turns out the module only works for Linux. Now let me find that RPi... (brb)
+ 4
Ok, works now, but...
seems like the project is discontinued and not being developed:
https://wifi.readthedocs.io/en/latest/
But anyhow, your Cell object should contain the following attributes:
ssid
signal
quality
frequency
bitrates
encrypted
channel
address
mode
Have you tried printing those?
0
Kuba Siekierzyński should be able to help on this because i also need this too
0
Your code does not print anything but the network ssid