VMware Cloud Community
Fabsanblackbr
Contributor
Contributor

UPGRADE VMWARE ESXI 5 USING WGET WITH FTP

Hi;

I would like to do a upgrade of my ESXI 5, using a patch by ftp, but I don´t get done the copy this file. At moment is not possible wget with http.

/vmfs/volumes # vmware -v

VMware ESXi 5.0.0 build-469512

/vmfs/volumes # cd /vmfs/volumes/datastore1

/vmfs/volumes/4f508f0a-a20facc5-09e7-90e2ba02b9e9 # cd UPDATE

/vmfs/volumes/4f508f0a-a20facc5-09e7-90e2ba02b9e9/UPDATE # wget ftp://cisco:cisco123@10.1.100.177/ESXi500-201207001.zip

Connecting to 10.1.100.177 (10.1.100.177:21)

wget: cannot connect to remote host (10.1.100.177): Connection timed out

In my machine with ftp server is possible to see the start of the copy but no exist a progress.

pastedImage_0.png

Please, my procedure is correct??

Regards;

Fabio Santos

Reply
0 Kudos
5 Replies
zXi_Gamer
Virtuoso
Virtuoso

Can you confirm if your firewall is set to allow ftpclients;

~ # esxcli network firewall ruleset list | grep -i ftpclient

ftpClient             false

~ #

Reply
0 Kudos
Fabsanblackbr
Contributor
Contributor

Hi,

My machine show

~ #  esxcli network firewall ruleset list | grep -i ftpclient  

ftpClient              true

Is it wrong?

Very thanks by help.

Reply
0 Kudos
tomtom901
Commander
Commander

Although you have the ftpClient rule already enabled, what you could do, to see if the ESXi firewall is your issue.

~ # esxcli network firewall set -e false

This disables the firewall entirely so this won't come in the way. If this doesn't work, try basic troubleshooting from the ESXi host. Do a ping, and see if the routes are correct (esxcli network ip route ipv4 list).

If disabling the firewall resolves your issue, be sure to enable it again:

~ # esxcli network firewall set -e false

And post the output of esxcli network firewall ruleset list and cat /etc/vmware/firewall/*.xml.

Reply
0 Kudos
fabblackbr
Contributor
Contributor

Very thanks, this procedure was functional.

Regards;

Fabio

Reply
0 Kudos
fabblackbr
Contributor
Contributor

Very thanks, this procedure was functional.

Regards;

Fabio

Reply
0 Kudos