Matériel et système pour faire tourner des VM en HA/haute disponibilité ?

2024-06-13 Thread RogerT
Bonjour,

J’ai besoin de faire tourner des VM linux et win de manière fiable et avec de 
la haute disponibilité , c’est-à-dire avec la redondance, du failover, etc.
Pour permettre à plusieurs utilisateurs de s’y connecter en 
RDP/ssh/x2go/VNCviewer.

Je pourrais choisir une « bonne tour » d’un constructeur et y faire du RAID et 
y mettre une deuxième carte réseau. 

Mais je Je pense que cela revient tout simplement à vouloir disposer d’un 
serveur. 

Et je ne suis pas compétent pour choisir un serveur/matériel.

J’ai étudié un peu Proxmox et compris qu’à moins d’être un expert il vaut mieux 
demander du support à Proxmox !

J’avais envisagé un synology mais renoncé car il y a beaucoup de limitations 
censées être apporter de la sécurité, et c’est un debian qui a perdu sa 
liberté. 

Quelle configuration matérielle faut-il envisager ? Pour 2/5/10 VM. 

Quelle configuration système/logicielle faut-il choisir ?

Merci. 
Bonne journée. 



Re: Copy from xterm to text editor........ [solved]

2024-06-13 Thread Eike Lantzsch ZP5CGE / KY4PZ
On Thursday, 13 June 2024 07:27:47 -04 Greg Wooledge wrote:
> On Thu, Jun 13, 2024 at 03:42:27PM +1000, Charlie wrote:
> > For completeness. Had tried right and left at same time on touchpad
> > of laptop. As it worked years ago.
>
> Pressing left+right buttons simultaneously was indeed one of the hacks
> that people used to mimic the middle button in some X11 setups.  I
> haven't seen that in practice in quite some time.  I think people
> mostly stopped implementing it, because two-button mice (without
> scroll wheels) fell out of the market.
>
> > Didn't think the touchpad had a middle button. Don't know why?
>
> I forgot about laptops with touchpads.  Unfortunately, this is not
> an area that I've had to research, so I don't know what the current X
> and Wayland implementations do to emulate three-button mice.  Maybe
> someone else knows, or maybe you can find some modern-day
> documentation about it on the Internet.

Dear Greg,

on my TUXEDO Laptop the touchpad is configurable.
e.g. middle mouse button == tap with two fingers
or like I opted for 'tap harder onto the lower right corner' of the
touchpad.

just my 2 cents
and thanks because I learned a lot from your posts!
Kind regards
Eike

[rest skipped]





Re: systemd-tmpfiles: file globbing?

2024-06-13 Thread Greg Wooledge
On Thu, Jun 13, 2024 at 12:00:25PM +0200, Frank Van Damme wrote:
> Is there a way to apply max lifetimes to files matching a pattern? I can't
> find any way to tell it to, say, remove *.txt files older than a month from
> /tmp/foo.

If you're willing to turn away from systemd, find(1) can do this.

find /tmp/foo -type f -iname '*.txt' -mtime +31 -delete



Wireshark Sid

2024-06-13 Thread MERLIN Philippe
Bonjour,
Es ce que quelq'un de la liste sait pourquoi les dernières mises à jour de 
Debian Sid veulent enlever le logiciel Wireshark ?
J'ai cherché dans les Bugs Wireshark sans succès.
Philippe Merlin





Re: Copy from xterm to text editor........ [solved]

2024-06-13 Thread Greg Wooledge
On Thu, Jun 13, 2024 at 03:42:27PM +1000, Charlie wrote:
> For completeness. Had tried right and left at same time on touchpad of
> laptop. As it worked years ago.

Pressing left+right buttons simultaneously was indeed one of the hacks
that people used to mimic the middle button in some X11 setups.  I haven't
seen that in practice in quite some time.  I think people mostly stopped
implementing it, because two-button mice (without scroll wheels) fell
out of the market.

> Didn't think the touchpad had a middle button. Don't know why?

I forgot about laptops with touchpads.  Unfortunately, this is not
an area that I've had to research, so I don't know what the current X
and Wayland implementations do to emulate three-button mice.  Maybe
someone else knows, or maybe you can find some modern-day documentation
about it on the Internet.

> This works on a Dell Vostro laptop.
> 
> Highlight the text in xterm with the left of the touchpad.
> Cursor in highlighted text, press bottom middle of touchpad.
> 
> This alters the block highlight. By pressing the middle of the
> bottom of the touchpad: highlights only the lines in xterm.
> 
> Go to text editor, in my instance: Kate. Place cursor where to paste.
> Dialogue box comes up. Select paste and it does that.
> 
> Doesn't work in LyX but if placed in text editor Kate first, can be
> copied Ctrl+C, then in LyX, Ctrl+V.

Since you mention xterm, you might want to read the xterm(1) man page
and what it has to say about SELECT/PASTE and specifically what it
says about the selectToClipboard option.  Apparently you can configure
xterm so that what you highlight with the mouse goes into the clipboard
instead of the selection.  Then, you could paste it with Shift-Insert
in another application, probably.

I haven't tried that myself.

Another thing you could try (this one, I actually tested):

1) Install the xclip package.
2) Highlight (select) the text with the left button.
3) Run this command, anywhere in your X session:
   xclip -o -selection primary | xclip -i -selection clipboard
4) Focus to the target application by clicking/mouse-moving.
5) Press Shift-Insert to paste the clipboard.

Step 3 copies the highlighted text from the selection to the clipboard,
and step 5 pastes from the clipboard.  This works in a large number of
programs, including xterm, rxvt-unicode, and Google Chrome.

If you find this useful, you will probably want to shorten step 3.
You could set up a shell alias that runs this, or a shell key binding
that runs it, or a Window Manager key binding that runs it, or any
other clever thing you can come up with.



systemd-tmpfiles: file globbing?

2024-06-13 Thread Frank Van Damme
systemd-tmpfiles-clean will watch directories and periodically purge old
contents.

eg
d /var/cache/man 0755 man man 1w

will delete files older than a week from /var/cache/man

Is there a way to apply max lifetimes to files matching a pattern? I can't
find any way to tell it to, say, remove *.txt files older than a month from
/tmp/foo.


-- 
Frank Van Damme
Make everything as simple as possible, but not simpler. - Albert Einstein


Re: Wireshark Sid

2024-06-13 Thread Jean-Marc

Le 13/06/24 à 11:55, MERLIN Philippe a écrit :

Bonjour,
Es ce que quelq'un de la liste sait pourquoi les dernières mises à jour de
Debian Sid veulent enlever le logiciel Wireshark ?
J'ai cherché dans les Bugs Wireshark sans succès.


Problème de dépendance, je suppose.

Tu mets à jour avec un "apt full-upgrade" ?

Essaie un simple "apt upgrade".


Philippe Merlin


--
Jean-Marc


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: can't connect to server from outside LAN

2024-06-13 Thread Jeffrey Walton
On Wed, Jun 12, 2024 at 10:33 PM Greg Marks  wrote:
>
> I'm running a Debian server from my home with a static IP address,
> with ssh configured to use key-based authentication rather than
> password-based.  As of a couple weeks ago, I have been unable to ssh to
> my server from external locations.  When I ssh from a laptop connected
> to the wireless network on the same router as my home server, I do
> successfully connect to the server.  But when I ssh from an external
> location, I get this error:
>
>[...]
> The problem began a couple weeks ago; previously (and for many years)
> I had been able to ssh to my server without issue.  The first time it
> failed, I was using free wireless at an airport; I was able to ssh to my
> server from the hotel that morning, and maybe, the first time I tried,
> from the airport, but then subsequent ssh attempts from the airport
> failed to connect.  I mention this only because nothing had changed in
> my server's configuration when this problem began.
>
> This is a real problem for me, as a lot of my work involves sending
> files via scp between work and home.  Any suggestions about how to
> troubleshoot and hopefully fix the problem will be greatly appreciated.

In the past, I experienced similar breakages. In my case, my ISP
(Verizon) provided router updates that blew away my router config. So
I lost port forwarding to my internal servers.

I personally don't make port 22 available at the router. Instead, I
use port 1522 (first server), port 1523 (second server), etc. Then
port 1522 is forwarded to the first server on port 22, port 1523 is
forwarded to the second server on port 22, etc.

Jeff



Re: systemrescuecd -- a bit off Debian topics

2024-06-13 Thread Jeff Peng

Hi

You can use gitlab issues to submit the question.

https://gitlab.com/systemrescue/systemrescue-sources/-/issues

regards.


Does anybody know how to contact systemrescuece developers? Their web
page https://www.system-rescue.org/ doesn't have a "contact" or
"forum" button.

My brother has impaired vision. He uses KDE Plasma because he can make
the tool bar large. But I haven't found a way to make the toolbar
large when I boot systemrescuecd. I think the window manager is xfce.
Can the tool bar be made larger? If not, and you have contact with the
systemrescuecd developers, please aske them to provide a way to make
the toolbar and icons larger, for vision-impaired users.

Van Snyder




Re: Copy from xterm to text editor........ [solved]

2024-06-13 Thread Keith Bainbridge
Just a note

Some terminal emulators don't automatically copy highlighted text.  You need to 
copy it manually before moving to the target file

It's so long since I've tolerated such terminals I'm not sure but try 
ctrl-alt-c 

Else, right click with the mouse pointer outside of highlighted text and choose 
copy
-- 
All the best

Keith Bainbridge

keithr...@gmail.com
+61 (0)447 667 468

UTC+ 10:00

From my Aphone 

On 13 June 2024 3:42:27 pm AEST, Charlie  wrote:
>On Wed, 12 Jun 2024 22:56:34 -0400
>Greg Wooledge  wrote:
>
>> On Thu, Jun 13, 2024 at 12:16:00PM +1000, Charlie wrote:
>> > Cannot recall what version of Debian stopped copying text in xterm
>> > by Ctrl + C or Shift + Ctrl + C  So don't know how to copy from
>> > xterm
>> 
>> xterm is a terminal emulator.  Pressing Ctrl-C in a terminal emulator
>> simply passes a byte (0x03) to the application running inside the
>> terminal, which is usually a shell.  But they're interpreted by the
>> terminal driver layer first.  The stty command allows you to see or
>> change the bindings of control characters by the terminal driver.
>> 
>> Ctrl-C is usually bound to the 'intr' facility in the terminal driver.
>> Pressing it in a terminal sends the interrupt signal (SIGINT) to all
>> running foreground processes.  It does not copy text.  That's a
>> Windows thing, and you are not in Windows.
>> 
>> > Unable to paste  from xterm into a text editor using Ctrl + V or
>> > Shift
>> > + Ctrl + V
>> 
>> Pressing Ctrl-V in a terminal emulator sends a byte (0x16) to the
>> application.  At the terminal driver layer, Ctrl-V is usually bound
>> to the 'lnext' facility (literal next).  It's like an escape sequence
>> for keys.  The next key you press *after* Ctrl-V will lose its special
>> meaning, and will just be passed along verbatim.
>> 
>> For example, if you press Ctrl-V Ctrl-C, it won't interrupt foreground
>> processes.  Instead, it will simply pass the literal 0x03 byte to the
>> application.  It becomes data.
>> 
>> hobbit:~$ printf ^C | hd
>>   03|.|
>> 0001
>> 
>> The ^C there is where I pressed Ctrl-V Ctrl-C.
>> 
>> Now, all of that is just background information.
>> 
>> What you wanted to know, I guess, is "how to copy text between
>> terminals".
>> 
>> The first step is to highlight the text with the left mouse button.
>> Drag the mouse over the text while holding the left button.  This
>> creates a "selection" containing the text you've selected.
>> 
>> Next, click on the window that you want to paste the text *into*.  You
>> need this window to have "focus".  Depending on your window manager,
>> clicking may not actually be needed.  Some WMs use "focus follows
>> mouse", which means the mouse pointer simply has to be inside the
>> window.  Others use "click to focus" which means you have to click.
>> 
>> Once you've focused on the receiving window, press the middle mouse
>> button to paste the selection into the second window.
>> 
>> (X11 uses three-button mice.  Everything is designed around this.)
>> 
>> If your mouse is too new or too Microsoft-tainted to have three
>> buttons, then things get tricky.
>> 
>> If your mouse is literally an old PS/2 style two-button mouse from the
>> 1980s, you might be in real trouble.  There are hacks to try to mimic
>> the middle button in other ways, but you'll have to read documentation
>> to learn how to invoke them.
>> 
>> Let's assume that's not the case.
>> 
>> If your mouse has two buttons plus a scroll wheel, you might be able
>> to press the scroll wheel to act as the middle button.  Doing this
>> without also *turning* the scroll wheel takes practice.  It can be
>> done, at least sometimes.
>> 
>> So, that's how you copy and paste text between windows in X11.  You
>> select with the left button, and paste with the middle button.
>> 
>> Obviously the world can't be that simple.  While X11 was developing
>> this interface around three-button mice, Microsoft was building a
>> different interface around two-button mice.
>> 
>> In the Microsoft paradigm, you copy by highlighting the text you want
>> to copy, and then performing a second step.  That step might be
>> right-clicking a menu and selecting "Copy".  Or it might be pressing
>> Ctrl-C (but not in a terminal emulator).  Once you've performed this
>> copy operation, the text is in a "clipboard", which is separate from
>> the "selection".
>> 
>> Pasting text from the clipboard into a new window under the Microsoft
>> paradigm is done by pressing Shift-Insert.  (Or by right-clicking a
>> menu and selecting Paste, or by pressing Ctrl-V in some programs, but
>> not in terminal emulators.)
>> 
>> Some programs that you run on Debian may use the Windows paradigm and
>> put data into the clipboard instead of the selection.  For those
>> things, you can try Shift-Insert instead of the middle button.  It's
>> just another thing you might need to know/use.
>> 
>> Good luck.
>
>   Thank you to everyone 

Re: descargar versiones anteriores

2024-06-13 Thread Camaleón
El 2024-06-12 a las 18:01 +, Juan Carlos Rebate escribió:

> El 12/6/24 a las 6:48, Camaleón escribió:
> > El 2024-06-12 a las 03:36 +0200, Juaan Carrlos Rebate escribió:
> > 
> > > Disculpad por el HTML, envío el correo desde Windows y no hay forma de
> > > eliminar el formato.
> > ¿?
> > 
> > Se llama «formato texto plano», todos los clientes lo tienen, hasta los
> > malogrados webmail.
> > 
> > > Fernando, gracias por tu respuesta pero te comento
> > > que ni jigdo-file ni lite están en los repos
> > (...)
> > 
> > El paquete estar, está:
> > 
> > https://packages.debian.org/bullseye/jigdo-file
> > https://tracker.debian.org/pkg/jigdo
> > 
> > sm01@stt008:~$ apt-cache search jigdo-file
> > jigdo-file - Download Debian CD/DVD/USB images from any Debian mirror
> > 
> > sm01@stt008:~$ uname -a
> > Linux stt008 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64 
> > GNU/Linux
> > 
> > Revisa tu configuración y repositorios.
> > 
> he cambiado a thunderbird. si, sé como se llama, pero en windows no uso
> webmail, sino la app outlook, y no tiene opciones para eliminar el formato
> (o las tiene desactivadas como muchas de word). 

El problema no es tanto el formato html¹ sino el indentado y la cita, 
que se pierden por completo cuando respondes al mensaje generado por 
algunos de correo que no respetan el sistema anidado de las listas, y 
eso ya cuesta más de subsanar.

Además, las normas de esta lista emplazan a enviar los mensajes en formato 
texto >:-)

Uso de las listas de correo
https://wiki.debian.org/es/NormasLista

Respecto al texto plano en clientes Outlook (nube/webmail, app, 
escritorio...), independientemente de la aplicaicón usada, normalmente 
siempre hay una opción que te permite configurar el mensje en formato 
texto plano:

How to Send a Plain-Text Message in Outlook
https://www.lifewire.com/outlook-plain-text-message-1165895

> pues ni idea, en los repos
> no parece estar o no parece localizarlos, pero bajamdo las fuentes funciona.
> ya pude bajar los tres primeros DVD

Como te han comentado, revisa tu archivo sources.list, algo debes tener 
mal por ahí. Este es el de mi sistema principal con Debian 11:


sm01@stt008:~$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 11.4.0 _Bullseye_ - Official amd64 NETINST 
20220709-10:31]/ bullseye main

#deb cdrom:[Debian GNU/Linux 11.4.0 _Bullseye_ - Official amd64 NETINST 
20220709-10:31]/ bullseye main

deb http://deb.debian.org/debian/ bullseye main non-free contrib
# deb-src http://deb.debian.org/debian/ bullseye main non-free contrib

deb http://security.debian.org/debian-security bullseye-security main contrib 
non-free
# deb-src http://security.debian.org/debian-security bullseye-security main 
contrib non-free

# bullseye-updates, to get updates before a point release is made;
# see 
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
# deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
# deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

 
Saludos,

¹Quienes usamos lectores de correo en terminal sólo vemos una morcilla 
de código html, el mensaje se pierde entre la maraña de etiquetas 
, aunque afortundamente clientes como Mutt permiten cargar 
en el navegador la página y al menos, el cuerpo del mensaje se renderiza
bien.


-- 
Camaleón 



Re: systemctl vs service

2024-06-13 Thread Jeff Peng

On 2024-06-13 08:38, Greg Wooledge wrote:



If all you want to do is stop and restart a service, they're both fine.
If you want more features, it's worth learning systemctl.


that's all right. I will check the doc of systemctl for more details. 
thanks.




Re: Predictable network device names [was: Please help me identify package so I can report an important bug

2024-06-13 Thread tomas
On Thu, Jun 13, 2024 at 06:59:49AM +0200, Kamil Jońca wrote:
> to...@tuxteam.de writes:

[...]

> > and of course, if you are using a desktop environment and NetworkManager
> > or systemd-networkd, it's probably better to go with the flow and let
> > them do.
> 
> About year ago none of them was able to handle my config.
> (Some interfaces used by vms , and proper snat for them.)

I've supported those only for pretty bog standard setups. Mainly end users
who have to cope with longer stretches without local friendly hackers.

I don't believe they are useful for special situations or knowledgeable
users.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Copy from xterm to text editor........ [solved]

2024-06-13 Thread Charlie
On Wed, 12 Jun 2024 22:56:34 -0400
Greg Wooledge  wrote:

> On Thu, Jun 13, 2024 at 12:16:00PM +1000, Charlie wrote:
> > Cannot recall what version of Debian stopped copying text in xterm
> > by Ctrl + C or Shift + Ctrl + C  So don't know how to copy from
> > xterm
> 
> xterm is a terminal emulator.  Pressing Ctrl-C in a terminal emulator
> simply passes a byte (0x03) to the application running inside the
> terminal, which is usually a shell.  But they're interpreted by the
> terminal driver layer first.  The stty command allows you to see or
> change the bindings of control characters by the terminal driver.
> 
> Ctrl-C is usually bound to the 'intr' facility in the terminal driver.
> Pressing it in a terminal sends the interrupt signal (SIGINT) to all
> running foreground processes.  It does not copy text.  That's a
> Windows thing, and you are not in Windows.
> 
> > Unable to paste  from xterm into a text editor using Ctrl + V or
> > Shift
> > + Ctrl + V
> 
> Pressing Ctrl-V in a terminal emulator sends a byte (0x16) to the
> application.  At the terminal driver layer, Ctrl-V is usually bound
> to the 'lnext' facility (literal next).  It's like an escape sequence
> for keys.  The next key you press *after* Ctrl-V will lose its special
> meaning, and will just be passed along verbatim.
> 
> For example, if you press Ctrl-V Ctrl-C, it won't interrupt foreground
> processes.  Instead, it will simply pass the literal 0x03 byte to the
> application.  It becomes data.
> 
> hobbit:~$ printf ^C | hd
>   03|.|
> 0001
> 
> The ^C there is where I pressed Ctrl-V Ctrl-C.
> 
> Now, all of that is just background information.
> 
> What you wanted to know, I guess, is "how to copy text between
> terminals".
> 
> The first step is to highlight the text with the left mouse button.
> Drag the mouse over the text while holding the left button.  This
> creates a "selection" containing the text you've selected.
> 
> Next, click on the window that you want to paste the text *into*.  You
> need this window to have "focus".  Depending on your window manager,
> clicking may not actually be needed.  Some WMs use "focus follows
> mouse", which means the mouse pointer simply has to be inside the
> window.  Others use "click to focus" which means you have to click.
> 
> Once you've focused on the receiving window, press the middle mouse
> button to paste the selection into the second window.
> 
> (X11 uses three-button mice.  Everything is designed around this.)
> 
> If your mouse is too new or too Microsoft-tainted to have three
> buttons, then things get tricky.
> 
> If your mouse is literally an old PS/2 style two-button mouse from the
> 1980s, you might be in real trouble.  There are hacks to try to mimic
> the middle button in other ways, but you'll have to read documentation
> to learn how to invoke them.
> 
> Let's assume that's not the case.
> 
> If your mouse has two buttons plus a scroll wheel, you might be able
> to press the scroll wheel to act as the middle button.  Doing this
> without also *turning* the scroll wheel takes practice.  It can be
> done, at least sometimes.
> 
> So, that's how you copy and paste text between windows in X11.  You
> select with the left button, and paste with the middle button.
> 
> Obviously the world can't be that simple.  While X11 was developing
> this interface around three-button mice, Microsoft was building a
> different interface around two-button mice.
> 
> In the Microsoft paradigm, you copy by highlighting the text you want
> to copy, and then performing a second step.  That step might be
> right-clicking a menu and selecting "Copy".  Or it might be pressing
> Ctrl-C (but not in a terminal emulator).  Once you've performed this
> copy operation, the text is in a "clipboard", which is separate from
> the "selection".
> 
> Pasting text from the clipboard into a new window under the Microsoft
> paradigm is done by pressing Shift-Insert.  (Or by right-clicking a
> menu and selecting Paste, or by pressing Ctrl-V in some programs, but
> not in terminal emulators.)
> 
> Some programs that you run on Debian may use the Windows paradigm and
> put data into the clipboard instead of the selection.  For those
> things, you can try Shift-Insert instead of the middle button.  It's
> just another thing you might need to know/use.
> 
> Good luck.

Thank you to everyone who replied, it is much appreciated. Thank
you Greg, for your comprehensive explanation and good wishes. I
can usually muddle through and discover what I need. Couldn't on
this for too long.

For completeness. Had tried right and left at same time on touchpad of
laptop. As it worked years ago.

Didn't think the touchpad had a middle button. Don't know why?

This works on a Dell Vostro laptop.

Highlight the text in xterm with the left of the touchpad.
Cursor in highlighted text, press bottom middle of touchpad.

This alters the block 

Re: Predictable network device names [was: Please help me identify package so I can report an important bug

2024-06-12 Thread Kamil Jońca
to...@tuxteam.de writes:

> On Thu, Jun 13, 2024 at 06:30:27AM +0200, to...@tuxteam.de wrote:
>
> [following up on myself, bad style, I know]
>
>> For my laptop, I very much prefer to say "sudo ifup eth0" than to
>> say "sudo ifup en0ps&&@*#!☠" thankyouverymuch :)
>
> and of course, if you are using a desktop environment and NetworkManager
> or systemd-networkd, it's probably better to go with the flow and let
> them do.

About year ago none of them was able to handle my config.
(Some interfaces used by vms , and proper snat for them.)


KJ

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



Predictable network device names [was: Please help me identify package so I can report an important bug

2024-06-12 Thread tomas
On Thu, Jun 13, 2024 at 06:30:27AM +0200, to...@tuxteam.de wrote:

[following up on myself, bad style, I know]

> For my laptop, I very much prefer to say "sudo ifup eth0" than to
> say "sudo ifup en0ps&&@*#!☠" thankyouverymuch :)

and of course, if you are using a desktop environment and NetworkManager
or systemd-networkd, it's probably better to go with the flow and let
them do.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Please help me identify package so I can report an important bug

2024-06-12 Thread tomas
On Wed, Jun 12, 2024 at 03:16:41PM -0400, Greg Wooledge wrote:
> On Wed, Jun 12, 2024 at 09:01:44PM +0200, to...@tuxteam.de wrote:

[...]

> > Mine loks like this:
> > 
> >   GRUB_CMDLINE_LINUX_DEFAULT="quiet net.ifnames=0"
> 
> People who are thinking of doing this should take a moment to consider
> whether it will be better or worse than the default.

Absolutely. I did, and I decided that in my case, this is the better
choice...

> For a machine that has exactly one ethernet interface, this is a vast
> improvement over the default.  Your interface will always be named
> "eth0" no matter what crazy things happen on the PCI bus.

...but it's not always, as you say.

> For a machine with multiple interfaces, however, the original problem
> that "predictable interface names" were supposed to solve is still an
> issue.  The kernel may not assign the names in the same order every
> time you boot.  In that situation, "net.ifnames=0" is not likely to
> be an improvement.  You'd be better off using systemd.link(5) files to
> customize your interface names according to your own specific needs.

I think PCI is not the worst offender. The worst is if you have a bunch
of adapters hanging off an USB tree. Then, as they say, God does play
dice :-)

Back Then (TM) (I think it was a Debian 3.x aka Sarge), a bunch of
us cobbled a "router thingy" together on some off-the-shelf hardware.
It had four Ethernets hanging off whatever PC bus was fashionable
back then (too lazy to look it up).

Not many of those were sold, luckily :-)

One was for "the bad Internet", the other three for "the inside".
Our big fear was that, after a BIOS upgrade the interfaces would
come up in a mangled order. That would have been a good application
of this scheme (provided it works at all: I'm somewhat sceptic.
Hardware and firmware are known to do... things).

We ended up going by the card's MAC addresses, at the price of
having a set up step on assembly. But then, if you change one
Ethernet card...

Alas, you can't do it right.

For my laptop, I very much prefer to say "sudo ifup eth0" than to
say "sudo ifup en0ps&&@*#!☠" thankyouverymuch :)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Copy from xterm to text editor........

2024-06-12 Thread Charles Curley
On Thu, 13 Jun 2024 12:16:00 +1000
Charlie  wrote:

> I[s] there is a
> way to do it at all?

Yes. Use Mouse-1 (typically the left-hand mouse button) to swipe the
text you want to copy from the xterm. Go to the recipient program, and
use Mouse-2 (typically the middle button on the mouse) to paste.

Note that this is very temporary storage. It will not put the text in
the clipboard, nor will a clipboard stack program like clipman see it.

Ctl-c, ctl-v, etc. (CUA shortcuts) are Microsoft/IBM isms and not native
to Unix or Linux, so older programs like xterm may or may not support
them.

-- 
Does anybody read signatures any more?

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



Re: Copy from xterm to text editor........

2024-06-12 Thread Aleix Piulachs
I believe you can to change the options of xterm editor and set up others..

El El jue, 13 jun 2024 a las 4:56, Greg Wooledge 
escribió:

> On Thu, Jun 13, 2024 at 12:16:00PM +1000, Charlie wrote:
> > Cannot recall what version of Debian stopped copying text in xterm by
> > Ctrl + C or Shift + Ctrl + C  So don't know how to copy from xterm
>
> xterm is a terminal emulator.  Pressing Ctrl-C in a terminal emulator
> simply passes a byte (0x03) to the application running inside the
> terminal, which is usually a shell.  But they're interpreted by the
> terminal driver layer first.  The stty command allows you to see or
> change the bindings of control characters by the terminal driver.
>
> Ctrl-C is usually bound to the 'intr' facility in the terminal driver.
> Pressing it in a terminal sends the interrupt signal (SIGINT) to all
> running foreground processes.  It does not copy text.  That's a Windows
> thing, and you are not in Windows.
>
> > Unable to paste  from xterm into a text editor using Ctrl + V or Shift
> > + Ctrl + V
>
> Pressing Ctrl-V in a terminal emulator sends a byte (0x16) to the
> application.  At the terminal driver layer, Ctrl-V is usually bound
> to the 'lnext' facility (literal next).  It's like an escape sequence
> for keys.  The next key you press *after* Ctrl-V will lose its special
> meaning, and will just be passed along verbatim.
>
> For example, if you press Ctrl-V Ctrl-C, it won't interrupt foreground
> processes.  Instead, it will simply pass the literal 0x03 byte to the
> application.  It becomes data.
>
> hobbit:~$ printf ^C | hd
>   03|.|
> 0001
>
> The ^C there is where I pressed Ctrl-V Ctrl-C.
>
> Now, all of that is just background information.
>
> What you wanted to know, I guess, is "how to copy text between terminals".
>
> The first step is to highlight the text with the left mouse button.  Drag
> the mouse over the text while holding the left button.  This creates
> a "selection" containing the text you've selected.
>
> Next, click on the window that you want to paste the text *into*.  You
> need this window to have "focus".  Depending on your window manager,
> clicking may not actually be needed.  Some WMs use "focus follows mouse",
> which means the mouse pointer simply has to be inside the window.  Others
> use "click to focus" which means you have to click.
>
> Once you've focused on the receiving window, press the middle mouse
> button to paste the selection into the second window.
>
> (X11 uses three-button mice.  Everything is designed around this.)
>
> If your mouse is too new or too Microsoft-tainted to have three buttons,
> then things get tricky.
>
> If your mouse is literally an old PS/2 style two-button mouse from the
> 1980s, you might be in real trouble.  There are hacks to try to mimic
> the middle button in other ways, but you'll have to read documentation
> to learn how to invoke them.
>
> Let's assume that's not the case.
>
> If your mouse has two buttons plus a scroll wheel, you might be able to
> press the scroll wheel to act as the middle button.  Doing this without
> also *turning* the scroll wheel takes practice.  It can be done, at
> least sometimes.
>
> So, that's how you copy and paste text between windows in X11.  You
> select with the left button, and paste with the middle button.
>
> Obviously the world can't be that simple.  While X11 was developing
> this interface around three-button mice, Microsoft was building a
> different interface around two-button mice.
>
> In the Microsoft paradigm, you copy by highlighting the text you want
> to copy, and then performing a second step.  That step might be
> right-clicking a menu and selecting "Copy".  Or it might be pressing
> Ctrl-C (but not in a terminal emulator).  Once you've performed this
> copy operation, the text is in a "clipboard", which is separate from
> the "selection".
>
> Pasting text from the clipboard into a new window under the Microsoft
> paradigm is done by pressing Shift-Insert.  (Or by right-clicking a
> menu and selecting Paste, or by pressing Ctrl-V in some programs, but
> not in terminal emulators.)
>
> Some programs that you run on Debian may use the Windows paradigm and
> put data into the clipboard instead of the selection.  For those
> things, you can try Shift-Insert instead of the middle button.  It's
> just another thing you might need to know/use.
>
> Good luck.
>
>


Re: Copy from xterm to text editor........

2024-06-12 Thread Greg Wooledge
On Thu, Jun 13, 2024 at 12:16:00PM +1000, Charlie wrote:
> Cannot recall what version of Debian stopped copying text in xterm by
> Ctrl + C or Shift + Ctrl + C  So don't know how to copy from xterm

xterm is a terminal emulator.  Pressing Ctrl-C in a terminal emulator
simply passes a byte (0x03) to the application running inside the
terminal, which is usually a shell.  But they're interpreted by the
terminal driver layer first.  The stty command allows you to see or
change the bindings of control characters by the terminal driver.

Ctrl-C is usually bound to the 'intr' facility in the terminal driver.
Pressing it in a terminal sends the interrupt signal (SIGINT) to all
running foreground processes.  It does not copy text.  That's a Windows
thing, and you are not in Windows.

> Unable to paste  from xterm into a text editor using Ctrl + V or Shift
> + Ctrl + V

Pressing Ctrl-V in a terminal emulator sends a byte (0x16) to the
application.  At the terminal driver layer, Ctrl-V is usually bound
to the 'lnext' facility (literal next).  It's like an escape sequence
for keys.  The next key you press *after* Ctrl-V will lose its special
meaning, and will just be passed along verbatim.

For example, if you press Ctrl-V Ctrl-C, it won't interrupt foreground
processes.  Instead, it will simply pass the literal 0x03 byte to the
application.  It becomes data.

hobbit:~$ printf ^C | hd
  03|.|
0001

The ^C there is where I pressed Ctrl-V Ctrl-C.

Now, all of that is just background information.

What you wanted to know, I guess, is "how to copy text between terminals".

The first step is to highlight the text with the left mouse button.  Drag
the mouse over the text while holding the left button.  This creates
a "selection" containing the text you've selected.

Next, click on the window that you want to paste the text *into*.  You
need this window to have "focus".  Depending on your window manager,
clicking may not actually be needed.  Some WMs use "focus follows mouse",
which means the mouse pointer simply has to be inside the window.  Others
use "click to focus" which means you have to click.

Once you've focused on the receiving window, press the middle mouse
button to paste the selection into the second window.

(X11 uses three-button mice.  Everything is designed around this.)

If your mouse is too new or too Microsoft-tainted to have three buttons,
then things get tricky.

If your mouse is literally an old PS/2 style two-button mouse from the
1980s, you might be in real trouble.  There are hacks to try to mimic
the middle button in other ways, but you'll have to read documentation
to learn how to invoke them.

Let's assume that's not the case.

If your mouse has two buttons plus a scroll wheel, you might be able to
press the scroll wheel to act as the middle button.  Doing this without
also *turning* the scroll wheel takes practice.  It can be done, at
least sometimes.

So, that's how you copy and paste text between windows in X11.  You
select with the left button, and paste with the middle button.

Obviously the world can't be that simple.  While X11 was developing
this interface around three-button mice, Microsoft was building a
different interface around two-button mice.

In the Microsoft paradigm, you copy by highlighting the text you want
to copy, and then performing a second step.  That step might be
right-clicking a menu and selecting "Copy".  Or it might be pressing
Ctrl-C (but not in a terminal emulator).  Once you've performed this
copy operation, the text is in a "clipboard", which is separate from
the "selection".

Pasting text from the clipboard into a new window under the Microsoft
paradigm is done by pressing Shift-Insert.  (Or by right-clicking a
menu and selecting Paste, or by pressing Ctrl-V in some programs, but
not in terminal emulators.)

Some programs that you run on Debian may use the Windows paradigm and
put data into the clipboard instead of the selection.  For those
things, you can try Shift-Insert instead of the middle button.  It's
just another thing you might need to know/use.

Good luck.



Copy from xterm to text editor........

2024-06-12 Thread Charlie


Using Debian bookworm updated and upgraded.

Cannot recall what version of Debian stopped copying text in xterm by
Ctrl + C or Shift + Ctrl + C  So don't know how to copy from xterm

Unable to paste  from xterm into a text editor using Ctrl + V or Shift
+ Ctrl + V

After a few years, am finally sick of attempting to discover how to do
it using all manner of keystrokes. Obviously not the right combination.
So would appreciate any help for something that works. If there is a
way to do it at all?

TIA
-- 
Registered Linux User:- 329524
***

Prejudice is opinion without judgement. -Voltaire

***

Debian GNU/Linux - just the best way to create magic

-



Re: systemctl vs service

2024-06-12 Thread Greg Wooledge
On Thu, Jun 13, 2024 at 07:50:45AM +0800, Jeff Peng wrote:
> I was a bit confused, systemctl and service both are used for service
> control (start|stop|reload etc). what's the suggested way for using them?

The "service" command originated with Red Hat's implementation of sysv-rc
and is maintained under Debian for compatibility or convenience.  Use it
if you like it.

The "systemctl" command originated with systemd, and offers more features
(subcommands and options).

If all you want to do is stop and restart a service, they're both fine.
If you want more features, it's worth learning systemctl.



Re: can't connect to server from outside LAN

2024-06-12 Thread Tim Woodall

On Wed, 12 Jun 2024, Greg Marks wrote:


I'm running a Debian server from my home with a static IP address,
with ssh configured to use key-based authentication rather than
password-based.  As of a couple weeks ago, I have been unable to ssh to
my server from external locations.  When I ssh from a laptop connected
to the wireless network on the same router as my home server, I do
successfully connect to the server.  But when I ssh from an external
location, I get this error:




The problem began a couple weeks ago; previously (and for many years)
I had been able to ssh to my server without issue.  The first time it
failed, I was using free wireless at an airport; I was able to ssh to my
server from the hotel that morning, and maybe, the first time I tried,
from the airport, but then subsequent ssh attempts from the airport
failed to connect.  I mention this only because nothing had changed in
my server's configuration when this problem began.

This is a real problem for me, as a lot of my work involves sending
files via scp between work and home.  Any suggestions about how to
troubleshoot and hopefully fix the problem will be greatly appreciated.



Run tcptraceroute to ports 22 and 80 to see ehere it's being blocked.

(or 443)

