SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I can't connect to any FTP server regardless of which client I am using on my Slackware box. If I go to another computer it works just fine.
Code:
ftp> open ftp.start.no
ftp: connect: Connection timed out
The only thing I can think of is this:
I am getting an IP from the router with
Code:
dhcpcd -s 192.168.0.10 eth3
and the other machines are getting allocated addresses dynamically.
I can do pretty much anything except connect to FTP servers with the machine which has the issue. Is it possible that my Tilgin Vood 452w_B is the culprit? Glancing over the settings I can't see anything which should create such a block, as this machine is outside the DHCP pool (192.168.0.50-100) it could block "specific" traffic without letting me know about it. I dunno. I've been going over and over my configs and this is about to drive me insane.
/etc/HOSTNAME
Code:
crapola.lan
/etc/resolv.conf
Code:
nameserver 192.168.0.1
/etc/hosts
Code:
127.0.0.1 crapola.lan crapola
Any thoughts about where to start to untangle this?
It sounds like you're blocking the ftp port (port 21) outbound from your machine. The built in firewall for most Linux distros is iptables. You might try to stop iptables and test ftp. If it works then you'd need to restart iptables and add a rule to allow outbound port 21.
Most systems don't block outbound traffic - just inbound but its not impossible someone did block it outbound for some reason.
So, it's either DNS or firewall trouble. Try ping ftp.start.no - if it succeeds then your DNS is working. Then, try telnet'ing to FTP port with telnet ftp.start.no 21 - if it timeouts as well or shows "connection refused" then there is a firewall somewhere on the path. It may be your router but also it might be set up by your ISP for some reason.
Yep, I can ping it, but telnet is denied. I think I'll have to poke about in the Tilgin settings some more. Last time I had similar issues, I didn't at all get net when I asked specifically for the 192.168.0.10 IP via dhcpcd, but when I asked for a dynamic IP; full access to the interwebs was granted.
what's your ftp program? when I type
ls /usr/bin/*ftp
I get a few. And let's have the _exact_ error message you see in a terminal
ncftp is nice but it does mess up the odd anonymous login. nacftp or lftp work on ftp.heanet.ie
BTW this can be the server. There is a very conservayive MAXALLOWEDCLIENTS setting.Some servers only allow 5 and if you're number 6, you get the middle digit. Try off peak.
I've tried everything from good old "ftp" to MC's client to the FireFTP addon for Firefox, every single one is denied on this specific machine, same clients elsewhere works just dandy no matter what time of day I try connecting on, so I doubt it is the server.
Thanks for all suggestions so far and keep em coming.
Yep, I can ping it, but telnet is denied. I think I'll have to poke about in the Tilgin settings some more. Last time I had similar issues, I didn't at all get net when I asked specifically for the 192.168.0.10 IP via dhcpcd, but when I asked for a dynamic IP; full access to the interwebs was granted.
No error reply, just a timeout.
Code:
telnet ftp.start.no 21
Trying 195.159.73.78...
telnet: connect to address 195.159.73.78: Connection timed out
Well we know the port on that IP works since I could get to it from here.
That means either something in your route to host is blocking port 21 (since you can ping and do other things) or they are specifically blocking your IP (or the range it is isn) for some reason.
What part of the world are you doing this in? Many people routinely block all IPs from various countries (e.g. China, North Korea, Russia) if they don't have reason to go there all the time. I see they are in Norway.
I can connect from other machines using the same software through the very same local network. It isn't just this specific server, it's all servers. Only thing that differ is the way I get an IP from the DHCP server on my local network. *shrugs*
Yep, didn't bother checking wether or not this was the very same issue I had earlier. Just seemed obvious somehow.
Anyways. I told the dhcp server to give me an IP within the pool specified..
Code:
> dhcpcd -s 192.168.0.65 eth3
Broadcasting DHCP_INFORM for 192.168.0.65
broadcastAddr option is missing in DHCP server response. Assuming 192.168.0.255
dhcpIPaddrLeaseTime option is missing in DHCP server response. Assuming 4294967295 sec
dhcpT1value is missing in DHCP server response. Assuming 2147483647 sec
dhcpT2value is missing in DHCP server response. Assuming 3758096383 sec
DHCP_ACK received from (192.168.0.1)
Broadcasting ARPOP_REQUEST for 192.168.0.65
> ftp ftp.start.no
Connected to ftp.start.no.
220 (vsFTPd 2.0.5)
Name (ftp.start.no:tilgineatmycrotch):
And then..
Code:
> dhcpcd -s 192.168.0.10 eth3
Broadcasting DHCP_INFORM for 192.168.0.10
broadcastAddr option is missing in DHCP server response. Assuming 192.168.0.255
dhcpIPaddrLeaseTime option is missing in DHCP server response. Assuming 4294967295 sec
dhcpT1value is missing in DHCP server response. Assuming 2147483647 sec
dhcpT2value is missing in DHCP server response. Assuming 3758096383 sec
DHCP_ACK received from (192.168.0.1)
Broadcasting ARPOP_REQUEST for 192.168.0.10
> ftp ftp.start.no
ftp: connect: Connection timed out
It's the bastard Tilgin Vood 452w_B as I first suspected indeed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.