01-11-2011 09:42 AM - edited 07-03-2021 07:39 PM
i got a cisco 1310 aironet with a forgotten password.
i am trying to follow pw recovery which calls for renaming the config.txt and env_vars.txt in bridge mode (like romon).
when i try deleting or renaming it gives me unfound / permissions denied.
[as a different approach i tried loading a new image via tftp but ran out of space,
that doesnt overwrite the existing image it seems just writing the tar to the available flash space.]
heres the output:
bridge: dir flahs:
unable to stat flahs:/: permission denied
bridge: dir flash:
Directory of flash:/
2 -rwx 3852 <date> private-config
3 -rwx 277 <date> info
4 drwx 256 <date> c1310-k9w7-mx.123-7.JA3
145 -rwx 4450 <date> config.txt
146 -rwx 316 <date> env_vars
147 -rwx 3096 <date> private-multiple-fs
148 drwx 64 <date> c1310-k9w7-mx.124-3g.JA1
2736640 bytes available (5004800 bytes used)
bridge: rename config.txt oldfig.txt
rename: no such file or directory
bridge: delete config.txt
Are you sure you want to delete "config.txt" (y/n)?y
File "config.txt" not deleted -- permission denied
Solved! Go to Solution.
01-11-2011 10:05 AM
Try to do it like this:
bridge: rename flash:/config.txt flash:/oldfig.txt
in rommon/bridge, you usually have to call the directory you are wanting to look into or change.
HTH,
Steve
Please remember to rate helpful posts
01-11-2011 10:05 AM
Try to do it like this:
bridge: rename flash:/config.txt flash:/oldfig.txt
in rommon/bridge, you usually have to call the directory you are wanting to look into or change.
HTH,
Steve
Please remember to rate helpful posts
01-11-2011 10:13 AM
brilliant, works, thank you!
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