From: Wol <antlists@youngman.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Unable to locate printer
Date: Sun, 28 Jan 2024 19:05:37 +0000 [thread overview]
Message-ID: <0326db17-c19f-452b-b25c-14eca7503c53@youngman.org.uk> (raw)
In-Reply-To: <70024d67-264c-483a-9248-94eeb9ce8046@sys-concept.com>
On 28/01/2024 17:43, Thelma wrote:
> The solution was to change printer setting:
>
> lpd://BRN30055C898DF9/BINARY_P1
> lpd://brother-5370/BINARY_P1
>
> with:
> lpd://printer-IP-address/BINARY_P1
> lpd://printer-IP-address/BINARY_P1
That implies the problem is your router or printer - nothing to do with
gentoo.
Using the IP address is dangerous - unless you've explicitly configured
stuff, it can change ... At the end of the day, everything here is a
pain in the arse if you are using DHCP, and if you're using static IPs
it's a pain in the arse too ... :-)
What you want to do is configure your printer to send its DHCP with an
"I am called X" message. Your DHCP server (I guess it's your router)
then needs to configure DNS so that X matches whatever IP address it
hands out (that *should* happen automatically). Then everything "just
works (TM)".
The trouble is it sometimes doesn't "just work". With my router, I know
I have a local range of 192.168.1/8. And it's configured so that 1..127
are available for random DHCP allocation. 128..254 are static addresses.
and 0 and 255 are broadcast and router respectively. That's of course
all if IIRC.
But then, for my server(workstation) and printers I've then allocated a
static mac->IP mapping, so I can put a hard-coded entry in my hosts
file. Stuff I don't care about, laptops, mobile phones, games boxes, etc
just get a random IP.
Basically, you need to understand how DNS, DHCP, and all this name
allocation stuff works, and it's pretty logical. It just takes quite a
bit getting your head round it.
Cheers,
Wol
next prev parent reply other threads:[~2024-01-28 19:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-27 19:38 [gentoo-user] Unable to locate printer Thelma
2024-01-28 6:19 ` Michael Dinon
2024-01-28 7:00 ` Thelma
2024-01-28 6:36 ` Joe B
2024-01-28 17:43 ` Thelma
2024-01-28 18:46 ` Michael
2024-01-28 19:17 ` Thelma
2024-01-28 21:35 ` Alan Grimes
2024-01-29 2:53 ` Thelma
2024-01-29 12:16 ` Michael
2024-01-29 14:43 ` Thelma
2024-01-29 15:31 ` Michael
2024-01-29 15:57 ` Thelma
2024-01-29 11:23 ` Michael
2024-01-29 17:47 ` Thelma
2024-01-28 19:05 ` Wol [this message]
2024-01-28 19:30 ` Thelma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0326db17-c19f-452b-b25c-14eca7503c53@youngman.org.uk \
--to=antlists@youngman.org.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox