Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Gary Dale

On 2021-09-10 20:51, Gary Dale wrote:

On 2021-09-10 18:32, jeremy ardley wrote:


On 11/09/2021 6:26 am, Jeremy Ardley wrote:


On 11/9/21 5:39 am, Gary Dale wrote:



Does anyone have Thunderbird and Yahoo working together?




I have it running on thunderbird. Both imap and smtp use ssl/tls and 
oauth2


smtp uses port 465 while imap uses port 993

I have some memory getting oauth2 to work may have been a bit of effort.


This may be relevant. You need to remove any stored passwords after 
you apply oauth2 to an account.


https://www.supertechcrew.com/thunderbird-oauth2-gmail/

Jeremy

I've tried that already but I'll give it another go. I actually 
removed all my stored Thunderbird passwords for Yahoo before I 
recreated the account in Thunderbird.


I may have spoke too soon. Got this message "An error occurred while 
sending mail. The mail server responded:  Request failed; Mailbox 
unavailable. Please check the message and try again." when I tried to 
send an e-mail from the account. The only change I made to the settings 
was I set a reply-to...  The message went into my sent folder after I 
cleared the error (for the second time) but it isn't showing up in the 
online (yahoo.com) sent folder but an earlier test message I sent is there.


When I removed the reply-to header, the message went out without 
problems and showed up in the online sent folder as well.


It looks like at least part of my problem aws the use of a reply-to address.

>

Found it. I also needed to remove the smtp server for Yahoo. When 
Thunderbird set up the account, it simply reused the existing 
smtp.mail.yahoo.com server definition. Even when I set that up 
correctly, it wasn't working. However when I deleted it along with the 
pop account, it recreated it from scratch and now it seems to work.


I note that I now have 3 saved passwords for the account:
1) mailbox:// ... for the pop server
2) oauth:// 
3) smtp:// ...

The passwords are all the same - the very long computer generated one.





Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Gary Dale

On 2021-09-10 20:51, Gary Dale wrote:

On 2021-09-10 18:32, jeremy ardley wrote:


On 11/09/2021 6:26 am, Jeremy Ardley wrote:


On 11/9/21 5:39 am, Gary Dale wrote:



Does anyone have Thunderbird and Yahoo working together?




I have it running on thunderbird. Both imap and smtp use ssl/tls and 
oauth2


smtp uses port 465 while imap uses port 993

I have some memory getting oauth2 to work may have been a bit of 
effort.



This may be relevant. You need to remove any stored passwords after 
you apply oauth2 to an account.


https://www.supertechcrew.com/thunderbird-oauth2-gmail/

Jeremy

I've tried that already but I'll give it another go. I actually 
removed all my stored Thunderbird passwords for Yahoo before I 
recreated the account in Thunderbird.



Found it. I also needed to remove the smtp server for Yahoo. When 
Thunderbird set up the account, it simply reused the existing 
smtp.mail.yahoo.com server definition. Even when I set that up 
correctly, it wasn't working. However when I deleted it along with the 
pop account, it recreated it from scratch and now it seems to work.


I note that I now have 3 saved passwords for the account:
1) mailbox:// ... for the pop server
2) oauth:// 
3) smtp:// ...

The passwords are all the same - the very long computer generated one.




Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Gary Dale

On 2021-09-10 18:11, Alexander V. Makartsev wrote:

On 11.09.2021 02:39, Gary Dale wrote:
I've got a Yahoo mail account (among others) that I use for a 
particular purpose. However it's been a while since I've been able to 
send e-mail from it using Yahoo's smtp servers. Instead I've been 
sending e-mail via another smtp server so the "From" address doesn't 
match the login domain. Gmail apparently now considers that to be 
sufficient reason to bounce the e-mail so I've been trying to get 
Thunderbird to use the Yahoo server to send mail for this account.


So far I haven't been able to come up with any combination of 
settings, including removing the account and recreating it in 
Thunderbird, that allow the mail to go through.


The messages I get either complain about the password or tell me "An 
error occurred while sending mail. The mail server responded: Request 
failed; Mailbox unavailable. Please check the message and try again."


Does anyone have Thunderbird and Yahoo working together?



Pretty sure, it's the issue with Yahoo¹ ², nothing to do with Thunderbird.
Yahoo is following the same path as GMail, forcing their users to use 
web browsers as mail clients.
In case of GMail you have to use same generated "app-password" for 
both IMAP and SMTP services.

I guess the same principle will be for Yahoo.


[1] 
https://help.yahoo.com/kb/account/temporary-access-insecure-sln27791.html
[2] 
https://help.yahoo.com/kb/account/generate-manage-third-party-passwords-sln15241.html

--
Yes, I've tried the app passwords without success. As near as I can 
tell, they are just a randomly generated secure password that is linked 
to a particular application as well as the account.




Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Gary Dale

On 2021-09-10 18:26, Jeremy Ardley wrote:


On 11/9/21 5:39 am, Gary Dale wrote:
I've got a Yahoo mail account (among others) that I use for a 
particular purpose. However it's been a while since I've been able to 
send e-mail from it using Yahoo's smtp servers. Instead I've been 
sending e-mail via another smtp server so the "From" address doesn't 
match the login domain. Gmail apparently now considers that to be 
sufficient reason to bounce the e-mail so I've been trying to get 
Thunderbird to use the Yahoo server to send mail for this account.


So far I haven't been able to come up with any combination of 
settings, including removing the account and recreating it in 
Thunderbird, that allow the mail to go through.


The messages I get either complain about the password or tell me "An 
error occurred while sending mail. The mail server responded: Request 
failed; Mailbox unavailable. Please check the message and try again."


Does anyone have Thunderbird and Yahoo working together?




I have it running on thunderbird. Both imap and smtp use ssl/tls and 
oauth2


smtp uses port 465 while imap uses port 993

I have some memory getting oauth2 to work may have been a bit of effort.

I had a similar problem with a Rogers account that stopped working. It's 
one of the reasons I stopped using Rogers... They turned their e-mail 
over to Yahoo and Yahoo doesn't really support e-mail.





Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Gary Dale

On 2021-09-10 18:32, jeremy ardley wrote:


On 11/09/2021 6:26 am, Jeremy Ardley wrote:


On 11/9/21 5:39 am, Gary Dale wrote:



Does anyone have Thunderbird and Yahoo working together?




I have it running on thunderbird. Both imap and smtp use ssl/tls and 
oauth2


smtp uses port 465 while imap uses port 993

I have some memory getting oauth2 to work may have been a bit of effort.


This may be relevant. You need to remove any stored passwords after 
you apply oauth2 to an account.


https://www.supertechcrew.com/thunderbird-oauth2-gmail/

Jeremy

I've tried that already but I'll give it another go. I actually removed 
all my stored Thunderbird passwords for Yahoo before I recreated the 
account in Thunderbird.




gestion des mises à jour

2021-09-10 Thread debian

Bonjour à tous,

Existe-t-il un paquet avec ou sans interface graphique qui permet de 
gérer les mises à jour et qui génère un rapport.


Merci beaucoup.

Alex PADOLY

Re: OT: Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Jeremy Ardley


On 11/9/21 9:48 am, piorunz wrote:

Offtopic:

You sure you want to use Yahoo knowing what are they capable of, or,
what they are not capable of doing, where they should?

https://www.ibtimes.co.uk/yahoo-admits-staff-knew-state-sponsored-hack-2014-1590924 



https://www.cbc.ca/news/science/yahoo-breach-one-billion-state-government-actor-criminals-1.3898586 






Personally I use yahoo as a throw-away account for dodgy sites.

Using gmail you have the problem that google scans all messages and you 
may well get different search results. For instance my son emailed me 
his flight itinerary. Google picked up on that and gave me his details 
when I searched the flight number


Also, using gmail, it's noticeably slower than my own postfix and 
dovecot servers when I connect using my phone remotely. gmail 
authorisation seems to take a very long time.


--
Jeremy



OpenPGP_signature
Description: OpenPGP digital signature


OT: Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread piorunz

Offtopic:

You sure you want to use Yahoo knowing what are they capable of, or,
what they are not capable of doing, where they should?

https://www.ibtimes.co.uk/yahoo-admits-staff-knew-state-sponsored-hack-2014-1590924

https://www.cbc.ca/news/science/yahoo-breach-one-billion-state-government-actor-criminals-1.3898586

On 11/09/2021 01:52, Gary Dale wrote:

On 2021-09-10 18:26, Jeremy Ardley wrote:


On 11/9/21 5:39 am, Gary Dale wrote:

I've got a Yahoo mail account (among others) that I use for a
particular purpose. However it's been a while since I've been able to
send e-mail from it using Yahoo's smtp servers. Instead I've been
sending e-mail via another smtp server so the "From" address doesn't
match the login domain. Gmail apparently now considers that to be
sufficient reason to bounce the e-mail so I've been trying to get
Thunderbird to use the Yahoo server to send mail for this account.

So far I haven't been able to come up with any combination of
settings, including removing the account and recreating it in
Thunderbird, that allow the mail to go through.

