[SOLVED!:] Problem with printer Canon Pixma TS3150.

[SOLVED!:] Problem with printer Canon Pixma TS3150.

Postby Roamaz » Dec 23rd, '21, 18:31

Canon Pixma Ts3150 scanner problem

Hello, I use Mageia 8 and although the printer detects it and configures it for me via Wi-Fi with the scanner, I can't do anything.

I have tried leaving the firewall open, opening all ports 8610-8612 / udp and TCP and nothing.

I have also tried with two distributions in Live mode (Mint and Opensuse 15.3) and, indeed, if the scanner recognizes me in <escl> mode.

What steps should I follow so that the scanner can configure it in Mageia 8?

Thank you.
Last edited by Roamaz on Sep 22nd, '22, 12:15, edited 3 times in total.
Roamaz
 
Posts: 24
Joined: Jun 15th, '15, 08:02

Re: Problem with printer Canon Pixma TS3150.

Postby papoteur » Dec 27th, '21, 23:08

Hello,
I only see this report: https://bugs.mageia.org/show_bug.cgi?id=26912
Did you opened zeroconf and cups too?
papoteur
 
Posts: 93
Joined: Oct 27th, '11, 22:28

Re: Problem with printer Canon Pixma TS3150.

Postby Roamaz » Dec 29th, '21, 14:58

Nothing to make, Mageia is blind in scaners, i dont know what happens.

Thanks.
Roamaz
 
Posts: 24
Joined: Jun 15th, '15, 08:02


Re: Problem with printer Canon Pixma TS3150.

Postby Roamaz » Dec 29th, '21, 18:33

Thanks for your answer, but:

Only works if disable shorewall and all firewall:

How will I check if I disconnect the firewall I am exposed to anything.

Even port 8612 / udp I have it open, but nothing.

The program does not have a preview or anything at all (typical Canon program).

I can't quite understand that a printer that is connected by WPS can only be seen by Win $, OpenSuse, Linux Mint, Debian, Arch, and others, what happens with Mageia? At least the printer DOES detect it and I can even configure it and make it maintenance.

I am not willing to give up, dog I do not change Mageia for anything or anyone.

Greetings, thanks and Happy New Year from Spain.
Roamaz
 
Posts: 24
Joined: Jun 15th, '15, 08:02

Re: Problem with printer Canon Pixma TS3150.

Postby doktor5000 » Dec 29th, '21, 19:19

Does it get detected and work normally if you connect it directly via USB ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18039
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Problem with printer Canon Pixma TS3150.

Postby Roamaz » Dec 29th, '21, 19:47

Yes, but that is not the solution, how do I launch a 15 meter usb cable from my room to where the printer shared with my brother's computer is? I don't know, for that there is Wifi, I thank you for this help but I do not see (at the moment) an exit to the configuration of the scanner.

Greetings.
Last edited by doktor5000 on Dec 30th, '21, 01:15, edited 1 time in total.
Reason: fixed tags
Roamaz
 
Posts: 24
Joined: Jun 15th, '15, 08:02

Re: Problem with printer Canon Pixma TS3150.

Postby doktor5000 » Dec 30th, '21, 01:21

It was not intended as a solution, only as a question whether this works at all. So from what I understood is that when you disable shorewall completely, scanning also works via wifi.
Did you read https://bugs.mageia.org/show_bug.cgi?id=26912 ? It also shows the log entries for packages blocked by the firewall, do you still see such log entries?
And it should be sufficient to allow both ports 8610 and 8612 UDP according to https://bugs.mageia.org/show_bug.cgi?id=26912#c10

Although the most important step when configuring firewall via MCC you have to enable this for your wifi connection at the final step.
See the last screenshot and the explanation at https://doc.mageia.org/mcc/8/en/content ... akfirewall
Otherwise those ports are not allowed for your wifi connection.

If you did that, please show the output as root of
Code: Select all
iptables -L -v -n
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18039
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Problem with printer Canon Pixma TS3150.

Postby Roamaz » Dec 30th, '21, 18:06

Good afternoon:

Let's see, the scanner works WITHOUT a firewall with Canon's cnscangear program and via usb.

And now according to your last message, I have already made the settings with the ssh port and I have opened the ports 8610: 8612 / udp in the firewall without any success.

And now I put the message that comes out of iptables -L -v -n

Code: Select all
iptables -L -v -n
Chain INPUT (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
 2949 1457K Ifw        all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 2946 1453K net-fw     all  --  enp8s0 *       0.0.0.0/0            0.0.0.0/0           
    3  4134 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0           
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type BROADCAST
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type ANYCAST
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type MULTICAST
    0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: up to 1/sec burst 10 mode srcip LOG flags 0 level 6 prefix "INPUT REJECT "
    0     0 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type BROADCAST
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type ANYCAST
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type MULTICAST
    0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: up to 1/sec burst 10 mode srcip LOG flags 0 level 6 prefix "FORWARD REJECT "
    0     0 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]

Chain OUTPUT (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
 2471 1109K fw-net     all  --  *      enp8s0  0.0.0.0/0            0.0.0.0/0           
    3  4134 ACCEPT     all  --  *      lo      0.0.0.0/0            0.0.0.0/0           
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type BROADCAST
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type ANYCAST
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type MULTICAST
    0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: up to 1/sec burst 10 mode srcip LOG flags 0 level 6 prefix "OUTPUT REJECT "
    0     0 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]

Chain Ifw (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set ifw_wl src
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set ifw_bl src
    0     0 IFWLOG     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate INVALID,NEWpsd weight-threshold: 10 delay-threshold: 10000 lo-ports-weight: 2 hi-ports-weight: 1 IFWLOG prefix 'SCAN'
    0     0 IFWLOG     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate NEW tcp dpt:22IFWLOG prefix 'NEW'
    0     0 IFWLOG     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate NEW multiport dports 8610:8612IFWLOG prefix 'NEW'
   40 14198 IFWLOG     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate NEW udp dpt:5353IFWLOG prefix 'NEW'
    0     0 IFWLOG     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate NEW udp dpt:427IFWLOG prefix 'NEW'
    0     0 IFWLOG     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate NEW udp dpt:8612IFWLOG prefix 'NEW'
    0     0 IFWLOG     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate NEW multiport dports 8610:8612IFWLOG prefix 'NEW'

Chain dynamic (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain fw-net (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 2295 1064K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
  176 45160 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain logdrop (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain logflags (7 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: up to 1/sec burst 10 mode srcip LOG flags 4 level 6 prefix "logflags DROP "
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain logreject (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain net-fw (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  213 38917 dynamic    all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate INVALID,NEW,UNTRACKED
  461  217K tcpflags   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           
 2733 1414K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
   37 10064 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport dports 5353,427,8612,8610:8612
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 8
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport dports 22,8610:8612
  119 24533 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type BROADCAST
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type ANYCAST
    3   108 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type MULTICAST
   54  4212 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: up to 1/sec burst 10 mode srcip LOG flags 0 level 6 prefix "net-fw DROP "
   54  4212 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain reject (4 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match src-type BROADCAST
    0     0 DROP       all  --  *      *       224.0.0.0/4          0.0.0.0/0           
    0     0 DROP       2    --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            reject-with tcp-reset
    0     0 REJECT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable
    0     0 REJECT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            reject-with icmp-host-unreachable
    0     0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            reject-with icmp-host-prohibited

Chain sha-lh-a616f2ecad1853e4471a (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain sha-rh-0e71014912ca9f0dfdae (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain shorewall (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0            all  --  *      *       0.0.0.0/0            0.0.0.0/0            recent: SET name: %CURRENTTIME side: source mask: 255.255.255.255

Chain tcpflags (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 logflags   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]  tcp flags:0x3F/0x29
    0     0 logflags   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]  tcp flags:0x3F/0x00
    0     0 logflags   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]  tcp flags:0x06/0x06
    0     0 logflags   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]  tcp flags:0x05/0x05
    0     0 logflags   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]  tcp flags:0x03/0x03
    0     0 logflags   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]  tcp flags:0x19/0x09
    0     0 logflags   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           [goto]  tcp spt:0 flags:0x17/0x02


PD:Last night I tried a live fedora 35 and I recognized the scanner as ESCL airscan, I think Mageia does not have airscan to detect scanners.

Greetings.
Roamaz
 
Posts: 24
Joined: Jun 15th, '15, 08:02

Re: Problem with printer Canon Pixma TS3150.

Postby doktor5000 » Dec 31st, '21, 00:40

And with shorewall enabled, there's no more communication with the scanner ? Did you check the logs if there are any blocked packages ?
What you could do is disable the firewall, then run tcpdump against the IP adress of the scanner when using it with scangear to check which ports it requires when using the proprietary driver.

Roamaz wrote:I think Mageia does not have airscan to detect scanners.

No, airscan is not packaged for Mageia. See https://github.com/alexpevzner/sane-air ... ne-airscan
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18039
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Problem with printer Canon Pixma TS3150.

Postby morgano » Jan 4th, '22, 12:47

For future use, I made a package request for sane-airscan
https://bugs.mageia.org/show_bug.cgi?id=29839
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1484
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Problem with printer Canon Pixma TS3150.

Postby Roamaz » Sep 22nd, '22, 12:11

morgano wrote:For future use, I made a package request for sane-airscan
https://bugs.mageia.org/show_bug.cgi?id=29839


Hello, due to the printer scanner problem, I left the thread open and I have seen that they have created a backend-sane for the types of printers that use escl, well, days after creating the query thread, my father passed away and between the mourning and some trips that I had to do I have not read it again, today I have discovered what was written by Morgan (which I thank, I suppose that I and many other people) who has created said backend for Mageia, since from my Mandrake beginnings I have never moved to other distros.

I have gone to Bugs and I have consulted the list and I see that (for now) it is solved, my scanner already... detects it! and I can work with it, I just followed the instructions and "voila!" achieved.

From here my deepest thanks to those who have worked to cover the huge hole that devastated Mageia with the theme "ESCL" and "WSD", and here I put at the disposal of whoever has it good or needs it, where to go and how to fix it .

Greetings and God bless you.

PD: I mark "Solved" in title from message (sorry for my english, I'm Spanish).
Roamaz
 
Posts: 24
Joined: Jun 15th, '15, 08:02


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron