How to Configure a Static IP in S32G2 BSP37

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Configure a Static IP in S32G2 BSP37

585 Views
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

 

Tags (1)
0 Kudos
Reply
1 Reply

576 Views
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 Kudos
Reply