Posted: Sat Jul 03, 2010 5:25 Post subject: Asus RT-N16 K26 USB Scanner saned Help?
Hey everyone,
quick specs first:
ASUS RT-N16
DD-WRT v24-sp2 14311 Mega build (K26)
jffs running
I got network printing working using p910nd on this router no problem serving up a Brother laser printer. That is making my life so much easier vs. sharing from a server.
I'm now trying to get scanning working as well by hooking up my USB scanner to the router and using saned back end to share it with the computers on the network. I've been searching high and low for a guide but couldn't find anything that discussed installing a scanner on K26 based firmware.
I'm currently dealing with the following issues:
1) getting saned running through xinetd - this could be because of my own Linux ignorance, but even after I got the saned package from the NUSLUG ipkg repo I couldn't actually start the service.
2) getting my scanner working with saned (I'll fix this once the saned backend is up)
Any one with any info on how to get a scanner working through saned on a K26 firmware router would be greatly appreciated!
just wanted to update with some info here - basically there's no way to do it until DD-WRT adds the sane port to the /etc/services file. OpenWRT can do this because the rootFS is rw and not ro.
Joined: 02 Jan 2009 Posts: 61 Location: Asheville NC, USA
Posted: Wed Aug 24, 2011 13:16 Post subject:
I have saned working through xinetd on my RT-N16. Able to connect using XSane on Linux and sanetwain on Windows 7. _________________ Vi Veri Veniversum Vivus Vici-
"By the power of truth, I, while living, have conquered the universe"
I have saned working through xinetd on my RT-N16. Able to connect using XSane on Linux and sanetwain on Windows 7.
Would you share with us your configuration?
I have an RT-N16 as well, and xinetd runs, but it does not run saned, even though there is a service configuration for saned in the xinetd.d directory.
I have also tried "type = UNLISTED" in the xinetd configuration of saned. Still won't run.
My scanner is detected by sane-find scanner, but not scanimage -L, apparently because the backend is not running at all.
Joined: 02 Jan 2009 Posts: 61 Location: Asheville NC, USA
Posted: Wed Jun 06, 2012 18:26 Post subject:
Sorry for the long delay but heres the config I use.
Code:
:~# cat /opt/etc/xinetd.d/sane-port
service sane-port
{
type = UNLISTED
port = 6566
only_from = localhost 10.0.0.0
socket_type = stream
server = /opt/sbin/saned
protocol = tcp
user = root
group = root
wait = no
disable = no
}
_________________ Vi Veri Veniversum Vivus Vici-
"By the power of truth, I, while living, have conquered the universe"