LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-17-2011, 02:45 PM   #1
Kaiser Soze
LQ Newbie
 
Registered: Dec 2005
Location: SoCal
Posts: 29

Rep: Reputation: 0
Brother MFC-7840W Network Scanner not Recognized in XSane


I have a networked MFC-7840W that I am able to print to, but unable to scan to from my Slackware-64 13.37 machine.

I downloaded both brscan3 64-bit rpm files from http://welcome.solutions.brother.com...n.html#brscan3 and used rpm2tgz on them before running installpkg on each.

Code:
mutant@minix_slack:~$ brsaneconfig3 -q | grep 7840
 85 "MFC-7840N"
 92 "MFC-7840W"
  0 Brother             "MFC-7840W"         I:10.25.99.2
Code:
mutant@minix_slack:~$ brscan-skey -l
ERROR: No such file or directory   [/usr/local/Brother/sane/brscan-skey-0.2.1-3.cfg]
Code:
mutant@minix_slack:~$ ls /usr/local/Brother/sane/
Brsane3.ini    brsanenetdevice3.cfg  brscan-skey-0.2.1-3.sh  script
brsaneconfig3  brscan-skey-0.2.1-3   models3		     setupSaneScan3
and when I try to run XSane, I get "no devices available" spit back at me. The printer/scanner are up and running as I can ping and print to it from the machine in question. I can also scan from other machine on the network.

Any thoughts and/or help and greatly appreciated.

Last edited by Kaiser Soze; 06-21-2011 at 11:41 PM. Reason: included Slackware version and hardware; solved
 
Old 06-17-2011, 09:10 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
...and used rpm2tgz on them before running installpkg on each.
The Brother installer scripts are written for C shell, and may not run successfully in the Slackware default bash shell.
Do you have an entry for 'brother3' in /etc/sane.d/dll.conf?
 
Old 06-17-2011, 09:12 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I don't know much about brscan3 but with brscan2 there are post-install scripts that must be run in order to be able to detect the scanner. By using rpm2tgz you are skipping these scripts, so you probably have to run a couple of commands first to get it working. I used the debian packages (and repackaged them using `ar -x` and tar), but if you want to continue with the rpm packages you'd have to grab the scripts. You should be able to use `rpm --query --package --scripts filename.rpm` (but you'll have to do some manual parsing of that output since it isn't split up). Otherwise the debian package contains scripts in control.tar.gz.

[edit]Or, apparently, rpm2tgz -s[/edit]

Last edited by T3slider; 06-17-2011 at 09:14 PM.
 
Old 06-17-2011, 09:52 PM   #4
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
You can't use rpm2tgz with these files, you must use alien, as described at http://welcome.solutions.brother.com...faq_prn.html#1 . Don't forget the -c and -t switches.

Brian
 
1 members found this post helpful.
Old 06-18-2011, 01:28 AM   #5
Kaiser Soze
LQ Newbie
 
Registered: Dec 2005
Location: SoCal
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BCarey View Post
You can't use rpm2tgz with these files, you must use alien, as described at http://welcome.solutions.brother.com...faq_prn.html#1 . Don't forget the -c and -t switches.

Brian
I have compiled alien and now run
Code:
root@minix_slack:/home/mutant/Downloads# alien -t -c brscan3-0.2.11-4.x86_64.rpm
which resulted in
Code:
root@minix_slack:/home/mutant/Downloads# ls
brscan-skey-0.2.1.tgz     brscan3-0.2.11.tgz     brscan-skey-0.2.1-3.x86_64.rpm
and then
Code:
root@minix_slack:/home/mutant/Downloads# alien -t -c brscan-skey-0.2.1-3.x86_64.rpm
which resulted in
Code:
root@minix_slack:/home/mutant/Downloads# ls
brscan-skey-0.2.1.tgz	        brscan3-0.2.11.tgz
brscan-skey-0.2.1-3.x86_64.rpm	brscan3-0.2.11-4.x86_64.rpm
However, once I ran
Code:
root@minix_slack:/home/mutant/Downloads# tar -xzf brscan3-0.2.11.tgz
I got rid of the rpms and I now have
Code:
root@minix_slack:/home/mutant/Downloads# ls -l
total 124
-rw-r--r-- 1 root root 48845 Jun 17 23:18 brscan-skey-0.2.1.tgz
-rw-r--r-- 1 root root 66986 Jun 17 23:18 brscan3-0.2.11.tgz
drwxr-xr-x 2 root root  4096 Jun 17 23:18 install
drwxr-xr-x 5 root root  4096 Jun 17 23:18 usr
What do I do with the two directories?
 
