Hi, My partner is about to strangle me because she can no longer scan on our Canon Pixma MP150. Following updates to Debian sid SANE packages several weeks ago, this scanner is only seen on the machine with the server. We have 3 computers in a home network (on a router):
192.168.0.100 192.168.0.101 192.168.0.102 The SANE server (saned) is on the last one, and in that computer I have /etc/sane.d/net.conf: [::1] localhost /etc/sane.d/saned.conf: 192.168.0.100/24 [::1] localhost /etc/services does include the line: sane-port 6566/tcp sane saned # SANE network scanner daemon /etc/inetd.conf also has the line: sane-port stream tcp nowait saned:saned /usr/sbin/saned saned In this computer I get: ---<--------------------cut here---------------start------------------->--- $ SANE_DEBUG_NET=255 scanimage -L [sanei_debug] Setting debug level of net to 255. [net] sane_init: authorize = 0x405920, version_code = 0x7fff7ff4261c [net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.0.21 [net] sane_init: Client has little endian byte order [net] sane_init: searching for config file [net] sane_init: trying to add [::1] [net] add_device: adding backend [::1] [net] add_device: error while getting address of host [::1]: Name or service not known [net] sane_init: trying to add localhost [net] add_device: adding backend localhost [net] add_device: backend localhost added [net] sane_init: done reading config [net] sane_init: evaluating environment variable SANE_NET_HOSTS [net] sane_init: evaluating environment variable SANE_NET_TIMEOUT [net] sane_init: done [net] sane_get_devices: local_only = 0 [net] connect_dev: trying to connect to localhost [net] connect_dev: [0] connection succeeded (IPv6) [net] connect_dev: sanei_w_init [net] connect_dev: net_init (user=(null), local version=1.0.3) [net] connect_dev: freeing init reply (status=Success, remote version=1.0.3) [net] connect_dev: done [net] sane_get_devices: got localhost:pixma:04A91709 [net] sane_get_devices: finished (1 devices) device `pixma:04A91709_F00102' is a CANON Canon PIXMA MP150 multi-function peripheral device `net:localhost:pixma:04A91709' is a CANON Canon PIXMA MP150 multi-function peripheral [net] sane_exit: exiting [net] net_avahi_cleanup: stopping thread [net] net_avahi_cleanup: done [net] sane_exit: closing dev 0x25b5250, ctl=6 [net] sane_exit: finished. ---<--------------------cut here---------------end--------------------->--- However, on the other computers with the clients I get: ---<--------------------cut here---------------start------------------->--- $ SANE_DEBUG_NET=255 scanimage -L [sanei_debug] Setting debug level of net to 255. [net] sane_init: authorize = 0x405920, version_code = 0x7fffb3d35b7c [net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.0.21 [net] sane_init: Client has little endian byte order [net] sane_init: searching for config file [net] sane_init: trying to add 192.168.0.102/24 [net] add_device: adding backend 192.168.0.102/24 [net] add_device: error while getting address of host 192.168.0.102/24: Name or service not known [net] sane_init: trying to add [::1] [net] add_device: adding backend [::1] [net] add_device: error while getting address of host [::1]: Name or service not known [net] sane_init: trying to add localhost [net] add_device: adding backend localhost [net] add_device: backend localhost added [net] sane_init: done reading config [net] sane_init: evaluating environment variable SANE_NET_HOSTS [net] sane_init: evaluating environment variable SANE_NET_TIMEOUT [net] sane_init: done [net] sane_get_devices: local_only = 0 [net] connect_dev: trying to connect to localhost [net] connect_dev: [0] failed to connect (Connection refused) [net] connect_dev: [1] failed to connect (Connection refused) [net] connect_dev: couldn't connect to host (see messages above) [net] sane_get_devices: ignoring failure to connect to localhost [net] sane_get_devices: finished (0 devices) device `v4l:/dev/video0' is a Noname Chicony USB 2.0 Camera virtual device [net] sane_exit: exiting [net] net_avahi_cleanup: stopping thread [net] net_avahi_cleanup: done [net] sane_exit: closing dev 0x961e90, ctl=-1 [net] sane_exit: finished. ---<--------------------cut here---------------end--------------------->--- I'd really appreciate any pointers. -- Seb