User:Kevgor/Miscellaneous Technical Notes

From OLPC
< User:Kevgor
Revision as of 12:17, 1 November 2011 by Kevgor (talk | contribs)
Jump to: navigation, search

Miscellaneous Technical Reminder Notes

November 2011

Thanks to Daniel Drake, Mikus Grinbergs and Yioryos Asprobounitis for all their help on some these


Install Developer Key

su -
wget -P /security https://activation.laptop.org/devkey/xxxxxxxxx/develop.sig

Boot keys

signed install - all 4 game keys on right-hand on display

text boot - check-mark game key on right-hand side of display

boot to OFW - esc (X) keyboard key

Unsigned Build reflash commands from OFW

XO1 - jffs2 from os-builder

copy-nand osx.img

XO1

update-nand osx.onu

XO1.5 and 1.75

fs-update osx.zd4

Start cups service

/sbin/service cups start

USB ethernet auto-assign workaround

avahi-autoipd eth1

Turn on tap-to-click

Persistent for older CL1/CL1A - edit to turn on or off

/etc/modprobe/olpc.psmouse.conf

Non-Persistent for newer CL1A - to turn on

echo -n C > /sys/bus/serio/drivers/psmouse/serio*/flags

Non-Persistent for newer CL1A - to turn off

echo -n c > /sys/bus/serio/drivers/psmouse/serio*/flags

Adopt authority/permissions hint

add the NOPASSWD option in /etc/sudoers just for the scripts/commands you need

Sample yum syntax

For download only of yum updates to an External USB Volume PATRIOT with subdirectory called UpdateRpms

yum update --downloadonly --nogpgcheck --downloaddir=/media/PATRIOT/UpdateRpms

For installing rpms from a USB volume PATRIOT with subdirectory called UpdateRpms and no internet access

yum localinstall --nogpgcheck --disablerepo=* /media/PATRIOT/UpdateRpms/*.rpm

Install bad and ugly gstreamer files to USB

For download only of rpm's to an External USB Volume PATRIOT with subdirectory called Guvcview. This will alter the repos used for subsequent Updates, so delete rpmfusion repos later if you wish

yum install --nogpgcheck \
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
sleep 2
yum install --downloadonly --nogpgcheck --downloaddir=/media/PATRIOT/Guvcview \
gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg