Difference between revisions of "Software projects/OS/SOLEIL"

From Pandora Wiki
Jump to: navigation, search
m (Accessories choice)
(Setup)
Line 52: Line 52:
 
* Once the rootfs is installed on the SD card, you have to setup a "Master" client PC. Edit /etc/dhcpd.conf, and replace the 00:00:00:00:00:00 MAC adress with the one from this "Master".
 
* Once the rootfs is installed on the SD card, you have to setup a "Master" client PC. Edit /etc/dhcpd.conf, and replace the 00:00:00:00:00:00 MAC adress with the one from this "Master".
 
* The Master PC has a full read/write access to the NFS, Network File System.
 
* The Master PC has a full read/write access to the NFS, Network File System.
* Connect the ethernet adapter that will be connected to the LAN. It will be named eth0 and this is important as the network setup is static.
+
* Connect only the ethernet adapter that will be connected to the LAN. It will be named eth0 and this is important as the network setup is static.
 
* Boot the Pandora. Once you see the Xfce desktop, SOLEIL is ready.
 
* Boot the Pandora. Once you see the Xfce desktop, SOLEIL is ready.
 +
* If you have a two adapter setup, shut down the OP, plug the internet-side adapter (will be eth1), and boot again.
 +
* If you made a mistake with the ethernet names, edit /etc/udev/rules.d/70-persistent-net.rules .
  
 
= Installing the extra features in the minimal rootfs =
 
= Installing the extra features in the minimal rootfs =

Revision as of 21:09, 19 February 2013

Disclaimer

Helping this project

What is SOLEIL ?

  • In french, Soleil means Sun.
  • SOLEIL is a Slackware operating system.
  • The Pandora version of SOLEIL is based on SL4P, Slackware for Pandora, itself based on Slackware ARM.

Ok, but what is SOLEIL ?!!?

  • It's the core of a mobile network. In a few seconds, you can use your Pandora to act as:
    • a firewall/gateway/router
    • a DNS server
    • a DHCP server
    • a NFS server
    • a Inetd server
    • a distcc server, networked distributed compilation system for faster ARM compilations
    • a PXE boot server to start simultaneously multiple x86 32 bits and 64 bits PC. Currently supported are:
      • Dyne:bolic, a Linux home studio for making music
      • System Rescue CD, a Gentoo-based Linux to repair filesystems, recover data etc.
      • GParted, a Debian-based Linux for partitioning and formatting hard drives, SSD, SD cards etc.
      • Ghost for Linux (G4L), a powerful hard drive clone/backup utility
      • MemTest, different versions of a RAM testing tool
      • Hardware Detection Tool, for quickly make an inventory of the booted PC's hardware
    • And the main feature is to act as a PXE boot server to start two persistent versions of Slackware, 32 bits and 64 bits

Media choice

Accessories choice

Installation

Rootfs versions

  • There's two rootfs, minimal and maximal.
  • Minimal (16G SD card) only contains a 32 bit Slackware PXE, and all extra features can be installed (at the exception of the 64 bit PXE) as long as you have internet. Be careful to use a 32G SD card if you want to install extra features.
  • Maximal (32G SD card) contains all features.

Setup

  • Once the rootfs is installed on the SD card, you have to setup a "Master" client PC. Edit /etc/dhcpd.conf, and replace the 00:00:00:00:00:00 MAC adress with the one from this "Master".
  • The Master PC has a full read/write access to the NFS, Network File System.
  • Connect only the ethernet adapter that will be connected to the LAN. It will be named eth0 and this is important as the network setup is static.
  • Boot the Pandora. Once you see the Xfce desktop, SOLEIL is ready.
  • If you have a two adapter setup, shut down the OP, plug the internet-side adapter (will be eth1), and boot again.
  • If you made a mistake with the ethernet names, edit /etc/udev/rules.d/70-persistent-net.rules .

Installing the extra features in the minimal rootfs

  • Get internet, be root using su - , then, if you want to install GParted:
cd /etc/SOLEIL/installers
sh 4.1-x86-GPARTED.sh
  • Same for G4L, System Rescue CD and Dyne:bolic
  • There is no way to install the Slackware 64 bit PXE filesystem for now
  • For the Slackware installers, get the 32 and 64 bits install-dvd .isos here: http://mirrors.slackware.com/slackware-iso/ , and copy them respectively in /srv/exports/nfs/SOLEIL/installers/slackware/14.0/x86_32/iso/ and /srv/exports/nfs/SOLEIL/installers/slackware/14.0/x86_64/iso/ , then reboot the Pandora.

Switch back to normal Slackware mode

  • It's pretty simple:

chmod -x /etc/rc.d/rc.SOLEIL chmod +x /etc/rc.d/rc.networkmanager

  • And reboot.
  • Invert the chmod's to come back to SOLEIL.

Differences with SL4P

  • There is no started network manager, all IP addresses are configured statically.
  • The previously mentioned services are running.
  • USB host is enabled by default.