Reset to factory default doesn't work on 1142 AP

Unanswered Question
Jul 6th, 2010

Dear All,

We have an AIR-LAP1142N-E-K9  deployed in a H-REAP setup.

This AP already got the configuration from the WLC when it was deployed at a remote site.

Now we moved it to another site, but it doesn't appear in the WCS and i don't see any CAPWAP debug messages on the WLC.

The routing work fine between the AP and the WLC, the AP also gets an IP address from DHCP and also received Option 43 information.

Now my guess was that the AP doesn't associate with the WLC because it has the old config file and it runs in local mode(without trying to connect to the WLC).

We want to reset to factory defaults because we want to delete the configuration and force the AP to get a new config from the WCS.

I don't know the enable password so i had to use other methods for reseting to factory defaults.

I tried to use the information from here:

http://www.cisco.com/en/US/docs/wireless/access_point/12.4_21a_JA1/configuration/guide/scg12421aJA1-chap22-trouble.html#wp1058433

I used the "MODE button":

I get the following message from the console:

"button pressed for 5 seconds

process_config_recovery: set IP address and config to default 10.0.0.1

"
But after the reboot the config is not reset, because the AP still has the same hostname and i also get error messages when the AP reads the configuration:
ip ssh version 2
    ^
% Invalid input detected at '^' marker.
transport input ssh
                 ^
% Invalid input detected at '^' marker.
aaa new-model
^
% Invalid input detected at '^' marker.
Next thing i tried was to use the CLI and to delete the config files from the boot loader mode.
But in this case, after reaching the "ap:" prompt and entering the "dir flash:" command, i don't see the file name "config.text".
This file should hold the config and it should be renamed, but how can i rename it if it's not there ?
Can someone tell me a working procedure on how to reset the AP to factory defaults?
You can see attached a log from Putty, after i used the MODE button to delete the config.
Thanks in advance,
Adrian
Attachment: 
I have this problem too.
1 vote
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 4.5 (2 ratings)
surbg Tue, 07/06/2010 - 00:23

Hi,

I request you to hold the mode button for 10 seconds and at the time the device comes up, issue the command  clear lwapp private-config


if you want to prime this AP to a controller then..

AP#lwapp/capwap ap ip address  

AP#lwapp/capwap ap ip default-gateway

AP#lwapp/capwap ap controller ip address

Regards
Surendra

Adrian Mihailov Tue, 07/06/2010 - 00:58

I would try that, problem is that i don't have the enable password on the AP.

Do i get into the enable mode directly if i keep the button pressed for 10 seconds?

surbg Tue, 07/06/2010 - 01:30

No issues... nothing will hapen if we keep on holding the mode button for 10 seconds.. and make sure not more than that.. it may go toi rommon.

>> We need to issue the command "clear capwap privat-config" then the telnet, enable password will be Cisco... username will be cisco.

Adrian Mihailov Tue, 07/06/2010 - 02:39

Is there any way to clear the Lwapp config from ROMMON?

I tried yesterday to use the "Cisco" as the enable password, but it didn't work.

I will try also today, and i will capture the complete logs from Putty.

Adrian Mihailov Wed, 07/07/2010 - 03:54

I tried that reset procedure, with the MODE button pressed for 10 seconds, but it doesn't work.

The enable password is not reset, i tried "Cisco" but it doesn't work.

I receive the following message after releasing the button:

button pressed for 9 seconds

process_config_recovery: set IP address and config to default 10.0.0.1

Then after the AP boots, i try to enter into enable mode, but the "Cisco" password doesn't work.

Password:

Password:

% Bad secrets

How can this AP be reset to factory defaults from ROMMON?
I can reach the "ap: " prompt, but what do i need to do there?
Attachment: 
surbg Wed, 07/07/2010 - 04:16

try reboting the AP again and lets see if we could get the AP out from the AP: mode (Rommon mode).

If we are not able to then we need t ofollow the below steps..

