astroberry-server icon indicating copy to clipboard operation
astroberry-server copied to clipboard

Unable to connect to Wifi hotspot with Android phone

Open AmiSMB opened this issue 4 years ago • 8 comments

I have Astroberry 2.0.1 on a Raspberry Pi 3b but am finding that I can connect to the wifi hotspot with Windows 10, Mac OS X 10.14.6 and Ubuntu 19.10 but not on the device that I wish to use when out which is a Samsung Galaxy S10 on Android 10. I can see the astroberry wifi hotspot and correctly entered in the password as I have on the other devices and it tries to connect for quite a while but ends up with an error unable to connect.

All I see in /var/log/syslog when Android connects and then fails:-

astroberry wpa_supplicant[341]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0

AmiSMB avatar Mar 16 '20 17:03 AmiSMB

AFAIK it is related to wpa_supplicant version provided by official raspbian buster version (v2.7). The latest version of wpa_supplicant is v2.9, which apparently solves the issue. See https://raspberrypi.stackexchange.com/questions/107188/android-wont-connect-to-raspi-access-point

rkaczorek avatar Mar 18 '20 14:03 rkaczorek

I have made the following script to build and install the latest wpa_supplicant on a Raspberry Pi running Astroberry.

Scp the attached file wpa.txt to Astroberry and the ssh in. Do the following commands: mv wpa.txt wpa.sh chmod +x wpa.sh ./wpa.sh

It now works great now for me and I hope this helps someone else in the same situation.

wpa.txt

AmiSMB avatar Mar 19 '20 22:03 AmiSMB

I have made the following script to build and install the latest wpa_supplicant on a Raspberry Pi running Astroberry.

Scp the attached file wpa.txt to Astroberry and the ssh in. Do the following commands: mv wpa.txt wpa.sh chmod +x wpa.sh ./wpa.sh

It now works great now for me and I hope this helps someone else in the same situation.

wpa.txt

Thank you so much, this worked perfectly!

drakth avatar Jan 19 '21 12:01 drakth

Where do i find the wpa.sh file?

Agwising avatar Feb 23 '22 15:02 Agwising

It's attached to the post above

rkaczorek avatar Feb 23 '22 22:02 rkaczorek

I can only see wpa.txt

Agwising avatar Feb 24 '22 01:02 Agwising

I think i got it. Just SCP the wpa.txt then run the commands as described. However i would still need to connect the Astroberry to the internet via ethernet since sudo apt-get update will run

Agwising avatar Feb 24 '22 02:02 Agwising

Still not detecting my hotspot. I noticed that the wpa supplicant files are installed to the same folder where i scp the wpa.txt. which is Documents in this case. Is this ok or should i transfer these files?

Agwising avatar Feb 24 '22 08:02 Agwising