2) Setup SANE as a network enable service

This part involve quite some effort to get SANE network enable. Personally, I think SANE in OpenWRT is not very complete. But don’t worry, all you need to do is to create and edit some config files.

2.1) Get around the check_host error in SANE

This is the most important step to get around the check host problem of SANE. You must get this done first. Otherwise even you got all the below settings right, you will still unable to get SANE work over the network. The problem is SANE wants to know the router own host name but SANE could not find it.

Edit the following file:

vim /etc/host

Add the following line:

192.168.1.1 OpenWRT

IP_address = your_router_IP host_name = any_name_of_your_choice

2.2) Allow who can use your scanner from your network

Edit the following file:

vim /etc/sane.d/saned.conf

To allow only a subnet of computers to use your scanner, add the following line:

192.168.1.0/24

To allow all computer, add the following line, just a “+” sign:

+

Start SANE in debug mode, so we can do some test after setting up the client software

saned -d 128

——————————————————————————–

3) Setup client side softwares

3.1) In Ubuntu:

Install the following software:

sudo apt-get install sane-utils

If you also want graphical interface, install this as well:

sudo apt-get install simple-scan

Edit the following file, to tell SANE where the network enabled scanner is:

sudo vim /etc/sane.d/net.conf

Add the following line:

192.168.1.1

We can test the connectivity from client to server now, from your computer: