Android 5.0 DNS fail

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Android 5.0 DNS fail

1,048件の閲覧回数
小樺陳
Contributor I

my os: android 5.0

platform:imx6dl

but when i ping to www.google.com

it will fail

my setting as below(attached file)

ping 210.242.127.54 ==>0K (host:www.google.com)

ping www.google.com==>fail

#getprop | grep

dhcp.eth1.dns1:10.1.0.19

dhcp.eth1.dns2:10.1.0.17

0 件の賞賛
返信
4 返答(返信)

766件の閲覧回数
小樺陳
Contributor I

Hi Igorpadykov:

                         Thanks your answer.

                            # ls /etc/resolv.conf  ==>not found resolv.conf

                            # ls /system/etc/resolv.conf ==>not found resolv.conf

                            #echo 123 > /etc/resolv.conf ==> read-only file system

            so.Do you any Suggest

0 件の賞賛
返信

766件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Chen

please look at below links with suggestions for this problem

Diagnosing resolution problems  |  Public DNS  |  Google Developers

https://lists.yoctoproject.org/pipermail/yocto/2014-June/020382.html

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

765件の閲覧回数
小樺陳
Contributor I

Hi Igorpadykov:

                         Thanks your answer.

                          But my os is android 5.0.not yocto or linux.

                          I don't think it can work on it.

0 件の賞賛
返信

765件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

this may depend on local network configuration,

so suggest to contact local network administrator.

0 件の賞賛
返信