Re: Metar et pymetar

2021-10-09 Thread Txo

Le 09/10/2021 à 18:39, Étienne Mollier a écrit :

Bonjour,

C'est bien ça...



Du coup, la question maintenant est de trouver comment l'autre
raspberry pi a bien pu tomber en marche…  :)


Ça c'est facile ;-)
J'ai 4 terminaux en ssh sur les raspberry et sur d'autres machines en 
Sid dans la maison et l'idiot que je suis a tapé la commande dans le 
mauvais terminal !
Il ne me reste qu'à passer mes raspberry dans la version suivante ou de 
recompiler avec la bonne adresse.


Merci pour l'aide à y voir plus clair.


--
-- Dominique Marin http://txodom.free.fr  --
«Faut les voir à la télé-urne Ces vespasiens de l'isoloir
   Et leur bulletin dans les burnes Et le mépris dans un placard»
--Léo Ferré Ils ont voté  --



Re: Trackpad freezing in Bullseye on HP Laptop w/Celeron N4020 CPU

2021-10-09 Thread John Kerr Anderson
Hi guys,

Under tweaks 'disable keyboard while typing is checked.'

I noticed last night that it's a very severe problem as if I try typing a
document the machine locks up and I must press the power button. If I type
in a console screen in textmode I can type without a problem.

Here is the output of :
 xinput
⎡ Virtual core pointer id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer   id=4 [slave  pointer  (2)]
⎜   ↳ SYNA3296:00 06CB:CD50 Mouse id=9 [slave  pointer  (2)]
⎜   ↳ SYNA3296:00 06CB:CD50 Touchpad   id=10 [slave  pointer  (2)]
⎣ Virtual core keyboard   id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave  keyboard (3)]
↳ Video Bus   id=6 [slave  keyboard (3)]
↳ Power Button id=7 [slave  keyboard (3)]
↳ HP TrueVision HD Camera: HP Tru id=8 [slave  keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave  keyboard (3)]
↳ HP Wireless hotkeys id=12 [slave  keyboard (3)]
↳ HP WMI hotkeys   id=13 [slave  keyboard (3)]

Errors in system log when it totally freezes up:

Oct  9 20:02:07 hp14 kernel: [2.868513] [Hardware Error]: event
severity: fatal
Oct  9 20:02:07 hp14 kernel: [2.868515] [Hardware Error]:  Error 0,
type: fatal
Oct  9 20:02:07 hp14 kernel: [2.868517] [Hardware Error]:
section_type: Firmware Error Record Reference
Oct  9 20:02:07 hp14 kernel: [2.868517] [Hardware Error]:   Firmware
Error Record Type: SOC Firmware Error Record Type1 (Legacy CrashLog Support)
Oct  9 20:02:07 hp14 kernel: [2.868518] [Hardware Error]:   Revision: 0
Oct  9 20:02:07 hp14 kernel: [2.868519] [Hardware Error]:   Record
Identifier: 30001
Oct  9 20:02:07 hp14 kernel: [2.868523] [Hardware Error]:   :
00030001 0001 0608   
Oct  9 20:02:07 hp14 kernel: [2.868524] [Hardware Error]:   0010:
     
Oct  9 20:02:07 hp14 kernel: [2.868525] [Hardware Error]:   0020:
     
Oct  9 20:02:07 hp14 kernel: [2.868527] [Hardware Error]:   0030:
     
Oct  9 20:02:07 hp14 kernel: [2.868528] [Hardware Error]:   0040:
     
Oct  9 20:02:07 hp14 kernel: [2.868529] [Hardware Error]:   0050:
     
Oct  9 20:02:07 hp14 kernel: [2.868530] [Hardware Error]:   0060:
     
Oct  9 20:02:07 hp14 kernel: [2.868531] [Hardware Error]:   0070:
     
Oct  9 20:02:07 hp14 kernel: [2.868533] [Hardware Error]:   0080:
001a2fbb  0002 0001  ./..
Oct  9 20:02:07 hp14 kernel: [2.868534] [Hardware Error]:   0090:
0608  0008 0008  
Oct  9 20:02:07 hp14 kernel: [2.868535] [Hardware Error]:   00a0:
14a8 0880 0880   
Oct  9 20:02:07 hp14 kernel: [2.868537] [Hardware Error]:   00b0:
     
Oct  9 20:02:07 hp14 kernel: [2.868538] [Hardware Error]:   00c0:
     
Oct  9 20:02:07 hp14 kernel: [2.868539] [Hardware Error]:   00d0:
     
Oct  9 20:02:07 hp14 kernel: [2.868540] [Hardware Error]:   00e0:
     
Oct  9 20:02:07 hp14 kernel: [2.868541] [Hardware Error]:   00f0:
     
Oct  9 20:02:07 hp14 kernel: [2.868543] [Hardware Error]:   0100:
     
Oct  9 20:02:07 hp14 kernel: [2.868544] [Hardware Error]:   0110:
     
Oct  9 20:02:07 hp14 kernel: [2.868545] [Hardware Error]:   0120:
     
Oct  9 20:02:07 hp14 kernel: [2.868546] [Hardware Error]:   0130:
     
Oct  9 20:02:07 hp14 kernel: [2.868548] [Hardware Error]:   0140:
     
Oct  9 20:02:07 hp14 kernel: [2.868549] [Hardware Error]:   0150:
     
Oct  9 20:02:07 hp14 kernel: [2.868550] [Hardware Error]:   0160:
     
Oct  9 20:02:07 hp14 kernel: [2.868551] [Hardware Error]:   0170:
     
Oct  9 20:02:07 hp14 kernel: [2.868552] [Hardware Error]:   0180:
 

Re: First time WINE user looking for tutorial

2021-10-09 Thread Russell L. Harris

On Sat, Oct 09, 2021 at 08:24:38AM -0700, Patrick Bartek wrote:

On Sat, 9 Oct 2021 09:40:21 -0500
Richard Owlett  wrote:



Just be forewarned, WINE is not the catchall solution to running
Windows apps: The more involved codewise the program is like games or
Photoshop, the more problems you'll have. In those cases, just run
Windows in a virtual machine which is what I do for ALL Windows apps I
need. Less or virtually no gotchas!


Richard, Can you recommend a virtual machine for Debian which can run
Google Earth?


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



Re: Mouse left button acts really strange

2021-10-09 Thread Yixuan Lin




Hi!

I have massive problems with my Logitech M705 - Or specifically with
the left mouse button. Sometimes (very often) singleclick becomes
double-click, dragging items is very hard, it drops the drag before I
release the mouse button. Clicking on the terminal icon in my xfce
panel often starts three terminals. The weird thing is that mouse
movement and the mousewheel works just fine. No problems there of any
kind.

This is independent of which program I use - in Claws Mail, the
Chromium browser, and also in virtualbox and Steam games.

This is on an up to date Debian 11 Bullseye (just upgraded to the first
point release), Xfce desktop, Nvidia graphicscard using the Nvidia
drivers on Xorg. All packages up-to-date with Debian 11.1.

On my latest boot of the system, it looked to me like the button acted
normally for about one minute, but then the usual crap started
happening again, so I assume that the mouse hardware is fine. (I have
also tried another mouse - same behaviour).

Mouse section in xorg.conf:

Section "InputDevice"
 # generated from default
 Identifier "Mouse0"
 Driver "mouse"
 Option "Protocol" "auto"
 Option "Device" "/dev/input/mouse0"
 Option "Emulate3Buttons" "no"
 Option "ZAxisMapping" "4 5"
EndSection


It was this earlier:
 Option "Device" "/dev/psaux"

- but no difference, independent on which "Device" I use there.


Please help me solve this problem!

-- Andreas Rönnquist
mailingli...@gusnan.se
andr...@ronnquist.net

