This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Beagleboard-Xm rev c and Gingerbread image - no network

Hi,

I am using the gingerbread prebuild image on a beabgleboard xm revision c.

My problem is that I cannot get android to access the network.

I can set the device ip and dns as follows:

"netcfg usb0 dhcp" and "setprop net.dns1 <my dns server>"

When I do netcfg again, it shows a valid ip address, and I can ping www.google.com for about 10seconds

However, as soon as I open the browser, the network interface becomes unresponsive. PIng just stops, and android reports "no internet connection"

There is no error in logcat, or dmesg.

Is there something I'm doing wrong? Is there any other logs that I can look in?

I also have a USB ethernet adaptor which lists as eth0. I can also get an ip address for it, but it's the same.

As soon as I click on the broswer etc all network activity stops.

 

Thanks

  • Are you behind a firewall? Are you setting up a proxy server?

    Could you please post the output of adb shell getprop ?

    Thanks,

    Carlos

  • Hi,

    I am behind a firewall, however I don't believe that's the problem (yet)

    I can ping ip addresses on my network, but "as soon" as I open the browser, networking fails, and I can no longer ping ip addresses on my local nework.

    After the network fails, there are no new messages in dmesg after getting the IP address, or in logcat

    Last dmesg: <6>usb0: link up, 100Mbps, full-duplex, lpa 0xCDE1

    Last Logcat: 

    D/DHCP    ( 1462): ip 192.168.13.235 gw 192.168.13.1 mask 255.255.255.0

    D/DHCP    ( 1462): dns1: 192.168.13.2

    D/DHCP    ( 1462): server 192.168.13.1, lease 86400 seconds

    D/DHCP    ( 1462): configuring usb0

    E/Tab     ( 1661): onReceivedError -6 http://www.google.com/ The connection to the server was unsuccessful.

    Here is the output of getprop after the failure:

     

    # getprop

    [ro.ril.wake_lock_timeout]: [0]

    [ro.secure]: [0]

    [ro.allow.mock.location]: [1]

    [ro.debuggable]: [1]

    [persist.service.adb.enable]: [1]

    [ro.factorytest]: [0]

    [ro.serialno]: []

    [ro.bootmode]: [unknown]

    [ro.baseband]: [unknown]

    [ro.carrier]: [unknown]

    [ro.bootloader]: [unknown]

    [ro.hardware]: [omap3]

    [ro.revision]: [32]

    [ro.build.id]: [GRJ22]

    [ro.build.display.id]: [beagleboard-eng 2.3.4 GRJ22 eng.a0131746.20110708.024855 test-keys]

    [ro.build.version.incremental]: [eng.a0131746.20110708.024855]

    [ro.build.version.sdk]: [10]

    [ro.build.version.codename]: [REL]

    [ro.build.version.release]: [2.3.4]

    [ro.build.date]: [Fri Jul  8 03:19:34 IST 2011]

    [ro.build.date.utc]: [1310075374]

    [ro.build.type]: [eng]

    [ro.build.user]: [a0131746]

    [ro.build.host]: [swubn01]

    [ro.build.tags]: [test-keys]

    [ro.product.model]: [beagleboard]

    [ro.product.brand]: [TI]

    [ro.product.name]: [beagleboard]

    [ro.product.device]: [beagleboard]

    [ro.product.board]: [beagleboard]

    [ro.product.cpu.abi]: [armeabi-v7a]

    [ro.product.cpu.abi2]: [armeabi]

    [ro.product.manufacturer]: [unknown]

    [ro.product.locale.language]: [mdpi]

    [ro.product.locale.region]: []

    [ro.wifi.channels]: []

    [ro.board.platform]: [omap3]

    [ro.build.product]: [beagleboard]

    [ro.build.description]: [beagleboard-eng 2.3.4 GRJ22 eng.a0131746.20110708.024855 test-keys]

    [ro.build.fingerprint]: [TI/beagleboard/beagleboard:2.3.4/GRJ22/eng.a0131746.20110708.024855:eng/test-keys]

    [ro.config.notification_sound]: [OnTheHunt.ogg]

    [ro.config.alarm_alert]: [Alarm_Classic.ogg]

    [ro.kernel.android.checkjni]: [1]

    [ro.setupwizard.mode]: [OPTIONAL]

    [net.bt.name]: [Android]

    [net.change]: [net.dns1]

    [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

    [hw.nobattery]: [true]

    [hw.nophone]: [false]

    [hw.nopm]: [true]

    [ro.FOREGROUND_APP_ADJ]: [0]

    [ro.VISIBLE_APP_ADJ]: [1]

    [ro.PERCEPTIBLE_APP_ADJ]: [2]

    [ro.HEAVY_WEIGHT_APP_ADJ]: [3]

    [ro.SECONDARY_SERVER_ADJ]: [4]

    [ro.BACKUP_APP_ADJ]: [5]

    [ro.HOME_APP_ADJ]: [6]

    [ro.HIDDEN_APP_MIN_ADJ]: [7]

    [ro.EMPTY_APP_ADJ]: [15]

    [ro.FOREGROUND_APP_MEM]: [2048]

    [ro.VISIBLE_APP_MEM]: [3072]

    [ro.PERCEPTIBLE_APP_MEM]: [4096]

    [ro.HEAVY_WEIGHT_APP_MEM]: [4096]

    [ro.SECONDARY_SERVER_MEM]: [6144]

    [ro.BACKUP_APP_MEM]: [6144]

    [ro.HOME_APP_MEM]: [6144]

    [ro.HIDDEN_APP_MEM]: [5120]

    [ro.EMPTY_APP_MEM]: [6144]

    [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]

    [net.tcp.buffersize.wifi]: [4095,87380,110208,4096,16384,110208]

    [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]

    [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]

    [net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]

    [wifi.interface]: [tiwlan0]

    [init.svc.console]: [running]

    [init.svc.pvr]: [restarting]

    [init.svc.servicemanager]: [running]

    [init.svc.vold]: [running]

    [init.svc.netd]: [running]

    [init.svc.debuggerd]: [running]

    [init.svc.ril-daemon]: [running]

    [init.svc.zygote]: [running]

    [init.svc.media]: [running]

    [init.svc.dbus]: [running]

    [init.svc.installd]: [running]

    [init.svc.keystore]: [running]

    [init.svc.adbd]: [running]

    [init.svc.bootanim]: [stopped]

    [hw.keyboards.65537.devname]: [LiteOn HP USB Multimedia Keyboard]

    [hw.keyboards.65538.devname]: [LiteOn HP USB Multimedia Keyboard]

    [hw.keyboards.131075.devname]: [twl4030_pwrbutton]

    [net.hostname]: [android_3feb3a7604f19ef0]

    [dev.bootcomplete]: [1]

    [gsm.sim.operator.numeric]: []

    [gsm.sim.operator.alpha]: []

    [gsm.sim.operator.iso-country]: []

    [gsm.sim.state]: [UNKNOWN]

    [gsm.current.phone-type]: [1]

    [gsm.operator.alpha]: []

    [gsm.operator.numeric]: []

    [gsm.operator.iso-country]: []

    [gsm.operator.isroaming]: [false]

    [sys.boot_completed]: [1]

    [ro.runtime.firstboot]: [946686688706]

    [net.usb0.dns1]: [192.168.13.2]

    [net.usb0.dns2]: []

    [net.dns1]: [192.168.13.2]

    #

     

  • Try setting the proxy as follows:

    setprop net.gprs.http-proxy <your-proxy>

    For example:

    setprop net.gprs.http-proxy http://myproxy.mycompany.com:80