LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 09:54 PM   #46
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

Okay, assuming that you have nmap installed (you may need to run as root) do
Code:
nmap -sP 192.168.1.1-255
 
Old 02-08-2017, 10:00 PM   #47
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
Okay, assuming that you have nmap installed (you may need to run as root) do
Code:
nmap -sP 192.168.1.1-255
OK, does this help? (I'm afraid it means nothing to me)

Code:
~ $ nmap -sP 192.168.1.1-255

Starting Nmap 7.01 ( https://nmap.org ) at 2017-02-09 09:57 ICT
Nmap scan report for 192.168.1.1
Host is up (0.0046s latency).
Nmap scan report for 192.168.1.100
Host is up (0.76s latency).
Nmap scan report for 192.168.1.102
Host is up (0.27s latency).
Nmap scan report for 192.168.1.103
Host is up (0.0022s latency).
Nmap scan report for 192.168.1.104
Host is up (0.00017s latency).
Nmap scan report for 192.168.1.105
Host is up (0.28s latency).
Nmap scan report for 192.168.1.108
Host is up (0.28s latency).
Nmap done: 255 IP addresses (7 hosts up) scanned in 43.89 seconds
 
Old 02-08-2017, 10:09 PM   #48
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
I see from your network report that your printer is using the DHCP-assigned address 192.168.1.108
Code:
brsaneconfig4 -a name=brother model=MFC-J430W ip=192.168.1.108
Although there is risk of the assigned IP address changing some time in the future, most routers will reserve it based on the MAC address of the printer.

You could also try the nodename reported I guess...
Code:
brsaneconfig4 -a name=brother model=MFC-J430W nodename=BRNA417314C54E3
Don't forget to remove any existing config first with
Code:
brsaneconfig4 -r brother
 
1 members found this post helpful.
Old 02-08-2017, 10:46 PM   #49
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
I see from your network report that your printer is using the DHCP-assigned address 192.168.1.108
Code:
brsaneconfig4 -a name=brother model=MFC-J430W ip=192.168.1.108
Although there is risk of the assigned IP address changing some time in the future, most routers will reserve it based on the MAC address of the printer.

You could also try the nodename reported I guess...
Code:
brsaneconfig4 -a name=brother model=MFC-J430W nodename=BRNA417314C54E3
Don't forget to remove any existing config first with
Code:
brsaneconfig4 -r brother
OK, I did this:
Code:
~ $ brsaneconfig4 -r brother
~ $ brsaneconfig4 -a name=brother model=MFC-J430W nodename=BRNA417314C54E3
It was accepted immediately, didn't throw up any error I could see.
I tried scanning, still not working. It must have seen the config, as the scanner is listed as "Brother brother".


Then I tried:
Code:
~ $ brsaneconfig4 -r brother
~ $ brsaneconfig4 -a name=brother model=MFC-J430W ip=192.168.1.108
Success!!! It scanned and let me save the doc, etc.
So for my Brother scanner it's down to specifying an ip address. As you say, I need to save the details, in case the ip address get changed by the router in the future.

Thanks for all the help ferrari, it's much appreciated. You definitely persisted with this one.
 
Old 02-08-2017, 11:18 PM   #50
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
Glad to have been of help.
 
Old 02-08-2017, 11:28 PM   #51
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
If you get the time let us know if the following also works (don't know if this was tried already)
Code:
brsaneconfig4 -r brother
Code:
brsaneconfig4 -a name=brother model=MFC-J430W nodename=dhcppc0
 
Old 02-08-2017, 11:54 PM   #52
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
If you get the time let us know if the following also works (don't know if this was tried already)
Code:
brsaneconfig4 -r brother
Code:
brsaneconfig4 -a name=brother model=MFC-J430W nodename=dhcppc0
It's the least I can do. Unfortunately the above didn't work. Thanks for the suggestion though.
 
Old 02-09-2017, 12:12 AM   #53
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
Okay, thanks. At least you have it working with the hard-coded IP address.
 
1 members found this post helpful.
  


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