LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2002, 03:46 PM   #1
RaistlnMjr
LQ Newbie
 
Registered: Oct 2002
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Trouble with FTP


Hello, I'm very new to Linux and I'm having a problem with FTP. I'm currently running Debian. I installed the FTP package successfully, however, when I try to connect to an FTP site I get the following error: Host name lookup failure.

Can anyone out there please help. I've been online for 3 hours looking up guides and how-tos and nothing.

Thanks,
RaistlnMjr
 
Old 10-12-2002, 04:15 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Well, to start off, what FTP package did you install and what happens when your running the program, any errors during install/compile ? It appears your trying to FTP to another site, which site is it, have you tried its IP number if your trying by name since your getting hostname lookup failure ??
 
Old 10-13-2002, 12:18 AM   #3
RaistlnMjr
LQ Newbie
 
Registered: Oct 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, here's the info you wanted

dist: Debian
package: ftp 0.17-9 FTP Client
I had no errors during install

I was trying to ftp to the debian ftp site at:
http://ftp.us.debian.org/debian

I tried it with and with the http:// at the front. I also tried to connect to this site using windows and a windows ftp client I know works and couldn't either. So I then tried ftp.intel.com with my windows box and that worked. So I tried connecting to the intel site with linux and nothing. I also tried using the IP like you said (198.175.98.64) and nothing. The linux box doesn't even look like it's trying. It seems to quit the second I enter the command.

Any other advice?

Thanks for the help.
 
Old 10-13-2002, 02:22 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Well basically the problem when ftp'ing to a site from a command line, you can't specify the directory at the end.

Try this as it worked for me at a command line:

$ ftp ftp.us.debian.org

And that should get you connected. Just login as anonymous and use your email for password.

Basically specifying http://ftp.us.debian.org/debian works in a browser window or probably in other ftp clients, but is not recognized at a command line ftp program.

Once logged in, you can just cd to the debian directory..

man ftp for more details.

Let me know if that is how your connecting or not. Cause that domain, I had no problems connecting to anonymously.

-trickykid
 
Old 10-13-2002, 02:42 AM   #5
RaistlnMjr
LQ Newbie
 
Registered: Oct 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
I did what you said and nothing. I get the same error: Host name lookup failure.

It seems that as soon as I enter the command it quits. It doesn't even seem to try and connect. Is there some configuration settings or something that may be wrong? Should I also have the FTP Server up and running?

Thanks for your help so far, I really appreciate it.
 
Old 10-13-2002, 02:45 AM   #6
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Are you sure you have network connection at all ?

Last edited by markus1982; 10-13-2002 at 02:47 AM.
 
Old 10-13-2002, 02:46 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Just for kicks, and to test things out try this:
ftp masterc.no-ip.org

And login as anonymous as tricky showed.

Cool
 
Old 10-13-2002, 03:01 AM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Can you ping it and get replies ??

ping ftp.us.debian.org

And if not, what happens if you ping the IP of it ?

ping 35.9.37.225

Also try my ftp server with anonymous login like above: ftp 66.68.41.138

Last edited by trickykid; 10-13-2002 at 03:03 AM.
 
Old 10-13-2002, 12:16 PM   #9
RaistlnMjr
LQ Newbie
 
Registered: Oct 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Hello all, I tried everything you guys/gals? told me and here are the results:

ftp masterc.no-ip.org: result = Host name lookup failure

ping ftp.us.debian.org: result = unable to find host

ftp 66.68.41.138: result = Host name lookup failure

ping 66.68.41.138: result = unable to find host

I digress, I have an old Compaq Presario 1080 Laptop. I also have a linksys pcmcia ethernet card. When I plug in the ethernet card the OS picks it up. Furthermore, the lights on the card light up telling me that it's a live feed. I have the following packages installed:
pcmcia-cs 3.1.33-6
net-tools 1.60-4
netbase 4.07
netkit-inetd 0.10-9
netkit-ping 0.10-9

Hope this info helps.

Thanks a ton for all of your help.
RaistlnMjr

ping 35.9.37.225: result = Network is unreachable
 
Old 10-13-2002, 05:11 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Seems to me you don't have any sort of network connection or its not getting past a router or gateway if your using one. How are you connecting, cable, dsl.. etc and are you using any sort of router ? What do you get on the output of ifconfig ?
 
Old 10-13-2002, 05:45 PM   #11
RaistlnMjr
LQ Newbie
 
Registered: Oct 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Initially I wasn't using a router, however, I just got a router today because it was getting annoying to keep switching the cable from box to box. I am connecting with RoadRunner Cable Connection. I have a Motorola Surfboard Modem. The router I have is a Linksys 4 port router.

Here is the output from ifconfig:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MUT:3924 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:528 (528.0 b) TX bytes:528 (528.0 b)

Thanks,
RaistlnMjr
 
Old 10-13-2002, 06:00 PM   #12
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Do you have a (working) ethernet card in your computer ? Vendor? Model? Kernel version?

To get the kernel information just use
Code:
uname -a
 
Old 10-13-2002, 06:17 PM   #13
RaistlnMjr
LQ Newbie
 
Registered: Oct 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
I believe I have a working card.

Vendor: Linksys
Model: EC2T

Here's the output from uname -a:
Linux solace 2.2.20 #1 Sat Apr 20 11:45:28 EST 2002 i586 unknown

Thanks
 
Old 10-13-2002, 08:00 PM   #14
RaistlnMjr
LQ Newbie
 
Registered: Oct 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Some more info:

I installed lynx on the computer to see if maybe I could get online to a web site. No luck. Lynx is working fine (I made an html page locally and viewed it with no problem), however, when I try to go to something outside I get the following:
Unable to connect to remote host

RaistlnMjr
 
Old 10-13-2002, 08:46 PM   #15
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Well you can view locally cause it doesn't use a network to view the file. But from your output of ifconfig, its not recognizing your ethernet card or you would have not just lo which is your loopback address but also an eth0.

According to the Linksys website, your card should use the ne2000 module to get it working.

Do an modprobe ne2000 or a insmod ne2000 to insert the module.

Check out this page to help setup your card. You kernel version should be fine as this module should available.

http://www.linksys.com/support/support.asp?spid=26
 
  


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
binary ftp trouble anmsg Linux - Networking 2 10-15-2004 12:51 AM
FTP Trouble. boardinglaxplr Debian 2 10-01-2004 10:34 PM
ftp trouble mvanadel Linux - Networking 2 06-30-2004 06:30 PM
FTP trouble bripage Linux - Networking 51 04-17-2002 12:43 PM
FTP trouble eweborg Linux - Networking 2 03-04-2002 11:14 PM


All times are GMT -5. The time now is 01:58 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration