Hi
I am the proud owner of 2x GL.iNet remote KVMs that I picked up from Amazon. I have installed the GLKVM application and have discovered both of the KVMs and can connect to them to remotely control the relevant servers i.e. all is working great.
I would like to be able to change the hostname that each unit presents to my DHCP server so that I can more readily connect to each unit by a name rather than its IP address.
I have been using Unix/Linux for 40 years so am quite happy using the command line and vi etc. I just need to understand where the hostname is set at boot time because I have used the "hostname" command but this does not survive a reboot. I have also edited /etc/hostname to no avail.
If anybody could point me in the right direction, I would appreciate it
TIA
Chris
I'll have to play with this but in the meantime consider using hosts file on remote maybe?
Just don't forget it's there.
I'd guess some link to static location but someone will know your answer.
Might test ./rom/ see the openwrt info on this. [OpenWrt Wiki] The OpenWrt Flash Layout
I'd make a test file in ./rom/etc first then reboot. Be sure file has no special meaning.
Might make app or other things like tailscale an edit or change too.
Thanks for the thought, I might end up using the hosts file on my PC. The issue arises because my ISP supplied router does not allow me to specify my own DNS, routes etc as part of the DHCP parameters, otherwise, i would simply set up a DNS server for these (and other) IP addresses and use static IPs
I wasn't sure why you wanted hostname.
If on lan you can also make static arp enter for each kvm mac address. Then use that IP.
That's even worse if you forget it's there. (I know)
I did play with the filesystem and I think it is like link I posted.