Skip to content Skip to sidebar Skip to footer

Connecting Raspberry Pi Running Android Things To Wifi

I've been trying to connect to my Raspberry Pi running Android Things to wifi but to no avail. I've followed this guide to connect to Wifi. I had connected my Pi via ethernet port

Solution 1:

the ssid for

-e ssid <Network_SSID> \

is case sensitive :-)

Try Winterfell


Solution 2:

I got the same problem but my solution was different, I had an error when I tried to copy the code to the terminal:

adb shell am startservice \
-n com.google.wifisetup/.WifiSetupService \
enter code here
-a WifiSetupService.Connect \
enter code here
-e ssid Network \
-e passphrase Network_Password 

It is important to add an space after: Network_Password, I mean an the end like:

adb shell am startservice \
-n com.google.wifisetup/.WifiSetupService \
enter code here
-a WifiSetupService.Connect \
enter code here
-e ssid Network \
enter code here
-e passphrase Network_Password" " 

(Without Quotation marks, just a space at the end)


Solution 3:

I think I had similar problem. It might be caused by my previous attempts to log to the same network but with wrong SSID/Password (issue with spaces solved here). First I tried to connect to another network, I used hotspot on my Android phone, with WPA2 and simple SSID/Password without any spaces or strange characters just to be sure. It connected without problems but I still couldn't connect to my target access point. What solved my problem was re-flashing the microSD card and trying to connect again but this time with correct SSID/Password for the first time.


Post a Comment for "Connecting Raspberry Pi Running Android Things To Wifi"