Using the CLI

Follow the steps below to reload the access point image using the CLI. When the access point begins to boot, you interrupt the boot process and use boot loader commands to load an image from a TFTP server to replace the image in the access point.

Note Your access point configuration is not changed when using the CLI to reload the image file.

Step 1 Open the CLI using a Telnet session or a connection to the access point console port.

Step 2 Reboot the access point by removing power and reapplying power.

Step 3 Let the access point boot until it begins to inflate the image. When you see these lines on the CLI, press Esc:

Loading "flash:/c1100-k9w8-mx.v122_13_ja.20031010/c350-k9w7-mx.v122_13_ja.20031010"
...###########################################################################
################################################################################
################################################################################
####################


Step 4 When the ap: command prompt appears, enter the set command to assign an IP address, subnet mask, and default gateway to the access point.

Note You must use upper-case characters when you enter the IP-ADDR, NETMASK, and DEFAULT_ROUTER options with the set command.

Your entries might look like this example:

ap: set IP_ADDR 192.168.133.160

ap: set NETMASK 255.255.255.0

ap: set DEFAULT_ROUTER 192.168.133.1


Step 5 Enter the tftp_init command to prepare the access point for TFTP.

ap: tftp_init


Step 6 Enter the tar command to load and inflate the new image from your TFTP server. The command must include this information:

•the -xtract option, which inflates the image when it is loaded

•the IP address of your TFTP server

•the directory on the TFTP server that contains the image

•the name of the image

•the destination for the image (the access point Flash)

Your entry might look like this example:

ap: tar -xtract tftp://192.168.130.222/images/c1100-k9w8-tar.122-13.JA1 flash:


Step 7 When the display becomes full the CLI pauses and displays --MORE--. Press the spacebar to continue.

extracting info (229 bytes)


If you do not press the spacebar to continue, the process eventually times out and the access point stops inflating the image.

Step 8 Enter the set BOOT command to designate the new image as the image that the access point uses when it reboots. The access point creates a directory for the image that has the same name as the image, and you must include the directory in the command. Your entry might look like this example:

ap: set BOOT flash:/c1100-k9w7-mx.122-13.JA1/c350-k9w7-mx.122-13.JA1


Step 9 Enter the set command to check your bootloader entries.

ap: set

BOOT=flash:/c1100-k9w8-mx.122-13.JA1/c350-k9w7-mx.122-13.JA1

DEFAULT_ROUTER=192.168.133.1

IP_ADDR=192.168.133.160

NETMASK=255.255.255.0


Step 10 Enter the boot command to reboot the access point. When the access point reboots, it loads the new image.

ap: boot

>> the default password is Cisco or cisco

Adrian Mihailov Wed, 07/07/2010 - 07:11

I can get out of the ROMMON mode, that's not the problem.

Problem is that the config file is not reset to factory defaults.

After the reboot you can see that it uses the old config file.

It has the hostname "BEDESAP8" which was the old hostname.

Also the enable password isn't changed to Cisco.

BEDESAP8>sh capwap client config

configMagicMark         0xF1E2D3C4

chkSumV2                17413

chkSumV1                40163

swVer                   3.0.51.0

adminState              ADMIN_ENABLED(1)

name                    BEDESAP8

location                BE - Dessel

Where is the config file stored?

After i issue the dir flash: i don't see the "config.text" that i should rename.

I tried renaming the lwapp_reap.cfg file, but it still has the old config.

ap: dir flash:

Directory of flash:/

2    -rwx  8455                     event.log

4    -rwx  23940                    lwapp_reap.old

5    drwx  128                      c1140-rcvk9w8-mx

8    drwx  192                      c1140-k9w8-mx.124-18a.JA2

12   -rwx  6168                     private-multiple-fs

13   -rwx  170                      env_vars

jcook@lexmed.com Wed, 07/07/2010 - 07:16

