Re: multiple messages

2022-12-11 Thread John Conover
Charles Curley writes:
> On Sun, 11 Dec 2022 10:59:02 -0800
> David Christensen  wrote:
> 
> > Thunderbird message duplication bugs have existed for several years.
> > My work-around is to periodically delete older messages and/or delete 
> > duplicates in Junk, Trash, etc..
> 
> This is one place claws-mail would come in handy. It has a tool for
> deleting duplicate messages.
>

Or, if you are filtering/sorting incoming email through procmail(1),
the References: header will contain a same ID for duplicate emails,
(which is derived from the Message-ID: header.)

Something like:

:0 Wh :msgid.lock
| formail -D $idcache_size msgid.cache

in ~/.procmailrc will eliminate a duplicate email.

John

-- 

John Conover, cono...@panix.com, http://www.johncon.com/



Re: multiple messages

2022-12-11 Thread Charles Curley
On Sun, 11 Dec 2022 10:59:02 -0800
David Christensen  wrote:

> Thunderbird message duplication bugs have existed for several years.
> My work-around is to periodically delete older messages and/or delete 
> duplicates in Junk, Trash, etc..

This is one place claws-mail would come in handy. It has a tool for
deleting duplicate messages.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: multiple messages

2022-12-11 Thread David Wright
On Sun 11 Dec 2022 at 17:52:56 (+), Martin Smith wrote:
> I am getting multiple messages, all with the same time and date, has
> my thunderbird gone belly up or is anyone else seeing it
> 
> this one I have about 50: Re: e-mail with line in body beginning with "From"
> 
> and this one:  10/12/2022, 14:49
> Re: Monitor traffic on a port

The specific email that you mentioned is at
https://lists.debian.org/debian-user/2022/12/msg00262.html
and shouldn't cause any trouble. But it does quote a couple
of header fields from an earlier post, and that may be a clue
to your underlying problem, but not to its immediate cause.

I suggest you read the thread (about a dozen posts) starting at
https://lists.debian.org/debian-user/2022/12/msg00250.html
and particularly messages #252 and #269. These discuss
a /possible/ cause of your reported symptoms—you've quoted
the topic of the thread at the top of your post.

You need to determine whether "getting multiple messages"
means that you are seeing multiple displays of the same
message, or the display of local duplicates of one or two
messages, or actual newly arriving copies of these same
messages. Knowing which of these is occurring will help
trace the source.

I think it's an unlikely coincidence that these messages
(particularly if the duplicates are all in the set 252/262/269)
would just happen to be the ones causing a random Tbird
duplication bug to trigger. The problem could lie further
up the chain of processes that deliver the emails.

BTW are you running any filters, like procmail etc?

Cheers,
David.


Re: e-mail with line in body beginning with "From"

2022-12-11 Thread David Wright
Threaded to the OP, rather than a private message.

On Sun 11 Dec 2022 at 18:56:24 (-0600), Greg Marks wrote:
> Dear David,

Thanks, but please keep replies on list so others can see
solutions or join in with suggestions.

Rather than appending a piece of free-standing text to the
rest of the email, in mutt you could attach it as a file:

 At the Compose Menu where you type y to send, press a and
 then give the filename.

 Highlight the attachment in the list, and press Ctrl-E.

 Change the encoding from whatever it says, like 7-bit, to
 base64, and press Return.

It now doesn't matter what was in the free-standing test:
it will arrive intact. Even though encoded, the receiver's
mutt will typically display the text attachment straight after
the email text without needing any extra commands, but it can
also be saved like any other attachment.

I've attached a mutt documentation sample file as an example.
Its entry in mutt's Compose Menu looks like:

  A 2 sample.mailcap[text/plain, base64, us-ascii, 0.1K]

 displays after email because  I set this

Note that when sending attachments, the filename may appear
incomplete as it has to include the full path. The receiver
doesn't see the path at their end, but only the filename.

Cheers,
David.
# $Id$

text/html; netscape -remote openURL\(%s\)
image/gif; xv %s
image/jpg; xv %s
application/pgp-keys; pgp -f < %s ; copiousoutput


Re: Bookworm won't route ipv6 requests

2022-12-11 Thread Jason Bigelow



On 2022-12-12 06:26, Georgi Naplatanov wrote:

Try to comment or delete the following line:

ip6-privacy=2

Kind regards
Georgi



Unfortunately that hasn't helped:

$ host -6 localhost
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; no servers could be reached

$ host -6 mygateway #This is a DNS name normally provided by Telstra 
routers like mine

;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; no servers could be reached

$ host -6 debian.org
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; no servers could be reached

The contents of my configuration is now:

[connection]
id=Wired connection 1
uuid=aa3b5fa9-a0e8-4ed0-98d5-cae938d836cb
type=ethernet
timestamp=1670726772

[ethernet]

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns=2620:0:ccc::2;
method=auto

[proxy]

(I also tried removingthe addr-gen-mode line but it also had no effect)

I'm not sure how the IPv6 privacy extensions could cause my own 
localhost to not respond :\ It seems not to be the cause anyway.


Thank you for your patience,
Jason



Re: t-bird vs filters to sort msgs

2022-12-11 Thread Tom Dial




On 12/11/22 10:39, gene heskett wrote:

On 12/11/22 10:00, Andrew M.A. Cater wrote:

On Sun, Dec 11, 2022 at 09:51:05AM -0500, gene heskett wrote:

Greetings all;



(Skipping)



So as a LinuxCNC supporter, I'm stuck with debian. And debian has made it 
virtually impossible to install anything from the TDE repos.


The instructions at https://forums.debian.net/viewtopic.php?t=150536 - the third item 
returned for the Firefox query "tde debian repository" - appear likely to work 
on the Live DVD for Debian 11.5. The tde-trinity install describe there gave me no 
indication of a problem in simulation mode, so the real install probably would work. The 
instructions at 
https://wiki.trinitydesktop.org/Debian_Trinity_Repository_Installation_Instructions are 
similar and probably would work as well.
 


So I need a WORKING email agent, with or without fetchmail & procmail.


fetchmail (6.4.16-4+deb11u1) and procmail (3.22-26+deb11u1) installed fine on 
the same image. The only reason I did not complete the tde install is that it 
would have brought in I am using the image for recovery and did not want to 
install all the stuff that tde appears to depend on.


And it looks like after 20 years, I am going to have to learn how to use a 
brand new to me emailer. Neither mutt, nor alpine, has docs for a beginner that 
aren't buried 2+ more directories deep in /usr/share/doc.

No man pages...

So at this point I guessing that I need a fetchmail/procmail front end as I 
don't find any references to account setups for either one. Is my macular 
degeneration of my 88 yo eyes hiding that from me?


Since know and prefer fetchmail and procmail, it might be worthwhile to 
describe on this list about any problems you encountered installing or 
reinstalling them.

Regards,
Tom Dial



Thank you Andy. take care and stay well.

Cheers, Gene Heskett.




Re: t-bird vs filters to sort msgs

2022-12-11 Thread gene heskett

On 12/11/22 13:28, Andrew M.A. Cater wrote:

On Sun, Dec 11, 2022 at 12:39:31PM -0500, gene heskett wrote:

On 12/11/22 10:00, Andrew M.A. Cater wrote:

On Sun, Dec 11, 2022 at 09:51:05AM -0500, gene heskett wrote:

Greetings all;



LinuxCNC has gotten much better over the years, but their installer is still
based on debian buster, but debian came calling to see if it might make it
into bookworm. It may not make the bookworm cutoff date, remains to be seen.

So as a LinuxCNC supporter, I'm stuck with debian. And debian has made it
virtually impossible to install anything from the TDE repos.



Have you had a chat with the person who is actually packaging LinuxCNC for
Debian to see if it will make it in before freeze in January?

Not in the last 20 or so hours. Some sort of a 20+ yo copyright rumor 
has been reported, and we might not have time to resolve it, some of the 
history of it, going all the way back to NIST's proposal in the late 
60's is pretty vague.  Niche stuff even the wayback machine does not 
have. My contribution to Linuxcnc has about the same effect at steering 
that ship as a toothpick thrown overboard. So as a Legal I'm nothing but 
I am a CET, something most EE's don't have a chance of ever passing.  US 
Copyright law, forced on the US and most of the planet by Disney to 
protect Mickey Mouse etc, is the biggest legal PITA this planet has.




No man pages...



man mutt Just Works for me here ...


So at this point I guessing that I need a fetchmail/procmail front end as I



don't find any references to account setups for either one. Is my macular
degeneration of my 88 yo eyes hiding that from me?



I'm using mbsync - there are lots of ways to do this but, to be fair, a
Debian colleague helped set up email so that it worked ...


Thank you Andy. take care and stay well.



You too - it's snowing here :)

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 



.


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 



Re: LF (was Re: CR/LF)

2022-12-11 Thread Jim Popovitch
On Sun, 2022-12-11 at 22:29 +, debian-u...@howorth.org.uk wrote:
> 
> 
> The important bit of my email was actually the bit you've omitted :)

Apologies, I believe it's proper netiquette to trim email posts to the
most relevant of parts.  It makes it much better for the archive.

Here is what the "important bit" of your email stated:

>>> Also very odd how yours works. Strange how different people's minds
>>> work in somewhat different ways, and usually wise to take account of
>>> that, especially when you're the one asking for help.


-Jim P.



Re: t-bird vs filters to sort msgs

2022-12-11 Thread gene heskett

On 12/11/22 13:01, Joe wrote:

On Sun, 11 Dec 2022 12:39:31 -0500
gene heskett  wrote:




