nymea / berrylan

Raspberry Pi WiFi setup
http://berrylan.org
GNU General Public License v3.0
335 stars 55 forks source link

wrong password - not #22

Closed shilbert01 closed 4 years ago

shilbert01 commented 5 years ago

Berrylan on Android detects the Pi, lists the local WLAN and asks for the password. Even though the password is entered correctly, it is rejected as being wrong.

On a side note it detects only on Wifi network despite 3-4 being nearby.

Is there a log file on the Pi to debug this ?

Boernsman commented 5 years ago

The nymea-network-manager has a debug option nymea-network-manager --debug. With journalctl you should be able to get the debug output journalctl -f -u nymea-network-manager

shilbert01 commented 5 years ago

I am seeing two issues.

1) scanning for access point seems to be unreliable. It does not consistently detect my own access point(s). It is of note that I did not make use of the berrylan image but installed on top of a Raspian. When scanning for APs it will sometimes detect my AP and sometime it won't.

Wifi was working without issues on stock Raspian before installation of berrylan.

If will try with the supplied image to rule out issues introduced by installing manually.

shilbert01 commented 5 years ago

Another strange thing. Sometimes the Android app will detect the Pi as "BT WLAN setup" and sometimes it will display the hostname (e.g. smarmirror-mini2)

shilbert01 commented 5 years ago

sudo iwlist wlan0 scan

yields no results or sometimes just one far away access point. So this whole issue seem to be related to the Pi3B+ Wifi rather then berrylan/nymea-networkmanager

shilbert01 commented 5 years ago

After cleaning up wpa_supplicant it now works.

mzanetti commented 4 years ago

Closing this, assuming a configuration mistake of the raspberry pi