XS Installing Software 0.6: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 19: Line 19:
=Installing the Software=
=Installing the Software=


The install from USB key will eventually be automatic upon boot. While the install is currently automated (not interactive), it is not performed automatically upon boot.
This varies, depending on whether you have a version of the server software designed to auto-install or not.


# Boot from the USB Key or CD-ROM -- Getting an older system to boot from a USB key can be difficult, but most will do it.
==Interactive Install==
# Select "Run from Image" at the initial boot screen.
# When it has finished booting, login as root (no password is required) and type:
./olpc-install
# When it has finished installing, you will need to reboot. Remove the CD-ROM or USB key after power-down, but before the boot process begins.


You should now have a machine which somewhat resembles a school server.


=Release Notes=
==Auto Install==

==OLPC_XS_124==
This release has basic network functionality. It supports laptops on the mesh.

Missing:
* Registration
* Web services
* A configuration interface

Not Working:
* /etc/named.conf isn't being installed correctly from the xs-config RPM. The fix is:
cp /etc/named.conf.olpcnew /etc/named.conf
* Hotplug of the mesh interfaces doesn't trigger a restart of the olpc-mesh-config, which is needed for the mesh to work.

=Manual Configuration=
There are some site-specific configuration which will need to be manually administered until we have a configuration interface in place. Specifically, these are setting up the WAN interface and assigning a domain name.

==WAN Connection==

The file which configures this interface is <tt>/etc/sysconfig/network-scripts/ifcfg-eth0</tt>.

==Domain Name==

This name currently set to <tt>random.xs.laptop.org</tt> is unfortunately embedded in a number of files:
/etc/named.conf
/var/named/school.zone.inaddr.db
/var/named/school.zone.16.inaddr.db
/var/named/school.zone.32.inaddr.db
/var/named/school.zone.48.inaddr.db

Revision as of 15:47, 24 August 2007

This page describes how to obtain a copy of the school server software, load it onto media, and install it onto a system. For a more complete description of the software repositories, see XS Software Repositories.

This page is very much under construction.

Downloading the Software

You can obtain the latest image from:

wget http://xs-dev.laptop.org/xs/OLPC_XS_LATEST.iso

This can be copied onto a CD or DVD using your favorite toaster software.

It may also be copied onto a USB key, using the livecd-tools provided by Fedora 7:

livecd-iso-to-disk OLPC_XS_LATEST.iso /dev/sdb1

where /dev/sdb1 represents the USB key being copied onto.

Installing the Software

The install from USB key will eventually be automatic upon boot. While the install is currently automated (not interactive), it is not performed automatically upon boot.

  1. Boot from the USB Key or CD-ROM -- Getting an older system to boot from a USB key can be difficult, but most will do it.
  2. Select "Run from Image" at the initial boot screen.
  3. When it has finished booting, login as root (no password is required) and type:
./olpc-install
  1. When it has finished installing, you will need to reboot. Remove the CD-ROM or USB key after power-down, but before the boot process begins.

You should now have a machine which somewhat resembles a school server.

Release Notes

OLPC_XS_124

This release has basic network functionality. It supports laptops on the mesh.

Missing:

  • Registration
  • Web services
  • A configuration interface

Not Working:

  • /etc/named.conf isn't being installed correctly from the xs-config RPM. The fix is:
cp /etc/named.conf.olpcnew /etc/named.conf
  • Hotplug of the mesh interfaces doesn't trigger a restart of the olpc-mesh-config, which is needed for the mesh to work.

Manual Configuration

There are some site-specific configuration which will need to be manually administered until we have a configuration interface in place. Specifically, these are setting up the WAN interface and assigning a domain name.

WAN Connection

The file which configures this interface is /etc/sysconfig/network-scripts/ifcfg-eth0.

Domain Name

This name currently set to random.xs.laptop.org is unfortunately embedded in a number of files:

/etc/named.conf
/var/named/school.zone.inaddr.db
/var/named/school.zone.16.inaddr.db
/var/named/school.zone.32.inaddr.db
/var/named/school.zone.48.inaddr.db