So I need a WORKING email agent, with or without fetchmail & procmail.
And it looks like after 20 years, I am going to have to learn how to
use a brand new to me emailer. Neither mutt, nor alpine, has docs for
a beginner that aren't buried 2+ more directories deep in
/usr/share/doc.

No man pages...

So at this point I guessing that I need a fetchmail/procmail front
end as I don't find any references to account setups for either one.
Is my macular degeneration of my 88 yo eyes hiding that from me?



You might look at Claws-mail. I've no idea of the extent of the
documentation, as I moved to it from TB and never needed documents.

I confirm that filtering certainly works, as I use it with a newsgroup
that is unusable unless about forty names/subjects are dumped.

It has bugs, and is no use if you use testing, as it has (temporarily, I
hope) been removed from there. So I'm not using testing until it comes
back.

claws I had installed along side kmail about 3 years ago, but had to 
remove it as it was interfering with kmail. Haven't installed it again.


Should I?

Thanks, take care and stay well, Joe.

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 



Re: LF (was Re: CR/LF)

2022-12-11 Thread debian-user
> On Sun, 2022-12-11 at 21:22 +, debian-u...@howorth.org.uk wrote:
> > 
> > You're misunderstanding what Greg's saying, again. He's not saying
> > you were given working solutions three times, he's saying you were
> > told at least three times that echo without -n will always produce
> > a newline.  
> 
> I believe that I have made it very clear, yesterday[1], that using or
> not using -n was not an option for my use-case because it produced
> inconsistent results depending on the cmd output.  To claim that I did
> not, and do not, know that is disingenuous. 

The important bit of my email was actually the bit you've omitted :)

But I'm not claiming anything about what you said or know, I'm trying to
explain what he said. Whether or not it was directly relevant to your
particular situation is immaterial. Please reread my second paragraph,
as well as other messages from other people saying much the same thing
in different words.

Good night :)



Re: t-bird vs filters to sort msgs

2022-12-11 Thread gene heskett

On 12/11/22 10:10, Gökşin Akdeniz wrote:



11.12.2022 17:51 tarihinde gene heskett yazdı:

Greetings all;

Nov 22 is the last time that about half my filters stopped working. I 
have recreated 3 or 4, putting them at the top of filter list 
displayed, but they don't work either.


Probably, filters fail due to filter rules does not match. I had the 
same issues in the past due to mailing list configuration changes or 
similar set up changes. Filter rules works as long as definition in the 
rule are exactly matched.




The error log claims the messages were properly sorted, but the 
targeted local folder remains empty and the message remains in the 
inbox. Most of the errors it does log are swahili to me.




Can you paste any log entries? So anyone can comment on log records.


local Address of log files?

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 



Re: LF (was Re: CR/LF)

2022-12-11 Thread Jim Popovitch
On Sun, 2022-12-11 at 21:22 +, debian-u...@howorth.org.uk wrote:
> 
> 
> You're misunderstanding what Greg's saying, again. He's not saying you
> were given working solutions three times, he's saying you were told at
> least three times that echo without -n will always produce a newline.

I believe that I have made it very clear, yesterday[1], that using or
not using -n was not an option for my use-case because it produced
inconsistent results depending on the cmd output.  To claim that I did
not, and do not, know that is disingenuous. 


1. https://lists.debian.org/debian-user/2022/12/msg00277.html



Re: LF (was Re: CR/LF)

2022-12-11 Thread debian-user
> On Sun, 2022-12-11 at 12:48 -0500, Greg Wooledge wrote:
> > On Sun, Dec 11, 2022 at 11:48:23AM -0500, Jim Popovitch wrote:  
> > > On Sun, 2022-12-11 at 08:54 -0500, Greg Wooledge wrote:  
> > > > On Sun, Dec 11, 2022 at 08:16:35AM +0100, to...@tuxteam.de
> > > > wrote:  
> > > > > That said. Greg, I was also shaken by your roaring tone.  
> > > > 
> > > > Yeah, well, he was told the same thing, repeatedly, by multiple
> > > > people, and somehow he managed to ignore every single instance
> > > > of it.  
> > > 
> > > That is not true at all.  
> > 
> > :
> > 
> >   Try echo -n ${TEST} at the end.  
> 
> 
> My reply, from yesterday, to that is here:
> 
>https://lists.debian.org/debian-user/2022/12/msg00277.html
> 
> 
> > 
> > :
> > 
> >   The second echo command (the local one) produces a newline.
> > Since you did not give it any parameters, that's all it produces.  
> 
> 
> In that same email you stated "It does not produce a carriage return,
> unless you're on Windows." and I knew I wasn't on Windows so that
> couldn't be the issue.  At that time I did not know that it was
> impossible for you to incorrectly assume that someone else was doing
> someone different than what you knew them to be doing. :)
> 
> > 
> > :
> > 
> >   Because the second echo in the first line does not have a -n.
> > 
> >   All the ssh stuff is superfluous.
> >   
> 
> I did read that email yesterday, and as with the earlier one, the -n
> was not a workable solution.   Nit: It is quite telling that Charles
> mentioned the superfluous text, which you quoted above, Greg, yet you
> were also bemoaning around the same time saying "I'm waiting for the
> question to change, and then that one will be relevant".  It's like no
> question is good enough for some folks on debian-user@.  I'll note
> that my question remains unchanged, and a workable answer has been
> provided.
> 
> > 
> > Those are the direct responses to your initial message.  I didn't
> > even have to go beyond the first layer of replies to get THREE
> > instances of people telling you the SAME thing -- that your "extra
> > newline" was being produced by your echo command.  
> 
> As you can see above, I had already read and responded appropriately,
> yesterday.  Read on for details of the solution that does work. 
> 
> > 
> > I'm fairly sure there are more instances in the next layers of
> > replies.  
> 
> Please do share if you are certain they exist.
> 
> > 
> > All of them are telling you the SAME THING.  You just can't hear it. 
> 
> Nice, more snark.  I'll say it the final time, so that you can see
> it, -n will not work (and I know you know this). 

You're misunderstanding what Greg's saying, again. He's not saying you
were given working solutions three times, he's saying you were told at
least three times that echo without -n will always produce a newline.

> The thing that does work is dumping the output to a TXT file and
> reading the TXT file elsewhere (instead of using a variable).  You,
> Greg, introduced that possible use-case in the very same email where
> you berated me for not reading the answers yet.  Very odd how your
> head works. ;)

Also very odd how yours works. Strange how different people's minds
work in somewhat different ways, and usually wise to take account of
that, especially when you're the one asking for help.

> All the best, 
> 
> -Jim P.
> 



Re: Bookworm won't route ipv6 requests

2022-12-11 Thread Georgi Naplatanov

On 12/11/22 20:12, Jason Bigelow wrote:


On 2022-12-12 04:32, Georgi Naplatanov wrote:

Hi Jason,

how did you configure your Ethernet card - with Network Manager or?

Please provide configuration.

The above errors means that your system is configured to use DNS 
server on localhost (IPv6 - ::1) and connection was refused. So this 
is first thing to check - your DNS configuration. You have the 
following choices:


 - install DNS server on your local computer (BIND for example)
 - you can use DNS on your router
 - you can use DNS provided by your ISP.

Kind regards
Georgi



Hi Georgi,

I am using Network Manager without any input/manual configuration, 
running under
the assumption it would 'just work'. This also means I am using WPA 
supplicant
Since my home network needs no special configuration, I had assumed my 
router or
ISP would act as DNS.  Why would DNS on IPv4 work under this 
configuration but

not IPv6?

It's hard to provide configuration when I'm not sure what I'm looking 
for. I
installed a bare netinst installation, accidentally with GNOME, but then 
removed
it and installed sway and i3 in its place. I haven't touched any 
configuration
text files and have no GUI for it either. /etc/network contains just 
some shell

files, nothing in /etc/network/interfaces.d:

/etc/network$ ls -R

if-down.d  if-post-down.d  if-pre-up.d  if-up.d  interfaces interfaces.d

./if-down.d:
resolved  wpasupplicant

./if-post-down.d:
wpasupplicant

./if-pre-up.d:
wpasupplicant

./if-up.d:
resolved  wpasupplicant

./interfaces.d:

I've never needed to change this state of affairs i.e. autoconfiguration 
as much

as possible, until recently when issues started cropping up.

Aware I was using NetworkManager, I tried configuring it by starting 
nm-applet

and adding a configuration with nm-connection-editor.


I added a DNS server for IPv6, OpenDNS' ipv6 address. I then looked under
into NetworkManager's configuration directory for the connection info:

/etc/NetworkManager/system-connections$ sudo cat 'Wired connection 1'
[connection]
id=Wired connection 1
uuid=aa3b5fa9-a0e8-4ed0-98d5-cae938d836cb
type=ethernet
timestamp=1670726772

[ethernet]

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns=2620:0:ccc::2;
ip6-privacy=2
method=auto

[proxy]



Try to comment or delete the following line:

ip6-privacy=2

Kind regards
Georgi



Re: CR/LF

2022-12-11 Thread tomas
On Sun, Dec 11, 2022 at 02:03:59PM -0500, Jim Popovitch wrote:
> 
> 
> On Sun, 2022-12-11 at 18:53 +0100, to...@tuxteam.de wrote:
> > On Sun, Dec 11, 2022 at 11:48:36AM -0500, Jim Popovitch wrote:

> > > Ahh, sorry for using a descriptive acronym that I have used for decades
> > > to define an end-of-line [...]

[...]

