Hardcore Linux

Anything about Ubuntu, Centos, openSuSe and Fedora

SANE sharing in Ubuntu

I’ve been an openSuSE user for almost 3 years, and just recently shifted to Ubuntu not for feature wise but for “just work” advantage, and upgrade management is a breeze. Now, back to the topic. Configuring SANE in openSuSE is somewhat much easier than in Ubuntu because of YAST (Yet Another Setup Tool). Installing and sharing a scanner to network is easy as 123. But in Ubuntu, you have to do it manually on SANE configurations. Few kicks more and you will learn it with this HOWTO:

1. Install necessary packages to share SANE over the network. You need to run it in xinetd, to install it run the usually apt-get

         sudo apt-get install xinetd

2.  Then create a sane xinetd service

sudo vi /etc/xinetd.d/sane

3.  Enter the following code as ease. Note the you have to use root in the user and group option

service sane
   socket_type = stream
   server = /usr/sbin/saned
   protocol = tcp
   user = root
   group = root
   wait = no
   disable = no

4. Then restart the xinetd service.

sudo /etc/init.d/xinetd restart

5.  To access the shared scanner over the network, modify the client’s /etc/sane.d/net.conf and add the IP address of the SANE

6. Done.

sudo apt-get install xinetd

3 responses to “SANE sharing in Ubuntu

  1. buFka November 13, 2009 at 10:58 pm


    – /etc/saned.d/net.conf
    + /etc/sane.d/net.conf

  2. themainliner August 22, 2012 at 10:39 pm

    OK…with you right up to step 5, what exactly do I enter in /etc/sane.d/net.conf?
    server/host (?)
    IP Address of server? / and…?

    Tiny bit confused. But thank you in advance.

  3. fred September 30, 2013 at 10:27 pm

    Thx dude! your solution is a success after some hours of researches 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: