imx6dl android 6.0 ethernet setting static ip will be fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6dl android 6.0 ethernet setting static ip will be fail

1,887 Views
peterchiu
Contributor II

Hello,

I use the imx6dl android 6.0, when I setting the ethernet app, sometimes will be fail.

I use adb logcat find the fail log:

ethernet static ip fail log
08-26 11:57:14.073   915 28670 I EthernetNetworkFactory: Applying static IPv4 configuration to eth0: IP address 192.168.120.56/23 Gateway 192.168.120.1  DNS servers: [ 8.8.8.8 ] Domains
08-26 11:57:14.086   915 28670 E EthernetNetworkFactory: Setting static IP address failed: command '1078 interface setcfg eth0 192.168.120.56 23 up multicast running broadcast' failed with '400 1078 Failed to up interface (Bad file descriptor)'
08-26 11:57:14.200  6393  6393 D EthernetManager: reset device eth0
08-26 11:57:14.202  6393  6393 D EthernetManager: Static IP =192.168.120.61
08-26 11:57:14.221   915  2244 D Ethernet: Unregistering NetworkFactory
08-26 11:57:14.221   915  1548 D ConnectivityService: unregisterNetworkFactory for Ethernet
08-26 11:57:14.225   915  2244 D Ethernet: Registering NetworkFactory
08-26 11:57:14.226   915  1548 D ConnectivityService: Got NetworkFactory Messenger for Ethernet

Although, the static ip setting fail. I use command "ifconfig" can see the eth0 is up.

and use command "ping" lan ip is work. 

But I use browser can't get internet, the ethernet icon is not show, either.

If anyone know what's the problem?

Please tell me. Thanks.

Labels (2)
Tags (3)
2 Replies

1,700 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Chris,

I’m afraid that Android 6.0 is no longer supported. You could try to recreate the issue on a more recent Android BSP for i.MX6DL like Android P9.0.0_2.2.0, available on the “i.MX Software and Development Tool” webpage.

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

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

1,700 Views
peterchiu
Contributor II

Hi CarlosCasillas

Thank you for your reply!

I think this problem is android 6 bug, 

The ethernet static ip setting is ok on android 7.

0 Kudos
Reply