> > Communications, protocols.
> 
> Sure, of course, all of that makes sense. But lets be honest, how many
> perfectly asked questions are there, esp on a user support list? Don't
> get me wrong, everyone should strive for perfection, but to demand it of
> others is just off the mark.

Nobody's perfect, but we keep trying :)

Good night
-- 
t


signature.asc
Description: PGP signature


Re: CR/LF

2022-12-11 Thread Jim Popovitch
On Sun, 2022-12-11 at 11:46 -0700, Charles Curley wrote:
> On Sun, 11 Dec 2022 11:48:36 -0500
> Jim Popovitch  wrote:
> 
> > Ahh, sorry for using a descriptive acronym that I have used for
> > decades to define an end-of-line. Whether it's in-fact a CR/LF, or
> > just a LF, doesn't really change the original question about the
> > addition of a end- of-line being inserted into the $TEST variable.
> > The fact that it affected someone so much is quite impressive.
> 
> Actually, it does change the meaning — for someone who did not know
> that you meant it as a symbol, and took it as a literal. Precision
> helps in technical communications. Unfortunately, one cannot always
> correctly anticipate how others will take one's words.
> 

I agree.  For my original question "Why does this produce a CR/LF", it
makes sense, to me, for the feedback to be "Tt doesn't produce a CR/LF
it only produces a LF".  Note: only 1 person got hung-up on the CR/LF vs
LF, everyone else knew exactly what I was looking for.
Fortunately/Unfortunately, Greg eventually saw this and did respond with
a well detailed and great answer (to use a temp file).

-Jim P.




Re: CR/LF

2022-12-11 Thread Jim Popovitch



On Sun, 2022-12-11 at 18:53 +0100, to...@tuxteam.de wrote:
> On Sun, Dec 11, 2022 at 11:48:36AM -0500, Jim Popovitch wrote:
> 
> [...]
> 
> > Ahh, sorry for using a descriptive acronym that I have used for decades
> > to define an end-of-line. Whether it's in-fact a CR/LF, or just a LF,
> > doesn't really change the original question [...]
> 
> No, but it confuses the hell out of potential helpers. I went "what, a
> CR? I'll have to think more about that", which might close the window
> I can set aside to field questions.
> 
> It's difficult to explain, but asking questions also involves some
> pedagogical skills: you want to express your problem as concisely, but
> still as precisely as possible: you "owe" that to the folks who take
> the time to (a) try to understand your question and (b) try to formulate
> an answer in a way that you (hopefully) can understand it.
> 
> Communications, protocols.

Sure, of course, all of that makes sense. But lets be honest, how many
perfectly asked questions are there, esp on a user support list? Don't
get me wrong, everyone should strive for perfection, but to demand it of
others is just off the mark.

-Jim P.





Re: LF (was Re: CR/LF)

2022-12-11 Thread Jim Popovitch
On Sun, 2022-12-11 at 12:48 -0500, Greg Wooledge wrote:
> On Sun, Dec 11, 2022 at 11:48:23AM -0500, Jim Popovitch wrote:
> > On Sun, 2022-12-11 at 08:54 -0500, Greg Wooledge wrote:
> > > On Sun, Dec 11, 2022 at 08:16:35AM +0100, to...@tuxteam.de wrote:
> > > > That said. Greg, I was also shaken by your roaring tone.
> > > 
> > > Yeah, well, he was told the same thing, repeatedly, by multiple people,
> > > and somehow he managed to ignore every single instance of it.
> > 
> > That is not true at all.
> 
> :
> 
>   Try echo -n ${TEST} at the end.


My reply, from yesterday, to that is here:

   https://lists.debian.org/debian-user/2022/12/msg00277.html


> 
> :
> 
>   The second echo command (the local one) produces a newline.  Since you
>   did not give it any parameters, that's all it produces.


In that same email you stated "It does not produce a carriage return,
unless you're on Windows." and I knew I wasn't on Windows so that
couldn't be the issue.  At that time I did not know that it was
impossible for you to incorrectly assume that someone else was doing
someone different than what you knew them to be doing. :)

> 
> :
> 
>   Because the second echo in the first line does not have a -n.
> 
>   All the ssh stuff is superfluous.
> 

I did read that email yesterday, and as with the earlier one, the -n was
not a workable solution.   Nit: It is quite telling that Charles
mentioned the superfluous text, which you quoted above, Greg, yet you
were also bemoaning around the same time saying "I'm waiting for the
question to change, and then that one will be relevant".  It's like no
question is good enough for some folks on debian-user@.  I'll note that
my question remains unchanged, and a workable answer has been provided.

> 
> Those are the direct responses to your initial message.  I didn't even
> have to go beyond the first layer of replies to get THREE instances of
> people telling you the SAME thing -- that your "extra newline" was being
> produced by your echo command.

As you can see above, I had already read and responded appropriately,
yesterday.  Read on for details of the solution that does work. 

> 
> I'm fairly sure there are more instances in the next layers of replies.

Please do share if you are certain they exist.

> 
> All of them are telling you the SAME THING.  You just can't hear it.
> 

Nice, more snark.  I'll say it the final time, so that you can see it, 
-n will not work (and I know you know this). 

The thing that does work is dumping the output to a TXT file and reading
the TXT file elsewhere (instead of using a variable).  You, Greg,
introduced that possible use-case in the very same email where you
berated me for not reading the answers yet.  Very odd how your head
works. ;)

All the best, 

-Jim P.





Re: t-bird vs filters to sort msgs

2022-12-11 Thread Charles Curley
On Sun, 11 Dec 2022 18:00:31 +
Joe  wrote:

> You might look at Claws-mail.

Second the nomination. There is some documentation on the web site.
https://www.claws-mail.org

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: multiple messages

2022-12-11 Thread David Christensen

On 12/11/22 09:52, Martin Smith wrote:
I am getting multiple messages, all with the same time and date, has my 
thunderbird gone belly up or is anyone else seeing it


this one I have about 50: Re: e-mail with line in body beginning with 
"From"


and this one:  10/12/2022, 14:49
Re: Monitor traffic on a port



2022-12-11 10:49:26 root@laalaa ~
# cat /etc/debian_version ; uname -a
11.5
Linux laalaa 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) 
x86_64 GNU/Linux


2022-12-11 10:49:32 root@laalaa ~
# dpkg-query -W thunderbird
thunderbird 1:102.5.0-1~deb11u1


I see anywhere from 1 to 4 copies of messages in my Junk and Trash folders.


Thunderbird message duplication bugs have existed for several years.  My 
work-around is to periodically delete older messages and/or delete 
duplicates in Junk, Trash, etc..



David



Re: CR/LF

2022-12-11 Thread Charles Curley
On Sun, 11 Dec 2022 11:48:36 -0500
Jim Popovitch  wrote:

> Ahh, sorry for using a descriptive acronym that I have used for
> decades to define an end-of-line. Whether it's in-fact a CR/LF, or
> just a LF, doesn't really change the original question about the
> addition of a end- of-line being inserted into the $TEST variable.
> The fact that it affected someone so much is quite impressive.

Actually, it does change the meaning — for someone who did not know
that you meant it as a symbol, and took it as a literal. Precision
helps in technical communications. Unfortunately, one cannot always
correctly anticipate how others will take one's words. What I think
impressed Mr. Wooledge (and I am sure he can speak for himself) is that
he asked you about it several times and got no response. Human factors,
alas.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: t-bird vs filters to sort msgs

2022-12-11 Thread Andrew M.A. Cater
On Sun, Dec 11, 2022 at 12:39:31PM -0500, gene heskett wrote:
> On 12/11/22 10:00, Andrew M.A. Cater wrote:
> > On Sun, Dec 11, 2022 at 09:51:05AM -0500, gene heskett wrote:
> > > Greetings all;
> > > 
> 
> LinuxCNC has gotten much better over the years, but their installer is still
> based on debian buster, but debian came calling to see if it might make it
> into bookworm. It may not make the bookworm cutoff date, remains to be seen.
> 
> So as a LinuxCNC supporter, I'm stuck with debian. And debian has made it
> virtually impossible to install anything from the TDE repos.
> 

Have you had a chat with the person who is actually packaging LinuxCNC for
Debian to see if it will make it in before freeze in January?

> 
> No man pages...
> 

man mutt Just Works for me here ...

> So at this point I guessing that I need a fetchmail/procmail front end as I

> don't find any references to account setups for either one. Is my macular
> degeneration of my 88 yo eyes hiding that from me?
> 

I'm using mbsync - there are lots of ways to do this but, to be fair, a
Debian colleague helped set up email so that it worked ...

> Thank you Andy. take care and stay well.
> 

You too - it's snowing here :)

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 
> 



multiple messages

2022-12-11 Thread Martin Smith
I am getting multiple messages, all with the same time and date, has my 
thunderbird gone belly up or is anyone else seeing it


this one I have about 50: Re: e-mail with line in body beginning with "From"

and this one:  10/12/2022, 14:49
Re: Monitor traffic on a port


--
Martin



Re: Bookworm won't route ipv6 requests

2022-12-11 Thread Jason Bigelow



On 2022-12-12 04:32, Georgi Naplatanov wrote:

Hi Jason,

how did you configure your Ethernet card - with Network Manager or?

Please provide configuration.

The above errors means that your system is configured to use DNS 
server on localhost (IPv6 - ::1) and connection was refused. So this 
is first thing to check - your DNS configuration. You have the 
following choices:


 - install DNS server on your local computer (BIND for example)
 - you can use DNS on your router
 - you can use DNS provided by your ISP.

Kind regards
Georgi



Hi Georgi,

I am using Network Manager without any input/manual configuration, 
running under
the assumption it would 'just work'. This also means I am using WPA 
supplicant
Since my home network needs no special configuration, I had assumed my 
router or
ISP would act as DNS.  Why would DNS on IPv4 work under this 
configuration but

not IPv6?

It's hard to provide configuration when I'm not sure what I'm looking for. I
installed a bare netinst installation, accidentally with GNOME, but then 
removed
it and installed sway and i3 in its place. I haven't touched any 
configuration
text files and have no GUI for it either. /etc/network contains just 
some shell

files, nothing in /etc/network/interfaces.d:

/etc/network$ ls -R

if-down.d  if-post-down.d  if-pre-up.d  if-up.d  interfaces interfaces.d

./if-down.d:
resolved  wpasupplicant

./if-post-down.d:
wpasupplicant

./if-pre-up.d:
wpasupplicant

./if-up.d:
resolved  wpasupplicant

./interfaces.d:

I've never needed to change this state of affairs i.e. autoconfiguration 
as much

as possible, until recently when issues started cropping up.

Aware I was using NetworkManager, I tried configuring it by starting 
nm-applet

and adding a configuration with nm-connection-editor.


I added a DNS server for IPv6, OpenDNS' ipv6 address. I then looked under
into NetworkManager's configuration directory for the connection info:

/etc/NetworkManager/system-connections$ sudo cat 'Wired connection 1'
[connection]
id=Wired connection 1
uuid=aa3b5fa9-a0e8-4ed0-98d5-cae938d836cb
type=ethernet
timestamp=1670726772

[ethernet]

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns=2620:0:ccc::2;
ip6-privacy=2
method=auto

[proxy]

I also rebooted. This seems to have changed the error from connection 
refused to

timed out:

$ dig -6 duckduckgo.com
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out

; <<>> DiG 9.18.8-1-Debian <<>> -6 duckduckgo.com
;; global options: +cmd
;; no servers could be reached

$ dig -6 ::1
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out

; <<>> DiG 9.18.8-1-Debian <<>> -6 ::1
;; global options: +cmd
;; no servers could be reached

$ dig -6 debian.org
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out

; <<>> DiG 9.18.8-1-Debian <<>> -6 debian.org
;; global options: +cmd
;; no servers could be reached

$ dig -4 debian.org


; <<>> DiG 9.18.8-1-Debian <<>> -4 debian.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45558
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;debian.org.    IN  A

;; ANSWER SECTION:
debian.org. 300 IN  A   149.20.4.15
debian.org. 300 IN  A   130.89.148.77
debian.org. 300 IN  A   128.31.0.62

;; Query time: 23 msec
;; SERVER: 10.0.0.138#53(10.0.0.138) (UDP)
;; WHEN: Mon Dec 12 05:02:05 AEDT 2022
;; MSG SIZE  rcvd: 87


$ ping 2620:0:ccc::2
PING 2620:0:ccc::2(2620:0:ccc::2) 56 data bytes
From 2001:8003:234d:a600:dad7:75ff:fe4d:2452 icmp_seq=1 Destination 
unreachable: Address unreachable
From 2001:8003:234d:a600:dad7:75ff:fe4d:2452 icmp_seq=2 Destination 
unreachable: Address unreachable
From 2001:8003:234d:a600:dad7:75ff:fe4d:2452 icmp_seq=3 Destination 
unreachable: Address unreachable


I'm not sure why I can't reach the DNS server...

Thanks for the help so far



Re: t-bird vs filters to sort msgs

2022-12-11 Thread Joe
On Sun, 11 Dec 2022 12:39:31 -0500
gene heskett  wrote:


> 
> So I need a WORKING email agent, with or without fetchmail & procmail.
> And it looks like after 20 years, I am going to have to learn how to
> use a brand new to me emailer. Neither mutt, nor alpine, has docs for
> a beginner that aren't buried 2+ more directories deep in
> /usr/share/doc.
> 
> No man pages...
> 
> So at this point I guessing that I need a fetchmail/procmail front
> end as I don't find any references to account setups for either one.
> Is my macular degeneration of my 88 yo eyes hiding that from me?
>

You might look at Claws-mail. I've no idea of the extent of the
documentation, as I moved to it from TB and never needed documents.

I confirm that filtering certainly works, as I use it with a newsgroup
that is unusable unless about forty names/subjects are dumped.

It has bugs, and is no use if you use testing, as it has (temporarily, I
hope) been removed from there. So I'm not using testing until it comes
back.

-- 
Joe



Re: CR/LF

2022-12-11 Thread tomas
On Sun, Dec 11, 2022 at 12:53:50PM -0500, Greg Wooledge wrote:

[...]

> When echo is operating in SysV mode, the \c escape sequence suppresses
> the generation of a newline.

Woah. I didn't know about that one. Did I say I learn from your
postings every time?

Thanks
-- 
t


signature.asc
Description: PGP signature


Re: CR/LF

2022-12-11 Thread Greg Wooledge
On Sun, Dec 11, 2022 at 06:46:05PM +0100, to...@tuxteam.de wrote:
> On Sun, Dec 11, 2022 at 08:54:27AM -0500, Greg Wooledge wrote:
> > 3) echo usually, but not always, adds an additional newline character to
> >the output.  In most cases, this is acceptable, even preferable.  But
> >when the OP is complaining of an "extra CR/LF" [sic], but is using
> >echo to produce the extra newline himself, well... there you have it.
> 
> Now which cases, besides when the -n option is given (I don't know,
> off the bat, I must admit).

The other case is less common.  I believe David already gave one
example of it.

On some platforms, the "echo" command (e.g. the one in /bin) has System V
semantics.  In bash, you can also put the builtin echo command into SysV
mode by giving the -e option.

When echo is operating in SysV mode, the \c escape sequence suppresses
the generation of a newline.

unicorn:~$ echo -e 'xx\c'
xxunicorn:~$ 

In bash, it also appears to truncate the arguments right at that point.

unicorn:~$ echo -e 'xx\cyy'
xxunicorn:~$ 

I'm not sure whether the original SysV echo does the same.



Re: CR/LF

2022-12-11 Thread tomas
On Sun, Dec 11, 2022 at 11:48:36AM -0500, Jim Popovitch wrote:

[...]

> Ahh, sorry for using a descriptive acronym that I have used for decades
> to define an end-of-line. Whether it's in-fact a CR/LF, or just a LF,
> doesn't really change the original question [...]

No, but it confuses the hell out of potential helpers. I went "what, a
CR? I'll have to think more about that", which might close the window
I can set aside to field questions.

It's difficult to explain, but asking questions also involves some
pedagogical skills: you want to express your problem as concisely, but
still as precisely as possible: you "owe" that to the folks who take
the time to (a) try to understand your question and (b) try to formulate
an answer in a way that you (hopefully) can understand it.

Communications, protocols.

Cheers

Q "There's an OKAPI in the kitchen"
A "An okapi, seriously?"
Q "No, well, it's the cat, but it's so fat I call it an okapi"

:-)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: LF (was Re: CR/LF)

2022-12-11 Thread Greg Wooledge
On Sun, Dec 11, 2022 at 11:48:23AM -0500, Jim Popovitch wrote:
> On Sun, 2022-12-11 at 08:54 -0500, Greg Wooledge wrote:
> > On Sun, Dec 11, 2022 at 08:16:35AM +0100, to...@tuxteam.de wrote:
> > > That said. Greg, I was also shaken by your roaring tone.
> > 
> > Yeah, well, he was told the same thing, repeatedly, by multiple people,
> > and somehow he managed to ignore every single instance of it.
> 
> That is not true at all.

:

  Try echo -n ${TEST} at the end.

:

  The second echo command (the local one) produces a newline.  Since you
  did not give it any parameters, that's all it produces.

:

  Because the second echo in the first line does not have a -n.

  All the ssh stuff is superfluous.


Those are the direct responses to your initial message.  I didn't even
have to go beyond the first layer of replies to get THREE instances of
people telling you the SAME thing -- that your "extra newline" was being
produced by your echo command.

I'm fairly sure there are more instances in the next layers of replies.

All of them are telling you the SAME THING.  You just can't hear it.



Re: CR/LF

2022-12-11 Thread tomas
On Sun, Dec 11, 2022 at 08:54:27AM -0500, Greg Wooledge wrote:
> On Sun, Dec 11, 2022 at 08:16:35AM +0100, to...@tuxteam.de wrote:
> > That said. Greg, I was also shaken by your roaring tone.
> 
> Yeah, well, he was told the same thing, repeatedly, by multiple people,
> and somehow he managed to ignore every single instance of it.
> 
> It's rather frustrating.

I understand. Still yelling at people detracts from your extremely
valuable contributions here.

I would consider myself as a reasonably experienced shell programmer,
and still learn from you time and again, so thanks for this.

> As a formal statement for anyone else who's reading this, who might
> actually listen:
> 
> 
> echo ${TEST}  does NOT show the contents of the TEST variable reliably.
> 
> 
> For the following reasons:
> 
> 1) ${TEST} is not a substitute for "$TEST".  They do not mean the same
>thing.  You MUST double-quote the variable when you expand it, or
>else the contents will undergo word splitting and pathname expansions.
> 
>There are specific cases where the double-quotes may be omitted, but
>until you know what those cases are, it's best to use the quotes
>every time.  This is not one of those cases.

To illustrate: in my home directory

  tomas@trotzki:~$ FOO='key* hi* ho*'
  tomas@trotzki:~$ echo ${FOO}
  => keys.out keys1.out hill.scad holidays hours

