Ricoh is200e scanner to samba/ftp

304 views
Skip to first unread message

Michael Pope

unread,
Feb 25, 2017, 10:17:27 PM2/25/17
to mlu...@googlegroups.com

I've got an old Ricoh is200e scanner which I'm trying configure for uploading scans to either a samba or ftp server. I've setup both on my notebook and have it setup on a static IP in the house. I think the problem is that the Ricoh is so locked down I cannot work out what is wrong with the connection.

Here is my settings for the Samba setup




Here is the server side of the setup for samba

/etc/samba/smb.conf

[upload]
  comment=PDF Upload dir
  read only=no
  path=/home/myuser/upload
  browseable = yes
  guest ok=yes

I have added myuser to samba with

$ sudo smbpasswd -a myuser

I then restarted my smbd service.

When I test the settings it says

Connection to the Send File Path has failed. Confirm the settings.

This is all the information I can get out of the scanner when fails.

without the lan\ in front of the user it fails and asks for a domain. I have astroboy.lan in my /etc/hostname file.


Here is my setup for ftp setup

Server side I've installed vsftp and configured it using the example file


/etc/vsftpd.conf

# Access rights
anonymous_enable=NO
local_enable=NO
write_enable=YES
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
# Security
anon_world_readable_only=YES
connect_from_port_20=YES
hide_ids=YES
pasv_min_port=50000
pasv_max_port=60000
# Features
xferlog_enable=YES
ls_recurse_enable=NO
ascii_download_enable=NO
async_abor_enable=YES
# Performance
one_process_model=YES
idle_session_timeout=120
data_connection_timeout=300
accept_timeout=60
connect_timeout=60
anon_max_rate=50000


I then restarted the daemon and tested locallying with

ftp 10.1.1.13 and logged in with my user and I could see files. When I tried to test this through the scanner I get;

Connection to the FTP Server Address is available.

This looks good, but when going to scan it bombs out saying 'Sending data failed.'


I would be happy if I could get either of these working but the scanner doesn't seem to want to play the game so I thought I better double check these settings with other people out there.

Is there anything wrong either either of my samba / ftp setup? Should I be using something other than vsftp? Is there options in the scanner setup that should/shouldn't be on?

from

Michael

Richard C

unread,
Feb 26, 2017, 5:22:24 AM2/26/17
to mlug-au
Break out ethereal and watch what's on the wire?

That's a tough one. Good luck.

Richard

--
You received this message because you are subscribed to the Google Groups "mlug-au" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mlug-au+unsubscribe@googlegroups.com.
To post to this group, send email to mlu...@googlegroups.com.
Visit this group at https://groups.google.com/group/mlug-au.
For more options, visit https://groups.google.com/d/optout.

Gary Pope

unread,
Feb 26, 2017, 6:50:16 AM2/26/17
to mlu...@googlegroups.com
Sounds like a passive versus active FTP issue. Can log in (means that
'control' is passing okay, but when the next step of moving DATA gets
into the game, it fails.
IE: need to have access thru both port 21 and 20.

Gaz

On 26/02/17 21:22, Richard C wrote:
> Break out ethereal and watch what's on the wire?
>
> That's a tough one. Good luck.
>
> Richard
>
> On 26 Feb. 2017 2:17 pm, "Michael Pope" <map...@gmail.com
> <mailto:map...@gmail.com>> wrote:
>
> I've got an old Ricoh is200e scanner which I'm trying configure
> for uploading scans to either a samba or ftp server. I've setup
> both on my notebook and have it setup on a static IP in the house.
> I think the problem is that the Ricoh is so locked down I cannot
> work out what is wrong with the connection.
>
> Here is my settings for the Samba setup
>
>
>
>
> Here is the server side of the setup for samba
>
> /etc/samba/smb.conf
>
> [upload]
> comment=PDF Upload dir
> read only=no
> path=/home/myuser/upload
> browseable = yes
> guest ok=yes
>
> I have added myuser to samba with
>
> $ sudo smbpasswd -a myuser
>
> I then restarted my smbd service.
>
> When I test the settings it says
>
> *Connection to the Send File Path has failed.* *Confirm the
> settings.*
>
> This is all the information I can get out of the scanner when fails.
>
> without the lan\ in front of the user it fails and asks for a
> domain. I have astroboy.lan in my /etc/hostname file.
>
>
> Here is my setup for ftp setup
>
> *Connection to the FTP Server Address is available.*
>
> This looks good, but when going to scan it bombs out saying
> 'Sending data failed.'
>
>
> I would be happy if I could get either of these working but the
> scanner doesn't seem to want to play the game so I thought I
> better double check these settings with other people out there.
>
> Is there anything wrong either either of my samba / ftp setup?
> Should I be using something other than vsftp? Is there options in
> the scanner setup that should/shouldn't be on?
>
> from
>
> Michael
>
> --
> You received this message because you are subscribed to the Google
> Groups "mlug-au" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to mlug-au+u...@googlegroups.com
> <mailto:mlug-au+u...@googlegroups.com>.
> To post to this group, send email to mlu...@googlegroups.com
> <mailto:mlu...@googlegroups.com>.
> <https://groups.google.com/group/mlug-au>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "mlug-au" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to mlug-au+u...@googlegroups.com
> <mailto:mlug-au+u...@googlegroups.com>.
> To post to this group, send email to mlu...@googlegroups.com
> <mailto:mlu...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/mlug-au.
> For more options, visit https://groups.google.com/d/optout.


--
--
*Gary A. Pope*
B.Bus(ACC)
DIRECTOR
<http://www.alchester.com.au/reckon-accounts-clarified>

*Alchester Business Systems*
m: 0408-994799 anytime.
p: 03-97626293
e: g...@alchester.com.au <mailto:g...@alchester.com.au>
w: www.alchester.com.au <http://www.alchester.com.au>
Remote: Communications powered by ABSoutback3!
/_“We take care of everything!"_/
<http://www.linkedin.com/pub/gary-pope/2/550/822>

Chris Blaxhall

unread,
Feb 26, 2017, 4:51:54 PM2/26/17
to mlu...@googlegroups.com

Hi Michael,
Maybe someone else can clarify smbpasswd defaults for me, but I thought
smbpasswd -a created a disabled account that needs to be enabled with -e. I'm not able to test at the moment.

Chris (long time lurker)


To unsubscribe from this group and stop receiving emails from it, send an email to mlug-au+u...@googlegroups.com.
To post to this group, send email to mlu...@googlegroups.com.

Gary Pope

unread,
Feb 26, 2017, 5:18:46 PM2/26/17
to mlu...@googlegroups.com
smbpasswd -e (enable) is only needed if you disabled it for some
reason previously with the -d option.

smbpasswd -a myuser would have prompted you to make up a password for
that new user called myuser. So long as that password is known, then
you've got that done just fine.

To keep the RICOH scanner out of the testing loop you could firtlyt
prove you are able to reach the shared SMB folder by asking your FILE
MANAGER to browse to :

//192.168.1.10/upload (or whatever IP address the SMB server
is running on your LAN)
And then try creating a TXT file there, operating as user name: myuser

The above would let you prove you have SMBD running ok, with permissions
to reach the MB server shared folder called: .../upload

Getting past that first could let you focus on any peculiarities of just
the RICOH unit itself.


Gary


