configure static ip on imx6

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

configure static ip on imx6

跳至解决方案
4,483 次查看
davidshoham
Contributor II

Hi,

I installed the basic rootfs from the"L3.0.35_12.09.01_GA_images_MX6Q" packages. I am trying to configure a static ip permanently and have n idea how to do this. In the meantime I am configuring the ip with 'ifconfig' every time I switch on the card.

Thanks,

David.

标签 (1)
1 解答
2,956 次查看
fabio_estevam
NXP Employee
NXP Employee

You can pass the IP you want in the kernel command line (from the bootloader) like this:

ip=192.168.1.102:192.168.1.101

,where

192.168.1.101: is the serverip IP address

192.168.1.102: is the target (mx6 board) IP address

Regards,

Fabio Estevam

在原帖中查看解决方案

2 回复数
2,956 次查看
davidshoham
Contributor II

Thanks!

0 项奖励
回复
2,957 次查看
fabio_estevam
NXP Employee
NXP Employee

You can pass the IP you want in the kernel command line (from the bootloader) like this:

ip=192.168.1.102:192.168.1.101

,where

192.168.1.101: is the serverip IP address

192.168.1.102: is the target (mx6 board) IP address

Regards,

Fabio Estevam