cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9216
Views
9
Helpful
9
Replies

TFTP, Protocol does not support listing directories

Wei Kwong Ong
Level 1
Level 1

Hi everyone,

I am trying to install patch for PI 1.4 because of the browser problem. I have downloaded the patch.

I also have read the post https://supportforums.cisco.com/docs/DOC-26972#comment-22434 and followed the steps described.

I created repository and try to make the tftp server's root directory into the repository, as u can see in the picture below. Is it correct? Because when I want to display the file contain in the repository, the error message shown "Protocol does not support listing directories", what does it mean?

prime1.4.png

Thanks.

1 Accepted Solution

Accepted Solutions

Rob Johnson
Cisco Employee
Cisco Employee

Here's another way:::

1)  From your PC launch a CMD Prompt

2)  CD to the directory where the patch is installed

3)  ftp xxx.xxx.xxx.xxx (this is the IP address of the NCS/PI server)

4)  login as ftp-user

5)  enter the password created during the install of NCS/PI for the ftp user account (if you don’t know it, you can change it by entering

ncs password ftpuser ftp-user password

6)  type bin then press return

7)  type hash then press return

8)  type put

9)  login to the CLI of the NCS/PI server as an admin user

10) type dir disk:ftp and you’ll see the file stored in the /localdisk/ftp directory on the disk

11) if you don’t have a repo pointing to disk:ftp then create one using

     a) config t

     b) repository localftp

     c) url disk:/ftp

     d) exit

12) type ncs stop

13) type patch install localftp

Note: if a PC firewall is enabled, you may have to disable it in order to get the file transfer to work


View solution in original post

9 Replies 9

Sandeep Choudhary
VIP Alumni
VIP Alumni

Hi Wei,

Make sure PI.zip is listed for the 'show repository ' command. For tftp, if directory listing is not enabled, then restore will fail. This is an expected behavior and 'show repository' will throw error message.

Check it here:

http://www.cisco.com/en/US/docs/wireless/ncs/1.0/configuration/guide/tasks.html

Hope it helps.

Regards

Dont forget to rate helpful posts.

Rob Johnson
Cisco Employee
Cisco Employee

Here's another way:::

1)  From your PC launch a CMD Prompt

2)  CD to the directory where the patch is installed

3)  ftp xxx.xxx.xxx.xxx (this is the IP address of the NCS/PI server)

4)  login as ftp-user

5)  enter the password created during the install of NCS/PI for the ftp user account (if you don’t know it, you can change it by entering

ncs password ftpuser ftp-user password

6)  type bin then press return

7)  type hash then press return

8)  type put

9)  login to the CLI of the NCS/PI server as an admin user

10) type dir disk:ftp and you’ll see the file stored in the /localdisk/ftp directory on the disk

11) if you don’t have a repo pointing to disk:ftp then create one using

     a) config t

     b) repository localftp

     c) url disk:/ftp

     d) exit

12) type ncs stop

13) type patch install localftp

Note: if a PC firewall is enabled, you may have to disable it in order to get the file transfer to work


Hi Rob

Thanks for your solution, but I got the error when log in via cmd. I have created ncs account ftp-user and password 1234Qwer, but when I failed to login using the username and password. How to solve it?

Thanks

It looks like you're doing it right as for trying to ftp the patch file over.

I have seen it before were the complexity of the password has caused issues.

Please try to change the password to something very simple like Cisco123 for example.

ncs password ftpuser ftp-user password Cisco123

If it still doesn't work create an ftp repo on the NCS appliance then install the patch file from the remote repository.

But how to install the patch file from the remote repository after created a ftp repo and the username password?

The ip address of the ftp server must be in the same subnet with the local ip address?

Once you've created the repo as shown in the screen shot above using the commands:

conf t

repository remoteftp

url ftp://192.168.169.100

user username password plain password

end

You would then put the patch file on the ftp server then you could install it from there.  No the ftp repo doesn't need to be on the same subnet as the local ip address.

Once you have the file on the ftp server you could then type:

show repository remoteftp and you should see the patch file sitting out there

from there you would then type:

patch install remoteftp

Yes I did it! Thanks Rob for willing to help!

glad it worked:::

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: