Here you find the german translation of this How-To.
News around the How-To:
Added section "4. Known problems with some printers"
Therefor I need your support. So please post your experiences!
The How-To is updated.
I compiled hplip 3.9.2-1. HP-Scanners sould now be well supported!!!
The How-To is updated.
2009-10-26 ipkg package from optware server:
Since I am official Maintainer of the sane-backends optware package, you can use the optware package of sane-backends now.
I will update the package with every revision.
The HowTo is updated for use with the optware package
after months of working, I finally succeeded in setting up a Sane Scanner-Server on my Asus Wl500gP. I so often found help in this forum, so I decided to give something back and write this Tutorial. There are some Threads about this topic, sadly the Threads are not that helpfull. Thats why I decided to compile the latest stable version of sane-backends for our routers. It works fine!!
A Scanner-Server makes it possible, to share a scanner, that is connected to your router, to every person who has access to your network. Like you know it from networkprinters. Unlike printservers (like they are used in printers) scanner-servers are not that popular and they are also very expensive. With the help of the Sane scanner-server your asus router is a adequate scanner-server.
To control your scanner from a PC, I use the XSane frontend. If you like to know, how the frontend looks like, take a look at the attached image.
For further information on Sane and XSane, take a look at the following links.
First of all, you have to check if your scanner/multifunction printer is supported by the Sane-server. Status should be at least "basic". If everything is fine, you can go on.
Parts of the How-To:
1. Firmware-Update (you need the newest router firmware, otherwise your router isn't able to talk to many printers).
2. Installation and configuration of the Sane scanner-server on your asus router.
3. Installation and configuration of the Xsane frontend.
Basic requirement is, that your router is installed on wengi's HowTo.
Thanks to wengi!
So lets start!
Here you get the latest firmware for your router.
For those of you, who do not know the project yet, its a further development of the oleg firmware. It has the same functionality like Oleg's firmware, but its build on a newer kernel.
If you wanna learn more about the project, look here.
Please note: You can try it with your current firmware (e.g. oleg's 22.214.171.124-10) but it will not work with many printers. Especially many Canon and HP printers will not be supported.
2. Installation of the Sane scanner-server
Attention: If you worked with sane-backends before, you have to remove all older versions of the sane-backends on your mashine.
So to be sure:
ipkg remove sane-backends
ipkg remove sane-backends-wl500
2.1 Install some libraries
The Sane Scanner-Server needs some additional libraries.
ipkg install libusb
ipkg install libtiff
ipkg install libjpeg
ipkg install libieee1284
2.2 Install the package from optware
Just do a:
ipkg install sane-backends
2.3 Edit the config-file
After installing the Sane server, you can start with the configuration.
Therefor, open the Sane config file:
Customize the following line at the end of the file, so it fits to your network:
192.168.1.0/24 #grant access to scanner from network 192.168.1.x
2.4 Edit the xinetd-script
You have to change the user and group in the xinetd-script to your root-user.
My root-user is "admin".
socket_type = stream
server = /opt/sbin/saned
protocol = tcp
user = admin
group = root
wait = no
disable = no
2.5 Restart the router and check if the server is running
The following command checks, if the scanner was found:
flashfs save && flashfs commit && flashfs enable && reboot
That has to be the output:
Now the following command:
found USB scanner (vendor=0x04a9 [Canon], product=0x1713 [MP830]) at libusb:003:004
That has to be the output now.
If both outputs are correct, your Sane-server is working fine
device `pixma:04A91713_19E40D' is a CANON Canon PIXMA MP830 multi-function peripheral
Most HP-Scanner uses hplip. I compiled a working ipkg-package.
Take a look at this post.
4. Known issues with some printers
4.1 HP PhotoSmart c5283
Refer to the following post. Thanks to electropanda!
5. Installation and configuration of XSane on Windows
5.1 Download the software
Here you get the latest version of XSane.
5.2 Installation of XSane
There is not that much to "install".
Extract the archiv and copy the folder "sane" to C:\
Attention: The storage position is important, otherwise the software will not work.
5.3 Configuration of XSane
The coniguration is also not that difficult. You only have to edit the following file:
At the end of the file, you have to paste your router ip-adress. That's how my config file looks like:
5.4 Starting XSane
# This is the net config file. Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend. Going through the net backend
# may be necessary to access devices that need special privileges.
192.168.1.1 #Thats my router-ip
You can start the program by executing the following file:
Now you can scan images with XSane
There are some more frontends available, look here for an overview.
For all Linux users:
There is also a linux version of XSane available. For more information look at the XSane-homepage.
If you have any problems during installation/configuration post in this thread.
If you like the How-To and your Sane scanner-server works, please also make a short post