Condivisione scanner in rete

Ho tolto i cancelletti

[code]]# cat /etc/xinetd.d/sane

default: on

servizio per scanner in remoto

service sane-port
{
disable = no
port = 6566
socket_type = stream
protocol = tcp
wait = no
user = root
passenv = PATH
server = /usr/sbin/saned
}
[/code]

[code]cat /etc/sane.d/net.conf

This is the net backend config file.

net backend options

Timeout for the initial connection to saned. This will prevent the backend

from blocking for several minutes trying to connect to an unresponsive

saned host (network outage, host down, …). Value in seconds.

connect_timeout = 60

saned hosts

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.

localhost

192.168.1.0/24
[/code]

[code]# cat /etc/sane.d/saned.conf

saned.conf

Configuration for the saned daemon

Daemon options

Port range for the data connection. Choose a range inside [1024 - 65535].

Avoid specifying too large a range, for performance reasons.

ONLY use this if your saned server is sitting behind a firewall. If your

firewall is a Linux machine, we strongly recommend using the

Netfilter nf_conntrack_sane connection tracking module instead.

data_portrange = 10000 - 10100

Access list

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(8), services(4)

and inetd.conf(4) (or xinetd.conf(5)).

192.168.1.0/24
[root@paolo-desktop ~]#
[/code]

client

[code]# cat /etc/sane.d/net.conf

This is the net backend config file.

net backend options

Timeout for the initial connection to saned. This will prevent the backend

from blocking for several minutes trying to connect to an unresponsive

saned host (network outage, host down, …). Value in seconds.

connect_timeout = 60

saned hosts

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.

localhost

[/code]

nel client non hai messo l’indirizzo del server:

# leafpad /etc/sane.d/net.conf

inserisci in coda:

192.168.1.132

se non ricordo male è l’indirizzo del server.
salva chiudi.
sempre dal client dai:

$ scanimage -L $ sane-find-scanner
posta gli output.

[code]$ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[/code]

[code]$ sane-find-scanner

sane-find-scanner will now attempt to detect your scanner. If the

result is different from what you expected, first make sure your

scanner is powered up and properly connected to your computer.

No SCSI scanners found. If you expected something different, make sure that

you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x050d, product=0x705a) at libusb:001:003

Your USB scanner was (probably) detected. It may or may not be supported by

SANE. Try scanimage -L and read the backend’s manpage.

Not checking for parallel port scanners.

Most Scanners connected to the parallel port or other proprietary ports

can’t be detected by this program.

You may want to run this program as root to find all devices. Once you

found the scanner devices, be sure to adjust access permissions as

necessary.

[/code]

output da root di:

[code]# scanimage -L

sane-find-scanner [/code]

sia dal server che dal client.

# scanimage -L device `xerox_mfp:libusb:001:003' is a Samsung Samsung SCX-3200 Series multi-function peripheral

[code]sane-find-scanner

sane-find-scanner will now attempt to detect your scanner. If the

result is different from what you expected, first make sure your

scanner is powered up and properly connected to your computer.

No SCSI scanners found. If you expected something different, make sure that

you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3441 [SCX-3200 Series]) at libusb:001:003

Your USB scanner was (probably) detected. It may or may not be supported by

SANE. Try scanimage -L and read the backend’s manpage.

Not checking for parallel port scanners.

Most Scanners connected to the parallel port or other proprietary ports

can’t be detected by this program.

[/code]

da client :

[code]scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[/code]

[code]scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[root@Marybeth-notebook elisabetta]# sane-find-scanner

sane-find-scanner will now attempt to detect your scanner. If the

result is different from what you expected, first make sure your

scanner is powered up and properly connected to your computer.

No SCSI scanners found. If you expected something different, make sure that

you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x050d [Belkin], product=0x705a [Belkin 54g USB Network Adapter]) at libusb:001:003

Your USB scanner was (probably) detected. It may or may not be supported by

SANE. Try scanimage -L and read the backend’s manpage.

Not checking for parallel port scanners.

Most Scanners connected to the parallel port or other proprietary ports

can’t be detected by this program.

[/code]

il client èdatato e non ha il wifi … quindi si connette wifi con una chiavetta per il wifi della belkin …

