LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2016, 09:24 PM   #16
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled

sudo bash ~/Downloads/linux-brprinter*
[sudo] password for linda:
Driver-packages cannot be found.
Confirm the model name.

~/Downloads$ MFC-J6520DW
bash: MFC-J6520DW: command not found
~/Downloads$

I tried redownloading the driver installer tool and it was confirmed as already there or to overwrite.. N as I did to be sure but still the rest with not working with the bash command

Last edited by TrinityBeing; 03-22-2016 at 09:31 PM.
 
Old 03-22-2016, 09:51 PM   #17
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
looks as if bash is not necessary as that is the prompt command anyway
 
Old 03-22-2016, 09:55 PM   #18
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 277Reputation: 277Reputation: 277
You can't do it by using the wildcard asterisk. Just type the linux-brprint part, then press the Tab key. It will autocomplete the name for you. The asterisks in the example are just placeholders, because the version changes from time to time. Bash needs the actual filename. Follow the instructions on the download page I linked exactly. This page You only need the driver install tool, none of the others. The script will install the drivers, including downloading any required dependencies, run the config script, and should leave you with a working scanner. There are files specifically for the 6520. If you're running it via USB, connect it before the installation as the Brother instructions say, and you should be able to scan from the printer. The files go to a ~/brscan directory as .pnm files. If the printer is connected via wifi, you can't scan to a file from the printer, but you can scan into xsane, which is the best way to do it anyway, because you can choose the filetype, resolution, and everything else before the scan. From the printer panel, you get what you get. But you can scan to xsane via USB as well.

Last edited by sgosnell; 03-22-2016 at 10:00 PM.
 
Old 03-23-2016, 02:55 AM   #19
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks but I have this coming up now.. after unzipping the download printer installer and trying the next step.. The Folder I put them into in Downloads is called Brother
~$ sudo
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
~$ /home/myname/Downloads/Brother/linux-brprinter-installer-2.0.0-1
bash: /home/myname/Downloads/Brother/linux-brprinter-installer-2.0.0-1: Permission denied

/Downloads/Brother/linux-brprinter-installer-2.0.0-1: Permission denied...
My original installation on this laptop ended up being all on one single partition and I don't think I am meant to use root... will have to check with the guy who helped me when unless you have other ideas?

even if I use cd ~/Downloads/Brother/ first it still doesn't work for the rest of it when I try with and without the name so not sure if this helps at all. http://support.brother.com/g/s/id/li...as&redirect=on

Last edited by TrinityBeing; 03-23-2016 at 03:01 AM.
 
Old 03-23-2016, 11:29 AM   #20
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 277Reputation: 277Reputation: 277
Of course you can use root. You can use sudo, or you can log in as root. But you can't use just sudo as you did above. You prefix a command with sudo to execute that command as root. If you want to log in as root, use su. You need to spend some time learning Linux, just as you spent lots of time learning Windows. Anything worthwhile takes some effort.

One more time, please follow the instructions on the download page exactly. Spelling counts, upper and lower case counts, exact syntax counts. The computer cannot do what your mind wants it to do, it can only do what you tell it to do, exactly the way you tell it to do it.
 
Old 03-27-2016, 10:55 AM   #21
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi again, Yes I started again with the help of a good friend over East who is a coder and experienced with Linux.

The driver install tool is fine but the deb packages for the scan key and brscan deb too both needed to be sudo dpkg separately as per site instructions from Brother, however they still didn't fully open due to permissions limitations, which my friend advised using chmod 750 etc.. and then each one separately worked to unload. The scanner still doesn't work yet only the printer still. However I remembered we did the config part before those packages were unloaded correctly, so not sure if need to do again, so may try tomorrow. The only other issue that may need looking into is from this link, which doesn't show anything for Debian8??? http://support.brother.com/g/s/id/li...as&redirect=on Is it possible this needs sorting for Debian8. I will double check the config ones and then get back to you.

I am also wondering if when I did the config actions for the scanner I caused any issues as it was for USB too? Itis showing as USB scanner in the xsane software okay but invalid argument when I try to use it etc.