The messages I get either complain about the password or tell me "An
error occurred while sending mail. The mail server responded: Request
failed; Mailbox unavailable. Please check the message and try again."

Does anyone have Thunderbird and Yahoo working together?




I have it running on thunderbird. Both imap and smtp use ssl/tls and
oauth2

smtp uses port 465 while imap uses port 993

I have some memory getting oauth2 to work may have been a bit of effort.


I had a similar problem with a Rogers account that stopped working. It's
one of the reasons I stopped using Rogers... They turned their e-mail
over to Yahoo and Yahoo doesn't really support e-mail.





--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Gary Dale
I've got a Yahoo mail account (among others) that I use for a particular 
purpose. However it's been a while since I've been able to send e-mail 
from it using Yahoo's smtp servers. Instead I've been sending e-mail via 
another smtp server so the "From" address doesn't match the login 
domain. Gmail apparently now considers that to be sufficient reason to 
bounce the e-mail so I've been trying to get Thunderbird to use the 
Yahoo server to send mail for this account.


So far I haven't been able to come up with any combination of settings, 
including removing the account and recreating it in Thunderbird, that 
allow the mail to go through.


The messages I get either complain about the password or tell me "An 
error occurred while sending mail. The mail server responded: Request 
failed; Mailbox unavailable. Please check the message and try again."


Does anyone have Thunderbird and Yahoo working together?




Re: Will my reportbug report be seen?

2021-09-10 Thread piorunz

On 11/09/2021 01:25, Steve Dondley wrote:



This may happen in a timely manner, or it may not.  Your best bet at
this point is to wait a few days and see what happens.  If nobody
fixes it up before then, you might consider replying to the bug and
supplying an actual description of the bug.


OK, sounds like a plan. I see in the link I provided that there is a way
to reply. I will wait a few days and give it a shot. Thanks!


Just reply to bug report and write full details now, instead of waiting.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Jeremy Ardley


On 11/9/21 8:51 am, Gary Dale wrote:

On 2021-09-10 18:32, jeremy ardley wrote:


On 11/09/2021 6:26 am, Jeremy Ardley wrote:


On 11/9/21 5:39 am, Gary Dale wrote:



Does anyone have Thunderbird and Yahoo working together?




I have it running on thunderbird. Both imap and smtp use ssl/tls and 
oauth2


smtp uses port 465 while imap uses port 993

I have some memory getting oauth2 to work may have been a bit of 
effort.



This may be relevant. You need to remove any stored passwords after 
you apply oauth2 to an account.


https://www.supertechcrew.com/thunderbird-oauth2-gmail/

Jeremy

I've tried that already but I'll give it another go. I actually 
removed all my stored Thunderbird passwords for Yahoo before I 
recreated the account in Thunderbird.


The other thing that may be relevant is using the full yahoo address as 
the username e.g. joe.b...@yahoo.com rather than joe.blow


--
Jeremy



OpenPGP_signature
Description: OpenPGP digital signature


Re: Will my reportbug report be seen?

2021-09-10 Thread Steve Dondley




This may happen in a timely manner, or it may not.  Your best bet at
this point is to wait a few days and see what happens.  If nobody
fixes it up before then, you might consider replying to the bug and
supplying an actual description of the bug.


OK, sounds like a plan. I see in the link I provided that there is a way 
to reply. I will wait a few days and give it a shot. Thanks!




Re: Will my reportbug report be seen?

2021-09-10 Thread Steve Dondley

On 2021-09-10 08:15 PM, Greg Wooledge wrote:

On Fri, Sep 10, 2021 at 08:10:41PM -0400, Steve Dondley wrote:


> Can I just leave this as is? Or can/should I correct it somehow?

Ok, while I was writing that last email, I got another confirmation:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994068

So I'm probably good?


Someone will probably fix up the metadata.  But this is an extremely
poor bug report.  It has NO useful details at all.

You're basically relying on someone to go click on the URL you put
into the subject, read it, analyze it, figure out what it's talking
about, and then fix up your bug report to be readable.


Yeah, had I known my bug report would be thrown in the subject, I would 
have changed things up a bit.


The link that got thrown in the subject provides all the details, 
however.




Re: Will my reportbug report be seen?

2021-09-10 Thread Greg Wooledge
On Fri, Sep 10, 2021 at 08:10:41PM -0400, Steve Dondley wrote:
> 
> > Can I just leave this as is? Or can/should I correct it somehow?
> 
> Ok, while I was writing that last email, I got another confirmation:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994068
> 
> So I'm probably good?

Someone will probably fix up the metadata.  But this is an extremely
poor bug report.  It has NO useful details at all.

You're basically relying on someone to go click on the URL you put
into the subject, read it, analyze it, figure out what it's talking
about, and then fix up your bug report to be readable.

This may happen in a timely manner, or it may not.  Your best bet at
this point is to wait a few days and see what happens.  If nobody
fixes it up before then, you might consider replying to the bug and
supplying an actual description of the bug.



Re: Will my reportbug report be seen?

2021-09-10 Thread Steve Dondley




Can I just leave this as is? Or can/should I correct it somehow?


Ok, while I was writing that last email, I got another confirmation:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994068

So I'm probably good?



Will my reportbug report be seen?

2021-09-10 Thread Steve Dondley
I used reportbug for the first time. The experience was a little 
confusing.


It appears to have gone through because I got an confirmation email:

Email subject:
1.4.11+dfsg.1-4: Please see issue at github: 
https://github.com/roundcube/roundcubemail/issues/8198


Email body:

Package: 1.4.11+dfsg.1-4
Version: roundcube
Severity: normal

Dear Maintainer,

