Acties:
  • 0 Henk 'm!

  • digidokter.net
  • Registratie: April 2014
  • Laatst online: 07-01-2024

digidokter.net

... en 'Niets' van 'Alles' LOL

Topicstarter
Info
Bij mijn eerste installatie van mint 18 ubuntu had ik helemaal uitgezocht hoe ik mijn brother DCP-J4120 aan de praat kon krijgen via WIFI voor zowel printen/.scannen: Dat was gelukt! helaas geen aantekeningen gemaakt. :(

Huidige status
Nu schone installatie van mint 18 ubuntu en ook geprobeert op gelijke manier de printer/scanner te installeren volgens deze drie aanwijzingen:
1. https://forums.linuxmint.com/viewtopic.php?t=223372#p1177958
If this doesn't worrk de-install your brother device, and follow the next procedure:
Just to be sure,
sudo gedit /lib/udev/rules.d/40-libsane.rules the following 2 lines: and check if the following lines haven't been removed.
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"

Save the file and restart your computer.

Open a shell/terminal again and execute:
sudo lppasswd -g sys -a root
When you've done this you're prompted to give a password. That must be the password you usually use for root actions. Press enter
You're prompted again and enter the same password.
sudo apt-get install apparmor-utils
sudo aa-complain cupsd
sudo mkdir /usr/share/cups/model (Just the word model, not the model you have)
sudo mkdir /var/spool/lpd
sudo apt-get install ia32-libs
sudo apt-get install csh
sudo apt-get install sane-utils
sudo aa-complain cupsd (I'm not really sure if this has to be repeated, but it won't hurt)
sudo apt-get install psutils
If you use a firewall: The following ports are required to be open.
Inbound direction : UDP Port 54925
Outbound direction : TCP Port 54921

Make sure your device is connected to your computer
Open this url: http://support.brother.com/g/b/download ... &type3=625
That downloads the installation file and you find the remaining part of the installation instructions.

Restart your computer, every thing should be fine now.
2. http://support.brother.com/g/s/id/linux/en/index.html?c=nl&lang=nl&prod=dcpj4120dw_eu_as&redirect=on
Step 1. Login as a superuser ( or use "sudo" option if it is required )
Step 2. Check if pre-required procedures are completed
For Debian, Ubuntu
Step 3. Download a driver.
3-1. Check which driver will work with your product. (Product information is written in the driver download page)
3-2. Download the driver
Scanner Driver download page
Step 4. Install the driver
4-1. Turn on your MFC/DCP and connect to the network.
4-2. Open the terminal and go to the directory where the driver is.
4-3. Install the scanner driver
Command (for dpkg) : dpkg -i --force-all (scanner-drivername)
Command (for rpm) : rpm -ihv --nodeps (scanner-drivername)
Example(for dpkg) | Example(for rpm)
4-4. Check if the driver is installed
Command (for dpkg) : dpkg -l | grep Brother
Command (for rpm) : rpm -qa | grep -e (scanner-drivername)
Example(for dpkg) | Example(for rpm)
Step 5. Setting for your network scanner
***Use brsaneconfig (for brscan models), brsaneconfig2 (for brscan2 models), brsaneconfig3 (for brscan3 models) or brsaneconfig4 (for brscan4 models) accordingly.
5-1. Add network scanner entry
Command : brsaneconfig2 -a name=(name your device) model=(model name) ip=xx.xx.xx.xx
Example
5-2. Confirm network scanner entry
Command : brsaneconfig2 -q | grep (name of your device)
Example
Step 6. Try a test scan
6-1. Open a scanner application and try a test scan.
3.
https://askubuntu.com/questions/389636/invalid-argument-brother-scanner-not-working-after-upgrade-brscan2-driver
How to find and fix the problem

install the brscan4 drivers from the brother website

sudo dpkg -i brscan4-0.4.2-1.amd64.deb
Check to see if it works

sudo brsaneconfig4 -d
Test to see if the scanner is installed (scanner need to be powered on). And run as a user NOT root

$ scanimage -L
device `brother4:bus5;dev1' is a Brother ADS-2000 USB scanner
$ scanimage --test
scanimage: open of device brother4:bus5;dev1 failed:
Invalid argument
or

$ scanimage
scanimage: open of device brother4:bus5;dev1 failed:
Invalid argument
To find out where the brother scanner is on the bus use lsusb. This is one of the problems in the scanimage. The bus is 003 and the device is 002 and not but 5 dev 1 as per scanimage

$ lsusb
Bus 003 Device 002: ID 04f9:60a0 Brother Industries, Ltd**
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
...
To fix the problem, you will need to use the path based on the location of the brother scanner in the lsusb command. In my case it was bus 003 and device 002. Note that if you unplug the USB cable to the scanner and plug it back in the device, you will get a new number and/or bus. (The number return back to 2 when you reboot the PC)

Examples:

$ sudo cd /dev/bus/usb/003
$ sudo chmod 666 002
or just:

$ sudo chmod 666 /dev/bus/usb/003/002
Scanimage need to fix the message when it can not access the scanner to have the right bus and dev number and also tell the user that the problem is a write access problem.

Brother needs to update the driver code so that global user can write to the scanner i.e. chmod 666 to the scanner driver location
Resultaat:
Proces 1-3 diverse malen geïnstalleerd restart, en uitgeprobeerd, en weer geïnstalleerd en opnieuw begonnen met herhaalde proces om werkend te krijgen! Maar geen werkende WIFIscanner.

Wel de printer werkte wel goed.

Dus kwam ik op VUEscan en die herkend hem meteen, moest wel 30eur aanschaffen, maar nu werkende scanner. Maar ik wil hem ook met GSscan/simplescan/Xsane werkend krijgen....please help! _/-\o_

Trouwens ik heb alle drivers en instellingen gecheckt en dubbelcheck! :? 8)7 |:(

Verstand van 'Alles' van 'Niets'


Acties:
  • +1 Henk 'm!

  • Gusto
  • Registratie: Maart 2005
  • Laatst online: 29-04-2021
Probeer het eens met de driver install tool?

http://support.brother.co...u_as&os=128&flang=English

Acties:
  • 0 Henk 'm!

  • digidokter.net
  • Registratie: April 2014
  • Laatst online: 07-01-2024

digidokter.net

... en 'Niets' van 'Alles' LOL

Topicstarter
Bedankt! _/-\o_
Alles werkt prima (wifi/bedraad), maar probleem is dat ik nu alleen via WIFI/netwerk kan printer als de firewall uit staat?! Ik heb rules gegeven om poort open te zetten: http://support.brother.com/g/b/faqend.aspx?c=ca&lang=en&prod=hl2700cn_all&faqid=faq00002597_001
Ik neem aan dat vuescan met printer over deze poort 54925 communiceerde??

Maar vuescan herkend zowel bedraad als met wifi die printer niet alleen dus als ik firewall uit zet?!
Dus de rules werken ook niet??
Wat doe ik verkeerd?
Mijn rig:
Mint 18.2 op zelfbouw PC corsair 4 x 2GiGhz en sd 500GIG plus 16GIG Ram en VIdeokaart hdmi etc.

Update:
Oplossing gevonden:
Ik had mijn computer via bekabeling op poort 4 (gast) 192.179.1 ipv poort 1-3 192.178.168.1 !! :X :? 8)7 |:( O-)
Daardoor kon ik alleen via terminal met bekabeld printer en niet via WIFI etc.
Dus advies aan iedereen:
1. Controleer eerst of alle apparatuur op zelfde Wifi 2,4Ghz is aangesloten meestal 192.178.168.1 en niet 179(gast=poort 4) bij Xs4all.nl fritzbox modems
2. Installeer je win/linux printer volgen brother-handleiding CUPS/Wrapper etc
3. Dan of je bedraad of via URI aansluit/print dus je printer IP adres geven: 192.178.168.100 of eigen IP verzinnen?
4. Maak testprint via wifi/nbekabeld?!
5. Als alles werkt backup computer en moden/router instellingen/files etc Herstelpunt in win en via linux timeshift etc
6. veel suc6!! _/-\o_

[ Voor 33% gewijzigd door digidokter.net op 16-12-2017 18:50 . Reden: Oplossing ik werkte op gast netwerk 192.179.168.1 ipv 192.178.168.1= Heel dom/stom van me, maar ben ook maar mens ;) ]

Verstand van 'Alles' van 'Niets'