Auteur Topic: Ftp not working in latest update of DSM?  (gelezen 4668 keer)

Offline ddjong67

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 3
Ftp not working in latest update of DSM?
« Gepost op: 21 mei 2012, 12:25:31 »
We had a NAS that was working properly through FTP. It was accessible and could write to FTP properly. Since latest update, when i connect through smartFTP client or FileZilla, i see that the PASV command (227) returns with port number 34411 where i specified the 'default' range in the NAS. It looks like that the configuration in the NAS is not set / the FTP service is not returning the correct PASSIVE ports properly.

I changed the SMBftp config file manually in the NAS and modified the highest/lowest port number and killed the ftp process and restarted it and after that it was working properly. But after reboot it again did not work.

Has something changed here?

Dick

Offline raptile

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 66
  • -Ontvangen: 131
  • Berichten: 1.263
Re: Ftp not working in latest update of DSM?
« Reactie #1 Gepost op: 21 mei 2012, 12:51:37 »
I think that the reboot changed your dmb config file again.
did u check if the ports are still defined in ur config file?
If UNIX isn\'t the solution, you\'ve got the wrong problem...

Is RAID hetzelfde als een backup?

Heeft het antwoord van een gebruiker je geholpen met het oplossen van je probleem?
Geef hem/haar een bedankje door op de bedankt knop te drukken!

Offline ddjong67

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 3
Re: Ftp not working in latest update of DSM?
« Reactie #2 Gepost op: 21 mei 2012, 12:54:20 »
they are gone, but the weird thing is that i would expect those to be set from the Admin UI (FTP configuration). So i can add it manually again, but i would expect them to be set from the Admin user interface. What configuration is taken as default after reboot? It is copied from somewhere else, rit?

Offline raptile

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 66
  • -Ontvangen: 131
  • Berichten: 1.263
Re: Ftp not working in latest update of DSM?
« Reactie #3 Gepost op: 21 mei 2012, 13:30:54 »
I think there is a standard config loaded at startup and therefore ur config gets overwritten.
i think you should have to copy ur version to a different location and create a script that copies this file to the current directory of the config file.
The default config file will than be overwritten by uw own one after each reboot.
If UNIX isn\'t the solution, you\'ve got the wrong problem...

Is RAID hetzelfde als een backup?

Heeft het antwoord van een gebruiker je geholpen met het oplossen van je probleem?
Geef hem/haar een bedankje door op de bedankt knop te drukken!

Offline raptile

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 66
  • -Ontvangen: 131
  • Berichten: 1.263
Re: Ftp not working in latest update of DSM?
« Reactie #4 Gepost op: 21 mei 2012, 15:07:53 »
Have a look at the /usr/syno/etc.defaults dir.

I think that this is the location of the standard configs.

otherwise you should add a copy command in /usr/syno/etc.defaults/rc.d/S99ftpd.sh at the start and restart commands.

something like

cp -f /path/to/file/config.conf /location/to/config/to/overwrite/config.conf

I couldn't find a SMBftp config file on my Synology. (maybe because i do nog have FTP running?)
If UNIX isn\'t the solution, you\'ve got the wrong problem...

Is RAID hetzelfde als een backup?

Heeft het antwoord van een gebruiker je geholpen met het oplossen van je probleem?
Geef hem/haar een bedankje door op de bedankt knop te drukken!

Offline ddjong67

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 3
Re: Ftp not working in latest update of DSM?
« Reactie #5 Gepost op: 21 mei 2012, 15:36:22 »
Thanks Raptile,

i cannot access the nas right now, i will check tonight and respond. The ftp in Synology is Samba alike ftp and not a normal linux ftp daemon ...

The DSM version is 4.0-2228.  I will let you know.

Dick


 

Moedeloos van update SABNZBD

Gestart door BolderbastBoard SABnzbd (usenet)

Reacties: 11
Gelezen: 5621
Laatste bericht 06 november 2012, 21:15:35
door Bolderbast
Geen mail meer binnengehaald sinds update mailserver

Gestart door OutintheBlueBoard Mail Station

Reacties: 5
Gelezen: 3852
Laatste bericht 25 september 2013, 22:21:01
door OutintheBlue
Geen mail meer na update naar DSM 6.0

Gestart door mdnooyerBoard Mail Station

Reacties: 7
Gelezen: 3428
Laatste bericht 29 april 2016, 22:17:37
door Jac Engels
Security Adviser heeft bedreigingen gedetecteerd na recente update.

Gestart door florisvnBoard Synology Router

Reacties: 12
Gelezen: 3171
Laatste bericht 05 juni 2016, 15:59:42
door hanspaint
Timebackup na Update 3.1

Gestart door FranckeMBoard Time Backup

Reacties: 1
Gelezen: 5815
Laatste bericht 03 maart 2011, 06:52:04
door henkg