Depending on where it's blocked and why, possibly run sshd on a
different port. (or fix the firewall if it's controlled by you)

You can also run openvpn on 443 without breaking the webserver, which is
another workaround.




Re: descargar versiones anteriores

2024-06-12 Thread Francisco Cid
El mié., 12 jun. 2024 14:02, Juan Carlos Rebate 
escribió:

>
> El 12/6/24 a las 6:48, Camaleón escribió:
> > El 2024-06-12 a las 03:36 +0200, Juaan Carrlos Rebate escribió:
> >
> >> Disculpad por el HTML, envío el correo desde Windows y no hay forma de
> >> eliminar el formato.
> > ¿?
> >
> > Se llama «formato texto plano», todos los clientes lo tienen, hasta los
> > malogrados webmail.
> >
> >> Fernando, gracias por tu respuesta pero te comento
> >> que ni jigdo-file ni lite están en los repos
> > (...)
> >
> > El paquete estar, está:
> >
> > https://packages.debian.org/bullseye/jigdo-file
> > https://tracker.debian.org/pkg/jigdo
> >
> > sm01@stt008:~$ apt-cache search jigdo-file
> > jigdo-file - Download Debian CD/DVD/USB images from any Debian mirror
> >
> > sm01@stt008:~$ uname -a
> > Linux stt008 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01)
> x86_64 GNU/Linux
> >
> > Revisa tu configuración y repositorios.
> >
> > Saludos,
> >
> he cambiado a thunderbird. si, sé como se llama, pero en windows no uso
> webmail, sino la app outlook, y no tiene opciones para eliminar el
> formato (o las tiene desactivadas como muchas de word). pues ni idea, en
> los repos no parece estar o no parece localizarlos, pero bajamdo las
> fuentes funciona. ya pude bajar los tres primeros DVD
>
Hola amigo, el error que tienes es porque debes tener activados solamente
los repositorios a disco dvd, que es lo por defecto en una instalación. Te
recomiendo chequearlos en /etc/apt/source.list.


systemctl vs service

2024-06-12 Thread Jeff Peng

Hello

I was a bit confused, systemctl and service both are used for service 
control (start|stop|reload etc). what's the suggested way for using 
them?


thanks & regards.



Re: can't connect to server from outside LAN

2024-06-12 Thread David Christensen

On 6/12/24 15:54, Greg Marks wrote:

I'm running a Debian server from my home with a static IP address,
with ssh configured to use key-based authentication rather than
password-based.  As of a couple weeks ago, I have been unable to ssh to
my server from external locations.  When I ssh from a laptop connected
to the wireless network on the same router as my home server, I do
successfully connect to the server.  But when I ssh from an external
location, I get this error:

OpenSSH_8.4p1 Debian-5+deb11u3, OpenSSL 1.1.1w  11 Sep 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf 
matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname xxx.xxx.xxx.xxx is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 
'/home/user/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 
'/home/user/.ssh/known_hosts2'
debug2: ssh_connect_direct
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_rsa-cert type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: identity file /home/user/.ssh/id_dsa-cert type -1
debug1: identity file /home/user/.ssh/id_ecdsa type -1
debug1: identity file /home/user/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/user/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/user/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/user/.ssh/id_ed25519 type -1
debug1: identity file /home/user/.ssh/id_ed25519-cert type -1
debug1: identity file /home/user/.ssh/id_ed25519_sk type -1
debug1: identity file /home/user/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/user/.ssh/id_xmss type -1
debug1: identity file /home/user/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3
kex_exchange_identification: read: Connection timed out
banner exchange: Connection to xxx.xxx.xxx.xxx port 22: Connection timed out

When I ping the server from external locations, I get 100% packet loss;
whereas when I ping the server from my local wireless network, there
is 0% packet loss.  (I do have nftables set to drop connections from
numerous IP addresses that have attempted hacks in the past; however,
the problem persists after flushing nftables, and at any rate, using
check-host.net and www.site24x7.com to ping my server from various
worldwide locations also results in 100% packet loss.)  Port 22 is open.
The package ufw is not installed on my server.

The apache2 Web server running on my home server is correctly hosting
my Web pages: from external locations, my Web page gmarks.org will
open in a Web browser (even though "ping -c 10 gmarks.org" shows 100%
packet loss).  Running "traceroute xxx.xxx.xxx.xxx" from external
locations reported four successful steps, not reaching my server IP,
followed by a series of "* * *" lines.

Running "sudo service sshd status" on my server shows ssh.service
is active and running.  Running "ip address show" on my server shows
nothing unusual.  I've restarted my router, and I've restarted my server;
neither helped.

The problem began a couple weeks ago; previously (and for many years)
I had been able to ssh to my server without issue.  The first time it
failed, I was using free wireless at an airport; I was able to ssh to my
server from the hotel that morning, and maybe, the first time I tried,
from the airport, but then subsequent ssh attempts from the airport
failed to connect.  I mention this only because nothing had changed in
my server's configuration when this problem began.

This is a real problem for me, as a lot of my work involves sending
files via scp between work and home.  Any suggestions about how to
troubleshoot and hopefully fix the problem will be greatly appreciated.

Best regards,
Greg Marks



Ping:

2024-06-12 16:19:25 dpchrist@laalaa ~
$ ping -c 1 -v gmarks.org
PING gmarks.org (76.235.90.201) 56(84) bytes of data.

--- gmarks.org ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms


HTTPS works:

https://gmarks.org/

Greg Marks
Office: 313 Ritter Hall
Phone: (314)977-7206
E-mail address:  local-part consists of surname, domain name identical 
to that of the present Web page

PGP encryption public key ID: 0x53F269E8

Postal Address:
Department of Mathematics and Statistics
St. Louis University
221 N. Grand Blvd.
St. Louis, MO 63103-2006
U.S.A.

Resources for students

Resources for mathematicians

Research papers


It appears that someone who controls one or more of the routers between 
the Internet and your router has blocked ICMP echo requests, ICMP echo 
replies, and TCP port 22 (SSH).



I suggest that you 

Re: systemrescuecd -- a bit off Debian topics

2024-06-12 Thread eben

On 6/12/24 18:27, Van Snyder wrote:

On Wed, 2024-06-12 at 18:19 -0400, e...@gmx.us wrote:

On 6/12/24 18:14, Van Snyder wrote:

Does anybody know how to contact systemrescuece developers? Their
webpage https://www.system-rescue.org/ doesn't have a "contact" or
"forum"button.
I haven't found a way to make the toolbar largewhen I boot
systemrescuecd. I think the window manager is xfce. Can thetool bar
be made larger?

...
In XFCE, if you right-click anywhere on the toolbar and go to Panel
-> PanelPreferences, you can change the size under "Row Size"..  But
no, I don'tknow how to contact them.


Maybe I was wrong about systemrescuecd using XFCE. Right click on the
toolbar offers a "properties" selection -- that doesn't include a "row
size" property.


It does (see the mouse on the desktop? That's XFCE's mascot.), just maybe it
uses a different version than I have.  I'll boot from it on Saturday to back
up, so if you haven't got an answer by then I'll report back.

--
 Actually, we have scientifically determined
that Heisenberg did indeed sleep exactly here.
However, we have no idea whatsoever just how fast asleep he was.
-- Dave Aronson on ASR



can't connect to server from outside LAN

2024-06-12 Thread Greg Marks
I'm running a Debian server from my home with a static IP address,
with ssh configured to use key-based authentication rather than
password-based.  As of a couple weeks ago, I have been unable to ssh to
my server from external locations.  When I ssh from a laptop connected
to the wireless network on the same router as my home server, I do
successfully connect to the server.  But when I ssh from an external
location, I get this error:

   OpenSSH_8.4p1 Debian-5+deb11u3, OpenSSL 1.1.1w  11 Sep 2023
   debug1: Reading configuration data /etc/ssh/ssh_config
   debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf 
matched no files
   debug1: /etc/ssh/ssh_config line 21: Applying options for *
   debug2: resolve_canonicalize: hostname xxx.xxx.xxx.xxx is address
   debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 
'/home/user/.ssh/known_hosts'
   debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 
'/home/user/.ssh/known_hosts2'
   debug2: ssh_connect_direct
   debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
   debug1: Connection established.
   debug1: identity file /home/user/.ssh/id_rsa type -1
   debug1: identity file /home/user/.ssh/id_rsa-cert type -1
   debug1: identity file /home/user/.ssh/id_dsa type -1
   debug1: identity file /home/user/.ssh/id_dsa-cert type -1
   debug1: identity file /home/user/.ssh/id_ecdsa type -1
   debug1: identity file /home/user/.ssh/id_ecdsa-cert type -1
   debug1: identity file /home/user/.ssh/id_ecdsa_sk type -1
   debug1: identity file /home/user/.ssh/id_ecdsa_sk-cert type -1
   debug1: identity file /home/user/.ssh/id_ed25519 type -1
   debug1: identity file /home/user/.ssh/id_ed25519-cert type -1
   debug1: identity file /home/user/.ssh/id_ed25519_sk type -1
   debug1: identity file /home/user/.ssh/id_ed25519_sk-cert type -1
   debug1: identity file /home/user/.ssh/id_xmss type -1
   debug1: identity file /home/user/.ssh/id_xmss-cert type -1
   debug1: Local version string SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3
   kex_exchange_identification: read: Connection timed out
   banner exchange: Connection to xxx.xxx.xxx.xxx port 22: Connection timed out

When I ping the server from external locations, I get 100% packet loss;
whereas when I ping the server from my local wireless network, there
is 0% packet loss.  (I do have nftables set to drop connections from
numerous IP addresses that have attempted hacks in the past; however,
the problem persists after flushing nftables, and at any rate, using
check-host.net and www.site24x7.com to ping my server from various
worldwide locations also results in 100% packet loss.)  Port 22 is open.
The package ufw is not installed on my server.

The apache2 Web server running on my home server is correctly hosting
my Web pages: from external locations, my Web page gmarks.org will
open in a Web browser (even though "ping -c 10 gmarks.org" shows 100%
packet loss).  Running "traceroute xxx.xxx.xxx.xxx" from external
locations reported four successful steps, not reaching my server IP,
followed by a series of "* * *" lines.

Running "sudo service sshd status" on my server shows ssh.service
is active and running.  Running "ip address show" on my server shows
nothing unusual.  I've restarted my router, and I've restarted my server;
neither helped.

The problem began a couple weeks ago; previously (and for many years)
I had been able to ssh to my server without issue.  The first time it
failed, I was using free wireless at an airport; I was able to ssh to my
server from the hotel that morning, and maybe, the first time I tried,
from the airport, but then subsequent ssh attempts from the airport
failed to connect.  I mention this only because nothing had changed in
my server's configuration when this problem began.

This is a real problem for me, as a lot of my work involves sending
files via scp between work and home.  Any suggestions about how to
troubleshoot and hopefully fix the problem will be greatly appreciated.

Best regards,
Greg Marks


signature.asc
Description: PGP signature


Re: systemrescuecd -- a bit off Debian topics

2024-06-12 Thread Van Snyder
On Wed, 2024-06-12 at 18:19 -0400, e...@gmx.us wrote:
> On 6/12/24 18:14, Van Snyder wrote:
> > Does anybody know how to contact systemrescuece developers? Their
> > webpage https://www.system-rescue.org/ doesn't have a "contact" or
> > "forum"button.
> > I haven't found a way to make the toolbar largewhen I boot
> > systemrescuecd. I think the window manager is xfce. Can thetool bar
> > be made larger?
> ...
> In XFCE, if you right-click anywhere on the toolbar and go to Panel
> -> PanelPreferences, you can change the size under "Row Size"..  But
> no, I don'tknow how to contact them.

Maybe I was wrong about systemrescuecd using XFCE. Right click on the
toolbar offers a "properties" selection -- that doesn't include a "row
size" property.


Re: systemrescuecd -- a bit off Debian topics

2024-06-12 Thread eben

On 6/12/24 18:14, Van Snyder wrote:

Does anybody know how to contact systemrescuece developers? Their web
page https://www.system-rescue.org/ doesn't have a "contact" or "forum"
button.

I haven't found a way to make the toolbar large
when I boot systemrescuecd. I think the window manager is xfce. Can the
tool bar be made larger?

...

In XFCE, if you right-click anywhere on the toolbar and go to Panel -> Panel
Preferences, you can change the size under "Row Size"..  But no, I don't
know how to contact them.



systemrescuecd -- a bit off Debian topics

2024-06-12 Thread Van Snyder
Does anybody know how to contact systemrescuece developers? Their web
page https://www.system-rescue.org/ doesn't have a "contact" or "forum"
button.

My brother has impaired vision. He uses KDE Plasma because he can make
the tool bar large. But I haven't found a way to make the toolbar large
when I boot systemrescuecd. I think the window manager is xfce. Can the
tool bar be made larger? If not, and you have contact with the
systemrescuecd developers, please aske them to provide a way to make
the toolbar and icons larger, for vision-impaired users.

Van Snyder



Re: Please help me identify package so I can report an important bug

2024-06-12 Thread debian-user
Richard  wrote:
> Good catch. With the title of this thread and not seeing any proper
> description of what's actually wrong on GitHub, I figured the change
> of the adapter name was meant. Yes, with MAC randomization, that's
> what you'll get. But it's nothing Debian defaults to. So question is,
> can this be disabled on Proxmox? But with this hint, it should be
> easy enough to figure out if this can be deactivated on the affected
> systems, and if not the bug reports must be against these issues, as
> Debian itself doesn't do such things. If it is an issue with Debian
> preventing the disablement, the devs need to talk to each other.
> 
> Richard
> 
> Am Mi., 12. Juni 2024 um 17:10 Uhr schrieb Jeffrey Walton <
> noloa...@gmail.com>:  
> 
> > The random MAC address discussed in the bug report (with mention of
> > Network Manager) could be
> > <
> > https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/
> >   
> > >.  
> >
> > Jeff

I think before anybody else suggests anything, they should read
https://lore.kernel.org/netdev/20240326092459.gg403...@kernel.org/T/



Re: Please help me identify package so I can report an important bug

2024-06-12 Thread Greg Wooledge
On Wed, Jun 12, 2024 at 09:01:44PM +0200, to...@tuxteam.de wrote:
> No need. You can have your traditional names (I do). Just add
> "net.ifnames=0" (if necessry separated by a space, should
> other stuff be already there) to your GRUB_CMDLINE_LINUX_DEFAULT
> in your /etc/default/grub, then ru update-grub.
> 
> Mine loks like this:
> 
>   GRUB_CMDLINE_LINUX_DEFAULT="quiet net.ifnames=0"

People who are thinking of doing this should take a moment to consider
whether it will be better or worse than the default.

For a machine that has exactly one ethernet interface, this is a vast
improvement over the default.  Your interface will always be named
"eth0" no matter what crazy things happen on the PCI bus.

For a machine with multiple interfaces, however, the original problem
that "predictable interface names" were supposed to solve is still an
issue.  The kernel may not assign the names in the same order every
time you boot.  In that situation, "net.ifnames=0" is not likely to
be an improvement.  You'd be better off using systemd.link(5) files to
customize your interface names according to your own specific needs.

> > > https://wiki.debian.org/NetworkInterfaceNames



Re: Please help me identify package so I can report an important bug

2024-06-12 Thread tomas
On Wed, Jun 12, 2024 at 02:30:40PM -0400, Roy J. Tellason, Sr. wrote:
> On Wednesday 12 June 2024 06:54:54 am Richard wrote:
> > But also, just
> > searching the web for this topic, you should have come across this
> > answering your questions: https://wiki.debian.org/NetworkInterfaceNames
> > 
> 
> Wow.  Just wow...
> 
> That sort of thing just drives me crazy!  :-)
> 
> I can see sticking with older versions of some things.

No need. You can have your traditional names (I do). Just add
"net.ifnames=0" (if necessry separated by a space, should
other stuff be already there) to your GRUB_CMDLINE_LINUX_DEFAULT
in your /etc/default/grub, then ru update-grub.

Mine loks like this:

  GRUB_CMDLINE_LINUX_DEFAULT="quiet net.ifnames=0"

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Please help me identify package so I can report an important bug

2024-06-12 Thread Roy J. Tellason, Sr.
On Wednesday 12 June 2024 06:54:54 am Richard wrote:
> But also, just
> searching the web for this topic, you should have come across this
> answering your questions: https://wiki.debian.org/NetworkInterfaceNames
> 

Wow.  Just wow...

That sort of thing just drives me crazy!  :-)

I can see sticking with older versions of some things.

-- 
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space,  a critter that can
be killed but can't be tamed.  --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James 
M Dakin



Re: descargar versiones anteriores

2024-06-12 Thread Juan Carlos Rebate



El 12/6/24 a las 6:48, Camaleón escribió:

El 2024-06-12 a las 03:36 +0200, Juaan Carrlos Rebate escribió:


Disculpad por el HTML, envío el correo desde Windows y no hay forma de
eliminar el formato.

¿?

Se llama «formato texto plano», todos los clientes lo tienen, hasta los
malogrados webmail.


Fernando, gracias por tu respuesta pero te comento
que ni jigdo-file ni lite están en los repos

(...)

El paquete estar, está:

https://packages.debian.org/bullseye/jigdo-file
https://tracker.debian.org/pkg/jigdo

sm01@stt008:~$ apt-cache search jigdo-file
jigdo-file - Download Debian CD/DVD/USB images from any Debian mirror

sm01@stt008:~$ uname -a
Linux stt008 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64 
GNU/Linux

Revisa tu configuración y repositorios.

Saludos,

he cambiado a thunderbird. si, sé como se llama, pero en windows no uso 
webmail, sino la app outlook, y no tiene opciones para eliminar el 
formato (o las tiene desactivadas como muchas de word). pues ni idea, en 
los repos no parece estar o no parece localizarlos, pero bajamdo las 
fuentes funciona. ya pude bajar los tres primeros DVD




Re: "Repeaters", etc.

2024-06-12 Thread gene heskett

On 6/12/24 10:07, mick.crane wrote:

On 2024-05-29 16:08, gene heskett wrote:


Except at the service. Properly wired, the neutral and static grounds
are bonded ONLY in the service box. I am constantly amazed at the
people who call themselves electricians, who think the static ground
and the neutral are interchangeable just because they are bonded at
the service.

AIUI the distribution neutral is hammered into the ground at the 
substation/generator.
Some electricians say you don't need the earth, another explained it is 
necessary to locally drive a conductor into the ground and attach the 
earth to that in case something happens to the distribution neutral the 
electric has somewhere to go to trip a relay in the house.

mick
.
And here in the USA, the NEC demands two ground rods separated by enough 
distance it actually is two good grounds. I have had zero problems since 
making it so in 2008 as I was building a garage on the end of the house 
and upgrading the service from a 60 amp pushmatic to a 200 amp SQD. The 
house is still a 60 but is a subcircuit now.


