[sane-devel] Cannot scan over an open local network
Olaf Meeuwissen
olaf.meeuwissen at avasys.jp
Sun Nov 25 23:28:38 UTC 2012
Joel Webster writes:
> First of all, thank you for all of your hard work getting SANE to be...sane.
> I recently acquired an HP Deskjet 3050A J611 series, which is one of their
> all-in-one printer/scanner combo machines.
> I would like to be able to use the device over my home network, where the
> device is connected to our file/print server. I can print to it everywhere
> (from windows & linux machines alike) with no problems, but I cannot scan
> from anywhere but from the server itself. It works flawlessly from the
> server, but I cannot even see the machine over the network.
> I have followed the advice on the
> https://help.ubuntu.com/community/sane.d%20tutorial page and have worked
> through all of the troubleshooting steps three times to make sure I didn't
> miss anything.
> I can't even scan through localhost on the server it's connected to. All
> firewalls are disabled across all machines on the internal network.
> The file/print server is running Ubuntu 12.04.
> Are there any further steps I can take to figure this out?
For lack of a crystal ball ;-), posting your /etc/sane.d/net.conf and
/etc/sane.d/saned.conf files as well as information about your network
configuration would be very helpful in trouble shooting this. For the
network configuration, the output of
$ sudo ifconfig
or
$ ip addr
will do.
There is a small chance that saned may be run by a user that is not in
the appropriate group. To check that, run
$ grep setfacl /lib/udev/rules.d/*-libsane.rules
$ groups saned
and check that the bit between g: and :rw in the output from the first
command should be listed in the output of the second. In my case, the
output looks like this (Debian wheezy)
ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"
saned : saned scanner
and "scanner" is both lines so I'm good.
Other than that, check that saned is running with
$ sudo service saned status
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962 Help support software freedom
http://www.fsf.org/jf?referrer=1962
More information about the sane-devel
mailing list