Template:Software Side Effects Fixes

From OLPC
Revision as of 19:04, 15 May 2012 by Quozl (talk | contribs)
Jump to: navigation, search

Destroy any saved volume settings, forcing defaults:

sudo rm -f /etc/alsa/asound.state

If the installed build is later than 12.1.0 build os9, destroy the saved hostname (<trac>11710</trac>):

sudo rm -f /etc/sysconfig/network

If the installed build is ealier than 10.1.2 build os851, destroy the saved wireless MAC address:

sudo rm -f /etc/udev/rules.d/70-persistent-net.rules

Destroy the SSH host key, forcing regeneration on next boot:

sudo rm -f /etc/ssh/ssh_host_rsa_key{,.pub}

Destroy the Sugar settings, forcing a first boot name prompt, and fixing collaboration:

rm -rf /home/olpc/.sugar

If a developer key was ever requested using the Browse activity, or you are not sure, clear the developer key request file:

rm -rf /home/.devkey.html

If the laptop was ever registered with a school server, or you are not sure, clear the registration by destroying the GConf settings:

rm -rf /home/olpc/.gconf*

Immediately shutdown without restarting sugar, to avoid the .sugar directory being recreated:

sudo poweroff