LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install Brother printer (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-brother-printer-4175598881/)

ferrari 02-08-2017 08:54 PM

Okay, assuming that you have nmap installed (you may need to run as root) do
Code:

nmap -sP 192.168.1.1-255

paxolin 02-08-2017 09:00 PM

Quote:

Originally Posted by ferrari (Post 5667549)
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


ferrari 02-08-2017 09:09 PM

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

paxolin 02-08-2017 09:46 PM

Quote:

Originally Posted by ferrari (Post 5667558)
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.

ferrari 02-08-2017 10:18 PM

Glad to have been of help.

ferrari 02-08-2017 10:28 PM

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

paxolin 02-08-2017 10:54 PM

Quote:

Originally Posted by ferrari (Post 5667585)
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.

ferrari 02-08-2017 11:12 PM

Okay, thanks. At least you have it working with the hard-coded IP address.


All times are GMT -5. The time now is 12:25 AM.