Hi All,
Before someone says this has been answered before, I am not talking about the hostname, I am looking to change the name you ssh into from venus.local to something like venuspi.local. venus.local is definitely not derived from the hostname as the hostname on my raspberry pi is raspberrypi4.
I have an Ekrano and a raspeberry pi for testing (on different networks). ssh complains if connecting to different hosts with the same name as the keys differ, so to make life easier I'd like to change the mdns (.local) name on the raspberrypi.
Here's what I have tried so far. I found that VenusOS uses llmnrd for mdns and that the service runner /opt/victronenergy/service/llmnrd/run contains the line
exec setuidgid nobody /usr/sbin/llmnrd -H venus -6
I made the root partition writabe and used a patch file in /data/rcS.local to change the host venus to venuspi. On reboot I can see that the /service/llmnrd/run contains the name venuspi as per the patch. However, the device still only responds to venus.local and Discovery (Bonjour browser for MacOS) shows the raspberry pi is advertising itself as venus.local.
Can anyone tell me where venus.local is being picked up from?