British Forum > OGN-R PilotAware
Update of station / remote login
Admin:
Hi Paul,
I remember looking into this and could not fathom where in the startup files the hostname was being set.
I think I changed it using raspi-config, all the usual places in /etc (ie /etc_org) but still itwould not stick
If I get a chance I will re-visit
Thx
Lee
PaulRuskin:
Thanks.
Low on the priority list though - it's just housekeeping. I'll work around.
Paul
PaulRuskin:
Found it.
It's in /etc/rc.local
/usr/bin/hostnamectl set-hostname "ognpaw"
/etc/init.d/avahi-daemon restart
Admin:
Oh excellent
I will add this to a standard install, and make it configurable from the install script
Great find Paul
Thx
Lee
Admin:
oh durrrhh
I already had this in the /etc/local - misunderstood you.
I will add this as part of the startup script
Thx
Lee
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version