imx6 network delay issue.

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

imx6 network delay issue.

983 Views
kangmw086
Contributor III

There seems to be a network delay when I finish booting on my IMX6 board.

The network configuration of hardware is the same as sabreauto.

After booting is complete...

imx6qsabreauto login: fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

A message is output.

When I see this message, I think the connection to the network link is complete.

However, the ping response occurs a long time later.( max 30sec?)

The tcpdump on the board is receiving a ping packet but does not give a response.

Also ssh connection takes a long time.

However, if you ping the host pc from the board, you can see the response immediately.

Is there something I can set up on the board?

regards!

Labels (3)
0 Kudos
Reply
3 Replies

885 Views
b36401
NXP Employee
NXP Employee

If you perform ping and other tasks with hostname instead of IP address you can get some DNS issues.
I mean possible there 30 seconds the system tries to resolve the name.
Please try to perform ping and ssh using the IP address.
Also possibly the OS spens this time to back-resolve the name to write the log.
In this case please add all these hosts (the board, the PC, etc) into /etc/hosts file to avoid the rosolvation.

0 Kudos
Reply

885 Views
kangmw086
Contributor III

no. I tried to ping to the ip address.

ssh is connected with ping enabled.

I tried ping with 192.168.1.1 (gateway).

The default gateway is also set to 192.168.1.1.

It was set in /etc/rc.local.

regards!

0 Kudos
Reply

885 Views
b36401
NXP Employee
NXP Employee

Possibly the boot is taking long time and even in about 30 seconds the part that responds to ping is getting up.
I mean maybe there is some driver (maybe even not connected to network part, something like USB) is loading long time.

0 Kudos
Reply