I saved the terminal file for the instructions to share after I take out my personal details in case it can help others? I can copy and paste it all if wanted when I next come on. Thanks again for trying to help folks. One thing I think is very helpful is screen share like can be used on skype.. so you can see your newbie or customer's screen and help them go through steps. If any of the developers are able to devise something similar for one of the private chats.. it would be so much easier to sort problems out. the private chat I use is Buddy via chatsecure using jabber.calyxinstitute.org only with this one person. If you know of any private chats that have screen share facilities.. awesome let us know. Cheers Trinity

Last edited by TrinityBeing; 03-27-2016 at 11:12 AM.
 
Old 03-27-2016, 02:43 PM   #22
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 277Reputation: 277Reputation: 277
What I use for remote management is Teamviewer. It's cross-platform, and works well.

If you run the tool from the page I linked twice, everything will be installed by the script, including getting your password for use by root. If you don't want to do that, then I'm done.
 
Old 03-28-2016, 06:46 AM   #23
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
https://www.linuxquestions.org/questions/linux-newbie-8/new-printer-scanner-in-xsane-finds-new-printer-scanner-brother-mfc-6520dw-with-error

Hello again, I have already done that twice over but as I shared before, it didn't do the entire job in my case. After I had used the driver install tool, it turned out I still had to install the deb packages after extracting them and then install .. so not sure what you mean? If it didn't work for me like that.. does it mean I am doing something wrong or does it mean my system set up is not what you expect? One link from the site about normal USB user does not cater for Debian 8 either. The first time I did the steps following what you said, I did get to answer N for the USB question, and after all that the scanner still wasn't working.... so not sure how we can continue to communicate if we can't find out any more? I have used teamviewer with the experienced linux mentor I have, on my old mac machine, so maybe it might be worth using on here to avoid all the confusion. I will ask him. Does anyone else have any ideas about that link I gave if debian 8 is not being given info for? There is Debian 6 though??? Sorry if not going according to instructions but of course I want it to work. Thanks for trying anyway. Trinity
 
Old 03-29-2016, 10:27 AM   #24
TrinityBeing
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
Smile https://www.linuxquestions.org/questions/linux-newbie-8/new-printer-scanner-in-xsane-finds-new-printer-scanner-brother-mfc-6520dw-with-error

After searching through some of the faqs and brother site sections:

http://support.brother.com/g/b/faqca..._as&ftype2=185

http://support.brother.com/g/s/id/li...irect=on#Inst2

http://support.brother.com/g/s/id/li...as&redirect=on

http://support.brother.com/g/b/downl...s_eu_as&os=128

http://support.brother.com/g/b/downl...ng=4&type3=600

It turns out there was a deb file I hadn't downloaded on the original downloads page called a scanner setting file, so when I was in the right folder/directory where it was saved.. and followed the instructions basically given as: Command*(for rpm)*:*dpkg -i (filename)
(though up to that point I hadn't downloaded/installed any other rpm ones, only dpkg ones) I tried this in the command line of correct directory/folder:

sudo dpkg -i brother-udev-rule-type1-1.0.0-1.all.deb

which asked for my password and then dpkg was aok. I restarted the PC as instructed on the website and at last the scanner worked from the Xsane software! I hadn't seen any mention of installing it before even though it was one of the many items listed. I still have to sort scanning from the printer which may have clues/answers here for tomorrow to try:

http://support.brother.com/g/s/id/li...as&redirect=on

so will keep you posted. Now I am wondering whether I should have installed all the rpm files as well as dkpg ones? What does rpm (red hat packagement system) actually do? Getting there..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing a Brother MFC-6890CW (printer)/Scanner on Linux Lite 1.08 (Ubuntu 12.04)? n7tek Linux - Hardware 1 04-07-2014 04:59 AM
[SOLVED] Brother MFC-7840W Network Scanner not Recognized in XSane Kaiser Soze Slackware 9 06-21-2011 11:40 PM
Brother MFC on 64 current: Scanner works, printer uses wrong connection gargamel Slackware 0 03-07-2010 02:51 AM
USB Brother MFC 420CN Scanner - sane/scanimage/error i/o issues NosLycn Linux - Hardware 11 11-14-2009 10:58 PM
Easy install Brother MFC-665CW printer scanner etc. paynejp Linux - Hardware 1 11-07-2009 07:21 PM


All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration