LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-23-2021, 10:42 PM   #1
M4xx1m1l14nn
LQ Newbie
 
Registered: Mar 2021
Posts: 10

Rep: Reputation: Disabled
Need help connecting Ubuntu machine to a Brother HL-L2305w Laser Printer for CUPS


Brother HL-L2305w Laser Printer for CUPS
OS: Ubuntu 20.04.2 LTS, 64 bit
GNOME: 3.36.8

Used linux-brprinter-installer-2.2.2-2 to install drivers.

Printer and laptop are connected to the same WiFi SSID network.
Test prints can be made directly from the printer but not from the laptop.

Note: This printer was previously connected to a Windows machine and one test print indicates that the Windows drivers are still installed.



Code:
$ avahi-discover
Browsing domain 'local' on -1.-1 ...
Browsing for services of type '_http._tcp' in domain 'local' on 3.0 ...
Browsing for services of type '_ipp._tcp' in domain 'local' on 3.0 ...
Browsing for services of type '_printer._tcp' in domain 'local' on 3.0 ...
Browsing for services of type '_pdl-datastream._tcp' in domain 'local' on 3.0 ...
Found service 'Brother HL-L2305 series' of type '_http._tcp' in domain 'local' on 3.0.
Found service 'Brother HL-L2305 series' of type '_ipp._tcp' in domain 'local' on 3.0.
Found service 'Brother HL-L2305 series' of type '_printer._tcp' in domain 'local' on 3.0.
Found service 'Brother HL-L2305 series' of type '_pdl-datastream._tcp' in domain 'local' on 3.0.


Code:
$ avahi-browse -rt _ipp._tcp
+   wlo1 IPv4 Brother HL-L2305 series                       Internet Printer     local
Failed to resolve service 'Brother HL-L2305 series' of type '_ipp._tcp' in domain 'local': Timeout reached
It seems that the laptop and printer cannot "see" each other so printing from the laptop is not possible. Solutions?
 
Old 03-24-2021, 05:58 AM   #2
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Welcome to LQ!

I am not familiar with linux-brprinter-installer-2.2.2-2 but I think best to install the official driver and try again: https://support.brother.com/g/b/down...od=hll2305w_us

You can also post the output of dmesg if need be which will give an indication of what is happening behind the scenes
 
Old 03-24-2021, 10:36 AM   #3
M4xx1m1l14nn
LQ Newbie
 
Registered: Mar 2021
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gad View Post
Welcome to LQ!

I am not familiar with linux-brprinter-installer-2.2.2-2 but I think best to install the official driver and try again: https://support.brother.com/g/b/down...od=hll2305w_us

You can also post the output of dmesg if need be which will give an indication of what is happening behind the scenes
Thanks for the warm welcome!

Here are the results of dmesg: https://pastebin.com/gS2CQq0f


What's preventing my machine from communicating with the printer?
 
Old 03-24-2021, 11:49 AM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
You said this printer is wifi and both the printer and your laptop are on the same network. IIUC you also said windows dual boots and can print so the network and printer are ruled out as suspects, which only leaves the config as an issue.

When I set up my HP printer as wifi I assigned it a static IP.
Then when I configured it I manually configured the PC to see the printer at the assigned IP. That has worked every time I get a new system, do an upgrade, do a reinstall, etc.
I use the hplip driver package of course, but cannot see how that would be majorly different than the brother install and config process. It has to be configured as wifi, and has to know the address to communicate with. The static IP is to prevent the DHCP server from changing addresses for the printer, which can happen.

Last edited by computersavvy; 03-24-2021 at 11:52 AM.
 
Old 03-24-2021, 12:40 PM   #5
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
I missed the wireless part At minimum you should be able to ping the printer from your computer then start looking at the config
 
Old 03-24-2021, 03:14 PM   #6
M4xx1m1l14nn
LQ Newbie
 
Registered: Mar 2021
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gad View Post
I missed the wireless part At minimum you should be able to ping the printer from your computer then start looking at the config
No worries



Here are the results of running the various commands suggested in this troubleshooting guide.

What's it all mean and where do I go from here?
 
Old 03-24-2021, 04:18 PM   #7
M4xx1m1l14nn
LQ Newbie
 
Registered: Mar 2021
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gad View Post
I missed the wireless part At minimum you should be able to ping the printer from your computer then start looking at the config

This guide led me to the solution. In particular, adding the printer's IP address via the "Find Network Printer" feature did the trick! Thanks so much for your time and effort
 
Old 03-25-2021, 01:41 AM   #8
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Well played! Please remember to mark the thread as solved
 
  


Reply



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
[SOLVED] Cups - Slackware 14.1 and the Brother - HL-3170CDW Laser Printer bitfuzzy Slackware 1 10-07-2017 08:46 AM
Brother laser printer identified as an HP printer(?) taylorkh Ubuntu 2 05-21-2014 11:41 AM
[SOLVED] CUPS no longer printing with Brother HL2170W laser printer lpallard Linux - Software 8 06-26-2011 04:45 AM
Fedora Printer Problem: Brother Laser Printer drops the first one or two centimeters merlinsenger Linux - Newbie 2 05-24-2008 06:13 AM
CUPS setup with Brother HL-5250DN laser printer fof3 Linux - Hardware 1 11-24-2007 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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