0

I am booting without IOS and I get this prompt:

ap:

then I issue these commands:

ap: set IP_ADDR 192.168.0.111
ap: set NETMASK 255.255.0.0
ap: set DEFAULT_ROUTER 192.168.0.1
ap: tftp_init
ap: ether_init

Then I want to copy an IOS image to flash:

copy tftp://192.168.1.14/c1250-k9w7-tar.124-21a.JY.tar flash:

But I get error:

tftp://192.168.1.14/c1250-k9w7-tar.124-21a.JY.tar: no such file or directory

But I have double checked everything, the tftp server is running, the IOS is in the tftp, the IOS image name is correct, and IPs are fine, and router is plugged in the switch, etc.

How can I troubleshoot this issue please ? I really need to recover an IOS image into that AP.

Jonathan Rioux
  • 1,938
  • 6
  • 33
  • 57

2 Answers2

1

You should make sure that your TFTP server is actually functioning correctly. Try testing from a non-AP source. I suspect that you will find that it is not AP specific, but rather a problem with the TFTP server.

Assuming you're running tftpd, you should check the logs, which are usually located in/var/log/messages. You can start the TFTP daemon with -vvvvv for highest verbosity.

MDMarra
  • 100,734
  • 32
  • 197
  • 329
  • But also how can I check if the connection is actually working on the AP ? I dont have the "ping" command on the AP recovery mode. – Jonathan Rioux Apr 25 '12 at 22:08
  • @JonathanRioux One step at a time. The first step is to verify that the tftp server works. After that, you can ping the AP from another device on the same network. It should respond. – MDMarra Apr 25 '12 at 22:37
  • It was my TFTP server that did not worked. Now it works, thanks! – Jonathan Rioux Apr 26 '12 at 17:30
1

this error occurs when you do not set the path of the file on the tftp server correctly. for eg. on tftpd32 you should set the location of the current directory of the specific server interface where the file is located!

tyrese
  • 11
  • 1