What's new

FTP Logs location on AC66U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

atkinsom

Senior Member
Trying to find the FTP logs location on an AC66u. Tried searching with WINSCP from root and below and found no ftp log. Thanks for any help. Cheers.
 
Logging is disabled in the default config file. You will have to modify it using a Postconf script if you wish to enable it.
 
Logging is disabled in the default config file. You will have to modify it using a Postconf script if you wish to enable it.
I tried turning on logging on my RT-N66U with xferlog_enable and xferlog_file and it just gets ignored. However, setting syslog_enable=YES does work and writes a copy of the log entries to syslog.

Merlin, is there some different build settings for the RT-N66U whereby log entries are suppressed? I have similar problems with samba ignoring the log level setting.
 
I tried turning on logging on my RT-N66U with xferlog_enable and xferlog_file and it just gets ignored. However, setting syslog_enable=YES does work and writes a copy of the log entries to syslog.

Merlin, is there some different build settings for the RT-N66U whereby log entries are suppressed? I have similar problems with samba ignoring the log level setting.

Not that I'm aware.

Show me your postconf script.
 
Not that I'm aware.

Show me your postconf script.
Code:
#!/bin/sh

logger -t $(basename $0) $1

CONFIG=$1
source /usr/sbin/helper.sh

pc_replace "xferlog_enable=NO" "xferlog_enable=YES" $CONFIG
pc_append "xferlog_file=/tmp/xfer.log" $CONFIG
Code:
# cat /etc/vsftpd.conf
anonymous_enable=NO
nopriv_user=root
write_enable=YES
local_enable=YES
chroot_local_user=YES
local_umask=000
dirmessage_enable=NO
xferlog_enable=YES
syslog_enable=NO
connect_from_port_20=YES
use_localtime=YES
use_sendfile=NO
listen=YES
pasv_enable=YES
ssl_enable=NO
tcp_wrappers=NO
max_clients=5
ftp_username=anonymous
ftpd_banner=Welcome to ASUS RT-N66U FTP service.
xferlog_file=/tmp/xfer.log
 
Also, here's the samba problem:

Code:
# grep "log" /etc/smb.conf
log file = /tmp/mnt/VERBATIM/ASUS/log.samba
log level = 10 passdb:10 auth:10 winbind:10
max log size = 50

Works fine except that only log level 0 events are recorded.
 
No error message in syslog when either services start?

Otherwise, no idea.
 
No error message in syslog when either services start?

Otherwise, no idea.
No, no errors in the logs. It just seems to ignore 'vsftpd.conf:xferlog_enable' and 'smb.conf:log level'

I know that thelonelycoder reported that 'smb.conf:log level' works on his RT-AC66U which made me wonder whether there was something special about the RT-N66U build.
 
I tried turning on logging on my RT-N66U with xferlog_enable and xferlog_file and it just gets ignored. However, setting syslog_enable=YES does work and writes a copy of the log entries to syslog
OK I got it to work. I had to additionally set
Code:
dual_log_enable=YES

Now, if only I could get samba logging to work...
 
OK I got it to work. I had to additionally set
Code:
dual_log_enable=YES
Now, if only I could get samba logging to work...
Honestly, I've had no luck with smb logging. Keep fingers crossed though...
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top