Stampante Brother problema con la stampa da firefox

e cosa fa in pratica? :cold_sweat: :cold_sweat:

fatto. Domani sera ti racconterò com’è andata

Ciao @doclight ok fammi sapere se funziona , se sei curioso apri lo script con gedit è guarda quante cose và a modificare :slightly_smiling_face:

avevo già gaurdato e ho preso paura. Allora ho chiesto a te… :rofl: :rofl: :rofl:

allora, crasha sempre, tranne che la prima volta dopo il riavvio.

Ciao @doclight allora il problema sono i permessi di selinux , lo script li cambia , con il comando :

sudo fixfiles -F onboot

li sistema , ma dopo che viene attivata la stampante ricambia i permessi o combina qualche altro guaio , che detto in sincerità vai a capire qualè :slightly_smiling_face:

e quindi non sappiamo cosa dobbiamo rasare via?

No @doclight stò valutando lo script è le parti da rimuovere per eliminare i file del driver poi installare una versione rpm :slightly_smiling_face: è non è per niente semplice , perchè è un lavoro manuale che dobbiamo fare per togliere il più possibile di quello che ha modificato lo script che ovviamente le direttive che dovrai eseguire le devo preparare tutte per iscritto :slightly_smiling_face: lo mettero in firma prima o poi ( con tè mai una gioia ) :rofl:

:pleading_face::pleading_face::pleading_face::pleading_face::pleading_face::pleading_face: sono commosso 🥲

Ciao @doclight cosa pensavi che ti facevo reinstallare tutto ? ci vuole pazienza ma la soluzione vedrai che la troviamo , peccato che hanno fatto dei pacchetti propio del cavolo perchè anche quelli in rpm li ho estratti è non sono il massimo :slightly_smiling_face:

Controlla se hai installato il pacchetto perl-File-Copy :

rpm -qa | grep perl-File-Copy

è posta :

ls -l /opt

guarda cosa ho trovato :

dnf search  brother
Ultima verifica della scadenza dei metadati: 2:01:58 fa il sab 19 giu 2021, 22:11:43.
================= Name & Summary delle corrispondenze: brother =================
python3-brother.noarch : Python wrapper for getting data from Brother printers
==================== Summary delle corrispondenze: brother =====================
methane.x86_64 : Super Methane Brothers
ptouch-driver.x86_64 : CUPS driver for Brother P-touch label printers
ptouch-driver-foomatic.noarch : Foomatic database data for Brother P-touch label
                              : printers

secondo mè questo è quello che manca per far funzionare il tutto

python3-brother.noarch : Python wrapper for getting data from Brother printers

ma non ne sono ancora sicuro , controlla se per caso lo script lo ha installato :

rpm -qa | grep python3-brother

dimenticavo posta anche :

systemctl

per vedere se lo script ha creato servizi in systemd :slightly_smiling_face:

Il pacchetto perl-File-Copy-2.34-475.fc34.noarch è già installato.

[luca@localhost ~]$ ls -l /opt
totale 48
drwxr-xr-x.  5 root root 4096 20 mag 17.41 balenaEtcher
drwxr-xr-x.  3 root root 4096 29 gen  2020 brother
drwxr-xr-x.  3 root root 4096 23 feb 17.54 Citrix
drwxr-xr-x.  7 root root 4096 19 feb 08.36 dike6
drwxr-xr-x.  2 root root 4096  3 mag 11.26 eclipse-cpp
drwxr-xr-x.  2 root root 4096  3 mag 11.06 eclipse-parallel
drwxr-xr-x.  6 root root 4096 12 gen 18.11 google
drwxr-xr-x.  3 root root 4096 14 giu 11.29 onlyoffice
drwxr-xr-x.  3 root root 4096 10 feb 19.01 Synology
drwxr-xr-x.  4 root root 4096 12 gen 18.14 teamviewer
drwxr-xr-x.  4 root root 4096 16 mag 09.54 tplink
drwxr-xr-x. 26 root root 4096 30 ott  2020 zoom
[luca@localhost ~]$

avevo già fatto questa ricerca dieci gg fa vedendo che mancava python3-brother.noarch e l’ho installato subito.

[luca@localhost ~]$ rpm -qa | grep python3-brother
python3-brother-0.2.1-1.fc34.noarch
[luca@localhost ~]$ 
[luca@localhost ~]$ systemctl
  UNIT                                                                                                       LOAD   ACTIVE SUB       DE>
  proc-sys-fs-binfmt_misc.automount                                                                          loaded active running   Ar>
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d4-1\x2d4:1.0-host3-target3:0:0-3:0:0:0-block-sdc-sdc1.device loaded active plugged   El>
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d4-1\x2d4:1.0-host3-target3:0:0-3:0:0:0-block-sdc.device      loaded active plugged   El>
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d5-1\x2d5:1.0-bluetooth-hci0.device                           loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device                   loaded active plugged   CT>
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device                   loaded active plugged   CT>
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device                   loaded active plugged   CT>
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda.device                        loaded active plugged   CT>
  sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb1.device                   loaded active plugged   Ho>
  sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb.device                        loaded active plugged   Ho>
  sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-net-wlp1s0.device                                         loaded active plugged   Wi>
  sys-devices-pci0000:00-0000:00:1c.5-0000:02:00.0-net-enp2s0.device                                         loaded active plugged   RT>
  sys-devices-pci0000:00-0000:00:1f.3-sound-card0-controlC0.device                                           loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS0.device                                                           loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS1.device                                                           loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS10.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS11.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS12.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS13.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS14.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS15.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS16.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS17.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS18.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS19.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS2.device                                                           loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS20.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS21.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS22.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS23.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS24.device                                                          loaded active plugged   /s>
  sys-devices-platform-serial8250-tty-ttyS25.device                                                          loaded active plugged   /s>
lines 1-33...skipping...
  UNIT                                                                                                       LOAD   ACTIVE SUB       DESCRIPTION                                                  >
  proc-sys-fs-binfmt_misc.automount                                                                          loaded active running   Arbitrary Executable File Formats File System Automount Point>
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d4-1\x2d4:1.0-host3-target3:0:0-3:0:0:0-block-sdc-sdc1.device loaded active plugged   Elements_25A2 WD_Elements
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d4-1\x2d4:1.0-host3-target3:0:0-3:0:0:0-block-sdc.device      loaded active plugged   Elements_25A2
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d5-1\x2d5:1.0-bluetooth-hci0.device                           loaded active plugged   /sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetoo>
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device                   loaded active plugged   CT960BX500SSD1 EFI\x20System\x20Partition
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device                   loaded active plugged   CT960BX500SSD1 2
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device                   loaded active plugged   CT960BX500SSD1 3
  sys-devices-pci0000:00-0000:00:17.0-ata1-host0-target0:0:0-0:0:0:0-block-sda.device                        loaded active plugged   CT960BX500SSD1
  sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb1.device                   loaded active plugged   Hoodisk_SSD 1
  sys-devices-pci0000:00-0000:00:17.0-ata3-host2-target2:0:0-2:0:0:0-block-sdb.device                        loaded active plugged   Hoodisk_SSD
  sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-net-wlp1s0.device                                         loaded active plugged   Wireless-AC 9260
  sys-devices-pci0000:00-0000:00:1c.5-0000:02:00.0-net-enp2s0.device                                         loaded active plugged   RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
  sys-devices-pci0000:00-0000:00:1f.3-sound-card0-controlC0.device                                           loaded active plugged   /sys/devices/pci0000:00/0000:00:1f.3/sound/card0/controlC0
  sys-devices-platform-serial8250-tty-ttyS0.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS0
  sys-devices-platform-serial8250-tty-ttyS1.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1
  sys-devices-platform-serial8250-tty-ttyS10.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS10
  sys-devices-platform-serial8250-tty-ttyS11.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS11
  sys-devices-platform-serial8250-tty-ttyS12.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS12
  sys-devices-platform-serial8250-tty-ttyS13.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS13
  sys-devices-platform-serial8250-tty-ttyS14.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS14
  sys-devices-platform-serial8250-tty-ttyS15.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS15
  sys-devices-platform-serial8250-tty-ttyS16.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS16
  sys-devices-platform-serial8250-tty-ttyS17.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS17
  sys-devices-platform-serial8250-tty-ttyS18.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS18
  sys-devices-platform-serial8250-tty-ttyS19.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS19
  sys-devices-platform-serial8250-tty-ttyS2.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2
  sys-devices-platform-serial8250-tty-ttyS20.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS20
  sys-devices-platform-serial8250-tty-ttyS21.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS21
  sys-devices-platform-serial8250-tty-ttyS22.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS22
  sys-devices-platform-serial8250-tty-ttyS23.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS23
  sys-devices-platform-serial8250-tty-ttyS24.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS24
  sys-devices-platform-serial8250-tty-ttyS25.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS25
  sys-devices-platform-serial8250-tty-ttyS26.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS26
  sys-devices-platform-serial8250-tty-ttyS27.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS27
  sys-devices-platform-serial8250-tty-ttyS28.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS28
  sys-devices-platform-serial8250-tty-ttyS29.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS29
  sys-devices-platform-serial8250-tty-ttyS3.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3
  sys-devices-platform-serial8250-tty-ttyS30.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS30
  sys-devices-platform-serial8250-tty-ttyS31.device                                                          loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS31
  sys-devices-platform-serial8250-tty-ttyS4.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS4
  sys-devices-platform-serial8250-tty-ttyS5.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS5
  sys-devices-platform-serial8250-tty-ttyS6.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS6
  sys-devices-platform-serial8250-tty-ttyS7.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS7
  sys-devices-platform-serial8250-tty-ttyS8.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS8
  sys-devices-platform-serial8250-tty-ttyS9.device                                                           loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS9
  sys-devices-virtual-block-dm\x2d0.device                                                                   loaded active plugged   /sys/devices/virtual/block/dm-0
  sys-devices-virtual-block-dm\x2d1.device                                                                   loaded active plugged   /sys/devices/virtual/block/dm-1
  sys-devices-virtual-block-dm\x2d2.device                                                                   loaded active plugged   /sys/devices/virtual/block/dm-2
  sys-devices-virtual-block-loop0.device                                                                     loaded active plugged   /sys/devices/virtual/block/loop0
  sys-devices-virtual-block-loop1.device                                                                     loaded active plugged   /sys/devices/virtual/block/loop1
  sys-devices-virtual-block-loop10.device                                                                    loaded active plugged   /sys/devices/virtual/block/loop10
  sys-devices-virtual-block-loop11.device                                                                    loaded active plugged   /sys/devices/virtual/block/loop11
  sys-devices-virtual-block-loop12.device                                                                    loaded active plugged   /sys/devices/virtual/block/loop12
  sys-devices-virtual-block-loop13.device                                                                    loaded active plugged   /sys/devices/virtual/block/loop13
  sys-devices-virtual-block-loop14.device                                                                    loaded active plugged   /sys/devices/virtual/block/loop14
lines 1-56

come faccio a postare tutto il risultato di systemctl? faccio un txt e lo linko?

tipo così? https://drive.google.com/file/d/1eR67xnI0hRoIp6PBCRxgjHdN6ubUWTCw/view?usp=sharing

Ciao @doclight fai così :

systemctl | fpaste 

lo scrivi nel terminale è incolli il link che ti restituisce qui :slightly_smiling_face:

1 Mi Piace

https://paste.centos.org/view/a4862a3a

Ciao @doclight non sono stati aggiunti servizi in più :slightly_smiling_face: controlla da browser :

localhost:631/admin

è guarda se è riconosciuta la stampante o non vede niente , se non cè nessuna stampante visibile , usa il tasto add manager è guarda se la fà inserire o no :slightly_smiling_face:

ne vede due

[Brother-HL-L5100DN-series] Brother HL-L5100DN seriesBrother HL-L5100DN series, driverless, cups-filters 1.28.2

[HLL5100DN] HLL5100DN Local Raw Printer

Ho provato a leiminare la prima, vediamo come va.

Ciao @doclight immaginavo che avevi 2 processi , perchè uno si è creato quando hai installato i driver rpm l’altro quando hai usato il malefico tool :slightly_smiling_face: comunque il problema è derivato da systemd-resolved , i driver sono vecchi è utilizzano una gestione diversa per i file local , alchè fammi sapere se funziona , se nò si modifica il file config del driver specificando di usare un’altro percorso per trovare la stampante locale :slightly_smiling_face:

Allora, oggi tutto ok. Il Raw Printer funziona bene per le stampe “normali”, con i pdf fa un casino e comunque non abilita il fronteretro. Poi mi sono accorto che la prima stampante, quella del suo driver, è stata ricreata e allora ho ripreso a usare quella e…. zero crash. Vediamo come va domani.