PDA

View Full Version : How to factory reset the unit ?



carlostico
03-31-12, 10:24 PM
How to factory reset the unit ?

factory_defaults

or

apt-get update
apt-get install warpfailsafe
echo "3"> /proc/warpbootcount

or

apt-get update apt-get install warpscripts
warp-upgrade
image


I want the unit back to factory default configuration.

Thanks in advance

pikasupport
08-31-12, 01:11 PM
All the methods you list may work depending on the age of the unit.


But ultimately we would recommend using the 'warp_factory_default' command.

If the unit does not have this command available then the following procedure should be used:

apt-get update
apt-get install warpfailsafe warpbasefiles
warp-factory-defaults

mrecoskie
11-08-12, 02:57 PM
The correct syntax of the command is actually the following:


warp-factory-defaults

Also note that if you perform this command while running off SD this will simply reset the onboard NAND memory image. You then need to boot to NAND and re-transfer to SD card.


warp-bootmode set nand
y
reboot



To find out if you are running from on-board memory (nand) or SD you can use one of two methods:

In SSH console:


cat /proc/cmdline


If you see reference to 'mmcblk0' then this is SD. If you see reference to 'ubi' then this is on board nand.

In FreePBX:

On the 'Tools' > 'Diagnostics' page it will tell you.
Your Root File System Location is: NAND or SD