Auteur Topic: Ftp not working in latest update of DSM?  (gelezen 4676 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


 

firmware update DS108J

Gestart door jhcernstBoard Synology DSM algemeen

Reacties: 2
Gelezen: 2337
Laatste bericht 11 februari 2009, 19:52:17
door jhcernst
Sinds update 2 problemen met chrome.

Gestart door AntoineSBoard Windows

Reacties: 9
Gelezen: 2497
Laatste bericht 19 juni 2015, 23:54:18
door Birdy
Sickrage start niet meer op na update

Gestart door mth34Board SickRage

Reacties: 12
Gelezen: 5245
Laatste bericht 24 januari 2016, 12:21:36
door Ben(V)
Update van DS 209+II van dms2.2 naar 3.2

Gestart door stefABoard Synology DSM 5.1 en eerder

Reacties: 3
Gelezen: 2405
Laatste bericht 18 februari 2012, 09:08:45
door stefA
Moedeloos van update SABNZBD

Gestart door BolderbastBoard SABnzbd (usenet)

Reacties: 11
Gelezen: 5622
Laatste bericht 06 november 2012, 21:15:35
door Bolderbast