-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-cloud-amd64 (SMP w/2 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
==

So it looks like I mixed up the version and the package name. I don't 
know how I might correct this or if I need to. And the subject is a 
description of the bug, which seems weird.


Can I just leave this as is? Or can/should I correct it somehow?



Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread jeremy ardley



On 11/09/2021 6:26 am, Jeremy Ardley wrote:


On 11/9/21 5:39 am, Gary Dale wrote:



Does anyone have Thunderbird and Yahoo working together?




I have it running on thunderbird. Both imap and smtp use ssl/tls and 
oauth2


smtp uses port 465 while imap uses port 993

I have some memory getting oauth2 to work may have been a bit of effort.


This may be relevant. You need to remove any stored passwords after you 
apply oauth2 to an account.


https://www.supertechcrew.com/thunderbird-oauth2-gmail/

Jeremy



Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Jeremy Ardley


On 11/9/21 5:39 am, Gary Dale wrote:
I've got a Yahoo mail account (among others) that I use for a 
particular purpose. However it's been a while since I've been able to 
send e-mail from it using Yahoo's smtp servers. Instead I've been 
sending e-mail via another smtp server so the "From" address doesn't 
match the login domain. Gmail apparently now considers that to be 
sufficient reason to bounce the e-mail so I've been trying to get 
Thunderbird to use the Yahoo server to send mail for this account.


So far I haven't been able to come up with any combination of 
settings, including removing the account and recreating it in 
Thunderbird, that allow the mail to go through.


The messages I get either complain about the password or tell me "An 
error occurred while sending mail. The mail server responded: Request 
failed; Mailbox unavailable. Please check the message and try again."


Does anyone have Thunderbird and Yahoo working together?




I have it running on thunderbird. Both imap and smtp use ssl/tls and oauth2

smtp uses port 465 while imap uses port 993

I have some memory getting oauth2 to work may have been a bit of effort.


--
Jeremy



OpenPGP_signature
Description: OpenPGP digital signature


Re: is it possible to send e-mail via Yahoo's smtp servers using Thunderbird (78.13.0)?

2021-09-10 Thread Alexander V. Makartsev

On 11.09.2021 02:39, Gary Dale wrote:
I've got a Yahoo mail account (among others) that I use for a 
particular purpose. However it's been a while since I've been able to 
send e-mail from it using Yahoo's smtp servers. Instead I've been 
sending e-mail via another smtp server so the "From" address doesn't 
match the login domain. Gmail apparently now considers that to be 
sufficient reason to bounce the e-mail so I've been trying to get 
Thunderbird to use the Yahoo server to send mail for this account.


So far I haven't been able to come up with any combination of 
settings, including removing the account and recreating it in 
Thunderbird, that allow the mail to go through.


The messages I get either complain about the password or tell me "An 
error occurred while sending mail. The mail server responded: Request 
failed; Mailbox unavailable. Please check the message and try again."


Does anyone have Thunderbird and Yahoo working together?



Pretty sure, it's the issue with Yahoo¹ ², nothing to do with Thunderbird.
Yahoo is following the same path as GMail, forcing their users to use 
web browsers as mail clients.
In case of GMail you have to use same generated "app-password" for both 
IMAP and SMTP services.

I guess the same principle will be for Yahoo.


[1] 
https://help.yahoo.com/kb/account/temporary-access-insecure-sln27791.html
[2] 
https://help.yahoo.com/kb/account/generate-manage-third-party-passwords-sln15241.html


--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: deprecated options in openssh

2021-09-10 Thread rhkramer
On Friday, September 10, 2021 02:52:42 PM Dan Ritter wrote:
> David Wright wrote:
> > If you make a telephone call on speaker, and you have a tape recorder
> > in the room recording the conversation, the speaker at the other end
> > of the call doesn't need to have permission for their words to be
> > recorded on /your/ tape.
> 
> Please don't consider that analogy true in the real world.
> 
> Various jurisdictions will demand:
> 
> one-party consent: Anyone clearly on the call can consent to
> record all of it
> 
> two-party consent: Everyone on the call must consent or else
> recordings are not legal
> 
> zero-party consent: The NSA, FBI, or vague equivalent will
> record your call without your knowledge
> 
> Other laws might apply, such as the requirement to take calls
> without recording when a party objects, or the requirement to
> delete or redact calls after the fact.

+1



Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread tomas
On Fri, Sep 10, 2021 at 03:01:59PM -0400, rhkra...@gmail.com wrote:
> On Friday, September 10, 2021 05:20:46 AM Pankaj Jangid wrote:
> >  writes:
> > > (I'm just asking, because I've seen this complaint a couple
> > > of times for a well-formed multipart message: personally, I'd
> > > be OK with it, but I'd like to know how the consensus is).
> > 
> > I feel that it is okay now to send we formatted multipart messages. As
> > long as I am getting text parts (well-formatted), I have no problem.
> 
> +1

Yes, but as we have seen, some MUAs seem to do a miserable job when
building the plain text part from the HTML (like forgetting line-ends,
which wreaks havoc in source code). I didn't know that. This reduces
my tolerance for HTML mail even in the multipart case. The problem
there is that the sender is potentially seeing something different
from what the receiver is seeing, depending on the quality of the
sender's MUA.

Not amusing.

So multipart might be OK, but expect people trying to help you to
get very confused.

Cheers
 - t


signature.asc
Description: Digital signature


Re: How to format with stride/stripe_width options during install

2021-09-10 Thread David Christensen

On 9/9/21 11:52 PM, Robert Arkiletian wrote:

On Thu, Sep 9, 2021 at 11:14 AM David Christensen
 wrote:


On 9/8/21 11:07 PM, Robert Arkiletian wrote:

Installing Debian 11 with netinst CD on a server with hardware raid.
Installer has no custom format parameters option for ext4, like stride
and stripe_width. How does one format the raid partitions with these
options during OS installation?



What is the make and model of your server, or motherboard?  Technical
documentation URL?


https://www.supermicro.com/products/motherboard/QPI/5500/X8DTi-LN4F.cfm


The Supermicro X8DTi-LN4F User's Manual, section 1-1 Overview, Onboard 
I/O states:


Intel ICH10R supports six SATA2 ports (with RAID0, RAID1, RAID10, RAID5
supported in the Windows OS Environment) (Note 1)


So, I would forget about motherboard RAID.  If you want to do RAID with 
disks connected to the the motherboard SATA ports, use software RAID via 
Linux md, LVM, btrfs, ZFS, etc..




What is the make and model of your RAID expansion card(s)?  Technical
documentation URL?


Areca arc-1220
https://www.areca.com.tw/chinaweb/products/pcie.htm



The Areca SATA RAID Cards USER Manual Version: 4.1 Issue Date: August, 
2009, section 1.1 Overview, Easy RAID Management states:


"The SATA RAID controller utilizes built-in firmware with an embed-
ded terminal emulation that can access via hot key at M/B BIOS
boot-up screen. This pre-boot manager utility can be used to sim-
plify the setup and management of the RAID controller. The con-
troller firmware also contains a web browser-based program that
can be accessed through the ArcHttp proxy server function in Win-
dows, Linux, FreeBSD and more environments. This web browser-
based McRAID storage manager utility allows both local and remote
creation and modification RAID sets, volume sets, and monitoring
of RAID status from standard web browsers."


Section 3.1 Starting the McBIOS RAID Manager states:

"The McBIOS RAID manager message remains on your screen for
about nine seconds, giving you time to start the configuration
menu by pressing Tab or F6."


I would invoke the McBIOS RAID manager during POST to configure RAID 
volume(s) for the disks that are connected to this card.  Search the 
Areca site, Areac community, STFW in general, etc., for advise on how to 
set up RAID for your number of disks and intended workload.



How many disks do you have, how many RAID's do you want, how many drives 
in each RAID, and what are the intended workloads of each RAID?



After Debian is installed, I would download the Linux Driver/ Utility 
and see what it has to offer (e.g. look for a README, etc.), but I would 
not install it immediately.  Being able to monitor the card from Debian 
is very useful, but I have destabilized systems by downloading and 
compiling/ installing third party software and/or drivers.  I would look 
for an Areca community and search for posts by people using that 
specific card, your specific release of Debian, and that specific 
version of the Driver/ Utility.  Or, join and post a question for same.



David



Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread rhkramer
On Friday, September 10, 2021 08:45:19 AM Joe wrote:
> Sadly, much html comes of of MS software, and takes about ten pages of
> markup to include three text lines.

That may be (or may be a slight exxageration ;-), but in my email client, if I 
get a multipart message, the plain text part is displayed and I see the 3 
lines of text -- I don't see the 10 pages of markup.

Do you see the ~10 pages of markup?

I use an older version of kmail (1.13.7 for kde 4.8.4) and I thought I had to 
set two relevant options, one to choose to display the plain text part of a 
multipart message, and the 2nd (less relevant) to choose to compose emails 
(and replies) in plain text, but, atm, I can't find either of those options.



Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread rhkramer
On Friday, September 10, 2021 05:20:46 AM Pankaj Jangid wrote:
>  writes:
> > (I'm just asking, because I've seen this complaint a couple
> > of times for a well-formed multipart message: personally, I'd
> > be OK with it, but I'd like to know how the consensus is).
> 
> I feel that it is okay now to send we formatted multipart messages. As
> long as I am getting text parts (well-formatted), I have no problem.

+1



Re: deprecated options in openssh

2021-09-10 Thread Dan Ritter
David Wright wrote: 
> On Fri 10 Sep 2021 at 16:05:26 (+0100), Adam Weremczuk wrote:
> 
> > Would it be possible for another host to log to syslog without a prior
> > explicit manual configuration allowing that?
> 
> If you make a telephone call on speaker, and you have a tape recorder
> in the room recording the conversation, the speaker at the other end
> of the call doesn't need to have permission for their words to be
> recorded on /your/ tape.

Please don't consider that analogy true in the real world.

Various jurisdictions will demand:

one-party consent: Anyone clearly on the call can consent to
record all of it

two-party consent: Everyone on the call must consent or else
recordings are not legal

zero-party consent: The NSA, FBI, or vague equivalent will
record your call without your knowledge

Other laws might apply, such as the requirement to take calls
without recording when a party objects, or the requirement to
delete or redact calls after the fact.

-dsr-



Re: xfce terminal tabs

2021-09-10 Thread Russell L. Harris

On Fri, Sep 10, 2021 at 04:32:32AM -0400, Dan Ritter wrote:

Russell L. Harris wrote:



On xfce terminal in Debian 11 I need a separate tab for each
instance of the terminal.



I would like you to read
https://docs.xfce.org/apps/xfce4-terminal/command-line in the section
called "Window or Tab Separators", and then ask a question.


I printed it and read it; thanks for the reference, Dan.  Last night,
I did look at the preferences tab and I did a search, but I did not
immediately spot a solution.  I think I prefer the old system.

RLH



Re: deprecated options in openssh

2021-09-10 Thread Greg Wooledge
On Fri, Sep 10, 2021 at 06:10:59PM +0100, Adam Weremczuk wrote:
> On 10/09/2021 17:46, Greg Wooledge wrote:
> 
> > Depends on which syslog daemon implementation you're using, I think.
> 
> My environment: Linux deb10 5.4.44-1-pve #1 SMP PVE 5.4.44-1 (Fri, 12 Jun
> 2020 08:18:46 +0200) x86_64 GNU/Linux
> 
> Pretty minimalistic set up.
> 
> Rsyslog 8.1901.0-1 out of the box, no customisation at all.

It's not a buster kernel, but that's OK.

That is buster's version of rsyslog, so that checks out.

The top page of /etc/rsyslog.conf has (by default) commented-out lines
like:

# provides UDP syslog reception
#module(load="imudp")
#input(type="imudp" port="514")

# provides TCP syslog reception
#module(load="imtcp")
#input(type="imtcp" port="514")

If these are still commented out on your system, then this mystery just
got a lot more mysterious.

Um...

Is your /var/log directory being shared with any other hosts, in any
way?  NFS, Samba, sshfs, who knows what else.  I'm wondering *WHICH HOST*
is writing these syslog entries to your file.

Hmm...

A piece of your original email says:

Aug 28 10:12:30 deb10 sshd[145]: /etc/ssh/sshd_config line 25: Deprecated 
option UsePrivilegeSeparation

So, it *claims* that it's being written by the host "deb10".  (You're
not reusing this hostname on any other instances, are you?)

I wonder if it's tcpdump time yet.  Try to capture the syslog traffic
from the network, and see where it's coming from?



Re: deprecated options in openssh

2021-09-10 Thread Adam Weremczuk

On 10/09/2021 17:46, Greg Wooledge wrote:


Depends on which syslog daemon implementation you're using, I think.


My environment: Linux deb10 5.4.44-1-pve #1 SMP PVE 5.4.44-1 (Fri, 12 
Jun 2020 08:18:46 +0200) x86_64 GNU/Linux


