LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-18-2006, 12:01 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
ftp connect problem.


I have to download one programme from the website http://ftp4.de.freesbie.org/.But i could not connect to.



bash-2.05$ ping -sa 134.76.11.100
PING 134.76.11.100: 56 data bytes
64 bytes from 134.76.11.100: icmp_seq=0. time=400. ms
64 bytes from 134.76.11.100: icmp_seq=1. time=392. ms
64 bytes from 134.76.11.100: icmp_seq=2. time=400. ms
64 bytes from 134.76.11.100: icmp_seq=3. time=397. ms
64 bytes from 134.76.11.100: icmp_seq=4. time=404. ms
64 bytes from 134.76.11.100: icmp_seq=5. time=399. ms
64 bytes from 134.76.11.100: icmp_seq=6. time=404. ms
64 bytes from 134.76.11.100: icmp_seq=7. time=395. ms
^C
----134.76.11.100 PING Statistics----
8 packets transmitted, 8 packets received, 0% packet loss
round-trip (ms) min/avg/max = 392/398/404
bash-2.05$ ftp 134.76.11.100
ftp: connect: Connection refused
ftp> quit
bash-2.05$ ftp 134.76.11.100 21
ftp: connect: Connection refused
ftp> quit
bash-2.05$ ftp 134.76.11.100 -v
134.76.11.100: bad port number-- -v
usage: ftp host-name [port]
ftp>


Where is the problem?How to connect.
 
Old 01-18-2006, 01:31 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Try using http://ftp.gwdg.de/pub/ in a web browser. When I entered http://ftp4.de.freesbie.org/ in a browser, it was the front page for the link at the start of this post.

Last edited by gilead; 01-18-2006 at 01:32 AM.
 
Old 01-18-2006, 02:39 AM   #3
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
I believe you're mixing up the HTTP (website) protocol and the FTP (file transfer) protocol.
If you want to download from a website, ie http://something.somewhere, then you're using the HTTP protocol
(note the "http://" at the beginning).
This means that the computer you're trying to reach is reachable via a browser, on port 80 (HTTP port).

However, if you do "ftp IP-address", then you're using the FTP protocol (ports 20/21, not port 80). You're actually trying to reach "ftp://something.somewhere". The remote site may prevent such ftp access, for instance
if they don't have an ftp server on the same machine, if they don't allow incoming ftp connections on their firewall, etc.

So, you should stick to the protocol that is suggested. HTTP in this case. Try downloading the file in a browser.

If however, you want to download loads of files from a site and you don't want to click on each of them to download them manually, I suggest that you use the "wget" utility.
It's very handy for downloading a bunch of files, either via http or ftp (it supports both).

