moodLearning Wiki

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
technical-notes-library-in-a-box [2018/12/01 00:48]
serbizadmin [Maintenance]
technical-notes-library-in-a-box [2019/02/19 04:52]
serbizadmin [Restore]
Line 1: Line 1:
  
 ====== Technical Notes - Library in a Box ====== ====== Technical Notes - Library in a Box ======
 +{{::elibboxbanner.png?400|}}
  
 ====== Installation ====== ====== Installation ======
Line 33: Line 34:
 <code>  <code> 
 sudo dd if=/dev/disk5 of=~/Desktop/tambayayong-eLib-box.dmg </code> sudo dd if=/dev/disk5 of=~/Desktop/tambayayong-eLib-box.dmg </code>
 +  * unmount
 +<code>
 +diskutil unmountDisk /dev/disk5
 +</code>
 \\ \\
 =====Restore===== =====Restore=====
Line 49: Line 54:
 </code> </code>
 \\ \\
-Do the same for the other "s" numbers, as determined by the //diskutil list// command. In certain cases, you have to do the //force// option. +Do the same for the other "s" numbers, as determined by the //diskutil list// command. In certain rare cases, you have to do the //force// option. 
 <code> <code>
 diskutil umount force /dev/disk5s2 diskutil umount force /dev/disk5s2
Line 76: Line 81:
 sudo gpt create -f /dev/disk5 sudo gpt create -f /dev/disk5
 </code> </code>
 +\\
 +And the most basic of all, when you're having difficulty formatting a microSD card, check if some mechanism on the card adapter or reader is not set to lock or read-only. With the lock on, you'll likely get a "permission denied" message when you do a restore command.
 \\ \\
 \\ \\
Line 84: Line 91:
   * {{ ::raspberry_pi_3.png?100|}}Raspberry Pi 3 Beta microcomputer is available via online stores. (Not to be confused with Raspberry Pi 3 Beta **Plus** - a slightly more powerful version but requiring 3A power and at least the latest Raspbian Stretch OS.) The micro SD that came with the original setup can just be inserted into a newly-ordered Raspberry Pi 3 Model B, and it should be good to go.   * {{ ::raspberry_pi_3.png?100|}}Raspberry Pi 3 Beta microcomputer is available via online stores. (Not to be confused with Raspberry Pi 3 Beta **Plus** - a slightly more powerful version but requiring 3A power and at least the latest Raspbian Stretch OS.) The micro SD that came with the original setup can just be inserted into a newly-ordered Raspberry Pi 3 Model B, and it should be good to go.
   * {{ ::heatsink.png?80|}}Over time, the heatsink could detach, as its adhesive would dry up. In this case, just remove the heatsink from the box to prevent it from short-circuiting the microcomputer board. The alternative is to use some double-sided, heat-transfering adhesive tape to re-attach the heatsinks. Remember to wipe the surface first before mounting the heatsink.   * {{ ::heatsink.png?80|}}Over time, the heatsink could detach, as its adhesive would dry up. In this case, just remove the heatsink from the box to prevent it from short-circuiting the microcomputer board. The alternative is to use some double-sided, heat-transfering adhesive tape to re-attach the heatsinks. Remember to wipe the surface first before mounting the heatsink.
 +  * {{ ::raspbibetawithfan.jpg?100|}} IF you have a eLib Box version with a fan that draws its power from the Raspberry Pi board, notice to which pins fan wires are attached to and the colors (red and black) of the wire. Red on Pin 4 (5v power); black on Pin 6 (ground). Just in case the wires get detached from the board, just put them back in. If the fan itself breaks, don't worry too much about it. Just keep it there until you find a suitable replacement.
 +{{ ::raspberry-pi-gpio-layout-model-b-plus-rotated-2700x900.png?400 |}}
 \\ \\
 \\ \\
-====== Upgrade====== +  * If you're concerned with possible corruption of data if you just yank the power supply with properly shutting, a start/shutdown button may be added to a contraption. See [[raspberry-pi-3-startup-shutdown-button|this rig]].
-As it it, the Tambayayong eLib Box is released as a stand-alone deployment. No need for any upgrade with the OS. (The contents could be changed to suit the needs of partner schools.+
 \\ \\
 \\ \\
-However, in certain cases (say, changing board to Raspberry Pi 3 Beta **Plus**) where a later system is needed, one may upgrade the OS. As of this writing, Raspbian "Jessie" (version 8) is used as default version of the operating system. Check if there's enough space on your microSD card. Also confirm version with +
-<code> +
-less /etc/os-release +
-</code> +
-To upgrade to the later version ("Stretch" as of this writing), connect the box to the internet via RJ-45 jack, and do +
-<code> +
-sudo apt-get update +
-sudo apt-get -y dist-upgrade +
-</code> +
-To ensure you have everything of the upgrade version, do +
-<code> +
-sudo apt-get update +
-sudo apt-get upgrade +
-</code> +
-Packages have to be upgraded as well, and they may have to be "forced" +
-<code> +
-sudo rpi-update +
-</code> +
-Edit  +
-<code> +
-/etc/apt/sources.list +
-/etc/apt/sources.list.d/raspi.list +
-</code> +
-to ensure "stretch" is indicated. For instance, +
-<code> +
-deb http://archive.raspberrypi.org/debian stretch main ui +
-</code> +
-You may have to remove the changelog +
-<code> +
-sudo apt-get remove apt-listchanges +
-</code> +
-for faster upgrade. +
-\\ +
-\\ +
-Repeat the update/upgrade routine. Once done, clean up: +
-<code> +
-sudo apt-get autoremove -y +
-sudo apt-get autoclean +
-</code> +
-Then reboot. +
-\\+
 ---- ----
 ====== References ======  ====== References ====== 
Line 136: Line 104:
   * [[https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md|Setting up Raspberry Pi as access point...]]   * [[https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md|Setting up Raspberry Pi as access point...]]
   * [[https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/|How to use your Raspberry Pi as a wireless access point]]   * [[https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/|How to use your Raspberry Pi as a wireless access point]]
 +  * [[https://learn.sparkfun.com/tutorials/setting-up-a-raspberry-pi-3-as-an-access-point|Setting up a Raspberry Pi 3 as an Access Point]]
 +  * installing Raspian from ground-up: [[https://www.raspberrypi.org/documentation/installation/installing-images/mac.md|Mac]], [[https://www.raspberrypi.org/documentation/installation/installing-images/windows.md|Windows]], [[https://www.raspberrypi.org/documentation/installation/installing-images/linux.md|Linux]]
 \\ \\
 ====== See Also ======  ====== See Also ====== 
  
   * [[elibrary-partnership|Tambayayong eLibrary Partnership]]   * [[elibrary-partnership|Tambayayong eLibrary Partnership]]
 +  * [[Troubleshooting eLib Box]]
 +  * [[Raspbian Upgrade]]