<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">&lt;<a href="mailto:spluque@gmail.com">spluque@gmail.com</a>&gt;</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&#39; /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>---&lt;--------------------cut here---------------start-------------------&gt;---<br>$ scanimage -L<br>device `net:192.168.0.102:pixma:04A91709&#39; is a CANON Canon PIXMA MP150 multi-function peripheral<br>
<br>$ SANE_DEBUG_NET=255 scanimage -d &#39;net:192.168.0.102:pixma:04A91709&#39; &gt; /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(&quot;192.168.0.102:pixma:04A91709&quot;)<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>---&lt;--------------------cut here---------------end---------------------&gt;---<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 &lt;<a href="mailto:spluque@gmail.com">spluque@gmail.com</a>&gt; wrote:<br><br>&gt; Hi, My partner is about to strangle me because she can no longer scan<br>
&gt; on our Canon Pixma MP150.  Following updates to Debian sid SANE<br>&gt; packages several weeks ago, this scanner is only seen on the machine<br>&gt; with the server.  We have 3 computers in a home network (on a router):<br>
<br>&gt; 192.168.0.100 192.168.0.101 192.168.0.102<br><br><br>&gt; The SANE server (saned) is on the last one, and in that computer I<br>&gt; have /etc/sane.d/net.conf:<br><br>&gt; [::1] localhost<br><br><br>&gt; /etc/sane.d/saned.conf:<br>
<br>&gt; <a href="http://192.168.0.100/24" target="_blank">192.168.0.100/24</a> [::1] localhost<br><br><br>&gt; /etc/services does include the line:<br><br>&gt; sane-port 6566/tcp sane saned # SANE network scanner daemon<br>
<br><br>&gt; /etc/inetd.conf also has the line:<br><br>&gt; sane-port stream tcp nowait saned:saned /usr/sbin/saned saned<br><br><br>&gt; In this computer I get:<br><br></div>
<div class="im">&gt; $ SANE_DEBUG_NET=255 scanimage -L [sanei_debug] Setting debug level of<br>&gt; net to 255.  [net] sane_init: authorize = 0x405920, version_code =<br>&gt; 0x7fff7ff4261c [net] sane_init: SANE net backend version 1.0.14<br>
&gt; (AF-indep+IPv6) from sane-backends 1.0.21 [net] sane_init: Client has<br>&gt; little endian byte order [net] sane_init: searching for config file<br>&gt; [net] sane_init: trying to add [::1] [net] add_device: adding backend<br>
&gt; [::1] [net] add_device: error while getting address of host [::1]:<br>&gt; Name or service not known [net] sane_init: trying to add localhost<br>&gt; [net] add_device: adding backend localhost [net] add_device: backend<br>
&gt; localhost added [net] sane_init: done reading config [net] sane_init:<br>&gt; evaluating environment variable SANE_NET_HOSTS [net] sane_init:<br>&gt; evaluating environment variable SANE_NET_TIMEOUT [net] sane_init: done<br>
&gt; [net] sane_get_devices: local_only = 0 [net] connect_dev: trying to<br>&gt; connect to localhost [net] connect_dev: [0] connection succeeded<br>&gt; (IPv6) [net] connect_dev: sanei_w_init [net] connect_dev: net_init<br>
&gt; (user=(null), local version=1.0.3) [net] connect_dev: freeing init<br>&gt; reply (status=Success, remote version=1.0.3) [net] connect_dev: done<br>&gt; [net] sane_get_devices: got localhost:pixma:04A91709 [net]<br>&gt; sane_get_devices: finished (1 devices) device `pixma:04A91709_F00102&#39;<br>
&gt; is a CANON Canon PIXMA MP150 multi-function peripheral device<br>&gt; `net:localhost:pixma:04A91709&#39; is a CANON Canon PIXMA MP150<br>&gt; multi-function peripheral [net] sane_exit: exiting [net]<br>&gt; net_avahi_cleanup: stopping thread [net] net_avahi_cleanup: done [net]<br>
&gt; sane_exit: closing dev 0x25b5250, ctl=6 [net] sane_exit: finished.<br><br><br></div>
<div class="im">&gt; However, on the other computers with the clients I get:<br><br></div>
<div>
<div></div>
<div class="h5">&gt; $ SANE_DEBUG_NET=255 scanimage -L [sanei_debug] Setting debug level of<br>&gt; net to 255.  [net] sane_init: authorize = 0x405920, version_code =<br>&gt; 0x7fffb3d35b7c [net] sane_init: SANE net backend version 1.0.14<br>
&gt; (AF-indep+IPv6) from sane-backends 1.0.21 [net] sane_init: Client has<br>&gt; little endian byte order [net] sane_init: searching for config file<br>&gt; [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>
&gt; 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>&gt; 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>
&gt; sane_init: trying to add [::1] [net] add_device: adding backend [::1]<br>&gt; [net] add_device: error while getting address of host [::1]: Name or<br>&gt; service not known [net] sane_init: trying to add localhost [net]<br>
&gt; add_device: adding backend localhost [net] add_device: backend<br>&gt; localhost added [net] sane_init: done reading config [net] sane_init:<br>&gt; evaluating environment variable SANE_NET_HOSTS [net] sane_init:<br>
&gt; evaluating environment variable SANE_NET_TIMEOUT [net] sane_init: done<br>&gt; [net] sane_get_devices: local_only = 0 [net] connect_dev: trying to<br>&gt; connect to localhost [net] connect_dev: [0] failed to connect<br>
&gt; (Connection refused) [net] connect_dev: [1] failed to connect<br>&gt; (Connection refused) [net] connect_dev: couldn&#39;t connect to host (see<br>&gt; messages above) [net] sane_get_devices: ignoring failure to connect to<br>
&gt; localhost [net] sane_get_devices: finished (0 devices) device<br>&gt; `v4l:/dev/video0&#39; is a Noname Chicony USB 2.0 Camera virtual device<br>&gt; [net] sane_exit: exiting [net] net_avahi_cleanup: stopping thread<br>
&gt; [net] net_avahi_cleanup: done [net] sane_exit: closing dev 0x961e90,<br>&gt; ctl=-1 [net] sane_exit: finished.<br><br><br></div></div>
<div>
<div></div>
<div class="h5">&gt; I&#39;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 &quot;unsubscribe your_password&quot;<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>