[Please don't CC me, if I mail to a mailinglist, I am subscribed to it.]

Proprietary things don't get really good, like mouse, so use a wired one.



Re: Re: OT Licencias

2021-10-09 Thread Fernando Herrera
Es e es e

Enviado desde mi iPhone



Re: Trackpad freezing in Bullseye on HP Laptop w/Celeron N4020 CPU

2021-10-09 Thread yixuan lin


> 在 2021年10月9日,下午9:49,John Kerr Anderson  写道:
> 
> Hi Everyone,
> 
> I've got an HP laptop that is having a problem of the trackpad freezing 
> randomly when using the machine.  If I plug an external mouse via USB or I do 
> a  I can log back in and get the mouse working again.  
> 
> It's annoying as it happens when you are working and is completely random 
> when it does this.
> 
> One message that comes up in the logs is :
> 
> i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect 
> please boot with i8042.nopnp
> 
> cat /proc/bus/input/devices | grep -i touchpad
> N: Name="SYNA3296:00 06CB:CD50 Touchpad"
> 
> Any suggestions on how I could get the mouse to not freeze randomly?
> 
> Thanks in advance,
> 
> John

Try search your model in Debian wiki. Like info for Debian on Lenovo thinkpad 
T410 can be found at https://wiki.debian.org/InstallingDebianOn/Thinkpad/T410.

Regards
Yixuan

Re: Trackpad freezing in Bullseye on HP Laptop w/Celeron N4020 CPU

2021-10-09 Thread Keith Bainbridge

On 10/10/21 00:49, John Kerr Anderson wrote:

Hi Everyone,

I've got an HP laptop that is having a problem of the trackpad freezing 
randomly when using the machine.  If I plug an external mouse via USB or 
I do a  I can log back in and get the mouse working again.


It's annoying as it happens when you are working and is completely 
random when it does this.


One message that comes up in the logs is :

i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect 
please boot with i8042.nopnp


cat /proc/bus/input/devices | grep -i touchpad
N: Name="SYNA3296:00 06CB:CD50 Touchpad"

Any suggestions on how I could get the mouse to not freeze randomly?

Thanks in advance,

John


Good mrning

Have you activated the facility that the trackpad is disabled while typing?
--
All the best

Keith Bainbridge

keithrbaugro...@gmail.com



Re: Metar et pymetar

2021-10-09 Thread Étienne Mollier
Txo, on 2021-10-09:
> Buster sur le réfractaire, mais aussi sur celui qui a un metar opérationnel

Merci pour cette clarification : je n'avais pas regardé dans
buster, seulement bookworm.  Apparemment l'ancienne version de
pymetar y fait toujours référence à weather.noaa.gov, qui n'est
plus enregistré.  D'après cet extrait de pymetar.py :

def __init__(self, MetarStationCode = None, baseurl =
"http://weather.noaa.gov/pub/data/observations/metar/decoded/;):

je reproduis bien l'erreur de mon côté :

(buster)$ pymetar lfpo
Something went wrong when fetching the report.
These usually are transient problems if the station ID is valid. 
The error encountered was:


Je reproduis aussi le problème que vous observez avec metar, et
qui a une chance d'être causé par la redirection vers https :

(buster)$ metar -vd lfpo
Retrieving URL 
http://tgftp.nws.noaa.gov/data/observations/metar/stations/LFPO.TXT
METAR pattern not found in NOAA data.
Station   : 
Day   : 0
Time  : 00:00 UTC
Wind direction: 0 (N)
Wind speed: 0 
Wind gust : 0 
Visibility: 0 
Temperature   : 0 C
Dewpoint  : 0 C
Pressure  : 0 
Clouds: 
Phenomena : 

En Debian 11, pymetar n'est pas disponible, mais metar fait
directement référence au lien en https et fournit les résultats
attendus :

(bullseye)$ metar -vd lfpo
Retrieving URL 
https://tgftp.nws.noaa.gov/data/observations/metar/stations/LFPO.TXT
LFPO 091600Z 07008KT CAVOK 17/08 Q1025 NOSIG
Parsing token `LFPO'
   Found station LFPO
Parsing token `091600Z'
   Found Day/Time 9/1600
Parsing token `07008KT'
   Found Winddir/str/gust/unit 70/8/8/KT
Parsing token `CAVOK'
   Unmatched token = CAVOK
Parsing token `17/08'
   Temp/dewpoint 17/8
Parsing token `Q1025'
   Pressure/unit 1025/hPa
Parsing token `NOSIG'
   Unmatched token = NOSIG
Station   : LFPO
Day   : 9
Time  : 16:00 UTC
Wind direction: 70 (ENE)
Wind speed: 8 KT
Wind gust : 8 KT
Visibility: 0 
Temperature   : 17 C
Dewpoint  : 8 C
Pressure  : 1025 hPa
Clouds: 
Phenomena : Ceiling and visibility OK

Du coup, la question maintenant est de trouver comment l'autre
raspberry pi a bien pu tomber en marche…  :)

Bonne journée,
-- 
Étienne Mollier 
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.


signature.asc
Description: PGP signature


Issue with kernel 5.10.0-9-*?

2021-10-09 Thread Hans
Dear list,

it would be nice, if you could check something and maybe confirm or deny it.

My system is debian/stable.
As now the new kernel version is released, which is 5.10.0-9-amd64, I updated 
from 0-8-amd64 to 0-9-amd64.

But, with this kernel I discovered, that the network traffic massively 
increased. I am not sure, what is causing this. Examining with wiresharḱ and 
also the syslog file, it looks like it has something to do with ntp. Also the 
broadcast messages are more than normal. 

As I said, I am not sure, what is going on, and can also not confirm, if it is 
an unlucky hardware of my system (amd-cpu, Nvidia graphics card and Atheros 
wireless card), or a kernel issue. With kernel 5.10.0-8-amd64 everything is 
ok.

It was just by chance that I discovered this, because my network state led for 
the wireless card is only blinking, when there is traffic. In normal it is 
mostly dark, but with the latest kernel it is permanently flashing, telling, 
there is a lot of traffic.

Before I file a bugreport, I hope, this could be confirmed by others.

Thank you for reading this.

Best regards

Hans

P.S. At the moment I am still with the old kernel, as I do not know, which 
data are send from my system (I wanna be secure!)

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


Re: Mouse left button acts really strange

2021-10-09 Thread sp...@caiway.net
> > I really like Logitech mouses (fast scrolling!), but when used often
> > they break each one/two year.
> > Sometimes wire most of the time left button.
> > I buy them per 3. 
> 
> It's funny.  
It's also funny that old time vacuum tubes last longer than
transistors dont't they? 
:-)



Re: Mouse left button acts really strange

2021-10-09 Thread Greg Wooledge
On Sat, Oct 09, 2021 at 08:52:25PM +0200, sp...@caiway.net wrote:
> I really like Logitech mouses (fast scrolling!), but when used often
> they break each one/two year.
> Sometimes wire most of the time left button.
> I buy them per 3. 

It's funny.  I've got a 3-button USB Logitech "Wingman Gaming Mouse"
that I've been using for ages.  No scroll wheel.  It has a rubber ball
that has to be cleaned periodically.  It has lasted longer than any
other piece of hardware I've ever had.



Re: Mouse left button acts really strange

2021-10-09 Thread sp...@caiway.net
I really like Logitech mouses (fast scrolling!), but when used often
they break each one/two year.
Sometimes wire most of the time left button.
I buy them per 3. 



Re: Mouse left button acts really strange

2021-10-09 Thread Andreas Ronnquist
On Sat, 9 Oct 2021 10:41:53 -0400,
Dan Ritter wrote:

>Andreas Rönnquist wrote: 
>> I have massive problems with my Logitech M705 - Or specifically with
>> the left mouse button. Sometimes (very often) singleclick becomes
>> double-click, dragging items is very hard, it drops the drag before I
>> release the mouse button. Clicking on the terminal icon in my xfce
>> panel often starts three terminals. The weird thing is that mouse
>> movement and the mousewheel works just fine. No problls. The weird
>> thing is that mouse movement andems there of any
>> kind.
>> 
>> On my latest boot of the system, it looked to me like the button
>> acted normally for about one minute, but then the usual crap started
>> happening again, so I assume that the mouse hardware is fine. (I have
>> also tried another mouse - same behaviour).  
>
>I see this problem with Logitech wireless pointer products
>(mouse, trackball...) when the distance between the USB receiver
>and the pointing device is marginal or partially blocked. That
>includes a distance of less than one meter where the USB
>receiver is blocked by metal in the computer's case from seeing
>the mouse.
>
>If you get a USB extension cable or otherwise relocate the USB
>receiver so that it is closer and has unblocked line of sight to
>the mouse, I suspect your problem will go away.
>

Hi

Thanks - I have tried with both lowering the range between the mouse to
the receiver, but that doesn't help (It's at about 30 cm now) - in fact,
it is the same if I swap to a corded mouse (Also logitech, if that would
matter). Really frustrating stuff. Sometimes it goes away, and I think
the problem is solved, but without exception, the problem comes back
(within minutes).

It could be that both those mice are indeed broken - but to me that
seems unlikely (I won't rule it out though).

Testing with yet another mouse (non Logitech) the problem is gone.

-- Andreas Rönnquist
mailingli...@gusnan.se
andr...@ronnquist.net



Re: Mouse left button acts really strange

2021-10-09 Thread Alexander V. Makartsev

On 09.10.2021 18:04, Andreas Rönnquist wrote:

Hi!

I have massive problems with my Logitech M705 - Or specifically with
the left mouse button. Sometimes (very often) singleclick becomes
double-click, dragging items is very hard, it drops the drag before I
release the mouse button. Clicking on the terminal icon in my xfce
panel often starts three terminals. The weird thing is that mouse
movement and the mousewheel works just fine. No problems there of any
kind.
Judging by these symptoms it is a hardware problem, as Eduardo suggested 
earlier.
If you have problem with left mouse button only, it means micro-switch 
worn off.
Even if you said you've tried another mouse, there is a high chance that 
spare mouse got this common problem too.
It it most used mouse button after all, and every micro-switch has 
limited lifespan.
You might fix micro-switch by applying a drop of sewing machine oil 
inside.¹ (I've done it before and it really helps to fix "phantom 
clicks" for a period of time)
The other solution is to replace micro-switch. (Which I've done too, 
since micro-switches from OMRON manufacturer are available in my local 
store)



¹: 
https://www.reddit.com/r/razer/comments/3nw537/oiling_up_mouse_switches_could_fix_double_clicking/


--
With kindest regards, Alexander.

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



Re: rare dns problemen

2021-10-09 Thread Jaap van Wingerde
Op 2021-10-06T22:58:05+0200 schreef Jaap van Wingerde
 in bericht
, inzake:  het volgende.

> Ik kan thuis niet naar Wikipedia browsen: "We can’t connect to the
> server at www.wikipedia.org".
> ...
> Wat moet ik hier van denken?

Ik heb het probleem opgelost. Door wat experimenten met adblock in mijn
FriendlyElec NanoPi R2S met OpenWRT bleek er daar in
/etc/config/firewall nog het volgende te staan.

config redirect 'adblock_lan53'
option name 'Adblock DNS (lan, 53)'
option src 'lan'
option proto 'tcp udp'
option src_dport '53'
option dest_port '53'
option target 'DNAT'

Ik haalde dit weg en alles deed het weer.

Hieronder reageer ik op jullie suggesties.

Op 2021-10-07T09:07:31+0200 schreef Paul van der Vlis
 in bericht
, inzake:
 het volgende.

> Wat ik zou doen als ik jou was, is verschillende apparaten rebooten. 
> Denk aan je router, computer, en vooral ook eventuele tussenliggende 
> switches.

Had ik al gedaan en hielp niet.

> Ik heb gehoord dat sommige ISP's al het DNS verkeer naar hun eigen
> DNS doorsturen via een transparante proxy. Daar kan het ook mis zijn.
> https://www.dnsleaktest.com/what-is-transparent-dns-proxy.html
KPN stuurt het DNS-verkeer niet door.

Op 2021-10-07T09:13:13+0200 schreef Paul van der Vlis
 in bericht
, inzake:
 het volgende.

> Als noodoplossing zou je een proxy kunnen gebruiken, iets als:
> https://www.hidemyass.com/nl-nl/proxy
> Daarmee kun je waarschijnlijk wel naar Wikipedia.

Mijn noodoplossing was om in Firefox DNS over HTTPS (Settings:
Network Settings: Enable DNS over HTTPS) aan te zetten. Hierdoor werden
de nameserver vragen doorgestuurd naar Cloudflare.



Re: Mouse left button acts really strange

2021-10-09 Thread Charles Curley
On Sat, 9 Oct 2021 15:04:30 +0200
Andreas Rönnquist  wrote:

> I have massive problems with my Logitech M705 - Or specifically with
> the left mouse button. Sometimes (very often) singleclick becomes
> double-click, dragging items is very hard, it drops the drag before I
> release the mouse button. Clicking on the terminal icon in my xfce
> panel often starts three terminals. The weird thing is that mouse
> movement and the mousewheel works just fine. No problems there of any
> kind.

On the XFCE desktop, right click, Applications -> Settings -> Mouse and
Touchpad. In the tab labeled Behavior, check the values. I have: Drag
and Drop Threshold, 8 px; Double Click Time, 400 ms; and Distance 5 px.

-- 
Does anybody read signatures any more?

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



Re: Metar et pymetar

2021-10-09 Thread Txo

Le 09/10/2021 à 09:27, Étienne Mollier a écrit :
Bonjour,


Bon, le problème ne vient apparemment pas de la résolution de
nom.  Peut-être que quelque chose coince dans le protocole HTTP
pour récupérer les informations ?

$ # pymetar
$ curl https://tgftp.nws.noaa.gov/data/observations/metar/decoded/


Ici

D HTML 3.2 Final//EN">

 
  Index of /data/observations/metar/decoded
 
 
Index of /data/observations/metar/decoded
Namehref="?C=M;O=A">Last modifiedhref="?C=S;O=A">Size
Parent 
Directory  - 
A302.TXTalign="right">09-Sep-2011 16:09  329 
AABP.TXTalign="right">23-Aug-2017 02:42  393 


Jusqu'à Z



$ # metar
$ curl https://tgftp.nws.noaa.gov/data/observations/metar/stations




301 Moved Permanently

Moved Permanently
The document has moved href="http://tgftp.nws.noaa.gov/data/observations/metar/stations/;>here.





$ curl 
http://tgftp.nws.noaa.gov/data/observations/metar/stations/LFTW.TXT


 This object may be found HREF="https://tgftp.nws.noaa.gov/data/observations/metar/stations/LFTW.TXT;>here 





En fonctions des URL, ou bien je récupère directement les
données, ou bien je récupère des redirections ; peut-être qu'on
aura des messages d'erreur un peu plus parlants sur la carte
incriminée s'il y a autre chose qui interfère.  Quelles versions
de Debian sont installées sur les raspberry pis au fait ?


Buster sur le réfractaire, mais aussi sur celui qui a un metar opérationnel



--
-- Dominique Marin http://txodom.free.fr  --
 journaliste : n.m. personne qui relate des faits en les présentant
 de manière à en obtenir un avantage politique ou pécuniaire.
--familier : pisse-copie. --



Re: First time WINE user looking for tutorial

2021-10-09 Thread Patrick Bartek
On Sat, 9 Oct 2021 09:40:21 -0500
Richard Owlett  wrote:

> I just installed WINE64 on a Bullseye system. I'm looking for a basic 
> tutorial. Got no promising hits from DuckDuckGo or Google. I did some 
> unproductive roaming of https://www.winehq.org/ .

Really? "No promising hits?" I did an "install set up wine" DuckDuckGo
search and got numerous useful hits.  Of course, if you're looking for
a Bullseye specific tutorial, I doubt if you' find one -- too new.

Maybe, these will help:

  https://itsfoss.com/use-windows-applications-linux/
  https://linuxhint.com/install-use-wine-linux/

Just be forewarned, WINE is not the catchall solution to running
Windows apps: The more involved codewise the program is like games or
Photoshop, the more problems you'll have. In those cases, just run
Windows in a virtual machine which is what I do for ALL Windows apps I
need. Less or virtually no gotchas!
 
B



Re: Mouse left button acts really strange

2021-10-09 Thread Dan Ritter
Andreas Rönnquist wrote: 
> I have massive problems with my Logitech M705 - Or specifically with
> the left mouse button. Sometimes (very often) singleclick becomes
> double-click, dragging items is very hard, it drops the drag before I
> release the mouse button. Clicking on the terminal icon in my xfce
> panel often starts three terminals. The weird thing is that mouse
> movement and the mousewheel works just fine. No problems there of any
> kind.
> 
> On my latest boot of the system, it looked to me like the button acted
> normally for about one minute, but then the usual crap started
> happening again, so I assume that the mouse hardware is fine. (I have
> also tried another mouse - same behaviour).

I see this problem with Logitech wireless pointer products
(mouse, trackball...) when the distance between the USB receiver
and the pointing device is marginal or partially blocked. That
includes a distance of less than one meter where the USB
receiver is blocked by metal in the computer's case from seeing
the mouse.

If you get a USB extension cable or otherwise relocate the USB
receiver so that it is closer and has unblocked line of sight to
the mouse, I suspect your problem will go away.

-dsr-



First time WINE user looking for tutorial

2021-10-09 Thread Richard Owlett
I just installed WINE64 on a Bullseye system. I'm looking for a basic 
tutorial. Got no promising hits from DuckDuckGo or Google. I did some 
unproductive roaming of https://www.winehq.org/ .


I haven't used Windows since days of WinXP and I want to introduce a 
Windows using friend to Debian. Blind leading blind ;/


Suggestions?

TIA




Re: Mouse left button acts really strange

2021-10-09 Thread Richard Owlett

On 10/09/2021 08:04 AM, Andreas Rönnquist wrote:

Hi!

I have massive problems with my Logitech M705 - Or specifically with
the left mouse button. Sometimes (very often) singleclick becomes
double-click, dragging items is very hard, it drops the drag before I
release the mouse button. Clicking on the terminal icon in my xfce
panel often starts three terminals. The weird thing is that mouse
movement and the mousewheel works just fine. No problems there of any
kind.

This is independent of which program I use - in Claws Mail, the
Chromium browser, and also in virtualbox and Steam games.

This is on an up to date Debian 11 Bullseye (just upgraded to the first
point release), Xfce desktop, Nvidia graphicscard using the Nvidia
drivers on Xorg. All packages up-to-date with Debian 11.1.

[SNIP]

I don't know about Xfce, but MATE can adjust the double-click interval 
at System->Preferences->Hardware->Mouse . It also has a setting for 
"Drag and drop threshold".


I suspect Xfce has similar.

HTH






Trackpad freezing in Bullseye on HP Laptop w/Celeron N4020 CPU

2021-10-09 Thread John Kerr Anderson
Hi Everyone,

I've got an HP laptop that is having a problem of the trackpad freezing
randomly when using the machine.  If I plug an external mouse via USB or I
do a  I can log back in and get the mouse working again.

It's annoying as it happens when you are working and is completely random
when it does this.

One message that comes up in the logs is :

i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect
please boot with i8042.nopnp

cat /proc/bus/input/devices | grep -i touchpad
N: Name="SYNA3296:00 06CB:CD50 Touchpad"

Any suggestions on how I could get the mouse to not freeze randomly?

Thanks in advance,

John


Re: Mouse left button acts really strange

2021-10-09 Thread Roberto C . Sánchez
On Sat, Oct 09, 2021 at 10:29:06AM -0300, Eduardo M KALINOWSKI wrote:
> On 09/10/2021 10:04, Andreas Rönnquist wrote:
> > Hi!
> > 
> > I have massive problems with my Logitech M705 - Or specifically with
> > the left mouse button. Sometimes (very often) singleclick becomes
> > double-click, dragging items is very hard, it drops the drag before I
> > release the mouse button. Clicking on the terminal icon in my xfce
> > panel often starts three terminals. The weird thing is that mouse
> > movement and the mousewheel works just fine. No problems there of any
> > kind.
> 
> Seems like a hardware problem. Have you tried another mouse?
> 
He did.  This is what he said:

> > On my latest boot of the system, it looked to me like the button acted
> > normally for about one minute, but then the usual crap started
> > happening again, so I assume that the mouse hardware is fine. (I have
> > also tried another mouse - same behaviour).

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Mouse left button acts really strange

2021-10-09 Thread Eduardo M KALINOWSKI

On 09/10/2021 10:04, Andreas Rönnquist wrote:

Hi!

I have massive problems with my Logitech M705 - Or specifically with
the left mouse button. Sometimes (very often) singleclick becomes
double-click, dragging items is very hard, it drops the drag before I
release the mouse button. Clicking on the terminal icon in my xfce
panel often starts three terminals. The weird thing is that mouse
movement and the mousewheel works just fine. No problems there of any
kind.


Seems like a hardware problem. Have you tried another mouse?

--
Half Moon tonight.  (At least it's better than no Moon at all.)

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Mouse left button acts really strange

2021-10-09 Thread Andreas Rönnquist
Hi!

I have massive problems with my Logitech M705 - Or specifically with
the left mouse button. Sometimes (very often) singleclick becomes
double-click, dragging items is very hard, it drops the drag before I
release the mouse button. Clicking on the terminal icon in my xfce
panel often starts three terminals. The weird thing is that mouse
movement and the mousewheel works just fine. No problems there of any
kind.

This is independent of which program I use - in Claws Mail, the
Chromium browser, and also in virtualbox and Steam games.

This is on an up to date Debian 11 Bullseye (just upgraded to the first
point release), Xfce desktop, Nvidia graphicscard using the Nvidia
drivers on Xorg. All packages up-to-date with Debian 11.1.

On my latest boot of the system, it looked to me like the button acted
normally for about one minute, but then the usual crap started
happening again, so I assume that the mouse hardware is fine. (I have
also tried another mouse - same behaviour).

Mouse section in xorg.conf:

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection


It was this earlier:
Option "Device" "/dev/psaux"

- but no difference, independent on which "Device" I use there.


Please help me solve this problem!

-- Andreas Rönnquist
mailingli...@gusnan.se
andr...@ronnquist.net

[Please don't CC me, if I mail to a mailinglist, I am subscribed to it.]



Re: personnalisation de la séquence de login

2021-10-09 Thread Marc Chantreux
salut,

> En gros, l'idée est de ne pas laisser de traces
> Création du HOME-dir au login.
> Effacement du HOME-dir au logout

j'aurais tendance a utiliser un login shell du genre:

#! /bin/sh
cp -r /etc/skel "$HOME"
SHELL=/bin/sh ${SSH_ORIGINAL_COMMAND:-/bin/sh}
rm -rf "$HOME"

cordialement,
marc



Re: Metar et pymetar

2021-10-09 Thread Étienne Mollier
Bonjour Txo,

Txo, on 2021-10-09:
> Le 08/10/2021 à 20:32, Étienne Mollier a écrit :
> [...]
> > > J'ai lu quelque part que ce type d'erreur provenait d'erreur de résolution
> > > de nom mais cela fonctionne pour tous les autres programmes et il n'y a 
> > > pas
> > > lourd de documentation.
> > 
> > Les deux commandes fonctionnent de mon côté ; j'en ai profité
> > pour jeter un œil à la station lfpo.  Par le plus grand des
> > hasards, que donne la résolution du nom tgftp.nws.noaa.gov,
> > indépendamment des programmes (py)metar sur la carte raspberry
> > pi incriminée ?
> > 
> > $ host tgftp.nws.noaa.gov
> 
> Merci pour la réponse.
> 
> Malheureusement
> $ host tgftp.nws.noaa.gov
> tgftp.nws.noaa.gov is an alias for tgftp.op.ncep.noaa.gov.
> tgftp.op.ncep.noaa.gov is an alias for tgftp.cp.ncep.noaa.gov.
> tgftp.cp.ncep.noaa.gov has address 140.90.101.79

Bon, le problème ne vient apparemment pas de la résolution de
nom.  Peut-être que quelque chose coince dans le protocole HTTP
pour récupérer les informations ?

$ # pymetar
$ curl https://tgftp.nws.noaa.gov/data/observations/metar/decoded/

$ # metar
$ curl https://tgftp.nws.noaa.gov/data/observations/metar/stations
$ curl 
http://tgftp.nws.noaa.gov/data/observations/metar/stations/LFTW.TXT

En fonctions des URL, ou bien je récupère directement les
données, ou bien je récupère des redirections ; peut-être qu'on
aura des messages d'erreur un peu plus parlants sur la carte
incriminée s'il y a autre chose qui interfère.  Quelles versions
de Debian sont installées sur les raspberry pis au fait ?

Bonne journée,  :)
-- 
Étienne Mollier 
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.


signature.asc
Description: PGP signature


personnalisation de la séquence de login

2021-10-09 Thread Jean-Marc

Salut la liste,

J'aimerai personnaliser la séquence de login sur des machines d'un EPN.

En gros, l'idée est de ne pas laisser de traces.
Création du HOME-dir au login.
Effacement du HOME-dir au logout.

Pour la première partie, il existe un module pam_mkhomedir qui fait le 
job.  Reste à lire la doc PAM pour voir comment ajouter une partie perso 
dans la config' de PAM.


Pour la 2e partie, je n'ai pas vraiment de début de piste.  J'ai vu que 
le service systemd-logind.service gère le login.  Mais j'ai pas encore 
eu le temps de voir comment personnaliser cela.


Donc, toutes suggestion, tutoriel, idée à la fois pour la config PAM et 
l'effacement au logout sera le-la bienvenu·e.


Bonne journée.

--
Jean-Marc



OpenPGP_signature
Description: OpenPGP digital signature


Re: how to install node.js on debian (Docker) with 'apt-get' - having issues

2021-10-09 Thread Andrew M.A. Cater
On Wed, Oct 06, 2021 at 03:19:57PM -0600, /dev /local/ca wrote:
> How would I get the latest version of node.js (16.x.x) installed on Debian
> (in a Docker container)
> 

Hi /dev/local/ca - I'm guessing that's the appropriate form of your name.

You're using Docker. You have three or four options for where
your docker containers come from.

Official builds from a team
Official builds from an OS - which probably form the basis for the above
Builds from the Community - could be anybody, you don't know who/how/why
Docker images you build yourself - these might be slightly modified
community builds or you doing this from scratch

NodeJS 16

This is straightforward: the Node.js Docker Team build official images
https://hub.docker.com/_/node

I'd suggest

https://github.com/nodejs/docker-node/blob/e886c2c1d3a109ccfe169419f3b30f9794bacf61/16/bullseye/Dockerfile
 which is 16-bullseye

or

https://github.com/nodejs/docker-node/blob/e886c2c1d3a109ccfe169419f3b30f9794bacf61/16/bullseye-slim/Dockerfile
 which is 16-bullseye-slim

and, yes, there are buster images there too just underneath.

Python

https://hub.docker.com/_/python

These are built by the community - you've got every current version of
Python you want but I don't know who has built them.

Debian

https://hub.docker.com/_/debian

These are official Debian images published by Debian developers and 
officially maintained within Debian.

Again, you have all the flavours you want here.

Or you can take any one of those and use it as the basis to build your
own combined image.

> Reference:
> 
> https://stackoverflow.com/questions/69446940/how-to-install-node-js-version-16-x-x-in-a-debian-based-image-dockerfile-why
> 
> ---
> Date: Tuesday October 5th, 2021
> 
> Node 10.x was released on 2018-04-24 (but that's the default version when
> using apt-get)
> 
> I have needs to have both Python and Node.js installed in running
> container. I can get the latest version of python in a container using:
> 
> FROM python:alpine
> 
> or
> 
> FROM python:buster <== Debian based
> 

Alpine definitely != Debian. Different libc and so on. [But yes, it's
often smaller, faster - and they're good at reproducible builds too :) ]

> How do I get the latest version of node.js (16.10.0) installed on Debian
> (in a Docker container)
> 
> Whe I do this:
> 
> FROM python:buster
> 
> RUN apt-get update && \
>   apt-get install -y \
> nodejs npm
> 
> I get these versions of node:
> 
> node: 10.24.0
> 
> npm 5.8.0
> 
> and when run in the container give a long statement about no longer being
> unsupported.

You're pulling the versions from buster - which was started two years ago.
Debian keeps a stable distro stable [But buster is now "oldstable" - stable
is now Bullseye / Debian 11]

> 
> What's up with the package repo that 'apt-get' pulls from, that it will not
> install later versions of node (14.x or greater)?
> 
> If I pull from:
> 
> FROM python:alpine
> 
> and include these lines
> RUN apk -v --no-cache --update add \
> nodejs-current npm
> 
> I will get node 16.x version, which makes it easy. I don't have to do
> anything else.
> 
> Is there something equivalent for python:buster (Debian based)
> 
> I would really like a one or two liner in my Dockerfile and not a pages of
> instructions with a dozen commands to simply get node in the image.
> 
> I would appreciate any tested/proven reply. I am sure a number of others
> have the same question. Other stackoverflow articles on this subject are
> convoluted and do not provide the simple solution I am hoping to find that
> is available with pytyon:alpine
> 
> There is a reason I need python:debian and cannot use python:alpine in this
> one use case, otherwise I would chose the latter.
> 
> Is there a way some how to get a package repo maintainers attention to show
> me how to get a recent version (14..16), into the apt-get repository?
> 
> It appears many people are having issues with this.

In the sense that you are the first person to raise it with Debian in
this forum - maybe not too many.

Pick a basis and work with it. From the above, it seems to me that
you can take the official Node docker container and add python if it
isn't already there - it will probably end up being Pyhon 3.9 / 3.10?

Or you can take the Debian docker image and add node and the python
straight from Debian.

Or you can do your own thing based on the community Python Docker container.

I'm not currently using Docker: I found this article (which might
be helpful - https://pythonspeed.com/articles/base-image-python-docker-images/

Most of this was composed by putting in terms into Google like

Docker Debian image node

or 

Docker Debian image Python

or similar and reading the descriptions of the Docker images. Simply
following what you find on Stack Overflow may not be your best bet:
you might want to try some of this for yourself and see.

All the very best, as ever,

Andy Cater



Re: You have been removed from

2021-10-09 Thread Andrei POPESCU
On Vi, 08 oct 21, 13:55:15, Greg Wooledge wrote:
> 
> I'm still curious about what's actually happening here.  Perhaps nobody
> on this list knows, which is understandable, but if someone does
> happen to know the details, I'd like to hear them.
> 
> What I know so far is that someone at ovh.net is subscribed to debian-user
> and has set up an auto-responder.  Every time they receive a message from
> the mailing list, they generate a response message.  This response message
> is sent with an envelope sender (MAIL FROM) address of
> postmas...@vps268904.ovh.net and the same address in the From: header.
> The Postfix MTA at bendel.debian.org logs receipt of the message from
> "vps268904.ovh.net (mail.data3v.com [51.254.223.75])" according to
> the Received: header which it adds.  The response message has the Subject:
> header "**stop**".
> 
> The body of the response message begins with the email address of the
> person who sent the responded-to message, in angle brackets.  Then a
> colon, a space, and a copy of the original Subject: header.  Then a
> newline, then about 128 bytes (I didn't count, just approximating) of
> the original message's body, another newline, and finally the text
> "Please stop the message. we have already unsubscribed our email address."
> 
> (This sentence is clearly untrue.)

Wild speculation: some subscriber with the domain (and e-mail) hosted at 
ovh set up some auto-responder annoyed by the apparent lack of reaction 
to (probably unsuccessful) their unsubscribe attempts.

From their perspective Debian is the spammer :(

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Up-to-date Bullseye, Power Save turned Samsung T55 Monitor off. Couldn't wake it up

2021-10-09 Thread Andrei POPESCU
On Sb, 09 oct 21, 01:13:32, Kenneth Parker wrote:
>
> Thank you all for your responses.  Fortunately, somebody else, I think on
> an Ubuntu forum (that I had googled), someone mentioned issues with
> light-locker.  And that purging it solved the issue.
> 
> So I tried that, with success!
> 
> What is the purpose of Light-Locker anyway?

To lock your screen and keep it that way until the correct password is 
provided.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature