Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

FTP not working anymore

Got problems with your B2 or B3? Share and get helped!
theWebalyst
Posts: 96
Joined: 27 May 2010, 14:53

Re: FTP not working anymore

Post by theWebalyst »

Cheeseboy wrote: Have you tried

Code: Select all

UseReverseDNS off
as outlined here?
http://www.proftpd.org/docs/howto/DNS.html
While trying the above I note the following in my /etc/proftpd/proftpd.conf

Code: Select all

ServerName                      "Bubba"
ServerType                      standalone
DeferWelcome                    off
I'm curious as to why this is "Bubba" rather than "b3" (the lookup that actually fails)?

Anyway, with ReverseDNS off and my /etc/hosts back to normal...

Code: Select all

# /etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - warning: unable to determine IP address of 'b3'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
 failed!
Strangely, no change! I thought this would work but it doesn't, so back to the /etc/hosts hack for now.

Mark
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: FTP not working anymore

Post by Ubi »

would MasqueradeAddress help?
http://www.proftpd.org/docs/howto/NAT.html
theWebalyst
Posts: 96
Joined: 27 May 2010, 14:53

Re: FTP not working anymore

Post by theWebalyst »

Ubi wrote:would MasqueradeAddress help?
http://www.proftpd.org/docs/howto/NAT.html
Thanks Ubi for the suggestion.

For me the /etc/hosts fix is adequate as my IP only changes if I reboot the modem which is very rare. My interest is in trying to identify the cause, as my b3 is very standard (hardly anything added and nothing that makes me suspicious). This is the first time I have tried FTP on my b3 (on bubba|2 it was working fine) so I'm hypothesising that its a systemic issure rather than something I've done to break it.

Anyway, I hope we can identify the cause of the problem. Is there a clue in the difference between bubba|2 and b3?

Mark
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: FTP not working anymore

Post by Cheeseboy »

I'm curious as to why this is "Bubba" rather than "b3" (the lookup that actually fails)?
I think this is only relevant to the message you get when connecting:

Code: Select all

niklas@muttan:~$ ftp b3
Connected to b3.localdomain.
220 ProFTPD 1.3.3a Server (Bubba) [::ffff:192.168.10.1]
Name (b3:niklas)
Is there a clue in the difference between bubba|2 and b3?
No, not that I can think of. Both has worked fine for me as FTP servers.
But I have a domain registered and pointing to my public IP address.

Oh, I just remembered, I have also added this line to /etc/bubba/dhclient.conf:

Code: Select all

prepend domain-name-servers 192.168.10.1;
This was in order to get b3 itself listed first in resolv.conf, so that dnsmasq will identify any machines that I connect to my network. It produces a lot of warnings in syslog (see below), but it was the only way I could get the b3 to behave like a proper dhcp/dns solution. I had a similar hack on the Bubba|2, but the file was somewhere else then...

Code: Select all

Feb 13 06:49:30 b3 dnsmasq[1551]: ignoring nameserver 192.168.10.1 - local interface
Post Reply