LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cannot access FTP for downloads (https://www.linuxquestions.org/questions/linux-networking-3/cannot-access-ftp-for-downloads-582900/)

Newme 09-07-2007 06:42 AM

Cannot access FTP for downloads
 
I am currently using Arch linux and the sources for the package manager are ftps (mostly). When I first got it up and running it was fine, but this week I get this message when I have tried to update/install anything for it through the package manager:

Quote:

error: failed retrieving file 'current.db.tar.gz' from ftp.belnet.be : Network is unreachable
error: failed to synchronise current: Network is unreachable
I have tried various other FTP sources and get the same thing. Someone suggested trying to download a file from ftp using just wget so I did and to no avail, I just get this message:

Quote:

[dave@hades ~]$ wget ftp://ftp.gnu.org/README
--19:15:41-- ftp://ftp.gnu.org/README
=> `README'
Resolving ftp.gnu.org... 140.186.70.20
Connecting to ftp.gnu.org|140.186.70.20|:21... failed: Connection timed out.
Retrying.

--19:18:51-- ftp://ftp.gnu.org/README
(try: 2) => `README'
Connecting to ftp.gnu.org|140.186.70.20|:21...
I am using a wireless connection, but I don't understand what could have gone wrong since I was downloading using the FTP sources fine last weekend. I have changed no settings on my router. I can also access webpages and download fine through HTTP.

Thanks for any help.

Simon Bridge 09-08-2007 02:44 AM

attempt to ping the ftp server
try browsing to it

I just checked and the servers are up (tonight), so you probably changed something without realizing. Check firewall and network connections. Change the WAP (i.e. try via a different network.) Stuff like that.

Newme 09-08-2007 05:56 AM

Tried pinging and I get a response.

I can also browse to the ftp fine over firefox.

I have tried turning the firewall on my router on and off but neither seems to make any difference, pacman still wont download via the ftps. I have changed no network settings since it was working last weekend, just seems to have stopped working on its own accord... :(

druuna 09-08-2007 06:19 AM

Hi,

Did you try wget's --no-passive-ftp option?
I.e: wget --no-passive-ftp ftp://ftp.gnu.org/README

Hope this helps.

Newme 09-08-2007 12:26 PM

Tried this, just gets to "Connecting to...." and doesn't do anything. Tried reinstalling wget but to no avail :'(

Simon Bridge 09-08-2007 01:05 PM

OK... immediate workaround is to use your browser as an ftp client ... rt-click on the file you want and select "download link as".

You want to re-install your ftp client, and check out your network jumps.
Test CLI programs with their verbose option set.
Try ftp on port 80, say. Perhaps the router firewall policy has changed - likely if you don't control it.

Remember - was going, now isn't = something has changed. Your box, somewhere in the network, or at your ISP. Is the issue wget and pacman? What about ftp (from cli)?

Of course, the pacman servers have been throttled... you are using a mirror?


All times are GMT -5. The time now is 07:00 PM.