User Tools

Site Tools


plan9front_terminal_on_a_raspberry_pi_2_b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
plan9front_terminal_on_a_raspberry_pi_2_b [2022/02/19 18:35] hc9plan9front_terminal_on_a_raspberry_pi_2_b [2023/11/24 00:00] – [Less ambitious:] m( hc9
Line 1: Line 1:
-====== VPS - Plan 9 / 9Front, the namespace, and an interactive terminal ======+====== Plan 9 / 9Front, the namespace, and an interactive terminal ======
  
   * This tutorial is intended for SDF Boot Camp participants, providing them and overview.   * This tutorial is intended for SDF Boot Camp participants, providing them and overview.
Line 14: Line 14:
 **About** **About**
  
-This is a tutorial about setting-up the Plan 9 9front <sup>1</sup> operating system, as a terminal on a Raspberry Pi 2 Model B. The tutorial is aimed at participants in the SDF [[:vps_-_plan_9_9front|Plan 9 Boot Camp]] <sup>2</sup>, but should be useful to other SDF VPS users.+This is a tutorial about setting-up the Plan 9 9front <sup>1</sup> operating system, as a terminal on a Raspberry Pi 2 Model B. The tutorial is aimed at participants in the SDF [[plan_9_9front|Plan 9 Boot Camp]] <sup>2</sup>, but should be useful to other SDF VPS users.
  
 The following steps assume that you have edited files while user “glenda”, have run '% fshalt' from the VPS console rc prompt (%) or Drawterm rio rc prompt (%), been able to “[s] - Force Shutdown”, “[r] - reset or start” from the VPS Maintenance Shell, and have used 9front Drawterm successfully. The following steps assume that you have edited files while user “glenda”, have run '% fshalt' from the VPS console rc prompt (%) or Drawterm rio rc prompt (%), been able to “[s] - Force Shutdown”, “[r] - reset or start” from the VPS Maintenance Shell, and have used 9front Drawterm successfully.
  
-The [[:sdf|SDF]] [[:vps_-_plan_9_9front|Plan 9 / 9Front]] [[:sdf_virtual_private_server_service|VPS]], 9front Drawterm, and a 9front 9pi terminal are independent. This tutorial is for educational purposes, and provides additional information about a 9pi. The 9front [[:vps_-_9front#front_drawterm|Drawterm]] works __very__ well. Yet, some participants may decide to read about a 9pi terminal. The SDF //Boot Camp// participants study virtualized //amd64 9front//.+The [[sdf|SDF]] [[plan_9_9front|Plan 9 / 9Front]] [[sdf_virtual_private_server_service|VPS]], 9front Drawterm, and a 9front 9pi terminal are independent. This tutorial is for educational purposes, and provides additional information about a 9pi. The 9front [[vps_-_9front#front_drawterm|Drawterm]] works __very__ well. Yet, some participants may decide to read about a 9pi terminal. The SDF //Boot Camp// participants study virtualized //amd64 9front//.
  
 <sup>1</sup> [[http://fqa.9front.org/fqa1.html|Plan9front]] (or //9front//) is a fork of the //Plan 9// from [[ https://9p.io/plan9/index.html|Bell Labs operating system]]; [[wp>Plan_9_from_Bell_Labs#Derivatives_and_forks|Plan 9 Derivatives and forks]]. <sup>2</sup> [[wp>Booting|Booting]] <sup>1</sup> [[http://fqa.9front.org/fqa1.html|Plan9front]] (or //9front//) is a fork of the //Plan 9// from [[ https://9p.io/plan9/index.html|Bell Labs operating system]]; [[wp>Plan_9_from_Bell_Labs#Derivatives_and_forks|Plan 9 Derivatives and forks]]. <sup>2</sup> [[wp>Booting|Booting]]
Line 26: Line 26:
  
 ISO \\ [[http://9front.org/iso/]] \\ *pi.img.gz ISO \\ [[http://9front.org/iso/]] \\ *pi.img.gz
 +
 +Nightly ISO \\ [[http://iso.only9fans.com/]] \\ *pi.img.gz
  
 **Note**: **Note**:
  
-RELEASE \\ [[http://www.9front.org/releases/]] \\ The pi.img file can be used for Raspberry Pi 1, 2, and 3. \\ The pi3.img file can be used for Raspberry Pi 3 and 4 (1/27/2021;  9FRONT “EMAILSCHADEN” RELEASED 2020/10/19).+RELEASE \\ [[http://www.9front.org/releases/]] \\ The pi.img file can be used for Raspberry Pi 1, 2, and 3. \\ The pi3.img file can be used for Raspberry Pi 3 and 4 (11/18/2023;  //9FRONT “DON’T TOUCH THE ARTWORK” RELEASED (2023/06/25)//). 
 + 
 +^ //ISO// ((The //Raspberry Pi 2 Model B// available memory is limited, failing if there are too many updates, during an initial ''sysupdate''.)) or //Nightly ISO//? ^ 4 months 23 days ^ 
 +| ✔ Nightly ISO ((A recent //Nightly ISO// may have an update, during an initial ''sysupdate''.)) | https://www.wolframalpha.com/input?i=11%2F18%2F2023+to+2023%2F06%2F25 | 
 + 
 +| The pi3.img file can be used for Raspberry Pi 3 and 4 (11/23/2021; 9FRONT “HUMANBIOLOGICS” RELEASED (2023/11/22)). [%%:FIXME:%%] ((The [%%:FIXME:%%] is  interchangeable with a //[%%FIXME%%]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. FIXME)) | 
 +| <del>The pi3.img file can be used for Raspberry Pi 3 and 4 (1/27/2021; 9FRONT “EMAILSCHADEN” RELEASED 2020/10/19).</del> |
  
 OR OR
Line 40: Line 48:
 ==== CAUTION: ==== ==== CAUTION: ====
  
-|:!:|CAUTION||:!:|CAUTION||:!:|CAUTION|:!:|+|[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|CAUTION||[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|CAUTION||[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|CAUTION|[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|
  
 Cautionary instructions for **working with SD cards** can be found here: Cautionary instructions for **working with SD cards** can be found here:
  
-Installing operating system images \\ [[https://www.raspberrypi.org/documentation/installation/installing-images/]] \\ "Writing the image" \\ "How you write the image to the SD card will depend on the operating system you are using."+Installing operating system images \\ [[https://web.archive.org/web/20210127164336/https://www.raspberrypi.org/documentation/installation/installing-images|https://www.raspberrypi.org/documentation/installation/installing-images/]] //(1/27/2021; external archive)//\\ "Writing the image" \\ "How you write the image to the SD card will depend on the operating system you are using."
  
   * Linux   * Linux
Line 55: Line 63:
 **Linux**: **Linux**:
  
-|:!:|Run ''lsblk -p'' to see which devices are currently connected to **your machine**.| +|[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|Run ''lsblk -p'' to see which devices are currently connected to **your machine**.| 
-|:!:|The mentioned ''/dev/sdc'' may __not__ apply to **your machine**. Locate the proper SD card designation, first.| +|[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|The mentioned ''/dev/sdc'' may __not__ apply to **your machine**. Locate the proper SD card designation, first.| 
-|:!:|Do not guess. Verify first.|+|[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|Do not guess. Verify first.|
 |  **..**|Optionally, a separate computer can be used, where there is no danger of damaging a hard drive.| |  **..**|Optionally, a separate computer can be used, where there is no danger of damaging a hard drive.|
  
Line 63: Line 71:
 </code> </code>
  
-  * (:!: CAUTION) ''/dev/sdc'' may __not__ apply to **your machine**. <code> +  * ( [%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) CAUTION) ''/dev/sdc'' may __not__ apply to **your machine**. <code> 
 sudo dd bs=1M if=9pi.img of=/dev/sdc sudo dd bs=1M if=9pi.img of=/dev/sdc
 lsblk -p lsblk -p
Line 90: Line 98:
 </code> </code>
  
-|:!:|Add text with a single space separator, for example “mouseport=ps2intellimouse”; all “cmdline.txt” entries remain on a **single line**.|+|[%%:!:%%]((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|Add text with a single space separator, for example “mouseport=ps2intellimouse”; all “cmdline.txt” entries remain on a **single line**.|
  
 Example of additional **cmdline.txt** text: Example of additional **cmdline.txt** text:
Line 98: Line 106:
 </file> </file>
  
-  * Optional (:!: CAUTION) example: <file> console=0 mouseport=ps2intellimouse nobootprompt=local!#S/sdM0/fs user=glenda+  * Optional ( [%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) CAUTION) example: <file> console=0 mouseport=ps2intellimouse nobootprompt=local!#S/sdM0/fs user=glenda
 </file> </file>
-    * :!: //local!#S/sdM0/fs// is an **example** only.+    * [%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) //local!#S/sdM0/fs// is an **example** only.
       * Boot the 9pi without the optional example.       * Boot the 9pi without the optional example.
       * Replace //local!#S/sdM0/fs// with what is displayed during a successful boot.       * Replace //local!#S/sdM0/fs// with what is displayed during a successful boot.
Line 119: Line 127:
   * The example is using [[wp>Dynamic_Host_Configuration_Protocol|DHCP]].   * The example is using [[wp>Dynamic_Host_Configuration_Protocol|DHCP]].
  
-    * The ''ndb/dns'' is __only__ applied initially. The results are retained. Entering it again will result in a message: “another dns instance is running”. <code> % ndb/dns+    * [%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) The ''ndb/dns'' example is __only__ applied initially, and __not__ required for //[[plan9front_terminal_on_a_raspberry_pi_2_b#less_ambitious|Less ambitious]]//. The results are retained. Entering it again will result in a message: “another dns instance is running”. <code> % ndb/dns
 </code> </code>
  
Line 129: Line 137:
 **Configure a Time zone process**: **Configure a Time zone process**:
  
-  * [[:vps_-_9front#configure_a_time_zone|Configure a Time zone]]+  * [[vps_-_9front#configure_a_time_zone|Configure a Time zone]]
  
 **The shutdown process**:  **The shutdown process**: 
Line 166: Line 174:
  
   * Note: Half the battle is figuring out where to place the mice, since two mice are the used in this tutorial.   * Note: Half the battle is figuring out where to place the mice, since two mice are the used in this tutorial.
-    * The mentioned 9pi terminal prompt (term%) [[:vps_-_9front#at_the_rio_rc_prompt|features]] were absent until the 9pi was connected (''rcpu'') to a cpu. +    * The mentioned 9pi terminal prompt (term%) [[vps_-_9front#at_the_rio_rc_prompt|features]] were absent until the 9pi was connected (''rcpu'') to a cpu. 
-      * The mentioned 9pi terminal [[:vps_-_9front#at_the_rio_rc_prompt|feature]] behavior may provide a topic for further discussion.+      * The mentioned 9pi terminal [[vps_-_9front#at_the_rio_rc_prompt|feature]] behavior may provide a topic for further discussion.
   * The 9pi terminal example is not intended to replace Drawterm.   * The 9pi terminal example is not intended to replace Drawterm.
     * Additional review is required to determine if a 9pi terminal is suitable.     * Additional review is required to determine if a 9pi terminal is suitable.
Line 201: Line 209:
 === Edit the /lib/ndb/local file: === === Edit the /lib/ndb/local file: ===
  
-  * The ''echo 'auth=9p.sdf.org authdom=9sdf' >> /lib/ndb/local'' is __only__ applied initially. The results are retained. <code> % echo 'auth=9p.sdf.org authdom=9sdf' >> /lib/ndb/local+  * The ''echo 'auth=9p.sdf.org authdom=9sdf' <nowiki>>></nowiki> /lib/ndb/local'' is __only__ applied initially. The results are retained. <code> % echo 'auth=9p.sdf.org authdom=9sdf' >> /lib/ndb/local
 </code> </code>
  
Line 227: Line 235:
 </code> </code>
  
-  * Start the //rio (([[:vps_-_9front#from_rio|Details about rio]])) (([[:vps_-_plan9front_-_drawterm_rio_and_stats|More details about rio]]))// window system: <code>+  * Start the //rio (([[vps_-_9front#from_rio|Details about rio]])) (([[plan9front_-_drawterm_rio_and_stats|More details about rio]]))// window system: <code>
 cpu% rio cpu% rio
 </code> </code>
  
-  * Start ''[[:vps_-_9front#command_reminder|stats -lmisce]]'' in a new //rio (([[:vps_-_9front#from_rio|Details about rio]])) (([[:vps_-_plan9front_-_drawterm_rio_and_stats|More details about rio]]))// rc window: <code>+  * Start ''[[vps_-_9front#command_reminder|stats -lmisce]]'' in a new //rio (([[vps_-_9front#from_rio|Details about rio]])) (([[plan9front_-_drawterm_rio_and_stats|More details about rio]]))// rc window: <code>
 cpu% stats -lmisce cpu% stats -lmisce
 </code> </code>
Line 285: Line 293:
 % date % date
 </code> </code>
 +
 +[[spreading_the_word_about_sdf|{{https://sdf.org/sdfbanner.png|Spreading the word about SDF}}]]
  
 |x|THIS IS A DRAFT| |x|THIS IS A DRAFT|
 +
 +===== 9fs link =====
 +
 +|x|DRAFT [%%:FIXME:%%] ((The [%%:FIXME:%%] is  interchangeable with a //[%%FIXME%%]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. FIXME))|
 +
 +|x|<del>[[misc:newuser_raspberry_pi_2_b|newuser]]</del>; <del>//con -C /srv/hjfs.cmd//</del>||
 +|x|<del>[[misc:newuser_raspberry_pi_2_b|sdflink]]</del>; <del>//...post//</del>|<sup>//com, bboard -s//</sup>|
  
 ===== To be determined ===== ===== To be determined =====
Line 292: Line 309:
 ==== Least ambitious?: ==== ==== Least ambitious?: ====
  
-  * It may be possible to use a 9front terminal (''term%'') from a CD-Rom boot.+  * It may be possible to use a 9front terminal (''term%'') from a CD-Rom boot [%%:FIXME:%%] ((The [%%:FIXME:%%] is  interchangeable with a //[%%FIXME%%]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. FIXME)).
     * The hardware must support networking.     * The hardware must support networking.
     * Exclude timezone configuration step.     * Exclude timezone configuration step.
     * To be determined     * To be determined
  
plan9front_terminal_on_a_raspberry_pi_2_b.txt · Last modified: 2023/11/24 03:30 by hc9