Those instructions didn't work for me, I posted working instructions awhile ago: https://groups.google.com/d/msg/beagleboard/tHXTzJhH_Qc/1dIcYqFlj5gJ
On Thursday, May 28, 2015 at 7:28:04 AM UTC-6, Ankit Chaturvedi wrote: > > Hi, > > I have a BeagleBone Black RevC with 3.8 kernel & Android 4.4 built using > the instructions provided at http://bbbandroid.sourceforge.net/build.html . > I made further changes to add a RT8192 based usb wifi adapter as per > instructions provided here: > http://nelenkov.blogspot.in/2013/07/building-wireless-android-device.html . > The issue I'm facing is as follows: > > - Android Wifi Settings - Able to turn Wifi on/off through the UI, but > nothing further. Cannot see any wifi networks (scan does not initiate it > seems). Adding a network manually results in an error relating to a file > "/data/misc/wifi/ipconfig.txt" (Logcat here: http://pastebin.com/NeQY2f2r > ) > > > E/WifiConfigStore( 582): Error parsing > configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: > open failed: ENOENT (No such file or directory) > E/WifiStateMachine( 582): Failed to set device name beagleboneblack > I/ActivityManager( 582): Config changes=200 {1.0 ?mcc?mnc en_US ldltr > sw272dp w438dp h247dp 160dpi smll land finger -keyb/v/h -nav/h s.4} > W/RecognitionManagerService( 582): no available voice recognition services > found for user 0 > E/WifiStateMachine( 582): Failed to set manufacturer Texas_Instruments_Inc > E/WifiStateMachine( 582): Failed to set model name BeagleBone Black > W/ContextImpl( 582): Calling a method in the system process without a > qualified user: android.app.ContextImpl.sendBroadcast:1131 > com.android.server.usb.UsbSettingsManager.deviceAttached:621 > com.android.server.usb.UsbHostManager.usbDeviceAdded:156 > com.android.server.usb.UsbHostManager.monitorUsbHostBus:-2 > com.android.server.usb.UsbHostManager.access$000:38 > E/WifiStateMachine( 582): Failed to set model number BeagleBone Black > E/WifiStateMachine( 582): Failed to set serial number > E/WifiStateMachine( 582): Failed to set WPS config methods > E/WifiStateMachine( 582): Failed to set primary device type 10-0050F204-5 > > - Using wpa_cli: If I manually scan and set network parameters though > wpa_cli I'm able to associate with the WiFi network, so I'm assuming > wpa_supplicant and driver level stuff is working as expected. BUT, on adb > shell, I can only ping IP addresses (internet as well as local) but DNS > never seems to resolve even after manually setting route, dns, gateway etc. > No internet access in Android browser still, even with IP addresses. I > created a wpa_supplicant.conf and it seems Android is able to read it and > associate as well: > > > I/wpa_supplicant( 632): wlan0: Associated with 06:27:22:e9:75:0f > I/wpa_supplicant( 632): wlan0: WPA: Key negotiation completed with > 06:27:22:e9:75:0f [PTK=CCMP GTK=TKIP] > I/wpa_supplicant( 632): wlan0: CTRL-EVENT-CONNECTED - Connection to > 06:27:22:e9:75:0f completed (auth) [id=0 id_str=] > > - Android Logcat: There are several BOOT FAILURE errors related to > PackageManager, NetworkManagementService etc, I haven't modified anything > here so not sure why these are occurring. > > > > W/SystemServer( 582): *********************************************** > F/SystemServer( 582): BOOT FAILURE making Network Managment Service ready > F/SystemServer( 582): java.lang.IllegalStateException: command '6 firewall > disable' failed with '400 6 Firewall command failed' > F/SystemServer( 582): at > com.android.server.NetworkManagementService.setFirewallEnabled(NetworkManagementService.java:1617) > F/SystemServer( 582): at > com.android.server.NetworkManagementService.prepareNativeDaemon(NetworkManagementService.java:401) > F/SystemServer( 582): at > com.android.server.NetworkManagementService.systemReady(NetworkManagementService.java:224) > F/SystemServer( 582): at > com.android.server.ServerThread$2.run(SystemServer.java:961) > F/SystemServer( 582): at > com.android.server.am.ActivityManagerService.systemReady(ActivityManagerService.java:9368) > F/SystemServer( 582): at > com.android.server.ServerThread.initAndLoop(SystemServer.java:938) > F/SystemServer( 582): at > com.android.server.SystemServer.main(SystemServer.java:1179) > F/SystemServer( 582): at java.lang.reflect.Method.invokeNative(Native > Method) > F/SystemServer( 582): at java.lang.reflect.Method.invoke(Method.java:515) > F/SystemServer( 582): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) > F/SystemServer( 582): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) > F/SystemServer( 582): at dalvik.system.NativeStart.main(Native Method) > F/SystemServer( 582): Caused by: > com.android.server.NativeDaemonConnector$NativeDaemonFailureException: > command '6 firewall disable' failed with '400 6 Firewall command failed' > > - I'm also facing lots of errors related to iptables which I suspect may > be the cause here: > > > I/ip6tables( 92): ip6tables terminated by exit(3) > E/Netd ( 92): exec() res=0, status=768 for /system/bin/ip6tables -F > fw_INPUT > I/iptables( 92): iptables terminated by exit(3) > E/Netd ( 92): exec() res=0, status=768 for /system/bin/iptables -F > fw_OUTPUT > D/SystemUIService( 634): loading: class com.android.systemui.power.PowerUI > I/ip6tables( 92): ip6tables terminated by exit(3) > E/Netd ( 92): exec() res=0, status=768 for /system/bin/ip6tables -F > fw_OUTPUT > D/SystemUIService( 634): running: > com.android.systemui.power.PowerUI@a5d65b08 > D/SystemUIService( 634): loading: class > com.android.systemui.media.RingtonePlayer > D/SystemUIService( 634): running: > com.android.systemui.media.RingtonePlayer@a5d66e98 > I/iptables( 92): iptables terminated by exit(3) > E/Netd ( 92): exec() res=0, status=768 for /system/bin/iptables -F > fw_FORWARD > D/SystemUIService( 634): loading: class > com.android.systemui.settings.SettingsUI > D/SystemUIService( 634): running: > com.android.systemui.settings.SettingsUI@a5d681c8 > I/ip6tables( 92): ip6tables terminated by exit(3) > E/Netd ( 92): exec() res=0, status=768 for /system/bin/ip6tables -F > fw_FORWARD > > I have rebuilt this image twice but I'm still facing these errors. Could > anyone point me towards the right direction here. As stated earlier, no > changes have been made to Android Framework apart from the ones mentioned > above. Logcat is available here: http://pastebin.com/NeQY2f2r > Thank you for your time, > > Regards, > - Ankit > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