sul server in entrambi i file:

[code]# leafpad /etc/sane.d/net.conf

leafpad /etc/sane.d/saned.conf [/code]

inserisci l’indirizzo di loopback:

127.0.0.1

dai un :

# systemctl restart xinetd.service

poi fai vedere l’output dei comandi sempre dal server:

[code]# scanimage -L

sane-find-scanner

ps -Al [/code]

scanimage -L device `xerox_mfp:libusb:001:003' is a Samsung Samsung SCX-3200 Series multi-function peripheral device `net:127.0.0.1:xerox_mfp:libusb:001:003' is a Samsung Samsung SCX-3200 Series multi-function peripheral

[code]# sane-find-scanner

sane-find-scanner will now attempt to detect your scanner. If the

result is different from what you expected, first make sure your

scanner is powered up and properly connected to your computer.

No SCSI scanners found. If you expected something different, make sure that

you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3441 [SCX-3200 Series]) at libusb:001:003

Your USB scanner was (probably) detected. It may or may not be supported by

SANE. Try scanimage -L and read the backend’s manpage.

Not checking for parallel port scanners.

Most Scanners connected to the parallel port or other proprietary ports

can’t be detected by this program.

[/code]

# ps -Al F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 4 S 0 1 0 0 80 0 - 11463 epoll_ ? 00:00:01 systemd 1 S 0 2 0 0 80 0 - 0 kthrea ? 00:00:00 kthreadd 1 S 0 3 2 0 80 0 - 0 run_ks ? 00:00:00 ksoftirqd/0 1 S 0 6 2 0 -40 - - 0 cpu_st ? 00:00:00 migration/0 1 S 0 7 2 0 -40 - - 0 watchd ? 00:00:00 watchdog/0 1 S 0 8 2 0 -40 - - 0 cpu_st ? 00:00:00 migration/1 1 S 0 10 2 0 80 0 - 0 run_ks ? 00:00:00 ksoftirqd/1 1 S 0 12 2 0 -40 - - 0 watchd ? 00:00:00 watchdog/1 1 S 0 13 2 0 60 -20 - 0 rescue ? 00:00:00 cpuset 1 S 0 14 2 0 60 -20 - 0 rescue ? 00:00:00 khelper 5 S 0 15 2 0 80 0 - 0 devtmp ? 00:00:00 kdevtmpfs 1 S 0 16 2 0 60 -20 - 0 rescue ? 00:00:00 netns 1 S 0 17 2 0 80 0 - 0 bdi_sy ? 00:00:00 sync_supers 1 S 0 18 2 0 80 0 - 0 bdi_fo ? 00:00:00 bdi-default 1 S 0 19 2 0 60 -20 - 0 rescue ? 00:00:00 kintegrityd 1 S 0 20 2 0 60 -20 - 0 rescue ? 00:00:00 kblockd 1 S 0 21 2 0 60 -20 - 0 rescue ? 00:00:00 ata_sff 1 S 0 22 2 0 80 0 - 0 hub_th ? 00:00:00 khubd 1 S 0 23 2 0 60 -20 - 0 rescue ? 00:00:00 md 1 S 0 49 2 0 80 0 - 0 kswapd ? 00:00:00 kswapd0 1 S 0 50 2 0 85 5 - 0 ksm_sc ? 00:00:00 ksmd 1 S 0 51 2 0 99 19 - 0 khugep ? 00:00:03 khugepaged 1 S 0 52 2 0 80 0 - 0 fsnoti ? 00:00:00 fsnotify_mark 1 S 0 53 2 0 60 -20 - 0 rescue ? 00:00:00 crypto 1 S 0 59 2 0 60 -20 - 0 rescue ? 00:00:00 kthrotld 1 S 0 64 2 0 80 0 - 0 scsi_e ? 00:00:00 scsi_eh_0 1 S 0 65 2 0 80 0 - 0 scsi_e ? 00:00:00 scsi_eh_1 1 S 0 66 2 0 80 0 - 0 scsi_e ? 00:00:00 scsi_eh_2 1 S 0 67 2 0 80 0 - 0 scsi_e ? 00:00:00 scsi_eh_3 1 S 0 68 2 0 80 0 - 0 worker ? 00:00:00 kworker/u:2 1 S 0 70 2 0 80 0 - 0 worker ? 00:00:00 kworker/u:3 1 S 0 79 2 0 60 -20 - 0 rescue ? 00:00:00 kpsmoused 1 S 0 80 2 0 60 -20 - 0 rescue ? 00:00:00 deferwq 1 S 0 81 2 0 80 0 - 0 worker ? 00:02:15 kworker/0:2 1 S 0 175 2 0 60 -20 - 0 rescue ? 00:00:00 ttm_swap 1 S 0 252 2 0 80 0 - 0 scsi_e ? 00:00:00 scsi_eh_4 1 S 0 261 2 0 80 0 - 0 scsi_e ? 00:00:00 scsi_eh_5 1 S 0 302 2 0 60 -20 - 0 rescue ? 00:00:00 kdmflush 1 S 0 305 2 0 60 -20 - 0 rescue ? 00:00:00 kdmflush 1 S 0 351 2 0 80 0 - 0 kjourn ? 00:00:00 jbd2/dm-1-8 1 S 0 352 2 0 60 -20 - 0 rescue ? 00:00:00 ext4-dio-unwri 4 S 0 387 1 0 80 0 - 8599 epoll_ ? 00:00:00 systemd-journa 1 S 0 388 2 0 80 0 - 0 kaudit ? 00:00:00 kauditd 4 S 0 396 1 0 80 0 - 6906 epoll_ ? 00:00:00 udevd 1 S 0 426 2 0 60 -20 - 0 rescue ? 00:00:00 rpciod 1 S 0 429 2 0 80 0 - 0 bdi_wr ? 00:00:00 flush-253:1 1 S 0 507 2 0 60 -20 - 0 rescue ? 00:00:00 edac-poller 1 S 0 537 2 0 60 -20 - 0 rescue ? 00:00:00 hd-audio0 1 S 0 568 2 0 60 -20 - 0 rescue ? 00:00:00 kdmflush 1 S 0 593 2 0 80 0 - 0 kjourn ? 00:00:00 jbd2/sda1-8 1 S 0 594 2 0 60 -20 - 0 rescue ? 00:00:00 ext4-dio-unwri 1 S 0 599 2 0 80 0 - 0 kjourn ? 00:00:01 jbd2/dm-2-8 1 S 0 600 2 0 60 -20 - 0 rescue ? 00:00:00 ext4-dio-unwri 4 S 0 612 1 0 76 -4 - 6551 epoll_ ? 00:00:00 auditd 4 S 0 615 612 0 72 -8 - 20043 futex_ ? 00:00:00 audispd 4 S 0 616 615 0 76 -4 - 5355 unix_s ? 00:00:00 sedispatch 0 S 0 618 1 0 80 0 - 30149 poll_s ? 00:00:00 abrtd 0 S 0 625 1 0 80 0 - 29622 inotif ? 00:00:00 abrt-watch-log 4 S 0 631 1 0 80 0 - 62367 poll_s ? 00:00:00 rsyslogd 4 S 0 637 1 0 80 0 - 85510 poll_s ? 00:00:00 NetworkManager 4 S 70 645 1 0 80 0 - 7003 poll_s ? 00:00:00 avahi-daemon 0 S 0 651 1 0 80 0 - 2890 inotif ? 00:00:00 system-setup-k 4 S 0 655 1 0 80 0 - 7093 epoll_ ? 00:00:00 systemd-logind 1 S 70 656 645 0 80 0 - 6970 unix_s ? 00:00:00 avahi-daemon 5 S 0 657 1 0 80 0 - 4731 hrtime ? 00:00:01 irqbalance 4 S 0 668 1 0 80 0 - 1738 poll_s ? 00:00:00 mcelog 5 S 994 672 1 0 80 0 - 5621 poll_s ? 00:00:00 chronyd 4 S 81 679 1 0 80 0 - 5678 poll_s ? 00:00:02 dbus-daemon 4 S 0 680 1 0 80 0 - 5297 pause ? 00:00:00 atd 4 S 0 682 1 0 80 0 - 29599 hrtime ? 00:00:00 crond 4 S 0 690 1 0 80 0 - 47903 poll_s ? 00:00:02 polkitd 4 S 0 705 1 0 80 0 - 17254 poll_s ? 00:00:00 modem-manager 4 S 0 706 1 0 80 0 - 5262 poll_s ? 00:00:00 bluetoothd 5 S 0 711 1 0 80 0 - 4790 poll_s ? 00:00:00 rpcbind 4 S 0 733 1 0 80 0 - 52419 poll_s ? 00:00:00 gdm-binary 5 S 29 748 1 0 80 0 - 5883 poll_s ? 00:00:00 rpc.statd 1 S 0 750 2 0 80 0 - 0 svc_re ? 00:00:00 lockd 1 S 0 751 2 0 60 -20 - 0 rescue ? 00:00:00 nfsd4 1 S 0 752 2 0 60 -20 - 0 rescue ? 00:00:00 nfsd4_callback 1 S 0 753 2 0 80 0 - 0 svc_re ? 00:00:00 nfsd 1 S 0 754 2 0 80 0 - 0 svc_re ? 00:00:00 nfsd 1 S 0 755 2 0 80 0 - 0 svc_re ? 00:00:00 nfsd 1 S 0 756 2 0 80 0 - 0 svc_re ? 00:00:00 nfsd 1 S 0 757 2 0 80 0 - 0 svc_re ? 00:00:00 nfsd 1 S 0 758 2 0 80 0 - 0 svc_re ? 00:00:00 nfsd 1 S 0 759 2 0 80 0 - 0 svc_re ? 00:00:00 nfsd 1 S 0 760 2 0 80 0 - 0 svc_re ? 00:00:00 nfsd 1 S 0 767 1 0 80 0 - 6379 epoll_ ? 00:00:00 rpc.idmapd 1 S 0 774 1 0 80 0 - 5993 poll_s ? 00:00:00 rpc.mountd 4 S 0 775 733 0 80 0 - 60289 poll_s ? 00:00:00 gdm-simple-sla 4 S 0 796 775 2 80 0 - 42813 poll_s tty1 00:16:18 Xorg 4 S 0 798 637 0 80 0 - 22207 poll_s ? 00:00:00 dhclient 4 S 0 823 1 0 80 0 - 72244 poll_s ? 00:00:00 accounts-daemo 1 S 0 837 2 0 80 0 - 0 bdi_wr ? 00:00:01 flush-253:2 0 S 0 844 1 0 80 0 - 55975 poll_s ? 00:00:00 upowerd 4 S 172 899 1 0 81 1 - 41140 poll_s ? 00:00:00 rtkit-daemon 5 S 0 942 1 0 80 0 - 23905 poll_s ? 00:00:01 sendmail 1 S 51 977 1 0 80 0 - 20168 pause ? 00:00:00 sendmail 4 S 0 985 775 0 80 0 - 88654 poll_s ? 00:00:00 gdm-session-wo 1 S 1000 991 1 0 80 0 - 146571 poll_s ? 00:00:00 gnome-keyring- 4 S 1000 993 985 0 80 0 - 125469 poll_s ? 00:00:00 gnome-session 1 S 1000 1006 1 0 80 0 - 5054 poll_s ? 00:00:00 dbus-launch 1 S 1000 1007 1 0 80 0 - 6019 poll_s ? 00:00:01 dbus-daemon 0 S 1000 1068 1 0 80 0 - 78774 poll_s ? 00:00:00 imsettings-dae 0 S 1000 1071 1 0 80 0 - 39800 poll_s ? 00:00:00 gvfsd 0 S 1000 1073 1 0 80 0 - 68918 futex_ ? 00:00:00 gvfs-fuse-daem 0 S 1000 1168 993 0 80 0 - 202024 poll_s ? 00:00:05 gnome-settings 1 S 1000 1173 1 1 69 -11 - 118903 poll_s ? 00:08:49 pulseaudio 0 S 1000 1181 1 0 80 0 - 84789 poll_s ? 00:00:00 at-spi-bus-lau 0 S 1000 1185 1181 0 80 0 - 5466 poll_s ? 00:00:04 dbus-daemon 0 S 1000 1188 1 0 80 0 - 31680 poll_s ? 00:00:02 at-spi2-regist 4 S 0 1194 1 0 80 0 - 51723 epoll_ ? 00:00:00 cupsd 4 S 996 1195 1 0 80 0 - 78973 poll_s ? 00:00:00 colord 4 S 996 1198 1 0 80 0 - 134138 poll_s ? 00:00:00 colord-sane 0 S 1000 1202 1 0 80 0 - 116481 poll_s ? 00:00:00 gsd-printer 0 S 1000 1207 1 0 80 0 - 61091 poll_s ? 00:00:00 gvfs-udisks2-v 0 S 0 1209 1 0 80 0 - 85230 poll_s ? 00:00:04 udisksd 0 S 1000 1215 1 0 80 0 - 60963 poll_s ? 00:00:00 gvfs-afc-volum 0 S 1000 1218 1 0 80 0 - 41915 poll_s ? 00:00:00 gvfs-gphoto2-v 0 S 1000 1222 993 1 80 0 - 480427 poll_s ? 00:06:24 gnome-shell 0 S 1000 1234 993 0 80 0 - 116440 poll_s ? 00:00:03 gnome-screensa 0 S 1000 1236 993 0 99 19 - 169337 poll_s ? 00:00:00 tracker-miner- 0 S 1000 1238 993 0 80 0 - 72711 poll_s ? 00:00:00 deja-dup-monit 0 S 1000 1239 993 0 80 0 - 124060 poll_s ? 00:00:00 nm-applet 0 S 1000 1290 1 0 80 0 - 63908 poll_s ? 00:00:00 dconf-service 0 S 1000 1291 993 0 80 0 - 103152 poll_s ? 00:00:00 zeitgeist-data 0 S 1000 1296 993 0 80 0 - 64235 poll_s ? 00:00:00 abrt-applet 0 S 1000 1298 993 0 80 0 - 70182 poll_s ? 00:02:15 clipit 0 S 1000 1305 1 0 80 0 - 87622 poll_s ? 00:00:00 zeitgeist-daem 0 S 1000 1309 1 0 80 0 - 121519 poll_s ? 00:00:01 tracker-store 0 S 1000 1327 1 0 80 0 - 34201 poll_s ? 00:00:00 gconfd-2 0 S 1000 1335 1 0 80 0 - 53631 poll_s ? 00:00:00 zeitgeist-fts 0 S 1000 1345 1 0 80 0 - 138635 poll_s ? 00:00:00 gnome-shell-ca 0 S 1000 1350 1 0 80 0 - 79989 poll_s ? 00:00:00 mission-contro 0 S 1000 1354 1 0 80 0 - 162592 poll_s ? 00:00:00 goa-daemon 0 S 1000 1358 1335 0 80 0 - 26716 unix_s ? 00:00:00 cat 0 S 1000 1390 1 0 80 0 - 251529 poll_s ? 00:00:02 evolution-addr 0 S 1000 1398 1 0 80 0 - 71716 poll_s ? 00:00:00 telepathy-logg 0 S 1000 1445 1222 2 80 0 - 240907 poll_s ? 00:15:53 chromium-brows 1 S 1000 1449 1445 0 80 0 - 121084 poll_s ? 00:00:03 chromium-brows 5 S 1000 1451 1 0 80 0 - 1604 sigtim ? 00:00:00 chrome-sandbox 4 S 1000 1452 1451 0 80 0 - 132566 skb_re ? 00:00:00 chromium-brows 0 S 1000 1455 1452 0 80 0 - 30279 skb_re ? 00:00:00 nacl_helper_bo 1 S 1000 1484 1452 0 80 0 - 277437 futex_ ? 00:00:04 chromium-brows 0 S 1000 1537 1445 0 80 0 - 139664 futex_ ? 00:00:05 chromium-brows 0 S 1000 2012 1222 2 80 0 - 95138 poll_s ? 00:13:49 skype 1 S 1000 3112 1452 1 80 0 - 374640 futex_ ? 00:08:06 chromium-brows 1 S 1000 3157 1452 0 80 0 - 281608 futex_ ? 00:00:13 chromium-brows 1 S 1000 3217 1452 0 80 0 - 338154 futex_ ? 00:04:30 chromium-brows 0 S 1000 3761 1445 4 80 0 - 275177 poll_s ? 00:26:23 chromium-brows 5 S 0 3958 396 0 80 0 - 6905 epoll_ ? 00:00:00 udevd 5 S 0 3962 396 0 80 0 - 6905 epoll_ ? 00:00:00 udevd 0 S 1000 4110 1 0 80 0 - 40459 poll_s ? 00:00:00 gvfsd-trash 0 S 1000 4138 1 0 80 0 - 37684 poll_s ? 00:00:00 gvfsd-metadata 4 S 4 4300 1194 0 80 0 - 15851 pipe_w ? 00:00:00 dbus 1 S 1000 4500 1452 0 80 0 - 278126 futex_ ? 00:01:30 chromium-brows 0 S 1000 5064 1222 0 80 0 - 208413 poll_s ? 00:00:03 nautilus 1 S 0 6659 2 0 80 0 - 0 worker ? 00:00:00 kworker/0:1 1 S 0 6663 2 0 80 0 - 0 worker ? 00:00:00 kworker/1:2 1 S 0 6693 2 0 80 0 - 0 worker ? 00:00:00 kworker/1:1 1 S 0 6726 2 0 80 0 - 0 worker ? 00:00:00 kworker/1:0 0 R 1000 6727 1222 0 80 0 - 149776 - ? 00:00:01 gnome-terminal 0 S 1000 6733 6727 0 80 0 - 2103 unix_s ? 00:00:00 gnome-pty-help 0 S 1000 6734 6727 0 80 0 - 28978 wait pts/0 00:00:00 bash 4 S 0 6788 6734 0 80 0 - 45573 wait pts/0 00:00:00 su 4 S 0 6793 6788 0 80 0 - 28983 wait pts/0 00:00:00 bash 1 S 0 6858 1 0 80 0 - 5054 poll_s pts/0 00:00:00 dbus-launch 5 S 0 6859 1 0 80 0 - 5401 poll_s ? 00:00:00 dbus-daemon 4 S 0 6864 1 0 80 0 - 63875 poll_s ? 00:00:00 dconf-service 1 S 0 6881 1 0 80 0 - 5692 poll_s ? 00:00:00 xinetd 4 R 0 6885 6793 0 80 0 - 28409 - pts/0 00:00:00 ps

ora, dal client da root:

# scanimage -L

[code]scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[/code]

dal client :

$ telnet 192.168.1.132 6566

se 192.168.1.132 è l’indirizzo del server.
che risponde ?

$ telnet 192.168.1.132 6566 Trying 192.168.1.132... Connected to 192.168.1.132. Escape character is '^]'. Connection closed by foreign host.

sul client selinux è attivo ?

# getenforce

output.

disabilitasu entrambe le macchine

questa risposta l’ha data a seguito del ctrl+c ?

No ha fatto tutto da se …

ok.
vedere dal server:

[code]# cat /etc/sane.d/net.conf

cat /etc/sane.d/saned.conf [/code]

[code]cat /etc/sane.d/net.conf

This is the net backend config file.

net backend options

Timeout for the initial connection to saned. This will prevent the backend

from blocking for several minutes trying to connect to an unresponsive

saned host (network outage, host down, …). Value in seconds.

connect_timeout = 60

saned hosts

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.

localhost

192.168.1.0/24
127.0.0.1
[/code]

[code]# cat /etc/sane.d/saned.conf

saned.conf

Configuration for the saned daemon

Daemon options

Port range for the data connection. Choose a range inside [1024 - 65535].

Avoid specifying too large a range, for performance reasons.

ONLY use this if your saned server is sitting behind a firewall. If your

firewall is a Linux machine, we strongly recommend using the

Netfilter nf_conntrack_sane connection tracking module instead.

data_portrange = 10000 - 10100

Access list

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(8), services(4)

and inetd.conf(4) (or xinetd.conf(5)).

192.168.1.0/24
127.0.0.1
[/code]

nel server cambia:

# leafpad /etc/sane.d/saned.conf 

le linee:

192.168.1.0/24 127.0.0.1
in

+

e basta
salva chiudi, poi:

# systemctl restart xinetd.service

vai sul client e posta:

# scanimage -L