<div>[net] sane_open: net_open<br>[net] sane_open: remote open failed<br><font color="#ff0000">scanimage: open of device net:192.168.0.102:pixma:04A91709 failed: Access to resource has been denied</font></div>
<div>[net] sane_exit: exiting<br></div>
<div>What about the xinet (or inet ?) configuration you are using on the server: is the user/group used for saned allowed to use the scanner on usb ?</div>
<div> </div>
<div>Nicolas<br></div>
<div class="gmail_quote">2010/7/28 Seb <span dir="ltr"><<a href="mailto:spluque@gmail.com">spluque@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">[update]<br><br>I changed the clients' /etc/sane.d/net.conf to point exclusively to the<br>IP address of the SANE server:<br>
<br>192.168.0.102<br><br>and now the clients detect the scanner, but cannot use it:<br><br>---<--------------------cut here---------------start------------------->---<br>$ scanimage -L<br>device `net:192.168.0.102:pixma:04A91709' is a CANON Canon PIXMA MP150 multi-function peripheral<br>
<br>$ SANE_DEBUG_NET=255 scanimage -d 'net:192.168.0.102:pixma:04A91709' > /tmp/test.pnm<br>
<div class="im">[sanei_debug] Setting debug level of net to 255.<br></div>[net] sane_init: authorize = 0x405920, version_code = 0x7fffdb391efc<br>
<div class="im">[net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.0.21<br>[net] sane_init: Client has little endian byte order<br>[net] sane_init: searching for config file<br>[net] sane_init: trying to add 192.168.0.102<br>
</div>
<div class="im">[net] add_device: adding backend 192.168.0.102<br></div>[net] add_device: backend 192.168.0.102 added<br>
<div class="im">[net] sane_init: trying to add [::1]<br>[net] add_device: adding backend [::1]<br>[net] add_device: error while getting address of host [::1]: Name or service not known<br>[net] sane_init: trying to add localhost<br>
[net] add_device: adding backend localhost<br>[net] add_device: backend localhost added<br>[net] sane_init: done reading config<br>[net] sane_init: evaluating environment variable SANE_NET_HOSTS<br>[net] sane_init: evaluating environment variable SANE_NET_TIMEOUT<br>
[net] sane_init: done<br></div>[net] sane_open("192.168.0.102:pixma:04A91709")<br>[net] sane_open: host = 192.168.0.102, device = pixma:04A91709<br>[net] sane_open: device found in list<br>[net] sane_open: device not connected yet...<br>
[net] connect_dev: trying to connect to 192.168.0.102<br>[net] connect_dev: [0] connection succeeded (IPv4)<br>
<div class="im">[net] connect_dev: sanei_w_init<br></div>[net] connect_dev: net_init (user=sluque, local version=1.0.3)<br>
<div class="im">[net] connect_dev: freeing init reply (status=Success, remote version=1.0.3)<br>[net] connect_dev: done<br></div>[net] sane_open: net_open<br>[net] sane_open: remote open failed<br>scanimage: open of device net:192.168.0.102:pixma:04A91709 failed: Access to resource has been denied<br>
<div class="im">[net] sane_exit: exiting<br>[net] net_avahi_cleanup: stopping thread<br>[net] net_avahi_cleanup: done<br></div>[net] sane_exit: closing dev 0x2361170, ctl=-1<br>[net] sane_exit: closing dev 0x235ec50, ctl=6<br>
<div class="im">[net] sane_exit: finished.<br>---<--------------------cut here---------------end--------------------->---<br><br></div><font color="#888888">Seb<br></font>
<div class="im"><br><br><br>On Tue, 27 Jul 2010 21:24:35 -0500,<br>Seb <<a href="mailto:spluque@gmail.com">spluque@gmail.com</a>> wrote:<br><br>> Hi, My partner is about to strangle me because she can no longer scan<br>
> on our Canon Pixma MP150. Following updates to Debian sid SANE<br>> packages several weeks ago, this scanner is only seen on the machine<br>> with the server. We have 3 computers in a home network (on a router):<br>
<br>> 192.168.0.100 192.168.0.101 192.168.0.102<br><br><br>> The SANE server (saned) is on the last one, and in that computer I<br>> have /etc/sane.d/net.conf:<br><br>> [::1] localhost<br><br><br>> /etc/sane.d/saned.conf:<br>
<br>> <a href="http://192.168.0.100/24" target="_blank">192.168.0.100/24</a> [::1] localhost<br><br><br>> /etc/services does include the line:<br><br>> sane-port 6566/tcp sane saned # SANE network scanner daemon<br>
<br><br>> /etc/inetd.conf also has the line:<br><br>> sane-port stream tcp nowait saned:saned /usr/sbin/saned saned<br><br><br>> In this computer I get:<br><br></div>
<div class="im">> $ SANE_DEBUG_NET=255 scanimage -L [sanei_debug] Setting debug level of<br>> net to 255. [net] sane_init: authorize = 0x405920, version_code =<br>> 0x7fff7ff4261c [net] sane_init: SANE net backend version 1.0.14<br>
> (AF-indep+IPv6) from sane-backends 1.0.21 [net] sane_init: Client has<br>> little endian byte order [net] sane_init: searching for config file<br>> [net] sane_init: trying to add [::1] [net] add_device: adding backend<br>
> [::1] [net] add_device: error while getting address of host [::1]:<br>> Name or service not known [net] sane_init: trying to add localhost<br>> [net] add_device: adding backend localhost [net] add_device: backend<br>
> localhost added [net] sane_init: done reading config [net] sane_init:<br>> evaluating environment variable SANE_NET_HOSTS [net] sane_init:<br>> evaluating environment variable SANE_NET_TIMEOUT [net] sane_init: done<br>
> [net] sane_get_devices: local_only = 0 [net] connect_dev: trying to<br>> connect to localhost [net] connect_dev: [0] connection succeeded<br>> (IPv6) [net] connect_dev: sanei_w_init [net] connect_dev: net_init<br>
> (user=(null), local version=1.0.3) [net] connect_dev: freeing init<br>> reply (status=Success, remote version=1.0.3) [net] connect_dev: done<br>> [net] sane_get_devices: got localhost:pixma:04A91709 [net]<br>> sane_get_devices: finished (1 devices) device `pixma:04A91709_F00102'<br>
> is a CANON Canon PIXMA MP150 multi-function peripheral device<br>> `net:localhost:pixma:04A91709' is a CANON Canon PIXMA MP150<br>> multi-function peripheral [net] sane_exit: exiting [net]<br>> net_avahi_cleanup: stopping thread [net] net_avahi_cleanup: done [net]<br>
> sane_exit: closing dev 0x25b5250, ctl=6 [net] sane_exit: finished.<br><br><br></div>
<div class="im">> However, on the other computers with the clients I get:<br><br></div>
<div>
<div></div>
<div class="h5">> $ SANE_DEBUG_NET=255 scanimage -L [sanei_debug] Setting debug level of<br>> net to 255. [net] sane_init: authorize = 0x405920, version_code =<br>> 0x7fffb3d35b7c [net] sane_init: SANE net backend version 1.0.14<br>
> (AF-indep+IPv6) from sane-backends 1.0.21 [net] sane_init: Client has<br>> little endian byte order [net] sane_init: searching for config file<br>> [net] sane_init: trying to add <a href="http://192.168.0.102/24" target="_blank">192.168.0.102/24</a> [net] add_device:<br>
> adding backend <a href="http://192.168.0.102/24" target="_blank">192.168.0.102/24</a> [net] add_device: error while getting<br>> address of host <a href="http://192.168.0.102/24" target="_blank">192.168.0.102/24</a>: Name or service not known [net]<br>
> sane_init: trying to add [::1] [net] add_device: adding backend [::1]<br>> [net] add_device: error while getting address of host [::1]: Name or<br>> service not known [net] sane_init: trying to add localhost [net]<br>
> add_device: adding backend localhost [net] add_device: backend<br>> localhost added [net] sane_init: done reading config [net] sane_init:<br>> evaluating environment variable SANE_NET_HOSTS [net] sane_init:<br>
> evaluating environment variable SANE_NET_TIMEOUT [net] sane_init: done<br>> [net] sane_get_devices: local_only = 0 [net] connect_dev: trying to<br>> connect to localhost [net] connect_dev: [0] failed to connect<br>
> (Connection refused) [net] connect_dev: [1] failed to connect<br>> (Connection refused) [net] connect_dev: couldn't connect to host (see<br>> messages above) [net] sane_get_devices: ignoring failure to connect to<br>
> localhost [net] sane_get_devices: finished (0 devices) device<br>> `v4l:/dev/video0' is a Noname Chicony USB 2.0 Camera virtual device<br>> [net] sane_exit: exiting [net] net_avahi_cleanup: stopping thread<br>
> [net] net_avahi_cleanup: done [net] sane_exit: closing dev 0x961e90,<br>> ctl=-1 [net] sane_exit: finished.<br><br><br></div></div>
<div>
<div></div>
<div class="h5">> I'd really appreciate any pointers.<br><br><br>--<br>Seb<br><br><br>--<br>sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br><a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br> to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br></div></div></blockquote>
</div><br>