Re: Debian USB Wifi

2023-06-06 Thread gene heskett

On 6/6/23 09:43, to...@tuxteam.de wrote:

On Tue, Jun 06, 2023 at 09:33:03AM -0400, Celejar wrote:

[...]


My trusty search engine finds that it did indeed make it into 5.16 - but
it does need non-free firmware:

https://www.thinkwiki.org/wiki/Rtw89
https://www.thinkwiki.org/wiki/Rtw89#Firmware


Thanks for completing. So free driver, but non-free blob. Sad.

Cheers


I should probably remind the list that this situation can be laid on the 
FCC's front desk here in the US, and in most of the countries that agree 
to abide by a common set of rules, that this is by edict, specifically 
to control what are usually software defined radios. The edict reads to 
the effect that it is programmed for a certain class of service, on a 
specific set of frequencies, called channels in normal lingo, and they 
must NOT be capable of having those limits defeated by you or I.


Consequently that portion of the control is a sealed blob you all hate 
because it is not accompanied by src code and there are some hefty fines 
(27,500 USD the last I heard, per instance) they can use against anyone 
disassembling that part of the code.  For a 3 dollar radio at OEM cost?


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Cable colors and urban legends

2023-06-04 Thread gene heskett

On 6/2/23 22:41, Stefan Monnier wrote:

5~10 years ago, I cut the end off of a bad red SATA cable.
To my surprise, the copper conductor was disintegrating as Gene describes.
Unbelievable.
Somebody botched their chemical engineering.


Cool: second first hand account.  Thanks.
So there is at least some anectodal evidence.

I also found a potentially related reference to a 70's problem
with corrosive wire insulation at 
https://www.ifixit.com/Answers/View/304699/Oxidation+of+copper+wire
but still can't find anything more concrete (and that one doesn't
mention the insulation's dye as the culprit).


 Stefan

I'm convinced after chasing electrons to make them do work since the 
middle of WW-II, that the dye is the most likely suspect. The evidence 
is admittedly thin, but its there by the fact that other colors may 
flex, fatigue from flexing and fail but they are still copper colored 
when cut into. In broadcasting, which I switched to in late '63 after 
getting a 1st phone in '62,  dependability is the target and while its 
not even the biggest reason for replacing a cable, I have probably 
replaced half a mile of it that no longer said it was conductive, 5 or 6 
feet at a time. I've never been reticent about calling a maker who 
screwed up and telling them so. The surprising thing is that of course 
there are folks who've never made a mistake, those soon get crossed off 
my procurement list. However 90% of such phone calls have been met with 
at first surprise, and then thanked for alerting them to what could be a 
costly warranty make good. Those folks filtered to the top of my srcs 
lists.  Some of my hunches have worked very well if only by serendipity.
As a mid market CE, we often would buy yesterdays tech from folks in the 
top 10 markets, so we bought one of the legendary Grass Valley 300-3A/B 
production video switchers, this one from the JCPennys production house 
in NYC. It had some problems, mostly corrosion from NYC's poor air. Chip 
legs turned black, so we bought tarnex by the pint. Several times.


It also had a serial interface, so I wrote an e-disk that worked better 
than grasses $20,000 item, ran it on an old coco2 with floppy drives.


Once I had that working I could ask a circuit to do something and see 
its response. This thing was full of 4 bit wide fifo's, 2 to make an 8 
bit byte.


They were out to lunch and usually late getting back. Called Grass, it 
was special and they were out.  Sorta memory, so I called AMD next, 
yeah, we made them for grass but we've given then a JEDEC number now, 
how many do you want at $1.90 ea, so I ordered a stick of 25.  Fixed it 
right up. I could go on with my war stories, but I'm boring the list 
with off topic rattling. Just suffice to say I've BT & DT many times.


Take care & stay well Stefan.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Cable colors and urban legends (was: Error Messages)

2023-06-03 Thread gene heskett

On 6/3/23 15:18, Roy J. Tellason, Sr. wrote:

On Friday 02 June 2023 04:03:48 pm gene heskett wrote:

And I'll repeat, I am a CET, something that probably less than 5% of the
working EE's could pass that test. CET's are a bit rare, I've yet to
meet another on the net.


Uh,  yes you have...

(Certificate PA-230 issued in 1981.)

Roy, I don't recall that being part of the conversation at the time we 
met, now several years ago.


NEB-118, 06-20-1972 here.

Take care & stay well, from one rare bird to another.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: need nano like editor that can print

2023-06-03 Thread gene heskett

On 6/3/23 11:10, pa...@quillandmouse.com wrote:

On Sat, 3 Jun 2023 10:22:42 -0400
gene heskett  wrote:


An simple non-x editor like nano that can print thru cups.


Vim will do this through the "hardcopy" command. It sends text to the
print server (CUPS). I do this all the time.

Of course, vim isn't nano; you'd have to live with modes.

Paul

I think it was in 2001 that I last used vim.  Painted myself into a 
corner so to speak and had to exit with the reset button.
Geany, an x app, would be great, but the security mavens have gone all 
googly eyed killing that for ssh _Y logins.


I'm amazed the got away with tht one, setting linux usability back two 
decades or more.  Dheesh


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



need nano like editor that can print

2023-06-03 Thread gene heskett
An simple non-x editor like nano that can print thru cups. 



Is there such a critter?

Thanks.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Cable colors and urban legends

2023-06-02 Thread gene heskett

On 6/2/23 16:26, Stefan Monnier wrote:

Plain old red is fine. Its the hot red which veers off toward magenta that
is the problem child, that particular dye is almost fluorescent, it gets
your attention in a sea of the more commonly use red dye for
electrical stuff.


I'm pretty sure there are various ways to get that color, so if one of
the dyes is problematic, that doesn't necessarily carry over to other
cables using the "same" color, especially if produced decades later.


They have gotten better, the originals in 1975 had a life of 6 months. 
When they started using it for the outer jackets of sata cables, the 
first generation had a life of 2, maybe 3 years. I suspect the diff is 
whatever is between that bright outer jacket and the actual conductors 
coating inside the hot red jacket slowing the migration of the chemical 
failure. Everything I've built in the last 8 or so years, has black or 
tan cables with latches, zero problems.  I've rebuilt 2 years back and 
used new black cables to build a raid 10 for home.



The J.A.Pan Company first used it in their cb radios in the earlier 1970's
for the transmit button on the microphone and I spent the next 5 years
replacing them with Beldon coil cables, then switched jobs, moved 1000 miles
& never offered my services to another CB dealer, I was too busy keeping
a tv station on the air, spending the last 18+ years of my working life as
the CE at WDTV-5 in Weston/Clarksburg WV.  My electronic history goes back
to about my 8th birthday when I built a crystal radio from parts. So I grew
up with vacuum tubes, quit school in 1948 and went to work fixing the then
brand new things still called tv's.

You may not have heard about it, but I've lived it.


There's lots that I haven't heard about, but often "the Internet" has.
In this case my searches turn up strangely empty.


And because its gaudy, and guarantees a replacement market in the
future for more of their product, the Chinese will keep using it.


Are you sure that's actually the case?  I can't imagine that the
additional sales for replacing failing magenta sata cable would
represent anything more than tiny fraction the market.
And can you point to any kind of evidence/reports that
it affected sata cables?

[ Also, the fact that it's produced in China doesn't mean that the
   decision to cut corners would be made by "the Chinese".  ]


With the advent of the MBA diploma, you're 200% correct.  Fellow named 
Shakespear wrote, first we kill all the lawyers but he'd not tangled 
with any MBA's in his day...



     Stefan

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Cable colors and urban legends (was: Error Messages)

2023-06-02 Thread gene heskett

On 6/2/23 15:01, James H. H. Lampert wrote:

On 6/2/23 11:33 AM, Stefan Monnier wrote:


This is very hard to believe.  I'm willing to believe that there have
been insulation dyes that have proved problematic, but if you've
encountered those problems in the 70s I find it *really* odd that it
would still affect cables from this century (e.g. sata cables).


Yes, and red-insulated wire has been in common use for many decades, on 
everything from primary power wiring for buildings (when the "hot" wires 
for multiple circuits, or for both "hot" wires of a 240VAC circuit, are 
run together), to automotive wiring, to model train wiring, and I've 
never heard of red (or any other particular color) insulation (or cable 
jacketing, heat shrink, split-loom, or spiral-wrap) causing damage to 
conductors. More likely, it was a particular material, possibly 
containing a plasticizer that turned out to react with copper. And it's 
rather unlikely that any such material wouldn't be "deprecated with 
extreme prejudice" as soon as the problem was discovered.


Plain old red is fine. Its the hot red which veers off toward magenta 
that is the problem child, that particular dye is almost fluorescent, it 
gets your attention in a sea of the more commonly use red dye for 
electrical stuff.


The J.A.Pan Company first used it in their cb radios in the earlier 
1970's for the transmit button on the microphone and I spent the next 5 
years replacing them with Beldon coil cables, then switched jobs, moved 
1000 miles & never offered my services to another CB dealer, I was too 
busy keeping a tv station on the air, spending the last 18+ years of my 
working life as the CE at WDTV-5 in Weston/Clarksburg WV.  My electronic 
history goes back to about my 8th birthday when I built a crystal radio 
from parts. So I grew up with vacuum tubes, quite school in 1948 and 
went to work fixing the then brand new things still called tv's.


You may not have heard about it, but I've lived it. And because its 
gaudy, and guarantees a replacement market in the future for more of 
their product, the Chinese will keep using it.


And I'll repeat, I am a CET, something that probably less than 5% of the 
working EE's could pass that test. CET's are a bit rare, I've yet to 
meet another on the net.  And I've been looking since 1985 when I logged 
into delphi with a color computer running os-9 level 1.



--
JHHL

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Error Messages

2023-06-02 Thread gene heskett

On 6/2/23 09:09, gene heskett wrote:

On 6/2/23 06:27, David wrote:
On Thu, 1 Jun 2023 at 18:43, Mick Ab  
wrote:



Recently, Hardware error messages such as the following have
appeared every few weeks :-


Hi, given that you say these sympoms appear and disappear, the first
and easy thing
I would try, is to re-seat (ie disconnect and reconnect) every SATA 
connector.

Particularly device ata5 and whatever device is backing dm-0.

.
And, strange as it sounds, replace any "hot red" aka "magenta" sata 
cable with some other color.  I am a CET and known to me since the 
1970's, that color of insulation dye will in time, convert the copper of 
the conductor into a rust colored powder, and that is a poor conductor. 
Its cheap, and it may not fix the problem, but its first by a large 
margin in a long list of likely culprits.


Test by opening a terminal and putting a tail -fn50 /var/log/syslog, get 
where you can see the screen, and the opened computer and touch/move 
slightly, the middle of all sata cables with a lead pencil, move it half 
an inch or so, if the log blows up with errors, that cable is burnt 
toast, replace it.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Error Messages

2023-06-02 Thread gene heskett

On 6/2/23 06:27, David wrote:

On Thu, 1 Jun 2023 at 18:43, Mick Ab  wrote:


Recently, Hardware error messages such as the following have
appeared every few weeks :-


Hi, given that you say these sympoms appear and disappear, the first
and easy thing
I would try, is to re-seat (ie disconnect and reconnect) every SATA connector.
Particularly device ata5 and whatever device is backing dm-0.

.
And, strange as it sounds, replace any "hot red" aka "magenta" sata 
cable with some other color.  I am a CET and known to me since the 
1970's, that color of insulation dye will in time, convert the copper of 
the conductor into a rust colored powder, and that is a poor conductor. 
Its cheap, and it may not fix the problem, but its first by a large 
margin in a long list of likely culprits.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: netmask question

2023-05-22 Thread gene heskett

On 5/22/23 15:04, to...@tuxteam.de wrote:

On Mon, May 22, 2023 at 12:16:09PM -0400, gene heskett wrote:

On 5/22/23 03:32, Tim Woodall wrote:

On Mon, 22 May 2023, to...@tuxteam.de wrote:

   number; for (human) display it is subdivided into four 8 bit chunks

(called "octets" for obvious reasons), and those octets only can
go from 0 to 255 (since 2^8 == 255).


Nit, but 2^8 is 256.

.

The octets count from base 0 Tim.


That's right, but then they go 0 .. 2^8 - 1. 2^8 is still 256, Tim does
have a point there :-)

I don't see it, 255 is all 8 bits set, 256 is all 8 bits cleared and 
carry set.



Cheers


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: netmask question

2023-05-22 Thread gene heskett

On 5/22/23 03:32, Tim Woodall wrote:

On Mon, 22 May 2023, to...@tuxteam.de wrote:

  number; for (human) display it is subdivided into four 8 bit chunks

(called "octets" for obvious reasons), and those octets only can
go from 0 to 255 (since 2^8 == 255).


Nit, but 2^8 is 256.

.

The octets count from base 0 Tim.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: AW: PANIC Debian 11 LXDE After update no booting is possible

2023-05-20 Thread gene heskett

On 5/20/23 07:32, Schwibinger Michael wrote:


AW: PANIC Debian 11 LXDE After update no booting is possible

Good afternoon
Thank You for email.
I think
in Linux
I shall post here a file
where the other users of the group can see the mistake I did.

Which file shall I read out and mail here to the group?

Regards
Sophie

The computer is using
Browsers
Thunderbird
Gedit<<<<<<<<<
Gesendet: Freitag, 19. Mai 2023 15:47
An: Debian Users 
Betreff: Re: PANIC Debian 11 LXDE After update no booting is possible

On 5/19/23, Schwibinger Michael  wrote:

Good afternoon

I did the update and
when doing new start:
Crash



Hi, Sophie.. While you're waiting for others to respond, am typing to
say I just went through this a couple days ago. Our situations are all
so different so this is a recap of what happened for me.

In *my* case, something unknown changed a BUNCH of (but not all) top
level root directory permissions. I found out by accident while trying
to mitigate the first errors I encountered.

At some point, systemd was referenced and was freaking out that it had
lost permissions. That's when I ran "ls -ld /*" and received e.g.:

lrwxrwxrwx   1 root  root  7 Feb 11 14:26 /bin -> usr/bin
drwxr-xr-x   4 1001 1001  4096 May 17 05:47 /boot
drwxr-xr-x  11 root  root  36864 Feb 12 14:17 /dev
drwxr-xr-x 125 1001 1001 12288 May 16 22:12 /etc
drwxr-xr-x   5 1001 1001  4096 Apr 14 02:39 /home
lrwxrwxrwx   1 root  root  7 Feb 11 14:26 /lib -> usr/lib
lrwxrwxrwx   1 root  root  9 Feb 11 14:26 /lib32 -> usr/lib32
lrwxrwxrwx   1 root  root  9 Feb 11 14:26 /lib64 -> usr/lib64
lrwxrwxrwx   1 root  root 10 Feb 11 14:26 /libx32 -> usr/libx32
drwx--   2 1001 1001 16384 Feb  9 20:57 /lost+found
drwxr-xr-x   4 1001 1001  4096 Apr 21 20:52 /media
drwxr-xr-x  10 1001 1001  4096 May 16 16:27 /mnt
drwxr-xr-x   3 1001 1001  4096 Feb 26 16:44 /opt
drwxr-xr-x   2 root  root   4096 Oct  3  2022 /proc
drwx--   8 root  1001  4096 May 16 22:19 /root

1001 is the username I was on when the incident occurred. That /root
change is odd because it only changed one of them. Even odder is how
whatever did this made only partial permission changes instead of
altering all child directories under the top level parent "/"
directory.

First sign something was wrong was that I suddenly couldn't log onto
the Internet. Prior to that, everything else worked as expected.

Then I rebooted and landed at an "sh" prompt. A second or third reboot
landed at that dreaded kernel panic screen that only shuts down for me
by punching the hardware ON/OFF button.

I had also done an update/upgrade a few hours before. Newest program
added was Einstein after a different Debian-User thread reminded me it
exists.

In case it helps narrow down a culprit, the last four apt-get actions
I performed between 2023.05.15 and 2023.05.16 are:


 START SNIPPETS FROM /var/log/apt/history.log 

Upgrade: libgsl27:amd64 (2.7.1+dfsg-3+b1, 2.7.1+dfsg-4),
libgslcblas0:amd64 (2.7.1+dfsg-3+b1, 2.7.1+dfsg-4)

Install: libsdl-mixer1.2:amd64 (1.2.12-17+b3, automatic),
libsdl-ttf2.0-0:amd64 (2.0.11-6, automatic), einstein:amd64
(2.0.dfsg.2-10+b1), libmikmod3:amd64 (3.3.11.1-7, automatic)

Upgrade: libcap2-bin:amd64 (1:2.66-3, 1:2.66-4), grub-pc-bin:amd64
(2.06-12, 2.06-13), libcap2:amd64 (1:2.66-3, 1:2.66-4),
grub-efi-amd64-bin:amd64 (2.06-12, 2.06-13), grub2-common:amd64
(2.06-12, 2.06-13), grub-common:amd64 (2.06-12, 2.06-13),
grub-pc:amd64 (2.06-12, 2.06-13)

Upgrade: google-chrome-stable:amd64 (113.0.5672.92-1,
113.0.5672.126-1), libtbbbind-2-5:amd64 (2021.8.0-1, 2021.8.0-2),
libtbbmalloc2:amd64 (2021.8.0-1, 2021.8.0-2), libtbb12:amd64
(2021.8.0-1, 2021.8.0-2)

 END SNIPPETS FROM /var/log/apt/history.log 

The affected partition is still here, but I didn't have time for
fighting with it. I debootstrap'ed onto another partition, installed a
ton of favorite programs (not Einstein), ran "ls -ld /*" on the new
partition, and all has been well...

So far.

PS I reported this exact kind of thing to Debian Security a number of
years ago. I was "blown off", shown the cyber door. The PRIVATE email
I sent them had explained the situation two different ways to help
expedite their receiving end's grasp of the repeatedly reproducible
direness of what happened.

In last year or so, someone else got credit for reporting a part of
the same thing I reported years ago. I don't remember what was left
out, but whatever it was, someone else has possibly figured it out...
so that it's not just Adobe perping it this time.

And they're perping it in a different way. Adobe had gone straight
down the line and changed everything directly under "/" to a third
party username. No root, no 1001 for that one back then.

Cindy :)
--
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *




Cheers, Gene Heskett

Re: [SOLVED] Re: Mouse trouble on sid

2023-05-18 Thread gene heskett

On 5/18/23 01:29, to...@tuxteam.de wrote:

On Wed, May 17, 2023 at 07:01:30PM +0100, Joe wrote:


Oh dear, oh dear...

Very sorry for the wasted time.

When I tried the wired mouse I did not actually unplug the wireless
mouse receiver, so it was still generating scroll events every 200ms


\o/

No wasted time. Everyone got to sharpen their debugging tools.

The nicest part is, this person (it was Kent West, I think) who
suggested electromagnetic interference wasn't that off the mark
(I was one of those saying "nah, not the hardware..." :-)

Thanks for resolving the suspense.

Cheers


And Kent was probably right, the mouse battery died, the receiver upped 
the gain, and something in the environment was making enough noise it 
was being interpreted as a wheel related signal.

As a broadcast engineer I can easily visualize that.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Bookworm CUPS Printing Revisited

2023-05-18 Thread gene heskett

On 5/18/23 00:28, David Wright wrote:

On Wed 17 May 2023 at 16:15:11 (-0400), gene heskett wrote:


Couple folks rather pointedly asked if I ever read changelogs.  But
before they can be read, they have to be found.  I just spent 2 hours
with mc, punching f3 on changelog.gz's, trolling thru /usr/share/docs
w/o finding an entry for kernels.  So where do I find this famous
changelog I'm supposed to read?  Or are we becoming windoze, and its a
secret?


Google:   linux kernel changelog

Hit 1:https://www.kernel.org/

Select:   5.0.180 chagelog

Edit: Last two characters in address bar s/80/79/

Enjoy.

Cheers,
David.

.
While this might work, it depends on a photographic memory to remember 
all that. At my age of 88, I can't remember what if anything I had for 
breakfast.


What we need is a web script that works something like tail, but shows 
everything newer the $date.  That would be very helpfull if the code is 
well explained and the reader has coding experience which I do. However 
its not with recent 64 and 128 bit stuff. OpenSCAD and rs-274-D gcode 
these days.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Bookworm CUPS Printing Revisited

2023-05-17 Thread gene heskett

On 5/17/23 15:11, Charles Curley wrote:

Thanks to Brian  on the thread "Re: CUPS on
Bullseye and Bookworm" I now have CUPS working on dragon, my bookworm
i386 architecture laptop.

Or I should say, CUPS printing is more or less working but something
else (GTK printing?) isn't. I can find the driverless printer on the
network, create a print queue for it, and print to it.

root@dragon:~# driverless
ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/
root@dragon:~# lpadmin -p M234 -v 
"ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/" -E -m 
everywhere
root@dragon:~# lp -d M234 /usr/share/cups/data/form_english.pdf
request id is M234-3 (1 file(s))
root@dragon:~# lp -d M234 /etc/nsswitch.conf
request id is M234-4 (1 file(s))
root@dragon:~#

So far, so good.

I have two problems:

1) I cannot print from abiword. abiword finds three printer queues:
print to file (which works), M234 (as previously set up), and
HP_Laserjet_MFP_M234dsw_COFB67. The two printer queues do not work. The
former see the printer light up, the "busy" indicator light up briefly,
then nothing. The latter evinces no action on the printer at all.

(I selected abiword rather than LibreOffice because LO is a bit of a
resource hog.)

2) When I print from the command line, I get results printing to M234.
But when I try printing to the other queue (directly to the printer as
I understand it), I see:

charles@dragon:~$ lp -d HP_Laserjet_MFP_M234dsw_C0FB67 ~/test.document.pdf
lp: Error - The printer or class does not exist.
charles@dragon:~$

I copied the printer name from abiword's list of available printers. Is
that the correct way to specify a driverless printer? I also tried
copying and pasting the ipps:// and dnssd:// printers shown by lpinfo
-v. Same error.

According to https://wiki.debian.org/CUPSDriverlessPrinting, "the GTK
print dialog on buster and before (firefox and evince, for example),
has its own way of dealing with a network printer. Unfortunately,
applications that print through this dialog do not make use of CUPS'
temporary queue formation. To have a queue for an IPP printer visible
and usable, users should manually set up a queue with lpadmin, the CUPS
web interface or system-config-printer or rely on cups-browsed to do it
for them. The situation on bullseye and later has improved." Regression?

I started this original thread because I could not get a bullseye client 
to work with this bullseye server but buster clients worked fine..  For 
me, the fix was something that can only be described as serendipity.