On 27/02/17 08:51, Chris Blaxhall wrote:
>
> Hi Michael,
> Maybe someone else can clarify smbpasswd defaults for me, but I thought
> smbpasswd -a created a disabled account that needs to be enabled with
> -e. I'm not able to test at the moment.
>
> Chris (long time lurker)
>
>
> On Sun., 26 Feb. 2017, 10:50 pm Gary Pope, <g...@alchester.com.au
> <mailto:g...@alchester.com.au>> wrote:
>
> Sounds like a passive versus active FTP issue. Can log in (means
> that
> 'control' is passing okay, but when the next step of moving DATA gets
> into the game, it fails.
> IE: need to have access thru both port 21 and 20.
>
> Gaz
>
> On 26/02/17 21:22, Richard C wrote:
> > Break out ethereal and watch what's on the wire?
> >
> > That's a tough one. Good luck.
> >
> > Richard
> >
> > On 26 Feb. 2017 2:17 pm, "Michael Pope" <map...@gmail.com
> <mailto:map...@gmail.com>
> <mailto:mlug-au%2Bunsu...@googlegroups.com>
> > <mailto:mlug-au+u...@googlegroups.com
> <mailto:mlug-au%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to
> mlu...@googlegroups.com <mailto:mlu...@googlegroups.com>
> > <mailto:mlu...@googlegroups.com
> <mailto:mlu...@googlegroups.com>>.
> > Visit this group at https://groups.google.com/group/mlug-au
> > <https://groups.google.com/group/mlug-au>.
> > For more options, visit https://groups.google.com/d/optout
> > <https://groups.google.com/d/optout>.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "mlug-au" group.
> > To unsubscribe from this group and stop receiving emails from
> it, send
> > an email to mlug-au+u...@googlegroups.com
> <mailto:mlug-au%2Bunsu...@googlegroups.com>
> > <mailto:mlug-au+u...@googlegroups.com
> <mailto:mlug-au%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to mlu...@googlegroups.com
> <mailto:mlu...@googlegroups.com>
> > <mailto:mlu...@googlegroups.com <mailto:mlu...@googlegroups.com>>.
> > Visit this group at https://groups.google.com/group/mlug-au.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> *Gary A. Pope*
> B.Bus(ACC)
> DIRECTOR
> <http://www.alchester.com.au/reckon-accounts-clarified>
>
> *Alchester Business Systems*
> m: 0408-994799 anytime.
> p: 03-97626293
> e: g...@alchester.com.au <mailto:g...@alchester.com.au>
> <mailto:g...@alchester.com.au <mailto:g...@alchester.com.au>>
> w: www.alchester.com.au <http://www.alchester.com.au>
> <http://www.alchester.com.au>
> Remote: Communications powered by ABSoutback3!
> /_“We take care of everything!"_/
> <http://www.linkedin.com/pub/gary-pope/2/550/822>
>
> --
> You received this message because you are subscribed to the Google
> Groups "mlug-au" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to mlug-au+u...@googlegroups.com
> <mailto:mlug-au%2Bunsu...@googlegroups.com>.

renato

unread,
Feb 26, 2017, 5:34:50 PM2/26/17
to mlu...@googlegroups.com
I had similar issues with some other brand when I typed \\server\share
the machine assumed the backslashes and the result was \\\\server\share.
Maybe you want to try without the backslashes in front of the
server-name. I know this sounds weird but those copiers/scanners don't
always work the way you expect.

Michael Pope

unread,
Feb 26, 2017, 5:58:22 PM2/26/17
to mlu...@googlegroups.com
I've tried the ftp with passive and without, still has a problem sending
data. With the samba connection I have tested it through a file browser
(nautilus) and it worked fine after entering my users credentials.

Renato, I haven't tried that yet I must give it a go when I'm next to
that machine later.

The most annoying thing is I've had this scanner working in another
environment for years and I cannot remember what special format I had it
in. I know I was using a samba share though. If only I had access to the
backend of this Linux based scanner and I could get decent errors out of
it and I could just edit the raw setup by hand.

from
Michael

On 27/02/17 09:18, Gary Pope wrote:

renato

unread,
Feb 26, 2017, 6:48:33 PM2/26/17
to mlu...@googlegroups.com
What version of SMB is this device running? is it still SMB 1.0?
Sometimes on those devices you can adjust the version or it may need a
firmware upgrade.

renato

unread,
Feb 26, 2017, 7:06:46 PM2/26/17
to mlu...@googlegroups.com
What samba server are you using your current environment? Since you had
set it up a few years ago your samba server was an earlier version and
may be supported by the scanner. See if you can get hold of some later
firmware it may just fix the problem.


On 27/02/17 09:58, Michael Pope wrote:

Michael Pope

unread,
Feb 26, 2017, 7:45:58 PM2/26/17
to mlu...@googlegroups.com
That's a point, I'm using Samba 4.5.2, I would of been using Samba 1.x
last time it was working. I've looked for firmware updates and couldn't
find anywhere to download the firmware the Ricoh site says most of the
downloads are unsupported.

Maybe I should look at the FTP upload instead of SAMBA. At least it
hasn't changed that much.

from
Michael

Gary Pope

unread,
Feb 26, 2017, 10:45:21 PM2/26/17
to mlu...@googlegroups.com
The problem with what I'll suggest here, will conflict with a more
secure latest SMB setup likely needed for OTHER SMB work.
But it may at least help define WHY the RICOH is letting you down.
The manual can be found here: (2.8MB pdf)
https://www.manualowl.com/p/Ricoh/402334/Manual/27237



Lots of articles back to 2009 about RICOH scanners not handling SIGNING
to SMB.
The old Windows trick was to reduce the security (GROUP POLICY) back a level
(ie back to SMB v1 level)

from:
http://serverfault.com/questions/60392/cant-seem-to-setup-ricoh-to-scan-to-sbs-2008-shared-folder

- disable SMB signing via the registry set both below values to 0

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanserver\Parameters\Enablesecuritysignature

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanserver\Parameters\Requiresecuritysignature



SO, if your samba server is latest and greatest, that might explain the
issue here.


There are other topics that sound similar (but for different models of
Ricoh), but the SMB v1 versus NTLMv2 issue is common.
http://www.copytechnet.com/forums/ricoh-savin-gestetner-lanier/60966-ricoh-aficio-2022-scanner-win-2008-server-r2.html
and
https://social.technet.microsoft.com/Forums/windowsserver/en-US/45f11013-3e03-4b3b-afa0-743131c479f0/ricoh-aficio-mp-c2051-scan-to-folder-windows-server-2012-error-authentication-with-the?forum=winserverfiles
from:
https://community.spiceworks.com/topic/280387-ricoh-scan-windows-server-2012
w: www.alchester.com.au <http://www.alchester.com.au>
Reply all
Reply to author
Forward
0 new messages