Pb installation Imprimante-scanner BROTOHER

Forum français des utilisateurs MX
Post Reply
Message
Author
User avatar
Dear Kev2k
Posts: 1
Joined: Sun Mar 10, 2019 12:02 pm

Pb installation Imprimante-scanner BROTOHER

#1 Post by Dear Kev2k »

Bonjour à toutes et à tous.

Utilisateur de la version MX 18.1 Continiuum, je n'arrive pas à installer mon imprimante BROTHER MFC-J6520DW.
J'ai essayé https://doc.ubuntu-fr.org/utilisateurs/ ... pt_brother mais je bloque à l'indication de l'adresse IP de mon imprimante.
Est-ce le pb auquel cas, comment puis je la touver alors que le pc ne l'identifie pas ?
Sinon, avez vous une méthode sure et efficace ?
Merci pour votre attention et retour.

Cordialement

User avatar
oops
Posts: 1603
Joined: Tue Apr 10, 2018 5:07 pm

Re: Pb installation Imprimante-scanner BROTHER

#2 Post by oops »

Dear Kev2k wrote: Sun Mar 10, 2019 12:23 pm Bonjour à toutes et à tous.

Utilisateur de la version MX 18.1 Continiuum, je n'arrive pas à installer mon imprimante BROTHER MFC-J6520DW.
J'ai essayé https://doc.ubuntu-fr.org/utilisateurs/ ... pt_brother mais je bloque à l'indication de l'adresse IP de mon imprimante.
Est-ce le pb auquel cas, comment puis je la touver alors que le pc ne l'identifie pas ?
Sinon, avez vous une méthode sure et efficace ?
Merci pour votre attention et retour.

Cordialement
Bonsoir, et bienvenu,
Peut-être essayer le script de Fehlix ici, et le rendre exécutable:
viewtopic.php?f=25&t=46472&p=461850#p461859

Code: Select all

chmod +x brinstaller.sh
./brinstaller.sh 'Your-printer-model-name-here'
./brinstaller.sh MFC-J6520DW

Code: Select all

#!/bin/bash
# brinstaller.sh
# by fehlix,  2016 -2018
#
# helper script to fetch'n'install latest Brother printer driver
#
# New Brother-Installer-Version: 27.12.2017 Version 2.2.0-1
# New Brother-Installer-Version: 13.09.2018 Version 2.2.1-1
BRDATE="13-09-2018"
BRVERS="2.2.1-1"
# http://download.brother.com/welcome/dlf006893/linux-brprinter-installer-2.2.1-1.gz
# SHA256SUM
# 4bca9b72ea14b8ffe4a5276e0b881d64f1cb5b7b29bcf06869d2cad90bd95bff  linux-brprinter-installer-2.2.1-1.gz

function usage() {
cat<<USAGE

	Usage: $0 [Brother-Printer-Model]

	This helper script will fetch and install latest 
	Brother printer-installer version $BRVERS dated $BRDATE
	Pass Brother-Model parameter or type at prompt
	like HL-L6400DW, MFC-L9570CDW, DCP-135C

USAGE
}

BROTHER="$1"
[ -z "$BROTHER" ] && read -p 'Please enter Brother Model : ' BROTHER
[ -z "$BROTHER" ] && usage && exit 1;
read -p "Ready to fetch and install Brother Model '$BROTHER' (Y/n) :" OK
[ -z "$OK" -o "$OK" = "Y" -o "$OK" = "y" ] || { echo "Abborting $0";  exit 1; }

# set -x
chksum=sha256sum
CHKSUM="4bca9b72ea14b8ffe4a5276e0b881d64f1cb5b7b29bcf06869d2cad90bd95bff"

# Please enter Brother Modell Type (e.g. HL-1030, MFC-L9570CDW, HL-L6400DW)
# HL-L6400DW

BRINS="linux-brprinter-installer-${BRVERS}"
BRIGZ=$BRINS.gz
BRURL="http://download.brother.com/welcome/dlf006893/$BRIGZ"
CHK=$BRIGZ.sha256

[ -f "$BRINS" -o -f $BRIGZ    ] || { echo wget $BRURL;  wget $BRURL; }
[ -f $BRIGZ  -a -f $CHK ] && rm -f $CHK
echo "$CHKSUM  $BRIGZ" > $CHK
$chksum -c $CHK || { echo "CHKSUM Error: abborting installer" && exit 1; }
 

[ -f $BRIGZ  -a ! -f $BRINS ] && gunzip -kv $BRIGZ
[ -f $BRINS ] && chmod +rx $BRINS && sudo -k && sudo ./$BRINS "$BROTHER"  
exit $?
PS: Sinon dans le titre, c'est: BROTHER et non: BROTOHER
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
fehlix
Developer
Posts: 10310
Joined: Wed Apr 11, 2018 5:09 pm

Re: Pb installation Imprimante-scanner BROTOHER

#3 Post by fehlix »

Pour trouver l'adresse IP de l'imprimante, vous pouvez également essayer ce qui suit :
arp-scan
ou
nmap
ou
avahi-découvrir

Exemple : arp-scan
Trouvez d'abord l'adresse IP locale / le réseau :

Code: Select all

 ifconfig | grep -m1 inet
inet 192.168.178.119  netmask 255.255.255.0  broadcast 192.168.178.255
local IP: 192.168.178.119 -> local network: 192.168.178.0/24

Code: Select all

sudo arp-scan --retry=8 --ignoredups -I eth0 192.168.178.0/24 

Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.178.1	  X 	(Unknown)
192.168.178.19	X 	Brother industries, LTD.
192.168.178.31	X 	Hewlett-Packard Company
192.168.178.101	X 	GIGA-BYTE TECHNOLOGY CO.,LTD.
192.168.178.99	X 	Arcadyan Technology Corporation

7 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9: 256 hosts scanned in 25.994 seconds (9.85 hosts/sec). 5 responded
Exemple : nmap

Code: Select all

sudo nmap -sP -PR 192.168.178.0/24
Veuillez ajouter arp-scan, nmap ou avahi-discover en premier.

J'ai oublié autre chose :
Si pas encore installé svp installez le paquet "libnss-mdns". L'imprimante sera alors mieux trouvée.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
micoud
Posts: 4
Joined: Fri Mar 15, 2019 10:39 am

Re: Pb installation Imprimante-scanner BROTOHER

#4 Post by micoud »

Pour connaîyre l'adresse ip de l'imprimante, ne suffit-il pas d'interroger l'imprimante elle-même ? via l'écran [ systeme [ configuration ou quelque chose comme ça ?
Ou bien en interrogeant votre routeur ?

User avatar
fehlix
Developer
Posts: 10310
Joined: Wed Apr 11, 2018 5:09 pm

Re: Pb installation Imprimante-scanner BROTOHER

#5 Post by fehlix »

micoud wrote: Fri Mar 15, 2019 10:52 am Pour connaîyre l'adresse ip de l'imprimante, ne suffit-il pas d'interroger l'imprimante elle-même ? via l'écran [ systeme [ configuration ou quelque chose comme ça ?
Ou bien en interrogeant votre routeur ?
C'est le plus facile et le plus bon.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Forum Français”