9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] raspberry pi root filesystem via wifi
@ 2021-01-14 15:20 Richard Miller
  0 siblings, 0 replies; only message in thread
From: Richard Miller @ 2021-01-14 15:20 UTC (permalink / raw)
  To: 9fans

> Have you ever tried taking root from a wifi connected server on a PI?

I was asked this question by email, but I'll reply on the list
in case others would like to know.

Yes, 9pi allows for this. You need a kernel built from configuration
/sys/src/9/bcm/pi2wifi (for Pi2 and Pi3) or /sys/src/9/bcm/pi4wifi
(for Pi4). Some configuration variables need to be defined at boot time,
either in cmdline.txt (see the sample cmdline-wifiroot.txt in the DOS
partition) or by responding to prompts (if you'd rather not store your
wifi password on the SD card).

The wifi configurations use /bin/rc as the boot process instead of
the normal boot program, with /sys/src/9/bcm/bootwifi.rc as a script.
Feel free to tinker with this script to adapt to your local setup.

The pi[24]wifi configurations are for a Plan 9 terminal. Adapting these
for a Pi cpu server taking root over wifi is left as an exercise for the
reader. (Hint: diff pi2 pi2cpu)


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tb72d6baf10887da3-M26deb24e1be176b1e1c640de
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-14 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 15:20 [9fans] raspberry pi root filesystem via wifi Richard Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).