On Sat, 25 Jun 2016 21:03:52 +0000, bob prohaska wrote:
> In this case, four. [RPis]
>
>> and the topology of the network. Also, why the console has to be on a
>
> Ideally, a ring, with each Pi monitoring the console port of the next.
>
>> serial connection rather than plugging a screen+keyboard into HDMI+USB
>> or using an Ethernet link.
> Remote access to u-boot and single user mode for troubleshooting.
>
> The assumption is that at least one Pi will reboot to multi-user after a
> power outage or other catastrophe. With a ring, one can find a pi in
> multi-user mode, get on the console of the next, put it in multi-user
> and so on around the ring until everything is back to normal.
>
OK, I understand what you want, but I get a brain itch from aspects of
it: I can see that the ring can self-monitor, but with the monitoring
chain only circulating in one direction. However, doesn't this demand
that at least one RPi has to deal with connections from two places (its
neighbour and your remote access), which raises two issues:
- either this point needs a third UART or you'll end up connecting two
lines to the same UART, which doensn't sound as if it would end well
- You still have a single point of failure unless there's some switching
mechanism that allows your monitoring line to connect to an arbitrary
ring member.
Given that my RPi, a 512Gb model B that was among the first of these to
appear, has always been run headless [*] and has never failed to come up
in multi-user mode, I'd be inclined to use Ethernet and replace the ring
with a central dumb switch: what have I missed?
[*] It had to be booted once with USB kbd and monitor because when I got
it, sshd was disabled by default: now it is enabled as standard.
> As it happens I'm using FreeBSD-11, but I believe the same applies to
> Raspian: U-boot and single user talk to the console and HDMI, but do not
> listen to the USB keyboard.
>
Somebody else probably knows this: I've never run an RPi in single user
mode and can't remember when I last ran any Linux in that mode. RedHat
Linux has been my default OS at home since 2001 and Fedora since 2005.