@@ -8,9 +8,9 @@ Uses command line access to WiFi information via
88from Python.
99The command line programs used to access WiFi information include:
1010
11- * Linux: ` nmcli ` [ NetworkManager ] ( https://developer.gnome.org/NetworkManager/stable/nmcli.html )
12- * MacOS: ` airport ` built into MacOS
13- * Windows: [ ` netsh ` ] ( https://docs .microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc755301(v=ws.10)?redirectedfrom=MSDN )
11+ * Linux: [ nmcli ] ( https://developer.gnome.org/NetworkManager/stable/nmcli.html ) NetworkManager
12+ * MacOS: [ airport] ( https://ss64.com/osx/airport.html ) built into MacOS
13+ * Windows: [ netsh] ( https://learn .microsoft.com/en-us/windows-server/networking/technologies/netsh/netsh )
1414
1515Note that a similar service with better accuracy is available from
1616[ Google] ( https://developers.google.com/maps/documentation/geolocation/intro ) .
@@ -27,7 +27,7 @@ or for latest development version:
2727
2828``` sh
2929git clone https://github.com/scivision/mozilla-location-wifi/
30- pip install -e mozilla-location-wifi/
30+ pip install -e ./ mozilla-location-wifi
3131```
3232
3333## Usage
@@ -92,22 +92,3 @@ To print verbose information about nearby WiFi:
9292* Windows: ` netsh wlan show networks mode=bssid `
9393* MacOS: ` airport -s `
9494* Linux: ` nmcli dev wifi list `
95-
96- ### Raspberry Pi 3 / 4 / Zero W
97-
98- Debian comes without NetworkManager by default.
99- Thus we recommend using Ubuntu or similar on the Raspberry Pi with this program.
100-
101- If you do use Debian with the procedure below, you lose Wifi password and stored WiFi networks.
102-
103- 1 . Install network manager and remove the old
104- ``` sh
105- apt install network-manager
106- apt purge dhcpcd5
107- ```
108- 2 . Reboot and try
109- ``` sh
110- nmcli dev wifi list
111- ```
112- you should see several wifi access points and signal.
113- 3 . try the MLS geolocation program above.
0 commit comments