Pretty minimalistic set up.

Rsyslog 8.1901.0-1 out of the box, no customisation at all.

Not sure what else to say.



Re: deprecated options in openssh

2021-09-10 Thread Adam Weremczuk

On 10/09/2021 17:51, David Wright wrote:


When you commence your call, both you and the person at the other end
probably exchange some pleasantries, which confirm that you're both
who you say you are. These all get recorded too.

Ssh is no different.
Are you saying these entries could belong to an ssh client trying to 
connect as part of ssh handshake?


My messages are stamped 10:12:30 and 10:12:31. I run ntp across all 
hosts on the LAN. In auth.log there are no connection attempts logged 
between 10:10:07 and 10:14:05.


Could syslog also take time stamps from a client?



Re: deprecated options in openssh

2021-09-10 Thread Greg Wooledge
On Fri, Sep 10, 2021 at 01:17:39PM -0400, Greg Wooledge wrote:
> It's not clear which syslogd the OP is using.  It's not even clear to me
> what *operating system* they're using, since their systemctl status output
> has at least one line that mine (bullseye) does not have.

I just checked on a buster system, and buster's output *does* have the
"Process:" line.  Looks like that was removed between buster and bullseye.



Re: deprecated options in openssh

2021-09-10 Thread Greg Wooledge
On Fri, Sep 10, 2021 at 11:51:07AM -0500, David Wright wrote:
> On Fri 10 Sep 2021 at 16:05:26 (+0100), Adam Weremczuk wrote:
> 
> > Would it be possible for another host to log to syslog without a prior
> > explicit manual configuration allowing that?
> 
> If you make a telephone call on speaker, and you have a tape recorder
> in the room recording the conversation, the speaker at the other end
> of the call doesn't need to have permission for their words to be
> recorded on /your/ tape.
> 
> When you commence your call, both you and the person at the other end
> probably exchange some pleasantries, which confirm that you're both
> who you say you are. These all get recorded too.
> 
> Ssh is no different.

This analogy confuses me.  The question is whether syslogd (the listening
process) accepts remote syslog() requests by default.  I'm pretty sure
that some of the syslogd implementations don't.  Maybe some do.

It's not clear which syslogd the OP is using.  It's not even clear to me
what *operating system* they're using, since their systemctl status output
has at least one line that mine (bullseye) does not have.

Also... it's not really important what the defaults are.  What's important
is how syslogd is actually configured on the OP's system.



Re: Firefox unstable

2021-09-10 Thread didier gaumet


hello, :-)

apparemment ce que tu veux c'est un binaire donc ne regarde ni la page
tracker qui mélange plusieurs informations, ni la page du paquet source
mais bien la page du paquet binaire, qui indique que unstable est en
version 88 tandis qu'experimental est en version 92:
https://packages.debian.org/search?keywords=firefox=names=1=all=all




Re: deprecated options in openssh

2021-09-10 Thread David Wright
On Fri 10 Sep 2021 at 16:05:26 (+0100), Adam Weremczuk wrote:

> Would it be possible for another host to log to syslog without a prior
> explicit manual configuration allowing that?

If you make a telephone call on speaker, and you have a tape recorder
in the room recording the conversation, the speaker at the other end
of the call doesn't need to have permission for their words to be
recorded on /your/ tape.

When you commence your call, both you and the person at the other end
probably exchange some pleasantries, which confirm that you're both
who you say you are. These all get recorded too.

Ssh is no different.

Cheers,
David.



Re: deprecated options in openssh

2021-09-10 Thread Greg Wooledge
On Fri, Sep 10, 2021 at 04:05:26PM +0100, Adam Weremczuk wrote:
> Would it be possible for another host to log to syslog without a prior
> explicit manual configuration allowing that?

Depends on which syslog daemon implementation you're using, I think.



Re: Firefox unstable

2021-09-10 Thread Gaëtan Perrier
Bonjour,

Je relance le sujet car je ne comprends toujours pas ce qui se passe.
La page de firefox annonce qu'unstable est en 92 mais seule la 88 est indiquée
par apt ...

A+

Gaëtan

Le jeudi 08 juillet 2021 à 19:30 +0200, Gaëtan Perrier a écrit :
> Bonjour,
> 
> Si je regarde ici:
> https://tracker.debian.org/pkg/firefox
> 
> Je vois que la version est 89.0.2-1 pour unstable.
> 
> Mais sur ma machine 'apt show firefox -a' me montre seulement une version
> 88.0.1-1 !?
> 
> Pourquoi donc ?
> 
> Gaëtan



signature.asc
Description: This is a digitally signed message part


Re: [DEBIAN-BR] halt vs shutdown

2021-09-10 Thread Leandro Guimarães Faria Corcete DUTRA
10 set 2021 9:40 −3, Gilberto F da Silva:
> No Slackware o halt desliga a máquina.

man halt:

‘Note that on many SysV systems halt used to be synonymous
to poweroff, i.e. both commands would equally result in
powering the machine off. systemd is more accurate here, and
halt results in halting the machine only (leaving power on),
and poweroff is required to actually power it off.’


¿Que diz o man do Slackware?


-- 
/¯\
\ / +55 (61) 3546 7191   xmpp:leand...@jabber.org
 X  +55 (61) 99302 2691
/ \ BRAZIL GMT−3 https://useplaintext.email/#why-plaintext




Re: problemas audio Debian 11

2021-09-10 Thread miguel angel gonzalez
Hola a todos,

Gracias por la ayuda, revisando el AlsaMixer vi que picaba en rojo. Al
margen de esto, seguía fallando,
al final en vez de sacar la salida por el hdmi lo saqué directamente por la
salida de la tarjeta de sonido directamente a los altavoces. De esta manera
lo he solucionado.

Un saludo.

El jue, 26 ago 2021 a las 7:39, Camaleón () escribió:

> El 2021-08-25 a las 20:13 +0200, miguel angel gonzalez escribió:
>
> > Llevo un tiempo con Debian 11 y aunque me ocurría en Debian 10 a veces
> > ahora es continuo. Cuando escucho música noto un chisporroteo bastante
> > molesto,
> > con el comando lspci veo que la tarjeta es la siguiente:
> >
> > 00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset
> > Family HD Audio Controller (rev 31)
> >
> > ¿Se os ocurre qué puede pasar? Gracias.
>
> Ni idea :-?
>
> Buscando en Google encontré este informe de fallo para Fedora, quizá te
> sirva o al menos te dé alguna idea de por dónde buscar:
>
> Bug 1525104 - Clicking noise when start or stop sound playing
> https://bugzilla.redhat.com/show_bug.cgi?id=1525104
>
> Saludos,
>
> --
> Camaleón
>
>

-- 
/m.a.


Re: debian bullseye problème numérisation/scanner

2021-09-10 Thread Francois Mescam
J'ai un problème similaire avec une HP ENVY 5030 depuis que j'ai cette 
imprimante (environ 2 ans). Ma version de debian est testing. J'imprime 
et scanne en WIFI, je n'ai pas de connexion filaire avec l'imprimante.


Pour imprimer en général ça marche mais quelquefois ça ne marche plus et 
CUPS indique une erreur que je n'ai pas noté. Après un reboot ça remarche.


Pour scanner, je dois quelquefois m'y reprendre 3 fois avec le message 
"pas de périphérique..." mais ça marche après 1 ou plusieurs essais.


J'ai python3 d'installé.

Francois Mescam

Le 10/09/2021 à 16:07, Gérard Sarram a écrit :

Bonjour,



Mon imprimante : HP ENVY 5330 series (3 en 1) : tout se passait bien 
sous buster


Problème de debian 11 : : Imprimer fonctionne, mais scanner avec xscan 
ou simple-scan :


le système répond :

/i//mpossible de se connecter au périphérique de numérisation/


Après des recherches infructueuses, j’ai installé le paquet 
‘sane-airscan’ qui seul ne résout pas le problème. Ensuite, j’ai 
installé ‘python3’ (qui a entraîné d’autres installations).


Et là, au lancement de xscan ou simple-scan , le périph est trouvé et 
accessible et la numérisation commence.


Mais n’étant pas un spécialiste, je souhaiterais que quelqu’un me 
précise si j’ai bien fait .


J’ai suivi des fils sur internet ‘debian facile’ etc..

Ce qui m’a mis la puce à l’oreille est la commande 
‘system-config-printer’ dans un terminal, car on y voit des lignes 
renseignant :*py:2187: DeprecationWarning: Gdk.threads_leave is 
deprecated*


de py:315 à py:2236….


Donc j’ai installé python3, mais je suis incapable de dire pourquoi çà 
marche.


Merci si quelqu’un s'intéresse au sujet.

gesar








Re: deprecated options in openssh

2021-09-10 Thread Adam Weremczuk

On 10/09/2021 13:11, Greg Wooledge wrote:


