View previous topic :: View next topic |
Author |
Message |
Uranus Guru
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Mon May 20, 2002 1:04 pm Post subject: Pure-FTPD nightmare? |
|
|
Code: | root@uranus init.d # ./pure-ftpd start
* Starting Pure-FTPd... [ ok ]
root@uranus init.d # ftp localhost
ftp: connect: Connection refused |
Code: |
# Config file for /etc/init.d/pure-ftpd
##Comment variables out to disable its features, or change the values in it... ##
## This variable must be uncommented in order for the server to start ###
IS_CONFIGURED="yes"
## FTP Server,Port (separated by comma) ##
SERVER="-S 192.168.0.2,21"
## Number of simultaneous connections in total, and per ip ##
MAX_CONN="-c 3"
MAX_CONN_IP="-C 1"
## Start daemonized in background ##
DAEMON="-B"
## Don't allow uploads if the partition is more full then this var ##
DISK_FULL="-k 90%"
## If your FTP server is behind a NAT box, uncomment this ##
USE_NAT="-N"
## Authentication (others are 'pam', ...)##
AUTH="-l unix"
## Misc. Others ##
MISC_OTHER="-A -x -X -j -R -t 15 -K -E -H -I 10 -F /usr/share/fortune/startrek -l puredb:/etc/pureftpd.pdb"
|
HEEEEELLLP... pure-ftpd doesn't respond for some obscure reason... any ideas? |
|
Back to top |
|
|
sena n00b
Joined: 13 May 2002 Posts: 38 Location: Lisbon, Portugal
|
Posted: Mon May 20, 2002 1:31 pm Post subject: Re: Pure-FTPD nightmare? |
|
|
Uranus wrote: |
Code: |
# Config file for /etc/init.d/pure-ftpd
##Comment variables out to disable its features, or change the values in it... ##
## This variable must be uncommented in order for the server to start ###
IS_CONFIGURED="yes"
## FTP Server,Port (separated by comma) ##
SERVER="-S 192.168.0.2,21"
...
|
HEEEEELLLP... pure-ftpd doesn't respond for some obscure reason... any ideas? |
You are trying to connect to localhost... Probably (most likely) 127.0.0.1.
Well, the SERVER="-S 192.168.0.2,21" line in your config file is making pure-ftpd binding only to the interface with that address...
Try ftping to 192.168.0.2:21 or try removing that line from the config file (so that pure-ftpd will bind to all interfaces)...
Regards, sena. _________________ sena@smux.net, http://smux.net/ |
|
Back to top |
|
|
Uranus Guru
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Mon May 20, 2002 8:55 pm Post subject: my bad |
|
|
yep you were right... I commented the line and it works perfectly now ... thanks! |
|
Back to top |
|
|
sena n00b
Joined: 13 May 2002 Posts: 38 Location: Lisbon, Portugal
|
Posted: Tue May 21, 2002 7:09 pm Post subject: Re: my bad |
|
|
Uranus wrote: | yep you were right... I commented the line and it works perfectly now ... thanks! |
No problem.
De nada.. (não tinha reparado que eras português... ) _________________ sena@smux.net, http://smux.net/ |
|
Back to top |
|
|
TheWart Guru
Joined: 10 May 2002 Posts: 432 Location: Nashville,TN - USA
|
Posted: Wed May 22, 2002 12:32 am Post subject: |
|
|
hmm, this may be a dumb question, but if one removes that, what will be the address to connect to it? your ip? _________________ Face it, we are all noobs.
On the box it said it was designed for Win XP or better, so why won't it work with Linux? |
|
Back to top |
|
|
sena n00b
Joined: 13 May 2002 Posts: 38 Location: Lisbon, Portugal
|
Posted: Wed May 22, 2002 3:42 am Post subject: |
|
|
TheWart wrote: | hmm, this may be a dumb question, but if one removes that, what will be the address to connect to it? your ip? |
After removing that line, the service will be available from every IP address on every interface of the machine...
So, you can choose whichever IP address suits you best... _________________ sena@smux.net, http://smux.net/ |
|
Back to top |
|
|
Curious Bodhisattva
Joined: 13 May 2002 Posts: 395 Location: Sydney, Australia
|
Posted: Wed May 22, 2002 3:56 am Post subject: |
|
|
sena wrote: | After removing that line, the service will be available from every IP address on every interface of the machine... |
The reason the line is there at all is so, for example, if you had two links, one to a local network ( 192.168.1.* ) and the other to the internet at large ( 203.56.8.1, for example ), you could restrict the ftp access so that only local area people could log in and leech your stuff.
A lot of system daemons use this functionality.
Bryn. _________________ Are you down with the Hawk? |
|
Back to top |
|
|
TheWart Guru
Joined: 10 May 2002 Posts: 432 Location: Nashville,TN - USA
|
Posted: Wed May 22, 2002 5:13 am Post subject: |
|
|
Quote: | The reason the line is there at all is so, for example, if you had two links, one to a local network ( 192.168.1.* ) and the other to the internet at large ( 203.56.8.1, for example ), you could restrict the ftp access so that only local area people could log in and leech your stuff. |
Ahhh, that explains it, thanks a lot. That is what I am probably going to do to setup up a small critical-file backup on the linux machine without having to do samba or something like that. _________________ Face it, we are all noobs.
On the box it said it was designed for Win XP or better, so why won't it work with Linux? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|