01-23-2013 01:53 PM - edited 07-03-2021 11:24 PM
Hi. I cannot TFTP this tar file to both 1230 and 1231 APs. Both are lightweight APs that I've wiped to the rommon mode (ap>) and I issue the command:
tar -xtract c1200/k9w7-mx.123-8.JA 10.0.0.2
And I get a error saying: "permission denied"
Notes:
The AP has defaulted to the 10.0.0.1 IP.
My laptop is set to 10.0.0.2 255.255.255.0 IP
My TFTP-Server is on and the root folder with the .tar file is in there.
ether_init, flash_init, tftp_init (these commands have been executed)
My firewall is disabled.
SO, with all that being said, WHY DOESN'T THIS WORK!???
01-23-2013 02:14 PM
The fastest and easiest way of converting an AP from lightweight to autonomous (without an AP) is by this method below:
01-23-2013 03:11 PM
I tried that. No go. As soon as I've done all those steps. I reboot the AP and it defaults back to being a LWAPP.
01-23-2013 03:45 PM
Can you please post the output to the command "dir flash:" please?
01-24-2013 08:51 AM
ap: dir flash:
Directory of flash:/
153 drwx 128
3 -rwx 15384
4 -rwx 826
6 drwx 320
12 -rwx 99192
2338304 bytes available (5403136 bytes used)
01-24-2013 08:54 AM
you should be able to sit on the console and watch the AP pull the image from your TFTP server. Try the mode button reload again while you're on the console.
also make sure that 'show known file types' is enabled
HTH,
Steve
------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered
01-24-2013 09:14 AM
Tried it at least 2 dozen times over the past 3 days. 'Show know file types' is enabled.
I'm gunna chuck these old Cisco APs out the office window...I swear....lol.
The Cisco Upgrade tool only changes a autonomous to LWAPP correct? Not vice versa? I've tried using the upgrade tool on a Wins7 and WindowsXP machine and it keeps giving me an error saying another TFTP server is in use...when it isn't. It's lying!
01-24-2013 09:37 AM
This is the OUTPUT WHEN I BOOT: (My TFTP Server is ON, my firewall is OFF, the mode button is pressed for 35 secs.)
Xmodem file system is available.
flashfs[0]: 10 files, 3 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 5403136
flashfs[0]: Bytes available: 2338304
flashfs[0]: flashfs fsck took 15 seconds.
Reading cookie from flash parameter block...done.
Base ethernet MAC Address: 00:0f:24:5b:5f:11
Initializing ethernet port 0...
Reset ethernet port 0...
Reset done!
ethernet link up, 100 mbs, full-duplex
Ethernet port 0 initialized: link is up
button is pressed, wait for button to be released...
button pressed for 27 seconds
process_config_recovery: set IP address and config to default 10.0.0.1
process_config_recovery: image recovery
image_recovery: Download default IOS tar image tftp://255.255.255.255/c1200-k9w7-tar.default
examining image...tftp://255.255.255.255/c1200-k9w7-tar.default: no such file or directory
ERROR: Failed to open archive file tftp://255.255.255.255/c1200-k9w7-tar.default
download takes about 0 seconds
Loading "flash:/c1200-rcvk9w8-mx/c1200-rcvk9w8-mx"...######################################################## ############################################################################################################# ####
File "flash:/c1200-rcvk9w8-mx/c1200-rcvk9w8-mx" uncompressed and installed, entry point: 0x3000
executing...
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, C1200 Software (C1200-RCVK9W8-M), Version 12.3(11)JX1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 17-Jul-06 11:41 by alnguyen
Image text-base: 0x00003000, data-base: 0x00359FC0
Initializing flashfs...
flashfs[1]: 10 files, 3 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 7741440
flashfs[1]: Bytes used: 5403136
flashfs[1]: Bytes available: 2338304
flashfs[1]: flashfs fsck took 2 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.
cisco AIR-AP1231G-A-K9 (PowerPC405GP) processor (revision A0) with 15038K/1336K bytes of memory.
Processor board ID FHK0806J27X
PowerPC405GP CPU at 196Mhz, revision number 0x00C4
Last reset from power-on
LWAPP image version 3.0.51.0
1 FastEthernet interface
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:0F:24:5B:5F:11
Part Number : 73-8704-06
PCA Assembly Number : 800-23211-07
PCA Revision Number : A0
PCB Serial Number : FOC080512J4
Top Assembly Part Number : 800-23304-07
Top Assembly Serial Number : FHK0806J27X
Top Revision Number : B0
Product/Model Number : AIR-AP1231G-A-K9
Press RETURN to get started!
*Mar 1 00:00:05.109: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C1200 Software (C1200-RCVK9W8-M), Version 12.3(11)JX1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 17-Jul-06 11:41 by alnguyen
*Mar 1 00:00:06.034: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up
*Mar 1 00:00:07.034: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
*Mar 1 00:00:15.032: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
*Mar 1 00:00:24.122: %LWAPP-5-CHANGED: LWAPP changed state to DISCOVERY
*Mar 1 00:00:24.155: SSC Load Current Size crypto_mykey 116, offset 9416, Saved Size soap_cert_crypto_mykey 124
*Mar 1 00:00:24.155: SSC Load Current Size crypto_mykey 116, offset 10427, Saved Size soap_cert_crypto_mykey 124
AP000f.245b.5f11>
01-24-2013 09:42 AM
Looks like the path you specified in the root tftp doesn't have this file. You should be able to ping the AP also which will default to 10.0.0.1 255.255.255.0. Can you ping the AP when the AP has booted up?
Thanks,
Scott
Help out other by using the rating system and marking answered questions as "Answered"
01-24-2013 10:23 AM
The .tar file is in the TFTP Root folder. Also, I can't ping to the AP because if I let it boot like I did above, the
'tar -xtract c1200/k9w7-mx.123-8.JA 10.0.0.2'
command won't work.
If I unplug my Ethernet cable, allow the AP to boot, it will stay in ROMMON mode with the 'ap>' prompt. If I connect my cable then, it a few seconds before I can even try to ping the 10.0.0.1 address, it will boot up all the way to the
'AP000f.245b.5f11>' prompt.
See my dilemma?
01-24-2013 10:26 AM
so dumb question. when attempting this ,what is the IP and mask on your nic?
HTH,
Steve
------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered
01-24-2013 10:27 AM
PC: 10.0.0.2/24 (255.255.255.0)
01-24-2013 01:26 PM
PC: 10.0.0.2/24 (255.255.255.0)
Ummmm ... that's not right. It should be /8.
examining image...tftp://255.255.255.255/c1200-k9w7-tar.default: no such file or directory
Scott's right. The file doesn't exist or your TFTP client is pointing to the wrong directory.
01-24-2013 01:33 PM
The mask shouldn't really matter if your using 10.0.0.2 on you PC. I use /24:)
What I would do is use 3CDeamon and put that on another machine and use one as a tftp server and the other as a client and see if you can put or get a file.
Thanks,
Scott
Help out other by using the rating system and marking answered questions as "Answered"
01-28-2013 08:26 AM
The file does exist:
C:\TFTP-Root\c1200-k9w7-tar.default.tar
And the TFTP Client is pointing to this folder above.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide