WiFiが起動できない
いきなり。
設定からONにしても、ONに切り替わらない。
ログをみる。
01-18 19:44:20.533 E/WifiStateMachine(189): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)} 01-18 19:44:20.533 E/WifiHW (189): Unable to open connection to supplicant on "wlan0": No such file or directory 01-18 19:44:32.548 E/WifiHW (189): Supplicant not running, cannot connect
デバイスであるwlan0が見つからない。
ネットワークデーモンが起動してないのか、該当する実行ファイルがないのか。
GALAXY NEXUS特有ののランダムリブートの餌食になったのだろうか。
ズバリ!! あなたの GALAXY NEXUS は勝手に頻繁に再起動してるでしょう!!
getpropで。[wifi.interface]: [wlan0] [wlan.driver.status]: [unloaded] [init.svc.wpa_supplicant]: [stopped] [net.tcp.buffersize.wifi]: [524288,1048576,2097152,262144,524288,1048576] [ro.com.android.wifi-watchlist]: [GoogleGuest] [ro.wifi.channels]: [] [wifi.interface]: [wlan0]
ドライバーがないのか。
255|shell@android:/ # netcfg lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00 ifb0 DOWN 0.0.0.0/0 0x00000082 72:90:6c:13:9e:5f ifb1 DOWN 0.0.0.0/0 0x00000082 9a:fb:a4:fb:c3:e2 sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00 ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00 rmnet0 UP 183.74.63.4/24 0x000010d1 00:00:00:00:00:00 rmnet1 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00 rmnet2 DOWN 0.0.0.0/0 0x00001090 00:00:00:00:00:00
wlan0認識されておらず。
shell@android:/ # cat /system/etc/wifi/wpa_supplicant.conf update_config=1 ctrl_interface=wlan0 eapol_version=1 ap_scan=1 fast_reauth=1
Guide on adding WiFi drivers to Android - 4. 正しいパスとパーミッションをinit.rcで設定する - kinneko@転職先募集中の日記
パーミッションの設定を誤ると、wpa_supplicantは、制御ソケットを作成したり開いたりすることができず、libhardware_legacy/wifi/wifi.cは接続ができなくなります。
wpa_supplicantは、Googleによって、wifiユーザーとグループで動作するように修正されているので、ファイルとディレクトリ構造のオーナーをwifiに設定しておく必要があります
もしそうだとして、いつ書き換わったのか。
Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0" - android-porting | Google Groups
これか。PaNiC Random Rant (or how we used to call it: .plan): Porting WiFi drivers to Android