Il ya quelques questions là-bas qui ont des problèmes similaires, mais aucune des solutions d'aide. J'essaie de connecter un Android Things Raspberry Pi au Wifi. Mon ssid wifi 2.4 GHz est «gâteau» et j'ai même enlevé la phrase secrète pour voir si cela aiderait. Voici ce qui sort dans le logcat:Choses Android - Raspberry Pi ne parvient pas à se connecter au Wifi
09-20 01:37:00.340 1233 1233 D WifiSetupService: onStartCommand(Intent { act=WifiSetupService.Connect cmp=com.google.wifisetup/.WifiSetupService (has extras) })
09-20 01:37:00.341 1233 1233 I WifiConfigurator: Connecting to network with SSID "cake"
09-20 01:37:00.345 1233 1251 W WifiManager: com.google.wifisetup attempted call to setWifiApEnabled: enabled = false
09-20 01:37:00.346 311 546 D WifiService: setWifiEnabled: true pid=1233, uid=1000, package=com.google.wifisetup
09-20 01:37:00.349 1233 1233 V WifiWatcher: Network state changed to DISCONNECTED
09-20 01:37:01.258 1233 1251 D WifiConfigurator: Adding new network
09-20 01:37:01.873 311 380 E WifiConfigManager: Cannot find network with networkId -1 or configKey "cake"NONE
09-20 01:37:01.874 311 380 E WifiConfigManager: Cannot find network with configKey "cake"NONE
09-20 01:37:02.648 311 323 D WificondControl: Scan result ready event
09-20 01:37:03.423 311 380 D WifiConfigStore: Writing to stores completed in 1304 ms.
09-20 01:37:03.430 311 380 D WifiStateMachine: connectToUserSelectNetwork netId 0, uid 1000, forceReconnect = false
09-20 01:37:04.261 311 380 D WifiConfigStore: Writing to stores completed in 823 ms.
09-20 01:37:34.306 1233 1251 E WifiConfigurator: Wifi failed to connect in 30000 ms
09-20 01:39:49.672 1233 1233 D WifiSetupService: onStartCommand(Intent { act=WifiSetupService.Connect cmp=com.google.wifisetup/.WifiSetupService (has extras) })
09-20 01:39:49.673 1233 1233 I WifiConfigurator: Connecting to network with SSID "cake"
09-20 01:39:49.675 1233 1279 W WifiManager: com.google.wifisetup attempted call to setWifiApEnabled: enabled = false
09-20 01:39:49.676 311 322 D WifiService: setWifiEnabled: true pid=1233, uid=1000, package=com.google.wifisetup
09-20 01:39:49.681 1233 1279 D WifiConfigurator: Updating existing network 0
09-20 01:39:49.906 311 380 D WifiConfigStore: Writing to stores completed in 219 ms.
09-20 01:39:49.909 311 380 D WifiStateMachine: connectToUserSelectNetwork netId 0, uid 1000, forceReconnect = false
09-20 01:39:49.945 311 380 D WifiConfigStore: Writing to stores completed in 32 ms.
09-20 01:39:50.195 311 920 D WificondControl: Scan result ready event
09-20 01:40:19.980 1233 1279 E WifiConfigurator: Wifi failed to connect in 30000 ms
Voici ce que je tape dans la adb shell
rpi3:/ $ am startservice -n com.google.wifisetup/.WifiSetupService -a WifiSetupService.Connect -e ssid cake
Oui, mais comment avez-vous découvert l'adresse IP après avoir retiré le câble Ethernet de celui-ci? – easycheese
La façon la plus simple: Vous pouvez connecter votre framboise via HDMI pour surveiller – kyp
Haha ... duh .... Je vais devoir donner un coup de feu – easycheese