Tests/Start up and Activation

From OLPC

< Tests
Revision as of 04:05, 27 January 2011 by Skierpage (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Activation via USB stick

Actions

  1. Put a signed image on the laptop. (write protected machines will only boot into signed images, even if they are activated)
  2. Get the laptop into secure mode and make sure that it doesn't have an ak tag.
  3. Create an activation key.
    • See: Activation And Developer Keys for instructions on this. you should look at the section labeled "Getting Activation/Developer Keys for one or many xo's"
  4. Boot the laptop without inserting the activation key, and ensure that the laptop fails to boot.
    • Try whatever you want during boot up.
    • If you are able to get to the ok prompt, the laptop is not secure.
  5. Boot the laptop with the activation key inserted. (this should allow the laptop to boot)
  6. Shut down the laptop.
  7. Boot the laptop without the activation key inserted. (this should work, as the key should have been saved to the disk)
  8. Do an olpc-update to the latest release build.
  9. Shut down and boot. (again, it should work)

Verify

  • The laptop goes into secure mode after enabling security; you are not able to boot without an activation key.
  • Booting the laptop with the activation key activates the laptop, allowing it to boot without the key inserted anymore.
  • The laptop can still function as normal and do updates via the web, while staying activated.

Activation Security scenario 1: Basic Activation

Uruguay has been planning for their delivery for months and has identified two country admins and a number of trusted deployment admins to activate laptops at the schools. These deployment admins are dispatched to the location where skids are being disassembled for shipment to individual schools, so they can collect serial numbers for the schools that they are responsible for.

Setup:

  1. The Deployment admin provides the list of valid serial numbers to the country admin.
  2. School server has been setup at the local schools.
  3. The country admin uploads the deployment admin's list serial numbers to the olpc global server and receives a set of activation codes. He creates a usb stick with these activation codes and sends it to the deployment admin.

Actions:

  1. At the school, the deployment admin connects the usb stick with the activation codes into the school server.
  2. Open an XO that was on the original list of serial numbers.
  3. Open an XO that was NOT on the original list of serial numbers; it should not come up working, or it will stop working after the activation grace period.
  4. At the second school, there is no school server set up yet. The trusted Admin has the activation codes on a memory stick, and inserts that stick into the first XO. Check to see if the XO comes up working.
  5. Insert the USB stick into an XO that was not on the original list. Check to see if the XO comes up working.

Verify:

  • That an XO that was on the original list of serial numbers is able to find the server via the mesh and activate, and that it is usable right away. If a "grace" period of time was allowed (1 week without activation, for instance) then the original laptop will continue to work after that week.
  • That an XO that was not on the original list of serial numbers does not come up working, or will stop working after the activation grace period.
  • That the XO which the memory stick was inserted into comes up working and continues to work past the activation grace period.
  • That an XO that was not on the original list does not activate even with the USB stick directly connected to it.

Activation Security scenario 2: Disable stolen XO

Maya's laptop was stolen from her home. It had been issued to her and the local school server had provided the initial activation when she got the laptop.

Setup:

  1. Activate an XO with a valid activation key through the server

Actions:

  1. The laptop is reported stolen to the school adminstrator. The admin uses the server UI to report the full name (or the serial number) of the stolen laptop.
  2. The OLPC global server adds this laptop to the 'Deactivate' list.
  3. Use Maya's laptop without access to the internet, and check to see if it still works.
  4. Connect Maya's laptop to the internet, and check to see if it is deactivated.
  5. Power the laptop off/on and check if it boots up.

Verify:

  • That Maya's laptop will still work if it does not have access to the internet.
  • That Maya's laptop does not work when it has access to the internet.
  • That Maya's laptop will not boot up after being powered down once it is deactivated.

Activation Security scenario 3: Child moves to new School

Pari has a laptop she has been using for months. She moves to a new town or new school which also has an OLPC school server.

Setup:

  1. Pari's laptop is up and running; documents, browsing, books.
  2. Pari moves to a new school server.

Actions:

  1. Check to see if Pari's laptop is seen by the new server.
  2. Have Pari's teacher go into the school server interface and designate the new computer as having 'moved' to this school zone.
  3. Pari's laptop continues to work.
  4. Then, tell the school server not to allow this laptop.

Verify:

  • Pari's laptop should be seen by the new server.
  • That Pari's teacher is able to designate Pari's computer as having moved without any problems.
  • That Pari's laptop continues to work.
  • When the server is told to disallow the laptop, Pari's original school lease will expire and the laptop will deactivate.

Activation Security scenario 4: Server is replaced

The activation and lease information that is held on the local school server may be lost if the server is replaced. Need to ensure that any information the server keeps locally can be overruled by OLPC's global server (?).


Activation Security scenario 5: Lease Mechanism

Tom is a student who received a laptop from a school in Sau Paulo. After a month, his family moves to a town without laptops or internet connectivity. When the lease runs out (the minimum amount of time without connecting with a school server, the laptop should fail to boot.

Setup:

  1. Successfully activate Tom's XO with a school server.
  2. Set the lease period to a short time for this test (a few days or hours, if possible).

Actions:

  1. After the lease period, try to access the internet.
  2. Reboot Tom's XO.

Verify:

  • That Tom's XO has no access to the internet or a school server for longer than his lease period.
  • This machine should have been listed in the 'Deactivate' list, and get a deactivate message. (Does it have a local lease mechanism so it will stop working after some period of time, or only after the period of time + next connect to internet?)
  • That, after having rebooted, Tom's XO no longer boots.

Start up scenario 1: Server support

Jose is a 6 year-old student at a school in Brazil is being issued his XO laptop today. The school has spent weeks preparing for this day. The school server is set up and has internet connectivity. All the laptops have been activated by the school server, which contains books and software specific for Jose's grade level. The teacher has a specific activity she asks all the children to work on.

Setup:

  1. School server setup with a school text book for content and appropriate activation keys for 5 XOs.
  2. Activate all 5 XOs

Actions:

  1. Designate one of the XOs as the teacher; boot it and select fullname(?), nickname, and XO color.
  2. On teacher's XO, download a book from the school server (need details on how to do this).
  3. On teacher's XO, open the book and share it (need details)
  4. For the other 4 XOs, turn them on, wait for boot up, and select fullname(?), nickname, and XO color. Designate one of the XOs as Jose. [Should two student nicknames the same?
  5. From Jose's XO, view the mesh network.
  6. From the mesh view, click on the teacher's shared book.
  7. From the other XOs, click on the teacher's shared book
  8. Turn the school server back off and on.

Verify:

  • From Jose's XO, ensure that the mesh shows all other XOs
  • Ensure that all XOs can access and read the teacher's shared book.
  • From the school server, ensure that all 5 XOs have been registered.
  • That, upon the appropriate event, the school server should force an archive or back up of the user data for all 5 machines.
  • Upon appropriate event (turning off and back on again, or waiting a period of time), the school server should force an archive or back up of the user data for all 5 machines. (is this initiated by the server or XO?)

Start up scenario 2: No server support

Maria is a 10 year-old student in a school being issued XOs. This school just received their server but not set up or has no internet connectivity. Activation will occur via USB stick. The teacher is not prepared with activities or curriculum, but will allow the children time to explore the laptops on their own.


Setup:

  1. No school server, no Access Point (to start)
  2. Use a USB to activate 5 XOs (ensure that these are 'out of the box' XOs)

Actions:

  1. For all 5 XOs, turn them on, wait for boot up, and select fullname(?), nickname, and XO color. Designate one of the XOs as Maria.
  2. From Maria's XO, go to the mesh and designate 2 other XOs as 'friends'
  3. From Maria's XO, start a chat session with one of the friends
  4. Add an off-the-shelf wireless router (such as Linksys) with an uplink to the internet. No WEP key.

Verify:

  • Ensure that the mesh shows all other XOs from each student XO.
  • Ensure that, once the 2 XOs have been added as friends, the friends show up in the group mesh view, and all XOs continue to show up in neighborhood mesh view.
  • That you are able to start the chat session.
  • Ensure that Maria's XO can connect to the AP, and can now browse the internet

Start up scenario 3: Server added later

This is a continuation of scenario 2, where the Server is introduced into the school after the students have activated their laptops and started creating documents.

Setup:

  1. Five XOs are activated and have created shared documents, video and etoys programs.

Actions:

  1. Power on the school server.

Verify:

  • That, upon powering on the server, it should find all the XOs and register them.
  • That the XOs are able to access the internet through the school server.
  • That the school server provides a back up of the student's files.

Start up scenario 4: Server start up

The server hardware and cables have arrived early at a large school in Uruguay. The local administrator takes the hardware out of the box and would like to set up the server and download the curriculum books and software that have been created ahead of time. There will be 3 radios (all active antennas? or 2 AAs and one embedded radio?)

Setup:

  1. Ensure uplink connection is available

Actions:

  1. Plug in the school server, keyboard, mouse, display, connect active antennas, connect uplink.
  2. Start Server UI for choosing content (?)
  3. Start an XO.

Verify:

  • Ensure that the server boots up and provides diagnostic info: Connectivity to uplink, number of live radio channels (antennas), IP Address for uplink, number of wireless hosts... (what else do we want to show at start up?)
  • Ensure the school server provides the appropriate backup and reporting
  • Ensure the School server sees the XO when you start it and can provide content to it (automatically?)
Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox
In other languages