Skip to main content
Associate II
April 15, 2024
Solved

Networks settings

  • April 15, 2024
  • 1 reply
  • 1452 views

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.

 

 

This topic has been closed for replies.
Best answer by Jean-Marc B

Hi @Olivier73 

This wiki page https://wiki.st.com/stm32mpu/wiki/How_to_configure_ethernet_interface#STATIC_configuration may help you.

Best regards,

--JM

 

1 reply

Andrew Neil
Super User
April 15, 2024

Does it not do DHCP?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Olivier73Author
Associate II
April 15, 2024

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

 

 

 

Jean-Marc B
Jean-Marc BBest answer
ST Employee
April 15, 2024

Hi @Olivier73 

This wiki page https://wiki.st.com/stm32mpu/wiki/How_to_configure_ethernet_interface#STATIC_configuration may help you.

Best regards,

--JM