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.

TDA4VM Edge AI kit - setting static IP



Hello everyone, 

I'm using the TDA4 evaluation board for debugging. And I want to have possibility to connect to it easily through SSH, not UART (with connected only ethernet between PC and TDA4, without router). So IP is not assigned to TDA4. 

I can do it manually using UART with next command:
sudo ip addr add 192.168.1.151/24 dev eth0 
But i want to keep it after reboot. Do you have solution for that? 
I also tried do next:

sudo vi /etc/network/interfaces

auto eth0
iface eth0 inet static
    address 192.168.1.151
    netmask 255.255.255.0
    gateway 192.168.1.1

But it didn't help 

  • Hi,

    Can you try using the systemd-networkd to set the static ip.

    Create/Replace the file  - /etc/systemd/network/10-eth.network

    [Match]
    Name=eth0
    KernelCommandLine=!root=/dev/nfs
    
    [Network]
    Address=192.168.1.151/24
    Gateway=192.168.1.1
    DNS=192.168.1.1

    The Gatway and DNS value is optional and depends on your configuration. You can skip it if you desire.

    Regards,
    Tanmay