cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
516
Views
5
Helpful
3
Replies

corrupted and lost IOS

jfergle
Level 1
Level 1

Well, here's My friday problem..I tried to upgrade the IOS on Ap1231's and 2 of them gave me bad results. The first, is running the IOS in memory but didn't copy the config to the flash. So the http, https doesn't work and I don't know how to get the bin file onto the ap.

The 2nd AP is corrupted and is now at the ap prompt. I'm figuring there's a way through the serial port but can't find any info on the site.

Can anyone help, it's a mystery to me as to why upgrades are always a cross your fingers kinda thing with these 1200 series AP's.

Thanks

Jeff

1 Accepted Solution

Accepted Solutions

Rob Huffman
Hall of Fame
Hall of Fame

Hi Jeff,

Good fun for a Friday :)

Can you try this method?

Reloading the Access Point/Bridge Image (Edited to fit)

Using the CLI

http://www.cisco.com/en/US/products/ps5861/products_configuration_guide_chapter09186a00804ed72c.html#wp1071147

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:/c1310-k9w7-mx.v122_13_ja.20031010/c1310-k9w7-mx.v122_13_ja.20031010"

...###########################################

Note Depending on the terminal emulation software you are using, you may have to press Esc twice to access the boot loader.

Step 4 When the bridge: 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/c1310-k9w7-tar.122_15.JA1 flash:

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

extracting info (229 bytes)

c1310-k9w7-mx.122-15.JA1/ (directory) 0 (bytes)

c1310-k9w7-mx.122-15.JA1/html/ (directory) 0 (bytes)

c1310-k9w7-mx.122-15.JA1/html/level1/ (directory) 0 (bytes)

extracting c1310-k9w7-mx.122-15.JA1/html/level1/appsui.js (558 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:/c1310-k9w7-mx.122-15.JA1/c1310-k9w7-mx.122-15.JA1

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

ap: set

BOOT=flash:/c1310-k9w7-mx.122-15.JA1/c1310-k9w7-mx.122-15.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

Hope this helps!

Rob

View solution in original post

3 Replies 3

Rob Huffman
Hall of Fame
Hall of Fame

Hi Jeff,

Good fun for a Friday :)

Can you try this method?

Reloading the Access Point/Bridge Image (Edited to fit)

Using the CLI

http://www.cisco.com/en/US/products/ps5861/products_configuration_guide_chapter09186a00804ed72c.html#wp1071147

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:/c1310-k9w7-mx.v122_13_ja.20031010/c1310-k9w7-mx.v122_13_ja.20031010"

...###########################################

Note Depending on the terminal emulation software you are using, you may have to press Esc twice to access the boot loader.

Step 4 When the bridge: 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/c1310-k9w7-tar.122_15.JA1 flash:

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

extracting info (229 bytes)

c1310-k9w7-mx.122-15.JA1/ (directory) 0 (bytes)

c1310-k9w7-mx.122-15.JA1/html/ (directory) 0 (bytes)

c1310-k9w7-mx.122-15.JA1/html/level1/ (directory) 0 (bytes)

extracting c1310-k9w7-mx.122-15.JA1/html/level1/appsui.js (558 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:/c1310-k9w7-mx.122-15.JA1/c1310-k9w7-mx.122-15.JA1

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

ap: set

BOOT=flash:/c1310-k9w7-mx.122-15.JA1/c1310-k9w7-mx.122-15.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

Hope this helps!

Rob

Thanks for the response Rob.

Yep, tried that and the one with the ap prompt just loads whatever is the boot IOS. So I got that going for me. When I do a dir flash: there is nothing on either one for an IOS image. So, I'm thinking if the 1st loads it will be at ap prompt with just bootloader image.

Hopefully, like switches there's a workaround to find a bin file to put on and upload through the serial port, similar to what you sent Me.

Yeah, this is making my day. So thinking 1010's right now,

Jeff

Ok..I figured out how to get the .bin file onto the access point(serially..1hr and some), but now the HTTP part needs to get there and I can't figure out how to get it onto the AP. Any ideas or help is greatly appreciated.

Jeff

Getting Started

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: