This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • TI Thinks Resolved

Linux/TMDXIDK5718: Static IP

Intellectual 660 points

Replies: 1

Views: 97

Part Number: TMDXIDK5718

Tool/software: Linux

Hi

I'm using TI SDK 5.3.0.7

I want to set a static IP for eth0 and have the interface up and running after boot.

I added the following to /etc/network/interfaces

auto eth0
iface eth0 inet static
    address 10.41.140.196
    netmask 255.255.254.0
    gateway 10.41.140.1

Still using DHCP

Then I read and executed

The effect that no ethernet interface is up anymore after boot except for loopback.

Regards, Chris

  • Hi,

    If I am reading that command correctly in the link provided it is commenting out the DHCP process.  I think you will need a mix of the link you pointed to and these links below. The links below show how to set a static IP, you may not have to do anything to keep DHCP.  The interfaces file is not used by SystemD.

    link to static ip with systemD

    link to static ip with systemD

    While you will see some comments and suggestions related to SystemD TI does not support SystemD,  the links I have provided may or may not work for you but hopefully leads to a solution for you. 

    Best Regards,

    Schuyler

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.