Old 06-18-2011, 03:13 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello,

I'v written a tutorial about using a Scanner over the network, look here http://www.linuxquestions.org/linux/...r_over_network

My setup is another as your's since my scanner is connected via USB to a Linux-server. But you may check your clientconfiguration
Quote:
Configuration for the client on the client you'll have to edit the /etc/saned.d/net.conf file and insert the IP-adress of the server, please note that I tried it with the hostname of the server which failed.
Furthermore there is a file dll.conf in the /etc/saned directory, be sure that there is a line with the single word net in this file.
Markus
 
Old 06-18-2011, 04:27 PM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by Kaiser Soze View Post
I have compiled alien and now run
However, once I ran
Code:
root@minix_slack:/home/mutant/Downloads# tar -xzf brscan3-0.2.11.tgz
I got rid of the rpms and I now have
Code:
root@minix_slack:/home/mutant/Downloads# ls -l
total 124
-rw-r--r-- 1 root root 48845 Jun 17 23:18 brscan-skey-0.2.1.tgz
-rw-r--r-- 1 root root 66986 Jun 17 23:18 brscan3-0.2.11.tgz
drwxr-xr-x 2 root root  4096 Jun 17 23:18 install
drwxr-xr-x 5 root root  4096 Jun 17 23:18 usr
What do I do with the two directories?
After you convert the rpms to tgzs you don't untar them you just install them with "installpkg".

Brian
 
Old 06-19-2011, 09:18 AM   #8
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
This is what I do with my Brother MFC. It is networked with static IP.

I copy the rpms to the alien folder then

Quote:
cd alien
./alien.pl -ct brscan-skey-0.2.1-3.x86_64.rpm
./alien.pl -ct brscan2-0.2.5-1.x86_64.rpm
installpkg *.tgz
brsaneconfig2 -a name=SCANNER model=MFC-7820N ip=192.168.1.52
 
Old 06-19-2011, 09:52 PM   #9
trillobyte
Member
 
Registered: Apr 2007
Location: USA
Distribution: Slackware, FreeBSD, Trisquel
Posts: 105
Blog Entries: 1

Rep: Reputation: 33
You should activate the server first by typing the command brscan-skey. Once you do this the sane software should work.
 
Old 06-21-2011, 11:40 PM   #10
Kaiser Soze
LQ Newbie
 
Registered: Dec 2005
Location: SoCal
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by arubin View Post
This is what I do with my Brother MFC. It is networked with static IP.

I copy the rpms to the alien folder then
worked like a champ...thanks.
 
  


Reply



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
Brother MFC-9440CN scanner with Ubunutu 10.10 cigtoxdoc Linux - Hardware 2 03-04-2011 12:47 AM
Fedora 13, xsane unable to find MFC-495CW scanner. davdunc Linux - Hardware 2 10-26-2010 09:15 PM
Brother MFC-8670DN -- Scanner Not Working in Ubuntu 9.04 noobwifi Linux - Hardware 3 05-22-2009 12:26 PM
Xsane recognizes Brother MFC 3360C! bezdomny LinuxQuestions.org Member Success Stories 0 09-03-2007 10:30 PM
Xsane doesn't recognize Brother MFC 3360C bezdomny Linux - Hardware 5 09-01-2007 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:13 PM.

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
Open Source Consulting | Domain Registration