Linux - NewbieThis 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
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to FTP to other machines on my network and I get
Code:
ftp: connect: No route to host
I have already added a username and password. I made sure FTP was listening with netstat
Code:
#netstat -a | grep ftp
tcp 0 0 *:ftp *:* LISTEN
Since I couldn't FTP to another computer I tried to FTP myself but I get a login failed...
Code:
# ftp 10.10.10.X
Connected to 10.10.10.X.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (10.10.10.X:root): guest
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/guest
Login failed.
Is there some sort of firewall problem preventing me from connecting me to my other computers?
Well the first message you get indicates that your computer can't even establish a basic TCP/IP connection with the server. Are you able to ping the FTP server?
I edited the config file and made the changes I wanted. I followed this http://www.linuxhomenetworking.com/w...P_Server_Setup guide and I still am unable to login as a user i created. The user has to be created because when I enter a non existing user and pass I get login incorrect... I enable anonymous and now I can login..? Am I not adding users properly? Is there some firewall issues that might prevent me from loggin in? local_enable is set to YES.
I created the users with useradd and if I try to add them again it says user already exists, I can see their home folders so they have login directories. I can FTP if I use anonymous user... I cannot FTP to another machine though, I still get no route to host. I've been looking over some iptables pages to allow FTP through port 20:21 but nothing has worked yet. How can I check if iptables is blocking FTP? Where do I try #setenforce? There is nothing of the sort in the config file.
Thanks,
Chris
Last edited by chris24300; 09-25-2009 at 08:34 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.