Re: Working on ethernet instead of Wifi in Android

53 views
Skip to first unread message

Partha

unread,
Jan 22, 2010, 6:31:21 AM1/22/10
to Padma shankar, Harishkumar V, labs-e...@googlegroups.com
Padma,

Have you tried the following steps :

You need ethernet to USB converter.
( Connect eth0 interface to usb hub via ethernet to usb converter)

Edit init.rc

<Android_RFS>/init.rc
# basic network init
setprop net.dns1 <primary-dns-server-ip>

Boot Beagle board Execute following commands from minicom

$netcfg eth0 up
$netcfg eth0 dhcp

*Please note :* you need to enable appropriate driver for your "ethernet
to usb converter" in kernel. Driver can be found at :-

? -> DeviceDrivers ?? -> Network device support (NETDEVICES[=y]) ?? ->
USB Network Adapters

Please refer to
"http://labs.embinux.org/index.php/Android-Cupcake_porting_guide_to_BeagleBoard"

Regards
Partha

Padma shankar wrote:
> Dear Partha Acharya,
> Hope you would remember our meeting in Ti Tech Day. Myself Padma is
> from Augur Systems & Solutions and we are using your android port on
> the Beagle board.
> Most of the applications available in Android, uses Wi-fi or 3G or
> Edge network and they work in the emulator if these are enabled.
> On the Beagle board, we have only ethernet connectivity.
> On the android port on Beagle board, some applications like browser
> works (although the network is indicated as not available on android
> desktop). The network is shown not available because the android looks
> primarily for wifi meant for mobile.
> But the browser is still able to connect to the external world through
> ethernet interface. But most of the android apps fail and do not
> connect to the network.
> If we have to make the applications connect to network through
> ethernet, what kind of change is required. Is this to be done in the
> lower layer or at the application API level.
> Please guide us, to make android look for ethernet for network
> bypassing wifi or other mobile connections.
> Thanks and regards,
> Padma Shankar,
> V. Harish Kumar,
> Augur Systems & Solutions,
> Chennai.
> +919840772121.

Reply all
Reply to author
Forward
0 new messages