Template:Software Side Effects Fixes: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
sudo rm -f /.olpc-configured
sudo rm -f /.olpc-configured
rm -f /home/olpc/.olpc-configured
rm -f /home/olpc/.olpc-configured
Destroy any saved volume settings, forcing defaults. Otherwise the cloned laptop may start with silent speakers.
sudo rm -f /etc/alsa/asound.state
Destroy any saved network connections. Otherwise the cloned laptop cannot connect to the networks the original laptop used.
Destroy any saved network connections. Otherwise the cloned laptop cannot connect to the networks the original laptop used.
sudo rm -rf /etc/NetworkManager/system-connections/*
sudo rm -rf /etc/NetworkManager/system-connections/*
Line 14: Line 12:
If the laptop was ever registered with a school server, or you are not sure, clear the registration by destroying the GConf settings:
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/.config/gconf*
rm -rf /home/olpc/.config/gconf*
Destroy any saved volume settings, forcing defaults. Otherwise the cloned laptop may start with silent speakers or microphone.
Immediately shutdown without restarting sugar, to avoid the .sugar directory being recreated:
sudo rm -f /etc/alsa/asound.state
sudo poweroff
Immediately shutdown without restarting sugar, to avoid asound.state being saved, or the .sugar directory being recreated:
sync && sudo poweroff -f

Revision as of 01:15, 24 November 2015

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 network connections. Otherwise the cloned laptop cannot connect to the networks the original laptop used.

sudo rm -rf /etc/NetworkManager/system-connections/*

If SSH was enabled, destroy the SSH host key. Otherwise other systems in your network may report problems connecting to the laptops over SSH.

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

Destroy the Sugar settings, forcing a first boot name prompt. Otherwise the cloned laptops won't be able to collaborate using activities, or the wrong names will be shown in Chat,

rm -rf /home/olpc/.sugar /home/olpc/.config/gconf/desktop/sugar /home/olpc/.local/share/telepathy

Destroy the developer key request file. Otherwise the cloned laptops will apply for developer keys using the original laptop serial number and UUID.

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/.config/gconf*

Destroy any saved volume settings, forcing defaults. Otherwise the cloned laptop may start with silent speakers or microphone.

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

Immediately shutdown without restarting sugar, to avoid asound.state being saved, or the .sugar directory being recreated:

sync && sudo poweroff -f