Dear,
      Pls refer to the following link, it may help:

http://groups.google.com/group/android-discuss/browse_thread/thread/be3d8382d3ca05d1/9a57ec6bd4e83292?lnk=gst&q=Freescale+MX31#9a57ec6bd4e83292

      Since I am not using Window, and not good at window as well, I
don't think I can help you that much, but goodLuck might help you.

      It may due to the network setting, just my guess.

Regards
patrick


On Mar 15, 8:20 pm, FengForky <[EMAIL PROTECTED]> wrote:
> I encounted the same problem of "unkown host".
> My PC is WindowsXP + android-sdk_m5-rc15_windows.
> I connected to the internet by ADSL. I'm in Beijing,China.
>
> How to solve it?
>
> On Mar 6, 2:06 pm, patrick <[EMAIL PROTECTED]> wrote:
>
> > Hi HuaDong:
> >          I made it work. I have edited the file /etc/init.rc, so that
> > it wouldn't start any service and then a the folloing line to my
> > android start script:
>
> >          1. /init &
> >          2. sleep 5
> >          3. setprop net.eth0.dns1 192.168.1.250
> >          4. setprop net.gprs.local-ip 192.168.1.122
>
> >         For line 1, init has to put in the background, otherwise, it
> > will stop there
>
> >         For line 2, just make sure everything call by init is done
> > before setprop
>
> >         For line 3 and 4, setup the properties as you mentioned.
>
> >        Really thanks for your hints.
>
> >        BTW, have you ever tried the touchscreen? I am working on it
> > now, but seems a long way to go, as android doesn't response when i
> > click on the touchscreen.
>
> > patrick
>
> > On Mar 4, 4:07 pm, Liu Huadong <[EMAIL PROTECTED]> wrote:
>
> > > you need set a dns property,
> > > [net.eth0.dns1]: [10.0.2.3]
> > > [net.gprs.local-ip]: [10.0.2.15]
> > > the above is for emulator, for hardware "net.gprs.dns1"
>
> > > good lucky
>
> > > On Mar 3, 8:46 pm, patrick <[EMAIL PROTECTED]> wrote:
>
> > > > Dear All:
> > > >         I have figured out the ping problem in the change root
> > > > environment, it was due to the missing libraries, after i copied the
> > > > libraries from the base system, it works fine. but it is strange,
> > > > because the busybox, i download it 
> > > > fromhttp://benno.id.au/blog/2007/11/14/android-busybox,
> > > > is statically linked, it doesn't need any extra library.
>
> > > >        For the browser, it still reports "Nework Erro, unknow host"
>
> > > >        Can somebody help!
>
> > > > patrick
>
> > > > On Mar 3, 6:32 pm, patrick <[EMAIL PROTECTED]> wrote:
>
> > > > > Dear All:
> > > > >        I am trying to run android on myFreescaleMX31platform, it
> > > > > runs fine, but when I use the android browser to connect to the
> > > > > Internet, it complains about "network error, unknown host".
>
> > > > >       Android is run in a change root environment. Before running
> > > > > android, I have checked the network connection, it can access the
> > > > > Internet:
>
> > > > >          /mnt/usb/ramfs $ ifconfig
> > > > >           eth0      Link encap:Ethernet  HWaddr 00:90:FB:07:C6:00
> > > > >              inet addr:192.168.1.122  Bcast:192.168.1.255  Mask:
> > > > > 255.255.255.0
> > > > >              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > > > >              RX packets:201 errors:0 dropped:0 overruns:0 frame:0
> > > > >              TX packets:189 errors:0 dropped:0 overruns:0 carrier:0
> > > > >              collisions:0 txqueuelen:1000
> > > > >              RX bytes:35243 (34.4 KiB)  TX bytes:17755 (17.3 KiB)
> > > > >              Interrupt:90
>
> > > > >          /mnt/usb/ramfs $ route
> > > > >          Kernel IP routing table
> > > > >          Destination     Gateway         Genmask         Flags Metric
> > > > > Ref    Use Iface
> > > > >          192.168.1.0     *               255.255.255.0   U     0
> > > > > 0        0 eth0
> > > > >          default         xx.xxxxxxx.com  0.0.0.0         UG    0
> > > > > 0        0 eth0
>
> > > > >          /mnt/usb/ramfs $ ping yahoo.com
> > > > >          PING yahoo.com (66.94.234.13): 56 data bytes
> > > > >          64 bytes from 66.94.234.13: icmp_seq=1 ttl=56 time=286.2 ms
> > > > >          64 bytes from 66.94.234.13: icmp_seq=2 ttl=55 time=187.2 ms
> > > > >          64 bytes from 66.94.234.13: icmp_seq=3 ttl=55 time=243.4 ms
>
> > > > >       After change root, it fails to ping yahoo.com, but it is fine to
> > > > > ping by using IP directly:
>
> > > > >          # /data/busybox/busybox ping yahoo.com
> > > > >          ping: bad address 'yahoo.com'
>
> > > > >          # /data/busybox/busybox ping 66.94.234.13
> > > > >          PING 66.94.234.13 (66.94.234.13): 56 data bytes
> > > > >          64 bytes from 66.94.234.13: seq=0 ttl=56 time=187.703 ms
> > > > >         64 bytes from 66.94.234.13: seq=1 ttl=55 time=182.139 ms
>
> > > > >        I have tried to do the same things in the android emulator, it
> > > > > can't even ping the host by using the IP, but i can connect to the
> > > > > Internet by using the browser.
>
> > > > >        There is a resolv.conf file in the change root environment,
> > > > > which is the same as the one in the base file system.
>
> > > > >        I have check the boot up message by accessing the emulator's
> > > > > shell, there is not much information, it enables the IPv4 and GRE
> > > > > tunneling, which I think it maybe the reason, but it seems not, as I
> > > > > also enable the tunneling in my kernel, it fails too.
>
> > > > >        Does anybody know how to solve this problem, pls kindly let me
> > > > > know.
>
> > > > >        Thanks in advance.
>
> > > > > patrick- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Internals" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to