Posté(e) 19 août 200917 a Bonjour à tous, Comme la plupart de vous savent déjà, l'interface d'Android ne vient pas avec une option pour se connecter aux réseaux wifi cryptés en WPA-Enterprise. Mais grâce au root, on a néanmoins réussi à faire marcher tout cela: http://pboos.ch/wordpress/2009/04/android-using-wpa2-enterprise/ J'ai essayé ceci sur mon Galaxy; la première chose que j'ai remarqué est que le fichier de configuration ne s'appelle pas "wpa_supplicant.conf", mais "bcm_supp.conf " (le chip wifi est différent des HTC je suppose). J'ai donc fait les ajustements dans le fichier "/data/misc/wifi/bcm_supp.conf"; et je me suis déplacé vers un HotSpot fourni par l'université, qui requit WPA Enterprise. A peine arrivé dans la zone wifi, mon portable essaye de se connecter au réseau, mais quelques secondes plus tard il ne répond plus à mes commandes; le téléphone est quasiment plus utilisable (car il devient tellement lent). Voici un extrait du log, lors de la connexion: 16:57:29.038: VERBOSE/Wi-Fi(2622): Received wifi state changed from Disabled to Enabling 16:57:29.388: INFO/ActivityManager(1069): Displayed activity maximyudin.usefulswitchers/.UsefulSwitchers: 5666 ms 16:57:29.618: INFO/ActivityManager(1069): Process com.android.samsungtest.FactoryTest (pid 1297) has died. 16:57:30.118: WARN/vold(1019): _mmc_event++ 16:57:30.118: WARN/vold(1019): _mmc_event event->action == action_add 16:57:30.118: WARN/vold(1019): _mmc_event event->type SDIO 16:57:30.118: WARN/vold(1019): _mmc_event ok try to crete media 16:57:30.128: ERROR/vold(1019): read_sysfs_var: could not read /sys/devices/platform/msm_sdcc.2/mmc_host/mmc2/mmc2:0001/serial 16:57:30.128: ERROR/vold(1019): Unable to read inf about new media (m) 16:57:30.128: ERROR/vold(1019): Error processing uevent msg (No such file or directory) 16:57:32.898: VERBOSE/Wi-Fi(2622): Received wifi state changed from Enabling to Enabled 16:57:33.548: VERBOSE/WifiStateTracker(1069): Connection to supplicant established, state=SCANNING 16:57:33.618: DEBUG/GpsLocationProvider(1069): updateNetworkState unavailable 16:57:33.978: VERBOSE/WifiMonitor(1069): Event [Trying to associate with 00:1e:49:5b:ee:02 (SSID='eduroam' freq=2412 MHz)] 16:57:33.978: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3] 16:57:34.008: VERBOSE/WifiStateTracker(1069): Changing supplicant state: SCANNING ==> ASSOCIATING 16:57:34.528: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-STATE-CHANGE id=2 state=4] 16:57:34.549: VERBOSE/WifiStateTracker(1069): Changing supplicant state: ASSOCIATING ==> ASSOCIATED 16:57:34.558: VERBOSE/WifiMonitor(1069): Event [Associated with 00:1e:49:5b:ee:02] 16:57:34.558: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-EAP-STARTED EAP authentication started] 16:57:34.629: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected] 16:57:35.298: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully] 16:57:35.308: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-STATE-CHANGE id=2 state=5] 16:57:35.308: VERBOSE/WifiStateTracker(1069): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE 16:57:35.338: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-STATE-CHANGE id=2 state=5] 16:57:35.348: VERBOSE/WifiStateTracker(1069): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE 16:57:35.358: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-STATE-CHANGE id=2 state=6] 16:57:35.368: VERBOSE/WifiStateTracker(1069): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE 16:57:36.688: VERBOSE/WifiMonitor(1069): Event [WPA: Key negotiation completed with 00:1e:49:5b:ee:02 [PTK=CCMP GTK=TKIP]] 16:57:36.698: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-STATE-CHANGE id=2 state=7] 16:57:36.708: VERBOSE/WifiStateTracker(1069): Changing supplicant state: GROUP_HANDSHAKE ==> COMPLETED 16:57:36.708: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-CONNECTED - Connection to 00:1e:49:5b:ee:02 completed (auth) [id=2 id_str=]] 16:57:36.718: VERBOSE/WifiStateTracker(1069): New network state is CONNECTED 16:57:39.698: DEBUG/WifiStateTracker(1069): DhcpHandler: DHCP request started 16:57:42.708: DEBUG/WifiHW(1069): 'DRIVER RSSI' command timed out. 16:58:05.718: DEBUG/dalvikvm(1069): GC freed 18181 objects / 865280 bytes in 22 sec 16:58:07.708: DEBUG/WifiHW(1069): 'DRIVER RSSI' command timed out. 16:58:10.728: INFO/WifiStateTracker(1069): DhcpHandler: DHCP request failed: Timed out waiting for DHCP to finish 16:58:16.678: DEBUG/WifiHW(1069): 'DISCONNECT' command timed out. 16:58:18.698: WARN/ActivityManager(1069): Activity pause timeout for HistoryRecord{4350e1c8 {maximyudin.usefulswitchers/maximyudin.usefulswitchers.UsefulSwitchers}} 16:58:20.708: WARN/InputManagerService(1069): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43393118 16:58:22.698: DEBUG/WifiHW(1069): 'DRIVER RSSI' command timed out. 16:58:22.718: INFO/Launcher(1134): onResume mRestoring = false 16:58:23.698: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-STATE-CHANGE id=2 state=8] 16:58:23.728: VERBOSE/WifiStateTracker(1069): Changing supplicant state: COMPLETED ==> DORMANT 16:58:23.728: DEBUG/WifiStateTracker(1069): Deconfiguring interface and stopping DHCP 16:58:31.691: ERROR/WifiStateTracker(1069): Could not stop DHCP 16:58:37.708: DEBUG/GpsLocationProvider(1069): updateNetworkState unavailable 16:58:41.708: VERBOSE/WifiMonitor(1069): Event [RSN: pre-authentication with 00:d0:00:00:30:14 timed out] 16:58:42.698: VERBOSE/WifiMonitor(1069): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2] 16:58:42.698: VERBOSE/WifiStateTracker(1069): Changing supplicant state: DORMANT ==> SCANNING 16:58:43.688: DEBUG/GpsLocationProvider(1069): updateNetworkState unavailable Surtout les lignes suivantes me paraissent comme la cause de ce dysfonctionnement: 16:57:39.698: DEBUG/WifiStateTracker(1069): DhcpHandler: DHCP request started 16:57:42.708: DEBUG/WifiHW(1069): 'DRIVER RSSI' command timed out. Est-ce que quelqu'un ici a réussi à faire marcher ceci?
Posté(e) 19 août 200917 a Et en modifiant le wpa_supplicant.conf situé dans /system/etc/wifi/ ca fonctionne pas mieux ? (je demande a tout hasard hun, j'ai aucune idee du souci ^^)
Posté(e) 19 août 200917 a Auteur Et en modifiant le wpa_supplicant.conf situé dans /system/etc/wifi/ ca fonctionne pas mieux ?(je demande a tout hasard hun, j'ai aucune idee du souci ^^) Je ne l'ai pas encore essayé. Mais le wpa_supplicant.conf ne semble pas être utilisé (le fichier est tout neuf, et aucun AP ajouté); en plus, quand le wifi est allumé, "ps" te donne ceci: 2917 0 2016 S /system/bin/wpa_supplicant -Dwext -i eth0 -c /data/misc/wifi/bcm_supp.conf 2920 1014 856 S /system/bin/dhcpcd -BKL eth0 (si je tappe la commande wpa_supplicant à la main, par "adb shell", ça ne marche pas) Modifié 19 août 200917 a par koy
Rejoignez la conversation
Vous pouvez poster maintenant et vous enregistrez plus tard. Si vous avez un compte, connectez-vous maintenant pour poster.