LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2005, 01:06 AM   #1
Lilian Yang
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Question i am newer.How the ftp cann't work setted by vsftpd! thanks


Hi, everyong.
i am a new comer. i come with a problem troubling me for a few day. i want to transfer some files from my linux os (RH9) to another windows 2k PC , so i open the ftp svever in the linux use vsftpd as follows:
# servie vsftpd start
# adduser lilian
# passwd lilian
123456
123456
# chkconfig --level 35 vsftpd on

But in the windows 2K PC , i run
# ftp open 192.161.1.13
the result is :
Connection to 192.168.1.13
Connection is closed by remote host.

Oh , my god.
how can i resolve this problem. please help me. The task is very urgent, and i have delayed for 3 days in the question. Thanks a lot!!
 
Old 11-10-2005, 10:00 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Have you tried using samba to mount a windows share?

mount -t smbfs -o username=xxxx,workgroup=xxxx //ip_of_2k_box/shared_folder_name /mnt/xxxxx



(You'll have to fill in the XXXXs yourself)
(it is possible to leave out the '-o username=xxxx,workgroup=xxxx' if it is an open share)

Last edited by okmyx; 11-10-2005 at 10:03 AM.
 
Old 11-14-2005, 09:55 PM   #3
Lilian Yang
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
thanks , but....

Firstly , i am very thankful and moved for your help. But when i tried the samba server, the same problem happening also. and also, both in the two situation, the client of the same computer could connect the server. However, when i try another win PC in the local net , it doesn't work .
thanks for more help and more information.
Thanks a lot!
Lilian Yang
 
Old 11-14-2005, 11:53 PM   #4
Strider22
LQ Newbie
 
Registered: Nov 2005
Posts: 19

Rep: Reputation: 0
I use proftp on the linux side.
I think that /etc/proftp.conf is unmodified but here is a copy.
I only run the ftp server when I want to use it.
run proftpd as root

on windows I use ws-ftp

I can't recall any problems
 
Old 11-15-2005, 12:02 AM   #5
Strider22
LQ Newbie
 
Registered: Nov 2005
Posts: 19

Rep: Reputation: 0
Read the following note about user nobody

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "Debian"
ServerType standalone
DeferWelcome off

ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"

DenyFilter \*.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off

# Port 21 is the standard FTP port.
Port 21

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.
User nobody
Group nogroup

# Normally, we want files to be overwriteable.
<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022

AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories.

## <Anonymous ~ftp>
## User ftp
## Group nogroup
## # We want clients to be able to login with "anonymous" as well as "ftp"
## UserAlias anonymous ftp
##
## RequireValidShell off
##
## # Limit the maximum number of anonymous logins
## MaxClients 10
##
## # We want 'welcome.msg' displayed at login, and '.message' displayed
## # in each newly chdired directory.
## DisplayLogin welcome.msg
## DisplayFirstChdir .message
##
## # Limit WRITE everywhere in the anonymous chroot
## <Directory *>
## <Limit WRITE>
## DenyAll
## </Limit>
## </Directory>
##
## # Uncomment this if you're brave.
## # <Directory incoming>
## # # Umask 022 is a good standard umask to prevent new files and dirs
## # # (second parm) from being group and world writable.
## # Umask 022 022
## # <Limit READ WRITE>
## # DenyAll
## # </Limit>
## # <Limit STOR>
## # AllowAll
## # </Limit>
## # </Directory>
##
## </Anonymous>
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
 
  


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
vsftpd in ftp clients - a no go ?? ycamera2mank Linux - Software 3 09-04-2005 04:48 PM
FTP Problem (VSFTPD) williew Linux - Software 0 01-01-2005 10:15 AM
Where is the LANG attribute setted in slack 10 jml75 Slackware 2 08-08-2004 10:24 PM
Canīt login on a domain setted up with samba 3 as pdc! emilioestevezz Linux - Networking 2 05-06-2004 04:04 AM
FTP only users for vsftpd. jsbush Linux - Newbie 2 10-27-2003 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:42 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
Open Source Consulting | Domain Registration