Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot get connection via FTP

Status
Not open for further replies.

Roland

Programmer
Jul 29, 1999
43
DE
Hi folks,<br>unfortunately I am a complete newbie in Linux<br>(did all my stuff with Novell, so far)<br>with the following problem:<br>whem I try to access to my new-created Linux-Server<br>(Apache, Wu-FTPd and Samba on it) via FTP on<br>my window$98 machine, the dos-box hangs for<br>about 1 minute, then i get the message<br>'connecting to &lt;ip-no. of the linux-server&gt;'<br>an then: 'Connection terminated by remote-host'.<br>Ping works, telnet works. I dived into the<br>linuxconf-tool, the entries 'Guest groups'<br>and 'Banner file' have no entry. Important or not?<br><br>Has anybody some ideas?<br><br>Thank you so much!<br><br>Roland. <p>Roland Kuprat<br><a href=mailto:kuprat@zentrallabor.klinik.uni-mainz.de>kuprat@zentrallabor.klinik.uni-mainz.de</a><br><a href= > </a><br>
 
Are you running on a 10 or 100M network? I had a similar problem on my network which was 100. I forced the hub to go down to ten and it worked. I read that there is a setting in the kernel that tells it to use a 100 M network.<br><br><br> <p>Troy<br><a href=mailto:fenris@hotmail.com>fenris@hotmail.com</a><br><a href= > </a><br>
 
Thanks for this quick response, but i have also a 10M network!<br>May there any log files written by Linux to get closer to my problem (except /var/log)?<br><br>Thanks, Roland. <p>Roland Kuprat<br><a href=mailto: > </a><br><a href= > </a><br>
 
Can you ping linux from the windows boxes? Can you access the webserver from you windows box? Can linux ping the windows machines?<br><br>try checking /etc/hosts.allow and see if the ip addresses of your internal network are there, something like:&nbsp;&nbsp;192.168.0.0/24&nbsp;&nbsp;<br><br> <p>Troy<br><a href=mailto:fenris@hotmail.com>fenris@hotmail.com</a><br><a href= > </a><br>
 
Hi, Fenris!<br>Yes, i can ping from Linux to Windows and the other way round.<br>And i can access the apache server. When i enter the linux ip adress i get the<br>&quot;It works!&quot;-Screen. But you are right, there was no entry in the hosts.allow .<br>But after entering my ip adresses there and rebooting both machines, ftp still does not work.<br>By the way: when i try ftp from the linux-termial to itself (the ip-no. of the linux machine),<br>it works.( Of course, it is good for nothing, but it may show that ftp works standalone.)<br>May there additional rights to set?<br><br>I don't get on it.<br><br>Thanks<br> <p>Roland<br><a href=mailto: > </a><br><a href= > </a><br>
 
when you say you try to ftp from linux to itself it works, what address are you using, the nic or the loopback ie 192.168.0.x or the name of the linux box. I don't have access to my linux box at this moment, but I believe that in /etc there is an <A HREF="ftp://ftp.allow" TARGET="_new">ftp.allow</A> or something like that. You also might want to check /etc/hosts.deny as well. You may have already covered this, but is there an entry in your host file for the machines. Can you get nmap (<A HREF=" TARGET="_new"> and run a port scan on your linux box to see what is up and where. You could also try killall -HUP inetd...<br><br>Good luck.... <p>Troy Williams B.Eng.<br><a href=mailto:fenris@hotmail.com>fenris@hotmail.com</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top