RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Previous|Next

  • Tickets
  • » Ticket #406

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.

  • Comment on, or change status of, this ticket

Previous|Next

Search tickets

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Options

  • Tickets
  • New ticket
  • Milestones
  • Subversion: Changesets
  • Subversion: Browse
  • CVS: Revisions
  • CVS: Browse
  • Search

RSS feeds Rss

  • Tickets
  • Everything!
  • More feeds...
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Collaboa theme is distantly based on the Collaboa default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Collaboa
This site runs on Rails

Hosted by Arachsys