Test Config Notes

From OLPC
Revision as of 22:02, 6 September 2007 by Kimquirk (talk | contribs)
Jump to navigation Jump to search

Turn on All logs

Enable logging

  • The activity names are those which show up when you scroll over them in the home view.
  • The sugar_emulator_debug will enable the logs for presence and telepathy.
  • Each activity that you want to see a log of must be added to the .sugar.debug file.
  • Reboot the computer after changing the files.


Reformat a bad UBS drive

MAC:

  1. Insert the USB into your mac
  2. Open Disk Utility (which you can find in the applications/utilities directory)
  3. Click on First Aid; Verify Disk; then Repair Disk
  4. Click on Erase tab; then the Erase button at the bottom.


Modify the Mesh Discovery Sequence

You can put the following values in /etc/NetworkManager/mesh-start

  • school-mpp
  • infra
  • xo-mpp
  • local

These will control where the _mesh_ device starts. Since the mesh device is the first device that gets picked at startup, this affects the immediate connection search of the laptop.

Remember, the current automatic connection cycle is this. You can jump to a specific step in this cycle by putting the string above into mesh-start.

/* Steps:
 *
 * 1. For each channel in [1, 6, 11]:
 *    a. try DHCP
 *    b. if DHCP times out, try next channel
 *    c. if DHCP response includes a non-link-local IP address,
 *      then CONNECTED/DONE
 *
 * 2. Try last successful AP connection
 *    a. if success then CONNECTED/DONE
 *
 * 3. For each channel in [1, 6, 11]
 *    a. try DHCP
 *    b. if DHCP times out, try next channel
 *    c. if DHCP response includes a link-local IP address,
 *      then acquire autoip address and apply DHCP settings (except for
 *      IP address), CONNECTED/DONE
 *
 * 4. Jump to channel 1
 *    a. acquire autoip address, CONNECTED/DONE
 */