Test Config Notes/lang-es

From OLPC
< Test Config Notes
Revision as of 21:30, 4 June 2011 by JZA (talk | contribs) (Manufacturando datos)
Jump to: navigation, search
  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to Test Config Notes/lang-es/translations HowTo [ID# 256840]  +/-  



Previo Siguiente

Builds e Infrastructura

Paso 0: obten una llave de desarrollador y deshabilita la seguridad

Instrucciones para esta area fue enviada a Activation and Developer Keys

olpc-update

Esta sección ha sido movida a Olpc-update.

Notas del firmware

Para instalar una nueva versión: Manual de instalación del firmware

Arreglando datos del reloj XO

Del compilado 693 en (quizas antes), el tiempo esta fijado automaticamente la primera vez que te conectas a la red.

Del compilado 641 en (quizas antes), si tienes una buena conexión de internet puedes fijar la fecha/tiempo registrando como root y escribiendo:

 ntpdate pool.ntp.org

~~ Puedes encontrar la hora y fecha actual tecleando en la terminal el comando "date". Actualmente no hay manera de que el reloj pueda estar en el "escritorio" o pantalla principal; pero puedes escribir eso en python como un cambio a la interfaz de Sugar, y registrarlo como mejor al equipo de XO!! Que el amor comienze Listen~~

En las laptos anteriores del programa Give One Get One, ntpdate no fue instalado. Puedes configurar la hora/fecha manualmente registrandote como root y escribiendo el comando:

 date

en el cual mostrará la laptop actual hora y fecha. Usando la mismo formato de tiempo y fecha que devuelve el comando date, escribe:

 date --set "Mon Apr 1 etc. etc."

Some pre-test machines don't have valid manufacturing data. This isn't too much of a problem, but they also have clocks which are set to crazy values, which is. To fix this, boot and press Esc when prompted to get an OFW prompt. At the 'ok' prompt type:

clock-node @ iselect  decimal   00 40 16   14 09 2007  set-time

El numero aqui de tiempo y fecha son: segundo, minuto, hora, dia, mes y año. Puedes sustituir el tiempo actual y la fecha que quieras, pero la maquina se activará correctamente como una larga y mas explicita fecha. Puedes usar el valor anterior, de esta manera.

Pasos para corregir valores de formato invalidos en laptops protegidas

Personalizar la imagen NAND

Pruebas de Internacionalización

Toda la información para Quanta para poner en el flash SPI y asegurar que las laptops vendrán usando el teclado apropiado y el lenguaje indicado descrito aquí: mfg-data

Análisis del log de cambios del kernel

At http://dev.laptop.org/~bert/joyride-pkgs.html is the joyride changelog. In it you'll see the version of the kernel. An example of a Kernel change is in joyride build #258, and the new version of the kernel for joyride build #258 is kernel.i586 0:2.6.22-20071111.5.olpc.c1d02f5e6853b99

You can find that information for _any_ kernel by running 'uname -r'.


That 'c1d02f5e6853b99' uniquely identifies the version of the kernel. You can look it up in git (or gitweb) and see the changelog for precisely that kernel: http://dev.laptop.org/git?p=olpc-2.6;a=log;h=c1d02f5e6853b99

From that page, you should fairly easily be able to work out whether the patch you're interested in is included or not.

Actividades y Sugar

Ver Actividades.

Verifica la versión que tienes de tu actividad

In Release notes/8.2.0, the Home view in List view mode displays the version of each installed activity.

In any release, each activity's activity.info file has this information.

 cat ~olpc/Activities/Activity_name.activity/activity/activity.info 
    • There may still be activities in the old location /usr/share/activities/
  • Look for the activity_version setting.

Desactivar suspender/resumir y el protector de pantallas

Puedes apagar suspender/resumir escribiendo:

 touch /etc/ohm/inhibit-suspend

Apaga el manejo de energía:

  • Para un booteo (hasta que la laptop sea reiniciada):
     /sbin/service ohmd stop
  • Para todo los reinicios:
    • Como root, tipo:
     rpm -e ohm

Para apagar el protector de pantalla, teclea:

 xset dpms force off

Panel de control

Teclas rapidas

Wireless y redes

Eliminando la configuración de redes

  1. Abre una terminal virtual
  2. rm /home/olpc/.sugar/default/nm/network.config

Conectividad al Apple Extreme

  1. Ve a: http://www.corecoding.com/utilities/wep2hex.php y convierte una contraseña en una hexadecimal.
  2. Haz clic en el AP en la vista de vecinadario matriz (neighborhood mesh)
  3. Escoje el ingreso hexadecimal para una llave; y escoge la llave 'compartida' en vez de 'abierto'.
  4. Debes ser capaz de asociar y autenticarte ahora.


Matriz de AP inalambricos - Se necesitan pruebas de voluntarios

Probando la diferentes condiciones de conectividad

  1. Bajo un arbol
  2. Conectado a un AP
  3. Una laptop actuando como un MPP
  4. Misma matriz mismo servidor

Prueba la red y los detalles de maya (mesh)

Modifica la secuencia de descubrimiento en maya (mesh)

Puedes modificar los siguientes valores en /etc/NetworkManager/mesh-start

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

Estos controlarán donde los se inicie la malla. Desde que la maya inicia con el primer aparato que es recogido al inicio, esto afecta inmediatamente la búsqueda de conexiones de la laptop.

Recuerda que el ciclo de conexiones automáticas es el siguiente. Puedes saltar a un ciclo especifico incluyendo las cadenas anteriores al inicio de la maya.

/* Pasos:
 *
 * 1. Para cada canal en [1, 6, 11]:
 *    a. intenta DHCP
 *    b. si DHCP desiste, intenta el siguiente canal
 *    c. si la respuesta DHCP incluye una dirección IP non-link-local,
 *      entonces CONNECTED/DONE
 *
 * 2. Intenta la ultima conexión AP exitosa
 *    a. si resulta con exito entonces CONNECTED/DONE
 *
 * 3. Para cada canal en [1, 6, 11]
 *    a. intenta DHCP
 *    b. si DHCP desiste, intenta el siguiente canal
 *    c. si la respuesta DHCP incluye una dirección IP non-link-local,
 *      entonces adquiere una autoip y aplica la configuración de DHCP (excepto
 *      IP address), CONNECTED/DONE
 *
 * 4. Salta al canal 1
 *    a. acquire autoip address, CONNECTED/DONE
 */

Actualiza el firmware inalambrico

Please note that you do NOT need to get newer versions of wireless firmware if you are running a released version of OS. All releases include an appropriate, tested version of wireless firmware. These notes are for testing purposes only.

  • You can check what version you are running with: ethtool -i eth0
  • Next download the latest Libertas firmware, (non-released, released), and unzip it with: tar xzf <filename>
  • Move, delete or rename the 'usb8388.bin' file that is currently being used in /lib/firmware/'
  • Copy the new 'usb8388.bin' file from where you unzipped it into /lib/firmware/' (if the .bin file has a name other than usb8388, change it to usb8388.bin)
  • You could Reboot, or simply rmmod usb8xxx ,then modprobe usb8xxx ; then check the version with: ethtool -i eth0

Activa el debugeo del wireless

Instrucciones en como activar el debogeo de drivers puede ser encontrado aquí.

Convierte tu XO en un sniffer

  1. Install tcpdump ('yum install tcpdump' will probably do it)
  2. killall NetworkManager
  3. ifconfig msh0 down
  4. ifconfig eth0 down
  5. echo ${TRAFFIC_MASK} > /sys/class/net/eth0/lbs_rtap
  6. ifconfig rtap0 up
  7. tcpdump -i rtap0 -w outputfile.dump
  8. when you done capturing traffic type ctrl-c

TRAFFIC_MASK bits:

  • Data frames: 0x1
  • Mgmt frames but beacons: 0x2
  • Beacons: 0x4

Capturando los datos de wireless

Instructions for capturing wireless data can be found here.

Turn on MPP Capability

In build 693 and later, automatic MPP (mesh portal) is turned off. If you want to turn it on, edit /etc/NetworkManager/dispatcher.d/mpp.py and remove the line near the start which says 'exit 0'. Next time you connect to a network, the mesh portal will turn on.

In build 570 or so, automatic MPP (mesh portal) is also turned off. If you want to turn it on in these early builds, log in as root (either from the VT with Ctl+Alt+F1 or 'su -' from the Dev Console in sugar), and do:

 /sbin/chkconfig --level 345 NetworkManagerDispatcher on
 /sbin/service NetworkManagerDispatcher start

Next time you reboot (or the next time you click on an AP) the mesh portal will come back on.

Warning: Laptops in MPP mode will not participate properly in sharing with other XO laptops.


MPP with ppp or eth0

Para convertir una XO a un MPP con PPP (modem) o Eth0 (usb-eth dongle): XO con modem celular

Mesh y WDS

Alguna información en problemas relacionados para una mala interacción entre routers inalambricos Linksys y XO puede ser encontrada aquí.

Configurando un servidor Jabber

Configurando Ejabberd

Seguridad

Activación y la llave de desarrollo

Para aprender sobre activación y llaves de desarrollo de como hacer tu laptop insegura, ver Activación y Llave de desarrollo.

Como pre-activar una laptop: Pre-active una XO

Prendiendo y apagando aislamiento de actividades (encapsulamiento)

En la actualización.1 (build 630+), aislamiento esta activado.

Para apagar el aislamiento
rm /etc/olpc-security && reboot
Para reactivar el aislamiento
touch /etc/olpc-security && reboot


Anteriormente las construcción de joyride, para jugar con actividades de encapsulamiento, debes:

  1. rainbow-daemon
  2. touch /etc/olpc-security
  3. restart sugar (e.g. tipos Ctrl-Alt-Erase)
  4. Intenta varias actividades; porfavor examina la salida de rainbow-daemon
  5. rm /etc/olpc-security
  6. restart sugar

Nota: es importante que el rainbow-daemon deba ser ejecutado cuando Sugar reiniciando. Así, rainbow-daemon debe ser iniciado ya sea en la terminal virtual (i.e. tecleando despues Ctrl-Alt-F1 [F1 is the mesh-key]) o bajo SSH.

Porfavor preguntas directas y comentarios dirigirlos a mi: --Michael Stone 13:02, 17 September 2007 (EDT)

Logs

Que logs van con los bugs?

  • Activities
    • All activity logs are located in /home/olpc/.sugar/default/logs
    • Activity logging is turned on by default in builds after 650/joyride 350
    • These logs will contain any warnings and or errors with tracebacks, which should help the developers debug their activity
    • Also, the shellservice.log will sometimes contain information as to why an activity failed to launch.
    • Note: each time you restart X, the old logs will be stored in a directory in the same location, and new ones will be generated.
  • Journal
    • There is a journal log in /home/olpc/.sugar/default/logs
    • Also, the datastore.log file often has implications for problems with the journal.
      • Especially with problems resuming files or transferring files to/from USB keys
  • Network/Collaboration Problems
    • /var/log/messages
      • This is a circular buffer, which contains a lot of low level debugging information
    • in /home/olpc/.sugar/default/logs
      • presenceservice.log contains higher level network debugging information
      • telepathy-gabble.log/telepathy-salut.log (logs for salut and gabble; the collaboration software)
  • Kernel Problems
    • dmesg (another circular buffer, which contains low level debugging information)

Activa todos logs

Para activar logeo completo del kernel

  • cd /boot
  • modify olpc.fth
  • add ignore_loglevel inside quotations

Obtener información de versión

See How to check the OS and firmware versions.

Servidor escolar

Miscelanea

Formatea una memoria USB

MAC:

  1. Insert the USB into your mac
  2. Open Disk Utility (which you can find in the applications/utilities directory)
  3. Click on '967.5 MB USB 2.0...', the usb disk on the left.
  4. Click on the Partition tab
  5. Click on Partition to reformat the USB (this erases everything on the stick)

Comandos de Linux Basicos

(See )

Manufacturando datos

La manufactura de datos describe que el hardware de la laptop asi como la configuración de la activación. mfg-data

Previo Siguiente