2024-04-15
05:58 AM
- last edited on
2024-04-15
07:11 AM
by
Lina_DABASINSKA
Hi,
Each time I reboot my Discovery kit with STM32MP135F borad I lost the network (IP V4 address).
How can I set the IP address, Does exits somewhere a /etc/network/interface file ?
Thank you,
Olivier.
Solved! Go to Solution.
2024-04-15 07:04 AM
Hi @Olivier73
This wiki page https://wiki.st.com/stm32mpu/wiki/How_to_configure_ethernet_interface#STATIC_configuration may help you.
Best regards,
--JM
2024-04-15 06:00 AM
Does it not do DHCP?
2024-04-15 06:05 AM
I want to use static IP address like 192.168.0.10.
so I send :
ifconfig eth0 192.16.0.10 netmask 255.255.255.0
then it works
but if i reboot the board I lost the network.
I would like to know wich file I need to setup.
Thank you
2024-04-15 07:04 AM
Hi @Olivier73
This wiki page https://wiki.st.com/stm32mpu/wiki/How_to_configure_ethernet_interface#STATIC_configuration may help you.
Best regards,
--JM