Ticket #406 (Fixed)Sat Apr 18 14:58:02 UTC 2015
Autogenerate a pseudorandom hostname when none in set
Reported by: | Sprow (202) | Severity: | Enhancement |
Part: | RISC OS: Boot sequence | Release: | |
Milestone: | Status | Fixed |
Details by Sprow (202):
When TCP/IP is first configured to be on, InetSetup complains that no hostname is set (well, unless you knew in advance that one was required).
Rather than complain, it could generate one based on the EUI48, say that was 01:02:03:04:05:06 then the hostname (if not set by the user) might become RISC_040506.
Note, the hostname can’t just be a constant string because it’s announced by DHCP and so using two such RISC OS machines on the same network would lead to duplicate name entries (and DNS if the DHCP server propagates host names to site DNS).
Changelog:
Modified by Sprow (202) Fri, December 11 2015 - 23:00:02 GMT
- Status changed from Open to Fixed
Fixed in InetSetup 0.57.
Rather than just reporting the missing hostname as an error, the names dialogue is opened with the caret in the hostname field. Decided this was better than silently generating a random hostname, since the EUI48 might not yet be known (if the reason for running InetSetup was to enable an interface for example – no DIB would exist from which to query the EUI48) and the OS_ReadSysInfo 2 machine id can be missing (zero), so would need the error anyway.