Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-09-2005, 01:06 AM
|
#1
|
LQ Newbie
Registered: Nov 2005
Posts: 2
Rep:
|
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!!
|
|
|
11-10-2005, 10:00 AM
|
#2
|
Member
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464
Rep:
|
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.
|
|
|
11-14-2005, 09:55 PM
|
#3
|
LQ Newbie
Registered: Nov 2005
Posts: 2
Original Poster
Rep:
|
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
|
|
|
11-14-2005, 11:53 PM
|
#4
|
LQ Newbie
Registered: Nov 2005
Posts: 19
Rep:
|
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
|
|
|
11-15-2005, 12:02 AM
|
#5
|
LQ Newbie
Registered: Nov 2005
Posts: 19
Rep:
|
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."
|
|
|
All times are GMT -5. The time now is 11:42 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.
|
Latest Threads
LQ News
|
|