Apt had installed a newer kernel about a week back, probably a security 
fix, but since my whole system is behind the best guard dog ever, dd-wrt 
in my router, and I had just rebooted from an overnight freeze up, I 
ignored its blabbing that I needed to reboot until I had another similar 
freeze up Monday morning and had to reboot with the front panel reset 
button. New kernel now running, bullseye server to bullseye client now 
Just Works.


Not supposed to be snarky, but...

Couple folks rather pointedly asked if I ever read changelogs.  But 
before they can be read, they have to be found.  I just spent 2 hours 
with mc, punching f3 on changelog.gz's, trolling thru /usr/share/docs 
w/o finding an entry for kernels.  So where do I find this famous 
changelog I'm supposed to read?  Or are we becoming windoze, and its a 
secret?


Since 1992, a truely complete changelog is quite likely several 
terabytes so a URL link to a tail output would suffice.



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: EPSON ET M 1120 new printer: If You can read this, youareusingthe wrong driver

2023-05-16 Thread gene heskett

On 5/16/23 12:07, Brian wrote:

On Tue 16 May 2023 at 11:24:05 -0400, gene heskett wrote:


On 5/16/23 10:35, Brian wrote:

On Tue 16 May 2023 at 09:58:45 -0400, gene heskett wrote:


On 5/16/23 08:29, Andrew M.A. Cater wrote:


[...]


But yes, this is going nowhere - and there is no lsb package in Debian, I think.

Andy

.

Couple that with my recent discovery that debian seems to be shipping the
cups from apple, last updated by its author in 2019.


Did your investigations involve reading a changelog?


whazzat? Trolling thru /usr/share/ looking for those is a pita. And far more
often, a waste of time, not containing a useful amount of data.


Mmm. That's a novel way to dispose of the usefulness of changelogs and not
have to acknowledge what appears to be disinformation.
  

Given that clue, I would be surprised to find a "cups" driver in the debian
repo's capable of driving a newer epson product.


Please give yourself a treat and use 'lpinfo -m' :).


Thanks, I just did and it appears to show both brothers installed drivers
and the driverless, but driverless is not complete for either printer, where
the makers ppd is. for the laser, toner would last forever, very thin,
faint, had to read output, the mfcj6920dw only uses top tray, which is $8
for 50 sheets glossy photo paper. Tray 2, the bottom one has up to 350 pages
of duplex copy paper, the obvious choice, but the driverless driver doesn't
use it.


You made a comment on Epson products and Debian. I was rather hoping you would
address that rather than bringing up your concern with a possibly buggy printer
from another vendor.

Sorry, I somewhat subscribe to the suggestion Sophie is a chatbot 
learning, and was more concerned with my own problem cups children. But 
a new kernel on this machine, the "server" seems to have fixed the 
armbian bullseye machines.  epson, given their recent attitude about 
linux, and I as a potential customer pretty much quit worrying about 
them since ink or toner for the brothers cuts my per page costs 
noticeably. I've killed a lot of trees since the early 80's. In a way, 
I'm glad they wouldn't sell me a new high voltage board, the color 
reproduction of this inkjet is far far superior to anything I ever got 
out of the color laser.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: EPSON ET M 1120 new printer: If You can read this,youareusingthe wrong driver

2023-05-16 Thread gene heskett

On 5/16/23 11:30, Greg Wooledge wrote:

On Tue, May 16, 2023 at 10:52:28AM -0400, gene heskett wrote:

gnutls28-dev worked, all tests pass. thanks Greg. How do I now make
installable deb's? I think I have dh installed.


I wouldn't even try.  That would be a *project*.


Chuckle, but sir, I am doing it, for linuxcnc n an rpi4b! I can install 
them over the top of the buildbots output if I want, or if the buildbot 
gets a tummy ache.



This is the sort of thing that you install in /opt or /usr/local and
write your own systemd unit files or init.d scripts for, possibly
cannibalizing the Debian ones if they exist.


If it works, I'd prefer the packaging system knows about it.


That said, since this involves printers, I would just ask Brian what
to do.  He seems to know them extremely well, certainly better than I
do, though that's a low bar to pass.

.

Thanks Greg.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: EPSON ET M 1120 new printer: If You can read this, you areusingthe wrong driver

2023-05-16 Thread gene heskett

On 5/16/23 10:35, Brian wrote:

On Tue 16 May 2023 at 09:58:45 -0400, gene heskett wrote:


On 5/16/23 08:29, Andrew M.A. Cater wrote:


[...]


But yes, this is going nowhere - and there is no lsb package in Debian, I think.

Andy

.

Couple that with my recent discovery that debian seems to be shipping the
cups from apple, last updated by its author in 2019.


Did your investigations involve reading a changelog?


whazzat? Trolling thru /usr/share/ looking for those is a pita. And far 
more often, a waste of time, not containing a useful amount of data.



Given that clue, I would be surprised to find a "cups" driver in the debian
repo's capable of driving a newer epson product.


Please give yourself a treat and use 'lpinfo -m' :).

Thanks, I just did and it appears to show both brothers installed 
drivers and the driverless, but driverless is not complete for either 
printer, where the makers ppd is. for the laser, toner would last 
forever, very thin, faint, had to read output, the mfcj6920dw only uses 
top tray, which is $8 for 50 sheets glossy photo paper. Tray 2, the 
bottom one has up to 350 pages of duplex copy paper, the obvious choice, 
but the driverless driver doesn't use it.


Thanks Brian.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: EPSON ET M 1120 new printer: If You can read this, youareusingthe wrong driver

2023-05-16 Thread gene heskett

On 5/16/23 10:28, Greg Wooledge wrote:

On Tue, May 16, 2023 at 10:20:38AM -0400, gene heskett wrote:

On 5/16/23 10:03, Jeffrey Walton wrote:

On Tue, May 16, 2023 at 9:59 AM gene heskett  wrote:

Couple that with my recent discovery that debian seems to be shipping
the cups from apple, last updated by its author in 2019. The new cups
site, openprinting.org copy's src cups-master.zip is about 2.5 times the
size of the debian src, and it builds on bullseye with only one option
to "./configure with-tls=no" (presumably because debian doesn't have
libtls, I couldn't find it)


libtls is part of libressl from the OpenBSD folks. See, for example,
https://github.com/bob-beck/libtls/blob/master/TUTORIAL.md .



Thanks Jeff, but it does not appear in synaptic here on a bullseye install.
should I add another repo?  That's scary. I only do that on my buster
machines to add the linuxcnc buildbot because I run master on my machines.


Debian provides OpenSSL (libssl-dev or the older libssl1.0-dev) and GnuTLS
(libgnutls28-dev).  Chances are, at least one of these will work.

gnutls28-dev worked, all tests pass. thanks Greg. How do I now make 
installable deb's? I think I have dh installed.



Most projects that want TLS support are developed around OpenSSL, so
you should try that first.  Or, read the project's INSTALL or README
files and see what it says to use.

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: EPSON ET M 1120 new printer: If You can read this, you areusingthe wrong driver

2023-05-16 Thread gene heskett

On 5/16/23 10:03, Jeffrey Walton wrote:

On Tue, May 16, 2023 at 9:59 AM gene heskett  wrote:

[...]
Couple that with my recent discovery that debian seems to be shipping
the cups from apple, last updated by its author in 2019. The new cups
site, openprinting.org copy's src cups-master.zip is about 2.5 times the
size of the debian src, and it builds on bullseye with only one option
to "./configure with-tls=no" (presumably because debian doesn't have
libtls, I couldn't find it)


libtls is part of libressl from the OpenBSD folks. See, for example,
https://github.com/bob-beck/libtls/blob/master/TUTORIAL.md .

I've never used it, so I can't comment on it. (I have used OpenSSL a
lot, but not the OpenBSD port).

Jeff

.
Thanks Jeff, but it does not appear in synaptic here on a bullseye 
install. should I add another repo?  That's scary. I only do that on my 
buster machines to add the linuxcnc buildbot because I run master on my 
machines.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: EPSON ET M 1120 new printer: If You can read this, you are usingthe wrong driver

2023-05-16 Thread gene heskett

On 5/16/23 08:29, Andrew M.A. Cater wrote:

On Tue, May 16, 2023 at 01:55:08PM +0300, Anssi Saari wrote:

Will Mengarini  writes:


* Brian  [23-05/08=Mo 00:27 +0100]:

   https://download3.ebz.epson.net/dsc/f/03/00/14/48/15/1d37501ad39bd2b5753 \
cce3b2715b3e2fef557/epson-inkjet-printer-escpr_1.7.26-1lsb3.2_amd64.deb


That includes a literal space in the middle of that hash
(because the space before the backslash is taken literally).

However, when I removed that space by hand, I still got "not found":

debian/pts/3 bash3 ~ 17:03 0$HEAD
https://download3.ebz.epson.net/dsc/f/03/00/14/48/15/1d37501ad39bd2b5753cce3b2715b3e2fef557/epson-inkjet-printer-escpr_1.7.26-1lsb3.2_amd64.deb


Which is still missing the <> surrounding the actual link. so its still 
a 403.

I don't understand why you guys even propose installing drivers from
Epson when printer-driver-escpr package is in Debian and should be
correct for the printer in question? Is there some established reason to
think it won't work? Or you just didn't do your homework?

I get that this saga probably never goes anywhere but I don't understand
this advice, especially from Andrew. It seems to run counter to the Debian
principle of using software that's actually packaged and tested by Debian.



If you reread - I suggest using the Debian package of escputil - I just wanted
Sophie to see that there was an Epson driver which might provide status
for ink tanks etc. - that's why I went through the steps of exactly how
to find the driver.

But yes, this is going nowhere - and there is no lsb package in Debian, I think.

Andy

.
Couple that with my recent discovery that debian seems to be shipping 
the cups from apple, last updated by its author in 2019. The new cups 
site, openprinting.org copy's src cups-master.zip is about 2.5 times the 
size of the debian src, and it builds on bullseye with only one option 
to "./configure with-tls=no" (presumably because debian doesn't have 
libtls, I couldn't find it)


Given that clue, I would be surprised to find a "cups" driver in the 
debian repo's capable of driving a newer epson product.


However to update this never ending saga, I rebooted this machine into a 
new security patched kernel yesterday, updating this machine to:


5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux

and my bullseye armbian machines have magically gotten well. What 
changed? DIIK.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: CUPS on Bullseye and Bookworm

2023-05-15 Thread gene heskett

On 5/15/23 14:32, Charles Curley wrote:

On Mon, 15 May 2023 12:18:56 -0400
gene heskett  wrote:


this is interesting Brian, but how do I adapt it to my brother
printers? All I can get by substituting the queue name M234 is
"printer or class does not exist".


Right. M234 is the name assigned previously. You get the URI(s) of
available printer(s) by running the program driverless. E.g.:

root@dragon:~# driverless
ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/
root@dragon:~#

Then feed that into:

lpadmin -p M234 -v "URI" -E -m everywhere

But edit in a better (for you) name for the printer than M234.

You might get away with something like:

lpadmin -p heskett.printer -v "$(driverless)" -E -m everywhere

but I haven't experimented with that.


And the only printer that shows in the driverless output:
ipp://Brother%20MFC-J6920DW._ipp._tcp.local/
is I believe the only one of 3 references to that physical printer in 
cups, that does not work, it ignores the tray selection passed.  That is 
an expen$ive lack.


Thanks Charles.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: CUPS on Bullseye and Bookworm

2023-05-15 Thread gene heskett

On 5/15/23 07:10, Brian wrote:

On Sun 14 May 2023 at 20:57:23 -0600, Charles Curley wrote:


On Sun, 14 May 2023 23:30:25 +0100
Brian  wrote:


On Sun 14 May 2023 at 14:04:51 -0600, Charles Curley wrote:





We take it that dragon, hawk and the printer are network connected.

Give what you get from dragon with

   avahi-browse -rt _ipp._tcp
   avahi-browse -rt _uscan._tcp
   driverless
   lpstat -l -e

avahi-browse is in the avahi-utils package.



root@dragon:~# avahi-browse -rt _ipp._tcp
+ wlp2s2 IPv4 HP LaserJet MFP M234sdw (C0FB67)  Internet Printer
 local
= wlp2s2 IPv4 HP LaserJet MFP M234sdw (C0FB67)  Internet Printer
 local
hostname = [hpm234ethernet.local]
address = [192.168.100.134]
port = [631]
txt = ["mopria-certified=2.1" "mac=6c:02:e0:c0:fb:67" "usb_MDL=HP LaserJet MFP M232-M237" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=d532fa73-f559-43ca-9f8e-1eef16972345" 
"Fax=F" "Scan=T" "Duplex=T" "Color=F" "note=" "adminurl=http://hpm234ethernet.local./hp/device/info_config_AirPrint.html?tab=Networking=AirPrintStatus; "priority=10" "product=(HP LaserJet MFP M232-M237)" 
"ty=HP LaserJet MFP M232-M237" "URF=V1.4,CP99,W8,OB10,PQ3-4,DM1,IS1-4,MT1-3-5,RS300-600" "rp=ipp/print" "pdl=application/PCLm,application/octet-stream,image/pwg-raster" "qtotal=1" "txtvers=1"]


Useful data but an aside first:

The pdl= key lacks image/urf. HP claims AirPrint support for the device 
(URF=V1.4,...).
It looks like you have been sold a pup. A firmware update?


root@dragon:~# driverless
ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/


This is the URI for the printer. You will need to substitute it later into an 
lpadmin
command.


root@dragon:~# lpstat -l -e
HP-HP-LaserJet-MFP-M232-M237 permanent 
ipp://localhost/printers/HP-HP-LaserJet-MFP-M232-M237 
dnssd://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipp._tcp.local/?uuid=d532fa73-f559-43ca-9f8e-1eef16972345
HP-HP-LaserJet-MFP-M232-M237-2 permanent 
ipp://localhost/printers/HP-HP-LaserJet-MFP-M232-M237-2 
ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/
HP-LaserJet-MFP-M232-M237 permanent 
ipp://localhost/printers/HP-LaserJet-MFP-M232-M237 
socket://hpm234ethernet.localdomain:9100
HP_LaserJet_MFP_M234sdw_C0FB67 network none 
ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/
root@dragon:~#


The first three entries are print queues (permanent) you have set up. The 
fourth is the
printer.

Execute

   lpadmin -p M234 -v "URI" -E -m everywhere

Test with

   lp -d M234 /etc/nsswitch.conf


this is interesting Brian, but how do I adapt it to my brother printers?
All I can get by substituting the queue name M234 is "printer or class 
does not exist".


Interestingly, a reboot of this machine to bring in a new kernel, seems 
to have fixed cups for armbian bullseye, not 100% tested yet for 
function but ff at localhost:631 on both of the bpi's now has a full 
list of shared printers that are now displayed by geany as target printers.


Thanks Brian.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-15 Thread gene heskett

On 5/15/23 07:03, Greg Wooledge wrote:

On Mon, May 15, 2023 at 12:10:13AM -0500, David Wright wrote:

I read somewhere that the recent tweaks (improvements?) to
ifconfig's output were breaking scripts, which is hardly surprising.


I can personally confirm this as true.  Some of the machines at work
run a proprietary software product that uses a license key, tied to
the machine's ethernet interface's MAC address.  The vendor's script
runs ifconfig and tries to parse the output to get the MAC address.
This script fails on the recent versions of net-tools.

.
One might be able to fix that with hexedit or a clone, by changing the 
string causing the error back to the original version? Fix the files crc 
of course.  Better yet, dl the src, find that string and change it back 
to the original, recompile and re-install. I note that today. neither 
tool calls the MAC address MAC, and that ip and ifconfig label it with 
different names. That s/b a std but insert the xckb reference to std's, 
old even wrong ones never die...


This method of software protection, from my experience as broadcast 
engineer, can be costly when it fails, and fixing what you paid good 
money for in the faith that it would work forever but fails regularly 
for whatever reason. And our copyright laws do not contain that I know 
of, a provision to allow the possession of a canceled check to be 
substituted for whatever scheme the vendor comes up with to enforce his 
copyright.  Disney got exactly what he asked for.


We at one time in the early 90's bought an editing system that had the 
key buried in the serial port adapter that was used to control the tape 
machines.  With a limited life. The outfit was able to supply a new 
adaptor, once, but had to drive the height of FL to get it from the 
author of the scheme.  And it was his only copy. Lasted about a month 
and once again we had $25,000 worth of disabled software.


In a tv stations production dept, that's a major income hit. At that 
time I knew a uni prof in germany who was pretty good at fixing buggy 
amiga software, so w/o naming names I told the vendor it was not going 
to be tuff excrement to us but to them, but that I would remove their 
broken key and continue to use the software we had paid good money for 6 
months earlier.  Lots of sputtering, I hung up in the middle of it and 
emailed the sw to the prof, had it back with a try this about 6 hours 
later but he missed a third check, so had to go back and search thru it 
again, finding the last check and nulling it out.  We used the hacked 
version for about a year, till we upgraded the editing machines and 
never heard from that vendor again. I heard later thru the grapevine 
that the vendor filed shortly after that.  The hacked copy never left 
the premises so as far as I was concerned the copyright was honored.


The point is that what can be done in software, can also be undone.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Bookworm soft lockup

2023-05-15 Thread gene heskett
[    1.484763] i915 :03:00.0: [drm] Missing GuC-Err-Cap reglist 
Instance(2):Compute(4)!
[    1.487222] i915 :03:00.0: [drm] Missing GuC-Err-Cap reglist 
Class(1):Compute(4)!
[    1.487223] i915 :03:00.0: [drm] Missing GuC-Err-Cap reglist 
Instance(2):Compute(4)!
[    1.488237] i915 :03:00.0: [drm] GuC firmware i915/dg2_guc_70.bin 
version 70.5.1
[    1.488347] i915 :03:00.0: [drm] Missing GuC-Err-Cap reglist 
Class(1):Compute(4)!
[    1.488348] i915 :03:00.0: [drm] Missing GuC-Err-Cap reglist 
Instance(2):Compute(4)!

[    1.500565] i915 :03:00.0: [drm] GuC submission enabled
[    1.500565] i915 :03:00.0: [drm] GuC SLPC enabled
[    1.500891] i915 :03:00.0: [drm] GuC RC: enabled
[    1.521026] [drm] Initialized i915 1.6.0 20201103 for :03:00.0 on 
minor 0

[    2.234182] fbcon: i915drmfb (fb0) is primary device
[    2.326912] i915 :03:00.0: [drm] fb0: i915drmfb frame buffer device
[    4.824372] snd_hda_intel :04:00.0: bound :03:00.0 (ops 
i915_audio_component_bind_ops [i915])


Is anyone else seeing a similar problem? What can I do to avoid this? Do 
we need anything else to narrow it down further?


Thanks for your time!

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: Gene's avahi bogeyman is not real (Was Re: how to find outregdomain/country of wifi network)

2023-05-14 Thread gene heskett

On 5/14/23 17:21, Andy Smith wrote:

Dear debian-user archives,

On Sun, May 14, 2023 at 02:42:05PM -0400, gene heskett wrote:

I've literally spent a frigging week trying to get iproute to
over-ride the broken 169.xx.xx.xx primary route that earlier
avahi's insisted on putting into a network config, that is why to
this day the first thing I do after an install, is find avahi and
rm it and reboot. rm because you could not remove it with apt w/o
tearing down the system far enough the only recourse was to
reinstall.  That is obviously an endless loop.


Routine note for the archive that avahi is another one of Gene's
Demons and the above is not in any way true. I have 50+ Debian hosts
that do not have avahi installed at all, and several more that
intentionally do and work fine.

As usual, Gene's experiences are due to a misconfiguration that
Gene made and cannot be helped with, despite many people trying over
a period of years.

When you see a post from Gene mentioning liberal use of "rm" and
"chattr +i" on parts of the operating system, do begin to question
what you are reading.

Thanks,
Andy


Thanks for the vote of no confidence Andy.

The diff as I see it, is that I refuse to actually run a dns server 
here, bind and I agreed to disagree nearly 25 years ago when bind was at 
4 something and half the planet was cleaning after attacks on bind. The 
other half wasn't aware of anything except the net was dead, no dns.


The box in question was running rh 6.1 so that might give you a time 
frame. 2001 maybe. IDK, IDC.


We bought a block of 16 ipv4 addresses and registered & ran the tv 
stations net access, about 40 mostly windoze boxes preferring /etc/host 
files for local lookups. It works if the router relays, its fast, and 
bulletproof. The way I've configured is to first check the hosts file 
for a match, and failing that, fwd the lookup request to my dd-wrt 
router, and if dnsmasq doesn't know it, forward it to my ISP. And its 
all transparent in about 30 milliseconds.  The reason I used rm on it is 
because back about wheezy I tried to remove it with apt, and its 
dependencies took 247 other packages with it totally killing the system.


I screamed about it at the time, years ago, everybody sneered and made 
fun of me, and ever so slowly the dependencies went away and I can now 
remove it with apt, but it appears I no longer need to. So it has been 
reinstalled.


Take care & stay well Andy.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-14 Thread gene heskett

On 5/14/23 12:28, Curt wrote:

On 2023-05-14,   wrote:


So Redhat. But hey, look at packages.debian.org (I know, looking at


https://wiki.debian.org/NetToolsDeprecation

https://lists.debian.org/debian-devel/2009/03/msg00780.html

2009!!

  Luk Claes and me, as the current maintainers of net-tools, we've been
  thinking about it's future. Net-tools has been a core part of Debian and any
  other linux based distro for many years, but it's showing its age.

  It doesnt support many of the modern features of the linux kernel, the
  interface is far from optimal and difficult to use in automatisation, and 
also,
  it hasn't got much love in the last years.

  On the other side, the iproute suite, introduced around the 2.2 kernel
  line, has both a much better and consistent interface, is more powerful, and 
is
  almost ten years old, so nobody would say it's untested.

  Hence, our plans are to replace net-tools completely with iproute, maybe
  leading the route for other distributions to follow. Of course, most people 
and
  tools use and remember the venerable old interface, so the first step would be
  to write wrappers, trying to be compatible with net-tools.

  At the same time, we believe that most packages using net-tools should be
  patched to use iproute instead, while others can continue using the wrappers
  for some time. The ifupdown package is obviously the first candidate, but it
  seems that a version using iproute has been available in experimental since
  2007.

All are good ideas, Curt, but the power in iproute is, maybe now s/b was 
lacking, I've literally spent a frigging week trying to get iproute to 
over-ride the broken 169.xx.xx.xx primary route that earlier avahi's 
insisted on putting into a network config, that is why to this day the 
first thing I do after an install, is find avahi and rm it and reboot. 
rm because you could not remove it with apt w/o tearing down the system 
far enough the only recourse was to reinstall.  That is obviously an 
endless loop.


I find that in bullseye, finally, avahi has developed some manners in 
that it is now happy to the the 2nd route. Ditto for NM, it finally 
after a decade of insisting it be done its way even when its way didn't 
work, so that stuff got fixed and immediately a "sudo chattr +i" applied 
so NM could not screw it up. Fortunately, NM had the good graces not to 
flood the logs with "I can't screw it up" complaints.


So while we are making progress in just works networking and its not 
nice to dig up old dirt, but why did it take 10 years to get those 
major, show stopping problems fixed?  That's what I have failed to 
understand. I've been networking stuff since the middle 80's, Went from 
os9 level 1 on an original coco,then level 2 on a coco3 to amigados, 
running exclusively linux since 1998, I've seen kernel bugs get fixed in 
an hour so why did it take a decade to fix that show stopper routing 
problem? I think that is a legitimate question.




.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-14 Thread gene heskett

On 5/14/23 12:09, Andy Smith wrote:

Hello,

On Sun, May 14, 2023 at 06:48:59AM +0200, to...@tuxteam.de wrote:

So no, it doesn't look dead to me.


It (Linux ifconfig) exists and is still installable but will not be
getting any new features. It also displays incorrect information for
some features it does not understand.

So the arguments for its continued usage are extremely tenuous and
basically boil down to, "it's always worked for me!" Which is fine,
but does lead to situations like this where we have a whole thread
of confusion about why it doesn't have some particular feature that
a user, who was not aware that ifconfig is no longer the thing to
use, continued to try to use it.

Cheers,
Andy

That is all fine & dandy Andy, but how about replacing ifconfig with a 
bash script that recommends to the user, ip for hard wired stuff, iw for 
radio stuff. User education solved in one swell foop.  Makes perfect 
sense to me.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 18:38, hl wrote:
i try old  FreeBSD-12.4, accept default FCC/US though i am not in US, 
wifi scan succeeds


.
you did not post it all, if unset you can scan which is rx only, you 
cannot transmit until its set. That is regulatory edict all over this 
particular planet.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 15:40, Greg Wooledge wrote:

On Sat, May 13, 2023 at 08:29:11PM +0200, to...@tuxteam.de wrote:

On Sat, May 13, 2023 at 01:01:27PM -0500, Nicholas Geovanis wrote:

Ifconfig has been deprecated in Debian for some years.


It is *not* deprecated. It is just optional, not essential.


I don't know what Debian's official stance is, but if you do web searches
for "Linux ifconfig deprecated", you find MANY results.

<https://www.redhat.com/sysadmin/ifconfig-vs-ip>:
 The ip command is the future of network config commands. ifconfig
 has been officially deprecated for the ip suite, so while many of
 us are still using the old ways, it is time to put those habits to
 rest and move on with the world.


While you are correct, Greg, the lack of documentation to help with that 
transition is staggering. They just thru it on the table and didn't even 
say use this instead.


<https://en.wikipedia.org/wiki/Ifconfig>:
 Many Linux distributions have deprecated the use of ifconfig and route
 in favor of the software suite iproute2, such as ArchLinux[3] or RHEL
 since version 7,[4] which has been available since 1999 for Linux 2.2.

<https://www.linux.com/training-tutorials/replacing-ifconfig-ip/>:
 [...] back around 2009 when the debian-devel mailing list
 announced plans on deprecating the net-tools package due to lack of
 maintenance. It is now 2015 and net-tools is still around.


Those are the most official-sounding references I can find in a few
minutes.

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 11:17, to...@tuxteam.de wrote:

On Sat, May 13, 2023 at 10:22:50AM -0400, gene heskett wrote:

[...]


ip does not in my man reading, offer similar performance. Is there a
replacement utility for ifconfig that will supply this info?


Sigh. Yes. There is a replacement. It is called ifconfig. Package
net-tools, as `apt-file search' has surely told you.

FWIW, I have *both* ifconfig and ip installed. I use *both*.

Cheers


Unfortunately Tomas, neither util knows anything about radio's.  Someone 
just reminded me that iw is now the tool. I've found that /sbin/iw can 
output regulatory info, but the shorthand used is a bit opaque. From my 
one lonesome  wifi equipt rpi4b:

pi@rpi4:~ $ /sbin/iw reg get
global
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)

I have all of mine turned off and everything is wired to prevent the AH 
across the street from using my bandwidth to watch his porn. He had a 
utility on his cell phone capable of hijacking my radios. I hear he is 
back in the hotel for the 2nd time. Life in the neighborhood is much 
improved w/o him.


iw's output seems complete even if there is no radio, which the bpi's 
don't have, but from bpi54:

gene@bpi54:~$ /sbin/iw reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

note the 00: DFS-UNSET for country. the board doesn't even have a socket 
for a radio, but in practice its a supercharged rpi4b for $65 USD at 
alliexpress. I have yet to find something an rpi4b can do that the bpi's 
can't do. I have a sw problem with cups but I suspect its a software fix 
too.  Just got to find the magic mushroom. ;o)>


Take care & stay well, Tomas.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 08:11, didier gaumet wrote:

Hello,

some info here:
https://www.kernel.org/doc/html/latest/networking/regulatory.html

.

Some useful info above. Useful to the OP?  IDK.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: SOLVED:Re: repeat of previous questionthathasgoneunansweredseveraltimes.

2023-05-13 Thread gene heskett

On 5/13/23 07:18, Brian wrote:

On Fri 12 May 2023 at 15:27:21 -0400, gene heskett wrote:


On 5/12/23 14:45, Brian wrote:

On Fri 12 May 2023 at 06:23:56 -0400, gene heskett wrote:

[...]


I'm confused. There is not anything wrong with this machine as a Server.
ALL of this muttering and bitching has been because bookworm clients did NOT
work. buster clients work great.


"work(s)" is such vague term. I guess working and non-working are references
to

   > All of my bullseye machines are locked out, printer screen at
   > localhost:631 is empty, and no printers can be found and added


How many times do I have to say it is/was a CLIENT problem that only exists
for BOOKWORM clients.  The elephant in the room that most have ignored.


THe issue has been fully dealt with. In short:

No local printers leads to an empty localhost:631 and 'lpstat -t'.

THere isn't any issue whatsoever. You seem very reluctant to incorporate this
basic fact into your thinking. THe room is empty.

May we have 'lpstat -t' from a buster machine that is not bpi54?


This is buster, running a milling machine in the garage


[Informative info from a number of machines snupped.]

All the displayed queues are local and have either been set up manually 
(ipp://...)
or autmatically by cups-browsed (implicitclass://...). A manual setup on a
bullseye machine would involve the raw or everywhere model. A client.conf is an
is an alternative.

But it doesn't seem to work in armbian bullseye, who uses debian repo's 
for everything not involved with booting. Most armbian stuff is u-boot.


I now have different results between bpi54, which works, and bpi51, 
which does not. The two are I believe configured identically in /etc/cups.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 06:04, Vincent Lefevre wrote:

On 2023-05-13 17:56:48 +0800, jeremy ardley wrote:


On 13/5/23 17:51, Nicolas George wrote:

Also, ifconfig has nothing to do with wireless, so it was a red herring
from the start.


wlan0 is an interface like any other and ifconfig works with it


For me, since the wireless interface is wlp61s0:

zira:~> ifconfig wlp61s0 list countries
list: Unknown host
ifconfig: `--help' gives usage information.

What you gave is unknown to ifconfig.

So also is wlan0 or any other name that may have been assigned to the 
radio. Radio's are unk to ifconfig today. So it is worthless to the OP.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 06:02, Jeremy Ardley wrote:


On 13/5/23 17:57, Vincent Lefevre wrote:

Moreover, it should not be necessary to be root: you are just
reading non-private data. However, "list countries" does not
seem to exist.


Debian 11 seems to have a different opinion on who can run ifconfig. 
Sudo or root is required.


jeremy@client:~$ ifconfig enp8s0
bash: ifconfig: command not found
jeremy@client:~$ sudo ifconfig enp8s0
enp8s0: flags=4098  mtu 1500
     ether 0c:9d:92:75:b4:f7  txqueuelen 1000  (Ethernet)
     RX packets 0  bytes 0 (0.0 B)
     RX errors 0  dropped 0  overruns 0  frame 0
     TX packets 0  bytes 0 (0.0 B)
     TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

That is not a radio interface, so for the OP use is just noise.






Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 06:02, Vincent Lefevre wrote:

On 2023-05-13 17:19:01 +0800, hl wrote:

but ifconfig isn't available in buster


I've used it for many years, and it is still there, currently in
the net-tools package (try "apt-file search bin/ifconfig").

Thank you Vincent, not ordinarily installed in bullseye.  And it still 
knows nothing about radio's.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 05:39, Jeremy Ardley wrote:


On 13/5/23 17:19, hl wrote:


To view the current list of regulatory domains and SKUs:

 # ifconfig wlan0 list countries

To view the current regulatory domain frequency and operating modes:

 # ifconfig wlan0 list regdomain


but ifconfig isn't available in buster


ifconfig needs to be run as root or sudo. e.g.

sudo ifconfig wlan0 list countries

It is not available for bullseye either. And the buster version has been 
emasculated, no mention of the radio's exists in the --help menu.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to find out regdomain/country of wifi network

2023-05-13 Thread gene heskett

On 5/13/23 05:35, hl wrote:

freebsd ask me regdomain/country of wifi when i set up wifi

my wifi works in buster, how to find out regdomain/country it uses?

https://wiki.freebsd.org/action/show/WiFi/RegulatoryDomainSupport?action=show=WiFiRegulatory

To view the current list of regulatory domains and SKUs:

  # ifconfig wlan0 list countries

To view the current regulatory domain frequency and operating modes:

  # ifconfig wlan0 list regdomain


but ifconfig isn't available in buster

I've got an old, now shoved under the bus and sold to the money cats, 
1st phone ticket in my billfold, issued back when it meant something, 
and I am also a CET, teaching EE's how to get their hands dirty if 
needed.  This gentleman's concern is very real, with potentially costly 
results in this world of everything being made in china with no regard 
for our laws.


Unless there is a replacement utility that will supply him with the info 
he needs the legal consequences exposure is an unknown.


ip does not in my man reading, offer similar performance. Is there a 
replacement utility for ifconfig that will supply this info?


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: SOLVED:Re: repeat of previous question thathasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett

On 5/12/23 14:45, Brian wrote:

On Fri 12 May 2023 at 06:23:56 -0400, gene heskett wrote:

[...]


I'm confused. There is not anything wrong with this machine as a Server.
ALL of this muttering and bitching has been because bookworm clients did NOT
work. buster clients work great.


"work(s)" is such vague term. I guess working and non-working are references
to

  > All of my bullseye machines are locked out, printer screen at
  > localhost:631 is empty, and no printers can be found and added


How many times do I have to say it is/was a CLIENT problem that only exists
for BOOKWORM clients.  The elephant in the room that most have ignored.


THe issue has been fully dealt with. In short:

   No local printers leads to an empty localhost:631 and 'lpstat -t'.

THere isn't any issue whatsoever. You seem very reluctant to incorporate this
basic fact into your thinking. THe room is empty.

May we have 'lpstat -t' from a buster machine that is not bpi54?


This is buster, running a milling machine in the garage

gene@GO704:~$ lpstat -t
scheduler is running
no system default destination
device for Brother_HL_L2320D_series_coyote: 
implicitclass://Brother_HL_L2320D_series_coyote/

device for Brother_MFC_J6920DW: ipp://BRN30055C8A2DC8.local:631/ipp/print
device for Brother_MFC_J6920DW_coyote: 
implicitclass://Brother_MFC_J6920DW_coyote/

device for HLL2320D_coyote: implicitclass://HLL2320D_coyote/
device for MFCJ6920DW_tray_2_coyote: ///dev/null
Brother_HL_L2320D_series_coyote accepting requests since Fri 12 May 2023 
12:00:02 AM EDT

Brother_MFC_J6920DW accepting requests since Fri 12 May 2023 12:00:02 AM EDT
Brother_MFC_J6920DW_coyote accepting requests since Fri 12 May 2023 
12:00:02 AM EDT

HLL2320D_coyote accepting requests since Fri 12 May 2023 12:00:02 AM EDT
MFCJ6920DW_tray_2_coyote not accepting requests since Wed 03 May 2023 
12:00:02 AM EDT -

reason unknown
printer Brother_HL_L2320D_series_coyote is idle.  enabled since Fri 12 
May 2023 12:00:02 AM EDT
printer Brother_MFC_J6920DW is idle.  enabled since Fri 12 May 2023 
12:00:02 AM EDT
printer Brother_MFC_J6920DW_coyote is idle.  enabled since Fri 12 May 
2023 12:00:02 AM EDT
printer HLL2320D_coyote is idle.  enabled since Fri 12 May 2023 12:00:02 
AM EDT
printer MFCJ6920DW_tray_2_coyote disabled since Wed 03 May 2023 12:00:02 
AM EDT -

reason unknown

this is another gantry style machine:
gene@sixty40:~$ lpstat -t
scheduler is running
no system default destination
device for Brother_HL_L2320D_series_coyote: ///dev/null
device for Brother_MFC_J6920DW: ipp://BRN30055C8A2DC8.local:631/ipp/print
device for Brother_MFC_J6920DW_coyote: ///dev/null
Brother_HL_L2320D_series_coyote not accepting requests since Sun 23 Apr 
2023 12:00:03 AM EDT -

reason unknown
Brother_MFC_J6920DW accepting requests since Fri 12 May 2023 12:00:14 AM EDT
Brother_MFC_J6920DW_coyote not accepting requests since Thu 20 Apr 2023 
12:00:03 AM EDT -

reason unknown
printer Brother_HL_L2320D_series_coyote disabled since Sun 23 Apr 2023 
12:00:03 AM EDT -

reason unknown
printer Brother_MFC_J6920DW is idle.  enabled since Fri 12 May 2023 
12:00:14 AM EDT
printer Brother_MFC_J6920DW_coyote disabled since Thu 20 Apr 2023 
12:00:03 AM EDT -

reason unknown

and this is an rpi4b running a 1500 lb lathe:
pi@rpi4:~ $ lpstat -t
scheduler is running
no system default destination
device for Brother_HL-L2320D_series: 
usb://Brother/HL-L2320D%20series?serial=U63877H0N346913
device for Brother_MFC-J6920DW_photo: 
usb://Brother/MFC-J6920DW?serial=BROG5F229909

device for MFCJ6920DW: usb://Brother/MFC-J6920DW?serial=BROG5F229909
Brother_HL-L2320D_series accepting requests since Tue 09 May 2023 
05:23:01 PM EDT
Brother_MFC-J6920DW_photo accepting requests since Thu 30 Mar 2023 
09:16:43 AM EDT

MFCJ6920DW accepting requests since Sun 26 Mar 2023 03:30:13 PM EDT
printer Brother_HL-L2320D_series is idle.  enabled since Tue 09 May 2023 
05:23:01 PM EDT
printer Brother_MFC-J6920DW_photo is idle.  enabled since Thu 30 Mar 
2023 09:16:43 AM EDT

printer MFCJ6920DW is idle.  enabled since Sun 26 Mar 2023 03:30:13 PM EDT

there is a 2nd smaller lathe in a shed in the upper rear corner of the 
place that has been kept uptodate but is in the middle of a hardware 
update for linuxcnc, and its a suprise:


gene@TLM:~$ lpstat -t
scheduler is not running
no system default destination
lpstat: Bad file descriptor
lpstat: Bad file descriptor
lpstat: Bad file descriptor
lpstat: Bad file descriptor
lpstat: Bad file descriptor

but cups is not installed, its missing from .etc/init.d, rebooting 
didn't change.

machine updates and cups and friends installed:
gene@TLM:~$ lpstat -t
scheduler is running
no system default destination
device for Brother_HL_L2320D_series_coyote: 
implicitclass://Brother_HL_L2320D_series_coyote/

device for Brother_MFC_J6920DW: ipp://BRN30055C8A2DC8.local:631/ipp/print
device for Brother_MFC_J6920DW_coyote

Re: SOLVED:Re: repeat of previous question thathasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett

On 5/12/23 07:49, Vincent Lefevre wrote:

nmap -p 631 localhost


had to install 5 pkgs to get it, but:
gene@bpi51:~/src/cups-master$ nmap -p 631 localhost
Starting Nmap 7.80 ( https://nmap.org ) at 2023-05-12 11:10 -05
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00030s latency).

PORTSTATE SERVICE
631/tcp open  ipp

Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds
gene@bpi51:~/src/cups-master$ nmap -p 631 192.168.nn.y
Starting Nmap 7.80 ( https://nmap.org ) at 2023-05-12 11:11 -05
Nmap scan report for coyote.coyote.den (192.168.nn.y)
Host is up (0.00073s latency).

PORTSTATE SERVICE
631/tcp open  ipp

Nmap done: 1 IP address (1 host up) scanned in 0.13 seconds
ditto for machines name, so the host file is working.

Next?

Cheers, Geneh Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



:Re: repeat of previous question thathasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett

On 5/12/23 07:41, Vincent Lefevre wrote:

On 2023-05-12 06:23:56 -0400, gene heskett wrote:

I'm confused. There is not anything wrong with this machine as a Server.
ALL of this muttering and bitching has been because bookworm clients did NOT
work. buster clients work great.

How many times do I have to say it is/was a CLIENT problem that only exists
for BOOKWORM clients.  The elephant in the room that most have ignored.


But you said that the problem was "solved" by modifying a setting
corresponding to the Listen directives (in /etc/cups/cupsd.conf).
These directives concern the *server* only.

Oh, then how does one tell the CLIENT to even use the SERVER? That 
statement, added to a created CLIENT.CONF, is not sufficient, Been tried 
many times. It does log a lack of auth, also reported here. Is that the 
real problem? The lack of any tracing info in the log, even at debug2 
level reporting is a huge hindrance to intelligent trouble shooting.



I suspect that your problem was solved for another reason (e.g.
something else occurred on the network in the mean time, or some
config was reloaded at the right time, possibly as a consequence
of your testing). Or perhaps it is not solved at all and could
reappear in the future (that's why it would be interesting to
know the real cause of the problem).


copied new cup-master.zip to the bpi51
unpacked it to cups-master in ~/gene/src
./configure --with-tls=no, no show-stoppers.
make no-show stoppers
make test, failed for 2 functions
the report said at one place it got 34 errors but only expected 33
I didn't install

Back to the apple version installed, what fixed the bpi54 ddoes not fix 
the bpi51, so Vincent was right to be concerned


It is 100% a "cannot assign requested address error" on the bpi51 as 
logged in/var/log/cups/error_log:


E [12/May/2023:10:32:20 -0500] Unable to open listen socket for address 
192.168.71.3:631 - Cannot assign requested address.
E [12/May/2023:10:34:45 -0500] Unable to open listen socket for address 
[v1.::1]:631 - Cannot assign requested address.


Where its getting the ipv6 addy is a mystery

ip a:
gene@bpi51:~/src/cups-master$ ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
group default qlen 1000

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc mq state UP 
group default qlen 1000
link/ether ae:c8:46:2e:6b:6b brd ff:ff:ff:ff:ff:ff permaddr 
da:0e:c7:cf:52:52

inet 192.168.nn.y/24 brd 192.168.nn.255 scope global noprefixroute eth0
   valid_lft forever preferred_lft forever

ip r:
gene@bpi51:~/src/cups-master$ ip r
default via 192.168.nn.y dev eth0 proto static metric 100
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.nn.y/24 dev eth0 proto kernel scope link src 192.168.nn.y metric 
100


So, how can we proceed?

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: SOLVED:Re: repeat of previous question that hasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett

On 5/12/23 05:18, Vincent Lefevre wrote:

On 2023-05-11 21:34:11 -0400, gene heskett wrote:

On 5/11/23 19:41, Vincent Lefevre wrote:

On 2023-05-11 18:24:39 -0400, Greg Wooledge wrote:

My questions would be:

1) Can you put *both* Listen lines in, to keep loopback working?


The cupsd.conf(5) man page says: "Multiple Listen directives can be
provided to listen on multiple addresses."


My results seem to indicate otherwise.


I don't think that you even showed anything. The only test you
should do about that is to try to connect to the port, e.g. with
telnet (or nmap can probably tell you). If the connection isn't
immediately refused, then the Listen directive is OK.

For instance:

zira:~> telnet localhost 631
Trying ::1...
flushoutput character is 'off'.
Connected to localhost.
Escape character is '^]'.

Fine. And you can try the same thing from a different machine on
the network, replacing "localhost" by the IP address of the server,
e.g. from another machine on my network:

$ telnet 192.168.1.3 631
Trying 192.168.1.3...
telnet: Unable to connect to remote host: Connection refused


I'm not able to test that on the bpi's, telnet is not installed.

because my CUPS server just has

Listen localhost:631
Listen /var/run/cups/cups.sock

If the connection is accepted with telnet by using multiple Listen
directives, then the Listen configuration is correct. If you can
see any other issue related to the printers, then the problem is
due to something else.



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: SOLVED:Re: repeat of previous question that hasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett

On 5/12/23 05:18, Vincent Lefevre wrote:

On 2023-05-11 21:34:11 -0400, gene heskett wrote:

On 5/11/23 19:41, Vincent Lefevre wrote:

On 2023-05-11 18:24:39 -0400, Greg Wooledge wrote:

My questions would be:

1) Can you put *both* Listen lines in, to keep loopback working?


The cupsd.conf(5) man page says: "Multiple Listen directives can be
provided to listen on multiple addresses."


My results seem to indicate otherwise.


I don't think that you even showed anything. The only test you
should do about that is to try to connect to the port, e.g. with
telnet (or nmap can probably tell you). If the connection isn't
immediately refused, then the Listen directive is OK.

For instance:

zira:~> telnet localhost 631
Trying ::1...
flushoutput character is 'off'.
Connected to localhost.
Escape character is '^]'.

Fine. And you can try the same thing from a different machine on
the network, replacing "localhost" by the IP address of the server,
e.g. from another machine on my network:

$ telnet 192.168.1.3 631
Trying 192.168.1.3...
telnet: Unable to connect to remote host: Connection refused

because my CUPS server just has

Listen localhost:631
Listen /var/run/cups/cups.sock

If the connection is accepted with telnet by using multiple Listen
directives, then the Listen configuration is correct. If you can
see any other issue related to the printers, then the problem is
due to something else.


I'm confused. There is not anything wrong with this machine as a Server.
ALL of this muttering and bitching has been because bookworm clients did 
NOT work. buster clients work great.


How many times do I have to say it is/was a CLIENT problem that only 
exists for BOOKWORM clients.  The elephant in the room that most have 
ignored.


What I have done, on the BOOKWORM CLIENT works, but we still don't have 
a clue why that is so.


That said i've dl'd the src from cups, which is broken by not being in a 
state that will even autogen.  So I dl'd the obviously much later 
src.zip from Mikes new openprinting site. The zip is about 250% the size 
of the apple tar.gz. Its complete and only needs one argument to 
configure, with-tls=no. Then it builds and passes a make test, but I've 
not installed it on this machine.


The debian code appears to be the Apple src.
What I intend to do is move the openprinting version 2.4.5 to one of the 
bpi's, see if it will build there, and install it on the bpi to see if 
that works. But I'm just one, and there is only so much I can do in a day.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: SOLVED:Re: repeat of previous question that has goneunansweredseveraltimes.

2023-05-11 Thread gene heskett

On 5/11/23 19:41, Vincent Lefevre wrote:

On 2023-05-11 18:24:39 -0400, Greg Wooledge wrote:

On Thu, May 11, 2023 at 11:58:56PM +0200, Vincent Lefevre wrote:

On 2023-05-11 12:08:01 -0400, gene heskett wrote:

Aha Got it, geany evince okular etc can now print from bpi54! Removing
the Listen localhost:631 directive from /etc/cups/cupsd.conf and inserting a

Listen 192.168.xx.yy:631

made the localhost:631/printers on this machine show up in FF on bpi54, all
5 choices from this machine.


Any explanation?


Seems obvious enough to me.  CUPS on bpi54 was only listening to
loopback (localhost), but Gene wanted to print through it remotely.
So he had to make it listen to the network instead.


My question was more on why does this affect localhost:631/printers?


My questions would be:

1) Can you put *both* Listen lines in, to keep loopback working?


The cupsd.conf(5) man page says: "Multiple Listen directives can be
provided to listen on multiple addresses."


My results seem to indicate otherwise.


2) Failing that, can you use 0.0.0.0 as the Listen address, to listen on
all interfaces?  That's the normal convention.


According to the cupsd.conf(5) man page, you can use "Listen *:631".


The possibility exists that the star goes thru a different path, which 
works. untested here. But folks, that isn't a SWAG, its a plain old WAG.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: SOLVED:Re: repeat of previous question that has goneunansweredseveraltimes.

2023-05-11 Thread gene heskett

On 5/11/23 18:25, Greg Wooledge wrote:

On Thu, May 11, 2023 at 11:58:56PM +0200, Vincent Lefevre wrote:

On 2023-05-11 12:08:01 -0400, gene heskett wrote:

Aha Got it, geany evince okular etc can now print from bpi54! Removing
the Listen localhost:631 directive from /etc/cups/cupsd.conf and inserting a

Listen 192.168.xx.yy:631

made the localhost:631/printers on this machine show up in FF on bpi54, all
5 choices from this machine.


Any explanation?


Seems obvious enough to me.  CUPS on bpi54 was only listening to
loopback (localhost), but Gene wanted to print through it remotely.
So he had to make it listen to the network instead.


Close, I wanted to be able to print from the bpi from any app on the bpi 
that had a print this option.  Now I can.


My questions would be:

1) Can you put *both* Listen lines in, to keep loopback working?


No, that kills the cups ability to query the network even with the 
Server named in client.conf. It even logs it as a failure, on the bpi5 
but doesn't say why.



2) Failing that, can you use 0.0.0.0 as the Listen address, to listen on
all interfaces?  That's the normal convention.


Untried, so can't say.  And I've not read far enough to see that as an 
example.


Thanks Greg.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: SOLVED:Re: repeat of previous question that has goneunansweredseveraltimes.

2023-05-11 Thread gene heskett

On 5/11/23 17:59, Vincent Lefevre wrote:

On 2023-05-11 12:08:01 -0400, gene heskett wrote:

Aha Got it, geany evince okular etc can now print from bpi54! Removing
the Listen localhost:631 directive from /etc/cups/cupsd.conf and inserting a

Listen 192.168.xx.yy:631

made the localhost:631/printers on this machine show up in FF on bpi54, all
5 choices from this machine.


Any explanation?

My best guess is the Server directive in client.conf was rejected 
because there was already a couple "Listen" directives pointing at 
itself.  Remove the main one and the client.conf was able to take over.
Or the substition of a "Listen ipv4-address-of-server:631" is also a 
possibility.


Whatever, the point now is that it Just Works.

A lot of hacking on C-89 has taken place since the last C book was 
published by K, so I am not the C guru I was in the 1990's.


I'm now 88 yo and some of me has gone to the dogs too.  Take that as an 
admission that my diagnosis might be wrong, but I've been chasing 
electrons to make then do useful work since about 1948 when I quit 
school and went to work fixing them new fangled things called tv's.


Take care & stay well, Vincent.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-11 Thread gene heskett

On 5/11/23 07:09, Brian wrote:

On Wed 10 May 2023 at 15:51:53 -0400, gene heskett wrote:


On 5/10/23 14:22, Brian wrote:


[...]


After appreciating that bpi51 has libnss-mdns installed, you might discard any
assumption that nsswitch.conf on bpi54 has the same contents.


I don't believe any of these 4 bpi's have libnss-mdns installed, locate
after a sudo updatedb, cannot find it on either of the 2 that are live on
this net ATM.


bpi51 has avahi-browse. avahi-browse depends on avahi-daemon. avahi-daemon
recommends libnss-mdns.
  

Now. I modified /etc/cups/cupsd.conf to change loglevel to debug2, and add
Listen 192.168.xx.yy:631, then restarted cups, getting this notice in
/var/log/cups/error_log:


This is on bpi54? I do not believe a change to /etc/cups/cupsd.conf is
necessary.

Yes, it was necessary, see my previous post. Not determined is the need 
for a client.conf file with its contents, I rather suspect it might 
still be required as its the only "Server" specification in the whole 
shebang.


Take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



SOLVED:Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-11 Thread gene heskett

On 5/11/23 07:07, Brian wrote:

On Wed 10 May 2023 at 16:02:43 -0400, gene heskett wrote:


On 5/10/23 14:22, Brian wrote:

On Wed 10 May 2023 at 13:18:07 -0400, gene heskett wrote:


On 5/10/23 11:29, Brian wrote:

On Wed 10 May 2023 at 10:04:47 -0400, gene heskett wrote:


On 5/10/23 08:17, Brian wrote:



[...]



Is /etc/cups/client,conf really, really needed?


That is the first thing cups docs tell you to do, see "printer sharing"


A link would be ever so useful.


send browser to cups.org, click help, in right pane, click "printer
sharing", scroll down about a screenfull to Automatic using IPP


Thanks to you and debian-u...@howorth.org.uk. Note that this page is for Apple
CUPS. The one for Debian CUPS is at

   https://openprinting.github.io/cups/doc/sharing.html

Thank you for that link, the other Apple Cups link is first in a google 
search, and probably close in DDG too since the search was for cups, not 
openprinting as I was not then aware that Mike had moved.  Apple should 
be ashamed of themselves hanging onto the cups links when they are no 
longer writing the authors paychecks.



Havong said that, it should also be noted that the /etc/cups/client.conf is used
when a local spooler is not required and is presented as to be used only as
absolutely necessary. Hardly "the first thing cups docs tell you to do". Why is
it absolutely necessary in your situation?

Additionally, a client.conf overrides the default local  server. All the 
analysis
in this thread has been carried out assuming a functional local  server, so I do
not know where that leaves us now if a client.conf has been in the mix all the 
time..

I am wondering now if I shouldn't remove the other Listen directives 
from cupsd.conf, isolating their influence when there are no locally 
connected printers.


Aha Got it, geany evince okular etc can now print from bpi54! 
Removing the Listen localhost:631 directive from /etc/cups/cupsd.conf 
and inserting a


Listen 192.168.xx.yy:631

made the localhost:631/printers on this machine show up in FF on bpi54, 
all 5 choices from this machine.  All that as root of course, and the 
acid test was me as 1st user, calling up geany to edit that file, which 
complained it was not writable but to print it on the B laser, which 
it just did. I did have to leave active the "Listen /run/cups/cups.sock" 
line, it did not work w/o that.


I changed the LogLevel back to warn before it fills up a 64BG card, and 
it seems its all Just Working.


That warning in the paragraph above s/not be a show stopper when there 
is only one machine as the Server on this local network. IMO, it should 
be speced as applying to any machine that does NOT have any locally 
connected printers.


Your help, and some comments from Greg, have been very helpful.  Thank 
you both for bearing with me, most appreciated.


Take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-10 Thread gene heskett

On 5/10/23 14:22, Brian wrote:

On Wed 10 May 2023 at 13:18:07 -0400, gene heskett wrote:


On 5/10/23 11:29, Brian wrote:

On Wed 10 May 2023 at 10:04:47 -0400, gene heskett wrote:


On 5/10/23 08:17, Brian wrote:



[...]



Is /etc/cups/client,conf really, really needed?


That is the first thing cups docs tell you to do, see "printer sharing"


A link would be ever so useful.


send browser to cups.org, click help, in right pane, click "printer 
sharing", scroll down about a screenfull to Automatic using IPP
  

Also on the bpi's, running armbian, libnss-ldap is installed, which
conflicts with installing libnss-*, but did install libnss-my*, and now the
printers have disappeared again.  That does not hold water. What the heck is
going on now?


I haven't any idea and do not claim the know anything about armbian and how
it should deal with NSS\


Since that comes from a debian arm64 repo. my first assumption is that its
identical.


After appreciating that bpi51 has libnss-mdns installed, you might discard any
assumption that nsswitch.conf on bpi54 has the same contents.



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-10 Thread gene heskett

On 5/10/23 14:22, Brian wrote:

On Wed 10 May 2023 at 13:18:07 -0400, gene heskett wrote:


On 5/10/23 11:29, Brian wrote:

On Wed 10 May 2023 at 10:04:47 -0400, gene heskett wrote:


On 5/10/23 08:17, Brian wrote:



[...]



Is /etc/cups/client,conf really, really needed?


That is the first thing cups docs tell you to do, see "printer sharing"


A link would be ever so useful.
  

Also on the bpi's, running armbian, libnss-ldap is installed, which
conflicts with installing libnss-*, but did install libnss-my*, and now the
printers have disappeared again.  That does not hold water. What the heck is
going on now?


I haven't any idea and do not claim the know anything about armbian and how
it should deal with NSS\


Since that comes from a debian arm64 repo. my first assumption is that its
identical.


After appreciating that bpi51 has libnss-mdns installed, you might discard any
assumption that nsswitch.conf on bpi54 has the same contents.

I don't believe any of these 4 bpi's have libnss-mdns installed, locate 
after a sudo updatedb, cannot find it on either of the 2 that are live 
on this net ATM.


Now. I modified /etc/cups/cupsd.conf to change loglevel to debug2, and 
add Listen 192.168.xx.yy:631, then restarted cups, getting this notice 
in /var/log/cups/error_log:


E [10/May/2023:14:32:16 -0500] Unable to open listen socket for address 
[v1.::1]:631 - Cannot assign requested address.


E [10/May/2023:14:32:16 -0500] Unable to open listen socket for address 
192.168.xx.yy:631 - Cannot assign requested address.


There's no ipv6 here, none within 100 miles so the first is expected but 
what is the second one telling us?  Permissions, bad path, wrong time of 
the month?  IDK...


This above is on bpi51.

Take care & stay well Brian.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-10 Thread gene heskett

On 5/10/23 11:29, Brian wrote:

On Wed 10 May 2023 at 10:04:47 -0400, gene heskett wrote:


On 5/10/23 08:17, Brian wrote:


[...]


Your nsswitch.conf line implies libnss-mymacines and libnss-mymhostname are 
used.
They have man pages to help you decide what parts they play on bpi54.


They were not installed, and neither are 95% of the manpages. man-db is
installed, pinfo is installed, neither has any knowledge of the missing man
pages.


   dpkg -L libnss-mymacines
   man  nss-myhostname


What do you have on bpi51?


bpi51 is busy, so bpi54 is being used, same iso installed both.


The same iso does not mean nsswitch.conf is the same on both. In fact, I think
they are not identical.
  

Man pages apparently are one of armbian's casualties. And avahi* and
cups-browsed has been reinstalled. When I went to bed last night, the
printers were being listed on the localhost:631/printers screen IF there is
an /etc/cups/client,conf containing the IP address:port of the shared
printers, but disappears if the machine name is used, And w/o manpages it
was not possible to find out that resolv.conf was using space separated
names and I had comma separated them. Fixed now.


Is /etc/cups/client,conf really, really needed?


That is the first thing cups docs tell you to do, see "printer sharing"


Also on the bpi's, running armbian, libnss-ldap is installed, which
conflicts with installing libnss-*, but did install libnss-my*, and now the
printers have disappeared again.  That does not hold water. What the heck is
going on now?


I haven't any idea and do not claim the know anything about armbian and how
it should deal with NSS\



Since that comes from a debian arm64 repo. my first assumption is that 
its identical.



doing a status request on the cups stuff shows that systemd restarted cups
and nearly everything else I just checked, a few seconds after midnight last
night, and now cups at localhost:631/printers is using a white cane again.


The scheduler restarts itself every 24 hours.

Now, since my post earlier this morning, I restarted cups, no diff, Set 
reporting to debug, now getting 20k of noise in the error_log per 
disturbance. It claims that anytime it encounters the Server, this 
machine, that it cannot assign the address, but doesn't say why. Does 
that tell you anything. I will bump the debug to debug2 which logs 
everything. After lunch and a nap before I tackle a milling machine with 
a shorted home switch.


Take care & stay well.

 Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-10 Thread gene heskett

On 5/10/23 08:17, Brian wrote:

On Tue 09 May 2023 at 16:49:22 -0400, gene heskett wrote:


On 5/9/23 07:12, Greg Wooledge wrote:

On Tue, May 09, 2023 at 04:06:14AM -0400, gene heskett wrote:

I think you have said resolv.conf Search directive doesn't work but
nsswitch.conf was mentioned and there is a diff between this machine and one
of the arms. So what do I put in nsswitch.conf to make cups search the hosts
file first?


The bare minimum would be:

hosts:  files dns

Mine contains this:

hosts:  files mdns4_minimal [NOTFOUND=return] dns

and my bpi54 is:
hosts:  files mymachines dns myhostname


bpi54 has two printers attached by USB. It also hosts four print queues that 
work
from bpi54 and bpi51. You have a printing system that should continue working
until trixie comes along. Then it will fall apart.

So why this descent into GNU Name Service Switch (NSS) functionality when you 
are
satisfied with the printing situation?

Greg Wooledge's nsswitch.conf line is what would be expected on a machine having
avahi-demon.service. You do not have avahi-daemon and libnss-mdns installed. 
That
is fine. A descision has been made to create queues with vendor drivers on bpi54
manually.

Your nsswitch.conf line implies libnss-mymacines and libnss-mymhostname are 
used.
They have man pages to help you decide what parts they play on bpi54.


They were not installed, and neither are 95% of the manpages. man-db is 
installed, pinfo is installed, neither has any knowledge of the missing 
man pages.


What do you have on bpi51?


bpi51 is busy, so bpi54 is being used, same iso installed both.

Man pages apparently are one of armbian's casualties. And avahi* and 
cups-browsed has been reinstalled. When I went to bed last night, the 
printers were being listed on the localhost:631/printers screen IF there 
is an /etc/cups/client,conf containing the IP address:port of the shared 
printers, but disappears if the machine name is used, And w/o manpages 
it was not possible to find out that resolv.conf was using space 
separated names and I had comma separated them. Fixed now.


Also on the bpi's, running armbian, libnss-ldap is installed, which 
conflicts with installing libnss-*, but did install libnss-my*, and now 
the printers have disappeared again.  That does not hold water. What the 
heck is going on now?


doing a status request on the cups stuff shows that systemd restarted 
cups and nearly everything else I just checked, a few seconds after 
midnight last night, and now cups at localhost:631/printers is using a 
white cane again.



Thanks Brian.  Take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-09 Thread gene heskett

On 5/9/23 07:12, Greg Wooledge wrote:

On Tue, May 09, 2023 at 04:06:14AM -0400, gene heskett wrote:

I think you have said resolv.conf Search directive doesn't work but
nsswitch.conf was mentioned and there is a diff between this machine and one
of the arms. So what do I put in nsswitch.conf to make cups search the hosts
file first?


The bare minimum would be:

hosts:  files dns

Mine contains this:

hosts:  files mdns4_minimal [NOTFOUND=return] dns

and my bpi54 is:
hosts:  files mymachines dns myhostname


The "search" directive in /etc/resolv.conf is followed by a space-separated
list of domain names.  Yours should say:

search coyote.den

aha! again: was:
nameserver 192.168.71.1
search hosts,nameserver
Which is not space separated, thank you, I've got it fixed in 2 places 
now. I think.

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-09 Thread gene heskett

On 5/8/23 07:49, Brian wrote:

On Mon 08 May 2023 at 00:23:43 -0400, gene heskett wrote:

Brian, I found the secret sauce. Armed with the knowledge that Mike had 
moved, I found his new site, and found the answer in 5 minutes under the 
"printer sharing" link.  Something is broken when using a client.conf 
that contains the ServerName directive as it does not work from a 
hostname file lookup, but does work if the ServerName is the ipv4 
address:631


Possibly the result of my system not having a working dhcpd except the 
relay in the router to my isp's dns.


I think you have said resolv.conf Search directive doesn't work but 
nsswitch.conf was mentioned and there is a diff between this machine and 
one of the arms. So what do I put in nsswitch.conf to make cups search 
the hosts file first?


I think that, with some PEBKAC has been the problem all along.

Thanks Brian, take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-08 Thread gene heskett

On 5/8/23 16:57, gene heskett wrote:

On 5/8/23 07:49, Brian wrote:

On Mon 08 May 2023 at 00:23:43 -0400, gene heskett wrote:


On 5/7/23 12:48, Brian wrote:


[...]


Please give 'lpstat -t' for bpi51 (bullseye) and a buster machine.

gene@bpi51:~$ lpstat -t
scheduler is running
system default destination: PDF
device for HLL2320D-RAW: ipp://192.168.71.3:631/printers/HLL2320D
device for PDF: cups-pdf:/


Thanks.

'lpstat -t' only ever shows *local* printers. That is, printers that have
been set up (manually in this case) on the local machine. It will never
discover and  show printers on the network. This was mentioned earlier in
this thread, but you do not appear to appreciate its significance.

To be clear: HLL2320D-RAW and PDF are local printers. We set up 
HLL2320D-RAW
(which is a working printer) togetger. Should you wish to see *all* 
devices

(local and on the network) us

   lpstat -e
   lpstat -l -e

Aha! now the two bpi's see all shares, + add the pdf generator if its 
installed. The HLL2320D as seen by -t, is the result of our earlier 
test, it actually added the printer to the local lp world. But not to cups.


I'll update bpi51 when the current part is finished, probably about an 
hour yet.


And that updated 77 pkgs, but did not require a reboot.  And no pkg 
changed anything about the cups blank printers discovered screen at 
localhost:631.


And its back to making another part. Busy till around 2am local

Thanks Brian.



The second command was explained earlier in the thread.

[...]


gene@bpi54:~$ lpstat -t
scheduler is running
no system default destination
device for Brother_HL-L2320D_series:
usb://Brother/HL-L2320D%20series?serial=U63877H0N346913
device for Brother_MFC-J6920DW_photo:
usb://Brother/MFC-J6920DW?serial=BROG5F229909
device for HLL2320D: 
usb://Brother/HL-L2320D%20series?serial=U63877H0N346913

device for MFCJ6920DW: usb://Brother/MFC-J6920DW?serial=BROG5F229909


These are the local printers on bpi54. All connected by USB. All set 
up by

you and all working

Summary: Everything is as it should be.

Your first mail has:

   > All of my bullseye machines are locked out, printer screen at
   > localhost:631 is empty, and no printers can be found and added.


You are missing the point, lpstat is seeing them, but cups is not.
That it seems to me, s/b where we should be concentrating our discovery 
efforts. FWIW reinstalling cups and cups-browsed has been done, made no 
difference that I could detect. Is there something I could put at the 
top of /etc/cups/cupsd.conf to make any failures or rejects generate 
meaningful msgs in /var/log/cups/error_log?





   > But open a shell, and type "lpstat -t" and it gets the full list of
   > available printers on that same bullseye machine whose cups 
output is

   > empty.

The facts as expressed are OK. Your interpretation of them is 
sub-optimal.

A lack of understanding about what localhost:631 and 'lpstat -t' show is
the root of problem and colours everything you have written here..

[...]
Apple ceased any involvement with CUPS development and parted 
company with
its Chief Printing Engineer a number of years ago. Debian CUPS is 
produced
by a team led by the creator of CUPS. Your requested fix is in place 
:).


If so, (this is the first I've heard of it, and I've only known Michael
since the late 1980's when we were both heavily involved in the os9
development, a mini unix that ran of the trs-80 color computers) 
where do I

email now to be assured Michael will see it? Is there a new cups mailing
list?


Please see our wiki.

Do you have any idea if that fix will be released for arm64 bullseye? 
I just
checked bpi54, no updates available since the Friday update. Ditto 
for the
intel busters here, but they're busters, so don't need the fix, they 
Just

Work.


I haven't a clue about arm64. I am not even sure that CUPS is the 
issue. You
have a classical local printer set up. It works. There are three other 
printers
that could be set up with the same technique. Remenber - you are the 
one who

does not want a New Architecture setup.


The big inkjet is well over 5 years old, and among other things the New 
Architecture does not recognize is it has two trays for paper source, 
always using the $0.12 a sheet glossy photo from the top tray.


Imagine what it would cost me to print all 1330 some pages of the 
current linuxcnc user docs. Not to mention I'd have to reload that 
smaller tray about 14 times. Tain't gonna happen.


And my ISP is having email probs its Monday.


Took them till close to noon to find it.

Thanks Brian.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-08 Thread gene heskett

On 5/8/23 07:49, Brian wrote:

On Mon 08 May 2023 at 00:23:43 -0400, gene heskett wrote:


On 5/7/23 12:48, Brian wrote:


[...]


Please give 'lpstat -t' for bpi51 (bullseye) and a buster machine.
  

gene@bpi51:~$ lpstat -t
scheduler is running
system default destination: PDF
device for HLL2320D-RAW: ipp://192.168.71.3:631/printers/HLL2320D
device for PDF: cups-pdf:/


Thanks.

'lpstat -t' only ever shows *local* printers. That is, printers that have
been set up (manually in this case) on the local machine. It will never
discover and  show printers on the network. This was mentioned earlier in
this thread, but you do not appear to appreciate its significance.

To be clear: HLL2320D-RAW and PDF are local printers. We set up HLL2320D-RAW
(which is a working printer) togetger. Should you wish to see *all* devices
(local and on the network) us

   lpstat -e
   lpstat -l -e

