<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Allan</div><div><br></div><div>And thanks for this. </div><div><br></div><div>Makes sense and feel daft for not having thought of it. </div><div><br></div><div>Tho", not certain saned was called or running by xinetd. Will check it tomorrow if kids allow. </div><div><br></div><div>Thanks for advice</div><div><br></div><div>Andy</div><div><br>Sent from my iPhone</div><div><br>On 21 Oct 2014, at 20:35, m. allan noah <<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>if you have configured inetd to listen on the sane port, you cannot then also start saned in debug mode, where it also tries to listen on that port. Either stop inetd during your testing, or don't start saned directly (inetd will do it for you)<br><br></div>allan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 21, 2014 at 3:21 PM, Andy Ody <span dir="ltr"><<a href="mailto:andy.ody@gmail.com" target="_blank">andy.ody@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi ALL,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Apologies for being a noob, but sort of struggling now.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm trying to setup an old BT Homehub 2 router as a scanner server, and have ref lashed it with OpenWRT.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I've installed Sane frontends and backends, and libs.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">From the command line, the scanner shows up (an HP5590), and I can scan image -L. I can even create a scan file from the command line, so guessing the driver and everything is ok.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I've gotten xinetd installed and running (I think)</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm trying to get saned up and running with</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><p style="margin:0px;font-size:11px;font-family:Menlo">root@OpenWrt:/etc# saned -d128</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">but I get this </p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] main: starting debug mode (level 128)</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] read_config: searching for config file</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] read_config: done reading config</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] saned (AF-indep+IPv6) from sane-backends 1.0.24 starting up</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: trying to get port for service "sane-port" (getaddrinfo)</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: [0] socket () using IPv6</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: [0] setsockopt ()</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: [0] bind () to port 6566</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: [0] bind failed: Address already in use</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: [1] socket () using IPv4</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: [1] setsockopt ()</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: [1] bind () to port 6566</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: [1] bind failed: Address already in use</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] do_bindings: couldn't bind an address. Exiting.</p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] FATAL ERROR; bailing out, waiting for children...</p><p style="margin:0px;font-size:11px;font-family:Menlo"></p><p style="margin:0px;font-size:11px;font-family:Menlo">[saned] bail_out: all children exited</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">I did a netstat to see, and </p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">root@OpenWrt:/etc# netstat -an</p><p style="margin:0px;font-size:11px;font-family:Menlo">Active Internet connections (servers and established)</p><p style="margin:0px;font-size:11px;font-family:Menlo">Proto Recv-Q Send-Q Local Address           Foreign Address         State       </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://0.0.0.0:6566/" target="_blank">0.0.0.0:6566</a>            0.0.0.0:*               LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://0.0.0.0/" target="_blank">0.0.0.0:80</a>              0.0.0.0:*               LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://0.0.0.0:53/" target="_blank">0.0.0.0:53</a>              0.0.0.0:*               LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://0.0.0.0:22/" target="_blank">0.0.0.0:22</a>              0.0.0.0:*               LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://0.0.0.0:631/" target="_blank">0.0.0.0:631</a>             0.0.0.0:*               LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://172.16.1.35/" target="_blank">172.16.1.35:80</a>          <a href="http://172.16.1.23:49894/" target="_blank">172.16.1.23:49894</a>       TIME_WAIT   </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://172.16.1.35:22/" target="_blank">172.16.1.35:22</a>          <a href="http://172.16.1.23:49370/" target="_blank">172.16.1.23:49370</a>       ESTABLISHED </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://172.16.1.35/" target="_blank">172.16.1.35:80</a>          <a href="http://172.16.1.23:49895/" target="_blank">172.16.1.23:49895</a>       TIME_WAIT   </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 <a href="http://172.16.1.35/" target="_blank">172.16.1.35:80</a>          <a href="http://172.16.1.23:49896/" target="_blank">172.16.1.23:49896</a>       TIME_WAIT   </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 :::80                   :::*                    LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 :::53                   :::*                    LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 :::22                   :::*                    LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">tcp        0      0 :::631                  :::*                    LISTEN      </p><p style="margin:0px;font-size:11px;font-family:Menlo">udp        0      0 <a href="http://0.0.0.0:53/" target="_blank">0.0.0.0:53</a>              0.0.0.0:*                           </p><p style="margin:0px;font-size:11px;font-family:Menlo">udp        0      0 <a href="http://0.0.0.0:631/" target="_blank">0.0.0.0:631</a>             0.0.0.0:*                           </p><p style="margin:0px;font-size:11px;font-family:Menlo">udp        0      0 :::547                  :::*                                </p><p style="margin:0px;font-size:11px;font-family:Menlo">udp        0      0 :::53                   :::*                                </p><p style="margin:0px;font-size:11px;font-family:Menlo">raw        0      0 :::58                   ::%4434572:*            58          </p><p style="margin:0px;font-size:11px;font-family:Menlo">raw        0      0 :::58                   ::%4434572:*            58          </p><p style="margin:0px;font-size:11px;font-family:Menlo">Active UNIX domain sockets (servers and established)</p><p style="margin:0px;font-size:11px;font-family:Menlo">Proto RefCnt Flags       Type       State         I-Node Path</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ACC ]     STREAM     LISTENING        307 /var/run/ubus.sock</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1877 /var/run/hostapd/wlan0</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  11     [ ]         DGRAM                      1228 /dev/log</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1519 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED        574 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1814 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1491 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      2171 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1310 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED        575 /var/run/ubus.sock</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       1343 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       2080 /var/run/ubus.sock</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       2079 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       1933 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       1231 /var/run/ubus.sock</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       1344 /var/run/ubus.sock</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1826 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       1934 /var/run/ubus.sock</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       1290 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       1230 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  3      [ ]         STREAM     CONNECTED       1291 /var/run/ubus.sock</p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1483 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1648 </p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      2195 </p><p style="margin:0px;font-size:11px;font-family:Menlo"></p><p style="margin:0px;font-size:11px;font-family:Menlo">unix  2      [ ]         DGRAM                      1939 </p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Now, not a lot of this means anything to me, and if anyone can point me in the direction of what to do, greatly appreciated.</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">TIA</p><div><div><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><span class="HOEnZb"><font color="#888888"><span><font color="#888888"><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Andy</p></font></span></font></span></div></div>
<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/cgi-bin/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/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></blockquote></div><br><br clear="all"><br>-- <br>"well, I stand up next to a mountain- and I chop it down with the edge of my hand"
</div>
</div></blockquote></body></html>