Not matching what's in the file:

awk 'NR==25' /etc/ssh/sshd_config

awk 'NR==28' /etc/ssh/sshd_config

awk 'NR==29' /etc/ssh/sshd_config
# Lifetime and size of ephemeral version 1 server key

OK, so "it" is in fact "The warnings in syslog contain line numbers which
do not align with the line numbers of the file that I see"?

Seems harmless enough -- just comment out the offending options wherever
they are, ignoring the line numbers in the warnings.
All these lines have been commented out but, as David Wright pointed 
out, commenting out isn't enough to stop them being the defaults.
Ssh doesn't seem to be reading the local /etc/ssh/sshd_config as the 
line numbers mismatch.

The service hasn't been restarted around that time and the file hasn't been
modified for even longer:

systemctl status ssh.service | grep running
    Active: active (running) since Wed 2021-08-18 17:36:45 UTC; 3 weeks 1
days ago

All right, now we're getting somewhere.

Is it possible that these lines are being remotely syslogged to you from
another host?

It's unfortunate that you omitted most of the systemctl output.  It would
have been nice to see whether PID 145 is actually sshd on this host.  You
could also check by hand, of course:  ps -fp 145   and   ps -ef | grep sshd


PID 145 doesn't match anything that I could identify.

This container:
openssh-server 7.9p1-10+deb10u2

systemctl status ssh.service
* ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Wed 2021-08-18 17:36:45 UTC; 3 weeks 
1 days ago

 Docs: man:sshd(8)
   man:sshd_config(5)
  Process: 137 ExecStartPre=/usr/sbin/sshd -t (code=exited, 
status=0/SUCCESS)

 Main PID: 165 (sshd)
    Tasks: 1 (limit: 4915)
   Memory: 11.1M
   CGroup: /system.slice/ssh.service
   `-165 /usr/sbin/sshd -D

LXC parent:
openssh-server 7.9p1-10+deb10u2

systemctl status sshd.service

● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Wed 2021-08-18 18:31:24 BST; 3 weeks 
1 days ago

 Docs: man:sshd(8)
   man:sshd_config(5)
  Process: 1659 ExecStartPre=/usr/sbin/sshd -t (code=exited, 
status=0/SUCCESS)

 Main PID: 1910 (sshd)
    Tasks: 1 (limit: 4915)
   Memory: 34.3M
   CGroup: /system.slice/ssh.service
   └─1910 /usr/sbin/sshd -D


You might also want to double-check "journalctl -u ssh" against the
contents of the syslog file.  As far as I know, the systemd journal
cannot accept input from a foreign host, so it should always show
info that comes from services running on localhost.

None of the deprecated options can be found in journalctl:

journalctl -u ssh | grep UsePrivilegeSeparation
journalctl -u ssh | grep KeyRegenerationInterval
etc.

There is actually a gap when the warnings are logged:

Aug 28 10:10:22 deb10 sshd[16443]: Did not receive identification string 
from...

Aug 28 10:14:05 deb10 sshd[16444]: Connection from...

The mysterious warnings arrive in 2 waves at:

Aug 28 10:12:30
Aug 28 10:12:31

Would it be possible for another host to log to syslog without a prior 
explicit manual configuration allowing that?




Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread Curt
On 2021-09-10, Charles Curley  wrote:

> (I also think that if one must use colors, emphasis, etc. as part of
> one's writing, then one is not a very good writer. On the other
> tentacle, one should not expect good writing from nerds.)
>

I think there was at least one book--or article or series of articles or
maybe even a whole *period* (it was a *style*)--where Tom Wolfe (not the
one who went home but found he actually couldn't but the other one)
repeatedly used multiple exclamation points at the end of sentences (as
well as italics frequently for emphasis).  Maybe the exception that
proves your rule.



Re: How to improve my question in stackoverflow?

2021-09-10 Thread Joe
On Fri, 10 Sep 2021 16:17:29 +0200
 wrote:

> On Fri, Sep 10, 2021 at 07:32:28AM -0400, Greg Wooledge wrote:

> 
> > The absolute worst thing you can do is send HTML (with or without
> > text) and then act all arrogant and haughty [...]  
> 
> Agreed. Arrogant and haughty is almost always wrong :-D
>

Unless they are very rich, in which case they are merely eccentric.

-- 
Joe



debian bullseye problème numérisation/scanner

2021-09-10 Thread Gérard Sarram
Bonjour,

Mon imprimante : HP ENVY 5330 series (3 en 1) : tout se passait bien sous
buster

Problème de debian 11 : : Imprimer fonctionne, mais scanner avec xscan ou
simple-scan :

le système répond :

*i**mpossible de se connecter au périphérique de numérisation*


Après des recherches infructueuses, j’ai installé le paquet ‘sane-airscan’
qui seul ne résout pas le problème. Ensuite, j’ai installé ‘python3’ (qui a
entraîné d’autres installations).

Et là, au lancement de xscan ou simple-scan , le périph est trouvé et
accessible et la numérisation commence.

Mais n’étant pas un spécialiste, je souhaiterais que quelqu’un me précise
si j’ai bien fait .

J’ai suivi des fils sur internet ‘debian facile’ etc..

Ce qui m’a mis la puce à l’oreille est la commande ‘system-config-printer’
dans un terminal, car on y voit des lignes renseignant :* py:2187:
DeprecationWarning: Gdk.threads_leave is deprecated*

de py:315 à py:2236….


Donc j’ai installé python3, mais je suis incapable de dire pourquoi çà
marche.

Merci si quelqu’un s'intéresse au sujet.

gesar


Re: How to improve my question in stackoverflow?

2021-09-10 Thread tomas
On Fri, Sep 10, 2021 at 07:32:28AM -0400, Greg Wooledge wrote:
> On Fri, Sep 10, 2021 at 08:41:02AM +0200, to...@tuxteam.de wrote:
> > The original mail was a passable MIME multipart/alternative
> > with a plain text part. I /think/ that is OK, what do others
> > think?
> 
> See below.
> 
> On Fri, Sep 10, 2021 at 08:25:05AM +0200, to...@tuxteam.de wrote:
> > On Thu, Sep 09, 2021 at 04:27:01PM -0600, William Torrez Corea wrote:
> > > *Book.cpp*
> > > 
> > > #include #include #include #include #include
> > > #include using namespace std;
> > 
> > The line above looks very strange [...]

> What's broken, I'm almost certain, is that this mega-line was
> generated by a malformed HTML to text conversion.

Yes, confirmed upthread, thanks.

> In the general case, sure, it's not *terrible* if someone sends
> multi-part text + HTML messages to the mailing list.  But this breaks
> down in some cases, and causes the text part of the message to be
> mangled.  Sometimes the readers will be able to discern this, and
> figure out what the text was supposed to look like.  Other times, we
> cannot.
> 
> So, the *best* thing to do would be to send plain text only.

Definitely. This case is just evidence to that.

> The absolute worst thing you can do is send HTML (with or without text)
> and then act all arrogant and haughty [...]

Agreed. Arrogant and haughty is almost always wrong :-D

Cheers
 - t


signature.asc
Description: Digital signature


Re: How to improve my question in stackoverflow?

2021-09-10 Thread tomas
On Fri, Sep 10, 2021 at 02:16:31PM +0300, IL Ka wrote:
> >
> >
> > Moreover, the included things are files, and by convention they
> > have a suffix ".h", for "header". I'd expect the above to look
> > rather like
> >
> >   #include 

[...]

> This is true for C, but not for C++.
> 
> With C++ headers could be files or not, so you shouldn't add ".h".
> 
> 
> The problem is probably "set" written as "Set": C++ is case sensitive.

Thanks. For me, a nice way to learn C++ ;-)

Cheers
 - t


signature.asc
Description: Digital signature


Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread tomas
On Fri, Sep 10, 2021 at 11:41:55AM +0200, Linux-Fan wrote:
> to...@tuxteam.de writes:

[...]

> Additionally, in this C++ question thread, the source code was given
> in HTML and text parts of the e-mail and while the `#include`
> statements were all on separate lines in the HTML, they appear as
> one long line in the text part.

So definitely one downside of posting HTML and hoping the mailer
comes up with a reasonable representation as text (I fell for it).

> Btw.: For C++ STL components such as `set` or `string` it is
> perfectly fine to not append a `.h`. In fact, it would seem not to
> be standards compliant to append the `.h`, cf.
> https://stackoverflow.com/questions/15680190

Thanks; Il Ka says the same downthread. I warned that I have
very little clue on C++. The problem seems to be that the
#include-d stuff is case-sensitive (i.e. "Set" instead of "set").

I defer to the C++ buffs here :)

Cheers
 - t


signature.asc
Description: Digital signature


Re: deprecated options in openssh

2021-09-10 Thread David Wright
On Fri 10 Sep 2021 at 08:11:02 (-0400), Greg Wooledge wrote:
> On Fri, Sep 10, 2021 at 10:33:47AM +0100, Adam Weremczuk wrote:

> > Weeks later it happened again and I'm not any less puzzled:
> 
> All right, now we're getting somewhere.
> 
> Is it possible that these lines are being remotely syslogged to you from
> another host?

