Hi,
I'm running 12.0.2 on an RPI4B and so far everything seems to work fine apart from DHCP.
I disabled both bluetooth and wifi. I'm using a network cable to connect to the lan.
Problem is,when DHCP is selected, it always defaults to 192.168.1.126, even when I setup my router to assign 192.168.1.5 to the MAC used by the RPI.
I noticed that when I use the command ip address, it outputs:
Code
LibreELEC:/ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue 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 noprefixroute
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP8000> mtu 1500 qdisc mq qlen 1000
link/ether dc:a6:32:cd:55:de brd ff:ff:ff:ff:ff:ff
inet 192.168.1.5/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel qlen 1000
link/ether dc:a6:32:cd:55:df brd ff:ff:ff:ff:ff:ff
Display More
What I want to try is to change the value for "valid_lft" and "preferred_lft" which seems to be set to forever.
How do I change these two settings?