balena-os / wifi-connect

Easy WiFi setup for Linux devices from your mobile phone or laptop
Apache License 2.0
1.3k stars 367 forks source link

Error: You need root privileges to run wifi-connect #415

Open aomanchuria opened 3 years ago

aomanchuria commented 3 years ago

the software does function, but only after manually running it from command-line and it forgets the previous password.

wifi-connect

pi@raspberrypi:~ $ wifi-connect Error: You need root privileges to run wifi-connect pi@raspberrypi:~ $ sudo wifi-connect [network_manager::device:WARN] Undefined device type: 30 [network_manager::device:WARN] Undefined device type: 30 WiFi device: wlan0 Access points: ["SSID"] Starting access point... Access point 'WiFi Connect' created Starting HTTP server on 192.168.42.1:80 User connected to the captive portal Deleting existing WiFi connection to the same network: "SSID" Stopping access point 'WiFi Connect'... Access point 'WiFi Connect' stopped Access points: ["SSID"] Connecting to access point 'SSID'... [wifi_connect::network:WARN] Connection to access point not activated 'SSID': Deactivated ->>>(I gave it the wrong password) Access points: ["SSID"] Starting access point... Access point 'WiFi Connect' created

donbing commented 2 years ago

same problem here.