Needles to say: in your home directory, results may be different :)

> 2) echo may interpret the content of TEST as an option (-n or -e), or it
>may interpret backslash sequences inside the content, depending on
>which shell you're using, and which platform you're on.
> 
>The use of echo with variable arguments is therefore strongly
>discouraged.

Again, illustration:

  tomas@tritzki:~$ TEST="-n o n o"
  tomas@trotzki:~$ echo ${TEST}
  => o n o
  (with no newline at its end)

> 3) echo usually, but not always, adds an additional newline character to
>the output.  In most cases, this is acceptable, even preferable.  But
>when the OP is complaining of an "extra CR/LF" [sic], but is using
>echo to produce the extra newline himself, well... there you have it.

Now which cases, besides when the -n option is given (I don't know,
off the bat, I must admit).

(more useful advice)


signature.asc
Description: PGP signature


Re: t-bird vs filters to sort msgs

2022-12-11 Thread gene heskett

On 12/11/22 10:00, Andrew M.A. Cater wrote:

On Sun, Dec 11, 2022 at 09:51:05AM -0500, gene heskett wrote:

Greetings all;

Nov 22 is the last time that about half my filters stopped working. I have
recreated 3 or 4, putting them at the top of filter list displayed, but they
don't work either.

Is it time to learn a new to me but more stable emailer, like
alpine or such?



A lot of us use mutt - command line email client that seems to mostly
do the right thing when configured - and works well with included HTML
if you add urlview. There are a whole lot of good email clients.

alpine is, essentially, the grandchild of pine - so you may find you
already know the interface from years ago.


Never used any of the "trees. I found kmail in 1998 and never looked 
back. Until ngo's crew got addicted to eye candy and his ability to herd 
cats was never focused on bug fixing and stabiliity. So I fixed kmails 
huge and annoyiing lags while it was fetching new mail by installing 
fetchmail and procmail to sort it. Used it the way thru thick and thin 
till a little over a year ago when two brand new 2TB seagate drives 
disappeared off the sata bus in 10 days, taking 20 some years of history 
with them. So I ordered another controller and 5 more Samsung SSD's, one 
to boot from and 4 for a 2T raid10 for /home.


That's when all hell broke out, resulting in 20 something installs 
because the installer insisted on silently installing brltty and orca, 
which wasn't removable without destroying the installs ability to 
reboot. without which a reboot was only doable by a reinstall, 20 some 
of them. It never asked me if I wanted that, it just installed them 
because I had a couple usb-serial convertors plugged in.


Somebody finally twigged that I needed to unplug all my usb stuff before 
the install.


Before that, 7 years or so, I'd given up on ever getting some kde bugs 
fixed, so I'd switched to tde, which is kde 3.5 with 99.9% of its bugs 
fixed. So up until those 2 new drives puked, and I lost everything, 
because the 2nd was my amanda drive, I had outgrown both as time passed.


I started out in 1998 with redhat5.0, then went to fedora when rh wanted 
$1000 a seat at their table. In the meantime I got interested in 
LinuxCNC when it was still EMC with what was called a BDI for Brain Dead 
Installer and my garage is now full of machines I have converted to CNC. 
The developers switched to Ubuntu in about 2003 then to debian when 
ubuntu looked too much like windows,


LinuxCNC has gotten much better over the years, but their installer is 
still based on debian buster, but debian came calling to see if it might 
make it into bookworm. It may not make the bookworm cutoff date, remains 
to be seen.


So as a LinuxCNC supporter, I'm stuck with debian. And debian has made 
it virtually impossible to install anything from the TDE repos.


So I need a WORKING email agent, with or without fetchmail & procmail.
And it looks like after 20 years, I am going to have to learn how to use 
a brand new to me emailer. Neither mutt, nor alpine, has docs for a 
beginner that aren't buried 2+ more directories deep in /usr/share/doc.


No man pages...

So at this point I guessing that I need a fetchmail/procmail front end 
as I don't find any references to account setups for either one. Is my 
macular degeneration of my 88 yo eyes hiding that from me?


Thank you Andy. 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 



Re: Bookworm won't route ipv6 requests

2022-12-11 Thread Georgi Naplatanov

On 12/11/22 14:59, Jason Bigelow wrote:

Hello,

I've recently started having network issues on Bookworm. I re-installed 
Debian
and re-upgraded to Bookworm while preserving my /home and /boot 
partitions which
solved the issue of being totally unable to connect, but I have since 
noticed
that I am unable to connected to anything across IPv6, which may be the 
same
issue resurfacing, just not as badly because the installation has had 
time to

establish IPv4 connections..?

I have what should be a standard IP setup for a system upgraded from 
Bullseye

netinst media to bookworm: no firewalls, no proxies. Just a desktop on an
ordinary residential LAN, connected by ethernet port. I have a WLAN card 
but

don't use it, I haven't configured it.

I haven't experienced similar issues on Windows and Android devices on the
same LAN, so I'm thinking it's an issue with my Debian Machine.


I can't get any DNS, ICMP or other protocol requests to reach even 
localhost,

let alone my router. I have pretty limited knowledge about networking.
How can I fix the IPv6 configuration on my machine?

$ host 04:92:26:d1:fa:77
Host 04:92:26:d1:fa:77 not found: 3(NXDOMAIN)
$ host -6 04:92:26:d1:fa:77
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; no servers could be reached

$ host -6 foo
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; no servers could be reached

$ dig -6 localhost
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused


Hi Jason,

how did you configure your Ethernet card - with Network Manager or?

Please provide configuration.

The above errors means that your system is configured to use DNS server 
on localhost (IPv6 - ::1) and connection was refused. So this is first 
thing to check - your DNS configuration. You have the following choices:


 - install DNS server on your local computer (BIND for example)
 - you can use DNS on your router
 - you can use DNS provided by your ISP.

Kind regards
Georgi



Inspecting the network with WireShark while running DNS queries with 
`dig -6`

shows nothing whatsoever.

$ ip addr
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
     inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
2: enp6s0:  mtu 1500 qdisc fq_codel 
state UP group default qlen 1000

     link/ether 04:92:26:d1:fa:77 brd ff:ff:ff:ff:ff:ff
     inet 10.0.0.96/24 brd 10.0.0.255 scope global dynamic noprefixroute 
enp6s0

    valid_lft 50579sec preferred_lft 50579sec
     inet6 2001:8003:234d:a600:d010:41cc:f0bc:48f3/64 scope global 
temporary dynamic

    valid_lft 4127sec preferred_lft 4127sec
     inet6 2001:8003:234d:a600:692:26ff:fed1:fa77/64 scope global 
dynamic mngtmpaddr noprefixroute

    valid_lft 4127sec preferred_lft 4127sec
     inet6 fe80::692:26ff:fed1:fa77/64 scope link noprefixroute
    valid_lft forever preferred_lft forever
3: wlp7s0:  mtu 1500 qdisc mq state 
DOWN group default qlen 1000
     link/ether a2:e1:fa:5c:61:3f brd ff:ff:ff:ff:ff:ff permaddr 
d0:37:45:91:cf:4d


$ cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Select output of lspci:
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE 
PCIe Wireless Network Adapter



Select entries from dpkg-query -l:
ii  avahi-daemon 0.8-6+b1  amd64    Avahi 
mDNS/DNS-SD daemon
ii  bind9-host 1:9.18.8-1    amd64    DNS Lookup 
Utility
ii  bind9-libs:amd64 1:9.18.8-1    amd64 Shared 
Libraries used by BIND 9
ii  dns-root-data 2021011101    all  DNS 
root data including root zone and DNSSEC key
ii  dnsmasq-base 2.87-1.1  amd64    Small 
caching DNS proxy and DHCP/TFTP server
ii  glib-networking:amd64 2.74.0-1  amd64 
network-related giomodules for GLib
ii  glib-networking:i386 2.74.0-1  i386 
network-related giomodules for GLib
ii  glib-networking-common 2.74.0-1 all  network-related 
giomodules for GLib - data files
ii  glib-networking-services 2.74.0-1 amd64    network-related 
giomodules for GLib - D-Bus services
ii  iputils-ping 3:20221126-1  amd64    Tools to 
test the reachability of network hosts
ii  ifupdown 0.8.39+b1 amd64    high level 
tools to configure network interfaces

Re: CR/LF

2022-12-11 Thread Kamil Jońca
Jim Popovitch  writes:

> Ahh, sorry for using a descriptive acronym that I have used for decades
> to define an end-of-line. Whether it's in-fact a CR/LF, or just a LF,
> doesn't really change the original question about the addition of a end-

For me - changes. I was confused why linux machine can generate cr/lf
line endings, and only later I did understand you mean "line ending" in
general, and problem lies somewhere else.


