Hi everyone,
I'm have a quite odd FTP problem. The thing is I cannot connect to FTPs using: gFTP / Firefox / urpmi (I can't even update my pc using urpmi!), but I can connect normally using the ftp command line problem.
I've being having this problem for the last month or so. On windows the ftp functions normally on FTP Core.
Here is a demonstration of the problem.
Using command line ftp:
Code:
[felipe@Lapa ~]$ ftp mandrake.contactel.cz
Connected to mandrake.contactel.cz.
220 212.65.242.233 FTP server ready
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (mandrake.contactel.cz:felipe): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
lrwxrwxrwx 1 root root 22 May 11 2004 Mandrake -> Mandrakelinux/official
lrwxrwxrwx 1 root root 19 May 11 2004 Mandrake-devel -> Mandrakelinux/devel
lrwxrwxrwx 1 root root 26 May 11 2004 Mandrake-iso -> Mandrakelinux/official/iso
drwxr-xr-x 13 (?) (?) 250 Oct 27 2004 Mandrake-old
lrwxrwxrwx 1 root root 23 Jul 8 2004 Mandrake-updates -> Sunsite-updates/updates
dr-xr-x--- 1 apache apache 4096 May 27 10:46 MandrakeClub
drwxr-xr-x 4 root root 33 Oct 27 2004 Mandrakelinux
lrwxrwxrwx 1 root root 8 Apr 7 19:38 Mandriva -> Mandrake
lrwxrwxrwx 1 root root 19 Apr 7 19:38 Mandriva-devel -> Mandrivalinux/devel
lrwxrwxrwx 1 root root 26 Apr 7 19:39 Mandriva-iso -> Mandrivalinux/official/iso
lrwxrwxrwx 1 root root 15 Apr 7 19:39 Mandriva-updates -> Sunsite-updates
lrwxrwxrwx 1 root root 12 May 11 07:34 MandrivaClub -> MandrakeClub
lrwxrwxrwx 1 root root 13 Apr 7 19:37 Mandrivalinux -> Mandrakelinux
drwxr-xr-x 3 root root 20 Jul 8 2004 Sunsite-updates
-rw-r--r-- 1 root root 5197298 Jun 28 22:03 ls-lR.gz
drwxr-xr-x 14 root root 4096 Mar 31 11:45 people
-rw-r--r-- 1 root root 1912 Jan 4 10:23 struktura_adresaru.txt
226 Transfer complete.
ftp>
As you can see I connected successfully to mandrake.contactel.cz using ftp on the command line.
Now trying to add this repository with urpmi:
Code:
[root@Lapa felipe]# urpmi.addmedia main2 ftp://mandrake.contactel.cz/Mandrake...586/media/main with media_info/hdlist.cz
incapaz de acessar a arquivo 'hdlist' de "main", mídia ignorada
Mídia adicionada main2
grava o arquivo de configuração [/etc/urpmi/urpmi.cfg]
Examinando arquivo de síntese [/var/lib/urpmi/synthesis.hdlist.andyrtr.cz]
Examinando arquivo de síntese [/var/lib/urpmi/synthesis.hdlist.update_source.cz]
Adquirindo a fonte 'hdlist' (ou a síntese) de "main2"...
ftp://mandrake.contactel.cz/Mandrake...info/hdlist.cz
A aquisição falhou: curl: (7) couldn't connect to host
Aquisição da fonte hdlist (ou síntese) falhou
Nenhum arquivo 'hdlist' encontrado para a mídia "main2"
Examinando arquivo de síntese [/var/lib/urpmi/synthesis.hdlist.main2.cz]
Problema ao ler arquivo síntese da mídia "main2"
Encontrado 0 cabeçalhos no cache.
Removendo 0 cabeçalhos obsoletos no cache.
grava o arquivo de configuração [/etc/urpmi/urpmi.cfg]
incapaz de atualizar mídia "main2"
[root@Lapa felipe]#
This doesn't happen only to this ftp site, acctually I tryed more then 20, and that's very wierd because urpmi used to function normally. Also
ftp://mandrake.contactel.cz/Mandrake...info/hdlist.cz does exist. I could even download it using the command line ftp.
FTP also won't work on Firefox. It simply won't, the page stays loading forever and I could not find any ftp configurations on firefox.
gFTP also doesn't work (and it used to work). It will say the login was successfull. Here is it's output:
Code:
USER braillevirtual
331 Password required for braillevirtual.
PASS xxxx
230 User braillevirtual logged in.
SYST
215 UNIX Type: L8
TYPE A
200 Type set to A.
PWD
257 "/home/braillevirtual" is current directory.
Carregando lista do diretório /home/braillevirtual do servidor (LC_TIME=pt_BR)
PASV
227 Entering Passive Mode (143,107,48,115,133,105)
It will remain in Passive Mode forever, I will never be able to see the contents of the directory. This site works perfectly when I connect using the command line FTP.
I'm behind a router, but that shouldn't be a problem, since:
1 - FTP worked last month
2 - I don't think that ftp clients should be affected by routers... only servers should
I searched a lot, but couldn't find any answers...
I also don't remember changing anything related to networking or anything last month that could be causing this... ftp just started to slowly stop functionning.
I'm using Mandriva 2005 / connecting throught cable, perfectly working www / http internet.
Any help apreciated,
Felipe