NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
rickwookie
Sep 17, 2016Aspirant
ReadyNAS NV (Sparc) OS Partition Full
Hi I've been doing a lot of googling and think I'm nearly at the point I can get access back to my NV Frontview. Basically, NFS started to fail, then CIFS went down, then I got all sorts of o...
rickwookie
Sep 20, 2016Aspirant
Aaaaaaaagh!
I thought I now how a fully working system again, but it appears that I can't remotely write files via FTP.
I think I've narrowed this down to the FTP server on the ReadyNAS ignoring the values I've input for the passive port range, so when an FTP client issues the PASV command, the response if more often than not a port well outside the range I've specified (and opened in firewalls at each location), in this case ports 1024-1074.
This explains why for the last two days most of the files that have been written (they come from a remote IP camera periodically saving still jpegs to the ReadyNAS) have zero byte length while the odd file is sucessfully written (when the random passive port gets lucky and falls in the range opened in the firewalls.
Can anyone help me get the FTP server on the ReadyNAS to correctly use the range specified in Frontview once more? I did download the logs and in services.conf it matches what I have in frontview:
FTP_MODE=user
FTP_PASSIVE_END=1074
FTP_PASSIVE_START=1024
FTP_PORT=21
FTP_UPLOAD_RESUME=1
There are also loads of entries in daemon.log like:
Sep 20 16:29:47 MyNAS proftpd[26292]: MyNAS ((*clientexternalip*)[*clientexternalip*]) - Refused PORT 192,168,254,2,234,158 (address mismatch)
which I'm assuming is only because the FTP client on the IP camera is trying active mode since passive mode is failing?
Is my only option now to use EnableRootSSH and manually configure the ProFTPd config? (I suppose worrying about voiding the warranty on a NAS this old is a little pointless anyway).
- StephenBSep 20, 2016Guru - Experienced User
Did the IP camera ever work?
rickwookie wrote:
Sep 20 16:29:47 MyNAS proftpd[26292]: MyNAS ((*clientexternalip*)[*clientexternalip*]) - Refused PORT 192,168,254,2,234,158 (address mismatch)
.
This is port 60062 (234*256+158). It could be an active connection.
Did the NAS IP address change? Can you give any details on the camera's FTP configuration, and/or a more complete connection log?
- rickwookieSep 21, 2016Aspirant
It's been working every weekday for the last two months, right up until I did the OS re-install that corrupted Frontview this last weekend. No IP addresses or hostnames have changed at either end and my firewall router configuration is the same.
I've actually gone ahead now and enabled the SSH access, since I figured there was no way this was going to get resolved using Frontview alone, and Telnet-ing in using the support mode was a real pain tbh.
FTP tranfers are now compleating successfully, since I've added
PassivePorts 1024 1074
to /etc/proftpd.conf
The entire file consisted of just:
Include /etc/frontview/proftpd/ftps.conf
Include /etc/frontview/proftpd/User.confand neither of those files, nor /etc/frontview/proftpd/Shares.conf that User.conf 'Include's make any reference to PassivePorts or FTP_PASSIVE_START or anything like it.
I would love to know where the link is from the frontview settings to the proftpd config files to make it all work as it should again, but for now at least I've got the FTP server configured to work as I need it.
I strongly suspect that there will be other settings from the file services page that are not making it through to the associated configs, but maybe they are working as expect with the default settings. Certainly Master Browser is suspect since the ReadyNAS doesn't seem to show up under Network in Windows Explorer anymore, but I can browser it fine if I type the hostname or IP address into the address bar.
- mdgm-ntgrSep 22, 2016NETGEAR Employee Retired
rickwookie wrote:
Telnet-ing in using the support mode was a real pain tbh.
Well it is called tech support mode for a reason. It's intended for support and it is a low-level diagnostic mode useful for diagnosing much more serious problems than a full OS partition.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!