You are not logged in.

#1 2019-10-21 18:45:53

boehmp
Member
Registered: 2019-08-13
Posts: 15

My mom thinks I'm messing up her printers

I need to be connected to the home network for internet access, but it seems like around the time I installed cups on my new computer my mom's printer has stopped working. It prints "INTERNAL ERROR - Incomplete Session by time out". It took me a week or so by the time I got around to getting my USB printer working on cups, and it seemed to fix her printer problem when I got my printer working. But she's getting errors again and she's upset with me.

I don't know if it really has anything to do with my computer or not, but is there any way to guarantee that my computer is not accessing her printers over the network through cups configuration or firewall or other network configuration, while still letting me access the internet? I don't need to use her printers or access her computer over the network. I just have a USB printer.

Thanks for any direction

EDIT: Is this the right place for this question or should it be in networking?

Last edited by boehmp (2019-10-21 18:46:43)

Offline

#2 2019-10-21 18:50:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: My mom thinks I'm messing up her printers

Disable or mask the avahi service.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#3 2019-10-21 19:46:46

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

Avahi seems to be disabled?
Per your recommendation I found the services to disable here https://bbs.archlinux.org/viewtopic.php?id=189887. All were already disabled.

> sudo systemctl status avahi-dnsconfd
● avahi-dnsconfd.service - Avahi DNS Configuration Daemon
   Loaded: loaded (/usr/lib/systemd/system/avahi-dnsconfd.service; disabled; ve>
   Active: inactive (dead)
> sudo systemctl status avahi-daemon.service
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vend>
   Active: inactive (dead)
> sudo systemctl status avahi-daemon.socket
● avahi-daemon.socket - Avahi mDNS/DNS-SD Stack Activation Socket
   Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.socket; disabled; vendo>
   Active: inactive (dead)
   Listen: /run/avahi-daemon/socket (Stream)

But when I plug in a usb device in my computer something makes my mom's printers make a sound. Is there another service I'm missing? Or is it something besides Avahi?

Thanks again

Last edited by boehmp (2019-10-21 19:48:25)

Offline

#4 2019-10-21 19:57:40

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: My mom thinks I'm messing up her printers

Make sure that cups is not trying to share any printers (Browsing set to No in cupsd.conf). And disable cups-browsed.service if you have it.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2019-10-21 22:56:50

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

Make sure that cups is not trying to share any printers (Browsing set to No in cupsd.conf). And disable cups-browsed.service if you have it.

OK did this. cups-browsed.service was already disabled. The printer still seems to be responding somehow to unplugging a usb drive. Not every time though.

Offline

#6 2019-12-02 12:47:01

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

This is still an issue. Any other ideas? Thanks

Offline

#7 2019-12-02 13:06:56

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: My mom thinks I'm messing up her printers

So what /is/ your box doeing on the web?

ss -tuna

What's your mom's printer?
Esp. wifi or ethernet and what printing protocol does it use?
Does she address it through a static IP, avahi/mdns/bonjours or maybe smb?

make a sound

What kind of sound? Power-related noise like a shifting head or is it a dedicated "ping"?

Lastly: Can you just get a better mom?

Online

#8 2019-12-02 14:43:53

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

> sudo ss -tuna
[sudo] password for paul: 
Netid         State           Recv-Q          Send-Q                              Local Address:Port                                Peer Address:Port         
udp           UNCONN          0               0                                 239.255.255.250:1900                                     0.0.0.0:*            
udp           UNCONN          0               0                                    192.168.1.77:1900                                     0.0.0.0:*            
udp           UNCONN          0               0                                 239.255.255.250:1900                                     0.0.0.0:*            
udp           UNCONN          0               0                                       127.0.0.1:1900                                     0.0.0.0:*            
udp           UNCONN          0               0                                       127.0.0.1:47068                                    0.0.0.0:*            
udp           UNCONN          0               0                                         0.0.0.0:68                                       0.0.0.0:*            
udp           UNCONN          0               0                                    192.168.1.77:41151                                    0.0.0.0:*            
udp           UNCONN          0               0                                               *:546                                            *:*            
tcp           LISTEN          0               5                                       127.0.0.1:631                                      0.0.0.0:*            
tcp           ESTAB           0               0                                    192.168.1.77:57492                               52.7.170.213:443          
tcp           ESTAB           0               0                                    192.168.1.77:54836                              35.161.81.202:443          
tcp           LISTEN          0               5                                           [::1]:631                                         [::]:*            
tcp           ESTAB           0               0                        [2600:1702:fe1:3180::2c]:47082                   [2607:f8b0:4003:c0c::6d]:993          
tcp           ESTAB           0               0                        [2600:1702:fe1:3180::2c]:37446                   [2607:f8b0:4003:c18::6d]:993          
tcp           ESTAB           0               0                        [2600:1702:fe1:3180::2c]:37444                   [2607:f8b0:4003:c18::6d]:993

Then I tried entering the router (192.168.1.254) and printer ip addresses in the web browser. I was able to connect the the router but not the printers in the browser. I ran the command again.

> sudo ss -tuna
[sudo] password for paul: 
Netid    State        Recv-Q    Send-Q                  Local Address:Port                                          Peer Address:Port                       
udp      UNCONN       0         0                     239.255.255.250:1900                                               0.0.0.0:*                          
udp      UNCONN       0         0                        192.168.1.77:1900                                               0.0.0.0:*                          
udp      UNCONN       0         0                     239.255.255.250:1900                                               0.0.0.0:*                          
udp      UNCONN       0         0                           127.0.0.1:1900                                               0.0.0.0:*                          
udp      UNCONN       0         0                           127.0.0.1:47068                                              0.0.0.0:*                          
udp      UNCONN       0         0                             0.0.0.0:68                                                 0.0.0.0:*                          
udp      UNCONN       0         0                        192.168.1.77:41151                                              0.0.0.0:*                          
udp      UNCONN       0         0                                   *:546                                                      *:*                          
tcp      LISTEN       0         5                           127.0.0.1:631                                                0.0.0.0:*                          
tcp      TIME-WAIT    0         0                        192.168.1.77:56320                                          23.63.71.33:80                         
tcp      ESTAB        0         480                      192.168.1.77:51232                                         192.168.1.68:443                        
tcp      TIME-WAIT    0         0                        192.168.1.77:56318                                          23.63.71.33:80                         
tcp      ESTAB        0         480                      192.168.1.77:51236                                         192.168.1.68:443                        
tcp      ESTAB        0         480                      192.168.1.77:51220                                         192.168.1.68:443                        
tcp      ESTAB        0         544                      192.168.1.77:51222                                         192.168.1.68:443                        
tcp      ESTAB        0         0                        192.168.1.77:54836                                        35.161.81.202:443                        
tcp      LISTEN       0         5                               [::1]:631                                                   [::]:*                          
tcp      ESTAB        0         0            [2600:1702:fe1:3180::2c]:47082                             [2607:f8b0:4003:c0c::6d]:993                        
tcp      TIME-WAIT    0         0            [2600:1702:fe1:3180::2c]:50414                          [2600:1407:1800::173f:4f8b]:80                         
tcp      ESTAB        0         0            [2600:1702:fe1:3180::2c]:37446                             [2607:f8b0:4003:c18::6d]:993                        
tcp      ESTAB        0         0            [2600:1702:fe1:3180::2c]:53040                           [2607:f8b0:4000:814::200a]:443                        
tcp      ESTAB        0         0            [2600:1702:fe1:3180::2c]:37444                             [2607:f8b0:4003:c18::6d]:993     

She has two printers, both are wifi. Her OS is Windows 10, I'm the only one running Linux and we have no Apple products, don't know if that helps with determining the protocol. I thought she might have set up a static ip for one of the printers before but she seemed to indicate that she hadn't but I'm not sure she knows what it is.


Samsung ML-2525W (She prints from this the most and this is the one that prints the error pages)
192.168.1.186 TCP/IP port 9100
Protocol: Raw (not LPR)
"SNMP status" and "bidirectional support" are enabled

Epson WF-3620
192.168.1.68
Her computer says it's not connected (although the router can see it), so I couldn't see the properties like for the other printer. I found the IP address from the router page.

What kind of sound? Power-related noise like a shifting head or is it a dedicated "ping"?

Yeah the sound is some motor like the noise a printer makes when it turns on and warms up. Not a speaker.

If useful I can research the printer models to try to find out what protocols or drivers they use. I don't know much about how that works.

Thanks

Last edited by boehmp (2019-12-02 14:44:25)

Offline

#9 2019-12-02 14:54:41

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: My mom thinks I'm messing up her printers

udp           UNCONN          0               0                                 239.255.255.250:1900                                     0.0.0.0:*            
udp           UNCONN          0               0                                       127.0.0.1:1900                                     0.0.0.0:* 

This is the only thing that looks suspicious to me, https://en.wikipedia.org/wiki/Simple_Se … y_Protocol
Why are you running a UPnP server?

Online

#10 2019-12-02 15:46:15

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

I didn't know I was... or that it was a thing.
I do have the gupnp package installed which looks like it comes with gnome? I have had gnome-music open.

> pactree gupnp -r
gupnp
├─dleyna-core
│ └─dleyna-connector-dbus
│   ├─dleyna-renderer
│   │ └─gnome-photos
│   └─dleyna-server
│     ├─gnome-online-miners
│     │ ├─gnome-documents
│     │ └─gnome-photos
│     └─gnome-photos
├─gupnp-igd
│ └─libnice
│   └─gst-plugins-bad
│     ├─cheese
│     │ ├─gnome-contacts
│     │ └─gnome-control-center
│     │   └─gnome-calendar
│     ├─gnome-video-effects
│     │ └─cheese
│     ├─grilo-plugins
│     │ ├─gnome-music
│     │ └─gnome-photos
│     └─totem
└─rygel

Offline

#11 2019-12-02 15:49:51

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: My mom thinks I'm messing up her printers

Kick rygel (it's not a hard dep for anything) reboot and see whether your mom's happy.

Online

#12 2019-12-02 16:23:04

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

Rygel uninstalled with no problem - it was listed as explicitly installed... I don't remember that but maybe it was when I was trying things to get my USB printer working.

Then I rebooted. When I tried plugging in a USB drive in my computer the Epson printer (again not the most frequently used one) made the "warmup" noise. I asked my mom to try printing something and the Samsung printed the error page.

> sudo ss -tuna
[sudo] password for paul: 
Netid   State       Recv-Q   Send-Q                Local Address:Port                                 Peer Address:Port  Process  
udp     UNCONN      0        0                           0.0.0.0:68                                        0.0.0.0:*              
udp     UNCONN      0        0                                 *:546                                             *:*              
tcp     LISTEN      0        5                         127.0.0.1:631                                       0.0.0.0:*              
tcp     ESTAB       0        0                      192.168.1.77:45768                                 72.21.91.29:80             
tcp     TIME-WAIT   0        0                      192.168.1.77:60776                                54.69.207.70:443            
tcp     ESTAB       0        0                      192.168.1.77:50758                                 23.63.71.33:80             
tcp     TIME-WAIT   0        0                      192.168.1.77:60774                                54.69.207.70:443            
tcp     ESTAB       0        0                      192.168.1.77:56894                                99.84.251.66:443            
tcp     TIME-WAIT   0        0                      192.168.1.77:60772                                54.69.207.70:443            
tcp     ESTAB       0        0                      192.168.1.77:59038                               23.21.193.169:443            
tcp     ESTAB       0        0                      192.168.1.77:39188                               52.24.205.129:443            
tcp     ESTAB       0        0                      192.168.1.77:45770                                 72.21.91.29:80             
tcp     ESTAB       0        0                      192.168.1.77:45764                                 72.21.91.29:80             
tcp     ESTAB       0        0                      192.168.1.77:45766                                 72.21.91.29:80             
tcp     LISTEN      0        5                             [::1]:631                                          [::]:*              
tcp     ESTAB       0        0          [2600:1702:fe1:3180::2c]:47652     [2600:9000:20e9:5a00:16:eede:5e00:93a1]:443            
tcp     ESTAB       0        0          [2600:1702:fe1:3180::2c]:53822                 [2600:1407:1800::173f:4f8b]:80             
tcp     ESTAB       0        0          [2600:1702:fe1:3180::2c]:46426                      [2a01:4f8:c2c:b1cf::1]:443            
tcp     ESTAB       0        0          [2600:1702:fe1:3180::2c]:53828                 [2600:1407:1800::173f:4f8b]:80            

Offline

#13 2019-12-02 16:39:09

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 412
Website

Re: My mom thinks I'm messing up her printers

The printer still seems to be responding somehow to unplugging a usb drive.

When I tried plugging in a USB drive in my computer the Epson printer (again not the most frequently used one) made the "warmup" noise.

Be specific as to what you mean here. What USB drive are you plugging in? Why do you always remove the drive, reboot, and then reattach this USB dive(s)? Is this a hub of some sort that also has other devices connected?


"the wind-blown way, wanna win? don't play"

Offline

#14 2019-12-02 17:21:00

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

Be specific as to what you mean here. What USB drive are you plugging in? Why do you always remove the drive, reboot, and then reattach this USB dive(s)? Is this a hub of some sort that also has other devices connected?

It's a 8GB drive plugged into a USB 3.0 hub plugged into my computer. The hub is always connected to my computer. The drive is plugged in and out of the hub. Normally I don't have any USB devices connected to the computer other than the hub, printer, keyboard, and mouse. Adding or removing the USB drive is just a test.

I want to know if/how my computer is messing up my mom's computer. But I don't know how to tell. I've found that plugging in a USB drive into my computer makes my mom's printer on the network make noise. So that tells me my computer is affecting her printers somehow.

Update: Since uninstallying Rygel, the first time it printed an error page. She just tried printing again without an error page, so maybe the printers needed time to "recover"? But I can still make noise on the network printer by unplugging my USB drive so maybe the issue is still there. I'll keep you posted.

Update: still not working

Thanks

Last edited by boehmp (2019-12-02 17:31:39)

Offline

#15 2019-12-02 19:31:40

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: My mom thinks I'm messing up her printers

It would seem as if some udev rule/service goes wild and sends network packages around?
Let's try to eliminate some variables, starting with gnome: Boot inito the multi-user.target (no fancy GUI) and plug the device, does the epson printer still respond?
https://wiki.archlinux.org/index.php/Sy … _boot_into

Did you configure your moms printers in your local cups server?

While at it:

nmap 192.168.1.68

to see what the epson is actually listening to.

Online

#16 2019-12-03 16:55:26

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

It would seem as if some udev rule/service goes wild and sends network packages around?

Dunno. And I don't know if the usb device is related to the printer not working. It just seems to indicate that my computer is somehow interacting with the printer somehow.

In multi-user.target the printer did not respond to plugging in the usb drive at first, but later when I unplugged the drive after running some commands the pritner did make a sound.

I'm sure I tried to configure my mom's printers at some point when I was trying to get cups working, but the only printer I see on localhost:631/printers/ is my usb printer. It's possible the configuration failed or I resinstalled cups or removed the them.

From multi-user.target:

> ss -tuna
Netid  State   Recv-Q  Send-Q   Local Address:Port   Peer Address:Port Process  
udp    UNCONN  0       0              0.0.0.0:68          0.0.0.0:*             
udp    UNCONN  0       0                    *:546               *:*             
tcp    LISTEN  0       5            127.0.0.1:631         0.0.0.0:*             
tcp    LISTEN  0       5                [::1]:631            [::]:*             
> nmap 192.168.1.68
Starting Nmap 7.80 ( https://nmap.org ) at 2019-12-03 09:24 CST
Nmap scan report for EPSON45E7EB.attlocal.net (192.168.1.68)
Host is up (0.014s latency).
Not shown: 993 closed ports
PORT     STATE SERVICE
80/tcp   open  http
139/tcp  open  netbios-ssn
443/tcp  open  https
445/tcp  open  microsoft-ds
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect

Nmap done: 1 IP address (1 host up) scanned in 0.43 seconds

Offline

#17 2019-12-03 21:49:36

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: My mom thinks I'm messing up her printers

I don't see any pattern in this - you got to wireshark the NIC and see what happens when you plug the device.
https://wiki.archlinux.org/index.php/Wireshark

Online

#18 2019-12-04 08:44:10

SyndromeDayna
Member
Registered: 2019-07-13
Posts: 33

Re: My mom thinks I'm messing up her printers

You are executing wrong command. Use better version:

sudo ss -tunap

and paste output here. This will show process names and make investigation much easier. You should execute this command just after logging in before launching any applications to avoid unnecessary noise.

Last edited by SyndromeDayna (2019-12-04 09:09:12)

Offline

#19 2019-12-04 12:52:38

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: My mom thinks I'm messing up her printers

68 & 546 are some sort of dhcp client and 631 is cups.
Since there's no suspicious open port (avahi, dhcp server, dns, smb,…), there's no point in figuring what process doesn't keep a suspicious port open…

Online

#20 2019-12-04 17:10:22

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: My mom thinks I'm messing up her printers

You could try to run wireshark to capture the network traffic generated while connecting your USB device, though.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#21 2019-12-04 17:11:19

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: My mom thinks I'm messing up her printers

*cough*

seth wrote:

I don't see any pattern in this - you got to wireshark the NIC and see what happens when you plug the device.
https://wiki.archlinux.org/index.php/Wireshark

Online

#22 2019-12-04 17:17:50

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: My mom thinks I'm messing up her printers

seth wrote:

*cough*

seth wrote:

I don't see any pattern in this - you got to wireshark the NIC and see what happens when you plug the device.
https://wiki.archlinux.org/index.php/Wireshark

Eh, Somehow I skipped that post..


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#23 2019-12-06 01:43:51

boehmp
Member
Registered: 2019-08-13
Posts: 15

Re: My mom thinks I'm messing up her printers

OK thanks again.

This is what I'm seeing on wireshark:
1. My computer sends out four bjnp scanner command discovers: from my port 1612 to broadcast on port 8612 and 8610. 10+ things respond but it gives (mac?) address's instead of  ip addresses so I don't know off hand what devices they are.
2. My computer sends out two snmp get requests: My port is not consistent (but examples are 57656 or 54191) to broadcast on port 161. The samsung (the one that prints the error pages intermitently) responds with snmp get responses.
3. My computer sends some udp broadcasts and does a bunch of tcp talk with the Epson: Again ports aren't consistent (examples on my machine include udp 33121, 60406, 37048 and tcp 47504,47506).

I also got some retransmissions, spurious retransmissions, and duplicate acknowledgments. I want to say this was between my computer and the epson, but I'm not sure. I had thunderbird open. And it didn't happen every time.

I tried printing from my mom's computer a couple times and didn't see any traffic at all (except I'm assuming router or ARP stuff) and the pages printed fine.

Offline

#24 2019-12-06 08:30:08

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: My mom thinks I'm messing up her printers

Local ports are always random.
bjnp is a Canon thing, snmp is deprecated - why either thing would be triggered at all, let alone when plugging a USB key is beyond me. Are you running the cups-browsed service? Did you install https://aur.archlinux.org/packages/cups-bjnp/ ?

Edit: https://access.redhat.com/solutions/1422423 - on snmp

The talk to the Epson printer is likely what gets it active, but you'd need to post the traffic (again: the local ports are meaningless)

Last edited by seth (2019-12-06 08:31:32)

Online

#25 2019-12-06 09:17:45

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 591

Re: My mom thinks I'm messing up her printers

A wild guess based upon seeing bjnp, but, do you have SANE installed?

Offline

Board footer

Powered by FluxBB