Uruchomienie obsługi skanera podpiętego na kliencie

Mamy tutaj do czynienia z odwróceniem funkcji - client LTSP jest serwerem scanera, a serwer LTSP jest klientem !!!

Na serwerze:

  1. 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
    
  2. Instalacja wymaganego softu:

    apt-get install libsane libsane-extras sane-utils
    
  3. 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

Na kliencie Wszystkie polecenia wykonane są w chroocie

  1. 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
    
  2. Dodanie usera saned do grupy scanner:

    usermod -a -G scanner saned
    
  3. 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

Skaner Plustec (jak w O/Dydnia)

Tutaj można określić jaki backend dla danego skanera

Skaner Epson V33

  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

Linki:

http://bootpolish.net/home_ltsp_ltsp5scanning

drivery dla Epsona V33