Moreover line endings are important sometimes.
For example I have problems with thunderbird and it seems that (one of)
causes is cr/lf in artticle body ... instead of just lf.
(https://bugzilla.mozilla.org/show_bug.cgi?id=1788102)

KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/



Re: Bookworm won't route ipv6 requests

2022-12-11 Thread Jason Bigelow

$ ip route
default via 10.0.0.138 dev enp6s0 proto dhcp src 10.0.0.96 metric 100
10.0.0.0/24 dev enp6s0 proto kernel scope link src 10.0.0.96 metric 100
$ ip -6 route
::1 dev lo proto kernel metric 256 pref medium
2001:8003:234d:a600::/64 via fe80::dad7:75ff:fe4d:2452 dev enp6s0 proto 
ra metric 100 pref medium

fe80::/64 dev enp6s0 proto kernel metric 1024 pref medium
default via fe80::dad7:75ff:fe4d:2452 dev enp6s0 proto ra metric 100 
pref medium


On 2022-12-12 04:00, Tom Furie wrote:

On Sun, Dec 11, 2022 at 11:59:55PM +1100, Jason Bigelow wrote:
  

$ host 04:92:26:d1:fa:77

That isn't an IP address, it's a MAC address.


$ ip addr
2: enp6s0:  mtu 1500 qdisc fq_codel state
UP group default qlen 1000
     link/ether 04:92:26:d1:fa:77 brd ff:ff:ff:ff:ff:ff

  ^
This is a MAC address



Ah thank you. Yes, MAC addresses are specified in single bytes at a time 
and IPv6 address two bytes at a time



What do "ip route" and "ip -6 route" give for output?

$ ip route
default via 10.0.0.138 dev enp6s0 proto dhcp src 10.0.0.96 metric 100
10.0.0.0/24 dev enp6s0 proto kernel scope link src 10.0.0.96 metric 100
$ ip -6 route
::1 dev lo proto kernel metric 256 pref medium
2001:8003:234d:a600::/64 via fe80::dad7:75ff:fe4d:2452 dev enp6s0 proto 
ra metric 100 pref medium

fe80::/64 dev enp6s0 proto kernel metric 1024 pref medium
default via fe80::dad7:75ff:fe4d:2452 dev enp6s0 proto ra metric 100 
pref medium




Re: Bookworm won't route ipv6 requests

2022-12-11 Thread Tom Furie
On Sun, Dec 11, 2022 at 11:59:55PM +1100, Jason Bigelow wrote:
 
> $ host 04:92:26:d1:fa:77
That isn't an IP address, it's a MAC address.

> $ ip addr
> 2: enp6s0:  mtu 1500 qdisc fq_codel state
> UP group default qlen 1000
>     link/ether 04:92:26:d1:fa:77 brd ff:ff:ff:ff:ff:ff
 ^
This is a MAC address

>     inet 10.0.0.96/24 brd 10.0.0.255 scope global dynamic noprefixroute
   ^
This is an IPv4 address

>     inet6 2001:8003:234d:a600:d010:41cc:f0bc:48f3/64 scope global temporary
^^^
This is an IPv6 address

>     inet6 2001:8003:234d:a600:692:26ff:fed1:fa77/64 scope global dynamic
^^
This is an IPv6 address


What do "ip route" and "ip -6 route" give for output?

-- 
Marxist Law of Distribution of Wealth:
Shortages will be divided equally among the peasants.


signature.asc
Description: PGP signature


Re: CR/LF

2022-12-11 Thread Jim Popovitch



On Sun, 2022-12-11 at 07:04 -0700, Charles Curley wrote:
> On Sat, 10 Dec 2022 23:16:12 -0500
> Jim Popovitch  wrote:
> 
> > > There is still no CR.  At all.  Ever.  This is not Microsoft
> > > Windows.  
> > 
> > Why would you assume Windows is involved?  This is about running cmds
> > from Debian 11 to Debian 11.
> 
> Because you originally asked about a CR/LF (carriage return, and line
> feed) sequence. That is a Windows end-of-line indicator. Linux indicates
> end of line with LF only. Macs, I believe, use CR only. So you brought
> in the Windows-ism, not Greg Wooledge.

Ahh, sorry for using a descriptive acronym that I have used for decades
to define an end-of-line. Whether it's in-fact a CR/LF, or just a LF,
doesn't really change the original question about the addition of a end-
of-line being inserted into the $TEST variable. The fact that it
affected someone so much is quite impressive.

-Jim P.




Re: LF (was Re: CR/LF)

2022-12-11 Thread Jim Popovitch
On Sun, 2022-12-11 at 08:54 -0500, Greg Wooledge wrote:
> On Sun, Dec 11, 2022 at 08:16:35AM +0100, to...@tuxteam.de wrote:
> > That said. Greg, I was also shaken by your roaring tone.
> 
> Yeah, well, he was told the same thing, repeatedly, by multiple people,
> and somehow he managed to ignore every single instance of it.

That is not true at all.   The closest truth to that is your reply to
David Wright[1].  The other email[2], from that same time frame, was
about using '-n', the third, unrelated, email[3] was general
pontification (e.g. WOW, THAT WAS FAST!) by some guy who got tripped up
by the nuanced differences between LF and CR/LF.  Still, the best info
did came from you Greg, eventually, but it's the same email that Tomas
is questioning your roaring tone. So was your roaring toned email, where
you provided the helpful answer, the cause of your own frustration? Or
do you know of any other relevant emails that exist from that time frame
that I don't link below?  

> It's rather frustrating.

Indeed, indeed it is.

-Jim P.

1. https://lists.debian.org/msgid-search/y5vjboee9z7nz...@wooledge.org

2. https://lists.debian.org/msgid-search/y5vcdyoejroqk...@axis.corp

3. https://lists.debian.org/msgid-search/y5vkkhxhqgt8e...@wooledge.org





Re: installation partition recommendations

2022-12-11 Thread Max Nikulin

On 11/12/2022 22:01, Semih Ozlem wrote:


Basically the menu that offers choices for where to boot the machine 
appears. If Debian or USB drive is chosen the menu comes back with no 
progress at all.


Directory structure for UEFI boot (sdd4 in your case) depends on whether 
it is internal disk or removable storage: EFI/debian/shimx64.efi and 
EFI/BOOT/bootx64.efi (the same file content). Particular implementation 
may have bugs. I am unsure which way firmware interprets a USB drive 
with multiple partitions in your case. If installer created just one 
directory then I would try to copy it to another name.


Do you have an option to choose boot from particular .efi file? If so 
try bootx64.efi or shimx64.efi directly



Within the bios secure boot is disabled.


... or grubx64.efi in this case.

Please, show the list of files on sdd4
find EFI | sort

If you can boot to some linux on that machine (e.g. a USB drive with 
live image) then show output of

efibootmgr -v



Re: installation partition recommendations

2022-12-11 Thread Andrew M.A. Cater
On Sun, Dec 11, 2022 at 03:01:24PM +, Semih Ozlem wrote:
> Hi
> 
> Basically the menu that offers choices for where to boot the machine
> appears. If Debian or USB drive is chosen the menu comes back with no
> progress at all.
> Within the bios secure boot is disabled.
>

Hi Semih,

1. Check what the options are for booting - UEFI and Legacy/MBR, UEFI only?

2. If your machine has an option to choose an option to boot once - on a
   lot of machines, that's F12 or similar - what does that do?

3. There is no problem in using secure boot in Debian - in Debian 11, it works.

4. What was your USB drive used for in the past? Is it possible it has
bad blocks - Linux can sometimes be more picky than just a FAT32 file
system used for storage.

All best, as ever,

Andy Cater



Re: nftables default rules package

2022-12-11 Thread Michel Verdier
Le 11 décembre 2022 Andre Rodier a écrit :

> Howerver, IMHO, it would be better to create an empty directory, for instance 
> /etc/nftables or /etc/mftables/rules,
> and to include this directory from /etc/nftables.conf.
>
> That way, we could place any rules in a directory, which is the way nftables 
> works better, compared to say, iptables.

As I understand, nftables.conf serves to save setup for next boot with :
nft -s list ruleset > /etc/nftables.conf
And this save needs to not be automatic to prevent erroneous rules to be kept
after reboot.
So if /etc/nftables/rules/ is included in /etc/nftables.conf it implies
to play elsewhere and save separate files in /etc/nftables/rules/ after
testing.

But a default /etc/nftables/rules/ would be great with some defaults, for
example the basics found on
https://wiki.nftables.org/wiki-nftables/index.php/Simple_ruleset_for_a_workstation
and/or
https://wiki.nftables.org/wiki-nftables/index.php/Simple_ruleset_for_a_server



Re: t-bird vs filters to sort msgs

2022-12-11 Thread gene heskett

On 12/11/22 10:00, Andrew M.A. Cater wrote:

On Sun, Dec 11, 2022 at 09:51:05AM -0500, gene heskett wrote:

Greetings all;

Nov 22 is the last time that about half my filters stopped working. I have
recreated 3 or 4, putting them at the top of filter list displayed, but they
don't work either.

Is it time to learn a new to me but more stable emailer, like
alpine or such?



A lot of us use mutt - command line email client that seems to mostly
do the right thing when configured - and works well with included HTML
if you add urlview. There are a whole lot of good email clients.

alpine is, essentially, the grandchild of pine - so you may find you
already know the interface from years ago.

There are fewer and fewer users of Thunderbird, one way and another, and
while upstream is still there, Thunderbird is a lot less prominent than
it was.

I can see why, t-bird seems to have lost its direction with something 
else breaking at about the same pace as my laundry.


I'll take a look at mutt.  Thanks Andy.


All best, as ever,

Andy Cater


Cheers, Gene Heskett.
--



With every good wish, as ever,

Andy C.

.

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 



Re: t-bird vs filters to sort msgs

2022-12-11 Thread Gökşin Akdeniz



11.12.2022 17:51 tarihinde gene heskett yazdı:

Greetings all;

Nov 22 is the last time that about half my filters stopped working. I 
have recreated 3 or 4, putting them at the top of filter list displayed, 
but they don't work either.


Probably, filters fail due to filter rules does not match. I had the 
same issues in the past due to mailing list configuration changes or 
similar set up changes. Filter rules works as long as definition in the 
rule are exactly matched.




The error log claims the messages were properly sorted, but the targeted 
local folder remains empty and the message remains in the inbox. Most of 
the errors it does log are swahili to me.




Can you paste any log entries? So anyone can comment on log records.


OpenPGP_0x648AAD2AAA3BAD5F_and_old_rev.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


nftables default rules package

2022-12-11 Thread Andre Rodier

Hi,

When installing nftables from scratch on debian, it creates an empty (almost) 
file /etc/nftables.conf.

Of course, I had to modify the file to my needs, and I know it is not 
overwritten by a package update.

Howerver, IMHO, it would be better to create an empty directory, for instance 
/etc/nftables or /etc/mftables/rules,
and to include this directory from /etc/nftables.conf.

That way, we could place any rules in a directory, which is the way nftables 
works better, compared to say, iptables.

Thanks for your insights.

André



Re: installation partition recommendations

2022-12-11 Thread Semih Ozlem
Hi

Basically the menu that offers choices for where to boot the machine
appears. If Debian or USB drive is chosen the menu comes back with no
progress at all.
Within the bios secure boot is disabled.

Charles Curley , 11 Ara 2022 Paz, 14:29
tarihinde şunu yazdı:

> On Sun, 11 Dec 2022 09:38:42 +
> Semih Ozlem  wrote:
>
> > sdd1 is for swap
> > sdd2 is for boot
> > sdd4 is for /boot/efi
> >
> > sdd1 and sdd4 are fat32
> > sdd3 is ext4
>
> One problem I see is that sdd1 should be Linux swap, not fat32. But I
> doubt that that is your problem.
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>
>


Re: t-bird vs filters to sort msgs

2022-12-11 Thread Andrew M.A. Cater
On Sun, Dec 11, 2022 at 09:51:05AM -0500, gene heskett wrote:
> Greetings all;
> 
> Nov 22 is the last time that about half my filters stopped working. I have
> recreated 3 or 4, putting them at the top of filter list displayed, but they
> don't work either.
> 
> Is it time to learn a new to me but more stable emailer, like
> alpine or such?
> 

A lot of us use mutt - command line email client that seems to mostly
do the right thing when configured - and works well with included HTML
if you add urlview. There are a whole lot of good email clients.

alpine is, essentially, the grandchild of pine - so you may find you
already know the interface from years ago.

There are fewer and fewer users of Thunderbird, one way and another, and
while upstream is still there, Thunderbird is a lot less prominent than
it was.

All best, as ever,

Andy Cater

> Cheers, Gene Heskett.
> -- 
>

With every good wish, as ever,

Andy C. 



t-bird vs filters to sort msgs

2022-12-11 Thread gene heskett

Greetings all;

Nov 22 is the last time that about half my filters stopped working. I 
have recreated 3 or 4, putting them at the top of filter list displayed, 
but they don't work either.


Is it time to learn a new to me but more stable emailer, like
alpine or such?

The error log claims the messages were properly sorted, but the targeted 
local folder remains empty and the message remains in the inbox. Most of 
the errors it does log are swahili 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 



Re: installation partition recommendations

2022-12-11 Thread Charles Curley
On Sun, 11 Dec 2022 09:38:42 +
Semih Ozlem  wrote:

> sdd1 is for swap
> sdd2 is for boot
> sdd4 is for /boot/efi
> 
> sdd1 and sdd4 are fat32
> sdd3 is ext4

One problem I see is that sdd1 should be Linux swap, not fat32. But I
doubt that that is your problem.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: CR/LF

2022-12-11 Thread Greg Wooledge
On Sun, Dec 11, 2022 at 07:04:37AM -0700, Charles Curley wrote:
> 
> Because you originally asked about a CR/LF (carriage return, and line
> feed) sequence. That is a Windows end-of-line indicator. Linux indicates
> end of line with LF only. Macs, I believe, use CR only.

Mac OS 9 and earlier used CR only.  Mac OS X (10) and higher uses
newlines.



Re: CR/LF

2022-12-11 Thread Charles Curley
On Sat, 10 Dec 2022 23:16:12 -0500
Jim Popovitch  wrote:

> > There is still no CR.  At all.  Ever.  This is not Microsoft
> > Windows.  
> 
> Why would you assume Windows is involved?  This is about running cmds
> from Debian 11 to Debian 11.

Because you originally asked about a CR/LF (carriage return, and line
feed) sequence. That is a Windows end-of-line indicator. Linux indicates
end of line with LF only. Macs, I believe, use CR only. So you brought
in the Windows-ism, not Greg Wooledge.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: CR/LF

2022-12-11 Thread Greg Wooledge
On Sun, Dec 11, 2022 at 08:16:35AM +0100, to...@tuxteam.de wrote:
> That said. Greg, I was also shaken by your roaring tone.

Yeah, well, he was told the same thing, repeatedly, by multiple people,
and somehow he managed to ignore every single instance of it.

It's rather frustrating.

As a formal statement for anyone else who's reading this, who might
actually listen:


echo ${TEST}  does NOT show the contents of the TEST variable reliably.


For the following reasons:

1) ${TEST} is not a substitute for "$TEST".  They do not mean the same
   thing.  You MUST double-quote the variable when you expand it, or
   else the contents will undergo word splitting and pathname expansions.

   There are specific cases where the double-quotes may be omitted, but
   until you know what those cases are, it's best to use the quotes
   every time.  This is not one of those cases.

2) echo may interpret the content of TEST as an option (-n or -e), or it
   may interpret backslash sequences inside the content, depending on
   which shell you're using, and which platform you're on.

   The use of echo with variable arguments is therefore strongly
   discouraged.

3) echo usually, but not always, adds an additional newline character to
   the output.  In most cases, this is acceptable, even preferable.  But
   when the OP is complaining of an "extra CR/LF" [sic], but is using
   echo to produce the extra newline himself, well... there you have it.


If you would like to see the contents of a variable in bash, you have
a few viable choices:

1) If you just want to *see* it, as a human being, so that you can verify
   that it appears to be correct, use "declare -p varname".

   unicorn:~$ test=$(:)
   unicorn:~$ declare -p test
   declare -- test=""
   unicorn:~$ test=$(printf '%s\n' foo bar baz)
   unicorn:~$ declare -p test
   declare -- test="foo
   bar
   baz"

   With this output format, you can tell where the newlines are, and
   aren't.  Note that there is no trailing newline, because the command
   substitution has removed it.

   This format does have weaknesses, however.  One of them is CRs.
   If CRs are actually present, then you get this:

   unicorn:~$ test=$(printf '%s\r\n' foo bar baz)
   unicorn:~$ declare -p test
   declare -- test="foo
   bar
   "az

   A person experienced with CRs may spot the telltale sign, but for
   other people, it might be too subtle.

2) If you would like the script to print the content of the variable to
   stdout, with no modifications, so that some other program can read
   it and use it, use this:

   printf %s "$test"

   The double quotes are required.

   The %s format specifier is required, for two reasons:

  a) If the content of the variable begins with - (hyphen), printf
 might interpret it as an option, if it appears as the first
 argument.  But if it's behind the format specifier, it's safe.

  b) If the variable contains % or \ sequences, and it appears as
 the first argument, printf will treat it as a format specifier.

   Therefore you should never use printf "$test" without the %s.

3) If you'd like to see the content in a fully unambiguous way, to debug
   the thing that's producing it, use this:

   printf %s "$test" | hexdump -C

   unicorn:~$ test=$(printf '%s\r\n' foo bar baz)
   unicorn:~$ printf %s "$test" | hexdump -C
     66 6f 6f 0d 0a 62 61 72  0d 0a 62 61 7a 0d|foo..bar..baz.|
   000e

   Here, the CRs (0d) and LFs (0a) are explicitly visible.

   You may substitute your own preferred hexdump variant, if you don't
   like this specific format, or if you don't have access to this
   specific tool.  Debian includes hexdump in bsdextrautils, which is
   a dependency of man-db (which is "important"), so everyone should
   have it.  I include this caveat just in case someone reading this
   (who isn't Jim P) is on a non-Debian system.

   Debian also includes "hd" which is a synonym for "hexdump -C".

   If you need a POSIX-compatible alternative, there's always od:

   unicorn:~$ printf %s "$test" | od -t a -t x1
   000   f   o   o  cr  nl   b   a   r  cr  nl   b   a   z  cr
66  6f  6f  0d  0a  62  61  72  0d  0a  62  61  7a  0d
   016

   The hardest part of using od for this is remembering those options.
   With no options, you get a much less appealing output format.  One
   might even call it useless, at least for this particular application.
   The -Ax or -An option may also be desired, but is less important.



Re: installation partition recommendations

2022-12-11 Thread Andrew M.A. Cater
On Sun, Dec 11, 2022 at 09:38:42AM +, Semih Ozlem wrote:
> Hi everyone I am trying to install debian 11 on a 32 gb usb.
> I created the following partition table
> 
> sdd  8:48   1  28.7G  0 disk
> ├─sdd1   8:49   1 1G  0 part
> ├─sdd2   8:50   1   849M  0 part /media/user/NO_LABEL
> ├─sdd3   8:51   1  26.3G  0 part
> /media/user/2f83ff73-3bde-4021-99db-d6b61863ed8
> └─sdd4   8:52   1   561M  0 part /media/user/NO_LABEL1
> 
> sdd1 is for swap
> sdd2 is for boot
> sdd4 is for /boot/efi
> 
> sdd1 and sdd4 are fat32
> sdd3 is ext4
> 
> the installation finished giving no errors but the system wont boot from
> this usb
> 
> What should be changed

With a machine with 32G in total: I'd be very tempted to:

Use expert mode for the install

Take the default for "everything in one partition" as a guideline - that should
sort out booting with the EFI partition at the beinning. Resize the LVM 
partition to allow for your FAT partition at the end  which I presume is for 
data transfer. 

If this is booting and running entirely from an external USB drive, be aware
that it may be very slow - depending on the speed of the USB.

The reason for "all in one" partitioning is that I have a similar setup on a
physical machine which only has a 32G flash drive internally - unless you have
to, don't second-guess the partitioner when faced with that amount of space.

All the very best, as ever,

Andy Cater 



Re: installation partition recommendations

2022-12-11 Thread Thomas Schmitt
Hi,

Semih Ozlem wrote:
> Hi everyone I am trying to install debian 11 on a 32 gb usb.
> [...]
> the installation finished giving no errors but the system wont boot from
> this usb

How far does booting get ?
- Does EFI offer the USB stick for booting ?
- Does GRUB show up but fail to find the installed Debian system ?

Does the Debian installation ISO boot from USB stick via the involved
USB socket?


Have a nice day :)

