Template:Software Side Effects Fixes

From OLPC
Revision as of 16:11, 16 May 2012 by Greenfeld (talk | contribs) (Deleting /.olpc-configured necessary to reset hostname in 12.1.0)
Jump to navigation Jump to search

Delete the ".olpc-configured" files which tell olpc-configure it does not have to run again. This allows some of the files deleted below to be checked for and replaced.

sudo rm -f /.olpc-configured
rm -f /home/olpc/.olpc-configured

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