LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-08-2017, 07:34 AM   #31
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580

paxolin,

You sound like you actually have a working printer!

The cable only needs to be connected to your computer's USB port when you need to print something, so just unplug the USB until you next need to print.

Scanning:
With the printer cable connected, try switching off the computer and restarting it.

Put a document in the scanner and try:

Menu > Simple Scan > Scan

Last edited by beachboy2; 02-08-2017 at 07:39 AM.
 
Old 02-08-2017, 08:20 AM   #32
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
paxolin,

You sound like you actually have a working printer!

The cable only needs to be connected to your computer's USB port when you need to print something, so just unplug the USB until you next need to print.

Scanning:
With the printer cable connected, try switching off the computer and restarting it.

Put a document in the scanner and try:

Menu > Simple Scan > Scan
I had the printer working already (see post #22) via the WiFi.

I plugged in the USB lead and reinstalled the printer driver as I thought you said I needed to do that to get the scanner installed?
Simple Scan still won't talk to the scanner, although it lists it as a scan source - but only when the USB lead is connected.

The printer stopped working over the WiFi. All documents end up sitting in the print queue. I've reinstalled it yet again without the USB cable, and it works again on WiFi. Still can't get the scanner to work though.
 
Old 02-08-2017, 12:57 PM   #33
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
For a network-attached Brother scanner you first need to configure using the brsaneconfig4 utility as I posted previously.
 
Old 02-08-2017, 06:15 PM   #34
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
For a network-attached Brother scanner you first need to configure using the brsaneconfig4 utility as I posted previously.
ferrari,
I’m guessing you’re referring to posts #25 & #26? I’m sorry I didn’t understand that.

I can see in #25 it mentions ip, which (I think that) I don’t know, as I can’t access the router.
In post #26, I read what you wrote and typed “brsaneconfig4 –help” and it listed exactly as you had, so I must have the utility d/l OK?
I assume it’s brsaneconfig4 as my Brother is MFCJ430W, having the first digit of 4?

What is "nodename=BRN_xxxxx" I don’t understand what that means, or what it is?
Friendly name. Does that mean I must give it a name myself? Can I just call it “brother” for example?
If so, do I type exactly (in upper & lower case):
Code:
brsaneconfig4 -a name=brother model=MFCJ430W  nodename=BRN_xxxxx [enter]
and that’s it, done? (once I know what I need to type for BRN_xxxxx, of course)

Do I have to plug in the USB printer lead while I do all this? If I do, can I then remove it afterwards?
 
Old 02-08-2017, 06:36 PM   #35
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Quote:
What is "nodename=BRN_xxxxx" I don’t understand what that means, or what it is?
It's your machine's nodename, and based on its network MAC address. You should be able to get that info from the front-panel.

Online manual...
https://www.brother-usa.com/VirData/...DW_EN_5038.PDF

From the online manual
Quote:
Node Name: The Node Name appears in the Network Configuration Report. The default Node Name is
“BRNxxxxxxxxxxxx” for a wired network or “BRWxxxxxxxxxxxx” for a wireless network (“xxxxxxxxxxxx” is
your machine’s MAC Address / Ethernet Address).
Print your network configuration...
Quote:
The Network Configuration Report prints a report listing the current network configuration including the
network print server settings.
For MFC-J430W/J432W
4
a
Press
Menu
.
b
Press
a
or
b
to choose
Print Reports
.
Press
OK
.
c
Press
a
or
b
to choose
Network Config
.
Press
OK
.
d
(For US) Press
Black Start
or
Color Start
.
(For UK) Press
Mono Start
or
Colour Start
Quote:
Friendly name. Does that mean I must give it a name myself? Can I just call it “brother” for example?
Yes
 
Old 02-08-2017, 06:39 PM   #36
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
You might also find your printer details are detected (if connected to the network) with
Code:
brsaneconfig4 -q
 
Old 02-08-2017, 07:47 PM   #37
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
BTW, the brsaneconfig4 utility creates a config file called /etc/opt/brother/scanner/brscan4/brsanenetdevice4.cfg

So, for example if the wireless nodename was BRW3005CD2F4EF2 then the following would be used to configure...

Code:
brsaneconfig4 -a name=Brother model=MFC-J430W nodename=BRW3005CD2F4EF2
You should also be able to ping the machine by its nodename (if avahi is running) eg
Code:
ping BRW3005CD2F4EF2.local
 
Old 02-08-2017, 08:27 PM   #38
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
ferrari,
This is looking hopeful now.
I followed your quotes from the manual, and have printed out the Network Configuration. (I live in Thailand, the manual I have in only in Thai)

It lists the MAC Address "a4-17-31-4c-54-e3"
Also listed is Node name "dhcppc0" (in my first post #1, I happened to listed this, but Mint listed it as "Host")

I'm confused now, as in your quote from the manual, it says:
"Node Name: The Node Name appears in the Network Configuration Report. The default Node Name is
“BRNxxxxxxxxxxxx” for a wired network or “BRWxxxxxxxxxxxx” for a wireless network (“xxxxxxxxxxxx” is
your machine’s MAC Address / Ethernet Address)."
So in there in brackets, it seems to be saying it could be the MAC address/ethernet address? Or is that part ignored, as it has printed a specific Node name already?

Whatever the BRN is, would it be possible to enter it using BRW, not BRN, to keep the scanner on the WiFi network (as I do in Windows)?
Would this be what I should enter?
Code:
brsaneconfig4 -a name=brother model=MFCJ430W  nodename=BRW_dhcppc0 [enter]
(I take it I need to include the underscore in nodename?)

I did try "brsaneconfig4 -q" That just listed over 300 lines what looked Brother-type printers?


I've just seem your additional post about ping. I don't understand a lot of this, but tried as many options as I could think of:

Code:
watt@PCMint ~ $ ping dhccp0.local
ping: unknown host dhccp0.local
watt@PCMint ~ $ ping BRWdhccp0.local
ping: unknown host BRWdhccp0.local
watt@PCMint ~ $ ping BRW_dhccp0.local
ping: unknown host BRW_dhccp0.local
watt@PCMint ~ $ ping BRN_dhccp0.local
ping: unknown host BRN_dhccp0.local
watt@PCMint ~ $ ping BRNdhccp0.local
ping: unknown host BRNdhccp0.local
Shouldn't this work, as the the printer is now working over the WiFi?
 
Old 02-08-2017, 08:41 PM   #39
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
You can check your printer nodename from the front-panel, and print the network details as explained already. Did you try printing a network configuration report yet? By default, Brother has configured the machine names based on its MAC addresses in the form BRNxxxxxxxxxxxx (ethernet interface) and BRWxxxxxxxxxxxx (wireless interface).

If the hostname really is dhccp0, then I would have expected this to work
Code:
brsaneconfig4 -a name=brother model=MFCJ430W  nodename=dhcppc0
To remove any existing config do this first before trying to configure again
Code:
brsaneconfig4 -r brother
 
Old 02-08-2017, 08:48 PM   #40
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
You need to be careful with your syntax, as you mentioned 'dhcppc0' but then pinged variant names

Did you try this?
Code:
ping dhcppc0.local
 
Old 02-08-2017, 09:12 PM   #41
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
You need to be careful with your syntax, as you mentioned 'dhcppc0' but then pinged variant names

Did you try this?
Code:
ping dhcppc0.local
You're absolutely right, I do need to pay more attention. This is definitely what it is: "dhcppc0"

ping: unknown host dhcppc0.local

ping: unknown host BRWdhcppc0.local

ping: unknown host BRW_dhcppc0.local

ping: unknown host BRN_dhcppc0.local

ping: unknown host BRNdhcppc0.local

No luck with any of those though. Is this a problem that it can't find it? I've just printed something via the WiFi 5 minutes ago, so it's definitely working.
 
Old 02-08-2017, 09:15 PM   #42
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
BTW, the 'dhcppc0' name is likely given by the router rather than the printer itself. (As long as it resolves to the printer's IP address that should be ok though.)
 
Old 02-08-2017, 09:18 PM   #43
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Maybe avahi isn't running on your system? What about just the following?
Code:
ping dhcppc0
Also provide the output of
Code:
ip route
From that we should be able to scan for the IP address of the printer using something like 'nmap -sP 192.168.x.x - 192.168.x.x' (appropriate to your LAN)
 
Old 02-08-2017, 09:41 PM   #44
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
3 tools that can help identify devices on a network (you may need to install them first)

1) arp-scan

Code:
arp-scan --localnet
For example, I get...
Code:
# arp-scan --localnet
Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.90.1    00:0c:42:25:2b:1d       Routerboard.com
192.168.90.13   00:80:77:dc:41:9c       BROTHER INDUSTRIES, LTD.
192.168.90.150  94:57:a5:b1:ca:1f       (Unknown)
2) nmap

For example, I get
Code:
# nmap -sP 192.168.90.1-255

Starting Nmap 6.47 ( http://nmap.org ) at 2017-02-09 15:38 NZDT
Nmap scan report for 192.168.90.1
Host is up (-0.10s latency).
MAC Address: 00:0C:42:25:2B:1D (Routerboard.com)
Nmap scan report for 192.168.90.13
Host is up (-0.10s latency).
MAC Address: 00:80:77:DC:41:9C (Brother Industries)
Nmap scan report for 192.168.90.150
Host is up (0.00055s latency).
MAC Address: 94:57:A5:B1:CA:1F (Unknown)
Nmap scan report for 192.168.90.155
Host is up.
Nmap done: 255 IP addresses (4 hosts up) scanned in 3.51 seconds
3) For those who use avahi, avahi-browse can be useful

Example
Code:
# avahi-browse -a -r -t|egrep "host|address"
   hostname = [HL2150N.local]
   address = [192.168.90.13]
   hostname = [HL2150N.local]
   address = [192.168.90.13]
   hostname = [HL2150N.local]
   address = [192.168.90.13]
   hostname = [HL2150N.local]
   address = [192.168.90.13]
   hostname = [linux-kgxs.local]
   address = [fe80::a00:27ff:fe36:8614]
   hostname = [linux-kgxs.local]
   address = [fe80::a00:27ff:fe36:8614]
   hostname = [linux-kgxs.local]
   address = [fe80::a00:27ff:fe36:8614]
   hostname = [linux-kgxs.local]
   address = [192.168.90.155]
   hostname = [linux-kgxs.local]
   address = [192.168.90.155]
   hostname = [linux-kgxs.local]
   address = [192.168.90.155]

Last edited by ferrari; 02-08-2017 at 09:43 PM.
 
Old 02-08-2017, 09:41 PM   #45
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Maybe avahi isn't running on your system? What about just the following?
Code:
ping dhcppc0
Also provide the output of
Code:
ip route
From that we should be able to scan for the IP address of the printer using something like 'nmap -sP 192.168.x.x - 192.168.x.x' (appropriate to your LAN)
I'm afraid I understand only a very little of what you're telling me, but I can provide you with answers to your questions:
Code:
ping: unknown host dhcppc0
watt@PCMint ~ $ ip route
default via 192.168.1.1 dev enp2s0  proto static  metric 100 
169.254.0.0/16 dev enp2s0  scope link  metric 1000 
192.168.1.0/24 dev enp2s0  proto kernel  scope link  src 192.168.1.104  metric 100
See also the attached image for the printer network config. I didn't bother to include the comms mode at the bottom of the page, I didn't think that was necessary?
I had to reboot to Windows to scan this - a bit ironic there!
Attached Thumbnails
Click image for larger version

Name:	brother-printer-network-settings-b+w.jpg
Views:	40
Size:	235.2 KB
ID:	24175  
 
  


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
LXer: How to install a Brother printer on Linux LXer Syndicated Linux News 2 08-09-2015 10:21 PM
trying to install brother printer KatFox Linux - Newbie 16 07-01-2015 09:07 AM
[SOLVED] Brother printer HL-2270DW driver - Brother solutions offer four - which one? juneymoon Linux - Software 9 06-15-2013 05:52 PM
[SOLVED] Install Brother MFC3360 Printer on 13.1 - 64bit explorer Slackware 6 03-23-2011 01:25 PM
Install network Brother Printer candle_66 SUSE / openSUSE 2 12-01-2005 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:16 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