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, 09:54 PM
|
#46
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
Okay, assuming that you have nmap installed (you may need to run as root) do
Code:
nmap -sP 192.168.1.1-255
|
|
|
02-08-2017, 10:00 PM
|
#47
|
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
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
|
|
|
02-08-2017, 10:09 PM
|
#48
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
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.
|
02-08-2017, 10:46 PM
|
#49
|
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
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.
|
|
|
02-08-2017, 11:18 PM
|
#50
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
Glad to have been of help.
|
|
|
02-08-2017, 11:28 PM
|
#51
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
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
|
|
|
02-08-2017, 11:54 PM
|
#52
|
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
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.
|
|
|
02-09-2017, 12:12 AM
|
#53
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
Okay, thanks. At least you have it working with the hard-coded IP address.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 05:33 AM.
|
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
|
|