But I must say that the URLs in this case are a bit confusing. They seem to be FTP URLs (ie "pub" directory, "ftp4", etc), but they are HTTP addresses (http://). Those guys probably need to clarify their configuration and/or set up a proper FTP (or SFTP) server. lol
 
Old 01-18-2006, 03:00 AM   #4
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
I have converted the website u gave to IP.

bash-2.05$ ping -sa 134.76.11.100
PING 134.76.11.100: 56 data bytes
64 bytes from 134.76.11.100: icmp_seq=0. time=440. ms
64 bytes from 134.76.11.100: icmp_seq=1. time=399. ms
64 bytes from 134.76.11.100: icmp_seq=2. time=397. ms
64 bytes from 134.76.11.100: icmp_seq=3. time=396. ms
64 bytes from 134.76.11.100: icmp_seq=4. time=398. ms
64 bytes from 134.76.11.100: icmp_seq=5. time=404. ms
64 bytes from 134.76.11.100: icmp_seq=6. time=413. ms
^C
----134.76.11.100 PING Statistics----
8 packets transmitted, 7 packets received, 12% packet loss
round-trip (ms) min/avg/max = 396/406/440

bash-2.05$ ping -sa ftp.gwdg.de
ping: unknown host ftp.gwdg.de
bash-2.05$ ftp 134.76.11.100
ftp: connect: Connection refused
ftp>

Should my alter any other because which works for local ftp connection.

bash-2.05$ ftp 10.255.240.230
Connected to 10.255.240.230.
220 (vsFTPd 2.0.1)
Name (10.255.240.230:user6):

looks like working But could not reach the website You gave or whatever.

Here is a list i got.


bash-2.05$ traceroute -I 134.76.11.100
traceroute: Warning: Multiple interfaces found; using 10.2.1.99 @ eri0
traceroute to 134.76.11.100 (134.76.11.100), 30 hops max, 40 byte packets
1 202.141.29.33 (202.141.29.33) 1.207 ms 0.969 ms 1.057 ms
2 202.141.31.25 (202.141.31.25) 4.833 ms 4.757 ms 5.015 ms
3 202.141.30.3 (202.141.30.3) 4.943 ms 5.924 ms 7.142 ms
4 61.95.191.133 (61.95.191.133) 78.933 ms 13.247 ms 89.226 ms
5 61.95.180.7 (61.95.180.7) 163.318 ms 118.849 ms 66.709 ms
6 61.95.180.90 (61.95.180.90) 65.389 ms 98.663 ms 15.715 ms
7 203.208.147.81 (203.208.147.81) 295.331 ms 302.891 ms 322.265 ms
8 208.50.13.165 (208.50.13.165) 259.911 ms 208.50.13.185 (208.50.13.185) 251.319 ms 208.50.13.165 (208.50.13.165) 261.630 ms
9 * 67.17.65.78 (67.17.65.78) 435.963 ms 415.855 ms
10 208.48.23.142 (208.48.23.142) 410.652 ms 422.583 ms 392.269 ms
11 188.1.18.2 (188.1.18.2) 403.562 ms 395.605 ms 410.469 ms
12 188.1.18.6 (188.1.18.6) 395.625 ms 395.991 ms 405.229 ms
13 * * 188.1.18.10 (188.1.18.10) 396.650 ms
14 188.1.18.58 (188.1.18.58) 408.768 ms 461.997 ms 456.968 ms
15 188.1.19.14 (188.1.19.14) 433.041 ms 575.735 ms 410.922 ms
16 188.1.46.202 (188.1.46.202) 400.229 ms 400.810 ms 417.139 ms
17 134.76.11.100 (134.76.11.100) 425.885 ms 390.072 ms 434.422 ms
bash-2.05$
 
Old 01-20-2006, 01:19 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
Can anyone trace this damn.
 
Old 01-20-2006, 01:43 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
On my RH8 box, both ftp4.de.freesbie.org and ftp.gwdg.de indeed have IP
134.76.11.100

Ftp to this address works just fine. It gives me the FTP welcome message from the "Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH Goettingen" (which means something like the "organisation for scientific data processing in Goettingen" (if my German is still any good after a few years).

When you open the 2 links in gilead's post (adding "pub/" at the end of the second), in a browser, it gives the index of the pub directory. You can download the program from there.

However, what worries me a bit is "Warning: Multiple interfaces found" in your traceroute. Do you have multiple network interfaces? If so, it could be normal. If not, you may have another computer using your IP on the same network (duplicate IP).

If your ftp doesn't work, you should check your firewall settings.
 
Old 01-20-2006, 05:45 AM   #7
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
Well,Works Thanks.But the speed of downloading linux iso's is very low.Is there any way to accelerate that?
 
Old 01-20-2006, 06:31 AM   #8
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
The speed of a download is affected by many causes:
-speed and load of the downloading machine
-speed and load of the server from which you download it
-speed of the interconnection (speed of your internet link, speed of internet path that's followed,etc).

So, there's nothing much you can do, except:
-Choose a server as close to you as possible ("the longer the path, the slower").
-If possible, choose a server (or a mirror) that's interconnected to your network/computer via the fastest link. For instance, our network is connected via a very fast multi-gigabit link with several other networks of research facilities in the surrounding countries. Whenever I can, I download from a mirror that's on that same research "backbone", simple because it's very fast.
-Limit the load on your computer (don't do anything except downloading).
-Limit the number of interfering soft- and hardware (like firewalls, antivirus, etc) as much as possible, without comprimising security, of course.
-As for the speed and load of the server, that's just "trial-and-error". If one server seems to busy, use another...
-Use automatic download programs/ftp clients. They are often slightly faster then you typing in the commands with the ftp command line tool. Personnally, I've often used "wget" on Linux/Unix.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to connect ftp... monojit_18 Linux - Software 2 10-03-2004 05:16 PM
Cant connect to my ftp from the outside deep9 Linux - Networking 3 04-19-2004 05:22 AM
ftp - not able to connect chapzilla Linux - Newbie 1 07-29-2003 06:11 PM
can not connect too ftp server pover Linux - Newbie 0 01-18-2002 10:03 AM
ftp connect to linux server problem,help! xman Linux - General 1 03-10-2001 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration