Network Scanner Ubuntu

Manually Installing a Network Scanner

Ubuntu does not automatically detect a scanner that is shared by a remote computer so you need to set it up manually:

Server-side Setup (9.04/9.10)

On the computer that is sharing the scanner you need to change one line in /etc/default/saned to read:

# Set to yes to start saned                                                      RUN=yes

Now add the following line to /etc/sane.d/saned.conf to share the printer with all computers on your subnet:

192.168.1.0/24

Then start the Sane daemon (saned) by running:

sudo invoke-rc.d saned start

To configure the Sane daemon start automatically at boot up run:

sudo update-rc.d saned defaults

Server-side Setup (8.10 and earlier)

On the computer that is sharing the scanner you need to add the following line to /etc/inetd.conf

sane-port stream tcp nowait saned.saned /usr/sbin/saned saned
sane-port stream tcp nowait root.root /usr/sbin/saned saned <- cause Wxp permission

And restart inetd:

sudo /etc/init.d/inetd restart

Or, if you are using xinetd, create a file called /etc/xinetd.d/saned and enter the following in the file:

service saned  { socket_type = stream server = /usr/sbin/saned protocol = tcp user = saned group = scanner wait = no disable = no }

And restart xinetd:

sudo /etc/init.d/xinetd restart

Now add the following line to /etc/sane.d/saned.conf to share the printer with all computers on your subnet:

192.168.1.0/24 -> It's better to add only the client iP cause WXP network

Finally, you need to add "saned" group to "scanner" at /etc/group, because of the permissions. If your scanner is an old parallel port scanner you need to add "saned" to the "lp" group.

ACL permissions for saned

Because of a change is the way access permissions are now applied to devices, saned may still not be able to access the scanner when it is launched by inetd or xinetd. This can happen even though other regular users on the server have access. The following bug-report contains a solution to this problem :

Client-side Setup


All you have to do now is to download xsane for Windows and install it on C:/

From the client, all you need to do is add server name or IP address of the scanner server to /etc/sane.d/net.conf:

192.168.1.100 -> the iP address of the server

Now run xsane and it should pick up the new network scanner.


via HelpUbuntu

Comentarios

Entradas populares