I would delete the firmware (c1140-k9w8-mx.124-18a.JA2) making sure to leave the recovery image (c1140-rcvk9w8-mx).  After a reboot, the AP should boot to the recovery image and try to join a controller using whatever discovery method you have in place.

-John

Adrian Mihailov Mon, 07/12/2010 - 04:18

Hi,

After the reset to factory defaults, the AP boots with the /c1140-rcvk9w8-mx image, as you can see below.

Problem is, the configuration isn't deleted.

button pressed for 9 seconds

process_config_recovery: set IP address and config to default 10.0.0.1

Loading "flash:/c1140-rcvk9w8-mx/c1140-rcvk9w8-mx"...#############################################################################################################################################################################################################################

File "flash:/c1140-rcvk9w8-mx/c1140-rcvk9w8-mx" uncompressed and installed, entry point: 0x4000

Someone from Cisco, can you tell me where the config file is, and how can i delete it if i don't have the "enable" password?

Thanks in advance,

Adrian

rsreeves1 Tue, 07/20/2010 - 07:23

Did you ever get an answer for this?  Regardless, I believe what you're looking for is

ap: delete flash:private-multiple-fs

Are you sure you want to delete "flash:private-multiple-fs" (y/n)?y
File "flash:private-multiple-fs" deleted

That is the actual private config file.  Without it, the AP should boot up with factory defaults.

-Rob

Adrian Mihailov Tue, 07/20/2010 - 23:31

Hi,

No, i haven't received a response that works for my case.

I had to send the AP back to the site from where it got his configs and reset it from the WCS.

I'll note your solution and i'll test it the next time i encounter an issue like this one.

Thanks,

Adrian

lcaruso Fri, 12/10/2010 - 16:32

I tried this command, delete flash:private-multiple-fs, but it didn't work me. Any idea why?

Here's the flash contents after running the command and reloading

Directory of flash:/

    2  -rwx           5  Feb 28 2002 22:49:36 -06:00  private-config
    4  -rwx         289  Feb 28 2002 18:00:11 -06:00  env_vars
    6  -rwx        2043  Feb 28 2002 22:49:36 -06:00  config.txt
    7  drwx         256  Feb 28 2002 18:18:05 -06:00  c1140-k9w7-mx.124-21a.JA1

I don't want to delete anything else without knowing if I'm deleteing the correct file.

There has got to be a way to delete the startup config.

lcaruso Fri, 12/10/2010 - 16:42

so I took a shot at it and deleted private-config and that didn't do it, so then I deleted config.txt and finally back to defaults.

Leo Laohoo Fri, 12/10/2010 - 16:37

Just found an autonomous IOS 1240 with a valid config and I rebooted the AP to run the  "rcv" file.  Because it previously had a statically-assigned IP address, the IP address remained and I couldn't log in because I did not clear the config before the "rcv" boot.

What I did to fix this is to load the autonomous IOS using the "mode button", cleared the config and copied the "rcv" file back.

aotholland Wed, 10/10/2012 - 08:24

Hi all,

I have also the same problem,

private-multiple-fs file is deleted on flash. But it's be genereated automaticaly when AP is startup.

I have all tryed that have been described above. Help plz. Ik have to do to default factory

APc471.fe6d.c6dc#sh flash:

  Directory of flash:/

     2  -rwx          76   Mar 1 2002 00:04:19 +00:00  private-multiple-fs

    3  -rwx       95973   Mar 1 2002 00:20:49 +00:00  event.log

    4  -rwx           0   Mar 1 2002 00:04:19 +00:00  env_vars

   34  drwx         384  May 13 2011 14:22:20 +00:00  c1140-k9w8-mx.124-23c.JA

    7  drwx         128   Mar 1 2002 00:12:13 +00:00  c1140-rcvk9w8-mx

32385024 bytes total (25297408 bytes free)

RELOAD

using  eeprom values

WRDTR,CLKTR: 0x86000800 0x40000000

RQDC ,RFDC : 0x80000037 0x0000020b

ddr init done

IOS Bootloader - Starting system.

Xmodem file system is available.

DDR values used from system serial eeprom.

WRDTR,CLKTR: 0x86000800, 0x40000000

RQDC, RFDC : 0x80000037, 0x0000020b

PCIE0: link is up.

PCIE0: VC0 is active

PCIE1: link is up.

PCIE1: VC0 is active

PCIEx: initialization done

flashfs[0]: 28 files, 8 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 32385024

flashfs[0]: Bytes used: 7093760

flashfs[0]: Bytes available: 25291264

flashfs[0]: flashfs fsck took 18 seconds.

Reading cookie from system serial eeprom...Done

Base Ethernet MAC address: c4:71:fe:6d:c6:dc

Waiting for PHY auto negotiation to complete TIMEOUT !

done

Ethernet speed is 10 Mb - HALF duplex

The system has encountered an error initializing

the Ethernet port.

The system is ignoring the error and continuing to boot.

If you abort the system boot process, the following

commands will re-initialize Ethernet, TFTP, and finish

loading the operating system software:

    ether_init

    tftp_init

    boot

Loading "flash:/c1140-k9w8-mx.124-23c.JA/c1140-k9w8-mx.124-23c.JA"...###########                                                                                  ################################################################################                                                                                                                                                                       ################################################################################                                                                                        ############

File "flash:/c1140-k9w8-mx.124-23c.JA/c1140-k9w8-mx.124-23c.JA" uncompressed and                                                                                         installed, entry point: 0x4000

executing...

enet halted

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.

           170 West Tasman Drive

           San Jose, California 95134-1706

Cisco IOS Software, C1140 Software (C1140-K9W8-M), Version 12.4(23c)JA, RELEASE                                                                                         SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Tue 01-Jun-10 12:29 by prod_rel_team

Proceeding with system init

Proceeding to unmask interrupts

Initializing flashfs...

FLASH CHIP:  Numonyx P33

Checking for Over Erased blocks

................................................................................                                                                                        ................................................................................                                                                                        ................................................................................                                                                                        ......

flashfs[1]: 28 files, 8 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 32126976

flashfs[1]: Bytes used: 7093760

flashfs[1]: Bytes available: 25033216

flashfs[1]: flashfs fsck took 5 seconds.

flashfs[1]: Initialization complete.

flashfs[2]: 0 files, 1 directories

flashfs[2]: 0 orphaned files, 0 orphaned directories

flashfs[2]: Total bytes: 11999232

flashfs[2]: Bytes used: 1024

flashfs[2]: Bytes available: 11998208

flashfs[2]: flashfs fsck took 1 seconds.

flashfs[2]: Initialization complete....done Initializing flashfs.

Waiting for PHY auto negotiation to complete... TIMEOUT !

Ethernet link is down.

Radio0  present 8363 8000 90020000 0 90030000 B

Radio1  present 8363 8000 98020000 0 98030000 0

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

cisco AIR-LAP1142N-E-K9    (PowerPC405ex) processor (revision B0) with 98294K/32768K bytes of memory.

Processor board ID FCZ1447W2EA

PowerPC405ex CPU at 586Mhz, revision number 0x147E

Last reset from power-on

LWAPP image version 7.0.98.0

1 Gigabit Ethernet interface

2 802.11 Radio(s)

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address:

Part Number                          :

PCA Assembly Number                  : 800-30554-06

PCA Revision Number                  : A0

PCB Serial Number                    :

Top Assembly Part Number             : 800-31273-04

Top Assembly Serial Number           :

Top Revision Number                  : A0

Product/Model Number                 : AIR-LAP1142N-E-K9

% Please define a domain-name first.

Press RETURN to get started!

*Mar  1 00:00:07.947: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed

*Mar  1 00:00:07.958: *** CRASH_LOG = YES

Security Core found.

Base Ethernet MAC address: C4:71:FE:6D:C6:DC

