Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
* have you been playing with the webbased control panel of your router? You need to tell your router it should forward to connection to your machine. These options can be found in the port-forwarding, or NAT-setup menu's of your router.
I am able to connect locally to my FTP server, but as I try to connect to the IP address given to me by whatismyip.com, it connects to what I suppose is either my ISP or my DSL modem. The IP address I have been given is my modem's public IP address, which is dynamic... I called my DSL provider and they said they opened up all the ports for my modem... I don't know what ¨opened up the ports¨ means, but I supposed they had made it so that all ports were redirected to my dsl modem... I guess I should call them again and ask them to just redirect port 21... Help anyone?
markus1982: what do you mean when you say ¨bound vsftpd to x.x.x.x¨?
Anyway, I already solved it... I guess I'm pretty much an ignoramus when it comes to remote networking... anyway i finally understood that the router is in my dsl modem, which I don't have access to because my dsl company is so nice that they won't give me the password of my own dsl modem... anyway i called them up, they accessed my modem's router, redirected ports to my pc's ip, and i set up vsftpd.
Note to anyone who might have similar problems: Connecting to your newly set up ftp server through another computer in the same network won't work, for some reason. So you have to try to connect through an outside computer (What i did was disconnect one of my computers at home from the network, then connect it through dial-up). When I tried that, it said ¨Service not available¨ or something like that, but that was because I had to enable that computer to enter the server in the /etc/hosts.allow file.
Anyway it's all up and running now, thanks to anyone who at least thought of helping me... and if anyone needs any details as to how i did it, I'd be happy to help.... although I'm still pretty much a newbie.
I've been reading through this thread and seem to be having a fairly similar problem. except for one major difference. I only want to connect from other computers on the same network (I think) I'm living on a college campus and i want to be able to save files directly to my hard drive from computer labs. In this scenario, would I use my real ip or my internal one? Also is this possible? cuz I can't connect to the ftp server when I try to use an ip address.
ftp localhost - works
ftp 184.108.40.206 (except w/ real or internal ip) doesn't work
Like yapp said, check your hosts, hosts.allow and hosts.deny, and make sure that the server (place where you are connecting to, which if i read correctly is your room computer) has allowed access to the computer(s) where you are trying to connect from.
But anyway, if it's on the same network and all you wanna do is transfer files, why not just use samba?
yapp, few days back, I scanned the ports of my server, and I did not not find any entry for port 21 which is the port for vsftpd by default. I think that is the reason why I and my friends are getting a connection refused message.
This is the output of the netstat -lnt command and I guess it shows the same thing.
[root@amit root]# netstat -lnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:32768 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
If you're getting "connection refused" messages, are at least getting a reply. Most likely, the port is being forwarded. Your linux box sends a port-not-open message. Most routers are configured to drop all incoming connections, without giving any reply. (makes your machine completely invisible from the net)
Is vsftp really running? You should see it in the output of "ps auxf".
I've been looking at the port numbers you gave me. I can't really explain the 127.0.0.1:32768, some service seams to be listening on localhost with a high port number. there is one way to see the program listening at this service (the p argument, you need to be root for this. without the 'n' argument, you'll see host and port names, instead of numbers):
port 111 is used by the rpc-portmapper, unless you're running an NFS server, you could disable this service. Port 22 is ssh, which is really cool. ssh is an encrypted form of telnet, but can also by used to transfer files, and forward an X11-display to another linux machine.
Port 6000 is used by X11, but you can disable this too. (by providing the "-nolisten tcp" option to /usr/X11R6/bin/X, everywhere X starts.. ie, the startx script, and the /etc/X11/gdm config files)
thanx for the pointers!...in fact i checked if vsftpd was running or not and when i checked the output of ps -aux, there was no vsftpd..lol...
however, even after I start vsftpd, it is not running.
I checked the status of vsftpd with the command
service vsftpd status
and it says that ' vsftpd dead but subsys locked'
I remember to have killed vsftpd service some 10 days back.and have rebooted my machine many a times during this period...so then what does this mean? I have also reinstalled vsftpd but that dosent make any difference...vsftpd still isnt running....
unless the daemon runs, there is no way i can check other issues with the ftp service.