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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
02-08-2017, 07:34 AM
|
#31
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
|
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.
|
|
|
02-08-2017, 08:20 AM
|
#32
|
Member
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412
Original Poster
Rep:
|
Quote:
Originally Posted by beachboy2
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.
|
|
|
02-08-2017, 12:57 PM
|
#33
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
For a network-attached Brother scanner you first need to configure using the brsaneconfig4 utility as I posted previously.
|
|
|
02-08-2017, 06:15 PM
|
#34
|
Member
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412
Original Poster
Rep:
|
Quote:
Originally Posted by ferrari
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?
|
|
|
02-08-2017, 06:36 PM
|
#35
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
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
|
|
|
02-08-2017, 06:39 PM
|
#36
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
You might also find your printer details are detected (if connected to the network) with
|
|
|
02-08-2017, 07:47 PM
|
#37
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
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
|
|
|
02-08-2017, 08:27 PM
|
#38
|
Member
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412
Original Poster
Rep:
|
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?
|
|
|
02-08-2017, 08:41 PM
|
#39
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
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
|
|
|
02-08-2017, 08:48 PM
|
#40
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
You need to be careful with your syntax, as you mentioned 'dhcppc0' but then pinged variant names
Did you try this?
|
|
|
02-08-2017, 09:12 PM
|
#41
|
Member
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412
Original Poster
Rep:
|
Quote:
Originally Posted by ferrari
You need to be careful with your syntax, as you mentioned 'dhcppc0' but then pinged variant names
Did you try this?
|
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.
|
|
|
02-08-2017, 09:15 PM
|
#42
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
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.)
|
|
|
02-08-2017, 09:18 PM
|
#43
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
Maybe avahi isn't running on your system? What about just the following?
Also provide the output of
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)
|
|
|
02-08-2017, 09:41 PM
|
#44
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
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.
|
|
|
02-08-2017, 09:41 PM
|
#45
|
Member
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412
Original Poster
Rep:
|
Quote:
Originally Posted by ferrari
Maybe avahi isn't running on your system? What about just the following?
Also provide the output of
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!
|
|
|
All times are GMT -5. The time now is 03:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|