Greetings!
Raspberry Pi4 4Gb
Onboard WiFi Adapter set to DHCP (tested with Wait for network on and off)
Version: 2023.12-1 Kodi 20.2
When it is shutdown or rebooted the OSMC submits a DHCP lease end to the DHCP service and gets a different IP at startup. See logs below.
Can this be behavior disabled?
Is there a shutdown script I can update?
It is the OS doing the release. My DHCP lease time is 180 days and the Pi I’m using had kept the same DHCP address with Rasbian for years.
I’m giving this to a family member and I’d rather it stay consistent on DHCP. If I set it to static then I’ll be doing home support should they change their network.
EDIT
I also installed openconnect VPN client and have tested with it disabled. Same result.
I use autofs to connect to the NFS share on the media server.
|2024/01/09 22:14:30 | lease-start | DHCP lease started ip 192.168.2.126 → mac dc:a6:32:20:da:bf - hostname kypi |
|2024/01/09 22:14:02 | lease-end | DHCP lease ended ip 192.168.2.125 → mac dc:a6:32:20:da:bf - hostname kypi |
|2024/01/09 22:09:49 | lease-start | DHCP lease started ip 192.168.2.125 → mac dc:a6:32:20:da:bf - hostname kypi |
|2024/01/09 22:09:20 | lease-end | DHCP lease ended ip 192.168.2.124 → mac dc:a6:32:20:da:bf - hostname kypi |
|2024/01/09 22:02:36 | lease-start | DHCP lease started ip 192.168.2.124 → mac dc:a6:32:20:da:bf - hostname kypi |
|2024/01/09 22:02:07 | lease-end | DHCP lease ended ip 192.168.2.111 → mac dc:a6:32:20:da:bf - hostname kypi |
|2024/01/09 21:18:55 | lease-start | DHCP lease started ip 192.168.2.111 → mac dc:a6:32:20:da:bf - hostname kypi |
Thanks!
Jon