Mamy tutaj do czynienia z odwróceniem funkcji - client LTSP jest serwerem scanera, a serwer LTSP jest klientem !!!
W /opt/ltsp/i386/etc/lts.conf dodać dla tej stacji opcję:
[172.20.3.108]
PRINTER_0_DEVICE = /dev/lp0
PRINTER_0_TYPE = P
PRINTER_0_PORT=9100
SCANNER = Y
Instalacja wymaganego softu:
apt-get install libsane libsane-extras sane-utils
Konfiguracja klienta skanowania przez sieć:
/etc/sane.d/net.conf# This is the net config file. 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. #~client-ip~ 172.20.3.108
# /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend loader # # Backends can also be enabled by configuration snippets under # /etc/sane.d/dll.d directory -- packages providing backends should drop # a config file similar to dll.conf in this directory, named after the package. ## The next line enables the network backend; comment it out if you don't need # to use a remote SANE scanner over the network - see sane-net(5) and saned(8) net #abaton #agfafocus #apple #avision #artec
Instalacja wymaganych pakietów:
sudo chroot /opt/ltsp/i386
mount -t proc /proc /proc
mount -t sysfs sys /sys
apt-get install libexif12 libgphoto2-2 libgphoto2-port0 libieee1284-3 libsane libsane-extras sane-utils
umount sys
umount /proc
Dodanie usera saned do grupy scanner:
usermod -a -G scanner saned
Konfiguracja serwera saned:
# # 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. # #~serverip~ 172.20.3.1
# This is the net config file. 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 172.20.3.1 ltsp.dydnia.pbs.corp
# /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend loader # # Backends can also be enabled by configuration snippets under # /etc/sane.d/dll.d directory -- packages providing backends should drop # a config file similar to dll.conf in this directory, named after the package. ## The next line enables the network backend; comment it out if you don't need # to use a remote SANE scanner over the network - see sane-net(5) and saned(8) net #abaton #agfafocus #apple #avision #artec
Tutaj można określić jaki backend dla danego skanera
Skopiować firmware (jeśli jest wymagany i nie ma go w dystrybucji) do katalogu /usr/share/saned/ plik Cis3r5b1.FW jest w załącznikach do tej strony - Cis3r5b1.FW
cp Cis3r5b1.FW /usr/share/sane/gt68xx/
Opuszczenie chroota
aptitude install xsltproc
pobrać sterowniki ze strony drivery dla Epsona V33 i zainstalować paczki:
dpkg -i iscan-data_1.15.0-2_all.deb iscan_2.28.1-3.ltdl7_amd64.deb esci-interpreter-perfection-v330_0.1.1-2_amd64.deb