+ 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))

18th Nov 2018, 8:25 PM
Someone Else
Someone Else - avatar
5 odpowiedzi
+ 6
Will look at it later, bookmarked ;)
20th Nov 2018, 11:19 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
Turns out the module only works for Linux. Now let me find that RPi... (brb)
20th Nov 2018, 8:38 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 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?
20th Nov 2018, 8:57 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
Kuba Siekierzyński should be able to help on this because i also need this too
20th Nov 2018, 7:55 AM
✳AsterisK✳
✳AsterisK✳ - avatar
0
Your code does not print anything but the network ssid
28th Nov 2018, 6:47 PM
ZACHARY JOHNSON
ZACHARY JOHNSON - avatar