on
01-10-2011
02:31 AM
- edited on
07-28-2024
05:53 PM
by
Rich R
Access Point ROMMON Recovery AP: prompt Recovery
Here is the step by step procedure for 1140 series AP.. Its the same for almost 90% or all the Aironet product series
Image used
c1140-k9w7-tar.124-21a.JY.tar
Assuming We have the IP 192.168.100.101 assigned to the LAPTOP or the DESKTOP Ethernet port which runs as the TFTP server and assigning 192.168.100.100 as the IP to AP.
Make sure you have the TFTP server or download it from google (tftpd32.exe)
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.
First of all, I would like to let you know that there is a problem if you don’t see the extensions of the files in your folders. The problem is that, when you rename the file, you just rename the name, and not the extension.
The solution for this is:
Go to the folder that contains the IOS image and go to the tools option in the window bar. Click on folder options
Go to the view tab and uncheck the option that says: “Hide file extensions for known file types”.
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:/c1140-k9w7-tar.124-21a.JY.tar"
...###########################################################################
################################################################################
################################################################################
####################
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.100.100
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 192.168.100.1
Step 5 Enter the tftp_init command to prepare the access point for TFTP.
ap: tftp_init
ap: ether_init
ap: flash_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.100.101/images/c1140-k9w7-tar.124-21a.JY.tar flash:
Step 7 When the display becomes full the CLI pauses and displays --MORE--. Press the spacebar to continue.
extracting info (229 bytes)
c1140-k9w7-tar.124-21a.JY/ (directory) 0 (bytes)
c1140-k9w7-tar.124-21a.JY/html/ (directory) 0 (bytes)
c1140-k9w7-tar.124-21a.JY/html/level1/ (directory) 0 (bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/appsui.js (558 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/back.htm (205 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/cookies.js (5027 bytes).
extracting c1140-k9w7-tar.124-21a.JY/html/level1/forms.js (15704 bytes)...
extracting c1140-k9w7-tar.124-21a.JY/html/level1/sitewide.js (14621 bytes)...
extracting c1140-k9w7-tar.124-21a.JY/html/level1/config.js (2554 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/stylesheet.css (3215 bytes)
c1140-k9w7-tar.124-21a.JY/html/level1/images/ (directory) 0 (bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/ap_title_appname.gif (1422 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_1st.gif (1171 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_cbottom.gif (318 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_current.gif (348 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_last.gif (386 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_last_filler.gif (327 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_last_flat.gif (318 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_nth.gif (1177 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_leftnav_dkgreen.gif (869 bytes)
-- MORE --
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:/c1140-k9w7-tar.124-21a.JY/c1140-k9w7-tar.124-21a.JY
And save the boot variable
ap: sync <- not supported or needed on more recent AP models
Step 9 Enter the set command to check your bootloader entries.
ap: set
BOOT=flash:/c1140-k9w7-tar.124-21a.JY/c1140-k9w7-tar.124-21a.JY
DEFAULT_ROUTER=192.168.100.1
IP_ADDR=192.168.100.100
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
This will get the AP to Autonomous image AP# prompt after reload..
Drop a comment if we are facing any issues!!
Good morning pal. This is what I did and what I encountered.
when you get to "ap" prompt, do a "format flash:". Say yes to everything. After format is complete, do a "dir flash:". Should be no files. Good.
now, setup your TFTP.
on computer (laptop), manually set your IP on your ethernet port to 10.0.0.1, mask 255.0.0.0 and no default gateway (not needed).
***** Make sure Windows firewall is disabled!!! *****
download the appriate IOS image for your AP, but download the autonomouse version which has a w7 in it, not the w8 (w7 = automous, w8 = lightweight). once downloaded, copy it into your TFTP directory and then rename it with .default on the end. example: "ap3g2-k9w7-mx.15-2.JA.tar" becomes "ap3g2-k9w7-tar.default". Start your TFTP server.
now on AP (at this point there is NOTHING in flash because you did a format, right?).
ap: set IP_ADDR=10.0.0.2
ap: set NETMASK=255.0.0.0
ap: set DEFAULT_ROUTER=10.0.0.1
ap: tftp_init
ap: ether_init
ap: flash_init
*** hook up a ethernet cable between computer (laptop) to AP and try to ping AP from computer. if successful, go to next step.
ap: tar -xtract tftp://10.0.0.1/ap3g2-k9w7-tar.default flash:
after extract is complete, do a "dir" to see your files. Find your file and do your set BOOT command.
Should look like this (make sure CAPS on for BOOT word only):
"set BOOT flash:/ap3g2-k9w7-mx.152-2.JA/ap3g2-k9w7-mx.152-2.JA"
then do the "reset" (its the same as boot, but sets the variables you used above).
ap: reset.
See if that works. Good luck.
Peter
What kind of config would I have to have in a 2960, if I plugged it in there, and were to use a ap 1142 as a dhcp
Obviously you did not format your flash before attempting this process otherwise, when the first reboot did not work and it failed over to "Loading "flash:/ap3g2-rcvk9w8-mx/ap3g2-rcvk9w8-mx" on page 19 (which is your recovery "lightweight" image) should not even be there. Please do a format flash: command, then do a dir flash: command and there should be ZERO files. Also, download a new copy of the image you are trying to install. on page 9 there was an error :
Premature end of tar fileap: and then you just tried the process all over. But at this point there are already files in the flash so all you are doing is copying over those files/adding more which could corrupt your flash. Always start with a clean formatted flash.
Also, try this. After downloading another copy of the NEW image (ap3g2-k9w7-tar.153-3.JC.tar ) RENAME it to ap3g2-k9w7.tar and use that name in the tar -xtract tftp://192.168.1.1/ap3g2-k9w7.tar flash: command. Don't worry about the name of the file because when it extracts the TAR file, it will use the right names in your flash.
after the file is done extracting, use the ap: set BOOT flash:/ap3g2-k9w7-mx.153-3.JC/ap3g2-k9w7-mx.153-3.JC command. That tells the Ap to use the flash file in the correct directory. Then use reset to reboot your AP. if you still want a recovery image, then download it, and extract it. Just don't do the set BOOT command.
Let us know how it worked out for you.
Enter the set BOOT command to designate the new image as the image that the wireless device uses when it reboots. The wireless device 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:/c350-k9w7-mx.122-13.JA1/c350-k9w7-mx.122-13.JA1
Hi there,
Hope you can help me. I am having the same problem you are "no such file or directory found". I used the following command tar -xtract tftp://192.168.130.222/c350-k9w7-tar.122-13.JA1.tar flash:
after I execute the command i can see the file transfer box pop up but then I get no such file in directory. Did you change the file name extension to default?
my ios folder is located at Program Files/tftpd32 . I tried using tar -xtract tftp://192.168.130.222/Program Files/tftpd2/c350-k9w7-tar.122-13.JA1.tar flash:
but got an error. also tried to use tar -xtract tftp://192.168.130.222/tftpd32/c350-k9w7-tar.122-13.JA1.tar flash:
and got no such directory . firewall and anti virus is disabled
Can you tell me what command line you used and the location your file in tftp?
thank you for your help,
Peter
Hi Peter,
First of all open your tftpd32 and check if ip binding is proper then try with this
tftp://192.168.130.222/c350-k9w7-tar.122-13.JA1.tar flash:
There is no need to change extension
Let me know how it goes
Lalitbogra,
Let me start by saying thank you so much for replying to my post. Also, I want to let you know I am a total beginner when it comes configuring Cisco Access Points / Routers. So please in advance pardon my ignorance for some of my entries.
So I am going to try to give you all the information I have and hopefully you can solve my problem.
BOOT=flash:/c1240-k9w7-mx.123-8.JEA/c1240-k9w7-mx.123-8.JEA
ENABLE_BREAK=no
IOS_STATIC_IP_ADDR=192.168.10.70
IOS_STATIC_NETMASK=255.255.255.0
IP_ADDR=10.0.0.1
NETMASK=255.255.255.2554
TERMLINES=0
Current Directory: C:\Program Files\Tftpd32
Server Interface : 172.19.134.1
Base Directory: C:\Program Files\Tftpd32
Tftp Security: none
Timeout 3 seconds
Max Retransmit 6
Tftp Port 69
Under Advance TFTP Options
Option Negotiation is checked off
Show Progress Bar is checked off
Translate Unix Files Names is checked off
Bind TFTP to this address is checked off to IP 172.19.134.1.
My putty settings are:
Comp1
Speed 9600
Data Bits 8
Stop bit 1
Parity None
Flow control None
I entered the following settings in the WAP.
ap: set IP_ADDR 172.19.134.20 (I thing this assigns the IP to the WAP)
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 172.19.134.1 (Same IP as my tftp server)
ap: tftp_init
ap: ether_init
ap: flash_init
tar -xtract tftp:// 172.19.134.1/ c1240-k9w7-tar.123-8.JEA.tar flash:
After entering this command I get a popup box with the title bar showing my IOS file (c1240-k9w7-tar.123-8.JEA.tar ), file size 512000, 0 Bytes sent, 0 Bytes /sec
Under the Tftp Server tab i see this:
Peer 172.19.134.20:1030 (WAP IP address)
File <c1240-k9w7-tar.123-8.JEA.tar> (IOS file located in tftp)
Start Time 17:29:42,
Progress 0%
after taking a few seconds I get "info device busy" message.
Both computers have the firewall disabled. Is it possible I need to change the baud rate higher to my putty?
Thanks again for all your help,
Peter
Hello forum,
I hope someone can help me with my situation. Let me start by saying I am a total beginner when it comes to configuring Cisco Access Points / Routers. So please in advance pardon my ignorance for some of my entries.
So I am going to try to give you all the information I have and hopefully someone can help me solve my problem.
I have a wireless access point, Cisco Aironet 1240ag series. When I turn it on it boots up to ap: prompt.
When I do "set" and enter I get the following:
BOOT=flash:/c1240-k9w7-mx.123-8.JEA/c1240-k9w7-mx.123-8.JEA
ENABLE_BREAK=no (can someone tell me what this does?)
IOS_STATIC_IP_ADDR=192.168.10.70 (can someone tell me what this does?)
IOS_STATIC_NETMASK=255.255.255.0
IP_ADDR=10.0.0.1 (I think this sets the IP to the WAP)
NETMASK=255.255.255.2554
TERMLINES=0 (can someone tell me what this does?)
Not sure what each of those lines mean but after doing some research I was able to find that I should clear all this out using the "unset" command. And start with a new set of entries.
After using the "unset" command for each line, I typed the "set" command again to make sure everything is gone. I got the following output. "ap: ". All the entries were gone.
The WAP is connected to one computer via serial RS232. This is used to run my putty.
I also have a Ethernet connection to another computer where I have my TFTP server running. The IP to this computer is 172.19.134.1, Mask 255.255.255.0, GATEWAY 172.19.134.1
The IOS file is located at C:\Program Files\Tftpd32
The IOS file name is "c1240-k9w7-tar.123-8.JEA.tar"
The Tftp server settings are:
Current Directory: C:\Program Files\Tftpd32
Server Interface : 172.19.134.1
Base Directory: C:\Program Files\Tftpd32
Tftp Security: none
Timeout 3 seconds
Max Retransmit 6
Tftp Port 69
Under Advance TFTP Options
Option Negotiation is checked off
Show Progress Bar is checked off
Translate Unix Files Names is checked off
Bind TFTP to this address is checked off to IP 172.19.134.1
My putty settings are:
Comp1
Speed 9600
Data Bits 8
Stop bit 1
Parity None
Flow control None
I entered the following settings in the WAP.
ap: set IP_ADDR 172.19.134.20 (I thing this assigns the IP to the WAP)
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 172.19.134.1 (Same IP as my tftp server)
ap: tftp_init
ap: ether_init
ap: flash_init
tar -xtract tftp:// 172.19.134.1/ c1240-k9w7-tar.123-8.JEA.tar flash:
After entering this command I get a popup box with the title bar showing my IOS file (c1240-k9w7-tar.123-8.JEA.tar ), file size 512000, 0 Bytes sent, 0 Bytes /sec
Under the Tftp Server tab I see this information:
Peer 172.19.134.20:1030 (WAP IP address)
File <c1240-k9w7-tar.123-8.JEA.tar> (IOS file located in tftp)
Start Time 17:29:42
Progress 0%
after a few seconds I get "info device busy" message.
Both computers have the firewall disabled. Is it possible I need to change the baud rate higher to my putty?
Thanks,
Peter
Hi Virtelanoc,
Hopefully you can help me with my problem. Let me start by saying I am a total beginner when it comes to configuring Cisco Access Points / Routers. So please in advance pardon my ignorance for some of my entries.
So I am going to try to give you all the information I have and hopefully someone can help me solve my problem.
I have a wireless access point, Cisco Aironet 1240ag series. When I turn it on it boots up to ap: prompt.
When I do "set" and enter I get the following:
BOOT=flash:/c1240-k9w7-mx.123-8.JEA/c1240-k9w7-mx.123-8.JEA
ENABLE_BREAK=no (can someone tell me what this does?)
IOS_STATIC_IP_ADDR=192.168.10.70 (can someone tell me what this does?)
IOS_STATIC_NETMASK=255.255.255.0
IP_ADDR=10.0.0.1 (I think this sets the IP to the WAP)
NETMASK=255.255.255.2554
TERMLINES=0 (can someone tell me what this does?)
Not sure what each of those lines mean but after doing some research I was able to find that I should clear all this out using the "unset" command. And start with a new set of entries.
After using the "unset" command for each line, I typed the "set" command again to make sure everything is gone. I got the following output. "ap: ". All the entries were gone.
The WAP is connected to one computer via serial RS232. This is used to run my putty.
I also have a Ethernet connection to another computer where I have my TFTP server running. The IP to this computer is 172.19.134.1, Mask 255.255.255.0, GATEWAY 172.19.134.1
The IOS file is located at C:\Program Files\Tftpd32
The IOS file name is "c1240-k9w7-tar.123-8.JEA.tar"
The Tftp server settings are:
Current Directory: C:\Program Files\Tftpd32
Server Interface : 172.19.134.1
Base Directory: C:\Program Files\Tftpd32
Tftp Security: none
Timeout 3 seconds
Max Retransmit 6
Tftp Port 69
Under Advance TFTP Options
Option Negotiation is checked off
Show Progress Bar is checked off
Translate Unix Files Names is checked off
Bind TFTP to this address is checked off to IP 172.19.134.1
My putty settings are:
Comp1
Speed 9600
Data Bits 8
Stop bit 1
Parity None
Flow control None
I entered the following settings in the WAP.
ap: set IP_ADDR 172.19.134.20 (I thing this assigns the IP to the WAP)
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 172.19.134.1 (Same IP as my tftp server)
ap: tftp_init
ap: ether_init
ap: flash_init
tar -xtract tftp:// 172.19.134.1/ c1240-k9w7-tar.123-8.JEA.tar flash:
After entering this command I get a popup box with the title bar showing my IOS file (c1240-k9w7-tar.123-8.JEA.tar ), file size 512000, 0 Bytes sent, 0 Bytes /sec
Under the Tftp Server tab I see this information:
Peer 172.19.134.20:1030 (WAP IP address)
File <c1240-k9w7-tar.123-8.JEA.tar> (IOS file located in tftp)
Start Time 17:29:42
Progress 0%
after a few seconds I get "info device busy" message.
Both computers have the firewall disabled. Is it possible I need to change the baud rate higher to my putty?
Thanks,
Peter
Dear Peter,
from your above details point 2 commands are to set IP of AP and default router which you can use IP of your computer. (I would suggest to do it in separate computer not linked with your network) This is temporary settings just to convert AP in to standalone mode.
Just use same set of command as in the main post under step 4 and 5
As I can see from your details above your computer IP and TFTP are seems to be different.
In Short just follow main post and you are done. I am also not very much expert in Cisco but if required I can help via teamviewer.
Hi Andy,
I saw your post helping someone else so I was hoping you solve my problem too.
Let me start by saying I am a total beginner when it comes to configuring Cisco Access Points / Routers. So please in advance pardon my ignorance for some of my entries.
So I am going to try to give you all the information I have and hopefully you can help me solve my problem.
I have a wireless access point, Cisco Aironet 1240ag series.
when I turn it on it boots up to ap: prompt.
When I do "set" and enter I get the following:
BOOT=flash:/c1240-k9w7-mx.123-8.JEA/c1240-k9w7-mx.123-8.JEA
ENABLE_BREAK=no (can someone tell me what this does?)
IOS_STATIC_IP_ADDR=192.168.10.70 (can someone tell me what this does?)
IOS_STATIC_NETMASK=255.255.255.0
IP_ADDR=10.0.0.1 (I think this sets the IP to the WAP)
NETMASK=255.255.255.2554
TERMLINES=0 (can someone tell me what this does?)
Not sure what each of those lines mean but after doing some research I was able to find that I should clear all this out using the "unset" command. And start with a new set of entries.
After using the "unset" command for each line, I typed the "set" command again to make sure everything is gone. I got the following output. "ap: ". All the entries were gone.
The WAP is connected to one computer via serial RS232. This is used to run my putty.
I also have a Ethernet connection to another computer where I have my TFTP server running. The IP to this computer is 172.19.134.1, Mask 255.255.255.0, GATEWAY 172.19.134.1
The IOS file is located at C:\Program Files\Tftpd32
The IOS file name is "c1240-k9w7-tar.123-8.JEA.tar"
The Tftp server settings are:
Current Directory: C:\Program Files\Tftpd32
Server Interface : 172.19.134.1
Base Directory: C:\Program Files\Tftpd32
Tftp Security: none
Timeout 3 seconds
Max Retransmit 6
Tftp Port 69
Under Advance TFTP Options
Option Negotiation is checked off
Show Progress Bar is checked off
Translate Unix Files Names is checked off
Bind TFTP to this address is checked off to IP 172.19.134.1
My putty settings are:
Comp1
Speed 9600
Data Bits 8
Stop bit 1
Parity None
Flow control None
I entered the following settings in the WAP.
ap: set IP_ADDR 172.19.134.20 (I think this assigns the IP to the WAP)
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 172.19.134.1 (Same IP as my tftp server)
ap: tftp_init
ap: ether_init
ap: flash_init
tar -xtract tftp:// 172.19.134.1/ c1240-k9w7-tar.123-8.JEA.tar flash:
After entering this command I get a popup box with the title bar showing my IOS file (c1240-k9w7-tar.123-8.JEA.tar ), file size 512000, 0 Bytes sent, 0 Bytes /sec
Under the Tftp Server tab I see this information:
Peer 172.19.134.20:1030 (WAP IP address)
File <c1240-k9w7-tar.123-8.JEA.tar> (IOS file located in tftp)
Start Time 17:29:42
Progress 0%
after a few seconds I get "info device busy" message.
Both computers have the firewall disabled. Is it possible I need to change the baud rate higher to my putty?
Thanks,
Peter
Hi Surendra BG.
I have a cisco 861w, and I can't ping to wireless module from my pc.
please Can you send you the steps ?.
thanks.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: