How to Configure a Static IP in S32G2 BSP37

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

How to Configure a Static IP in S32G2 BSP37

586 次查看
leehaonan
Contributor II

Hi,

In doc "S32G-VNP-RDB2 Ethernet Enablement.pdf":6. Ethernet Port Enablement

GMAC

 ifconfig eth0 192.168.1.20

It do works,i can ping my pc.But how do I automatically configure eth0 with a specific static IP after the system starts up。

In doc "S32G2_LinuxBSP_35.0_User_Manual_updated_D230119.pdf"

Set the CAN interfaces:
– Set the bitrate of can0 and can1 interfaces to 500kbps:
ip link set can0 type can bitrate 500000
ip link set can1 type can bitrate 500000
– Start the can interfaces like a standard net interface:
ip link set can0 up
ip link set can1 up

I got the same question.

And can you tell me hao to find the bsp doc of bsp37?

Best Regards

 

标记 (1)
0 项奖励
回复
1 回复

577 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

The following community thread talks about setting an static IP under the S32G platform, for both legacy and systemd init:

Solved: How to Debug Serdes SGMII - NXP Community

Please, let us know.

0 项奖励
回复