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


 

Synology DSM 5.0: update zonder dataverlies?

Gestart door cloudstrifeBoard Synology DSM 5.1 en eerder

Reacties: 6
Gelezen: 3035
Laatste bericht 14 maart 2014, 14:10:41
door Wyodor
Update van Crashplan.

Gestart door Klikoo.Board Data replicator & overige backupsoftware

Reacties: 0
Gelezen: 1308
Laatste bericht 22 april 2014, 19:15:33
door Klikoo.
Hyper backup voor en na de firmware update 7.1-42661 update 1

Gestart door pd0amnBoard Data replicator & overige backupsoftware

Reacties: 9
Gelezen: 841
Laatste bericht 03 juli 2022, 11:38:32
door Birdy
Bijwerken virusdefinities duurt lang (DS220j met DSM 7.1.1-42962 Update 2)

Gestart door Victor1234Board Antivirus Essential

Reacties: 5
Gelezen: 2099
Laatste bericht 26 oktober 2022, 15:08:02
door Victor1234
DSM 7.2-64570 Update 2

Gestart door BoboBoard Synology DSM 7.2

Reacties: 9
Gelezen: 655
Laatste bericht 27 juli 2023, 17:52:50
door m4v3r1ck