I already configure the /etc/inetd file ,command the "ftpd" line
Next start the /usr/libexec/ftpd process ,but i could not found process @@ why??
open fptd again,not found again
The client can upload file at my ftp server .please help me ! thanks.
最初由 777 发表 I already configure the /etc/inetd file ,command the "ftpd" line
Next start the /usr/libexec/ftpd process ,but i could not found process @@ why??
open fptd again,not found again
The client can upload file at my ftp server .please help me ! thanks.
oh.please move it to BSD forum.
Well, there are many ways to configure a ftp server, if you want to use ftpd come with freebsd standard distrib:
1. uncomment the line at /etc/inetd.conf
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
2. add inetd_enable="YES" at /etc/rc.conf
3. reboot or kill -HUP `cat /var/run/inetd.pid` if (2) is already in your config
4. check port 21 as following:
$netstat -an | grep -i listen | grep 21
5. do a test with: ftp yourip
最初由 werix 发表 Well, there are many ways to configure a ftp server, if you want to use ftpd come with freebsd standard distrib:
1. uncomment the line at /etc/inetd.conf
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
2. add inetd_enable="YES" at /etc/rc.conf
3. reboot or kill -HUP `cat /var/run/inetd.pid` if (2) is already in your config
4. check port 21 as following:
$netstat -an | grep -i listen | grep 21
5. do a test with: ftp yourip
i do,but not work
# netstat -an | grep -i listen | grep 21
# ftp 218.81.177.167
ftp: connect: Connection refused
ftp>
ftp>
Suspended
# ping 218.81.177.167
PING 218.81.177.167 (218.81.177.167): 56 data bytes
64 bytes from 218.81.177.167: icmp_seq=0 ttl=64 time=0.189 ms
64 bytes from 218.81.177.167: icmp_seq=1 ttl=64 time=0.182 ms