You can set it up with NDC manually this way:

# ndc resolver flushif <iface>
# ndc resolver flushdefaultif
# ndc resolver setifdns <iface> <domains> <dns1> <dns2>
# ndc resolver setdefaultif <iface>

Regard
Or.

On Friday, April 24, 2015 at 3:50:35 PM UTC+3, Yuvi wrote:


> Hi,
>
> I have added RTL8188EU driver in kernel, to enable USB Wifi adapter 
> support in Android Gingerbread, having kernel version 2.6.38. So far I am 
> able to connect with WPA2 wifi, and can get IP address, but when I ping 
> www.google.com, it is giving bad address error, although there is dns 
> server set.
>
> # ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8): 56 data bytes
> 64 bytes from 8.8.8.8: seq=2 ttl=52 time=45.447 ms
> 64 bytes from 8.8.8.8: seq=3 ttl=52 time=137.308 ms
> 64 bytes from 8.8.8.8: seq=4 ttl=52 time=88.694 ms
> 64 bytes from 8.8.8.8: seq=5 ttl=52 time=440.251 ms
> 64 bytes from 8.8.8.8: seq=6 ttl=52 time=45.012 ms
> ^C
> --- 8.8.8.8 ping statistics ---
> 7 packets transmitted, 5 packets received, 28% packet loss
> round-trip min/avg/max = 45.012/151.342/440.251 ms
> # 
> # 
> # 
> # 
> # ping google.com
> ping: bad address 'google.com'
> # 
> # 
> # 
> # busybox ifconfig
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:16 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:1152 (1.1 KiB)  TX bytes:1152 (1.1 KiB)
>
> wlan0     Link encap:Ethernet  HWaddr 7C:DD:90:4D:E5:57  
>           inet addr:192.168.0.34  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::7edd:90ff:fe4d:e557/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:59 errors:0 dropped:177 overruns:0 frame:0
>           TX packets:31 errors:0 dropped:1 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:8276 (8.0 KiB)  TX bytes:5125 (5.0 KiB)
>
> # getprop | grep dns
> [net.change]: [net.wlan0.dns2]
> [net.wlan0.dns1]: [192.168.0.1]
> [net.wlan0.dns2]: []
>
>
> Let me know what should I do so that I can ping even url as well.
>
>
> Regards,
>
> Yuvi
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" 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.

Reply via email to