Cheers, Gene Heskett, CET.
--
"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



Re: Having ten thousands of mount bind causes various processes to go into loops

2024-06-12 Thread Richard
Best question probably is: what exactly are you needing 14.000 mounts for?
Even snaps shouldn't be that ridiculous. So what's your use case? Maybe
there's a better solution to what you are doing. If it's just about having
a place that is rw only without execution permissions, just crate a
separate partition, mount it somewhere - e.g. /home/test/mounts and tell
mount/fstab to use the option noexec. No need for for your script. Or if
it's a more advanced file system like btrfs you may be able to simply
create a subvolume with the same capabilities, no need to tinker around
with partitions.

It's true this issue should be looked into, but it doesn't look urgent as
long as there are alternatives.

Richard

Am Mi., 12. Juni 2024 um 16:33 Uhr schrieb Julien Petit :

> Dear,
>
> Not sure i should report a bug so here is a report first. For more
> than 10 years now, we've been using mount binds to create shares rw or
> ro. It's been working perfectly under older Debian. A few months ago,
> we migrated to Ubuntu Jammy and started having processes running 100%
> non stop. While examining the processes in question, we could see the
> same thing: it seemed to be reading all the mounts indefinitely.
> It started with the phpsessionclean.service. We managed to fix it
> editing /lib/systemd/system/phpsessionclean.service and disabling
> sandboxing entries. But then it started to happen with other
> processes.
> Anything related to systemd seems affected in a way. For instance, we
> cannot start haproxy if the mounts are mounted.
> We tested with the last Debian and it is affected too.
>
> We understand that 14 000 mounts is a lot. So maybe our usage will be
> questioned. But this has been working for ages so why not now?
>
> The problem can be very easily reproduced:
>
> 1. Launch the latest Debian stable
> 2. Execute the following script to create mounts:
> #!/bin/bash
> mkdir /home/test/directories
> mkdir /home/test/mounts
>
> for i in {1..14000}
> do
>echo "Mounting dir $i"
>mkdir "/home/test/directories/dir_$i"
>mkdir "/home/test/mounts/dir_$i"
>mount --bind -o rw "/home/test/directories/dir_$i"
> "/home/test/mounts/dir_$i"
> done
>
> After that, the "top" command will show processes getting stuck using
> 100% of CPU never ending.
>
> Has anyone a clue if this is fixable? Should i report a bug?
> Thanks for your help.
>
>


Re: Please help me identify package so I can report an important bug

2024-06-12 Thread Richard
Good catch. With the title of this thread and not seeing any proper
description of what's actually wrong on GitHub, I figured the change of the
adapter name was meant. Yes, with MAC randomization, that's what you'll
get. But it's nothing Debian defaults to. So question is, can this be
disabled on Proxmox? But with this hint, it should be easy enough to figure
out if this can be deactivated on the affected systems, and if not the bug
reports must be against these issues, as Debian itself doesn't do such
things. If it is an issue with Debian preventing the disablement, the devs
need to talk to each other.

Richard

Am Mi., 12. Juni 2024 um 17:10 Uhr schrieb Jeffrey Walton <
noloa...@gmail.com>:

> The random MAC address discussed in the bug report (with mention of
> Network Manager) could be
> <
> https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/
> >.
>
> Jeff
>


Re: Having ten thousands of mount bind causes various processes to go into loops

2024-06-12 Thread Max Nikulin

On 12/06/2024 17:02, Julien Petit wrote:

for i in {1..14000}
do
echo "Mounting dir $i"
mkdir "/home/test/directories/dir_$i"
mkdir "/home/test/mounts/dir_$i"
mount --bind -o rw "/home/test/directories/dir_$i" 
"/home/test/mounts/dir_$i"
done

After that, the "top" command will show processes getting stuck using
100% of CPU never ending.


What processes are CPU hungry?


Has anyone a clue if this is fixable? Should i report a bug?


Perhaps it is not a Debian-specific bug, just more active usage of 
sandboxing in systemd. If some applications have troubles parsing 
/proc/mounts then bugs should be filed against them.


However do you need shared subtrees? It may cause exponential growth of 
number of moutpoints, see

https://docs.kernel.org/filesystems/sharedsubtree.html
https://manpages.debian.org/bookworm/mount/mount.8.en.html#Shared_subtree_operations



Re: info vs. man

2024-06-12 Thread Max Nikulin

On 12/06/2024 01:00, Greg Wooledge wrote:

On 11/06/2024 06:45, Greg Wooledge wrote:

Should you ever feel a need to read the longer version of the
documentation, it's in GNU info pages.  So you would need to type
the command "info coreutils date" to get to it.  And then you'd need
to figure out the user interface of the "info" program, which is not
intuitive unless you happen to be an emacs power user already.

[...]

I also provided a reference to the info page, and a command that would
bring that up, should the need ever arise.  More importantly, I revealed
that info pages *exist* and *are a thing* that they need to know about.
It's planting a seed for the future.


I misunderstood your intention and I am sorry for that. I found your 
words quite discouraging in respect to "info", perhaps it is just 
language barrier.


Info is quite important. While e.g. "man bash" and "info bash" documents 
are quite similar, there is no man equivalent for "info grub".


Your variant of info command is quite specific. I like that "info" 
allows partial match of node name and it may be a separate argument. 
Unfortunately tkinfo and the Emacs function require another style (info 
"(coreutils) date invocation"). Every coreutils man page has it in the 
"SEE ALSO" section.


I do not mind that users almost certainly familiar with basic pager UI 
and using of "info" requires some knowledge. In this particular case UI 
does not differ


- info "(coreutils) date invocation"
- /week [Enter]

P.S. Perhaps Emacs developers teach users how to fish as well. From my 
point of view the following path described in "emacs --help" is 
unnecessary long:



Run M-x info RET m emacs RET m emacs invocation RET inside Emacs to
read the main documentation for these command-line arguments.






Re: App Banco Itau

2024-06-12 Thread luigui

Acesso pela maquina virtual e' boa recomendacao do Atenagoras.

O software Warsaw precisa estar sempre atualizado, mesmo pela GAS tecno_ 
pois adiciona uma camada ao OS e sabemos que uma das premissas em 
seguranca e' a de que quanto menos aplicativos e servicos instalados 
melhor a higiene contra vulnerabilidades.


Qualquer instalacao desencadeia um desdobro aos riscos a seguranca. Como 
linguagem do software utilizada, sua logica de programacao, em suma um 
codigo conciso para melhor desempenho e resistencia a ataques.


Confiar em codigos proprietarios e' outro topico a ser discutido.

Uso o Warsaw pelo BB mas em um computador especifico para administracao 
contabil, aonde procuro deixa-lo o mais enxuto possivel.



On 12/06/2024 10:12, Atenágoras Silva wrote:
Não sou cliente do banco, mas é possível que o acesso à sua conta no 
computador seja possível apenas através do navegador.
Para isso, muito provavelmente, será necessário instalar um software 
chamado "warsaw", de uma empresa chamada "GAS tecnologia".
Os procedimentos para isso devem ser feitos junto ao suporte do banco 
(O Banco do Brasil tem um suporte para isso).
Mas eu recomendo que, se usar o computador, instale o warsaw em uma 
máquina virtual e acesse o banco a partir dela, pois este software 
roda como um daemon com permissões de root o tempo todo, mesmo que 
você não esteja acessando o banco.


Em qua., 12 de jun. de 2024 às 09:08, Vitor Hugo 
 escreveu:


Bom dia,

Gostaria de saber se é possível utilizar o banco Itau no Debian?

Se alguém aqui na lista utiliza e se funciona bem.

Estou utilizando o APP do Itau e alguma coisas só funcionam la.

Existem versão para Linux ou teria como utilizar um emulador para
utiliza-la?

Obrigado;
null

virt-manager: Cannot recv data: Connection reset by peer

2024-06-12 Thread Ceppo
Context: I am on sid, so random breakage is expected. This time it happened
somewhere between virt-manager and KVM, and I got stuck as I don't know much
about KVM and emulation general.

I have been using virt-manager to manage virtual machine with QEMU/KVM user
session for some months without any issue. From monday the session is "Not
Connected" and when I try to connect I get the following message:

Unable to connect to libvirt qemu:///session.

Cannot recv data: Connection reset by peer

and Details:

Unable to connect to libvirt qemu:///session.

Cannot recv data: Connection reset by peer

Libvirt URI is: qemu:///session

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 923, 
in _do_open
self._backend.open(cb, data)
  File "/usr/share/virt-manager/virtinst/connection.py", line 171, in 