… as I suggested Aug 16¹, and I haven't changed my view. In fact, the
OP stated that they were running openssh 7.9p1-10+deb10u2 on Debian 10.10,
but the objectionable configuration options as defaults were last seen
in stretch, and even jessie (KeyRegenerationInterval and ServerKeyBits).

Presumably, this other host is contacted "maybe 2-3 times per month",
hence the frequency of being logged by logwatch.

¹
https://lists.debian.org/debian-user/2021/08/msg00882.html

Cheers,
David.



Re: Remmina et commande distante

2021-09-10 Thread Christian Quentin
-c permet de définir le chiffrage de la connexion. Pas sûr que ce soit
ce que tu cherches à faire.
Le vendredi 10 septembre 2021 à 14:18 +0200, David Martin a écrit :
> Le ven. 10 sept. 2021 à 11:25, Christian Quentin <
> christian.quen...@architecte-du-web.com> a écrit :
> > Bonjour David,
> > 
> > Dans la version 1.4.20 de Remmina, tu as accès au paramétrage d'un
> > Tunnel SSH (ta machine de rebond).
> > Tu peux le paramétrer pour chacune des machines cibles à atteindre.
> > Ça devrait faire le boulot.
> > 
> > Christian
> 
> Christian,
> 
> J'ai un problème meme en ligne de commande : 
> 
> ssh root@machine1 -c 'sh /usr/local/bin/conscribe'
> 
> Unknown cipher type '/usr/local/bin/conscribe.sh'
> 
> je regarde ça
> 
> 
> 
> -- 
> david martin
> 


Re: Re: shim_init error for debian-live-11.0.0-amd64-kde.iso

2021-09-10 Thread Bernd Speiser

Thomas,
thanks for these links. I guess the two mailing lists will be the ones 
to go for.

Best regards
Bernd



Re: Re: shim_init error for debian-live-11.0.0-amd64-kde.iso

2021-09-10 Thread Bernd Speiser

Andy,
thanks for the suggestions.
I had tried the GParted image before. In fact, using their image first 
brought up the boot error in my case and the GParted developers pointed 
me to debian, as this is their underlying system.
I have now also tried to boot with "secure boot option" enabled, but the 
outcome is the same.

So, unfortunately, no luck with these.
Since - as I stated in the original post - a similar problem occured in 
the openSUSE installation medium (and could be resolved there), I guess 
it is quite obvious that it has to do with the combination of firmware 
and the non-modified boot code.

Best regards
Bernd




[DEBIAN-BR] halt vs shutdown

2021-09-10 Thread Gilberto F da Silva
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Sep 08, 2021 at 05:33:02PM -0300, Guimarães Faria Corcete DUTRA, 
Leandro wrote:
>Il giorno mer 8 set 2021 alle ore 16:03 Vitor Hugo
> ha scritto:
>>
>> Boa tarde, o halt seria hibernar a maquina?
>
>Não.  Como disse, é a mesma coisa que os outros, mas sem desligar a
>máquina.  Ou seja, encerra o sistema operacional, mas deixa a máquina
>ligada.  Não vejo muita utilidade, na minha ignorância.

  Shutdown é uma palavra muito comprida para quando você
  morrendo de sono e só quer desligar a máquina para ir
  dormir. No Slackware o halt desliga a máquina.
- -- 

Stela dato:2.459.468,023  Loka tempo:2021-09-10 09:33:35 Vendredo 
- -==-
"O livre arbítrio na realidade não é livre, pois é uma coação você só 
pode escolher dois caminhos, um é bom e outro é ruim. Livre arbítrio 
mesmo é poder escolher muitos caminhos, todos bons".
-- Perrone
-BEGIN PGP SIGNATURE-
Comment: +-+
Comment: !   Gilberto F da Silva - ICQ 136.782.571 !
Comment: +-+

iF0EARECAB0WIQR6BybJIKBLy3+8xXcnG6Ba0yEbDgUCYTtSKAAKCRAnG6Ba0yEb
Dp+TAKCUn7jAbgIj1zQLBEKlAOerSR9IGgCg7LaJa6lo9rbuF5oeOiblnHNtdfg=
=AQy4
-END PGP SIGNATURE-



Re: How to format with stride/stripe_width options during install

2021-09-10 Thread Nicholas Geovanis
On Fri, Sep 10, 2021, 1:31 AM Robert Arkiletian  wrote:

> On Thu, Sep 9, 2021 at 12:28 AM IL Ka  wrote:
> >>
> ...
>
> >
> > With full DVD installer in "Advanced Options -> Expert install" after
> "Load installer components" you can open the second console (ALT+F2) and
> run ``mkfs`` manually with any option you like
> > Not sure if it works with netinst.
> >
>
> Thank you, I tested in a VM and I was successful with the netinst cd.
> Was able to partition and format manually in a second console after
> "Load installer components" but importantly before "Detect disks",
> then when one gets to "Partitioning" you have the option to NOT format
> the partitions, but one can still set mount points, etc..  which is
> what I wanted.
>

I've encountered this part of the "workflow" before and found it
non-intuitive. And I've worked at businesses where it's used as one excuse
to choose hardware RAID (Dell PERC say) or md drivers for RAID. Then the
folly is revealed :-) and they just go to full virtualisation. At cost.

>


Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread Joe
On Fri, 10 Sep 2021 06:15:12 -0600
Charles Curley  wrote:

