iMX6S is only receive IPv6 network on USB port

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX6S is only receive IPv6 network on USB port

跳至解决方案
2,451 次查看
toanjunifer
Senior Contributor I

Hi,

I'm using iMX6S. I have an special case. I can't use ethernet port. So, I use cable LAN to USB. And then I plug it on USB port. Unfortunately, it's not IPv4 connection.

eth0 Link encap:Ethernet HWaddr 00:0e:c6:xx:xx:xx 
inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:319 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:51548 (50.3 KiB) TX bytes:0 (0.0 B) 

And my modem has been cut off IPv6 connection. Is there any way to switch IPv6 to IPv4 on my case ?

Thank you so much !

标签 (1)
0 项奖励
回复
1 解答
2,443 次查看
b36401
NXP Employee
NXP Employee

Please try to assing IP4 address to the interface manually. I mean the command like this:

 

# ifconfig eth0 192.168.1.1

在原帖中查看解决方案

3 回复数
2,444 次查看
b36401
NXP Employee
NXP Employee

Please try to assing IP4 address to the interface manually. I mean the command like this:

 

# ifconfig eth0 192.168.1.1

2,427 次查看
toanjunifer
Senior Contributor I

But I must to set it everytime I reboot it 

0 项奖励
回复
2,435 次查看
toanjunifer
Senior Contributor I

It's working now. Thank you so much.

0 项奖励
回复