[sane-devel] Canon imageCLASS MF4370dn

Adrian Sandor aditsu at yahoo.com
Sun Oct 18 02:01:38 UTC 2009

Hi, no I don't have any kind of firewall running on my computer.

From: Louis Lagendijk <louis at lagendijk.xs4all.nl>
To: Adrian Sandor <aditsu at yahoo.com>
Sent: Sun, October 18, 2009 3:41:40 AM
Subject: Re: [sane-devel] Canon imageCLASS MF4370dn

hi Adrian,

On Sat, 2009-10-17 at 10:58 -0700, Adrian Sandor wrote:
> Hi, I've just bought <subject>, how can I set it up for scanning over
> the network?
> I'm using sane-backends 1.0.20, and I added bjnp:// in
> pixma.conf (that's the ip address of the device), but scanimage -L
> says:
> [pixma] udp_command: no data received (recv): Connection
> refused[pixma] udp_command: no data received (recv): Connection
> refused[pixma] udp_command: no data received (recv): Connection
> refused[pixma] Cannot read scanner make & model:
> Also, if I run scanimage as root, it dies with a segmentation fault.
Do you have a firewall active? I realize I never included the firewall
instructions in the sane documentation (it is included in the cups-bjnp
docs, the cups backend. Here are the paraphrased instruction for sane:

The sane pixma communicates with port 8612 on the printer/scanner. So
you will have to allow outgoing traffic TO port 8612 on the
printer/scanner for scanning.

Scanner detection is slightly more complicated. (the pixma backend sends
a broadcast on all subnets it can find. The broadcast is sent FROM port
8612 to port 8612. The outgoing packets will be allowed by the rule
described above. Responses from the scanner are sent back to the
computer TO port 8612. Connection tracking however does not
see a match. You will therefore have to allow incoming packets TO port

With the firewall rules above there is no need to add tha scanner to the
pixma.conf file, unless the scanner is on a network that is not directly
connected to your computer.

I will update the sane docs with the above when I have some time
(hopefully by the end of next week).

kind regards, Louis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20091017/ce1b7e27/attachment.htm>

More information about the sane-devel mailing list