Aha! now the two bpi's see all shares, + add the pdf generator if its 
installed. The HLL2320D as seen by -t, is the result of our earlier 
test, it actually added the printer to the local lp world. But not to cups.


I'll update bpi51 when the current part is finished, probably about an 
hour yet.


Thanks Brian.


The second command was explained earlier in the thread.

[...]


gene@bpi54:~$ lpstat -t
scheduler is running
no system default destination
device for Brother_HL-L2320D_series:
usb://Brother/HL-L2320D%20series?serial=U63877H0N346913
device for Brother_MFC-J6920DW_photo:
usb://Brother/MFC-J6920DW?serial=BROG5F229909
device for HLL2320D: usb://Brother/HL-L2320D%20series?serial=U63877H0N346913
device for MFCJ6920DW: usb://Brother/MFC-J6920DW?serial=BROG5F229909


These are the local printers on bpi54. All connected by USB. All set up by
you and all working

Summary: Everything is as it should be.

Your first mail has:

   > All of my bullseye machines are locked out, printer screen at
   > localhost:631 is empty, and no printers can be found and added.
   >
   > But open a shell, and type "lpstat -t" and it gets the full list of
   > available printers on that same bullseye machine whose cups output is
   > empty.

The facts as expressed are OK. Your interpretation of them is sub-optimal.
A lack of understanding about what localhost:631 and 'lpstat -t' show is
the root of problem and colours everything you have written here..

[...]
  

Apple ceased any involvement with CUPS development and parted company with
its Chief Printing Engineer a number of years ago. Debian CUPS is produced
by a team led by the creator of CUPS. Your requested fix is in place :).


If so, (this is the first I've heard of it, and I've only known Michael
since the late 1980's when we were both heavily involved in the os9
development, a mini unix that ran of the trs-80 color computers) where do I
email now to be assured Michael will see it? Is there a new cups mailing
list?


Please see our wiki.


Do you have any idea if that fix will be released for arm64 bullseye? I just
checked bpi54, no updates available since the Friday update. Ditto for the
intel busters here, but they're busters, so don't need the fix, they Just
Work.


I haven't a clue about arm64. I am not even sure that CUPS is the issue. You
have a classical local printer set up. It works. There are three other printers
that could be set up with the same technique. Remenber - you are the one who
does not want a New Architecture setup.


The big inkjet is well over 5 years old, and among other things the New 
Architecture does not recognize is it has two trays for paper source, 
always using the $0.12 a sheet glossy photo from the top tray.


Imagine what it would cost me to print all 1330 some pages of the 
current linuxcnc user docs. Not to mention I'd have to reload that 
smaller tray about 14 times. Tain't gonna happen.


And my ISP is having email probs its Monday.




Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: relevance of packages in repositories

2023-05-07 Thread gene heskett

On 5/7/23 14:04, to...@tuxteam.de wrote:

On Sun, May 07, 2023 at 11:33:04AM -0400, gene heskett wrote:

On 5/7/23 09:20, to...@tuxteam.de wrote:


[...]


Very nasty, it is.

Cheers

Yoda, is that you?  ;O)>


Much smarter than me, Yoda is.

;-)
I've read enough of your posts to know better than that, but thanks for 
the chuckle, I needed that. ;o)>


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-07 Thread gene heskett

On 5/7/23 13:34, Eduardo M KALINOWSKI wrote:

On 07/05/2023 12:26, gene heskett wrote:
There is a light at the end of this dark tunnel, IF you are willing to 
change the brand name on the printer. But in your case you've already 
done that.  So now do a search for brotherusa, go there and download 
their driver installer, unpack it, run it sudo if needed. It will ask 
you for the model # of your printer, enter it EXACTLY, the script 
will, if you've net access, goto brothers site, download the exact 
driver your printer needs, install it, integrating with cups perfectly 
but you will probably need to disable cups-browsed as it will make the 
default driver the everywhere driver, crippling 95% of the printers 
abilities.  And from the machine the printer is plugged into, and 
assuming browsed is stopped so you can use the brother driver, it Just 
Works.


Please stop spreading misinformation. I have a Brother MFC-L2740DW 
(which I believe is the exact model you have, or if not very similar) 


I doubt it, does your handle tabloid sized paper (11x17"), including the 
scanner in its lid with an adf? Does it have 2 paper drawers?


and it works perfectly with the "driverless" approach, both with the 
cups ppd generator (everywhere) and the cups-filters pps generator 
(driverless). The first one leads to slow printing for some reason, and 
I had to select "high" quality to get standard quality; the second one 
is as fast as the proprietary driver. Auto discovery with cups-browsed 
also works. There might be some specialized options only available in 
the proprietary driver, but everything needed for general use (tray 
selection, duplex, etc) is available in the driverless driver.


You just showed that it doesn't Just Work, which is exactly why I run 
the brother drivers, which run just fine on a 6 core i5. Every feature 
this printer has, I can adjust from the cups menu's. The driverless 
setup can run this inkjet, w/o duplex because its w/o tray selection, 
printing everything on paper from the top smaller tray normally loaded 
with 50 cents a sheet glossy photo paper.


The proprietary driver is fine and works well, if it suits you, feel 
free to use it. Just be aware that it's only available for i386, not 
amd64, so in a desktop pc you'll need to add the i386 architecture. On a 
Raspberry Pi or other arm computer you won't be able to run the 
proprietary driver.


An arm computer has no need to run their driver, and yes, the rpi4b 
running 1500 lbs worth of 80 yo Sheldon lathe, but running buster sees 7 
shared printers from this machine right now. And they are all usable 
from that keyboard.


If their driver ever had an i386 limitation its news to me.

But please don't say it's the only option because you've been unable to 
use the other ones.


This printer also has a cat5 feed, with an address in my local 
192,168,xx, block, so even if its not plugged into a given machine, but 
the printer and the scanner should still be available at it ipv4 
address. That should be found by cups running anywhere on the property, 
it is not discovered. But I'm mistaken, I now recall unplugging the cat 
5 cable about 2 years ago. USB is faster at data transfer. By about 5x.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-07 Thread gene heskett

On 5/7/23 12:48, Brian wrote:

On Sun 07 May 2023 at 11:26:05 -0400, gene heskett wrote:


On 5/6/23 19:29, Alex King wrote:

Printing on Linux is poor.  CUPS is poor.  It doesn't work for some (a
lot?) of people.

I have a Brother HL-L2300D printer.  It is connected to my (Debian
bullseye) workstation by USB.  I have CUPS installed.

My printer prints sometime.  Other times, it spins up (makes a noise
like it is about to start printing), but nothing comes out. I can't get
any useful diagnostics to tell me where the problem might be.


There is a light at the end of this dark tunnel, IF you are willing to
change the brand name on the printer. But in your case you've already done
that.  So now do a search for brotherusa, go there and download their driver
installer, unpack it, run it sudo if needed. It will ask you for the model #
of your printer, enter it EXACTLY, the script will, if you've net access,
goto brothers site, download the exact driver your printer needs, install
it, integrating with cups perfectly but you will probably need to disable
cups-browsed as it will make the default driver the everywhere driver,
crippling 95% of the printers abilities.  And from the machine the printer
is plugged into, and assuming browsed is stopped so you can use the brother
driver, it Just Works.

However, if its to be shared, usable from other machines on your local home
network AND your other machines are also running bullseye, and some of my
arm stuff is, something is locking out the discovery of shares by cups,
hence my constant harping about it here.  Other Buster machines Just Work
but in my case and to emphasize the point, an rpi4b running buster works but
no banana pi m2 running bullseye can find a printer for cups. But lpstat -t
on that same bpi running bullseye sees them all.


Please give 'lpstat -t' for bpi51 (bullseye) and a buster machine.


gene@bpi51:~$ lpstat -t
scheduler is running
system default destination: PDF
device for HLL2320D-RAW: ipp://192.168.71.3:631/printers/HLL2320D
device for PDF: cups-pdf:/
HLL2320D-RAW accepting requests since Mon 01 May 2023 04:29:40 PM -05
PDF accepting requests since Fri 02 Dec 2022 11:13:10 PM -05
printer HLL2320D-RAW is idle.  enabled since Mon 01 May 2023 04:29:40 PM -05
printer PDF is idle.  enabled since Fri 02 Dec 2022 11:13:10 PM -05

That's new, but the other bigger mfc inkjet is missing, so I went to the 
ff screen, opened a tab and sent it to localhost:631, cups was running, 
clicking on printers got me only the local pdf generator. I didn't 
disturb it further as its driving a 3d printer, has ben since the wether 
cleared about 17:00 and will be busy doing that till around 13:00 
tomorrow.  making a pair of half-nuts for a woodworkers big leg vise, 
with a 24" long, 2" in diameter hard maple screw I designed for my own 
workbench. But I thought I might see if I could sell a dozen or so once 
I had it working. Unforch, and the driving force behind my building a 
printer farm, is the 3 weeks it takes to print the rest of it after I've 
made the screw on one of my milling machines, using gcode I wrote.
That machine, bpi51, did not get updated friday because it was busy 
driving a printer.


bpi54, which is an identical bpi, is running with nother but a bare btt 
octopus-pro board, did get an update friday which included a new avahi.


gene@bpi54:~$ lpstat -t
scheduler is running
no system default destination
device for Brother_HL-L2320D_series: 
usb://Brother/HL-L2320D%20series?serial=U63877H0N346913
device for Brother_MFC-J6920DW_photo: 
usb://Brother/MFC-J6920DW?serial=BROG5F229909

device for HLL2320D: usb://Brother/HL-L2320D%20series?serial=U63877H0N346913
device for MFCJ6920DW: usb://Brother/MFC-J6920DW?serial=BROG5F229909
Brother_HL-L2320D_series accepting requests since Thu 04 May 2023 
06:24:04 AM EDT
Brother_MFC-J6920DW_photo accepting requests since Thu 30 Mar 2023 
09:16:43 AM EDT

HLL2320D accepting requests since Thu 04 May 2023 06:24:04 AM EDT
MFCJ6920DW accepting requests since Sun 26 Mar 2023 03:30:13 PM EDT
printer Brother_HL-L2320D_series is idle.  enabled since Thu 04 May 2023 
06:24:04 AM EDT
printer Brother_MFC-J6920DW_photo is idle.  enabled since Thu 30 Mar 
2023 09:16:43 AM EDT

printer HLL2320D is idle.  enabled since Thu 04 May 2023 06:24:04 AM EDT
printer MFCJ6920DW is idle.  enabled since Sun 26 Mar 2023 03:30:13 PM EDT

as can be seen from its "lpstat -t" it shows all shares, but cups still 
can't see anything. I'm not sure if the pdf generator is installed

[...]

To me, its been a wholesale slauterhouse since cups was sold to Apple.
The only fix I can see will require that we as a world wide group, decide to
monetarily support a cups like fork, getting away from the if it doesn't
suit Apple, it doesn't happen, influence.  TANSTAAFL folks. If you think the
peanuts are free, its time to look at the price of the beer.  Coders like to
eat, good ones should be able to afford a longer ladder up the side

Re: relevance of packages in repositories

2023-05-07 Thread gene heskett

On 5/7/23 09:20, to...@tuxteam.de wrote:

On Sun, May 07, 2023 at 01:14:57PM +0300, Дмитрий wrote:


[...] it really pisses you off [...]


Oh, it does?

Very nasty, it is.

Cheers

Yoda, is that you?  ;O)>

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-07 Thread gene heskett
 for those with the memory for cli.

Is there a deeper problem affecting printing on linux?  I asked work 
colleagues and got two responses:


"oh, shit.  you’re actually printing from linux.  my condolences.', and

"I use Epson and Ubuntu, never had an issue with print over IP - so I 
can attest to drivers working from that perspective atleast"


My perspective is that there is a significant issue, at least for a 
portion of users.


Implying the user is at fault (which Brian isn't necessarily doing 
here,) or acting surprised when someone has trouble printing, is like 
gaslighting.  Maybe it works OK for you, but please understand that is 
not the general case.  Debian can't support every printer for every 
user, but knowing that, CUPS should come with a health warning:  "We 
supply this software as-is in the knowledge that it has known faults, 
and will not work reliably for all users.  We wish there were a way that 
Debian users could reliably print, but there is not.  You may get some 
help on Debian User, but in general printing is not supported."


Thanks,
Alex

On 6/05/23 05:45, Brian wrote:
Your conclusion is that the printing system is in itself is defective 
and that is

reflected in your response.


No adverse reflection on Brian, he has been very helpful indeed in 
isolating my problems to a broken cups. But neither of us has yet found 
whats actually broken.


Take care & stay well everybody.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: debian-user-digest Digest V2023 #416

2023-05-07 Thread gene heskett

On 5/6/23 22:30, Mike Zelenak wrote:

Hi, I am new here.  Can anybody help me with this; I have a 2021 Macbook
Pro 16" and am trying to install Debian via USB to USB C.  The boot loader
is recognizing the keyboard and trackpad on the 2007 keyboard I want to use
but the OS will not recognize it once opened.  I only have one USB - USB C
connector.  Any help would be appreciated.  Thank you.


I know zip about macs, but linux should recognize and use whatever is 
plugged into a usb hub, plugged into your mac. That will give you from 4 
to 7 usb ports. And they can be stacked, my usb tree looks like a 
weeping willow here.


And please make a new message for a new subject, replying to a digest, 
and including it is a huge waste of bandwidth.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: I installed 11.6

2023-05-06 Thread gene heskett

On 5/6/23 09:03, Greg Wooledge wrote:

On Fri, May 05, 2023 at 11:27:45PM -0400, Maureen L Thomas wrote:

I installed debian 11.6 and updated the needed packages to 11.7.



I hate upgrading because they change everything


An upgrade from 11.x to 11.y should not have too many visible changes.
It's a minor "point release" upgrade, which in an ideal world would
only contain security patches and bug fixes.

Occasionally there's a visible change that makes its way in, but it
shouldn't be major.

You should get in the habit of applying *all* of the point release
updates, every time.  Keep your system up to date on security patches,
and your life will be a lot simpler.

Everything but the rpi4 got a new avahi this morning and that changed my 
cups problems around considerably, but I've not had a chance yet to do a 
full survey. Indications are that some busters are now blocked also.

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-05 Thread gene heskett

On 5/5/23 18:51, Brian wrote:

On Fri 05 May 2023 at 16:32:36 -0400, gene heskett wrote:


On 5/5/23 13:45, Brian wrote:


[...]
  

   * An output from 'lpoptions -p HLL2320D_coyote -l' that indicates a broken
 system.


this is bad?
gene@coyote:~$ lpoptions -p HLL2320D_coyote -l
PageSize/Media Size: 184.15x260mm 195.09x269.88mm 200.03x148.17mm 4x6 A4 A5
A6 B5 B6 Env10 EnvC5 EnvDL EnvMonarch EnvYou4 Executive FanFoldGermanLegal
ISOB5 ISOB6 Legal *Letter Postcard roc16k Custom.WIDTHxHEIGHT
InputSlot/Media Source: *Manual Tray1
ColorModel/Output Mode: FastGray *Gray
Duplex/Duplex: *None DuplexNoTumble DuplexTumble
OutputBin/OutputBin: *FaceDown
cupsPrintQuality/cupsPrintQuality: *Normal


The commaand has been executed on the server, the machine named coyote. The
machine of interest is bpi51, which gives

   > gene@bpi51:~$ lpoptions -p HLL2320D_coyote -l
   > lpoptions: Unable to get PPD file for HLL2320D_coyote: The printer or class
   > does not exist.

bpi51 is unable to the printer attributes from coyote.

Contrast that with a buster machine:

gene@sixty40:~$ lpoptions -p HLL2320D_coyote -l

   > PageSize/Media Size: Custom.WIDTHxHEIGHT *Letter Legal Executive
   > FanFoldGermanLegal A4 A5 A6 Env10 EnvMonarch EnvDL EnvC5 ISOB5 B5
   > ISOB6 B6 4x6 Postcard DoublePostcardRotated EnvYou4 195x270mm
   > 184x260mm 197x273mm CUSTOM1 CUSTOM2 CUSTOM3
   > BrMediaType/MediaType: *PLAIN THIN THICK THICKERPAPER2 BOND ENV
   > ENVTHICK ENVTHIN RECYCLED
   > InputSlot/InputSlot: MANUAL *TRAY1
   > Duplex/Duplex: DuplexTumble *DuplexNoTumble None
   > Resolution/Resolution: 300dpi *600dpi 2400x600dpi
   > TonerSaveMode/Toner Save: *OFF ON
   > Sleep/Sleep Time [Min.]: *PrinterDefault 2minutes 10minutes 30minutes

This output would be expected on bpi51.
  

The only thing I don't see is its shared state? but it is.
So why can't another bullseye install use these printers? Buster machines
have 100% transparent access.


Because bpi51 is unable to get attributes from the server to form a PPD file
for HLL2320D_coyote. That is what needs sorting.

The question then becomes what is stopping it, A further clue, maybe, is 
the error log here that reports a lack of auth, but does not say from 
where. that precious little to go hunting for.  Someone more familiar 
with cups might be able to make it spit out more specifics.


Thanks Brian.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-05 Thread gene heskett

On 5/5/23 13:45, Brian wrote:

On Fri 05 May 2023 at 11:40:21 -0400, gene heskett wrote:


On 5/5/23 10:08, Brian wrote:

On Thu 04 May 2023 at 15:57:49 -0400, gene heskett wrote:


On 5/4/23 15:43, zithro wrote:

On 01 May 2023 14:53, Brian wrote:


[...]


Second question: is that possible to use CUPS/printing without avahi ?


Absolutely, up to bullseye for both buster and bullseye, but not from
bullseye to bullseye.


avahi-daemon is recommended by cups-daemong. Printing is *always* possible
without its being on the system, especially if it's desired to make things
difficult for all users. I'm afraid the remainder of the sentence is very
misleading and amounts to nonsense.


What nonsense? I have repeatedly asked why printers shared from this
machine, that are seen and usable from any buster machine on my net, but
cannot be seen or used by any other bullseye machine on this same net by
localhost:631 on that bullseye machine.

lpstat and friends can see and use them, but no cups related stuff installed
on a bullseye install can.


A very general question was asked. You answered in terms of your own particular
situation:

  * An unrevealed non-Debian OS on bpi51.


The armbian version of debian  bullseye 11.6 which except for the uboot 
stuff, uses the debian arm64 repo's for everything else.  And which I'm 
pretty sure has been posted.



  * A well-known aversion to Avahi.


Which I have now reinstalled, much to my amazement has not insisted on 
replacing the default route with a 169.number. My aversion to avahi goes 
clear back to long before Jessie because it was not possible to achieve 
a working, local 192.168,xx.xx based network with avahi installed. 
Avahi, like NM has finally learned some manners.



  * An aversion to the everywhere model.


Because it reduces any printer to the lowest common denominator. No 
duplex, no multiple paper trays, huge borders & poor almost unreadable 
fonts.



  * An output from 'lpoptions -p HLL2320D_coyote -l' that indicates a broken
system.


this is bad?
gene@coyote:~$ lpoptions -p HLL2320D_coyote -l
PageSize/Media Size: 184.15x260mm 195.09x269.88mm 200.03x148.17mm 4x6 A4 
A5 A6 B5 B6 Env10 EnvC5 EnvDL EnvMonarch EnvYou4 Executive 
FanFoldGermanLegal ISOB5 ISOB6 Legal *Letter Postcard roc16k 
Custom.WIDTHxHEIGHT

InputSlot/Media Source: *Manual Tray1
ColorModel/Output Mode: FastGray *Gray
Duplex/Duplex: *None DuplexNoTumble DuplexTumble
OutputBin/OutputBin: *FaceDown
cupsPrintQuality/cupsPrintQuality: *Normal

The only thing I don't see is its shared state? but it is.
So why can't another bullseye install use these printers? Buster 
machines have 100% transparent access.



Your conclusion is that the printing system is in itself is defective and that 
is
reflected in your response. Their fault - not mine.


And no one can tell me why... none of the editors or pdf readers that have a
print this dialog, geany, evince, etc, can't see or use these printers. I
thought maybe we were on the trail of finding a solution, but you were happy
& went away when an lp command line worked. But way too many of the other
utils ignore any attempt to use lp if they can't use cups. For me, its a
serious problem. Yes, lp works, but I'm back to the amiga, ghostscript 5.05
I had to build and an array of shell scripts I wrote to print a multipage
document. That is 1990 stuff. I just looked at a calendar and found its now
2023.  Seems to me that 33 years later, we should have made more progress
than I can see here.


I gave you a classic printing solution because New Architecture printing fell 
apart
*on your system*. I am very much disinclined to dig any further into the setup
you have devised for printing.



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-05 Thread gene heskett

On 5/5/23 10:08, Brian wrote:

On Thu 04 May 2023 at 15:57:49 -0400, gene heskett wrote:


On 5/4/23 15:43, zithro wrote:

On 01 May 2023 14:53, Brian wrote:


[...]


Second question: is that possible to use CUPS/printing without avahi ?


Absolutely, up to bullseye for both buster and bullseye, but not from
bullseye to bullseye.


avahi-daemon is recommended by cups-daemong. Printing is *always* possible
without its being on the system, especially if it's desired to make things
difficult for all users. I'm afraid the remainder of the sentence is very
misleading and amounts to nonsense.

What nonsense? I have repeatedly asked why printers shared from this 
machine, that are seen and usable from any buster machine on my net, but 
cannot be seen or used by any other bullseye machine on this same net by 
localhost:631 on that bullseye machine.


lpstat and friends can see and use them, but no cups related stuff 
installed on a bullseye install can.


And no one can tell me why... none of the editors or pdf readers that 
have a print this dialog, geany, evince, etc, can't see or use these 
printers. I thought maybe we were on the trail of finding a solution, 
but you were happy & went away when an lp command line worked. But way 
too many of the other utils ignore any attempt to use lp if they can't 
use cups. For me, its a serious problem. Yes, lp works, but I'm back to 
the amiga, ghostscript 5.05 I had to build and an array of shell scripts 
I wrote to print a multipage document. That is 1990 stuff. I just looked 
at a calendar and found its now 2023.  Seems to me that 33 years later, 
we should have made more progress than I can see here.


Take care & stay well Brian.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unanswered severaltimes.

2023-05-04 Thread gene heskett

On 5/4/23 15:43, zithro wrote:

On 01 May 2023 14:53, Brian wrote:

On Mon 01 May 2023 at 13:41:10 +0200, to...@tuxteam.de wrote:


On Mon, May 01, 2023 at 09:37:59AM +0200, john doe wrote:

[...]


Please refrain from polluting the list when you do not get an answer.


I think repeating a question after a while doesn't count as
"polluting". That's what debian-user is for, after all.


