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 |
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.
|
 |
|
06-18-2022, 11:52 AM
|
#1
|
Member
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65
Rep: 
|
Brother HL-1210 printer won't pair with router
Hi - this is perhaps only marginally a Linux issue but as the DVD with printer drivers that came that came with the above printer is for MS Windows maybe that gets me in the door?
I connected the printer to my Linux pc with a USB cable and CUPS did its stuff and configured the printer on localhost using the USB connection.
So I can print OK on the Linux box that has the USB connection to the printer
Next I tried sharing the printer using the WPS button on my router and the network button on the printer as advised in the very minimal instructions that came with the printer.
The printer has no display panel so just prints out a diagnostic page saying that it cannot detect a WLAN access point/router that has WPS or AOSS enabled.
When I access the router using a browser on 192.168.1.1 I see that WPS is enabled.
I'm baffled.
Any suggestions very much appreciated.
Last edited by jkcray; 06-18-2022 at 12:21 PM.
|
|
|
06-18-2022, 03:02 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,266
|
If the host is network friendly, best to let it have it's own IP. I have a mono laser with it's own ip and other pcs, even mobiles can print by using it's IP. Saves you messing with your box.
EDIT: I'd ignore WPS - I never got any good from it.
|
|
|
06-18-2022, 03:36 PM
|
#3
|
Member
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65
Original Poster
Rep: 
|
Quote:
Originally Posted by business_kid
If the host is network friendly, best to let it have it's own IP. I have a mono laser with it's own ip and other pcs, even mobiles can print by using it's IP. Saves you messing with your box.
EDIT: I'd ignore WPS - I never got any good from it.
|
Thanks. I had a wired connection to my old HPLP but the cheapo Brother only has a USB port and a wifi antenna....
Anyway the USB connection works fine but I'd like to be able to share the printer round the house....
|
|
|
06-18-2022, 03:43 PM
|
#4
|
Member
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65
Original Poster
Rep: 
|
Quote:
Originally Posted by jkcray
Thanks. I had a wired connection to my old HPLP but the cheapo Brother only has a USB port and a wifi antenna....
Anyway the USB connection works fine but I'd like to be able to share the printer round the house....
|
Monitoring the router log it looks like the router is firewalling 192.168.1.2 which I think must be the printer IP on the local network?
|
|
|
06-18-2022, 04:11 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,517
|
Unfortunately that does not help the OP connect the printer to their wireless network. That posted link does reference correctly that Brother's drivers are 32 bit.
It might help if you moved the printer closer to the router. If the printer connected successfully then you should see it on the router in the connected devices or some similar page. Depending on the router and its capabilities you might see the printer's host name which usually is something that starts with BRN. The Printer has a builtin web server so you could put that address in your web browser and see what pops up.
You can share the printer from the attached PC but it must be powered on in order to print from other printers on the network.
|
|
|
06-18-2022, 05:23 PM
|
#7
|
Member
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65
Original Poster
Rep: 
|
Thanks guys.
I've installed the 32bit libraries and will try moving the printer closer to the router.
Will report progress tomorrow.
Last edited by jkcray; 06-18-2022 at 05:34 PM.
|
|
|
06-19-2022, 04:16 AM
|
#8
|
Member
Registered: Feb 2022
Posts: 72
Rep:
|
It is better to use amd64/aarch64,... rather than i386. But, anyhow, all of them work.
I do usually this way:
debootstrap of debian sid to /SID
(the best is to use SID debian, to have the latest package).
I plug the USB of the brother printer onto the machine.
then here a help to chroot.
https://gitlab.com/openbsd98324/printer
I install brlaser.
lpadmin and lpstat -a might be useful to check, if needed.
dmesg (onto chroot) to check that usb is seen.
Once done, then, /etc/init.d/cups start
(into chroot).
and cups-bsd package will allow you to print with lp.
Have Fun!
(edit)
to get root:
in the modern debian (hmm.).
For online help and support:
https://kiwiirc.com/nextclient/irc.l...hannels=#linux
Last edited by openbsd98324; 06-19-2022 at 04:22 AM.
|
|
|
06-19-2022, 04:20 AM
|
#9
|
Member
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65
Original Poster
Rep: 
|
Quote:
Originally Posted by openbsd98324
I do usually this way:
debootstrap of debian sid to /SID
I plug the USB of the brother printer onto the machine.
then here a help to chroot.
https://gitlab.com/openbsd98324/printer
I install brlaser.
dmesg (onto chroot) to check that usb is seen.
Once done, then, /etc/init.d/cups start
(into chroot).
and cups-bsd package will allow you to print with lp.
Have Fun!
|
Thanks but I can print fine via USB cable.
That "just worked" via cups when I connected the printer to my Linux box.
My difficulty is getting the printer to connect to the router.
|
|
|
06-19-2022, 04:24 AM
|
#10
|
Member
Registered: Feb 2022
Posts: 72
Rep:
|
Quote:
Originally Posted by jkcray
Thanks but I can print fine via USB cable.
That "just worked" via cups when I connected the printer to my Linux box.
My difficulty is getting the printer to connect to the router.
|
sure, the USB is way way more more stable!! highly recommended.
I would recommend a raspberry pi for more features, rather than on router. On router, it might be needed sometimes to flash the router to get it working.
For more questions, join #linux of irc, i am available currently.
|
|
|
06-19-2022, 05:07 AM
|
#11
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,266
|
I've a HP printer. You first assign it an IP by configuring it, and then run hp-setup <IP>. You can tell routers generally to assign the same IP to it every time.
|
|
|
06-19-2022, 05:27 AM
|
#12
|
Member
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65
Original Poster
Rep: 
|
Quote:
Originally Posted by business_kid
I've a HP printer. You first assign it an IP by configuring it, and then run hp-setup <IP>. You can tell routers generally to assign the same IP to it every time.
|
hp-setup is a Linux script?
I don't know if there are similar Linux utilities for brother printers?
Update:
Yes there are.
linux-brprinter-installer-2.2.3-1
The problem is that I need the Device URI.
Not sure what this is?
Quote:
When you see the message "Will you specify the DeviceURI ?",
For USB Users: Choose N(No)
For Network Users: Choose Y(Yes) and DeviceURI number.
|
Last edited by jkcray; 06-19-2022 at 06:27 AM.
|
|
|
06-19-2022, 06:31 AM
|
#13
|
Member
Registered: Feb 2022
Posts: 72
Rep:
|
Quote:
Originally Posted by business_kid
I've a HP printer. You first assign it an IP by configuring it, and then run hp-setup <IP>. You can tell routers generally to assign the same IP to it every time.
|
he wrote Brother Printer, he never wrote HP.
HP is just code bloat.
|
|
|
06-19-2022, 06:32 AM
|
#14
|
Member
Registered: Feb 2022
Posts: 72
Rep:
|
Quote:
Originally Posted by jkcray
hp-setup is a Linux script?
I don't know if there are similar Linux utilities for brother printers?
Update:
Yes there are.
linux-brprinter-installer-2.2.3-1
The problem is that I need the Device URI.
Not sure what this is?
|
- (recommended):
You can install SID from a live debian dvd.
- (non recommended):
you can run it from a rootfs, on my gitlab under debian-sid.
I guess I have a sid rootfs somewhere.
mkfs.ext3 and tar xvpfz ... boot it from grub
and install brlaser.
apt-get install something with brlaser
here your brother: https://packages.debian.org/de/sid/p...driver-brlaser
Last edited by openbsd98324; 06-19-2022 at 06:37 AM.
|
|
|
06-19-2022, 06:38 AM
|
#15
|
Member
Registered: Feb 2022
Posts: 72
Rep:
|
Quote:
Originally Posted by jkcray
hp-setup is a Linux script?
I don't know if there are similar Linux utilities for brother printers?
Update:
Yes there are.
linux-brprinter-installer-2.2.3-1
The problem is that I need the Device URI.
Not sure what this is?
|
When you see the message "Will you specify the DeviceURI ?",
For USB Users: Choose N(No)
For Network Users: Choose Y(Yes) and DeviceURI number.
you have a Brother, not a HP Printer.
HP Setup will put mess and will certainly not work for a Brother printer.
|
|
|
All times are GMT -5. The time now is 06:49 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
|
|