cancel
Showing results for 
Search instead for 
Did you mean: 

st-stm32mp-tsn-swch Persistent self configured IP address

bugman
Associate III

Can I only modify the ttt-ip-init-systemd.sh script if I need to change and persist the IP address while using the STM32MP switch mode?

bugman_0-1750906748881.png

 

4 REPLIES 4
Bernard PUEL
ST Employee

YEs the script is there for that so you can customize it for your setup or product !

Can I use the service in Systemd to set it up?

Of course you can. 

As soon as the switch driver is probed, the configuration is done by Kernel standard interfaces.

Sorry for the delay caused by some previous issues.

I would like to know if it is possible to create a. network file in/etc/systemd/network for network related settings?

 

[Match]
Name=end1

[Network]
Address=192.168.0.10/24
DHCP=ipv4

[DHCP]
UseDNS=true
UseRoutes=true

But in actual use, end1 cannot be set .network