Indeed. Persistaence has a place and may pay off.



Indeed, it seems it has paid off, as it works now for Gene !

The Brian-Gene exchanges are now set in stone, and can now serve as a 
step-by-step debug guide for CUPS.


I'm glad Gene followed suggestions this time, right Gene ? ;)

Although I was afraid when I saw :

*** WARNING: Detected another IPv4 mDNS stack running on this host. This 
makes mDNS unreliable and is thus not>


Is that expected at 1st avahi start ?

Second question: is that possible to use CUPS/printing without avahi ?

Absolutely, up to bullseye for both buster and bullseye, but not from 
bullseye to bullseye.

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 17:22, Brian wrote:

On Mon 01 May 2023 at 20:59:50 +0100, debian-u...@howorth.org.uk wrote:


gene heskett  wrote:


I'd think I could start by comparing cupsd.conf's, but miss And I
can't see the trees for all this forest in the way in both, but
missing is a client.conf. I think... But that is probably whats
wrong, me thinking.


Your directory listings showed that both had a ppd directory, but you
didn't show the content of those directories. Since your error message
was specifically that it couldn't find the PPD, the first thing I'd do
is compare those two directories.


The message was not about not being able to *find* a PPD. Finding something
implies it already exists. Here is the message againn:


lpoptions: Unable to get PPD file for HLL2320D_coyote: The printer or class
does not exist.



And it did not exist until the lpadmin created it.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has goneunansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 16:00, debian-u...@howorth.org.uk wrote:

gene heskett  wrote:


I'd think I could start by comparing cupsd.conf's, but miss And I
can't see the trees for all this forest in the way in both, but
missing is a client.conf. I think... But that is probably whats
wrong, me thinking.


Your directory listings showed that both had a ppd directory, but you
didn't show the content of those directories. Since your error message
was specifically that it couldn't find the PPD, the first thing I'd do
is compare those two directories.


The 1st armbian, bpi51, /etc/cups/ppd does contain the PDF generator PPD
The 4th one, bpi54 /etc/cups/ppd is empty. All were installed with the 
same bullseye 11.6 installer. The other two are presently powered down 
in the middle of building a quad of 3d printers around them.


I might be getting on in the middle of my 88th year here, but I can 
still carve useful things in OpenSCAD and in gcode. At the link in my 
sig you'll find a link to this machine, and in that link are some pix of 
what I'm doing. I wrote every byte of the gcode that carves those wooden 
screws in a couple of those pix.


Stronger by quite a bit than anything you can get from fleabay at any price.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has goneunansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 16:00, debian-u...@howorth.org.uk wrote:

gene heskett  wrote:


I'd think I could start by comparing cupsd.conf's, but miss And I
can't see the trees for all this forest in the way in both, but
missing is a client.conf. I think... But that is probably whats
wrong, me thinking.


Your directory listings showed that both had a ppd directory, but you
didn't show the content of those directories. Since your error message
was specifically that it couldn't find the PPD, the first thing I'd do
is compare those two directories.


The ppd dirs are empty.

And if a copy/paste from this machine, hosting the printers fixes it on 
the other bullseye machines so these printers are available to whomever 
wants to use them, like geany or okular etc, can we create a cups bug 
entry? Perms on those empty ppd dirs are:

gene@bpi54:~$ ls -l /etc/cups
total 80
-rw-r--r-- 1 root root30 Apr  8 20:07 client.conf
-rw-r--r-- 1 root root 30456 Apr 14 03:14 cups-browsed.conf
-rw-r--r-- 1 root root  6486 Apr 30 05:09 cupsd.conf
-rw-r--r-- 1 root root  3047 May 23  2022 cups-files.conf
drwxr-xr-x 2 root root  4096 May 23  2022 interfaces
drwxr-xr-x 2 root lp4096 May 23  2022 ppd
-rw-r--r-- 1 root root   240 Oct 15  2022 raw.convs
-rw-r--r-- 1 root root   211 Oct 15  2022 raw.types
-rw-r--r-- 1 root root   142 May 23  2022 snmp.conf
drwx-- 2 root lp4096 May 23  2022 ssl
-rw-r- 1 root lp  93 Feb  6 23:41 subscriptions.conf
-rw-r- 1 root lp 335 Feb  6 23:35 subscriptions.conf.O
gene@bpi54:~$ ls -l /etc/cups/ppd
total 0

So it looks to me like cups, to add a printer, needs to be either root, 
ask a sudo pw, or be a member of group lp.


But group lp is bereft of any other members with "lp:x:7:" as its one 
and only member, but cups on these machines has yet to ask me for a pw. 
This looks like it could be part of the original show stopper problem?

Or, am I overthinking this again?



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 14:31, Brian wrote:

On Mon 01 May 2023 at 13:22:47 -0400, gene heskett wrote:


On 5/1/23 12:30, Brian wrote:


[...]


The -l option asks the queue for the specific options it offers. The response
indicates something wrong with CUPS on bpi51. I haven't any problem when doing
this and getting sensible outputs on my Debian unstable machine.


Which isn't quite a 1:1 comparison as that will be bookworm shortly.

Or, should I update the bullseyes to unstable? IDK and I'm not even sure
how...


Forget about doing that. I was merely commenting that my Debian did not
behave like yours. Is yours a fruit-flavoured varian?


Assuming your buster machines (which are working) have similar setups to bpi51,


Which is a bullseye machine. And has a totally different content to the
/etc/cups directory as shown by my last post, much more complex on the
bullseye installs that don't work.


THe difference is highly likely to be relevant. You are grasping at straws.


you couls try the two commands (and all the others in this thread) on one of
those.


I'd think I could start by comparing cupsd.conf's, but miss And I can't see
the trees for all this forest in the way in both, but missing is a
client.conf. I think... But that is probably whats wrong, me thinking.


A client.conf is unneeded on a well-behaved CUPS system that obtains info
from avahi-daemon.

in the past, its been required to nuke any and all instances found with 
avahi in its name in order to get rid of the totally bogus 
169.xx.xxx.xxx. default route address as is now reported by ip r after a 
reboot.  This has been true even before jessie. However I've now 
re-installed it on two of these armbian bullseye machines w/o losing my 
network. Perhaps it has learned some manners since jessie? Network 
Manager, my other major headache certainly has.


Take care and stay well Brian.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 13:34, Brian wrote:

On Mon 01 May 2023 at 13:03:50 -0400, gene heskett wrote:


On 5/1/23 12:30, Brian wrote:


Assuming your buster machines (which are working) have similar setups to bpi51,
you couls try the two commands (and all the others in this thread) on one of
those.


one of those machines reports this for the -l option:

gene@sixty40:~$ lpoptions -p HLL2320D_coyote -l
PageSize/Media Size: Custom.WIDTHxHEIGHT *Letter Legal Executive
FanFoldGermanLegal A4 A5 A6 Env10 EnvMonarch EnvDL EnvC5 ISOB5 B5 ISOB6 B6
4x6 Postcard DoublePostcardRotated EnvYou4 195x270mm 184x260mm 197x273mm
CUSTOM1 CUSTOM2 CUSTOM3
BrMediaType/MediaType: *PLAIN THIN THICK THICKERPAPER2 BOND ENV ENVTHICK
ENVTHIN RECYCLED
InputSlot/InputSlot: MANUAL *TRAY1
Duplex/Duplex: DuplexTumble *DuplexNoTumble None
Resolution/Resolution: 300dpi *600dpi 2400x600dpi
TonerSaveMode/Toner Save: *OFF ON
Sleep/Sleep Time [Min.]: *PrinterDefault 2minutes 10minutes 30minutes


Looks reasonable. A similar command on the server should give a similar output.

The reason 'lp -d HLL2320D_coyote printer.cfg' failed is because CUPS is unable
to query the HLL2320D_coyote printer for its attributes. Printing from anything
else, such as Firefox, will also fail. CUPS on the bullseye machine appears to
be broken.

[...]

A possible way forward is to execute

   sudo lpadmin -p HLL2320D-RAW -v ipp://192.168.71.3:631/printers/HLL2320D -E 
-m raw

which gets me this warning:
gene@bpi51:~$ sudo lpadmin -p HLL2320D-RAW -v 
ipp://192.168.71.3:631/printers/HLL2320D -E -m raw

[sudo] password for gene:
lpadmin: Raw queues are deprecated and will stop working in a future 
version of CUPS.

lpadmin: Use the 'everywhere' model for shared printers.

And I wouldn't use the everywhere option ever as it cripples the printer 
down to the lowest common performing option list, losing among other 
things, the duplex ability. So it MUST use the Brother driver.




and try


then I ran this w/o the sudo:

   lp -d HLL2320D-RAW printer.cfg

And got this:
gene@bpi51:~$ lp -d HLL2320D-RAW printer.cfg
request id is HLL2320D-RAW-1 (1 file(s))

printing the file in portrait mode, full duplex, but the file is wider 
and I would normally put it in landscape mode to reduce the 
auto-word-wrapping confusion. Does -o landscape still work with the raw 
option?


Yes, provided the -olandscape is after the -d argument. That file is a 
3d printer description for klipper, 5 pages in landscape mode.  And is 
the first and 2nd time I've been able to print it. Thank you very much.
Can we continue, making a shell script to do this again with all 
variations available for the -o options of lp?


Take care & stay well Brian.





Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 12:30, Brian wrote:

On Mon 01 May 2023 at 11:39:29 -0400, gene heskett wrote:


On 5/1/23 11:28, Brian wrote:

On Mon 01 May 2023 at 11:02:58 -0400, gene heskett wrote:


On 5/1/23 10:40, Brian wrote:


[...]


Your printing situation appears to be a sane one, so now for a test. Do

 lp -d HLL2320D_coyote ANY_FILE_YOU_WANT


Is not working, shell appears frozen but eventually returns:
gene@bpi51:~$ lp -d HLL2320D_coyote printer.cfg
lp: The printer or class does not exist.


But HLL2320D_coyote does exist. It is seen in the outputs of 'lpstat -l -e'
and 'sudo lpinfo -v'. Give

lpoptopns -p HLL2320D_coyote

gene@bpi51:~$ lpoptions -p HLL2320D_coyote
device-uri=ipps://HLL2320D%20%40%20coyote._ipps._tcp.local/cups
printer-info='HLL2320D @ coyote' printer-make-and-model='Brother HL-L2320D
series' printer-type=25202710


The print queue specified by -p is queried for some information about itself.
Its reponse is given and it seems a very reasonable one.


lpoptions -p HLL2320D_coyote -l

gene@bpi51:~$ lpoptions -p HLL2320D_coyote -l
lpoptions: Unable to get PPD file for HLL2320D_coyote: The printer or class
does not exist.


The -l option asks the queue for the specific options it offers. The response
indicates something wrong with CUPS on bpi51. I haven't any problem when doing
this and getting sensible outputs on my Debian unstable machine.


Which isn't quite a 1:1 comparison as that will be bookworm shortly.

Or, should I update the bullseyes to unstable? IDK and I'm not even sure 
how...



Assuming your buster machines (which are working) have similar setups to bpi51,


Which is a bullseye machine. And has a totally different content to the 
/etc/cups directory as shown by my last post, much more complex on the 
bullseye installs that don't work.



you couls try the two commands (and all the others in this thread) on one of
those.

I'd think I could start by comparing cupsd.conf's, but miss And I can't 
see the trees for all this forest in the way in both, but missing is a 
client.conf. I think... But that is probably whats wrong, me thinking.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 12:30, Brian wrote:

On Mon 01 May 2023 at 11:39:29 -0400, gene heskett wrote:


On 5/1/23 11:28, Brian wrote:

On Mon 01 May 2023 at 11:02:58 -0400, gene heskett wrote:


On 5/1/23 10:40, Brian wrote:


[...]


Your printing situation appears to be a sane one, so now for a test. Do

 lp -d HLL2320D_coyote ANY_FILE_YOU_WANT


Is not working, shell appears frozen but eventually returns:
gene@bpi51:~$ lp -d HLL2320D_coyote printer.cfg
lp: The printer or class does not exist.


But HLL2320D_coyote does exist. It is seen in the outputs of 'lpstat -l -e'
and 'sudo lpinfo -v'. Give

lpoptopns -p HLL2320D_coyote

gene@bpi51:~$ lpoptions -p HLL2320D_coyote
device-uri=ipps://HLL2320D%20%40%20coyote._ipps._tcp.local/cups
printer-info='HLL2320D @ coyote' printer-make-and-model='Brother HL-L2320D
series' printer-type=25202710


The print queue specified by -p is queried for some information about itself.
Its reponse is given and it seems a very reasonable one.


lpoptions -p HLL2320D_coyote -l

gene@bpi51:~$ lpoptions -p HLL2320D_coyote -l
lpoptions: Unable to get PPD file for HLL2320D_coyote: The printer or class
does not exist.


The -l option asks the queue for the specific options it offers. The response
indicates something wrong with CUPS on bpi51. I haven't any problem when doing
this and getting sensible outputs on my Debian unstable machine.

Assuming your buster machines (which are working) have similar setups to bpi51,
you couls try the two commands (and all the others in this thread) on one of
those.


one of those machines reports this for the -l option:

gene@sixty40:~$ lpoptions -p HLL2320D_coyote -l
PageSize/Media Size: Custom.WIDTHxHEIGHT *Letter Legal Executive 
FanFoldGermanLegal A4 A5 A6 Env10 EnvMonarch EnvDL EnvC5 ISOB5 B5 ISOB6 
B6 4x6 Postcard DoublePostcardRotated EnvYou4 195x270mm 184x260mm 
197x273mm CUSTOM1 CUSTOM2 CUSTOM3
BrMediaType/MediaType: *PLAIN THIN THICK THICKERPAPER2 BOND ENV ENVTHICK 
ENVTHIN RECYCLED

InputSlot/InputSlot: MANUAL *TRAY1
Duplex/Duplex: DuplexTumble *DuplexNoTumble None
Resolution/Resolution: 300dpi *600dpi 2400x600dpi
TonerSaveMode/Toner Save: *OFF ON
Sleep/Sleep Time [Min.]: *PrinterDefault 2minutes 10minutes 30minutes

the diff between a working buster from an ls -l /etc/cups showing:
gene@GO704:~/linuxcnc/src$ ls -l /etc/cups
total 64
-rw-r--r-- 1 root root 27303 Apr 10  2019 cups-browsed.conf
-rw-r--r-- 1 root root  6402 Feb 26 15:05 cupsd.conf
-rw-r--r-- 1 root root  2923 May 23  2022 cups-files.conf
drwxr-xr-x 2 root lp4096 May  1 00:00 ppd
-rw--- 1 root lp1882 May  1 00:00 printers.conf
-rw--- 1 root lp 111 May  1 00:00 printers.conf.O
drwx-- 2 root lp4096 May 23  2022 ssl
-rw-r- 1 root lp 387 May  1 00:00 subscriptions.conf
-rw-r- 1 root lp  93 May  1 00:00 subscriptions.conf.O
which works fine, And a non-working bullseye:
gene@bpi51:~$ ls -l /etc/cups/
total 100
-rw--- 1 root lp 111 Dec  2 23:13 classes.conf
-rw-r--r-- 1 root root 30436 Mar 14  2022 cups-browsed.conf
-rw-r--r-- 1 root root  6456 Oct 15  2022 cupsd.conf
-rw-r--r-- 1 root root  3047 May 23  2022 cups-files.conf
-rw-r--r-- 1 root root 10982 Jan  2  2021 cups-pdf.conf
drwxr-xr-x 2 root root  4096 May 23  2022 interfaces
drwxr-xr-x 2 root lp4096 Dec  2 23:13 ppd
-rw--- 1 root lp 529 May  1 10:37 printers.conf
-rw--- 1 root lp 529 May  1 10:36 printers.conf.O
-rw-r--r-- 1 root root   240 Oct 15  2022 raw.convs
-rw-r--r-- 1 root root   211 Oct 15  2022 raw.types
-rw-r--r-- 1 root root   142 May 23  2022 snmp.conf
drwx-- 2 root lp4096 May 23  2022 ssl
-rw-r- 1 root lp 524 May  1 00:00 subscriptions.conf
-rw-r- 1 root lp 234 May  1 00:00 subscriptions.conf.O

So call me puzzled. I've been called worse.;o)>


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 11:28, Brian wrote:

On Mon 01 May 2023 at 11:02:58 -0400, gene heskett wrote:


On 5/1/23 10:40, Brian wrote:


[...]


Your printing situation appears to be a sane one, so now for a test. Do

lp -d HLL2320D_coyote ANY_FILE_YOU_WANT


Is not working, shell appears frozen but eventually returns:
gene@bpi51:~$ lp -d HLL2320D_coyote printer.cfg
lp: The printer or class does not exist.


But HLL2320D_coyote does exist. It is seen in the outputs of 'lpstat -l -e'
and 'sudo lpinfo -v'. Give

   lpoptopns -p HLL2320D_coyote

gene@bpi51:~$ lpoptions -p HLL2320D_coyote
device-uri=ipps://HLL2320D%20%40%20coyote._ipps._tcp.local/cups 
printer-info='HLL2320D @ coyote' printer-make-and-model='Brother 
HL-L2320D series' printer-type=25202710



   lpoptions -p HLL2320D_coyote -l

gene@bpi51:~$ lpoptions -p HLL2320D_coyote -l
lpoptions: Unable to get PPD file for HLL2320D_coyote: The printer or 
class does not exist.






Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 11:03, gene heskett wrote:

On 5/1/23 10:40, Brian wrote:

On Mon 01 May 2023 at 09:39:51 -0400, gene heskett wrote:


gene@bpi51:~$ lpstat -l -e
Brother_HL_L2320D_series_coyote network none
ipps://Brother%20HL-L2320D%20series%20%40%20coyote._ipps._tcp.local/cups

Brother_MFC_J6920DW_coyote network none
ipps://Brother%20MFC-J6920DW%20%40%20coyote._ipps._tcp.local/cups

HLL2320D_coyote network none
ipps://HLL2320D%20%40%20coyote._ipps._tcp.local/cups

MFCJ6920DW_tray_2_coyote network none
ipps://MFCJ6920DW%20_tray_2%20%40%20coyote._ipps._tcp.local/cups


There you are! CUPS sees all four print queues shared by coyote. At this
stage we are golden. Note that all four are designated as "network".


PDF permanent ipp://localhost/printers/PDF cups-pdf:/


This is a manual queue (permanent) set up locally on bpi51. It isn't 
of any

further interest.


gene@bpi51:~$ lpstat -a
PDF accepting requests since Fri 02 Dec 2022 11:13:10 PM -05


You may care to take note that 'lpstat -a' and 'lpstat -t' only show 
local
printers (permanent) and not those that are on the network. That also 
goes

for the Printers section at localhost:631.

Local printers can also be auto-setup by cups-browsed. You do not have it
installed/running. Thar's OK; there isn't any obligation (or for that 
matter,
any need) to use it. Having mentioned it, we will now completely put 
it out

of our minds.

gene@bpi51:~$ lpinfo -v
-bash: lpinfo: command not found


sudo lpinfo -v

Your printing situation appears to be a sane one, so now for a test. Do

   lp -d HLL2320D_coyote ANY_FILE_YOU_WANT


Is not working, shell appears frozen but eventually returns:
gene@bpi51:~$ lp -d HLL2320D_coyote printer.cfg
lp: The printer or class does not exist.



repeat same error if s sudo is put in front of it.


Cheers, Gene Heskett.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 10:40, Brian wrote:

On Mon 01 May 2023 at 09:39:51 -0400, gene heskett wrote:


gene@bpi51:~$ lpstat -l -e
Brother_HL_L2320D_series_coyote network none
ipps://Brother%20HL-L2320D%20series%20%40%20coyote._ipps._tcp.local/cups

Brother_MFC_J6920DW_coyote network none
ipps://Brother%20MFC-J6920DW%20%40%20coyote._ipps._tcp.local/cups

HLL2320D_coyote network none
ipps://HLL2320D%20%40%20coyote._ipps._tcp.local/cups

MFCJ6920DW_tray_2_coyote network none
ipps://MFCJ6920DW%20_tray_2%20%40%20coyote._ipps._tcp.local/cups


There you are! CUPS sees all four print queues shared by coyote. At this
stage we are golden. Note that all four are designated as "network".


PDF permanent ipp://localhost/printers/PDF cups-pdf:/


This is a manual queue (permanent) set up locally on bpi51. It isn't of any
further interest.


gene@bpi51:~$ lpstat -a
PDF accepting requests since Fri 02 Dec 2022 11:13:10 PM -05


You may care to take note that 'lpstat -a' and 'lpstat -t' only show local
printers (permanent) and not those that are on the network. That also goes
for the Printers section at localhost:631.

Local printers can also be auto-setup by cups-browsed. You do not have it
installed/running. Thar's OK; there isn't any obligation (or for that matter,
any need) to use it. Having mentioned it, we will now completely put it out
of our minds.
  

gene@bpi51:~$ lpinfo -v
-bash: lpinfo: command not found


sudo lpinfo -v

Your printing situation appears to be a sane one, so now for a test. Do

   lp -d HLL2320D_coyote ANY_FILE_YOU_WANT


Is not working, shell appears frozen but eventually returns:
gene@bpi51:~$ lp -d HLL2320D_coyote printer.cfg
lp: The printer or class does not exist.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unanswered severaltimes.

2023-05-01 Thread gene heskett

On 5/1/23 08:56, Brian wrote:

On Mon 01 May 2023 at 03:29:28 -0400, gene heskett wrote:


avahi-browse -rt _ipp._tcp

gene@bpi51:~$ avahi-browse -rt _ipp._tcp
+   eth0 IPv4 Brother HL-L2320D series @ coyote Internet Printer
local
+   eth0 IPv4 Brother MFC-J6920DW @ coyote  Internet Printer
local
+   eth0 IPv4 HLL2320D @ coyote Internet Printer
local
+   eth0 IPv4 MFCJ6920DW _tray_2 @ coyote   Internet Printer
local


You have exactly four (not five or six) print queues manually set up on
the CUPS server coyote (192.168.71.3). It is assumed that when sat at
coyote it is possible to print to any of Brother HL-L2320D series, Brother
MFC-J6920DW, HLL2320D and  MFCJ6920DW _tray_2. Im particular - can you
print to HLL2320D from the server?

[...]


=   eth0 IPv4 HLL2320D @ coyote Internet Printer
local
hostname = [coyote.local]
address = [192.168.71.3]
port = [631]
txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" "TLS=1.2"
"UUID=36139eb5-df51-332f-4f80-ebf162ecc0ae" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf"
"product=(Brother HL-L2320D series)" "priority=0"
"adminurl=https://coyote.local.:631/printers/HLL2320D; "ty=Brother HL-L2320D
for CUPS" "rp=printers/HLL2320D" "qtotal=1" "txtvers=1"]


As well as three other printers, the host bpi51 sees the shared HLL2320D @ 
coyote
queue via mDNS/DNS-SD. All is well and good up to now. Let's have

   lpstat -l -e

gene@bpi51:~$ lpstat -l -e
Brother_HL_L2320D_series_coyote network none 
ipps://Brother%20HL-L2320D%20series%20%40%20coyote._ipps._tcp.local/cups
Brother_MFC_J6920DW_coyote network none 
ipps://Brother%20MFC-J6920DW%20%40%20coyote._ipps._tcp.local/cups
HLL2320D_coyote network none 
ipps://HLL2320D%20%40%20coyote._ipps._tcp.local/cups
MFCJ6920DW_tray_2_coyote network none 
ipps://MFCJ6920DW%20_tray_2%20%40%20coyote._ipps._tcp.local/cups

PDF permanent ipp://localhost/printers/PDF cups-pdf:/


   lpstat -a
   lpinfo -v

from bpi51.



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unansweredseveraltimes.

2023-05-01 Thread gene heskett

On 5/1/23 10:08, David Wright wrote:

On Mon 01 May 2023 at 09:39:51 (-0400), gene heskett wrote:

lpinfo -v

gene@bpi51:~$ lpinfo -v
-bash: lpinfo: command not found
gene@bpi51:~$ sudo apt install lpinfo
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package lpinfo


You need root:

   # lpinfo -v
   network beh
   network lpd
   file cups-brf:/
   network socket
   network ipps
   network https
   network ipp
   network http
   file cups-pdf:/
   network 
dnssd://Brother%20HL-L2390DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-90324b75e771
   network ipp://Brother%20HL-L2390DW._ipp._tcp.local/
   network lpd://BRW90324B75E771/BINARY_P1
   #

Cheers,
David.

.

Ah so
gene@bpi51:~$ sudo lpinfo -v
[sudo] password for gene:
Sorry, try again.
[sudo] password for gene:
network beh
network socket
network http
network ipps
network lpd
network https
network ipp
file cups-brf:/
file cups-pdf:/
network 
dnssd://Brother%20HL-L2320D%20series%20%40%20coyote._ipp._tcp.local/cups?uuid=391b5af9-9bac-3249-65f0-795f553651fe
network 
dnssd://Brother%20MFC-J6920DW%20%40%20coyote._ipp._tcp.local/cups?uuid=831942b6-acfd-3e55-7013-00336f687aa2
network 
dnssd://HLL2320D%20%40%20coyote._ipp._tcp.local/cups?uuid=36139eb5-df51-332f-4f80-ebf162ecc0ae
network 
dnssd://MFCJ6920DW%20_tray_2%20%40%20coyote._ipp._tcp.local/cups?uuid=58daf55b-1dc3-31b0-7442-4a936bde800c


Thats better, but does it show "why"

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unanswered severaltimes.

2023-05-01 Thread gene heskett

On 5/1/23 08:56, Brian wrote:

On Mon 01 May 2023 at 03:29:28 -0400, gene heskett wrote:


avahi-browse -rt _ipp._tcp

gene@bpi51:~$ avahi-browse -rt _ipp._tcp
+   eth0 IPv4 Brother HL-L2320D series @ coyote Internet Printer
local
+   eth0 IPv4 Brother MFC-J6920DW @ coyote  Internet Printer
local
+   eth0 IPv4 HLL2320D @ coyote Internet Printer
local
+   eth0 IPv4 MFCJ6920DW _tray_2 @ coyote   Internet Printer
local


You have exactly four (not five or six) print queues manually set up on
the CUPS server coyote (192.168.71.3). It is assumed that when sat at
coyote it is possible to print to any of Brother HL-L2320D series, Brother
MFC-J6920DW, HLL2320D and  MFCJ6920DW _tray_2. Im particular - can you
print to HLL2320D from the server?


Yes, and from any buster machine on my local network.

[...]


=   eth0 IPv4 HLL2320D @ coyote Internet Printer
local
hostname = [coyote.local]
address = [192.168.71.3]
port = [631]
txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" "TLS=1.2"
"UUID=36139eb5-df51-332f-4f80-ebf162ecc0ae" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf"
"product=(Brother HL-L2320D series)" "priority=0"
"adminurl=https://coyote.local.:631/printers/HLL2320D; "ty=Brother HL-L2320D
for CUPS" "rp=printers/HLL2320D" "qtotal=1" "txtvers=1"]


As well as three other printers, the host bpi51 sees the shared HLL2320D @ 
coyote
queue via mDNS/DNS-SD. All is well and good up to now. Let's have

   lpstat -l -e

gene@bpi51:~$ lpstat -l -e
Brother_HL_L2320D_series_coyote network none 
ipps://Brother%20HL-L2320D%20series%20%40%20coyote._ipps._tcp.local/cups
Brother_MFC_J6920DW_coyote network none 
ipps://Brother%20MFC-J6920DW%20%40%20coyote._ipps._tcp.local/cups
HLL2320D_coyote network none 
ipps://HLL2320D%20%40%20coyote._ipps._tcp.local/cups
MFCJ6920DW_tray_2_coyote network none 
ipps://MFCJ6920DW%20_tray_2%20%40%20coyote._ipps._tcp.local/cups

PDF permanent ipp://localhost/printers/PDF cups-pdf:/


   lpstat -a

gene@bpi51:~$ lpstat -a
PDF accepting requests since Fri 02 Dec 2022 11:13:10 PM -05


   lpinfo -v

gene@bpi51:~$ lpinfo -v
-bash: lpinfo: command not found
gene@bpi51:~$ sudo apt install lpinfo
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package lpinfo



from bpi51.


Thank you Brian

Take care and stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-05-01 Thread gene heskett

On 5/1/23 08:36, Thomas Hochstein wrote:

Greg Wooledge wrote:


If you still have issues with your printer, I strongly advise you to ask
on the German mailing list, or whichever mailing list speaks your primary
language.  I don't think anyone on this list is interested in continuing
to offer help to you.


They started on the German mailing list, about a year ago ...

.
The last epson I had that worked with linux was a 4 color C82, well over 
a decade ago. Then it looks as if they started making windows only 
printers because all the normal printer stuff was moved from the driver 
in the printer and put into the windows driver, leaving only the ability 
to put a drop of the chosen color at the chosen xy spot on the paper in 
the printer.  That and the constant battle to keep the nozzle unclogged 
got tiresome and limited the last printer I bought to about 2 months 
life. So that was replaced by a Brother color laser, which worked well 
for around 4 years, then slowly lost its corona wire voltage, an easy 
enough to diagnose problem for me as I am a CET, but brother refused to 
sell me a board despite the fact that I am a CET, fully capable of 
handling that high voltage item. So I brought home their biggest inkjet. 
That was about 8 years ago, and it is still pumping out full color 
images on paper up to tabloid size. A huge device, its also a scanner 
for 11x17 tabloid. I also have a much faster HLL2320dw a B laser that 
does duplex on copy paper at 19 pages a minute. And running on linux, 
using the drivers they supply, both run to their full capabilities.


Obviously I am now a Brother fan and I believe in supporting the makers 
who support us. Glaringly obvious in my previous post. But apparently 
this person doesn't want to admit a mistake was made, and the only way 
to solve it is to run an all windows house at much more cost than buying 
another printer that is supported would be.  Brother's consumables cost 
less per page than epson so you get the difference back over time and 
reams of paper.


This may be a duplicate of what wallmart had for sale at $31.95 3 or 4 
years ago, and which I saw the epson label and drove the cart right on by.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: repeat of previous question that has gone unanswered several times.

2023-05-01 Thread gene heskett

On 4/30/23 20:19, Lee wrote:

On 4/30/23, gene heskett  wrote:

Greetings all;

I have a mixed home network, some buster, some bullseye, all up to date
a/o yesterday.

I have 2 printers shared on this bullseye main box, available as 5 or 6
printers, each configured in cups to do a specific job. Good printers,
both running on brother's own linux drivers for that printer.

All my buster machines can use both of these printers just as if they
were plugged into that machine, but a machine shop full of sawdust and
metal shavings is not a good printer environment, even if there was room
for them, which there isn't.

All of my bullseye machines are locked out, printer screen at
localhost:631 is empty, and no printers can be found and added.

But open a shell, and type "lpstat -t" and it gets the full list of
available printers on that same bullseye machine whose cups output is
empty.

Why?


Take a look at
   https://wiki.debian.org/CUPSQuickPrintQueues

The quick ref is to install avahi-utils and run
   avahi-browse -rt _ipp._tcp  | grep URF


had to install it, pulled in 7 other pkgs: then:
gene@bpi51:~$ avahi-browse -rt _ipp._tcp  | grep URF
   txt = ["printer-type=0x80300E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=831942b6-acfd-3e55-7013-00336f687aa2" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(MFC-J6920DW)" "priority=0" "note=letss see if this works" 
"adminurl=https://coyote.local.:631/printers/Brother_MFC-J6920DW_photo; 
"ty=Brother MFC-J6920DW CUPS" "rp=printers/Brother_MFC-J6920DW_photo" 
"qtotal=1" "txtvers=1"]
   txt = ["printer-type=0x80300E" "printer-state=3" "Color=T" "TLS=1.2" 
"UUID=58daf55b-1dc3-31b0-7442-4a936bde800c" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(MFC-J6920DW)" "priority=0" "note=coyote.den duplex bottom 
tray" "adminurl=https://coyote.local.:631/printers/MFCJ6920DW; 
"ty=Brother MFC-J6920DW CUPS" "rp=printers/MFCJ6920DW" "qtotal=1" 
"txtvers=1"]
   txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" 
"TLS=1.2" "UUID=36139eb5-df51-332f-4f80-ebf162ecc0ae" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(Brother HL-L2320D series)" "priority=0" 
"adminurl=https://coyote.local.:631/printers/HLL2320D; "ty=Brother 
HL-L2320D for CUPS" "rp=printers/HLL2320D" "qtotal=1" "txtvers=1"]
   txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" 
"TLS=1.2" "UUID=391b5af9-9bac-3249-65f0-795f553651fe" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(Brother HL-L2320D series)" "priority=0" "note=floor in den" 
"adminurl=https://coyote.local.:631/printers/Brother_HL-L2320D_series; 
"ty=Brother HL-L2320D for CUPS" "rp=printers/Brother_HL-L2320D_series" 
"qtotal=1" "txtvers=1"]




If you get a line matching URF the printer supports the AirPrint
service.  Install cups and see if it works (which is all that I needed
to do to get the printer working).  If no, what does


cups already installed as part of armbian


   avahi-browse -rt _ipp._tcp

gene@bpi51:~$ avahi-browse -rt _ipp._tcp
+   eth0 IPv4 Brother HL-L2320D series @ coyote Internet 
Printer local
+   eth0 IPv4 Brother MFC-J6920DW @ coyote  Internet 
Printer local
+   eth0 IPv4 HLL2320D @ coyote Internet 
Printer local
+   eth0 IPv4 MFCJ6920DW _tray_2 @ coyote   Internet 
Printer local
=   eth0 IPv4 Brother HL-L2320D series @ coyote Internet 
Printer local

   hostname = [coyote.local]
   address = [192.168.71.3]
   port = [631]
   txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" 
"TLS=1.2" "UUID=391b5af9-9bac-3249-65f0-795f553651fe" "URF=DM3" 
"pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" 
"product=(Brother HL-L2320D series)" "priority=0" "note=floor in den" 
"adminurl=https://coyote.local.:631/printers/Brother_HL-L2320D_series; 
"ty=Brother HL-L2320D for CUPS" "rp=printers/Brother_HL

repeat of previous question that has gone unanswered several times.

2023-04-30 Thread gene heskett

Greetings all;

I have a mixed home network, some buster, some bullseye, all up to date 
a/o yesterday.


I have 2 printers shared on this bullseye main box, available as 5 or 6 
printers, each configured in cups to do a specific job. Good printers, 
both running on brother's own linux drivers for that printer.


All my buster machines can use both of these printers just as if they 
were plugged into that machine, but a machine shop full of sawdust and 
metal shavings is not a good printer environment, even if there was room 
for them, which there isn't.


All of my bullseye machines are locked out, printer screen at 
localhost:631 is empty, and no printers can be found and added.


But open a shell, and type "lpstat -t" and it gets the full list of 
available printers on that same bullseye machine whose cups output is empty.


Why?

Thank you for any insight.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: AW: EPSON ET M 1120 new printer: If You can read this, you areusing the wrong driver

2023-04-24 Thread gene heskett

On 4/24/23 09:36, Schwibinger Michael wrote:



Good afternoon

Thank You
Was it a good idea to buy EPSON?

Regards
Sophie



In a short answer no. Epson worked very well but that way back, 20 years 
ago.


For high quality output, Brother is hard to beat, and has drivers for 
linux that Just Work. I have 2 Brothers, an HLL2320 laser for fast 
duplex output in B, about 20 pages a minute, and a now several years 
old MFC-J6920DW, an ink-jet that can handle up to tabloid paper in its 
printer and in its scanner, and the scanner can do duplex with letter or 
A4 material as it has an ADF feeder. This printer is both huge and gives 
very high quality photo outputs with every option it has being usable 
with the Debian bullseye I'm running here.


Accessible from USB or from a cat5 connection you can set for your own 
home network. Their installer is a script you can run, telling it what 
printer you have, it then goes to their site, downloads the proper 
driver and installs it in the cups menu's.  The USB connection is faster 
though.


Brother's ink-jet's will use a wee bit more ink than some because if 
powered up full time, will do a quiet nozzle clean at least daily, and 
my MFC-J6920-DW has never had a clogged nozzle in 7 or 8 years now.


Something I can't say for my own history with several Epson's years ago. 
Aftermarket, lower priced ink has been 100% usable but their inks give 
truer color. An ink-jet that Just Works has been a breath of fresh air 
here for quite a while now.


An no, I don't work for or own any Brother stock. I'm just a 21 year 
retired television station chief engineer. I think that makes me an old 
coot. Take care and stay well Sophie


[...]

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: hi res pdf needs posterized

2023-04-17 Thread gene heskett

On 4/17/23 16:41, Peter Ehlert wrote:


On 4/17/23 12:02, Fred wrote:

On 4/17/23 11:55, gene heskett wrote:

Greetings all printing experts;

I have an extremely high res pdf of a 3d printer controller board.
I need to print it in the same or close, resolution I can see it on 
screen in libreoffice draw. But its equ to 26" wide! So the ideal 
printout would be posterized on 2 sheets of photo paper at about 85% 
size. But I can't find a poster recipe in OO-draw.


What the next best way to handle such a pdf to get an image big 
enough to easily read pin numbers etc ? cut in half down the middle 
and put on 2 pages of foto paper would be ideal. poster reads like it 
but expects ps  or better eps src. I found pdfposter but it will not 
accept letter as a -m BOX definition. This image it claim will be 
rotated to portrait mode, and 2 8.5x11 pages high laid landscape 
would be just right with -s .80 option to reduce the height to 2 page 
tall.


Cheers, Gene Heskett.

Hi Gene,

If you live close to a large city there will be printing shops that 
serve surveyors that can print large format files. 

exactly
in California the mandated size is 18" x 26" for subdivision maps of 
various flavors.

engineering drawings are variable, 24" x 36" is really common.
I used to have a 36" printer that used 36" wide roll stock, but when it 
died I went to 24"... then after I "retired"
later I started using a Kikos or some such... email them the file, pick 
up the product at the store.

dunno who is better, but lots of people shop it out.

Some Office Max stores can also print large format files.

Best regards,
Fred
There may be something in Clarksburg or Bridgeport that could do that, 
but my truck gets 14.4 mpg and it is a 50+ mile round trip. I have a 
printer that can do tabloid if pushed, but does an excellent job on 
8.5x11 photo paper. And it is done. ;o)>





.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: hi res pdf needs posterized

2023-04-17 Thread gene heskett

On 4/17/23 15:07, Dan Ritter wrote:

gene heskett wrote:

Greetings all printing experts;

I have an extremely high res pdf of a 3d printer controller board.
I need to print it in the same or close, resolution I can see it on screen
in libreoffice draw. But its equ to 26" wide! So the ideal printout would be
posterized on 2 sheets of photo paper at about 85% size. But I can't find a
poster recipe in OO-draw.

What the next best way to handle such a pdf to get an image big enough to
easily read pin numbers etc ? cut in half down the middle and put on 2 pages
of foto paper would be ideal. poster reads like it but expects ps  or better
eps src. I found pdfposter but it will not accept letter as a -m BOX
definition. This image it claim will be rotated to portrait mode, and 2
8.5x11 pages high laid landscape would be just right with -s .80 option to
reduce the height to 2 page tall.


The package mupdf-tools has mutool, which has a poster
subcommand with:

-x: this many horizontal pieces
-y: this many vertical pieces

and -r for resolution, -h and -w for height and width
specifications.

-dsr-
.

Very very close to what I wanted, Dan, better than I expected in fact.

Thank you a bunch.  The help screen says -x and -y is the decimation 
value so I told it .8 for both, okular then printed the out.pdf as 2 
landscape pages missing about 1/16" at the junction then I gave it a -s 
.75, but it must query the printer for exact paper size and I now have 2 
identical copies of 2 pages each in glorious color. Very helpful.


Take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



hi res pdf needs posterized

2023-04-17 Thread gene heskett

Greetings all printing experts;

I have an extremely high res pdf of a 3d printer controller board.
I need to print it in the same or close, resolution I can see it on 
screen in libreoffice draw. But its equ to 26" wide! So the ideal 
printout would be posterized on 2 sheets of photo paper at about 85% 
size. But I can't find a poster recipe in OO-draw.


What the next best way to handle such a pdf to get an image big enough 
to easily read pin numbers etc ? cut in half down the middle and put on 
2 pages of foto paper would be ideal. poster reads like it but expects 
ps  or better eps src. I found pdfposter but it will not accept letter 
as a -m BOX definition. This image it claim will be rotated to portrait 
mode, and 2 8.5x11 pages high laid landscape would be just right with 
-s .80 option to reduce the height to 2 page tall.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-11 Thread gene heskett

On 4/11/23 13:39, zithro wrote:

On 11 Apr 2023 19:09, gene heskett wrote:

On 4/11/23 10:04, zithro wrote:

On 11 Apr 2023 04:56, gene heskett wrote:

On 4/10/23 16:53, zithro wrote:
Why can't you follow others advice, hell, if you don't trust us, 
even the perfectly correct and up-to-date manpages ?
After reading the posts of others, I'm more and more thinking your 
simply a troll (or a RedHat fanatic wasting Debian helpers time for 
no reason) ...


That is an insult. I bailed out of fedora 15 years ago, tired to 
being an always sick lab rat for redhat. [...]


Because you answer what you want, I'll re-ask :
"Why can't you follow others advice, hell, if you don't trust us, even
the perfectly correct and up-to-date manpages ?"


Because you answer what you want, I'll re-ask :
"Why can't you follow others advice, hell, if you don't trust us, even
the perfectly correct and up-to-date manpages ?"


If you don't know who Mike Sweet is, why are you hassling me?


I don't need to know who he is. Now I know, thanks, but it changes nothing.
And if Sweet is REALLY your friend, why not asking him ?

  There's 25 years of history to computing before Linus released his 
his linux


Computer history started WAY before that.


Keeping networking working on linux has been an art, not a science.


Debatable. The Debian way is one of the easiest.
But funny, only happens to you, among the zillions Debian-based installs.
Still can't see the problem ?


looking at one of my buster machines. /etc/network/interfaces has this:


What about your resolv.conf ?


Evidence on that bo that something has been there, and put a # in front 
of the search line. IDK when.



So ATM I have no clue what I did because I've forgotten whatever I did


One of the best advice I've learnt from experienced sysadmins is :
"always take notes of what you're doing".
The other one being "RTFM".

[...] I can't ask cups, my posts to the cups list are apparently 
routed to /dev/null [...]


If you react like here, maybe you've been banned from there ?
Again, contact the list owners, don't ASSUME stuff.




[...] so I come here for help and all this dirty laundry gets drug out 
again. And again. And again. While the question I asked is very 
carefully ignored. Unreal.


Really ?! Who exactly is ignoring what ?!


My question about cups.



Again, FOR THE FOURTH TIME :
"Why can't you follow others advice, hell, if you don't trust us, even
the perfectly correct and up-to-date manpages ?"

Others have warned me. I tried despite their warnings ...
I get to the same point as them : it's pointless to try to help
someone who does NOT follow advices.
I guess I'm done here.


Your choice.

Take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-11 Thread gene heskett

On 4/11/23 13:36, Andrew M.A. Cater wrote:

On Tue, Apr 11, 2023 at 01:09:37PM -0400, gene heskett wrote:

So ATM I have no clue what I did because I've forgotten whatever I did to
make it work for bullseye, lost in the noise from doing 23 damned installs
before someone suggested I unplug all usb, but my key board and mouse are
wireless, so I left those buttons plugged it and did yet another install and
this one worked. I've since rebuilt my usb tree as it reaches like a weeping
willow to nearly every inch of the real estate here.  All that re-install BS
caused by the installer silently finding a couple usb-serial adaptors and
ASSUMING I was blind and using brltty and orca. Has any of you ever tried to
use a computer whose keyboard response was delayed by nearly 2 seconds per
keystroke because its looking for a 1200 baud tty that isn't there, and then
yells the keystroke at you in some idea of a computer voice.  Spend 2 weeks
trying to use a computer like that, and you'll have a new appreciation for
my level of frustration.



Your experience led me to fixing someone else's problem on IRC.
They were trying to install Debian for linuxcnc (but on an amd64 machine)
and had the same problem because they'd left a serial lead plugged in so
got brltty and orca.

I advised them to reinstall to fix things but this time to undo the serial
lead until the install was over. That worked fine for them and they were
very happy. (It's the simple fix that I think I suggested that to you three
times in the course and was ignored.)



Possibly you did, but I didn't glom the usb connection because it came 
with no reason until the last time.



It should have asked me if I wanted that crap but did not.



If you're deafblind and using a Braille reader - it looks for a serial tty.
That's the only way it can work. It can't ask you first necessarily.


That is a huge if. Probably less than 1% of the folks who only fit in 
one box or the other. It could have loaded orca and spoke to me, but 
didn't, it could have asked me on screen and didn't.  What it did was 
make an ass out me in everyone elses mind. Yeah, these days I'm an old 
fart with the poor short term memory that goes with 88 years on the wet 
ram. But I was carving code for an rca 1802 chip before most of the 
readers here were born, doing it by looking up the memonic, and entering 
the corresponding hex code in a quest super elf's hex monitor, code so 
useful in 1979 that it was still in daily use at KRCR-tv when the 
station burnt to the ground in the later 90's, well after Mt St Helens 
blew its top. As a retired television Chief (& usually only, I'm a CET 
too) Engineer, that 16 or so years might as well be a couple of eons, 
the tech, even in never twice same color days, the tech moved a heck of 
a lot faster than that.


My wife of 31 years passed a couple years back and I should throw my 
poles in the boat and go fishing. But I've been diabetic for nearly 40 
years & the water is too cold for my feet, so for S's I'm building a 
3d printer farm instead.



You have all claimed I missed it or told it to install that, but 23 damned
times? I'm sure its here someplace because all 24 times I filled in the
network details manually and was equally amazed when I still had a network
on the after install reboot. That FWIW, was a first.

Everything works except printer sharing and I can't ask cups, my posts to
the cups list are apparently routed to /dev/null, so I come here for help
and all this dirty laundry gets drug out again. And again. And again. While
the question I asked is very carefully ignored. Unreal.



There are a bunch of cups manpages: there are lots of documents online.
The people recommending you avahi/bonjour/zeroconf are recommending it
because it works - for them and for 99.9% of people.


And its both a lockin for apple, and denies the feature the printer 
maker puts into his product.  And I'm purist enough to object the both.



Your system: your
rules - but it doesn't always help us help you to solve the problems.


You betcha. Which gets my posts the TL;DR treatment just because I do
try to describe things adequately. I can't win for losing.


There are reasons why we ask folk - in general on this list and in the FAQ
- to provide information, to copy/paste log entries or what they're seeing
on screen. We can't sit on your shoulder and watch what you've typed: we're
all relying on guesswork much of the time.


Cheers, Gene Heskett.


All the very best, as ever,

Andy Cater


Back at you Andy, take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-11 Thread gene heskett

On 4/11/23 10:04, zithro wrote:

On 11 Apr 2023 04:56, gene heskett wrote:

On 4/10/23 16:53, zithro wrote:
Why can't you follow others advice, hell, if you don't trust us, even 
the perfectly correct and up-to-date manpages ?
After reading the posts of others, I'm more and more thinking your 
simply a troll (or a RedHat fanatic wasting Debian helpers time for 
no reason) ...


That is an insult. I bailed out of fedora 15 years ago, tired to being 
an always sick lab rat for redhat. [...]


Because you answer what you want, I'll re-ask :
"Why can't you follow others advice, hell, if you don't trust us, even
the perfectly correct and up-to-date manpages ?"

Maybe it's a bug in CUPS or w/e soft you're using. Try to find other 
people having this, or report it as a bug.


Not possible. Michael and I have known each other since the '80's when 
he was a starving college student. I'll just let it go at that.


?! First, who's Michael, second, even if it's your friend, you won't
fill a bug because of that ?
What if it's really a bug, and other people have the same one ?

.


If you don't know who Mike Sweet is, why are you hassling me?  There's 
25 years of history to computing before Linus released his his linux, 
Michael and I were both there in the trs-80 color computer days and 
while Mike was take college classes and releasing code for the color 
computers in the mid 80's, it was sort of a contest among the coco users 
running os-9 on our coco's, to see who who find and fix the bugs in code 
he released. os-9 was unix that ran on a 8 bit machine with a 65k max 
memory.


Keeping networking working on linux has been an art, not a science.
looking at one of my buster machines. /etc/network/interfaces has this:

# The primary network interface
allow-hotplug eno1
iface eno1 inet static
address 192.168.71.10/24
gateway 192.168.71.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.71.1
dns-search coyote.den

And it Just Works. But that was way the hell and gone too easy, so it 
just had to be changed, so that stuff no longer works for bullseye. 
There is nothing in /etc/network/interfaces.d
So let me snoop, here cuz that entry does not exist on this bullseye 
machine. Looking to see what did make it work, brb.
I can't recall which debian, but at one time I had to put it in the last 
stanza of /etc/dhcp/dhclient.conf but I see that's not been touched, 
here or on a buster machine..

/etc/nsswitch.conf looks default.

So ATM I have no clue what I did because I've forgotten whatever I did 
to make it work for bullseye, lost in the noise from doing 23 damned 
installs before someone suggested I unplug all usb, but my key board and 
mouse are wireless, so I left those buttons plugged it and did yet 
another install and this one worked. I've since rebuilt my usb tree as 
it reaches like a weeping willow to nearly every inch of the real estate 
here.  All that re-install BS caused by the installer silently finding a 
couple usb-serial adaptors and ASSUMING I was blind and using brltty and 
orca. Has any of you ever tried to use a computer whose keyboard 
response was delayed by nearly 2 seconds per keystroke because its 
looking for a 1200 baud tty that isn't there, and then yells the 
keystroke at you in some idea of a computer voice.  Spend 2 weeks trying 
to use a computer like that, and you'll have a new appreciation for my 
level of frustration.


It should have asked me if I wanted that crap but did not.

You have all claimed I missed it or told it to install that, but 23 
damned times? I'm sure its here someplace because all 24 times I filled 
in the network details manually and was equally amazed when I still had 
a network on the after install reboot. That FWIW, was a first.


Everything works except printer sharing and I can't ask cups, my posts 
to the cups list are apparently routed to /dev/null, so I come here for 
help and all this dirty laundry gets drug out again. And again. And 
again. While the question I asked is very carefully ignored. Unreal.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-10 Thread gene heskett

On 4/10/23 18:04, zithro wrote:

On 10 Apr 2023 22:58, Greg Wooledge wrote:

On Mon, Apr 10, 2023 at 10:53:41PM +0200, zithro wrote:
Why can't you follow others advice, hell, if you don't trust us, even 
the

perfectly correct and up-to-date manpages ?
After reading the posts of others, I'm more and more thinking your 
simply a
troll (or a RedHat fanatic wasting Debian helpers time for no reason) 
...


My take is that he's confused, not trolling.  I've never seen any 
evidence
that he's intentionally making false statements.  He seems to believe 
what

he's saying.


Well, I don't know what's the worst ...
And honestly, when you're genuinely confused, you believe and follow the 
advice of the ones who know ...



The weird and frustrating part is that nothing we do or offer seems to
break through the confusion.



So, I got curious about his claim : "that change to resolv.conf adding 
the search line [search hosts, nameserver] has been required since red 
hat 5.0 in 1998".

(The bracket addition is mine)

I'm not using RHEl-based systems a lot so I may be wrong, and there's 
not a lot of material left from the 1998 web, but the resolv.conf file 
*looks* identical in RHEL-based systems, at least nowadays.
I quickly browsed a few RH help pages about resolv.conf, but couldn't 
find his claim.


I then searched for "search hosts, nameserver" on search engines (-with- 
the quotes, to only get full-match results).
Either I get no results or ... wait for it ... it *ONLY* gives me 
results where Gene posted !


So Gene, can you tell us where you read this ?


In a man page from a good 20 years ago. I still have a copy of that 
original redhat 5.0 on a shelf above me, but not a floppy drive to read 
those disks with.


If you didn't read it somewhere, are you using it because :
- it always has been in your config files, which you created at a time 
you didn't really know what you were doing,

- or you followed advice from someone who claimed he knew,
- or it was in a wrongly pre-configured system and you blindly copied 
the stanza ?


That I can't recall for sure, my wet ram is 88 years old, but I had to 
use it yet for a quint of buster installs when updating my machines to 
buster a month or so after it was released. 4 of them are still in daily 
use here. And I just discovered after this round re-started, that its no 
longer required for armbian's bullseye. So as an experiment, I 
re-installed avahi & cups-browsed on these bullseye machines which I had 
removed. And on reboot, I still had a local network on all bullseye's. 
Blew me away.


Take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-10 Thread gene heskett

On 4/10/23 16:53, zithro wrote:

On 4/10/23 13:30, Greg Wooledge wrote:
Up to the resolv.conf, that is exactly what I do. But that change to 
resolv.conf adding the search line has been required since red hat 5.0 
in 1998. until bullseye. Just last week I found it is not needed in an 
armbian bullseye install.


What ?! Red Hat ?!
I hope it's a writing mistake, and that you know that the system config 
is not handled the same way in RedHat and Debian ?


Why can't you follow others advice, hell, if you don't trust us, even 
the perfectly correct and up-to-date manpages ?
After reading the posts of others, I'm more and more thinking your 
simply a troll (or a RedHat fanatic wasting Debian helpers time for no 
reason) ...


That is an insult. I bailed out of fedora 15 years ago, tired to being 
an always sick lab rat for redhat. Ubuntu which linuxcnc used for one 
release wasn't a tasty piece of cake, and when linuxcnc jumped to debian 
at about jessie, it was a whole new ball game. And with bookworm, 
linuxcnc is scheduled to join the debian repos. Generally speaking, 
keeping things up to date has become so routine its boring.


Now, if I could figure out why printers, shared om this bullseye 
machine work perfectly when accessed by a buster machine, but cannot 
be seen by any other bullseye machine here, debian or armbian. My logs 
show an auth failure but all are DefaultAthorization Basic. And 
turning on debugging doesn't tell me anything more useful. Like why... 
I've managed to get 1 armbian machine trying to connect, but my logs 
are huge cuz it tries every 11 seconds


Maybe it's a bug in CUPS or w/e soft you're using. Try to find other 
people having this, or report it as a bug.


Not possible. Michael and I have known each other since the '80's when 
he was a starving college student. I'll just let it go at that.


I think you should try avahi/bonjour, also known as *zeroconf*.
Maybe it will better handle your network than yourself ...
Sorry to be so harsh, but no one can help someone who does not want to 
be helped.


That is flat untrue.

Take care & stay well.


.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-10 Thread gene heskett

On 4/10/23 13:30, Greg Wooledge wrote:

On Mon, Apr 10, 2023 at 12:05:06PM -0400, gene heskett wrote:

Thanks for the vote of confidence Greg, but I'd like to point out that the
help offered is only valid for systems with a working dhcpd.
You tell me I'm wrong, but you don't tell how to do it right w/o dragging in
dhcpd.  My way doesn't need that. But you've made it your lifes work to not
understand how my way Just Works.


How To Set Up A Debian Computer With Static IP Addressing And Hosts File:

1) Install Debian.  Select "Standard".  Do not select a Desktop Environment.

2) Find the name of your ethernet interface, either using "ip link" or
by reading /etc/network/interfaces.  For purposes of this document,
let's say it's "en0".

3) Bring your ethernet interface down:  ifdown en0
This will kill the DHCP client daemon.

4) Edit the /etc/network/interfaces file, and change
   iface en0 inet dhcp
to
   iface en0 inet static
and then add the "address" and "gateway" lines underneath that.
While you're in there, make sure you have "auto en0" too.

5) Bring your interface up:  ifup en0

6) Verify that it works, by pinging your gateway, and then pinging an
outside IP address (e.g. ping 8.8.8.8).

7) Edit your /etc/resolv.conf file correctly for your network.
This means adding a "nameserver" line that points to your DNS resolver.
Do not add lines that are not documented in resolv.conf(5).
Specifically, do not add lines that mimic /etc/nsswitch.cong behavior
in this file, because they do not work.

8) Verify that DNS works (e.g. ping www.debian.org).

9) Edit your /etc/hosts file to contain the IP addresses and names of
other hosts on your internal network.

10) Verify that your internet network name resolution works
 (e.g. ping coyote).

There you go.  That's the whole thing.  That's what we've tried to tell
you to do, for the last 5 to 10 years.

I promise you, Gene, "search hosts, nameserver" is NOT a working line in
an /etc/resolv.conf file.  It never has been.  It never will be.

.
Up to the resolv.conf, that is exactly what I do. But that change to 
resolv.conf adding the search line has been required since red hat 5.0 
in 1998. until bullseye. Just last week I found it is not needed in an 
armbian bullseye install.


Now, if I could figure out why printers, shared om this bullseye machine 
work perfectly when accessed by a buster machine, but cannot be seen by 
any other bullseye machine here, debian or armbian. My logs show an auth 
failure but all are DefaultAthorization Basic. And turning on debugging 
doesn't tell me anything more useful. Like why... I've managed to get 1 
armbian machine trying to connect, but my logs are huge cuz it tries 
every 11 seconds


Take care & sty well, Greg

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-10 Thread gene heskett

On 4/9/23 11:20, Greg Wooledge wrote:

On Sun, Apr 09, 2023 at 04:53:17PM +0200, zithro wrote:

Also, the line "search hosts, nameserver" is wrong. The place to put such
settings is "/etc/nsswitch.conf".
"search" is used to resolve hostnames to FQDN.
So if you put "search example.com", and you try to connect to a machine with
for example "ssh hostname", the DNS client will try to append example.com to
hostname, and try to resolve "hostname.example.com".


Welcome to the Gene Heskett show, starring Gene Heskett.

We've told Gene that his configuration is wrong *so* many times, over
*so* many years.  There are very many, very long, threads dedicated to
trying to help Gene get his network configuration to a sane state.

I recommend not trying again, but it's up to you.  Maybe you'll succeed
where everyone else has failed... I doubt it, but I can't rule it out.

.
Thanks for the vote of confidence Greg, but I'd like to point out that 
the help offered is only valid for systems with a working dhcpd.
You tell me I'm wrong, but you don't tell how to do it right w/o 
dragging in dhcpd.  My way doesn't need that. But you've made it your 
lifes work to not understand how my way Just Works.


Take care & stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-09 Thread gene heskett

On 4/9/23 11:04, Greg Wooledge wrote:

On Sun, Apr 09, 2023 at 04:53:17PM +0200, zithro wrote:

- Either you use DHCP, and the DNS will be provided by the DHCP server, so
don't touch resolv.conf (the DHCP server CAN provide 127.0.0.1 as DNS
server)
- or you use static addressing, and you can simply remove the dhcp-client
package, so resolv.conf will be left alone.


That's not always true.  Sometimes you want the IP address from DHCP,
but you want to provide your own DNS.  There are LOTS of scenarios where
this is desirable.

That's why this is such an important topic, and why it keeps coming up
over and over again.

That's why we have a wiki page which describes several different solutions,
so that each sysadmin who runs into this problem can find a suitable one.

https://wiki.debian.org/resolv.conf

.

Thank you for that link Greg.

This explains it better than I do, but if history is any indicator, it 
will be made useless by bookworm.  Thanks Greg, it may contain some clue 
as to why printers on this machine, all marked shared, cannot be used by 
other bullseye installs, Other buster installs however can use them just 
fine. My logs claim the client is not sending any authorization. Yet all 
clients claim DefaultAuthorization is Basic.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-09 Thread gene heskett

On 4/9/23 06:59, Dan Ritter wrote:

Timothy Butterworth wrote:

After you edit resolv.conf make the file immutable with chattr. Chattr +i makes 
immutable chattr -i removes immmutable.



This works, but you should also leave yourself a comment in the
file to prevent later confusion.

It's also unsuitable for most laptops, or other situations where you
ever want an automatic process to change the resolv.conf file

-dsr-

.
I should have qualified that advice as this machine will never be moved 
beyond its quasi annual trip to the back porch for an air hose D Not 
a lappy, but a huge tower.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-09 Thread gene heskett

On 4/9/23 06:51, Nicolas George wrote:

Timothy Butterworth wrote:

After you edit resolv.conf make the file immutable with chattr. Chattr

+i makes immutable chattr -i removes immmutable.


This should be an immediate ban!

Timothy M Butterworth (12023-04-09):

I have Google DNS hardcoded on my laptop. Few networks block outbound DNS
traffic. I have never had any issues with it.


I understand why Windows and Mac users would sell their privacy to
Google to avoid the bugs on their systems.

But Debian user just have to apt-get install unbound to have the best of
it.

Regards,


Please tell us more, Nicolas.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-09 Thread gene heskett

On 4/9/23 05:05, Timothy Butterworth wrote:

After you edit resolv.conf make the file immutable with chattr. Chattr +i makes 
immutable chattr -i removes immmutable.

On April 9, 2023, at 4:51 AM, Christoph Brinkhaus  
wrote:

Am Sun, Apr 09, 2023 at 04:20:49PM +0800 schrieb cor...@free.fr:

greetings,

I know I can edit the entries in /etc/resolv.conf, but it will be
overwritten by DHCP server.
I searched the internet and got one of the answers:

apt install resolvconf
echo "nameserver 127.0.0.1" >> /etc/resolvconf/resolv.conf.d/head

what's the difference for /etc/resolv.conf and the method above?
  
There is a thrid method I use. I have add the following lines to

/etc/dhcp/dhclient.conf:

interface "bond0" {
supersede domain-name-servers 127.0.0.1;
}

My interface is bond0. Yours might be different.



That got changed in my install of bullseye. It might work to add that as 
a final stanza by copy/pasting the buster version, but its not been 
tried with bullseye, by me.



Kind regards,
Christoph


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: how to change default nameserver?

2023-04-09 Thread gene heskett

On 4/9/23 04:20, cor...@free.fr wrote:

greetings,

I know I can edit the entries in /etc/resolv.conf, but it will be 
overwritten by DHCP server.

I searched the internet and got one of the answers:

apt install resolvconf
echo "nameserver 127.0.0.1" >> /etc/resolvconf/resolv.conf.d/head

what's the difference for /etc/resolv.conf and the method above?


I'm not sure, and my methods have been heavily denegrated by the dhcp 
fans, but in my case with a many machine local net, and no dhcpd running 
on the system, and the changes with each new release, I find the one 
repeatable method to solve dns problem, is to compose an 
/etc/resolv.conf with 2 lines:


mameserver ipv4 address of router
search hosts, nameserver

And sudo chattr +i /etc/resolv.conf

quickly so NM can't change it. It will remove the search line, killing 
your local network, in which case you can ping yahoo.com, but not 
another machine on your local net. Your ISP's dns has no knowledge of 
your local net which is as it should be.


My router runs something like dnsmasq as its running dd-wrt, and 
theoretically a dns request then searchs the host file for a matching 
name, failing that my whole local system then query's the router, which 
if not cached by dnsmasq, sends the query on to my ISP's dns server, and 
I get answers in around 30 milliseconds. And it all just works. With the 
router NAT-ing, all machines here can browse the whole planet, as 
transparently as border facilities allow.


My main problem with each new release is the ever changing methods of 
establishing each machines repeatable, permanent, name and local address 
on a completely static system described in the /etc/hosts file. Reliably 
setting a domainname used to be once and done, but since bullseye its 
only for this reboot, but I've not found a place to make it permanent 
across reboots, yet...


If anyone knows how to do that on bullseye, I'm all ears. Hopefully it 
will continue to work with bookworm but I'm not a betting man. I'm still 
looking for a way to re-establish cups printer sharing, which Just 
Worked with buster, but is now blocked on bullseye from other bullseye 
machines, but still works with buster machines to this bullseye machine. 
WTH???


Thanks for reading, take care and stay well, all.


Thanks & Happy weekend.
corey hickman

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



Re: cups not sharing printers with other bullseye machines

2023-04-08 Thread gene heskett

On 4/8/23 02:40, Gareth Evans wrote:

On Sat  8 Apr 2023, at 03:20, gene heskett  wrote:

Greetings all;

Where do I turn on cups debugging so I'll see every bit of traffic
addressed to cups from my local 192.168/xx.yy network?

The problem is: other buster machines on this local network can see and
use the two brother printers just as if the printer was local to that
buster machine.

But no bullseye, debian or armbian can see anything at
localhost:631/printers except the search screen when there are no printers.

These printers are marked as shared in this bullseye machines /etc/cups
files.

There's a new roadblock someplace, I've asked about before. I'd like to
find it.

Buster machines can, other bullseye machines can't.

Thank you.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
   soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
   - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>


Hi Gene,

Not sure if CUPS debugging may be helpful, see eg.

https://sysadminera.com/2020/09/10/linux-how-to-enable-and-capture-cups-debugging-logs/

The most intelligent output I can get from the error_log on one of the 
armbian bullseye machines is a garbled attempt to open a pipe (I think)
from that log a snippet is attached. Tail end of a cups restart. Looks 
like something in the name resolution is totally fubar to me.


But, I can send ff to the exact entry in client.conf, and it can see all 
the shared printers here on this machine. But cups on that machine can't.



But first, I seem to recall you removed avahi and cups-browsed from Bullseye 
machines.  Is that correct?  Do the Buster machines have either or both of 
those installed?


avahi and cups-browsed have both been re-installed on that armbian machine.
And its networking continues to work thru a reboot, something I could 
not do at the original install.
Then I check this machines error_log which is flooded with thousands of 
lines of this from my attempts to get a printer list on the armbian machine:


E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP 
server-error-version-not-supported for CUPS-Get-Printers (no URI) from 
192.168.71.12.
E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP 
server-error-version-not-supported for CUPS-Get-Default (no URI) from 
192.168.71.12.
E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP 
server-error-version-not-supported for CUPS-Get-Printers (no URI) from 
192.168.71.12.
E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP 
server-error-version-not-supported for CUPS-Get-Default (no URI) from 
192.168.71.12.
E [08/Apr/2023:12:25:16 -0400] [Client 18] Returning IPP 
server-error-version-not-supported for CUPS-Get-Printers (no URI) from 
192.168.71.12.


So the armbian machine is trying, and its this machine that is rejecting 
its attempts.  That's progress ;o)>


Whats next?

Thanks Gareth, take care and stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>
E [08/Apr/2023:16:37:14 -0400] Unable to open listen socket for address 
[v1.::1]:631 - Cannot assign requested address.
I [08/Apr/2023:16:37:14 -0400] Listening to 127.0.0.1:631 on fd 7...
I [08/Apr/2023:16:37:14 -0400] Listening to /run/cups/cups.sock on fd 3...
I [08/Apr/2023:16:37:14 -0400] Resuming new connection processing...
D [08/Apr/2023:16:37:14 -0400] cupsdSetBusyState: newbusy="Not busy", 
busy="Active clients"
D [08/Apr/2023:16:37:14 -0400] cupsdAddCert: Adding certificate for PID 0
D [08/Apr/2023:16:37:14 -0400] Discarding unused server-started event...
D [08/Apr/2023:16:37:14 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not 
busy"
D [08/Apr/2023:16:37:15 -0400] Report: clients=0
D [08/Apr/2023:16:37:15 -0400] Report: jobs=0
D [08/Apr/2023:16:37:15 -0400] Report: jobs-active=0
D [08/Apr/2023:16:37:15 -0400] Report: printers=0
D [08/Apr/2023:16:37:15 -0400] Report: stringpool-string-count=334
D [08/Apr/2023:16:37:15 -0400] Report: stringpool-alloc-bytes=5264
D [08/Apr/2023:16:37:15 -0400] Report: stringpool-total-bytes=5696


<    3   4   5   6   7   8   9   10   11   12   >