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

From Sugar Labs
Jump to navigation Jump to search
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* on another computer, visit [https://arm.fedoraproject.org/ arm.fedoraproject.org] and download the Sugar on a Stick image,
 
* 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],
 
* 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.
+
* 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 ==
  
== Fedora Media Writer ====
+
Remote access is pre-enabled through SSH.  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 [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.
 
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.
Line 18: Line 31:
 
* Choose rpi3 from drop-down in Fedora Media Writer
 
* Choose rpi3 from drop-down in Fedora Media Writer
 
* Write microSD
 
* Write microSD
* Insert in Raspberry Pi 3 slot and power up
 
  
 
== Wireless ==
 
== Wireless ==
  
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 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
 +
 +
And then reboot.
 +
 +
See also [https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi?rd=Raspberry_Pi#Wifi: FAQ]

Revision as of 20:56, 9 August 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. 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