I've problems to get working a networked scanner (an Epson Stylus Office) . It is published to the lan (a wifi net) with an ip and it is well recognized by other devices (Mac and an old box running debian). So, presume, it should work with Salix as well, but i don't see how to get to it?
Neither xsane nor simplescan seem to see it (they only offer the webcam as a viable scan device).
TIA for any pointer!
How to configure networked scanner?
Re: How to configure networked scanner?
I know a way to use SANE via the LAN. Perhaps there are still others.jsfarinet wrote:I've problems to get working a networked scanner (an Epson Stylus Office) . It is published to the lan (a wifi net) with an ip and it is well recognized by other devices (Mac and an old box running debian). So, presume, it should work with Salix as well, but i don't see how to get to it?
Neither xsane nor simplescan seem to see it (they only offer the webcam as a viable scan device).
TIA for any pointer!
You need to use the SANE Network Daemon saned. It is part of the SANE package.
Please read http://penguin-breeder.org/sane/saned for a detailed explanation. The saned man page is also helpful.
Re: How to configure networked scanner?
Assuming Salix is in the client PC here.
This is my /etc/sane.d/net.conf file and it just works with simplescan:
there is only a single line of useful settings in there, the last one with the ip of the PC that has the scanner (actually an HP printer/scanner) attached.
Make sure your user is a member of the scanner group.
This is my /etc/sane.d/net.conf file and it just works with simplescan:
Code: Select all
# This is the net backend config file.
## net backend options
# Timeout for the initial connection to saned. This will prevent the backend
# from blocking for several minutes trying to connect to an unresponsive
# saned host (network outage, host down, ...). Value in seconds.
# connect_timeout = 60
## saned hosts
# Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend. Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost
192.168.1.66
Make sure your user is a member of the scanner group.
Re: How to configure networked scanner?
gapan, your device is connected to a computer that is on the LAN. jsfarinets question, I understand that the device is connected directly to the LANgapan wrote:Assuming Salix is in the client PC here.
[...]
there is only a single line of useful settings in there, the last one with the ip of the PC that has the scanner (actually and HP printer/scanner) attached.
Re: How to configure networked scanner?
Right westms! The network is like this: gateway/router whereto are connected by wireless several devices among them the Epson Stylus Office (which has the ip *.*.*.105).westms wrote:gapan, your device is connected to a computer that is on the LAN. jsfarinets question, I understand that the device is connected directly to the LANgapan wrote:Assuming Salix is in the client PC here.
[...]
there is only a single line of useful settings in there, the last one with the ip of the PC that has the scanner (actually and HP printer/scanner) attached.
Now, cups recognizes it: Printing works fine. But not so scanning. I'll try out your indication (i already have tried the sane daemon but after boot and manually from within X. Maybe i'll have to add it to rc.local? An re-boot ... ?)
Re: How to configure networked scanner?
Answering to myself:
I think i have it: I added simply
to rc.local. And then i changed in /etc/sane.d/epson2.conf the last line from
to
Now it seems to work. To be really sure i also did was man saned said about inetd.conf and /etc/services.
Just a question out of curiousity: the configuration of the paragraph "saned hosts" in /etc/sane.d/net.conf and of "Access list" in /etc/sane.d/saned.conf in some way pretty much cover the same?
I think i have it: I added simply
Code: Select all
saned
Code: Select all
net autodiscovery
Code: Select all
net *.*.*.105
Just a question out of curiousity: the configuration of the paragraph "saned hosts" in /etc/sane.d/net.conf and of "Access list" in /etc/sane.d/saned.conf in some way pretty much cover the same?
Re: How to configure networked scanner?
Yes, they should be the same. Actually filenames in /etc/sane.d/ shouldn't matter. It's the content that does.