ip address allocation P2020 RDB-PCA

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

ip address allocation P2020 RDB-PCA

1,297件の閲覧回数
hammadnayeem
Contributor II

I wish to assign ip address to P2020RDB-PCA through my C Code , instead of defining by ifconfig command at the serial console prompt.

Pls tell a way out.

0 件の賞賛
返信
2 返答(返信)

1,198件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the attached ifconfig.c file coming from net-tools package.

Please refer to set_ifstate function regarding how to set IP address with socket programming.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,198件の閲覧回数
r8070z
NXP Employee
NXP Employee

Have a great day,

Please check answers for

How to set the IP address from C in linux - Stack Overflow

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信