Thomas



Bookworm won't route ipv6 requests

2022-12-11 Thread Jason Bigelow

Hello,

I've recently started having network issues on Bookworm. I re-installed 
Debian
and re-upgraded to Bookworm while preserving my /home and /boot 
partitions which
solved the issue of being totally unable to connect, but I have since 
noticed

that I am unable to connected to anything across IPv6, which may be the same
issue resurfacing, just not as badly because the installation has had 
time to

establish IPv4 connections..?

I have what should be a standard IP setup for a system upgraded from 
Bullseye

netinst media to bookworm: no firewalls, no proxies. Just a desktop on an
ordinary residential LAN, connected by ethernet port. I have a WLAN card but
don't use it, I haven't configured it.

I haven't experienced similar issues on Windows and Android devices on the
same LAN, so I'm thinking it's an issue with my Debian Machine.


I can't get any DNS, ICMP or other protocol requests to reach even 
localhost,

let alone my router. I have pretty limited knowledge about networking.
How can I fix the IPv6 configuration on my machine?

$ host 04:92:26:d1:fa:77
Host 04:92:26:d1:fa:77 not found: 3(NXDOMAIN)
$ host -6 04:92:26:d1:fa:77
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; no servers could be reached

$ host -6 foo
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; no servers could be reached

$ dig -6 localhost
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused

Inspecting the network with WireShark while running DNS queries with 
`dig -6`

shows nothing whatsoever.

$ ip addr
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
    inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: enp6s0:  mtu 1500 qdisc fq_codel 
state UP group default qlen 1000

    link/ether 04:92:26:d1:fa:77 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.96/24 brd 10.0.0.255 scope global dynamic noprefixroute 
enp6s0

   valid_lft 50579sec preferred_lft 50579sec
    inet6 2001:8003:234d:a600:d010:41cc:f0bc:48f3/64 scope global 
temporary dynamic

   valid_lft 4127sec preferred_lft 4127sec
    inet6 2001:8003:234d:a600:692:26ff:fed1:fa77/64 scope global 
dynamic mngtmpaddr noprefixroute

   valid_lft 4127sec preferred_lft 4127sec
    inet6 fe80::692:26ff:fed1:fa77/64 scope link noprefixroute
   valid_lft forever preferred_lft forever
3: wlp7s0:  mtu 1500 qdisc mq state 
DOWN group default qlen 1000
    link/ether a2:e1:fa:5c:61:3f brd ff:ff:ff:ff:ff:ff permaddr 
d0:37:45:91:cf:4d


$ cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Select output of lspci:
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE 
PCIe Wireless Network Adapter



Select entries from dpkg-query -l:
ii  avahi-daemon 0.8-6+b1  amd64    Avahi 
mDNS/DNS-SD daemon
ii  bind9-host 1:9.18.8-1    amd64    DNS Lookup 
Utility
ii  bind9-libs:amd64 1:9.18.8-1    amd64    
Shared Libraries used by BIND 9
ii  dns-root-data 2021011101    all  DNS 
root data including root zone and DNSSEC key
ii  dnsmasq-base 2.87-1.1  amd64    Small 
caching DNS proxy and DHCP/TFTP server
ii  glib-networking:amd64 2.74.0-1  amd64    
network-related giomodules for GLib
ii  glib-networking:i386 2.74.0-1  i386 
network-related giomodules for GLib
ii  glib-networking-common 2.74.0-1  
all  network-related giomodules for GLib - data files
ii  glib-networking-services 2.74.0-1  
amd64    network-related giomodules for GLib - D-Bus services
ii  iputils-ping 3:20221126-1  amd64    Tools to 
test the reachability of network hosts
ii  ifupdown 0.8.39+b1 amd64    high level 
tools to configure network interfaces
ii  iproute2 6.0.0-1+b1    amd64    networking 
and traffic control tools
ii  libavahi-core7:amd64 0.8-6+b1  amd64    
Avahi's embeddable mDNS/DNS-SD library
ii  libdns-export1110 1:9.11.19+dfsg-2.1    amd64    
Exported DNS Shared Library
ii  libip4tc2:amd64 1.8.8-1   amd64    
netfilter libip4tc library
ii  libip6tc2:amd64 1.8.8-1   amd64    
netfilter

Re: Debian failed

2022-12-11 Thread hede
On Sun, 11 Dec 2022 04:51:10 +0100 hw  wrote:

> And it works like 97% perfectly fine ...

That's an oxymoron. 

> 
> > Radeon RX 6000 series was released last year. I doubt it was possible to 
> > use one of these with Red Hat Enterprise Linux ootb in the beginning of 
> > this year before RHEL 9 was released. ;-)  
> 
> I don't know, I had NVIDIA cards before and there was never a problem
> with Debian or Fedora or Gentoo being too old for that.

Actually with NVidia it's more typical to have a kernel too new or the card to 
be too old. Or other sources for incompatibility, which emerge from time to 
time.

If you have less problems with NVidia, maybe you should simply stick to NVidia 
then. 

> Last year was at
> least a year ago and Debian still can't use the card?  Seriously? 

With Debian bookworm or sid your card should work. Both are no less Debian than 
bullseye. 

Beyond that, like others already pointed out: Hardware which needs (to get 
fully supported) a kernel version newer than 5.10 won't run perfectly fine with 
Debian "bullseye" 11 by default. But that's also true for all NVidia cards. For 
both of them you need additional sources: For newer AMD cards it's "backports" 
and for NVidia it's "non-free". 

If you have less problems with Fedora, maybe you should simply use Fedora 
instead. 

> It's
> not even some kind of special card (except being way too large) but the
> minimum card you can get away with when you have a 4k display (and has
> only about half the performance or even less of the 1080ti FE I
> surprisingly resurrected.)

I'd expect the RX 6600 XT to be a little below a GTX 1080 ti, with much less 
power usage. But not half the performance. There's probably something wrong 
with your configuration or you're using a workload which favours NVidia. Both 
is possible.

> On top of that, the AMD drivers are open source and in the standard
> kernel and are supposed to work.  It doesn't make any sense. 

Indeed it makes sense if the kernel you use is older than the minimum required. 
Update your kernel and it should work. 

> Who is
> cooperative with their drivers now, NVIDIA or AMD?

AMD (regarding Linux kernel or distribution inclusion)

> 
> Wayland still doesn't work with NVIDIA, but I can live without it for
> now ...

It works fine with AMD and Intel.

hede



Re: nftables transparent proxy for outbound connections on a server

2022-12-11 Thread Christoph Brinkhaus
Am Sun, Dec 11, 2022 at 06:27:53AM + schrieb Andre Rodier:
> Good morning, all.

Good Morning Andre,
> 
> Is there anyone around to help me to setup a transparent proxy on Debian, 
> please ?
> 
> I have tinyproxy running on my server, and I would like, with nftables,
> to intercept any outbound web traffic (tcp ipv4.ipv6),
> and to redirect to the proxy on 127.0.0.1:.
> 
> So far, I have seen these examples online:
> 
> > ...
> > chain prerouting {
> >   type nat hook prerouting priority dstnat; policy accept;
> >   tcp dport { 80, 443 } counter dnat ip to 127.0.0.1:
> >   tcp dport { 80, 443 } counter dnat ip6 to [::1]:
> > }
> > ...
> 
> Or sometimes, I see using redirect or even tproxy

If you want to interecpt encrypted traffic it might be helpful to
study how privoxy is doing that. In the past privoxy has been fine for
filtering http traffic. Nowadays it is extended to https, too. It
needs a self certified key stuff. I have not tried it so far, but it
does decryption of the incomming traffic for filtering and it does
encryption of the filtered traffic to the browser side.
> 
> What is the best nftables approach, please ?
> 
> Can you copy and paste what you are using ?

Unfortunately I have no idea about that approaches.

Kind regards,
Christoph



installation partition recommendations

2022-12-11 Thread Semih Ozlem
Hi everyone I am trying to install debian 11 on a 32 gb usb.
I created the following partition table

sdd  8:48   1  28.7G  0 disk
├─sdd1   8:49   1 1G  0 part
├─sdd2   8:50   1   849M  0 part /media/user/NO_LABEL
├─sdd3   8:51   1  26.3G  0 part
/media/user/2f83ff73-3bde-4021-99db-d6b61863ed8
└─sdd4   8:52   1   561M  0 part /media/user/NO_LABEL1

sdd1 is for swap
sdd2 is for boot
sdd4 is for /boot/efi

sdd1 and sdd4 are fat32
sdd3 is ext4

the installation finished giving no errors but the system wont boot from
this usb

What should be changed