Setup Info
Board - Rockpi S
SD Card - Sandisk class 10 16Gb
OS - rockpis_debian_stretch_minimal_arm64_190806_0234-gpt.img
Issues
1. Static IP setting
nmcli con add con-name eth0-1 ifname eth0 type ethernet ip4 192.168.1.150/24 gw4 192.168.1.1
nmcli con mod eth0-1 ipv4.gateway 192.168.1.1
nmcli con mod eth0-1 connection.autoconnect yes
nmcli con mod eth0-1 ipv4.method manual
nmcli con mod eth0-1 ipv4.dns “1.1.1.1,4.2.2.1”
nmcli con up eth0-1
after reboot the Gateway IP is lost as shown below
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.1.150/24
IP4.ADDRESS[2]: 169.254.185.103/16
IP4.GATEWAY: –
IP4.DNS[1]: 1.1.1.1
IP4.DNS[2]: 4.2.2.1
IP6.ADDRESS[1]:
IP6.GATEWAY: fe80::1
IP6.ROUTE[1]: dst = ff00::/8, nh = ::, mt = 256
Fix/Solution for #1
added the below line in rc.local
route add default gw 192.168.1.1 eth0
2. IPv6 Disabling - using sysctl
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.wlan0.disable_ipv6 = 1
on running sysctl -p, IPv6 is disabled, but on reboot IPv6 is re-enabled
Please guide for issues #1 & #2
Thank you