iMX6S is only receive IPv6 network on USB port

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

iMX6S is only receive IPv6 network on USB port

ソリューションへジャンプ
2,450件の閲覧回数
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,442件の閲覧回数
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,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

2,426件の閲覧回数
toanjunifer
Senior Contributor I

But I must to set it everytime I reboot it 

0 件の賞賛
返信
2,434件の閲覧回数
toanjunifer
Senior Contributor I

It's working now. Thank you so much.

0 件の賞賛
返信