Using DHCP but there is no DHCP server ?

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

Using DHCP but there is no DHCP server ?

1,153件の閲覧回数
UnisvrTim
Contributor III

My platform is i.MX535 running Linux which is generated by LTIB from Freescale.

The platform boots with DHCP setting in U-boot.

If there is a DHCP server, then everything is fine.

My question is:

If there is no DHCP server, how to automatically revert to static IP?

Is there any setting or configuration available in u-boot, or Linux to achieve that, or I have to write a program to detect that and do the IP setting on my own?

best regards,

Tim

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 返信

954件の閲覧回数
VladanJovanovic
NXP Employee
NXP Employee

Probably best to put ip=none as kernel parameter, and then in startup script run dhcp client and if it fails set up ip address statically.