LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-18-2022, 11:52 AM   #1
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Rep: Reputation: Disabled
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.
 
Old 06-18-2022, 03:02 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,266

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
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.
 
Old 06-18-2022, 03:36 PM   #3
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
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....
 
Old 06-18-2022, 03:43 PM   #4
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jkcray View Post
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?
 
Old 06-18-2022, 03:46 PM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,289
Blog Entries: 48

Rep: Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582
jkcray,

Try this link:
https://forums.linuxmint.com/viewtopic.php?t=317595

Open a Terminal and install lib32z1:

Code:
sudo apt install lib32z1
Failing that, this link may help:
https://www.linuxquestions.org/quest...er-4175698450/

Last edited by beachboy2; 06-18-2022 at 04:03 PM.
 
Old 06-18-2022, 04:11 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,517

Rep: Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224
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.
 
Old 06-18-2022, 05:23 PM   #7
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-19-2022, 04:16 AM   #8
openbsd98324
Member
 
Registered: Feb 2022
Posts: 72

Rep: Reputation: 5
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:
Code:
su -
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.
 
Old 06-19-2022, 04:20 AM   #9
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by openbsd98324 View Post
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.
 
Old 06-19-2022, 04:24 AM   #10
openbsd98324
Member
 
Registered: Feb 2022
Posts: 72

Rep: Reputation: 5
Quote:
Originally Posted by jkcray View Post
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.
 
Old 06-19-2022, 05:07 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,266

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
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.
 
Old 06-19-2022, 05:27 AM   #12
jkcray
Member
 
Registered: Feb 2019
Location: Ireland
Distribution: Ubuntu 20.04 LTS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
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.
 
Old 06-19-2022, 06:31 AM   #13
openbsd98324
Member
 
Registered: Feb 2022
Posts: 72

Rep: Reputation: 5
Quote:
Originally Posted by business_kid View Post
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.
 
Old 06-19-2022, 06:32 AM   #14
openbsd98324
Member
 
Registered: Feb 2022
Posts: 72

Rep: Reputation: 5
Quote:
Originally Posted by jkcray View Post
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.
 
Old 06-19-2022, 06:38 AM   #15
openbsd98324
Member
 
Registered: Feb 2022
Posts: 72

Rep: Reputation: 5
Quote:
Originally Posted by jkcray View Post
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.
 
  


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
Install brother printer - Brother printer support smithk Linux - Software 3 10-07-2020 04:30 PM
[SOLVED] Brother printer HL-2270DW driver - Brother solutions offer four - which one? juneymoon Linux - Software 9 06-15-2013 05:52 PM
HP All in One Printer Scanner Copier 1210 Install seanmaggs Linux - Hardware 1 03-28-2004 08:13 AM
Printer Installation... HELP Samsung ML-1210 kngharv Linux - General 2 03-07-2002 11:45 PM

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

All times are GMT -5. The time now is 06:49 PM.

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