Using SANE
Alexander Ryzhov edited this page Mar 15, 2018
·
4 revisions
This page describes how to enable Network Scanning using a USB scanner or multi-function printer using S.A.N.E. (Scan Access Now Easy).
Make sure you've got SANE supported scanner.
opkg install sane-frontends dbus xinetd
Create file /opt/etc/xinetd.d/saned
and put the following content:
service saned
{
type = UNLISTED
port = 6566
socket_type = stream
server = /opt/sbin/saned
protocol = tcp
user = root
group = root
wait = no
disable = no
}
Edit file /opt/etc/sane.d/saned.conf
and add your subnet to allow access, for example: 192.168.1.0/24.
Reboot device and make sure that dbus and xinetd are running (this step might not be required if you know how to start the services manually from /opt/etc/init.d
).
For HP scanner:
opkg --force-overwrite install hplip
Type: scanimage -L
, your device should be displayed.
Type: scanimage --test
, your device should start testing and display status.
- Install the sane package. This changes by distribution
- Edit file
/etc/sane.d/net.conf
and add the ip or hostname of the router - Test the same way with the
scanimage
utility
- Download SaneTwain
- On start-up put the router's ip/host
- SANE - http://www.sane-project.org/
- Original How-To - https://github.com/RMerl/asuswrt-merlin/wiki/Network-Scanning-With-Sane
- Android
- ASUS (stock firmware)
- AsusWRT (stock firmware)
- ASUSTOR NAS
- Asuswrt-Merlin
- DD-WRT
- FreshTomato (TomatoUSB)
- Oleg's firmware
- Padavan firmware
- QNAP NAS
- Remarkable
- Synology NAS
- TerraMaster NAS (x86_64)
- Zyxel NAS542