Difference between revisions of "Sugar on a Stick/Raspberry Pi"

From Sugar Labs
Jump to navigation Jump to search
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== SoaS on Raspberry Pi ==
+
How to use Sugar on a Stick on a Raspberry Pi;
  
*[/pub/fedora/linux/releases/26/Spins/armhfp/images/Fedora-SoaS-armhfp-26-1.5-sda.raw.xz Fedora-SoaS-armhfp-26-1.5-sda.raw.xz] (latest),
+
* on another computer, visit [https://arm.fedoraproject.org/ arm.fedoraproject.org] and download the Sugar on a Stick image,
 +
* write the image to a microSD card, see [[#Fedora_Media_Writer]] below, or use the [https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi Fedora Raspberry Pi Documentation],
 +
* insert the microSD card into the Raspberry Pi, and turn it on,
 +
* answer the post-install questions; time zone, root password, and add a user,
 +
* at the login prompt log in with the added user, and Sugar will start.
  
Home View (F3 key).
+
== Security Warning ==
  
[[File:Screenshot_of_Home_.png | 700px | 600px]]
+
Remote access is pre-enabled through SSH, for both root and any user accounts. Risk can be reduced by choosing strong passwords in the post-install setup questions.  Can be fixed after install with Terminal command;
  
Neighborhood View, with wireless firmware loaded, and F1 key pressed.
+
sudo chkconfig sshd off
  
[[File:Screenshot_of_Mesh2_.png | 700px | 600px]]
+
== Security Updates ==
  
=== Suggested Installation ===
+
Security updates can be downloaded with Terminal command;
  
Write image to microSD card using [https://github.com/MartinBriza/MediaWriter/releases Fedora Media Writer] (FMW), which is available for Mac OS X, Microsoft Windows, Fedora Linux, and Ubuntu Linux ("...as a flatpak (apt install flatpak), or from source.)
+
sudo dnf update
*
+
 
  Here are the test steps;
+
== Fedora Media Writer ==
 +
 
 +
How to write an image to microSD card using [https://github.com/MartinBriza/MediaWriter/releases Fedora Media Writer] (FMW), which is available for Mac OS X, Microsoft Windows, Fedora Linux, and Ubuntu Linux as a flatpak, or from source.
  
 
* download the raw.xz file
 
* download the raw.xz file
 
* select and extract, result is a raw file
 
* select and extract, result is a raw file
* start FMW
+
* start Fedora Media Writer
 
* select "Custom"
 
* select "Custom"
 
* select the raw file
 
* select the raw file
* Choose rpi3 from drop-down in FMW
 
 
* Insert microSD in Mini Card Reader and insert in USB port
 
* Insert microSD in Mini Card Reader and insert in USB port
* Choose rpi3 from drop-down in FMW
+
* Choose rpi3 from drop-down in Fedora Media Writer
 
* Write microSD
 
* Write microSD
* Insert in Raspberry Pi 3 slot and power up
 
  
Fedora SoaS does not include wireless firmware, see the [https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi?rd=Raspberry_Pi#Wifi: FAQ] for reason and a fix.  The fix can be applied in sugar terminal;
+
== Wireless ==
 +
 
 +
Wireless does not work because firmware has a license restriction, download it in Terminal;
 
  sudo curl <nowiki>https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/master/brcm80211/brcm/brcmfmac43430-sdio.txt</nowiki> -o /lib/firmware/brcm/brcmfmac43430-sdio.txt
 
  sudo curl <nowiki>https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/master/brcm80211/brcm/brcmfmac43430-sdio.txt</nowiki> -o /lib/firmware/brcm/brcmfmac43430-sdio.txt
  
My Settings, Network, Collaboration Server can be set to jabber.sugarlabs.org.  The default in Sugar 0.110 is not to use jabber.sugarlabs.org unless configured.  When jabber.sugarlabs.org server is not running, please write to systems@lists.sugarlabs.org to ask for help.
+
And then reboot.
 +
 
 +
See also [https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi?rd=Raspberry_Pi#Wifi: FAQ]

Revision as of 05:12, 15 November 2017

How to use Sugar on a Stick on a Raspberry Pi;

  • on another computer, visit arm.fedoraproject.org and download the Sugar on a Stick image,
  • write the image to a microSD card, see #Fedora_Media_Writer below, or use the Fedora Raspberry Pi Documentation,
  • insert the microSD card into the Raspberry Pi, and turn it on,
  • answer the post-install questions; time zone, root password, and add a user,
  • at the login prompt log in with the added user, and Sugar will start.

Security Warning

Remote access is pre-enabled through SSH, for both root and any user accounts. Risk can be reduced by choosing strong passwords in the post-install setup questions. Can be fixed after install with Terminal command;

sudo chkconfig sshd off

Security Updates

Security updates can be downloaded with Terminal command;

sudo dnf update

Fedora Media Writer

How to write an image to microSD card using Fedora Media Writer (FMW), which is available for Mac OS X, Microsoft Windows, Fedora Linux, and Ubuntu Linux as a flatpak, or from source.

  • download the raw.xz file
  • select and extract, result is a raw file
  • start Fedora Media Writer
  • select "Custom"
  • select the raw file
  • Insert microSD in Mini Card Reader and insert in USB port
  • Choose rpi3 from drop-down in Fedora Media Writer
  • Write microSD

Wireless

Wireless does not work because firmware has a license restriction, download it in Terminal;

sudo curl https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/master/brcm80211/brcm/brcmfmac43430-sdio.txt -o /lib/firmware/brcm/brcmfmac43430-sdio.txt

And then reboot.

See also FAQ