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.

SK-AM64: Set Static IP on eth0

Part Number: SK-AM64

Hello 

How to change board to maintain static IP? Using TeraTerm to set up static IP.

  • Hello 

    I'm still having issues,

    I cannot seem to get into this file ot make changes cat /etc/systemd/network/10-eth.network to make my changes to the eth0 network settings.  Am I typing the wrong command to open a file to change it?

    ***************************************************************
    ***************************************************************
    [ OK ] Started Print notice about GPLv3 packages.
    [ 20.237826] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [ 20.246324] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am64xx-evm ttyS2

    Arago 2020.09 am64xx-evm ttyS2

    am64xx-evm login: root
    root@am64xx-evm:~# ip a
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether f4:84:4c:f9:7b:d3 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::f684:4cff:fef9:7bd3/64 scope link
    valid_lft forever preferred_lft forever
    3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 70:ff:76:1d:f1:45 brd ff:ff:ff:ff:ff:ff
    4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 90:e2:02:a2:b7:73 brd ff:ff:ff:ff:ff:ff
    5: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 90:e2:02:a2:b7:74 brd ff:ff:ff:ff:ff:ff
    inet 192.168.43.1/24 brd 192.168.43.255 scope global wlan1
    valid_lft forever preferred_lft forever
    inet6 fe80::92e2:2ff:fea2:b774/64 scope link
    valid_lft forever preferred_lft forever
    root@am64xx-evm:~# cd /etc/systemd/network/
    root@am64xx-evm:/etc/systemd/network# ls
    01-wlan1-static.network 10-eth.network 15-eth.network 30-wlan.network 60-usb.network
    root@am64xx-evm:/etc/systemd/network# cd /
    root@am64xx-evm:/# cat /etc/systemd/network/10-eth.network
    [Match]
    Name=eth0
    KernelCommandLine=!root=/dev/nfs

    [Network]
    DHCP=yes
    root@am64xx-evm:/#