You don't say if you ever had internet and I'm new on the list so I
don't know if you've posted before.

I needed to tell the emulator about my domain name server(s) to get
internet to work. In Eclipse, I went to the Preferences dialog and
expanded the Android category on the left. Under Launch, you can set
the Default emulator options. Mine is set like this:

-dns-server 68.87.85.102,68.87.69.150

That's two different name servers, which I found by looking the
configuration of my host computer's network.

I hope that helps.

On Dec 2, 1:56 am, Billy Cui <[email protected]> wrote:
> After I build a new image for aosp eclair and run that image, my all
> emulator can not access internet any more.
>
> Anyone know why and how to fix it?
>
> I even create new avd and still not work.
>
> All emulator, 1.5/1.6/2.0 can not access internet.
>
> When I check the network, with ifconfig, it returns:
> eth0      Link encap:Ethernet  HWaddr 52:54:00:12:34:56
>           inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:2296 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1897472 (1.8 MiB)  TX bytes:204543 (199.7 KiB)
>           Interrupt:12 DMA chan:ff
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> Any suggestion would be preferred, thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to