vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Mauro Sacchetto <mauro.sacchetto@aliceposta.it> wrote: > Has anyone set scanner sharing? Yes, it works great with sane. > If yes, what did he put > into /etc/sane.d/net.conf? On the server you do not need to put anything at all in net.conf. On the clients you only need to add one line with the hostname of the server. This assumes that your clients are able to translate the hostname to an IP-adress. So you will have to have the servers hostname and ip in /etc/hosts on the clients unless you get that information from NIS or DNS. There is also another file called saned.conf. You will have to modify that file to allow clients to connect to the scanner. My saned.conf looks like this with some descriptive comments: -8<------------------------------------------------- # # saned.conf # # The contents of the saned.conf file is a list of host names, IP # addresses or IP subnets (CIDR notation) that are permitted to use local # SANE devices. IPv6 addresses must be enclosed in brackets, and should # always be specified in their compressed form. # # The hostname matching is not case-sensitive. # #scan-client.somedomain.firm #192.168.0.1 #192.168.0.1/29 #[2001:7a8:185e::42:12] #[2001:7a8:185e::42:12]/64 # # NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and # /etc/services must also be properly configured to start # the saned daemon as documented in saned(1), services(4) # and inetd.conf(4) (or xinetd.conf(5)). 192.168.43.1/16 -8<------------------------------------------------- Finally I have also added sane to /etc/services on the server: sane 6566/tcp # SANE network scanner daemon And the server has the following line in /etc/inetd.conf: sane stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/saned regards Henrik -- The address in the header is only to prevent spam. My real address is: hc2(at)uthyres.com Examples of addresses which go to spammers: info@k-soft.se info@k-software.biz info@webrider.ru root@localhost |
| ||||
| Henrik Carlqvist wrote: > Yes, it works great with sane. Thanks you for your detailed answer. I solved finding my mistake. In /etc/sane.d/net.conf I put the wrong line net:192.168.0.2:epson:libusb:002:002. On the contrary, it need to be added only net:192.168.0.2 Now all works fine. Thanx again M. |