Skip to main content
Visitor 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

    Super User
    April 15, 2024

    Does it not do DHCP?

    Olivier73Author
    Visitor 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

     

     

     

    ST Employee
    April 15, 2024