FTP scan from Lexmark to OMV5 folder

  • FTP problem .. hours wasted and still no solution ..


    Trying to get Lexmark ( mx310dn ) to scan documents to an FTP folder.


    FTP folder is located in a shared folder, on Pi ext. drive, OMV5


    I have FTP enabled in OMV5


    steps so far :

    OMV5 created User : 'lexmark' with a password.

    Access Right - User - Lexmark - Groups include users, adm, sudo, ssh, sambashare

    Shared Folders - 'www' : privileges - 'lexmark' read/write

    Shared Folders - 'www' : ACL - 'lexmark' read/write


    I can connect to the FTP folder from my PC using Filezilla ( same User / Pass as created for the printer ).


    I use the browser based interface on my laptop to adjust settings on the printer.

    I can print to the printer from my PC.

    In the printer settings, I create a FTP profile :

    to my Pi IP 192.168.1.136

    login lexmark

    password

    path '/www/www/scan/'


    The shortcut to scan to FTP on the printer control panel is '#3'


    If I connect with same details from PC using filezilla, connects without problems.


    Trying to scan to the ftp address, it scans, creates a 1kb pdf 'file' in the shared folder ( can't be opened ), and then the printer reports 'Connection Error' and prints out an error report.

    Error report simply says :

    Scan to FTP Server Failed

    Details :

    FTP Server 192.168.1.136

    Connection failure : -12

    Connection error

    Server Response:

    N/A


    My Pi and laptop are on 192.168.1.. domain and my printer is 192.168.9..


    Both networks connected to a Mikrotik router.

    Mikrotik firewall is set for direct connection between Pi and Printer


    Any insight appreciated

  • DaveOB

    Added the Label OMV 5.x
  • Is your printer in another network? What netmask are you using?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

    Edited once, last by gderf ().

  • Is your printer in another network? What netmask are you using?

    netmask 255.255.255.0


    different networks are 192.168.1... for my work PCs, 192.168.2... kids PC, 192.168.9... printers ( common usage )


    the firewall on the mikrotik router blocks all comms between 192.168.1... and 192.168.2...

  • You might try changing the netmask of the printer to 255.255.0.0.


    Also, FTP can be a difficult protocol as multiple ports are used and NAT can break it.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

  • Can you setup another scan template to scan to your pc to test? Wireshark be useful too.

    yes, I have created a profile for 'scan to network folder' to my PC and works perfectly. Same to wife's PC.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!