> On Fri, 10 Sep 2021 08:41:02 +0200
>  wrote:
> 
> > (I'm just asking, because I've seen this complaint a couple
> > of times for a well-formed multipart message: personally, I'd
> > be OK with it, but I'd like to know how the consensus is).  
> 
> I think it has problems. One case is where the author composes in
> HTML, and uses colors, emphasis, etc. to make his points, and those
> are stripped out of the plain text version, thereby distorting the
> author's intent.
> 
> (I also think that if one must use colors, emphasis, etc. as part of
> one's writing, then one is not a very good writer. On the other
> tentacle, one should not expect good writing from nerds.)
> 

Do it in DTP and attach it, if you must. I decide whether to read it.

Sadly, much html comes of of MS software, and takes about ten pages of
markup to include three text lines.

-- 
Joe



Re: Remmina et commande distante

2021-09-10 Thread Bernard Schoenacker


- Mail original - 

> De: "David Martin" 
> À: "Christian Quentin" 
> Cc: "debian-user-french@lists.debian.org French"
> 
> Envoyé: Vendredi 10 Septembre 2021 14:18:58
> Objet: Re: Remmina et commande distante

> Le ven. 10 sept. 2021 à 11:25, Christian Quentin <
> christian.quen...@architecte-du-web.com > a écrit :

> Christian,

> J'ai un problème meme en ligne de commande :

> ssh root@machine1 -c 'sh /usr/local/bin/conscribe'

> Unknown cipher type '/usr/local/bin/conscribe.sh'

> je regarde ça

> --

> david martin

Bonjour,

Le melon est-il trop gros chez certains ?

En tout cas voici un tutoriel d'explication :

https://memo-linux.com/ssh-acces-travail-maison/

Merci

@+
Bernard



Re: Remmina et commande distante

2021-09-10 Thread David Martin
Le ven. 10 sept. 2021 à 11:25, Christian Quentin <
christian.quen...@architecte-du-web.com> a écrit :

> Bonjour David,
>
> Dans la version 1.4.20 de Remmina, tu as accès au paramétrage d'un Tunnel
> SSH (ta machine de rebond).
> Tu peux le paramétrer pour chacune des machines cibles à atteindre.
> Ça devrait faire le boulot.
>
> Christian
>

Christian,

J'ai un problème meme en ligne de commande :

ssh root@machine1 -c 'sh /usr/local/bin/conscribe'

Unknown cipher type '/usr/local/bin/conscribe.sh'

je regarde ça


-- 
david martin


Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread Charles Curley
On Fri, 10 Sep 2021 08:41:02 +0200
 wrote:

> (I'm just asking, because I've seen this complaint a couple
> of times for a well-formed multipart message: personally, I'd
> be OK with it, but I'd like to know how the consensus is).

I think it has problems. One case is where the author composes in HTML,
and uses colors, emphasis, etc. to make his points, and those are
stripped out of the plain text version, thereby distorting the author's
intent.

(I also think that if one must use colors, emphasis, etc. as part of
one's writing, then one is not a very good writer. On the other
tentacle, one should not expect good writing from nerds.)

-- 
Does anybody read signatures any more?

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


pgpeXzpsQRpDP.pgp
Description: OpenPGP digital signature


Re: deprecated options in openssh

2021-09-10 Thread Greg Wooledge
On Fri, Sep 10, 2021 at 10:33:47AM +0100, Adam Weremczuk wrote:
> Weeks later it happened again and I'm not any less puzzled:

What's "it"?

> /var/log/syslog
> 
> Aug 28 10:12:30 deb10 sshd[145]: /etc/ssh/sshd_config line 25: Deprecated
> option UsePrivilegeSeparation

Fine, just comment out the offending lines

> Not matching what's in the file:
> 
> awk 'NR==25' /etc/ssh/sshd_config
> 
> awk 'NR==28' /etc/ssh/sshd_config
> 
> awk 'NR==29' /etc/ssh/sshd_config
> # Lifetime and size of ephemeral version 1 server key

OK, so "it" is in fact "The warnings in syslog contain line numbers which
do not align with the line numbers of the file that I see"?

Seems harmless enough -- just comment out the offending options wherever
they are, ignoring the line numbers in the warnings.

> The service hasn't been restarted around that time and the file hasn't been
> modified for even longer:
> 
> systemctl status ssh.service | grep running
>    Active: active (running) since Wed 2021-08-18 17:36:45 UTC; 3 weeks 1
> days ago

All right, now we're getting somewhere.

Is it possible that these lines are being remotely syslogged to you from
another host?

It's unfortunate that you omitted most of the systemctl output.  It would
have been nice to see whether PID 145 is actually sshd on this host.  You
could also check by hand, of course:  ps -fp 145   and   ps -ef | grep sshd

You might also want to double-check "journalctl -u ssh" against the
contents of the syslog file.  As far as I know, the systemd journal
cannot accept input from a foreign host, so it should always show
info that comes from services running on localhost.



Re: How to improve my question in stackoverflow?

2021-09-10 Thread Greg Wooledge
On Fri, Sep 10, 2021 at 08:41:02AM +0200, to...@tuxteam.de wrote:
> The original mail was a passable MIME multipart/alternative
> with a plain text part. I /think/ that is OK, what do others
> think?

See below.

On Fri, Sep 10, 2021 at 08:25:05AM +0200, to...@tuxteam.de wrote:
> On Thu, Sep 09, 2021 at 04:27:01PM -0600, William Torrez Corea wrote:
> > *Book.cpp*
> > 
> > #include #include #include #include #include
> > #include using namespace std;
> 
> The line above looks very strange. Usually there is one #include
> directive per line. Something seems broken with your "book".

What's broken, I'm almost certain, is that this mega-line was
generated by a malformed HTML to text conversion.

In the general case, sure, it's not *terrible* if someone sends
multi-part text + HTML messages to the mailing list.  But this breaks
down in some cases, and causes the text part of the message to be
mangled.  Sometimes the readers will be able to discern this, and
figure out what the text was supposed to look like.  Other times, we
cannot.

So, the *best* thing to do would be to send plain text only.

The second best thing is to send mixed text and HTML, and try your
hardest to apply whatever heuristics and hacks you can think of to
make the text part as readable as possible.

The second-worst thing you can do is to send HTML only.

The absolute worst thing you can do is send HTML (with or without text)
and then act all arrogant and haughty, demanding that the entire
mailing list community conform to your personal whims.  (William did
not do this, as far as I know, but there was a recent poster who did.)



Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread Joe
On Fri, 10 Sep 2021 14:50:46 +0530
Pankaj Jangid  wrote:

>  writes:
> 
> > (I'm just asking, because I've seen this complaint a couple
> > of times for a well-formed multipart message: personally, I'd
> > be OK with it, but I'd like to know how the consensus is).  
> 
> I feel that it is okay now to send we formatted multipart messages. As



> long as I am getting text parts (well-formatted), I have no problem.
> 
I think that's the problem. I get many commercial emails that contain
text but are spread out so I have to scroll several pages to read about
ten lines, of which three have useful content. Also, hyperlinks are
usually absent, so if I want to see one (I don't use links in emails
from strangers) I need to pick through the html to find it.

-- 
Joe



Re: How to improve my question in stackoverflow?

2021-09-10 Thread IL Ka
>
>
> Moreover, the included things are files, and by convention they
> have a suffix ".h", for "header". I'd expect the above to look
> rather like
>
>   #include 
>   #include 
>   #include 
>   #include 
>   #include 
>   #include 
>

This is true for C, but not for C++.

With C++ headers could be files or not, so you shouldn't add ".h".


The problem is probably "set" written as "Set": C++ is case sensitive.




>


Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread Jonathan Dowland

On Fri, Sep 10, 2021 at 08:41:02AM +0200, to...@tuxteam.de wrote:

The original mail was a passable MIME multipart/alternative
with a plain text part. I /think/ that is OK, what do others
think?


I think that's perfectly reasonable. There /can/ be good reasons
for people to include a HTML part, including for reasons of
accessibility. As long as a legible text alternative is supplied,
I do not think it's reasonable to object to a HTML alternative.


--
Please do not CC me for listmail.

  Jonathan Dowland
✎j...@debian.org
   https://jmtd.net



Re: deprecated options in openssh

2021-09-10 Thread Adam Weremczuk

Hi all,

Weeks later it happened again and I'm not any less puzzled:

/var/log/syslog

Aug 28 10:12:30 deb10 sshd[145]: /etc/ssh/sshd_config line 25: 
Deprecated option UsePrivilegeSeparation
Aug 28 10:12:30 deb10 sshd[145]: /etc/ssh/sshd_config line 28: 
Deprecated option KeyRegenerationInterval
Aug 28 10:12:30 deb10 sshd[145]: /etc/ssh/sshd_config line 29: 
Deprecated option ServerKeyBits
Aug 28 10:12:30 deb10 sshd[145]: /etc/ssh/sshd_config line 49: 
Deprecated option RSAAuthentication
Aug 28 10:12:30 deb10 sshd[145]: /etc/ssh/sshd_config line 57: 
Deprecated option RhostsRSAAuthentication
Aug 28 10:12:31 deb10 sshd[207]: /etc/ssh/sshd_config line 25: 
Deprecated option UsePrivilegeSeparation
Aug 28 10:12:31 deb10 sshd[207]: /etc/ssh/sshd_config line 28: 
Deprecated option KeyRegenerationInterval
Aug 28 10:12:31 deb10 sshd[207]: /etc/ssh/sshd_config line 29: 
Deprecated option ServerKeyBits
Aug 28 10:12:31 deb10 sshd[207]: /etc/ssh/sshd_config line 49: 
Deprecated option RSAAuthentication
Aug 28 10:12:31 deb10 sshd[207]: /etc/ssh/sshd_config line 57: 
Deprecated option RhostsRSAAuthentication


Not matching what's in the file:

awk 'NR==25' /etc/ssh/sshd_config

awk 'NR==28' /etc/ssh/sshd_config

awk 'NR==29' /etc/ssh/sshd_config
# Lifetime and size of ephemeral version 1 server key

etc.

The service hasn't been restarted around that time and the file hasn't 
been modified for even longer:


systemctl status ssh.service | grep running
   Active: active (running) since Wed 2021-08-18 17:36:45 UTC; 3 weeks 
1 days ago


stat /etc/ssh/sshd_config
  File: /etc/ssh/sshd_config
  Size: 3864    Blocks: 9  IO Block: 4096 regular file
Device: 34h/52d Inode: 94834   Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/ root)
Access: 2021-09-10 06:48:08.449310637 +
Modify: 2021-07-06 07:15:34.222154544 +
Change: 2021-07-06 07:15:34.222154544 +
 Birth: -

This is a Proxmox LXC container and I thought that maybe the syslog 
entries were for some reason referring to the master host, but not!


awk 'NR==25' /etc/ssh/sshd_config
# Logging
awk 'NR==28' /etc/ssh/sshd_config

awk 'NR==29' /etc/ssh/sshd_config
# Authentication:

What's going on here? :)

Regards,
Adam

On 16/08/2021 18:27, David Wright wrote:

On Mon 16 Aug 2021 at 16:49:16 (+0100), Adam Weremczuk wrote:

Installation and configuration was straightforward:

sudo apt install logwatch

/etc/cron.daily/00logwatch
#execute
/usr/sbin/logwatch --detail low --mailto x...@domain.com

The master config file /usr/share/logwatch/default.conf/logwatch.conf
left with defaults.

Only one report per day arrives. Same as for the other dozen of Debian
(mostly older) machines it's installed on and which don't show this
issue.

I presume logwatch is watching your logs, so the first place to check
is the actual logs themselves.

My guess (it's no more than that) is that one of the other dozen
machines that you occasionally log into has a slightly different
configuration from this one, perhaps older, with options that are
now considered less secure (but no extra lines inserted).

The options that are commented out in each machine's config file are
the defaults being used by the server, so they /are/ in force.
When you connect to a remote machine's server, I'm assuming it gets
told what the remote's options are, and it's remonstrating about them.
(The fact that options are commented will be irrelevant, therefore.)

Note that I may have all this in reverse: the remote machine could be
complaining about yours, and sending you the log by email. So, as I say,
the first step is to find the log entries that logwatch has watched for.

Cheers,
David.





Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread Linux-Fan

to...@tuxteam.de writes:


On Thu, Sep 09, 2021 at 07:45:43PM -0400, Jim Popovitch wrote:

[...]

> First, most folks on tech mailinglists despise HTML email.

The original mail was a passable MIME multipart/alternative
with a plain text part. I /think/ that is OK, what do others
think?


Postel's principle applies, hence: OK :)


Perhaps you can teach you mailer to pick the text part for
you :-)

(I'm just asking, because I've seen this complaint a couple
of times for a well-formed multipart message: personally, I'd
be OK with it, but I'd like to know how the consensus is).


My mail client of choice (cone, not in Debian anymore) seems to prefer  
displaying the HTML part by default. It does this by converting it to a  
almost-text-only presentation retaining some things like bold and underline.  
It gets a little annoying with URLs because it displays link target and  
label which often leads to the same URL being displayed twice in the  
terminal.


AFAIK I cannot configure it to prefer the text version, but I have not  
checked that part of the source code to see how difficult it might be to  
implement such a choice. I can view both variants of the mail content on a  
case-by-case basis by opening them explicitly. This even works from inside  
the MUA, nice feature :) .


For my usage, it is easiest to have text-only e-mails because those always  
display nicely by default.


Additionally, in this C++ question thread, the source code was given in HTML  
and text parts of the e-mail and while the `#include` statements were all on  
separate lines in the HTML, they appear as one long line in the text part.  
IMHO it causes unnecessary confusion to have two slightly differently  
displayed parts of the same mail especially for questions with source code :)


Btw.: For C++ STL components such as `set` or `string` it is perfectly fine  
to not append a `.h`. In fact, it would seem not to be standards compliant  
to append the `.h`, cf. https://stackoverflow.com/questions/15680190


YMMV
Linux-Fan

öö


pgp8MUSLxC_NJ.pgp
Description: PGP signature


Re: HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread Pankaj Jangid
 writes:

> (I'm just asking, because I've seen this complaint a couple
> of times for a well-formed multipart message: personally, I'd
> be OK with it, but I'd like to know how the consensus is).

I feel that it is okay now to send we formatted multipart messages. As
long as I am getting text parts (well-formatted), I have no problem.

-- 
Regards ~Pankaj



Re: Remmina et commande distante

2021-09-10 Thread Christian Quentin
Bonjour David,
Dans la version 1.4.20 de Remmina, tu as accès au paramétrage d'un
Tunnel SSH (ta machine de rebond).Tu peux le paramétrer pour chacune
des machines cibles à atteindre.Ça devrait faire le boulot.
Christian
Le mardi 07 septembre 2021 à 10:27 +0200, David Martin a écrit :
> Bonjour,J'utilise remmina pour me connecter aux différents serveurs
> de mon boulot.
> J'ai une machine de rebond ou je me connecte en ssh pour rebondir
> sur 
> d'autre machine en ssh.
> 
> Du coup je me suis créer des petits scripts : 
> exemple :
> #!/bin/bash
> ssh toto@lamachine
> 
> j'ai donc /root/.connect/lamachine, /root/.connect/lamachine2 etc
> j'ai évidement déployé les clés depuis le serveur ou je rebondit
> Par contre je n'arrive pas avec rémina à lancer
> /root/.connect/lamachine et les autres 
> J'ai testé sh /root/.connect/lamachine dans pré-commande dans les
> paramètres de connextion d'une nouvelle connexion et dans post-
> commande, ca ne veut pas.
> Ai-je oublié quelque chose ?
> 
> --
>   
> david martin
> 


Re: xfce terminal tabs

2021-09-10 Thread Dan Ritter
Russell L. Harris wrote: 
> On xfce terminal in Debian 11 I need a separate tab for each instance
> of the terminal.

I would like you to read 
https://docs.xfce.org/apps/xfce4-terminal/command-line
in the section called "Window or Tab Separators", and
then ask a question.

-dsr-



xfce terminal tabs

2021-09-10 Thread Russell L. Harris

On xfce terminal in Debian 11 I need a separate tab for each instance
of the terminal.

--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: How to format with stride/stripe_width options during install

2021-09-10 Thread Robert Arkiletian
On Thu, Sep 9, 2021 at 11:24 AM Michael Stone  wrote:
>
> On Wed, Sep 08, 2021 at 11:07:06PM -0700, Robert Arkiletian wrote:
> >Installing Debian 11 with netinst CD on a server with hardware raid.
> >Installer has no custom format parameters option for ext4, like stride
> >and stripe_width. How does one format the raid partitions with these
> >options during OS installation?
>
> In general they aren't necessary these days, as the parameters can be
> obtained from the hardware automatically. If the hardware doesn't
> support that, it probably isn't a situation where setting it manually
> will matter.
>

The hardware is very old so I don't think the OS knows that I'm using
raid 10 with 6 spinning sata disks.



Re: How to format with stride/stripe_width options during install

2021-09-10 Thread Robert Arkiletian
On Thu, Sep 9, 2021 at 11:14 AM David Christensen
 wrote:
>
> On 9/8/21 11:07 PM, Robert Arkiletian wrote:
> > Installing Debian 11 with netinst CD on a server with hardware raid.
> > Installer has no custom format parameters option for ext4, like stride
> > and stripe_width. How does one format the raid partitions with these
> > options during OS installation?
>
>
> What is the make and model of your server, or motherboard?  Technical
> documentation URL?

https://www.supermicro.com/products/motherboard/QPI/5500/X8DTi-LN4F.cfm

>
>
> What is the make and model of your RAID expansion card(s)?  Technical
> documentation URL?

Areca arc-1220
https://www.areca.com.tw/chinaweb/products/pcie.htm



HTML mail [was: How to improve my question in stackoverflow?]

2021-09-10 Thread tomas
On Thu, Sep 09, 2021 at 07:45:43PM -0400, Jim Popovitch wrote:

[...]

> First, most folks on tech mailinglists despise HTML email.

The original mail was a passable MIME multipart/alternative
with a plain text part. I /think/ that is OK, what do others
think?

Perhaps you can teach you mailer to pick the text part for
you :-)

(I'm just asking, because I've seen this complaint a couple
of times for a well-formed multipart message: personally, I'd
be OK with it, but I'd like to know how the consensus is).

Cheers
 - t


signature.asc
Description: Digital signature


Re: How to format with stride/stripe_width options during install

2021-09-10 Thread Robert Arkiletian
On Thu, Sep 9, 2021 at 12:28 AM IL Ka  wrote:
>>
...

>
> With full DVD installer in "Advanced Options -> Expert install" after "Load 
> installer components" you can open the second console (ALT+F2) and run 
> ``mkfs`` manually with any option you like
> Not sure if it works with netinst.
>

Thank you, I tested in a VM and I was successful with the netinst cd.
Was able to partition and format manually in a second console after
"Load installer components" but importantly before "Detect disks",
then when one gets to "Partitioning" you have the option to NOT format
the partitions, but one can still set mount points, etc..  which is
what I wanted.



Re: How to improve my question in stackoverflow?

2021-09-10 Thread tomas
On Thu, Sep 09, 2021 at 04:27:01PM -0600, William Torrez Corea wrote:
> Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio
> [closed]
> 
> I trying compile an example of a book.

William,

[DISCLAIMER: I'm not a C++ expert by any measure. I do passably
well with C. For example, I don't know whether the C++ #include
directive has some extensions wrt the C one. Please, consult a C++
expert]

this is not a C++ mailing list. You might be luckier elsewhere.

That said...

> The program use three classes: Book, Customer and Library.

... your problem doesn't seem to come from "classes"

> *Book.cpp*
> 
> #include #include #include #include #include
> #include using namespace std;

The line above looks very strange. Usually there is one #include
directive per line. Something seems broken with your "book".

Moreover, the included things are files, and by convention they
have a suffix ".h", for "header". I'd expect the above to look
rather like

  #include 
  #include 
  #include 
  #include 
  #include 
  #include 

(NOTE: they start at the very beginning of the line: indentation
here is for readability).

Or something similar. Plus, you'd have to adapt your compiler options
for it to actually find those files: quoting them between "<...>" will
direct it to look into /usr/include. A "/usr/include/string.h" does
exist (most of the time ;-), but typically no "/usr/include/set.h", so
you'll have to adapt the compiler call (via the -I option). If your
book doesn't explain this, it is very broken indeed. I'd look for
another book :-)

Likewise, I'd expect that last thing:

  using namespace std;

to appear in a line of itself.

[...]

> g++ -g -Wall  Book.cpp book.h -o book
> 
> The result expected is bad.
> 
> Book.cpp:1:10: fatal error: Set: No existe el fichero o el directorio

Another suggestion: when posting on international mailing
lists, set your locale to something with English error
messages (for example, do "export LANG=C"). Most people
won't be able to understand Spanish error messages.

When asking for help, it helps helping others to help you :)

>  #include 
>   ^
> compilation terminated.

What this is telling you is that the compiler has looked into
all what it considers to be system directories and hasn't found
a file named like this. Probably not surprising. The code you
showed looks suspicious anyway, as stated above.

> This example was tested from another compiler. The library is not
> recognized.
> 
> *The book is C++17 By Example, published by Packt.*

If your book doesn't tell you (at least roughly) how to talk
to your C++ compiler, I'd suggest looking for another book :)

To direct your compiler to look at some other include directories,
you use the -I option, as stated above. To see where your compiler
is searching for includes, you can do `gcc -xc++ -E -v -' (note: if
it is plain C you are interested in, it would be `gcc -xc -E -v -').

Cheers
 - t


signature.asc
Description: Digital signature