Template:Software Side Effects Fixes: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Deleting /.olpc-configured necessary to reset hostname in 12.1.0)
(remove documentation for very old builds of operating system, add .gconf sugar user storage for 13.2.0)
Line 4: Line 4:
Destroy any saved volume settings, forcing defaults:
Destroy any saved volume settings, forcing defaults:
sudo rm -f /etc/alsa/asound.state
sudo rm -f /etc/alsa/asound.state
Destroy the saved hostname:
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
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:
Destroy the SSH host key, forcing regeneration on next boot:
sudo rm -f /etc/ssh/ssh_host_rsa_key{,.pub}
sudo rm -f /etc/ssh/ssh_host_rsa_key{,.pub}
Destroy the Sugar settings, forcing a first boot name prompt, and fixing collaboration:
Destroy the Sugar settings, forcing a first boot name prompt, and fixing collaboration:
rm -rf /home/olpc/.sugar
rm -rf /home/olpc/.sugar /home/olpc/.gconf/desktop/sugar
If a developer key was ever requested using the Browse activity, or you are not sure, clear the developer key request file:
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
rm -rf /home/.devkey.html

Revision as of 00:11, 17 June 2014

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

Destroy the saved hostname:

sudo rm -f /etc/sysconfig/network

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 /home/olpc/.gconf/desktop/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