open
conn = libvirt.openAuth(self._open_uri,
   
  File "/usr/lib/python3/dist-packages/libvirt.py", line 147, in 
openAuth
raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: Cannot recv data: Connection reset by peer

I supposed something happened when I upgraded my (host) machine with aptitude
full-upgrade, and in fact aptitude logs include the following:

[UPGRADE] libvirt-daemon-driver-qemu:amd64 10.3.0-3 -> 10.4.0-1
[UPGRADE] python3-libvirt:amd64 10.3.0-1 -> 10.4.0-1
[UPGRADE] qemu-block-extra:amd64 1:8.2.4+ds-1 -> 1:8.2.4+ds-2
[UPGRADE] qemu-system-common:amd64 1:8.2.4+ds-1 -> 1:8.2.4+ds-2
[UPGRADE] qemu-system-data:amd64 1:8.2.4+ds-1 -> 1:8.2.4+ds-2
[UPGRADE] qemu-system-gui:amd64 1:8.2.4+ds-1 -> 1:8.2.4+ds-2
[UPGRADE] qemu-system-modules-opengl:amd64 1:8.2.4+ds-1 -> 1:8.2.4+ds-2
[UPGRADE] qemu-system-modules-spice:amd64 1:8.2.4+ds-1 -> 1:8.2.4+ds-2
[UPGRADE] qemu-system-x86:amd64 1:8.2.4+ds-1 -> 1:8.2.4+ds-2
[UPGRADE] qemu-utils:amd64 1:8.2.4+ds-1 -> 1:8.2.4+ds-2

But I couldn't find anything interesting in their changelogs.
The usual online forums digging suggested to make sure that libvirtd is active
[1] - and it does. I also experimented with solutions proposed for similar but
different issues, to no avail. Here I got stuck.
Someone can help me investigate or resolve the issue?



[1]: https://bbs.archlinux.org/viewtopic.php?id=289546z



--
Ceppo



Re: Please help me identify package so I can report an important bug

2024-06-12 Thread Jeffrey Walton
On Wed, Jun 12, 2024 at 10:33 AM Richard  wrote:
>
> Question is, does it make that much sense to report it to Debian directly? 
> Are you encountering this issue on Debian itself or 
> Armbian/Raspbian/whatever? You reported this to the Raspberry Pi GitHub, so 
> I'd expect them to take this up with the upstream devs themselves, so by the 
> time Trixie is being released, it may already be included.
>
> But besides that, what you describe in the first link sounds to me not like a 
> bug, but as a well thought-through decision. Network adapter names like eth0 
> have been dropped with Debian 11 (I think, maybe even 10). So don't get your 
> hopes up too high to ever see this coming back. But also, just searching the 
> web for this topic, you should have come across this answering your 
> questions: https://wiki.debian.org/NetworkInterfaceNames

The random MAC address discussed in the bug report (with mention of
Network Manager) could be
.

Jeff



Re: OFF-TOPIC - cyberseguranca

2024-06-12 Thread Yuri Musachio
Então Vitor, você tem que lembrar que tudo é "rede", com outras formas de 
comunicação, outros protocolos... Mas continua sendo rede. E outra, já tem 
tempo que as chamdas telefônicas utilizam parte da rede de internet para 
trafegar... Claro, ali rola uma separação das comunicações.
Entretante, todos esses problemas que o amigo informou (que não sei se são 
possíveis, mas não dúvido) são problemas relacionados a própria tecnologia da 
telefonia em si.
Há uns anos atras, papo de quase 10 (acho que foi quando rolou aquela parada do 
WikiLeaks falando do NSA com a Dilma), recordo vagamento de ter rolado uma 
matérias sobre as vulnerabilidades da rede de telefonia, e que futuramente 
modificariam a maneira como a rede de telefonia funcionava (nível 
internacional).
Pelo visto isso ainda não foi pra frente, ou ao menos não é algo que tenhamos 
visto no momento.

Best,
On Jun 12 2024, at 10:05 am, luigui  wrote:
> Bom dia Vitor,
>
> nao sei se classificaria completamente como OFF-TOPIC
> Visto que configuracoes em nossas distros Debian poderao oportunamente serem 
> criadas sobre programas que venham a auxiliar no reconhecimento de chamadas.
> Nao estendendo, mas ja sao criadas antenas domesticas por agressores que 
> conseguem contornar os protocolos de comunicacao e seguranca das operadoras 
> estabelecendo conexoes mal intencionadas.
> Mas presumo que razao possa lhe assistir.
> Grato pelo retorno.
>
>
> On 12/06/2024 07:41, Vitor Hugo wrote:
> > Bom dia,
> >
> > Isto é um OFF-TOPIC.
> > Desconheço esse tipo de ataque, mas teoricamente se para isto funcionar 
> > deveria ser feito por uma chamada pela internet, acredito que somente por 
> > voz sem internet isso não seja possível.
> > Porem sei que aqui na lista possuem pessoas muito informadas e esclarecidas 
> > com conhecimentos técnicos de primeira linha que possam lhe ajudar mais.
> >
> > Em 11/06/2024 23:03, luiz gil escreveu:
> > > Boa noite aos amigos!
> > > Peco que retornem alguma experiencia ou mesmo uma ciencia de qualquer 
> > > natureza do abaixo enunciado como, leitura, conversas com experts ou 
> > > afins.
> > > Desculpem pelo topico ser talvez de baixa correlacao desta lista.
> > >
> > >
> > > E' possível que apenas ao receber uma chamada sem dizer uma palavra ao 
> > > agressor, você possa ter seu telefone infectado. Esse tipo de ataque é 
> > > conhecido como ataque de "chamada perdida" ou "chamada silenciosa". Nesse 
> > > cenário, os hackers exploram vulnerabilidades nos sistemas de comunicação 
> > > dos dispositivos para enviar uma chamada aparentemente inofensiva, mas 
> > > que na verdade contém códigos maliciosos.
> > > Quando você atende a chamada, mesmo sem falar nada, os códigos maliciosos 
> > > podem ser executados automaticamente no seu dispositivo, explorando 
> > > alguma vulnerabilidade do sistema operacional ou de um aplicativo. Esses 
> > > códigos podem instalar malware no seu telefone, roubar informações 
> > > pessoais, controlar remotamente o dispositivo, entre outras ações 
> > > prejudiciais.
> > > Portanto, é importante ter em mente que, mesmo sem interagir verbalmente 
> > > com o agressor durante uma chamada, seu telefone ainda pode estar em 
> > > risco se houver uma exploração de vulnerabilidade através dessa chamada. 
> > > Manter o software do seu dispositivo atualizado, evitar atender chamadas 
> > > de números desconhecidos e usar aplicativos de segurança confiáveis podem 
> > > ajudar a mitigar esses riscos.
> > > --
> > > Atenciosamente,
> > > Luiz Carlos Proenca Gil
> >
>



Re: App Banco Itau

2024-06-12 Thread Paulo Ricardo Bruck
Bom dia

Eu uso para pessoa física e jurídica, mas acesso somente via navegador (
chrome e firefox) funcionam, mais para isto vc deve baixar o
aplicativo warsaw que está disponível quando você acessar o itau pela url
itau.com.br

abraços

Em qua., 12 de jun. de 2024 às 09:08, Vitor Hugo 
escreveu:

> Bom dia,
>
> Gostaria de saber se é possível utilizar o banco Itau no Debian?
>
> Se alguém aqui na lista utiliza e se funciona bem.
>
> Estou utilizando o APP do Itau e alguma coisas só funcionam la.
>
> Existem versão para Linux ou teria como utilizar um emulador para
> utiliza-la?
>
> Obrigado;
>
>

-- 
Paulo Ricardo Bruck
011 98140-9184 (Whatsup/vivo)
011 94184-3433 (vivo)


Re: "Repeaters", etc.

2024-06-12 Thread mick.crane

On 2024-05-29 16:08, gene heskett wrote:


Except at the service. Properly wired, the neutral and static grounds
are bonded ONLY in the service box. I am constantly amazed at the
people who call themselves electricians, who think the static ground
and the neutral are interchangeable just because they are bonded at
the service.

AIUI the distribution neutral is hammered into the ground at the 
substation/generator.
Some electricians say you don't need the earth, another explained it is 
necessary to locally drive a conductor into the ground and attach the 
earth to that in case something happens to the distribution neutral the 
electric has somewhere to go to trip a relay in the house.

mick



Re: App Banco Itau

2024-06-12 Thread Yuri Musachio
Funciona sim…

> Em 12 de jun. de 2024, à(s) 10:18, Vitor Hugo  
> escreveu:
> 
> Bom dia,
> 
> Gostaria de saber se é possível utilizar o banco Itau no Debian?
> 
> Se alguém aqui na lista utiliza e se funciona bem.
> 
> Estou utilizando o APP do Itau e alguma coisas só funcionam la.
> 
> Existem versão para Linux ou teria como utilizar um emulador para utiliza-la?
> 
> Obrigado;
> 



Re: virt-manager (qemu/kvm) et virtiofs

2024-06-12 Thread didier gaumet

oups, désolé, mon copier/coller a merdé, c'est donc plutôt:


didier@hp-notebook14:~$ ps -axl | grep -i qemu
4   101   16834   1  20   0   9052  6352 -  S?  0:00 
/usr/bin/swtpm socket --ctrl 
type=unixio,path=/run/libvirt/qemu/swtpm/3-win11-swtpm.sock,mode=0600 
--tpmstate 
dir=/var/lib/libvirt/swtpm/81398816-982e-4234-9474-5f5f60c8876c/tpm2,mode=0600 
--log file=/var/log/swtpm/libvirt/qemu/win11-swtpm.log --terminate --tpm2
4 0   16840   1  20   0  79968  1748 -  Sl   ?  0:00 
/usr/lib/qemu/virtiofsd --fd=34 -o source=/home/didier/Programs/poco_f3
6 64055   16872   1  20   0 10668808 8580296 -  Sl   ?  7:14 
/usr/bin/qemu-system-x86_64 -name guest=win11,debug-threads=on -S 
-object 
{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-3-win11/master-key.aes"} 
-blockdev 
{"driver":"file","filename":"/usr/share/OVMF/OVMF_CODE_4M.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"} 
-blockdev 
{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"} 
-blockdev 
{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/win11_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"} 
-blockdev 
{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"} 
-machine 
pc-q35-7.2,usb=off,vmport=off,smm=on,dump-guest-core=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format 
-accel kvm -cpu 
host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff 
-global driver=cfi.pflash01,property=secure,value=on -m 8192 -object 
{"qom-type":"memory-backend-memfd","id":"pc.ram","share":true,"x-use-canonical-path-for-ramblock-id":false,"size":8589934592} 
-overcommit mem-lock=off -smp 4,sockets=4,cores=1,threads=1 -uuid 
81398816-982e-4234-9474-5f5f60c8876c -no-user-config -nodefaults 
-chardev socket,id=charmonitor,fd=33,server=on,wait=off -mon 
chardev=charmonitor,id=monitor,mode=control -rtc 
base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=delay 
-no-hpet -no-shutdown -global ICH9-LPC.disable_s3=1 -global 
ICH9-LPC.disable_s4=1 -boot strict=on -device 
{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"} 
-device 
{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"} 
-device 
{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"} 
-device 
{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"} 
-device 
{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"} 
-device 
{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"} 
-device 
{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"} 
-device 
{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"} 
-device 
{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"} 
-device 
{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"} 
-device 
{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"} 
-device 
{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"} 
-device 
{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"} 
-device 
{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"} 
-device 
{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"} 
-device 
{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"} 
-blockdev 
{"driver":"file","filename":"/home/machines_virtuelles/win11.qcow2","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap"} 
-blockdev 
{"node-name":"libvirt-3-format","read-only":false,"driver":"qcow2","file":"libvirt-3-storage","backing":null} 
-device 
{"driver":"ide-hd","bus":"ide.0","drive":"libvirt-3-format","id":"sata0-0-0","bootindex":1} 
-blockdev 
{"driver":"file","filename":"/home/didier/Programs/Win11_23H2_French_x64.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"} 
-blockdev 
{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"} 
-device 
{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-2-format","id":"sata0-0-1"} 
-blockdev 
{"driver":"file","filename":"/home/didier/Programs/virtio-win-0.1.240.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"} 
-blockdev 
{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"} 
-device 

Re: virt-manager (qemu/kvm) et virtiofs

2024-06-12 Thread didier gaumet

Le 12/06/2024 à 14:14, BERTRAND Joël a écrit :

didier gaumet a écrit :

[...]

- tu ne sembles pas avoir instancié le périphérique ("instantiate the
character device" dans la doc ci-dessus)?


L’instanciation est faite (sauf que la VM cherche à se connecter à une
socket créée par virtiofsd qui n'est jamais créée parce que virtiofsd
n'est jamais lancé...).


Ben c'est très possiblement moi qui ne comprend pas bien mais d'un autre 
côté je suis perplexe:
- tu sembles dire que virtiofsd dans ton contexte (création machine mar 
virtmanager mais lancement qemu à la main si je suis bien) doit être 
lancé automatiquement suite au démarrage de ta machine virtuelle lancée 
par la commande qemu avec les paramètres que tu as cités
- par contre l'exemple du lien précédent semble indiquer que virtiofsd 
doit être lancé préalablement au lancement de la commande qemu, commande 
qemu dont les paramètres doivent comporter les éléments nécessaires à 
l'instanciation du "character device for socket" (du style: -chardev 
socket,id=char0,path=/tmp/virtiofs_socket ) et à l'instanciation du 
"virtiofs PCI device" (du style: -device 
vhost-user-fs-pci,queue-size=1024,chardev=char0,tag=my_virtiofs).

Deux instanciations.
- le partage mémoire ("Memory Backing" dans le lien précité) semble 
indispensable


oui, désolé, dans mon message précédent je ne parlais que de 
l'instanciation pour le socket et pas pour le port PCI.


si virtiofsd n'est pas préalablement lancé et si les deux instanciations 
ne sont pas faites dans la commandes de lancement Qemu, ça résulte 
peut-être en ton message d'erreur (connexion socket refusée)?


Je viens de modifier dans virtmanager mon Win11 virtualisé pour lui 
ajouter un dossier d'échange commun Debian/Win11,


=> chez moi ça marche.

si ça peut te dépanner, je te file les procs qemu et virtiofs qui 
tournent, lancés par virtmanager, pour que tu voies les paramètres qui 
fonctionnent chez moi:


bus":"pcie.0","addr":"0x2.0x2"} -device 
{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"} 
-device 
{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"} 
-device 
{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"} 
-device 
{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"} 
-device 
{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"} 
-device 
{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"} 
-device 
{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"} 
-device 
{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"} 
-device 
{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"} 
-device 
{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"} 
-device 
{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"} 
-device 
{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"} 
-device 
{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"} 
-blockdev 
{"driver":"file","filename":"/home/machines_virtuelles/win11.qcow2","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap"} 
-blockdev 
{"node-name":"libvirt-3-format","read-only":false,"driver":"qcow2","file":"libvirt-3-storage","backing":null} 
-device 
{"driver":"ide-hd","bus":"ide.0","drive":"libvirt-3-format","id":"sata0-0-0","bootindex":1} 
-blockdev 
{"driver":"file","filename":"/home/didier/Programs/Win11_23H2_French_x64.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"} 
-blockdev 
{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"} 
-device 
{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-2-format","id":"sata0-0-1"} 
-blockdev 
{"driver":"file","filename":"/home/didier/Programs/virtio-win-0.1.240.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"} 
-blockdev 
{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"} 
-device 
{"driver":"ide-cd","bus":"ide.2","drive":"libvirt-1-format","id":"sata0-0-2"} 
-chardev 
socket,id=chr-vu-fs0,path=/var/lib/libvirt/qemu/domain-3-win11/fs0-fs.sock 
-device 
{"driver":"vhost-user-fs-pci","id":"fs0","chardev":"chr-vu-fs0","tag":"C:\\coucou","bus":"pci.5","addr":"0x0"} 
-netdev {"type":"tap","fd":"34","id":"hostnet0"} -device 
{"driver":"e1000e","netdev":"hostnet0","id":"net0","mac":"52:54:00:e0:e1:33","bus":"pci.1","addr":"0x0"} 
-chardev pty,id=charserial0 -device 
{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0} 
-chardev spicevmc,id=charchannel0,name=vdagent -device 

Re: App Banco Itau

2024-06-12 Thread Atenágoras Silva
Não sou cliente do banco, mas é possível que o acesso à sua conta no
computador seja possível apenas através do navegador.
Para isso, muito provavelmente, será necessário instalar um software
chamado "warsaw", de uma empresa chamada "GAS tecnologia".
Os procedimentos para isso devem ser feitos junto ao suporte do banco (O
Banco do Brasil tem um suporte para isso).
Mas eu recomendo que, se usar o computador, instale o warsaw em uma máquina
virtual e acesse o banco a partir dela, pois este software roda como um
daemon com permissões de root o tempo todo, mesmo que você não esteja
acessando o banco.

Em qua., 12 de jun. de 2024 às 09:08, Vitor Hugo 
escreveu:

> Bom dia,
>
> Gostaria de saber se é possível utilizar o banco Itau no Debian?
>
> Se alguém aqui na lista utiliza e se funciona bem.
>
> Estou utilizando o APP do Itau e alguma coisas só funcionam la.
>
> Existem versão para Linux ou teria como utilizar um emulador para
> utiliza-la?
>
> Obrigado;
>
>


Re: [OT] - Software para leer data loggers

2024-06-12 Thread Jorge Abel Secreto
El mié, 12 jun 2024 a la(s) 5:13 a.m., Camaleón (noela...@gmail.com) escribió:
>
> El 2024-06-11 a las 12:41 -0300, Jorge Abel Secreto escribió:
>
> > Hola!!
> > Disculpen que moleste con esto.
> > Estoy tratando de leer los registros de un data logger de temperaturas
> > TESTO 174T desde Debian 12.
> > El sistema lo ve asi:
> > usb 1-3: new full-speed USB device number 4 using xhci_hcd
> > usb 1-3: New USB device found, idVendor=128d, idProduct=0013, bcdDevice= 
> > 6.00
> > usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> > usb 1-3: Product: testo 174-2010
> > usb 1-3: Manufacturer: Testo SE & Co. KGaA
> > El fabricante provee un programa para Windows pero me gustaría poder
> > hacerlo desde Linux.
>
> Pídeselo ;-)
>
> ***
> https://static.testo.com/image/upload/Instruction-manual-and-Software/Instruction-manuals/testo-comfort-software-basic-5-manual-de-instrucciones.pdf
>
> 3.2. Requisitos del sistema
>
> Sistema operativo
>
> El software funciona con los siguientes sistemas operativos:
>
> • Windows ® 10
> • Windows ® 11
> • Otros: a pedido
>   ^^^
> ***
>
> > Las busquedas por "linux data logger testo 174" me traen referencias a
> > la página oficial o a paginas de vendedores del aparato.
> > Buscando en Synaptic no encuentro nada que parezca servir.
> > ¿Estoy buscando mal?
> > ¿Alguno de ustedes usa algo que me pueda servir?
>
> Máquina virtual o emulador (Wine).
>
> Para estos casos no se me ocurre nada más, son aplicaciones
> propietarias desarrolladas para un producto concreto, propietario, así
> que mal asunto :-(
>
> Saludos,
>
> --
> Camaleón
>

Muchas gracias por las respuestas
Tendré que mantener un Win andando para leer este aparato.
No tengo la esperanza de que los de Testo me den el protocolo de
comunicación :-P
Encima tenemos un solo registrador, no justifica ningún desarrollo.
Como de costumbre siempre hay cosas mas urgentes :-/
Nuevamente muchas gracias por su atención,
Abrazos

-- 
Jorge A Secreto
Analista de Sistemas
MP 361



Re: OFF-TOPIC - cyberseguranca

2024-06-12 Thread luigui

Bom dia Vitor,

nao sei se classificaria completamente como OFF-TOPIC

Visto que configuracoes em nossas distros Debian poderao oportunamente 
serem criadas sobre programas que venham a auxiliar no reconhecimento de 
chamadas.


Nao estendendo, mas ja sao criadas antenas domesticas por agressores que 
conseguem contornar os protocolos de comunicacao e seguranca das 
operadoras estabelecendo conexoes mal intencionadas.


Mas presumo que razao possa lhe assistir.

Grato pelo retorno.


On 12/06/2024 07:41, Vitor Hugo wrote:

Bom dia,

Isto é um OFF-TOPIC.

Desconheço esse tipo de ataque, mas teoricamente se para isto 
funcionar deveria ser feito por uma chamada pela internet, acredito 
que somente por voz sem internet isso não seja possível.


Porem sei que aqui na lista possuem pessoas muito informadas e 
esclarecidas com conhecimentos técnicos de primeira linha que possam 
lhe ajudar mais.



Em 11/06/2024 23:03, luiz gil escreveu:

Boa noite aos amigos!
Peco que retornem alguma experiencia ou mesmo uma ciencia de qualquer 
natureza do abaixo enunciado como, leitura, conversas com experts ou 
afins.

Desculpem pelo topico ser talvez de baixa correlacao desta lista.


E' possível que apenas ao receber uma chamada sem dizer uma palavra 
ao agressor, você possa ter seu telefone infectado. Esse tipo de 
ataque é conhecido como ataque de "chamada perdida" ou "chamada 
silenciosa". Nesse cenário, os hackers exploram vulnerabilidades nos 
sistemas de comunicação dos dispositivos para enviar uma chamada 
aparentemente inofensiva, mas que na verdade contém códigos maliciosos.


Quando você atende a chamada, mesmo sem falar nada, os códigos 
maliciosos podem ser executados automaticamente no seu dispositivo, 
explorando alguma vulnerabilidade do sistema operacional ou de um 
aplicativo. Esses códigos podem instalar malware no seu telefone, 
roubar informações pessoais, controlar remotamente o dispositivo, 
entre outras ações prejudiciais.


Portanto, é importante ter em mente que, mesmo sem interagir 
verbalmente com o agressor durante uma chamada, seu telefone ainda 
pode estar em risco se houver uma exploração de vulnerabilidade 
através dessa chamada. Manter o software do seu dispositivo 
atualizado, evitar atender chamadas de números desconhecidos e usar 
aplicativos de segurança confiáveis podem ajudar a mitigar esses riscos.


--
Atenciosamente,
Luiz Carlos Proenca Gil
null

Re: virt-manager (qemu/kvm) et virtiofs

2024-06-12 Thread BERTRAND Joël
didier gaumet a écrit :
> Le 12/06/2024 à 10:31, BERTRAND Joël a écrit :
>> Bonjour à tous,
>>
>> Je dois faire quelques tests avec une imprimante 3D et un logiciel ne
>> fonctionnant que sous Windows. J'ai donc installé W10 dans une machine
>> virtuelle (virtmanager). Le réseau fonctionne bien. J'aimerais
>> maintenant pouvoir partager un disque réseau avec virtiofs (virtio-9P ne
>> semble pas fonctionner).
>>
>> Je me prends l'erreur suivante :
>>
>> Erreur lors du démarrage du domaine: internal error: process exited
>> while connecting to monitor: 2024-06-12T08:29:18.308752Z
>> qemu-system-x86_64: -chardev
>> socket,id=chr-vu-fs0,path=/home/bertrand/.config/libvirt/qemu/lib/domain-11-win10/fs0-fs.sock:
>>
>> Failed to connect to
>> '/home/bertrand/.config/libvirt/qemu/lib/domain-11-win10/fs0-fs.sock':
>> Connection refused
>>
>> Très bien. Sauf que /usr/lib/qemu/virtiofsd est bien présent (avec un
>> lien sur /usr/libexec/virtiofsd). Je ne peux pas lancer le daemon à la
>> main, le répertoire de la socket changeant à chaque fois.
>>
>> Dans le fichier XML de définition des disques, j'ai bien la chose
>> suivante :
>>
>> 
>>    
>>    
>>    
>>    
>>    > function="0x0"/>
>> 
>>
>> Ma question est donc simple (et je viens de googliser durant
>> plusieurs
>> heures sans trouver de solution) : comment faire démarrer virtiofsd lors
>> du démarrage de la machine virtuelle ?
>>
>> Merci de vos lumières,
>>
>> JB
>>
> 
> Bonjour,
> 
> il y a un mode opératoire ici:
> https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Virtiofs:-Shared-file-system
> 
> 
> si je comprends correctement (c'est pas sûr):
> - il te manque peut-être les éléments WinFSP et VirtioWin dans l'invité
> Windows?

Non, mais de toute façon, c'est hors de propos puisque la machine
virtuelle refuse de démarrer.

> - tu ne sembles pas avoir instancié le périphérique ("instantiate the
> character device" dans la doc ci-dessus)?

L’instanciation est faite (sauf que la VM cherche à se connecter à une
socket créée par virtiofsd qui n'est jamais créée parce que virtiofsd
n'est jamais lancé...).

Bien cordialement,

JB



signature.asc
Description: OpenPGP digital signature


Re: [OT] Re: LibreOffice - Thunderbird - Windows 10 - [SOLUCIONADO]

2024-06-12 Thread Javier ArgentinaBBAR
El mar, 11 jun 2024 a las 14:23, Camaleón () escribió:
>
> El 2024-06-11 a las 08:50 -0300, Javier ArgentinaBBAR escribió:
>
> (corrijo el top-posting)
>
> > El mié, 29 may 2024 a las 14:23, Camaleón () escribió:
> > >
> > > El 2024-05-29 a las 09:45 -0300, Javier ArgentinaBBAR escribió:
> > >
> > > (...)
> > >
> > > > Me explico:
> > > > Creo un documento en LibreOffice Calc o Writer, y cuando pico Archivo,
> > > > Enviar, Enviar documento por correo, el maldito abre Outlook y no
> > > > Thunderbird.
> > >
> > > (...)
> > >
> > > Preguntonta...
> > >
> > > ¿Has probado a definir manualmente la ruta al ejecutable de la aplicación
> > > (Thunderbird)?
> > >
> > > 
> > > https://help.libreoffice.org/24.2/en-US/text/shared/guide/email.html
> > >
> > > Sending Documents as Email
> > >
> > > Working in LibreOffice, you can send the current document as an email
> > > attachment.
> > >
> > > Choose File - Send - Email Document.
> > >
> > > LibreOffice opens your default email program. If you want to send
> > > the current document with another email program, you can select the
> > > program to use with Internet - Email in the Options dialog box.
> > >
> > > In your email program, enter the recipient, subject and any text
> > > you want to add, then send the email.
> > >
> > > 
> > >
> > > Nota: a veces, volver a instalar la aplicación (Thunderbird) soluciona
> > > el problema «mágicamente» debido a que, al ser la última que registra
> > > el SO (y más concretamete en Windows), la «predetermina», por así decir.
> > >
> > > Saludos,
>
> > Buen día.
> >
> > Vuelvo a la carga.
> > En un Debian, tengo exactamente la misma versión de LibreOffice que en
> > Windows, 24.2.3.2.
> > En Debian, en "Opciones", "Internet", entre "Proxy" y "Media wiki" hay
> > una opción "Correo electrónico", que en la versión Windows, brilla por
> > su ausencia.
> > En la guía de Libre Office
> > https://documentation.libreoffice.org/assets/Uploads/Documentation/es/GS62/PDF/GS6202-ConfigurarLibreOffice.pdf
> > página 31, figura 29 se puede ver.
> > A continuación dice " En Windows se usa el programa predeterminado
> > para el envío de correo electrónico del sistema operativo."
> > Lo cual, a todas luces, no funciona.
> >
> > Si alguien tiene alguna idea de dónde escarbar en el registro, que es
> > donde huelo que está el problema, se agradece la ayuda.
>
> Si en Windows LO depende de la aplicación predeterminada en el sistema,
> sólo se me ocurre que Outlook esté fagocitando a Thundebird respecto a
> la configuración del soporte MAPI, de ahí que LO le dé preferencia.
>
> Revisa esta KB por si te diera alguna pista:
>
> MAPI Support
> http://kb.mozillazine.org/MAPI_Support
>
> Saludos,
>
> --
> Camaleón
>

Buen día.

Camaleón, gracias una vez más.
Revolviendo el sistema basándome en lo que enviaste, la solución fue
"muy a lo Windows".

Esto es válido para Windows 10:
1 - Desinstalar Thundebird. No preocuparse, no borra los datos del
usuario, sólo desinstala el programa.
2 - Desinstalar Office 365 Pro 2021.
3 - Reiniciar sistema.
4 - Desde fuera del sistema, con SystemRescueCD, renombrar
c:\Windows\System32\mapi32.dll
5 - Iniciar Windows 10, y ejecutar c:\Windows\System32\fixmapi.exe
6 - Reiniciar Windows 10.
7 - Instalar Office 365 Pro 2021.
8 - Instalar Thunderbird.
9 - Ejecutar "Inicio", "Aplicaciones predeterminadas".
10 - Picar en "Establecer valores predeterminados por aplicación".
11 - Buscar los tres "Thunderbird", picarlos y seleccionar "Administrar".
12 - Seleccionar y asociar TODO a Thunderbird.
13 - NO EJECUTAR THUNDERBIRD hasta reiniciar.
14 - Reiniciar Windows.

Por fin funciona la opción "Archivo", "Enviar documento por correo" de
Libre Office Writer y Calc.
Si bien no lo probé, ESTIMO que no se debe instalar Office 365 después
de Thunderbird, porque al ser un paquete generalista, que incluye
Outlook y no permite seleccionar qué programas instalar y cuáles no,
tengo la impresión que pisa todo.

Saludos y gracias a todos.

JAP



Re: OFF-TOPIC - cyberseguranca

2024-06-12 Thread Vitor Hugo

Bom dia,

Isto é um OFF-TOPIC.

Desconheço esse tipo de ataque, mas teoricamente se para isto funcionar 
deveria ser feito por uma chamada pela internet, acredito que somente 
por voz sem internet isso não seja possível.


Porem sei que aqui na lista possuem pessoas muito informadas e 
esclarecidas com conhecimentos técnicos de primeira linha que possam lhe 
ajudar mais.



Em 11/06/2024 23:03, luiz gil escreveu:

Boa noite aos amigos!
Peco que retornem alguma experiencia ou mesmo uma ciencia de qualquer 
natureza do abaixo enunciado como, leitura, conversas com experts ou 
afins.

Desculpem pelo topico ser talvez de baixa correlacao desta lista.


E' possível que apenas ao receber uma chamada sem dizer uma palavra ao 
agressor, você possa ter seu telefone infectado. Esse tipo de ataque é 
conhecido como ataque de "chamada perdida" ou "chamada silenciosa". 
Nesse cenário, os hackers exploram vulnerabilidades nos sistemas de 
comunicação dos dispositivos para enviar uma chamada aparentemente 
inofensiva, mas que na verdade contém códigos maliciosos.


Quando você atende a chamada, mesmo sem falar nada, os códigos 
maliciosos podem ser executados automaticamente no seu dispositivo, 
explorando alguma vulnerabilidade do sistema operacional ou de um 
aplicativo. Esses códigos podem instalar malware no seu telefone, 
roubar informações pessoais, controlar remotamente o dispositivo, 
entre outras ações prejudiciais.


Portanto, é importante ter em mente que, mesmo sem interagir 
verbalmente com o agressor durante uma chamada, seu telefone ainda 
pode estar em risco se houver uma exploração de vulnerabilidade 
através dessa chamada. Manter o software do seu dispositivo 
atualizado, evitar atender chamadas de números desconhecidos e usar 
aplicativos de segurança confiáveis podem ajudar a mitigar esses riscos.


--
Atenciosamente,
Luiz Carlos Proenca Gil




Re: Please help me identify package so I can report an important bug

2024-06-12 Thread Richard
Question is, does it make that much sense to report it to Debian directly?
Are you encountering this issue on Debian itself or
Armbian/Raspbian/whatever? You reported this to the Raspberry Pi GitHub, so
I'd expect them to take this up with the upstream devs themselves, so by
the time Trixie is being released, it may already be included.

But besides that, what you describe in the first link sounds to me not like
a bug, but as a well thought-through decision. Network adapter names like
eth0 have been dropped with Debian 11 (I think, maybe even 10). So don't
get your hopes up too high to ever see this coming back. But also, just
searching the web for this topic, you should have come across this
answering your questions: https://wiki.debian.org/NetworkInterfaceNames

Richard

Am Mi., 12. Juni 2024 um 12:43 Uhr schrieb Peter Goodall <
pjgood...@gmail.com>:

> Hello,
>
> This  bug, or a close relative, has already been reported in
> https://github.com/raspberrypi/bookworm-feedback/issues/239
> as 'Predictable network names broken for ASIX USB ethernet in kernel
> 6.6.20'
>
> I added a comment reporting my experience in Proxmox here:
>
> https://github.com/raspberrypi/bookworm-feedback/issues/239#issuecomment-2162166863
>
> Because it happens in proxmox and rpi I assume its Debian or higher. I
> have not reported a Debian bug before...
>
> Thanks,
> --Peter G
>


App Banco Itau

2024-06-12 Thread Vitor Hugo

Bom dia,

Gostaria de saber se é possível utilizar o banco Itau no Debian?

Se alguém aqui na lista utiliza e se funciona bem.

Estou utilizando o APP do Itau e alguma coisas só funcionam la.

Existem versão para Linux ou teria como utilizar um emulador para 
utiliza-la?


Obrigado;



Having ten thousands of mount bind causes various processes to go into loops

2024-06-12 Thread Julien Petit
Dear,

Not sure i should report a bug so here is a report first. For more
than 10 years now, we've been using mount binds to create shares rw or
ro. It's been working perfectly under older Debian. A few months ago,
we migrated to Ubuntu Jammy and started having processes running 100%
non stop. While examining the processes in question, we could see the
same thing: it seemed to be reading all the mounts indefinitely.
It started with the phpsessionclean.service. We managed to fix it
editing /lib/systemd/system/phpsessionclean.service and disabling
sandboxing entries. But then it started to happen with other
processes.
Anything related to systemd seems affected in a way. For instance, we
cannot start haproxy if the mounts are mounted.
We tested with the last Debian and it is affected too.

We understand that 14 000 mounts is a lot. So maybe our usage will be
questioned. But this has been working for ages so why not now?

The problem can be very easily reproduced:

1. Launch the latest Debian stable
2. Execute the following script to create mounts:
#!/bin/bash
mkdir /home/test/directories
mkdir /home/test/mounts

for i in {1..14000}
do
   echo "Mounting dir $i"
   mkdir "/home/test/directories/dir_$i"
   mkdir "/home/test/mounts/dir_$i"
   mount --bind -o rw "/home/test/directories/dir_$i" "/home/test/mounts/dir_$i"
done

After that, the "top" command will show processes getting stuck using
100% of CPU never ending.

Has anyone a clue if this is fixable? Should i report a bug?
Thanks for your help.



Re: virt-manager (qemu/kvm) et virtiofs

2024-06-12 Thread didier gaumet

Le 12/06/2024 à 10:31, BERTRAND Joël a écrit :

Bonjour à tous,

Je dois faire quelques tests avec une imprimante 3D et un logiciel ne
fonctionnant que sous Windows. J'ai donc installé W10 dans une machine
virtuelle (virtmanager). Le réseau fonctionne bien. J'aimerais
maintenant pouvoir partager un disque réseau avec virtiofs (virtio-9P ne
semble pas fonctionner).

Je me prends l'erreur suivante :

Erreur lors du démarrage du domaine: internal error: process exited
while connecting to monitor: 2024-06-12T08:29:18.308752Z
qemu-system-x86_64: -chardev
socket,id=chr-vu-fs0,path=/home/bertrand/.config/libvirt/qemu/lib/domain-11-win10/fs0-fs.sock:
Failed to connect to
'/home/bertrand/.config/libvirt/qemu/lib/domain-11-win10/fs0-fs.sock':
Connection refused

Très bien. Sauf que /usr/lib/qemu/virtiofsd est bien présent (avec un
lien sur /usr/libexec/virtiofsd). Je ne peux pas lancer le daemon à la
main, le répertoire de la socket changeant à chaque fois.

Dans le fichier XML de définition des disques, j'ai bien la chose
suivante :


   
   
   
   
   


Ma question est donc simple (et je viens de googliser durant plusieurs
heures sans trouver de solution) : comment faire démarrer virtiofsd lors
du démarrage de la machine virtuelle ?

Merci de vos lumières,

JB



Bonjour,

il y a un mode opératoire ici:
https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Virtiofs:-Shared-file-system

si je comprends correctement (c'est pas sûr):
- il te manque peut-être les éléments WinFSP et VirtioWin dans l'invité 
Windows?
- tu ne sembles pas avoir instancié le périphérique ("instantiate the 
character device" dans la doc ci-dessus)?





virt-manager (qemu/kvm) et virtiofs

2024-06-12 Thread BERTRAND Joël
Bonjour à tous,

Je dois faire quelques tests avec une imprimante 3D et un logiciel ne
fonctionnant que sous Windows. J'ai donc installé W10 dans une machine
virtuelle (virtmanager). Le réseau fonctionne bien. J'aimerais
maintenant pouvoir partager un disque réseau avec virtiofs (virtio-9P ne
semble pas fonctionner).

Je me prends l'erreur suivante :

Erreur lors du démarrage du domaine: internal error: process exited
while connecting to monitor: 2024-06-12T08:29:18.308752Z
qemu-system-x86_64: -chardev
socket,id=chr-vu-fs0,path=/home/bertrand/.config/libvirt/qemu/lib/domain-11-win10/fs0-fs.sock:
Failed to connect to
'/home/bertrand/.config/libvirt/qemu/lib/domain-11-win10/fs0-fs.sock':
Connection refused

Très bien. Sauf que /usr/lib/qemu/virtiofsd est bien présent (avec un
lien sur /usr/libexec/virtiofsd). Je ne peux pas lancer le daemon à la
main, le répertoire de la socket changeant à chaque fois.

Dans le fichier XML de définition des disques, j'ai bien la chose
suivante :


  
  
  
  
  


Ma question est donc simple (et je viens de googliser durant plusieurs
heures sans trouver de solution) : comment faire démarrer virtiofsd lors
du démarrage de la machine virtuelle ?

Merci de vos lumières,

JB



signature.asc
Description: OpenPGP digital signature


Re: [OT] - Software para leer data loggers

2024-06-12 Thread Camaleón
El 2024-06-11 a las 12:41 -0300, Jorge Abel Secreto escribió:

> Hola!!
> Disculpen que moleste con esto.
> Estoy tratando de leer los registros de un data logger de temperaturas
> TESTO 174T desde Debian 12.
> El sistema lo ve asi:
> usb 1-3: new full-speed USB device number 4 using xhci_hcd
> usb 1-3: New USB device found, idVendor=128d, idProduct=0013, bcdDevice= 6.00
> usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> usb 1-3: Product: testo 174-2010
> usb 1-3: Manufacturer: Testo SE & Co. KGaA
> El fabricante provee un programa para Windows pero me gustaría poder
> hacerlo desde Linux.

Pídeselo ;-)

***
https://static.testo.com/image/upload/Instruction-manual-and-Software/Instruction-manuals/testo-comfort-software-basic-5-manual-de-instrucciones.pdf

3.2. Requisitos del sistema

Sistema operativo

El software funciona con los siguientes sistemas operativos:

• Windows ® 10
• Windows ® 11
• Otros: a pedido
  ^^^
***

> Las busquedas por "linux data logger testo 174" me traen referencias a
> la página oficial o a paginas de vendedores del aparato.
> Buscando en Synaptic no encuentro nada que parezca servir.
> ¿Estoy buscando mal?
> ¿Alguno de ustedes usa algo que me pueda servir?

Máquina virtual o emulador (Wine).

Para estos casos no se me ocurre nada más, son aplicaciones 
propietarias desarrolladas para un producto concreto, propietario, así 
que mal asunto :-(

Saludos,

-- 
Camaleón 



Re: descargar versiones anteriores

2024-06-12 Thread Camaleón
El 2024-06-12 a las 03:36 +0200, Juaan Carrlos Rebate escribió:

> Disculpad por el HTML, envío el correo desde Windows y no hay forma de 
> eliminar el formato. 

¿?

Se llama «formato texto plano», todos los clientes lo tienen, hasta los 
malogrados webmail.

> Fernando, gracias por tu respuesta pero te comento 
> que ni jigdo-file ni lite están en los repos

(...)

El paquete estar, está:

https://packages.debian.org/bullseye/jigdo-file
https://tracker.debian.org/pkg/jigdo

sm01@stt008:~$ apt-cache search jigdo-file
jigdo-file - Download Debian CD/DVD/USB images from any Debian mirror

sm01@stt008:~$ uname -a
Linux stt008 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64 
GNU/Linux

Revisa tu configuración y repositorios.

Saludos,

-- 
Camaleón 



Please help me identify package so I can report an important bug

2024-06-12 Thread Peter Goodall
Hello,

This  bug, or a close relative, has already been reported in
https://github.com/raspberrypi/bookworm-feedback/issues/239
as 'Predictable network names broken for ASIX USB ethernet in kernel 6.6.20'

I added a comment reporting my experience in Proxmox here:
https://github.com/raspberrypi/bookworm-feedback/issues/239#issuecomment-2162166863

Because it happens in proxmox and rpi I assume its Debian or higher. I have
not reported a Debian bug before...

Thanks,
--Peter G


Re: DNS query question

2024-06-11 Thread Geert Stappers
On Wed, Jun 12, 2024 at 06:42:04AM +0200, Marco Moock wrote:
> Am 12.06.2024 um 10:51:45 Uhr schrieb Jeff Peng:
> > Hello list,
> > 
> > I have made a successful query in one of my VPS as the following.
> > 
> > ~$ dig 235.84.36.104.zen.spamhaus.org
> > ;; QUESTION SECTION:
> > ;235.84.36.104.zen.spamhaus.org.IN  A
> > 
> > ;; ANSWER SECTION:
> > 235.84.36.104.zen.spamhaus.org. 852 IN  A   127.0.0.10
> > 
> > ;; Query time: 0 msec
> > ;; SERVER: 127.0.0.53#53(127.0.0.53)
> > 
> > 
> > But, the same query wouldn't success in another VPS as follows.
> > 
> > $ dig 235.84.36.104.zen.spamhaus.org
> > ;; QUESTION SECTION:
> > ;235.84.36.104.zen.spamhaus.org.IN  A
> > 
> > ;; Query time: 1 msec
> > ;; SERVER: 127.0.0.53#53(127.0.0.53)
> > 
> > 
> > The returned result is "NXDOMAIN".
> > 
> > Both nodes use systemd-resolve as DNS subresolver.
> > 
> > Do you know what's the reason behind this?
> 
> Spamhaus restricts queries from public resolvers.
> https://www.spamhaus.org/resource-hub/email-security/if-you-query-the-legacy-dnsbls-via-digitalocean-move-to-spamhaus-technologys-free-data-query-service/#the-headlines-for-those-in-a-hurry
> 
> 
> > Thanks.

Thanks for keeping context
Thanks for noting that response text is below previous text. Yes, keep
the discussion order.


Regards
Geert Stappers
Aware of people in different time zones
Creating awareness for that not all messages are read
Asking for standalone messages
-- 
Silence is hard to parse



Re: DNS query question

2024-06-11 Thread Marco Moock
Am 12.06.2024 um 10:51:45 Uhr schrieb Jeff Peng:

> Do you know what's the reason behind this?

Spamhaus restricts queries from public resolvers.
https://www.spamhaus.org/resource-hub/email-security/if-you-query-the-legacy-dnsbls-via-digitalocean-move-to-spamhaus-technologys-free-data-query-service/#the-headlines-for-those-in-a-hurry


-- 
Gruß
Marco

Send unsolicited bulk mail to 1718182305mu...@cartoonies.org



DNS query question

2024-06-11 Thread Jeff Peng

Hello list,

I have made a successful query in one of my VPS as the following.

~$ dig 235.84.36.104.zen.spamhaus.org

; <<>> DiG 9.16.48-Ubuntu <<>> 235.84.36.104.zen.spamhaus.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2160
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;235.84.36.104.zen.spamhaus.org.IN  A

;; ANSWER SECTION:
235.84.36.104.zen.spamhaus.org. 852 IN  A   127.0.0.10

;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Wed Jun 12 02:45:16 UTC 2024
;; MSG SIZE  rcvd: 75



But, the same query wouldn't success in another VPS as follows.

$ dig 235.84.36.104.zen.spamhaus.org

; <<>> DiG 9.16.1-Ubuntu <<>> 235.84.36.104.zen.spamhaus.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 15831
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;235.84.36.104.zen.spamhaus.org.IN  A

;; Query time: 1 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Wed Jun 12 10:45:41 HKT 2024
;; MSG SIZE  rcvd: 59


The returned result is "NXDOMAIN".

Both nodes use systemd-resolve as DNS subresolver.

Do you know what's the reason behind this?

Thanks.



Re: [OT] - Software para leer data loggers

2024-06-11 Thread Eduardo Jorge Gil Michelena
 El martes, 11 de junio de 2024, 12:42:23 p. m. ART, Jorge Abel Secreto 
 escribió:

Estoy tratando de leer los registros de un data logger de temperaturas
TESTO 174T desde Debian 12.
El sistema lo ve asi:
usb 1-3: new full-speed USB device number 4 using xhci_hcd
usb 1-3: New USB device found, idVendor=128d, idProduct=0013, bcdDevice= 6.00
usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-3: Product: testo 174-2010
usb 1-3: Manufacturer: Testo SE & Co. KGaA
El fabricante provee un programa para Windows pero me gustaría poder
hacerlo desde Linux.
Las busquedas por "linux data logger testo 174" me traen referencias a
la página oficial o a paginas de vendedores del aparato.
Buscando en Synaptic no encuentro nada que parezca servir.
¿Estoy buscando mal?
¿Alguno de ustedes usa algo que me pueda servir?
--
Jorge A Secreto
-

RESPUESTA:

Difícil (no imposible pero casi) que en Synaptic encuentres algo específico.

Te quedan dos (o tres) alternativas:
A) Usar el programa provisto por el fabricante mediante WINE o maquina virtual 
con Windows

B) Intentar "entrar" por el USB a los archivos del aparato y tratar de tomar 
los datos de allí

C) LLamar al fabricante para que te indique la forma en que el aparato guarda 
los datos y la forma de manejo de ellos. Luego,,, tendrás que hacer un 
`programejo para usar los datos.

Sino...
Considera usar un Raspberry Pi con sensor de temperatura... incluso te puede 
salir más barato hacer el aparato.  

cyberseguranca

2024-06-11 Thread luiz gil
Boa noite aos amigos!
Peco que retornem alguma experiencia ou mesmo uma ciencia de qualquer
natureza do abaixo enunciado como, leitura, conversas com experts ou afins.
Desculpem pelo topico ser talvez de baixa correlacao desta lista.


E' possível que apenas ao receber uma chamada sem dizer uma palavra ao
agressor, você possa ter seu telefone infectado. Esse tipo de ataque é
conhecido como ataque de "chamada perdida" ou "chamada silenciosa". Nesse
cenário, os hackers exploram vulnerabilidades nos sistemas de comunicação
dos dispositivos para enviar uma chamada aparentemente inofensiva, mas que
na verdade contém códigos maliciosos.

Quando você atende a chamada, mesmo sem falar nada, os códigos maliciosos
podem ser executados automaticamente no seu dispositivo, explorando alguma
vulnerabilidade do sistema operacional ou de um aplicativo. Esses códigos
podem instalar malware no seu telefone, roubar informações pessoais,
controlar remotamente o dispositivo, entre outras ações prejudiciais.

Portanto, é importante ter em mente que, mesmo sem interagir verbalmente
com o agressor durante uma chamada, seu telefone ainda pode estar em risco
se houver uma exploração de vulnerabilidade através dessa chamada. Manter o
software do seu dispositivo atualizado, evitar atender chamadas de números
desconhecidos e usar aplicativos de segurança confiáveis podem ajudar a
mitigar esses riscos.
-- 
Atenciosamente,
Luiz Carlos Proenca Gil


RE: descargar versiones anteriores

2024-06-11 Thread Juaan Carrlos Rebate
 De: Fernando C. EstradaEnviado: lunes, 10 de junio de 2024 23:12Para: debian-user-spanish@lists.debian.orgAsunto: RE: descargar versiones anteriores El lunes, 10 de junio de 2024 a las 11:39 AM, Juaan Carrlos Rebate  escribió:No importa que instrucciones seguir, todas están obsoletas, incluyendo la oficial https://www.debian.org/CD/jigdo-cd/ tanto en tus instrucciones como en las oficiales, indica que el paquete jigdo está en los repos, pero no, no está.jc@debian:~$ sudo apt install jigdo-liteNo considero que la documentación esté obsoleta, ya que literalmente indica [0]: "Descargue un paquete que contenga jigdo-lite, que está disponible para instalación directa en las distribuciones Debian y Ubuntu en el paquete jigdo-file."En otras palabras, debes instalar jigdo-file (sudo apt install jigdo-file), ya que es el paquete que contiene el comando jigdo-lite que buscas.[0] https://www.debian.org/CD/jigdo-cd/index.es.htmlSaludos,Disculpad por el HTML, envío el correo desde Windows y no hay forma de eliminar el formato. Fernando, gracias por tu respuesta pero te comento que ni jigdo-file ni lite están en los repos  jc@debian:~$ sudo apt install jigdo-file[sudo] password for jc:Leyendo lista de paquetes... HechoCreando árbol de dependencias... HechoLeyendo la información de estado... HechoE: No se ha podido localizar el paquete jigdo-filejc@debian:~$ apt-cache search jigdojc@debian:~$el sistema está actualizadojc@debian:~$ uname -aLinux debian 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64 GNU/LinuxLos repos son los que venían con la instalación.


Re: info vs. man (was: Re: date for week)

2024-06-11 Thread Greg Wooledge
On Tue, Jun 11, 2024 at 11:22:17PM +0700, Max Nikulin wrote:
> On 11/06/2024 06:45, Greg Wooledge wrote:
> > Should you ever feel a need to read the longer version of the
> > documentation, it's in GNU info pages.  So you would need to type
> > the command "info coreutils date" to get to it.  And then you'd need
> > to figure out the user interface of the "info" program, which is not
> > intuitive unless you happen to be an emacs power user already.
> 
> Emacs power users can type
> M-x info RET
> or
> M-: (info "(coreutils) date conversion specifiers") RET
> or at least
> emacs -f info-standalone '(coreutils) date conversion specifiers'
> 
> I do not mind that info browsers have usability issues. For beginners I
> would recommend tkinfo instead of terminal "info". I have not tried pinfo.
> 
> Texinfo, unlike man, has a notion of hyperlink. In the case of man it is
> just formatting that suggests that some part of text is a reference to
> another document or another section.

See, this is all fine -- you've searched for the appropriate section, and
you've generated a cryptic command that someone else could type inside
emacs to get to that same section.  I'm sure there's an "info" equivalent
that can be done from a shell without invoking emacs.

None of that's useful to a person who wants to search for that information
in the first place without consulting an expert who's already done the
work.

What I was trying to do in my reply was "teach them how to fish" -- to
show them how to bring up the man page themselves, and look for basic
information like "how do I get the name of the day of the week, instead
of the numeric index of the day of the week" without having to bother
an international mailing list.

So, I gave basic instructions for how to bring up the man page, and a
hint about searching for a key word related to their question.  I even
provided a small piece of the man page, which happens to include the
answer they're looking for, because I'm also a pessimist who knows
that they probably won't look it up themselves, and may become angry
if we don't spoon-feed them the actual answer.

I also provided a reference to the info page, and a command that would
bring that up, should the need ever arise.  More importantly, I revealed
that info pages *exist* and *are a thing* that they need to know about.
It's planting a seed for the future.



Re: system won't suspend automatically

2024-06-11 Thread eben

On 6/11/24 12:37, Charles Curley wrote:

On Tue, 11 Jun 2024 10:44:12 -0400
e...@gmx.us wrote:


Well, that is not encouraging.  Does anyone know how to get the
monitor state programmatically?  I'll write my own script based on
that.  DFMS works.  I mean if the computer won't do it for you, roll
your own.


Install arandr, use it to set things up the way you want them. Then
have it emit a suitable script.


OK, no problem.  The script I wrote uses xrandr to do that exact thing.


Call that from XFCE's session manager on startup.


How exactly do I do that, and why would it re-enable suspension?

--
"Cheating is the gift man gives himself." - Mr. Burns, The Simpsons.



Re: system won't suspend automatically

2024-06-11 Thread eben

On 6/11/24 12:27, Max Nikulin wrote:

On 11/06/2024 21:44, e...@gmx.us wrote:

Does anyone know how to get the monitor
state programmatically?


ddccontrol


Thanks.


However I am lost if you need to put your monitor to standby state (or to
turn it off) or you expect suspend to RAM after some period of inactivity or
when lid is closed. In the latter case check power and display settings in
your DE configuration.


I'll probably watch ddcontrol, and if the monitors go into  and
stay there for 30m or an hour, suspend.  Maybe even have it
user-configurable if I feel frisky.  Maybe even do what it's _supposed_ to
do, but you gotta pay extra for that.




Re: system won't suspend automatically

2024-06-11 Thread Charles Curley
On Tue, 11 Jun 2024 10:44:12 -0400
e...@gmx.us wrote:

> Well, that is not encouraging.  Does anyone know how to get the
> monitor state programmatically?  I'll write my own script based on
> that.  DFMS works.  I mean if the computer won't do it for you, roll
> your own.

Install arandr, use it to set things up the way you want them. Then
have it emit a suitable script. Call that from XFCE's session manager
on startup.

-- 
Does anybody read signatures any more?

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



Re: system won't suspend automatically

2024-06-11 Thread Max Nikulin

On 11/06/2024 21:44, e...@gmx.us wrote:

Does anyone know how to get the monitor
state programmatically?


ddccontrol

However I am lost if you need to put your monitor to standby state (or 
to turn it off) or you expect suspend to RAM after some period of 
inactivity or when lid is closed. In the latter case check power and 
display settings in your DE configuration.




info vs. man (was: Re: date for week)

2024-06-11 Thread Max Nikulin

On 11/06/2024 06:45, Greg Wooledge wrote:

Should you ever feel a need to read the longer version of the
documentation, it's in GNU info pages.  So you would need to type
the command "info coreutils date" to get to it.  And then you'd need
to figure out the user interface of the "info" program, which is not
intuitive unless you happen to be an emacs power user already.


Emacs power users can type
M-x info RET
or
M-: (info "(coreutils) date conversion specifiers") RET
or at least
emacs -f info-standalone '(coreutils) date conversion specifiers'

I do not mind that info browsers have usability issues. For beginners I 
would recommend tkinfo instead of terminal "info". I have not tried pinfo.


Texinfo, unlike man, has a notion of hyperlink. In the case of man it is 
just formatting that suggests that some part of text is a reference to 
another document or another section. It was created for "online" version 
of printed manuals. Info is more convenient for navigation in long 
document and makes it easier to specify a particular section. In the 
case of man it requires some tricks like


man -P 'less -p %a' date



Re: [OT] Re: LibreOffice - Thunderbird - Windows 10

2024-06-11 Thread Camaleón
El 2024-06-11 a las 08:50 -0300, Javier ArgentinaBBAR escribió:

(corrijo el top-posting)

> El mié, 29 may 2024 a las 14:23, Camaleón () escribió:
> >
> > El 2024-05-29 a las 09:45 -0300, Javier ArgentinaBBAR escribió:
> >
> > (...)
> >
> > > Me explico:
> > > Creo un documento en LibreOffice Calc o Writer, y cuando pico Archivo,
> > > Enviar, Enviar documento por correo, el maldito abre Outlook y no
> > > Thunderbird.
> >
> > (...)
> >
> > Preguntonta...
> >
> > ¿Has probado a definir manualmente la ruta al ejecutable de la aplicación
> > (Thunderbird)?
> >
> > 
> > https://help.libreoffice.org/24.2/en-US/text/shared/guide/email.html
> >
> > Sending Documents as Email
> >
> > Working in LibreOffice, you can send the current document as an email
> > attachment.
> >
> > Choose File - Send - Email Document.
> >
> > LibreOffice opens your default email program. If you want to send
> > the current document with another email program, you can select the
> > program to use with Internet - Email in the Options dialog box.
> >
> > In your email program, enter the recipient, subject and any text
> > you want to add, then send the email.
> >
> > 
> >
> > Nota: a veces, volver a instalar la aplicación (Thunderbird) soluciona
> > el problema «mágicamente» debido a que, al ser la última que registra
> > el SO (y más concretamete en Windows), la «predetermina», por así decir.
> >
> > Saludos,

> Buen día.
> 
> Vuelvo a la carga.
> En un Debian, tengo exactamente la misma versión de LibreOffice que en
> Windows, 24.2.3.2.
> En Debian, en "Opciones", "Internet", entre "Proxy" y "Media wiki" hay
> una opción "Correo electrónico", que en la versión Windows, brilla por
> su ausencia.
> En la guía de Libre Office
> https://documentation.libreoffice.org/assets/Uploads/Documentation/es/GS62/PDF/GS6202-ConfigurarLibreOffice.pdf
> página 31, figura 29 se puede ver.
> A continuación dice " En Windows se usa el programa predeterminado
> para el envío de correo electrónico del sistema operativo."
> Lo cual, a todas luces, no funciona.
> 
> Si alguien tiene alguna idea de dónde escarbar en el registro, que es
> donde huelo que está el problema, se agradece la ayuda.

Si en Windows LO depende de la aplicación predeterminada en el sistema, 
sólo se me ocurre que Outlook esté fagocitando a Thundebird respecto a 
la configuración del soporte MAPI, de ahí que LO le dé preferencia.

Revisa esta KB por si te diera alguna pista:

MAPI Support
http://kb.mozillazine.org/MAPI_Support

Saludos,

-- 
Camaleón 



[OT] - Software para leer data loggers

2024-06-11 Thread Jorge Abel Secreto
Hola!!
Disculpen que moleste con esto.
Estoy tratando de leer los registros de un data logger de temperaturas
TESTO 174T desde Debian 12.
El sistema lo ve asi:
usb 1-3: new full-speed USB device number 4 using xhci_hcd
usb 1-3: New USB device found, idVendor=128d, idProduct=0013, bcdDevice= 6.00
usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-3: Product: testo 174-2010
usb 1-3: Manufacturer: Testo SE & Co. KGaA
El fabricante provee un programa para Windows pero me gustaría poder
hacerlo desde Linux.
Las busquedas por "linux data logger testo 174" me traen referencias a
la página oficial o a paginas de vendedores del aparato.
Buscando en Synaptic no encuentro nada que parezca servir.
¿Estoy buscando mal?
¿Alguno de ustedes usa algo que me pueda servir?
Muchas gracias por su atención.
Abrazos

-- 
Jorge A Secreto
Analista de Sistemas
MP 361



Re: Comment retrouver une IP privée perdue ?

2024-06-11 Thread didier gaumet



(répétition préalable: j'y connais rien)

de ce que je comprends de la page man de nmap et de sa description 
wikipedia, nmap peut utiliser une découverte ARP (option -PR pour l'IPv4 
ça doit être une autre option pour l'équiavlent d'ARP en IPv6, je 
suppose), mais son fonctionnement par défaut est le balayage de ports 
donc l'explication wikipedia est là:

https://fr.wikipedia.org/wiki/Balayage_de_ports

donc si je comprends correctement (c'est loin d'être certain, je suis 
truffe niveau jeux olympiques là-dessus), spécifier un seul port à 
scanner devrait accélérer sensiblement le processus puisque par défaut 
le bouzin balaie toute une population de ports connus pour les services 
qu'ils offrent.


Mais bon, franchement, je cause de tout ça alors que j'y connais que 
dalle ;-)






Re: system won't suspend automatically

2024-06-11 Thread eben

On 6/10/24 21:11, Ralph Katz wrote:

On 6/10/24 13:05, Eben King wrote:

Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE.

[...]

and it still doesn't suspend over night.  Suspend works just fine when I go
to log out and hit the suspend button.   I don't see any obvious errors in
journalctl.  Where can I go to debug suspend?  Thanks.


I also have bookworm, XFCE and a suspend issue.  Dell laptop suspends on lid
close, but with an attached monitor, it does not suspend on lid close.

As a workaround, I use a keyboard shortcut to suspend.  Closing then opening
the lid wakes it up.

I'm eager to see how you resolve this.  If you file a bug, please post the
number so I can add my case.


Well, that is not encouraging.  Does anyone know how to get the monitor
state programmatically?  I'll write my own script based on that.  DFMS
works.  I mean if the computer won't do it for you, roll your own.

--
The best answer when anybody asks you
if you're any good with explosives
is to hold up two open hands
and simply say "Ten". -- Anthony DeBoer on ASR



Re: Comment retrouver une IP privée perdue ?

2024-06-11 Thread Olivier
L'option -p443 est à essayer.

Je pense toutefois que pour atteindre une machine, le programme de
balayage doit au minimum utiliser ARP pour connaître l'adresse MAC de
la machine.
Je me demande si pour gagner du temps, il est possible de se limiter à
cette seule interrogation ARP: le programme demande qui possède l'IP
192.168.X.Y et les loggue les réponses s'il y en a.

En survolant la doc de nmap, j'ai trouvé une référence à l'ARP mais je
n'ai pas encore eu le temps de la creuser.
Beaucoup des exemples de la doc de nmap font référence à un balayage
de machines sur Internet.
Dans ce cas, on a affaire à des machines qui sont très diversement
configurées, certaines par exemple, ne répondant pas aux pings par
choix de leur administrateur.
De ce fait, il est nécessaire d'avoir un balayage qui utilise
plusieurs techniques de détection.

Dans mon cas, toutes les machines répondent aux pings par exemple sans
firewall entre elles et la machine qui balaye le réseau, avec une
bonne bande passante.
Une méthode unique de détection devrait suffire quand il s'agit
simplement de retrouver une plage d'IP oubliée.

Le mar. 11 juin 2024 à 14:59, didier gaumet  a écrit :
>
> Le 11/06/2024 à 14:14, Olivier a écrit :
> [...]
> > for i in $(seq 0 255); do
> > sudo ip addr add 192.168.$i.2/24 dev eth0
> > sudo nmap -sn 192.168.$i.0/24
> > sudo ip addr add 192.168.$i.2/24 dev eth0
> > done
> [...]
>
> avertissement habituel: je suis une truffe en réseaux, nmap? jamais
> utilisé. Donc ce qui suit est à considérer avec prudence
>
> puisque tu es sûr que la machine que tu cherches a son port 443 ouvert,
> pourquoi ne pas spécifier l'option -p443 qui devrait, si j'ai compris
> correctement la page man, réduire la recherche au port 443 à l'exclusion
> des autres?
>
>



Re: Comment retrouver une IP privée perdue ?

2024-06-11 Thread didier gaumet

Le 11/06/2024 à 14:14, Olivier a écrit :
[...]

for i in $(seq 0 255); do
sudo ip addr add 192.168.$i.2/24 dev eth0
sudo nmap -sn 192.168.$i.0/24
sudo ip addr add 192.168.$i.2/24 dev eth0
done

[...]

avertissement habituel: je suis une truffe en réseaux, nmap? jamais 
utilisé. Donc ce qui suit est à considérer avec prudence


puisque tu es sûr que la machine que tu cherches a son port 443 ouvert, 
pourquoi ne pas spécifier l'option -p443 qui devrait, si j'ai compris 
correctement la page man, réduire la recherche au port 443 à l'exclusion 
des autres?





Re: Comment retrouver une IP privée perdue ?

2024-06-11 Thread Erwan David

Le 11/06/2024 à 14:14, Olivier a écrit :

Pris par le temps, j'ai utilisé nmap avec une commande comme ci-après
pour balayer la plage 192.168.0.0/16 et le début de 172.16.0.0/12.
Le script met environ 8s pour chaque itération sur un réseau en /24.

for i in $(seq 0 255); do
sudo ip addr add 192.168.$i.2/24 dev eth0
sudo nmap -sn 192.168.$i.0/24
sudo ip addr add 192.168.$i.2/24 dev eth0
done

Je recherche toujours un moyen pour réduire ce temps de balayage (dont
je n'ose imaginer le temps d'exécution sur le réseau 10.0.0.0/8)
quitte a prendre des hypothèses simplificatrices comme la présence
d'une appli web de management sur le port 443.

J'ai découvert l'existence d'outils comme Angry IP ou masscan mais je
n'ai pas eu le temps de les tester.

@Basile
Un reset est effectivement une excellent idée pour récupérer une
adresse par défaut et s'éviter un balayage.
Dans mon cas, les équipements sont difficiles d'accès, en haut d'un mat.



J'utilise en général un fping -ag  on peut affiner avec un -q ou 
un -c 1


Si ce sont des devices qui ne répondent pas au ping, on peut regarder la 
table arp après ou faire une boucle avec des arping (si le device ne 
répond pas à un ARP WHO HAS, alors de toute façon il est injoignable)



--
Erwan David



Re: Comment retrouver une IP privée perdue ?

2024-06-11 Thread Olivier
Pris par le temps, j'ai utilisé nmap avec une commande comme ci-après
pour balayer la plage 192.168.0.0/16 et le début de 172.16.0.0/12.
Le script met environ 8s pour chaque itération sur un réseau en /24.

for i in $(seq 0 255); do
sudo ip addr add 192.168.$i.2/24 dev eth0
sudo nmap -sn 192.168.$i.0/24
sudo ip addr add 192.168.$i.2/24 dev eth0
done

Je recherche toujours un moyen pour réduire ce temps de balayage (dont
je n'ose imaginer le temps d'exécution sur le réseau 10.0.0.0/8)
quitte a prendre des hypothèses simplificatrices comme la présence
d'une appli web de management sur le port 443.

J'ai découvert l'existence d'outils comme Angry IP ou masscan mais je
n'ai pas eu le temps de les tester.

@Basile
Un reset est effectivement une excellent idée pour récupérer une
adresse par défaut et s'éviter un balayage.
Dans mon cas, les équipements sont difficiles d'accès, en haut d'un mat.

Le mar. 11 juin 2024 à 10:05, David P.  a écrit :
>
> Bonjour,
>
> J'utilise Wireshark et un câble croisé pour ce genre de problème à condition 
> que le dispositif soit à la portée de la main !
> En effet, je redémarre ce dispositif après d'avoir raccordé le câble et lancé 
> Wireshark sur le port ethernet où est branché le câble (pas d'autres LAN 
> activés !)
>
> Bon courage pour la suite,
> Librement,
> David P.
>
> Télécharger BlueMail pour Android
> Le 10 juin 2024, à 14:28, Olivier  a écrit:
>>
>> Bonjour,
>>
>> Sur un réseau, j'ai un appareil dont j'ai perdu l'IPv4 privée
>> (rfc1918) de gestion. J'ignore aussi l'adresse du réseau, un /24
>> probablement, dans lequel j'avais choisi cette adresse.
>>
>> Je suis certain que l'appareil a une appli web de gestion qui écoute
>> sur le port 443.
>> Je n'ai pas communiqué avec cet appareil depuis des mois.
>> J'utilise souvent nmap pour scanner des réseaux de petite taille mais
>> ici la plage à balayer est immense.
>>
>> Comment déterminer le plus vite possible l'adresse de gestion de mon 
>> appareil ?
>>
>> Slts
>>



Re: [OT] Re: LibreOffice - Thunderbird - Windows 10

2024-06-11 Thread Javier ArgentinaBBAR
Buen día.

Vuelvo a la carga.
En un Debian, tengo exactamente la misma versión de LibreOffice que en
Windows, 24.2.3.2.
En Debian, en "Opciones", "Internet", entre "Proxy" y "Media wiki" hay
una opción "Correo electrónico", que en la versión Windows, brilla por
su ausencia.
En la guía de Libre Office
https://documentation.libreoffice.org/assets/Uploads/Documentation/es/GS62/PDF/GS6202-ConfigurarLibreOffice.pdf
página 31, figura 29 se puede ver.
A continuación dice " En Windows se usa el programa predeterminado
para el envío de correo electrónico del sistema operativo."
Lo cual, a todas luces, no funciona.

Si alguien tiene alguna idea de dónde escarbar en el registro, que es
donde huelo que está el problema, se agradece la ayuda.

Saludos a todos

JAP


El mié, 29 may 2024 a las 14:23, Camaleón () escribió:
>
> El 2024-05-29 a las 09:45 -0300, Javier ArgentinaBBAR escribió:
>
> (...)
>
> > Me explico:
> > Creo un documento en LibreOffice Calc o Writer, y cuando pico Archivo,
> > Enviar, Enviar documento por correo, el maldito abre Outlook y no
> > Thunderbird.
>
> (...)
>
> Preguntonta...
>
> ¿Has probado a definir manualmente la ruta al ejecutable de la aplicación
> (Thunderbird)?
>
> 
> https://help.libreoffice.org/24.2/en-US/text/shared/guide/email.html
>
> Sending Documents as Email
>
> Working in LibreOffice, you can send the current document as an email
> attachment.
>
> Choose File - Send - Email Document.
>
> LibreOffice opens your default email program. If you want to send
> the current document with another email program, you can select the
> program to use with Internet - Email in the Options dialog box.
>
> In your email program, enter the recipient, subject and any text
> you want to add, then send the email.
>
> 
>
> Nota: a veces, volver a instalar la aplicación (Thunderbird) soluciona
> el problema «mágicamente» debido a que, al ser la última que registra
> el SO (y más concretamete en Windows), la «predetermina», por así decir.
>
> Saludos,
>
> --
> Camaleón
>



Microsoft Teams werkt met Chromium

2024-06-11 Thread Paul van der Vlis

Hoi,

Er zijn van die organisaties die eisen dat je een bepaald systeem 
gebruikt voor videocalls...


Het valt me op dat Microsoft Teams tegenwoordig werkt met Chromium. 
Eerder functioneerde dat niet (wel met Chrome, niet met Chromium).


Met Firefox ESR werkte het (nog?) niet, ik krijg daar een melding dat ik 
een plugin moet installeren, maar het is niet duidelijk welke. Tijdens 
testen drukte ik een paar keer op de "terug" toets en toen leek het te 
werken. Ze zeggen dat ze alleen de laatste 3 versies ondersteunen, 
wellicht valt Firefox ESR daar niet onder. Maar wellicht werkt het wel 
als je de gewone Firefox download...


Weet iemand misschien wat de status van Zoom is? Kun je daar werken met 
alleen een open source browser als je een uitnodiging krijgt, of moet je 
perse hun software installeren?


Google hangouts werkt prima met elke browser, voor zover ik weet, zelf 
gebruik ik bij voorkeur Jitsi Meet.


Groet,
Paul


--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/



Re: Comment retrouver une IP privée perdue ?

2024-06-11 Thread David P.
Bonjour,

J'utilise Wireshark et un câble croisé pour ce genre de problème à condition 
que le dispositif soit à la portée de la main !
En effet, je redémarre ce dispositif après d'avoir raccordé le câble et lancé 
Wireshark sur le port ethernet où est branché le câble (pas d'autres LAN 
activés !)

Bon courage pour la suite,
Librement,
David P.

⁣Télécharger BlueMail pour Android ​

Le 10 juin 2024 à 14:28, à 14:28, Olivier  a écrit:
>Bonjour,
>
>Sur un réseau, j'ai un appareil dont j'ai perdu l'IPv4 privée
>(rfc1918) de gestion. J'ignore aussi l'adresse du réseau, un /24
>probablement, dans lequel j'avais choisi cette adresse.
>
>Je suis certain que l'appareil a une appli web de gestion qui écoute
>sur le port 443.
>Je n'ai pas communiqué avec cet appareil depuis des mois.
>J'utilise souvent nmap pour scanner des réseaux de petite taille mais
>ici la plage à balayer est immense.
>
>Comment déterminer le plus vite possible l'adresse de gestion de mon
>appareil ?
>
>Slts


Re: descargar versiones anteriores

2024-06-11 Thread Camaleón
El 2024-06-10 a las 19:39 +0200, Juaan Carrlos Rebate escribió:

(elimino el formato html...)

> Hola Camaleón
>
> No importa que instrucciones seguir, todas están obsoletas, incluyendo 
> la oficial https://www.debian.org/CD/jigdo-cd/ tanto en tus 
> instrucciones como en las oficiales, indica que el paquete jigdo está 
> en los repos, pero no, no está.

(...) 

A esto ya te ha respondido Fernando :-)

> está pero no me gusta usarlo. En la web oficial
>
> https://www.einval.com/~steve/software/jigdo/download/ está su fuente y 
> una versión para Windows. Al usar la versión de Windows obtengo lo 
> siguiente

(...)

Instala el paquete de Debian y sigue las instrucciones «obsoletas¹» para 
CONFIGURAR Jigdo ANTES de ejecutarlo.

Y manda la salida de todas las órdenes que ejecutes para que veamos el 
resultado.

¹Normalmente, lo «viejo» resulta mil veces más fiable (y más preciso) 
que las instrucciones «nuevas» escritas por twiteros amantes de los 
140 caracteres >:-)

Saludos,

-- 
Camaleón 



Re: system won't suspend automatically

2024-06-10 Thread David Wright
Entire attribution and quote removed to avoid the mailing list
treating this post as spam.

Yes, but I don't know enough about modern monitor connections to know
whether the monitor being on will inhibit the system from suspending.

The docs for XFCE talk about preventing inconsistent configuration
timings of the several modes, but I don't know (not using XFCE)
how far this is carried between display management and system power
management, or between the kernel's, X's, and XFCE's controls.

Sorry not to be more help.

Cheers,
David.



Re: system won't suspend automatically

2024-06-10 Thread Ralph Katz

On 6/10/24 13:05, Eben King wrote:
Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE.  

[...]

and it still doesn't suspend over night.  Suspend works just fine when I go
to log out and hit the suspend button.   I don't see any obvious errors in
journalctl.  Where can I go to debug suspend?  Thanks.


I also have bookworm, XFCE and a suspend issue.  Dell laptop suspends on 
lid close, but with an attached monitor, it does not suspend on lid close.


As a workaround, I use a keyboard shortcut to suspend.  Closing then 
opening the lid wakes it up.


I'm eager to see how you resolve this.  If you file a bug, please post 
the number so I can add my case.


Regards,
Ralph




Re: date for week

2024-06-10 Thread Jeff Peng



thanks roberto. that's exactly what i am looking for.



$ date +%a




Re: date for week

2024-06-10 Thread Greg Wooledge
On Tue, Jun 11, 2024 at 07:19:42AM +0800, Jeff Peng wrote:
> While I expect the output should be:
> 
> $ date +%such_a_option
> Tuesday
> 
> or
> $ date +%such_a_option
> Tue
> 
> does date command has this option?

You can run the command "man date" to read the short version of the
documentation.  This will include the information you wanted.  Search
for "week" and it takes you right there:

   %a locale's abbreviated weekday name (e.g., Sun)

   %A locale's full weekday name (e.g., Sunday)

   %b locale's abbreviated month name (e.g., Jan)

   %B locale's full month name (e.g., January)

   %c locale's date and time (e.g., Thu Mar  3 23:05:25 2005)

Should you ever feel a need to read the longer version of the
documentation, it's in GNU info pages.  So you would need to type
the command "info coreutils date" to get to it.  And then you'd need
to figure out the user interface of the "info" program, which is not
intuitive unless you happen to be an emacs power user already.



Re: date for week

2024-06-10 Thread rtnetz...@windstream.net
All the format codes are documented in the man page for date.
in particular:

+%a gives a short form, such as Mon
+%A gives full name, e.g. Monday 
+%^a and +%^A as above, but all capital letters.

- Original Message -
From: "Jeff Peng" 
To: "debian-user" 


> While I expect the output should be:

> $ date +%such_a_option
> Tuesday

> or
> $ date +%such_a_option
> Tue

> does date command has this option?

Yes, see above.

-- 
Bob Netzlof a/k/a Sweet Old Bob



Re: date for week

2024-06-10 Thread Roberto C . Sánchez
On Tue, Jun 11, 2024 at 07:19:42AM +0800, Jeff Peng wrote:
> Hello,
> 
> I run the folllowing command,
> 
> $ date +%w
> 2
> 
> 
> While I expect the output should be:
> 
> $ date +%such_a_option
> Tuesday
> 
> or
> $ date +%such_a_option
> Tue
> 
> does date command has this option?
> 
> Thanks.
> 

You probably want:

$ date +%a
Mon
$ date +%A
Monday

-- 
Roberto C. Sánchez



date for week

2024-06-10 Thread Jeff Peng

Hello,

I run the folllowing command,

$ date +%w
2


While I expect the output should be:

$ date +%such_a_option
Tuesday

or
$ date +%such_a_option
Tue

does date command has this option?

Thanks.



Re: system won't suspend automatically

2024-06-10 Thread eben

On 6/10/24 16:51, David Wright wrote:
> On Mon 10 Jun 2024 at 15:05:23 (-0400), Eben King wrote:
>> Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE.  I have
>> three monitors, the left one is rotated CW so it's tall, and because lightdm
>> can't seem to get that or the monitor positions correct I wrote a script
>> that calls xrandr to set things up.
>>
>> I thought the errors from the monitor setup script (before I fixed it) were
>> what was keeping the system from suspending.  But now I've fixed the errors
>> and it still doesn't suspend over night.  Suspend works just fine when I go
>> to log out and hit the suspend button.   I don't see any obvious errors in
>> journalctl.  Where can I go to debug suspend?  Thanks.
>
> Does xset -q show you anything like below?
>
>$ xset -q
>Keyboard Control:...


eben@cerberus:~$ xset -q
Keyboard Control:
  auto repeat:  onkey click percent:  0LED mask:  2002
  XKB indicators:
00: Caps Lock:   off01: Num Lock:on 02: Scroll Lock: off
03: Compose: off04: Kana:off05: Sleep:   off
06: Suspend: off07: Mute:off08: Misc:off
09: Mail:off10: Charging:off11: Shift Lock:  off
12: Group 2: off13: Mouse Keys:  on
  auto repeat delay:  500repeat rate:  20
  auto repeating keys:  00ffdbbf
fadfffefffed
9fff
fff7
  bell percent:  50bell pitch:  400bell duration:  100
Pointer Control:
  acceleration:  2/1threshold:  4
Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  0cycle:  600
Colors:
  default colormap:  0x20BlackPixel:  0x0WhitePixel:  0xff
Font Path:

/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
  Standby: 1200Suspend: 0Off: 1800
  DPMS is Enabled
  Monitor is On

Like that, yes.  What am I looking for?  The DPMS stuff is just for
monitors, correct?

>> Thou shalt keep thine tongue prosperous, and thy mind numb. -Lusers 4:9
>
> Thy tongue.

This is correct.  I'll change it, and note the change.

Dang, it's too easy to just do ^R and not hit "reply list".  Maybe there's a
key command.  I'll look into that.

--
"The reason that the American Army does so well, is that war is chaos,
and the American Army practices chaos on a daily basis."
 -Nazi German Officer



Re: system won't suspend automatically

2024-06-10 Thread David Wright
On Mon 10 Jun 2024 at 15:05:23 (-0400), Eben King wrote:
> Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE.  I have
> three monitors, the left one is rotated CW so it's tall, and because lightdm
> can't seem to get that or the monitor positions correct I wrote a script
> that calls xrandr to set things up.
> 
> I thought the errors from the monitor setup script (before I fixed it) were
> what was keeping the system from suspending.  But now I've fixed the errors
> and it still doesn't suspend over night.  Suspend works just fine when I go
> to log out and hit the suspend button.   I don't see any obvious errors in
> journalctl.  Where can I go to debug suspend?  Thanks.

Does xset -q show you anything like below?

  $ xset -q
  Keyboard Control:
auto repeat:  onkey click percent:  0LED mask:  
XKB indicators:
  00: Caps Lock:   off01: Num Lock:off02: Scroll Lock: off
  03: Compose: off04: Kana:off05: Sleep:   off
  06: Suspend: off07: Mute:off08: Misc:off
  09: Mail:off10: Charging:off11: Shift Lock:  off
  12: Group 2: off13: Mouse Keys:  off
auto repeat delay:  660repeat rate:  25
auto repeating keys:  00ffdbbf
  fedfffefffed
  9fff
  fff7
bell percent:  50bell pitch:  400bell duration:  100
  Pointer Control:
acceleration:  2/1threshold:  4
  Screen Saver:
prefer blanking:  yesallow exposures:  yes
timeout:  1000cycle:  1000
  Colors:
default colormap:  0x20BlackPixel:  0x0WhitePixel:  0xff
  Font Path:

/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
  DPMS (Energy Star):
Standby: 1000Suspend: 1000Off: 1000
DPMS is Enabled
Monitor is On
  $ 

> Thou shalt keep thine tongue prosperous, and thy mind numb. -Lusers 4:9

Thy tongue.

Cheers,
David.



system won't suspend automatically

2024-06-10 Thread Eben King

Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE.  I have
three monitors, the left one is rotated CW so it's tall, and because lightdm
can't seem to get that or the monitor positions correct I wrote a script
that calls xrandr to set things up.

I thought the errors from the monitor setup script (before I fixed it) were
what was keeping the system from suspending.  But now I've fixed the errors
and it still doesn't suspend over night.  Suspend works just fine when I go
to log out and hit the suspend button.   I don't see any obvious errors in
journalctl.  Where can I go to debug suspend?  Thanks.

--
Thou shalt keep thine tongue prosperous, and thy mind numb. -Lusers 4:9
And if thy head doth leave thine own arse, thou shalt shove it back in.
For in such a way does it keep thy minimal knowledge from leaving thine
own head. -- Lusers 4:10-11 (ItsDragoniteBitches and mephron on Reddit)



RE: descargar versiones anteriores

2024-06-10 Thread Fernando C. Estrada
El lunes, 10 de junio de 2024 a las 11:39 AM, Juaan Carrlos Rebate 
 escribió:

> No importa que instrucciones seguir, todas están obsoletas, incluyendo la 
> oficial https://www.debian.org/CD/jigdo-cd/ tanto en tus instrucciones como 
> en las oficiales, indica que el paquete jigdo está en los repos, pero no, no 
> está.
>
> jc@debian:~$ sudo apt install jigdo-lite

No considero que la documentación esté obsoleta, ya que literalmente indica 
[0]: "Descargue un paquete que contenga jigdo-lite, que está disponible para 
instalación directa en las distribuciones Debian y Ubuntu en el paquete 
jigdo-file."

En otras palabras, debes instalar jigdo-file (sudo apt install jigdo-file), ya 
que es el paquete que contiene el comando jigdo-lite que buscas.

[0] https://www.debian.org/CD/jigdo-cd/index.es.html

Saludos,

>

Re: Comment retrouver une IP privée perdue ?

2024-06-10 Thread Raphaël POITEVIN
Bonsoir,

Olivier  writes:

> Sur un réseau, j'ai un appareil dont j'ai perdu l'IPv4 privée
> (rfc1918) de gestion. J'ignore aussi l'adresse du réseau, un /24
> probablement, dans lequel j'avais choisi cette adresse.
>
> Je suis certain que l'appareil a une appli web de gestion qui écoute
> sur le port 443.
> Je n'ai pas communiqué avec cet appareil depuis des mois.
> J'utilise souvent nmap pour scanner des réseaux de petite taille mais
> ici la plage à balayer est immense.
>
> Comment déterminer le plus vite possible l'adresse de gestion de mon
> appareil ?

Peut-être :
nmap -sn 192.168.1.0/24 par exemple.
-- 
Raphaël



  1   2   3   4   5   6   7   8   9   10   >