*Mar  1 00:00:49.990: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0

*Mar  1 00:00:49.991: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to up

*Mar  1 00:00:50.557: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1

*Mar  1 00:00:50.610: %LWAPP-3-CLIENTEVENTLOG: Read and initialized AP event log (contains, 1024 messages)

*Mar  1 00:00:50.630:  status of voice_diag_test from WLC is false

*Mar  1 00:00:52.790: %SYS-5-RESTART: System restarted --

Cisco IOS Software, C1140 Software (C1140-K9W8-M), Version 12.4(23c)JA, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Tue 01-Jun-10 12:29 by prod_rel_team

*Mar  1 00:00:52.790: %SNMP-5-COLDSTART: SNMP agent on host APc471.fe6d.c6dc is undergoing a cold start

*Mar  1 00:00:52.839: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY

*Mar  1 00:00:52.898: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset

*Mar  1 00:00:52.898: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset

*Mar  1 00:00:52.898: %CDP_PD-4-POWER_OK: Full power - AC_ADAPTOR inline power source

*Mar  1 00:00:52.950: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up

*Mar  1 00:00:53.443: %DOT11-2-TX_PWR_TIMO: Interface Dot11Radio1, Timed out waiting for fw to clear txp_pndg flag

*Mar  1 00:00:53.648: %SSH-5-ENABLED: SSH 2.0 has been enabled

*Mar  1 00:00:53.752: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down

*Mar  1 00:00:53.776: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up

*Mar  1 00:00:53.908: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up

*Mar  1 00:00:53.908: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up

*Mar  1 00:01:11.695:  status of voice_diag_test from WLC is false

*Mar  1 00:01:11.733: Logging LWAPP message to 255.255.255.255.

*Mar  1 00:01:11.767: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset

*Mar  1 00:01:11.788: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up

*Mar  1 00:01:11.788: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset

*Mar  1 00:01:11.796: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 255.255.255.255 started - CLI initiated

*Mar  1 00:01:11.803: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up

*Mar  1 00:01:21.768: %CAPWAP-3-ERRORLOG: Not sending discovery request AP does not have an Ip !!

yajaber Wed, 10/10/2012 - 09:33

Hi,

simple, delete everything on the Flash...start with new image..and you have DHCP 43, it should join automatically.

aotholland Wed, 10/10/2012 - 12:35

Hi Yahya,

Thanks for your answerd. That is my problem. Beacuse i cant download image.

I must first backup current image to tftp server.

but configure terminal not working.

If i am delete image, than i have bigger problem.

yajaber Wed, 10/10/2012 - 22:16

I would consider opening a TAC case, it will be solved in 10 minutes.

wijbrendevries Tue, 01/22/2013 - 17:03

You can reset your Aironet 1142N to factory default by 2 methods

The first method is to remove the power (adapter or the ethernet adapter when the device get its power by PoE)

Press the mode button and reconnect the power. Hold the mode button for at least 2 seconds when its powering on.

The second method is by the CLI (Telnet or Console port) in enable mode execute the following commands

write erase

reload (and confirm)

Leo Laohoo Tue, 01/22/2013 - 17:10

The second method is by the CLI (Telnet or Console port) in enable mode execute the following commands

write erase

reload (and confirm)

If you use only "write erase", the static IP address remains.

If you want to delete everything, including IP address, you have to use the command "write default-config".

esu13tech Mon, 04/22/2013 - 12:50

Hold the reset button down with the AP powered on. Then unplug the power form the Ap while continuing to hold the button down. Then plug the power back in, still holding the reset button. The lights will flash on the AP. When it is blue, release the rest button. Hope that helps.

Actions

Login or Register to take actions

This Discussion

Posted July 6, 2010 at 12:02 AM
Stats:
Replies:24 Avg. Rating:4.5
Views:66739 Votes:1
Shares:0
Tags: No tags.

Discussions Leaderboard