Re: thunderbird missing arrows for scrolling through list of email messages

2023-05-26 Thread zithro

On 05 May 2023 18:07, Lee wrote:
On 5/4/23, zithro wrote: 
I think you also need

user_pref("widget.gtk.overlay-scrollbars.enabled", false);

and this is also nice
user_pref("widget.non-native-theme.scrollbar.size.override", 20);


I tried them all, but now there's a simple GUI option (see my other post 
in this thread) ! \o/



PS: no I won't write a theme ^^
But I may check how to edit one. You know how ?


I think vim is really nice :)
But that's probably not what you want to know


Ahah, indeed, but thanks for the laugh ^^


 From there I can select the Chicago95 theme as any user and if there's
anything I don't like I can, once I figure out wtf needs to be changed
(which can be a non-trivial task for me), make the change.


That was my point, wtf needs to be changed ?! ^^
I checked some themes in /usr/share/themes and ... well, I'll use my 
theme as it is !




Re: thunderbird missing arrows for scrolling through list of email messages

2023-05-26 Thread zithro

On 25 Apr 2023 16:46, charlie derr wrote:

Greetings fine free software people.

A number of years ago, the little arrows at the top and bottom of the scrollbar to the 
right of my "message list" view in thunderbird (I'm currently using debian 
stable) disappeared
[...]
Any clue whether it's possible to regain that older (and for me, very useful!) 
functionality


There is now the option in Firefox and Thunderbird to FORCE the display 
of scrolling bars !


Thunderbird :
Settings -> General -> Scrolling -> Always show scrollbars

Firefox :
Settings -> General -> Browsing -> Always show scrollbars

\o/



Re: Weird behaviour on System under high load

2023-05-26 Thread David Christensen

On 5/26/23 16:08, Christian wrote:


Good and bad things:
I started to test different setups (always with full 12 core stress
test). Boot from USB liveCD (only stress and s-tui installed):

- All disks disconnected, other than M2. Standard BIOS
- All disks disconnected, other than M2. Proper Memory profile for
timing
- All disks disconnected, other than M2. Memory profile, undervolted
and overclocked with limited burst to 4ghz
- All disks connected. Memory profile, undervolted and overclocked with
limited burst to 4ghz

All settings so far are stable. :-/
Will see tomorrow any differences in non-free firmware and kernel
modules and test again.

Very strange...



If everything is stable, including undervoltage and overclocking, I 
would consider that good.  I think your hardware is good.



When you say "USB liveCD", is that a USB optical drive with a live CD, a 
USB flash drive with a bootable OS on it, or something else?  If it is 
something that can change, I suggest taking a image of the raw blocks 
with dd(1) so that you can easily get back to this point as you continue 
testing.



AIUI Debian can include microcode patches (depending upon processor). 
If you are using such, I suggest adding that to your test agenda first.



Firmware and kernel modules seem like the right next steps.


David



Re: netmask question

2023-05-26 Thread Andy Smith
Hello,

On Fri, May 26, 2023 at 09:07:23PM -0400, Greg Wooledge wrote:
> On Sat, May 27, 2023 at 12:59:59AM +, Andy Smith wrote:
> > On Mon, May 22, 2023 at 08:26:47PM -0400, Dan Ritter wrote:
> > > No. What's the netmask if you have:
> > > 
> > > IP: 192.168.255.132
> > > broadcast: 192.168.255.255 ?
> > 
> > It's 255.255.0.0.
> > 
> > Specifying a broadcast address does completely define the network
> > range. If you know that 192.168.255.255 is the broadcast then the
> > network can only be 192.168.0.0/16.
> 
> Dan's example was carefully chosen so that this is not true.  The last
> 16 bits of the broadcast address are all 1.  This means the network
> part of the address could be anywhere from 16 to 31 bits.  All are
> equally possible.

Yes, sorry, of course you (and Dan) are correct. There is no reason
why it could not be describing, for example, 192.168.255.0/24
(255.255.255.0 netmask). That will teach me to not write emails at
2am!

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: netmask question

2023-05-26 Thread Greg Wooledge
On Sat, May 27, 2023 at 12:59:59AM +, Andy Smith wrote:
> On Mon, May 22, 2023 at 08:26:47PM -0400, Dan Ritter wrote:
> > No. What's the netmask if you have:
> > 
> > IP: 192.168.255.132
> > broadcast: 192.168.255.255 ?
> 
> It's 255.255.0.0.
> 
> Specifying a broadcast address does completely define the network
> range. If you know that 192.168.255.255 is the broadcast then the
> network can only be 192.168.0.0/16.

Dan's example was carefully chosen so that this is not true.  The last
16 bits of the broadcast address are all 1.  This means the network
part of the address could be anywhere from 16 to 31 bits.  All are
equally possible.



Re: netmask question

2023-05-26 Thread Andy Smith
Hello,

On Mon, May 22, 2023 at 08:26:47PM -0400, Dan Ritter wrote:
> Tom Reed wrote: 
> > If I know the network addr:  192.168.1.0
> > And know the broadcast addr: 192.168.1.255
> > Then I should have the possibility to cal the netmask addr: 255.255.255.0
> > 
> > Isn't it?
> 
> No. What's the netmask if you have:
> 
> IP: 192.168.255.132
> broadcast: 192.168.255.255 ?

It's 255.255.0.0.

Specifying a broadcast address does completely define the network
range. If you know that 192.168.255.255 is the broadcast then the
network can only be 192.168.0.0/16.

You do not need to know even the network address; it's implied.
Since the broadcast is the all-ones address, change them to all
zeroes and that's your network address. So if your KNOW your
broadcast address is 192.168.255.255 then you ALSO KNOW that your
network address is 192.168.0.0/16 because there are 16 bits of 1s
there.

The reverse is not true: if you KNOW the network address is
192.168.0.0 but NOT the prefix/networks (how many 1s there are) then
you do not know where the broadcast address is. It could easily be:

192.168.0.0/31 = 192.168.0.0 → 192.168.0.1 no broadcast
192.168.0.0/30 = 192.168.0.0 → 192.168.0.2 broadcast 192.168.0.3
192.168.0.0/29 = 192.168.0.0 → 192.168.0.4 broadcast 192.168.0.5
.
.
192.168.0.0/24 = 192.168.0.0 → 192.168.0.254 broadcast 192.168.0.155
.
.
192.168.0.0/21 = 192.168.0.0 → 192.168.7.254 broadcast 192.168.7.255
.
.
192.168.0.0/16 = 192.168.0.0 → 192.168.255.254 broadcast 192.168.255.255

…and so on. Without the netmask or prefix you don't know where it
ends, but given a broadcast address then you DO know the netmask and
can work it out.

If given just an address and not told whether it is a broadcast
address or not then you are correct - you can't tell. If the only
information you have is "192.168.0.255" then you don't know if that
is a host address in a network bigger than /24. e.g. 192.168.0.0/23
goes from 192.168.0.0 → 192.168.1.255 and there, 192.168.0.255 would
just be another usable host address. But if you are told that
192.168.0.255 is definitely the broadcast, then this has completely
defined the rest.

Generally in this day and age we would be better off sticking to
prefix lengths not netmasks, i.e. "/24" not "255.255.255.0". And
those who have said this is backwards do have a point - you would
not normally start by specifying the broadcast address since
normally what is important to you is how many addresses are needed.
The netmask and broadcast addresses follow from that. But it's just
maths and it works both ways.

Also as regards /32 addresses, they are normally used for point to
point interfaces such as PPP, VPNs or virtual Ethernets, where every
packet you send that is not destined for yourself will always just
hit the other end of the link. While you CAN use any prefix, if it
is a point-to-point link with no need to directly interact with the
other end device then it is a waste to use anything but a /32. Such
links do not have a broadcast domain; they do not have or need a
network or broadcast address and as they accept every packet that
isn't addressed to itself they only need 1 address.

Here is an example of a real PPP interface I have here (IPs changed
however):

# ip -4 addr show dev ppp0
20: ppp0:  mtu 1492 qdisc pfifo_fast 
state UNKNOWN qlen 3
inet 192.168.218.242 peer 81.187.81.187/32 scope global ppp0
# ip -4 ro show default
default dev ppp0  scope link

As you can see, the interface does not have a prefix because it's
not got a broadcast domain. There is no such concept as a broadcast
or network address here in this situation. The other end is
81.187.81.187/32 regardless. Every packet not destined for
192.168.218.242 obeys the default route, which is to an interface
(ppp0) not to an IP.

This could have been done with a /31 but that would have wasted a
lot of IPs: There'd be one for the customer and its pair at the ISP
end, instead of the /32 situation where the ISP end is the same for
all customers at that location. It could have been done with a /30
but that would have been even worse: it would burn 4 IPs per
customer for no useful reason. It could be done with any other valid
network and would waste more and more IPs the bigger the network is,
but it would still work.

There is still some legacy equipment that doesn't support /31s on
networks with only two devices despite RFC 3021 being more than 20
years old now.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Weird behaviour on System under high load

2023-05-26 Thread Christian
>  Ursprüngliche Nachricht 
> Von: David Christensen 
> An: debian-user@lists.debian.org
> Betreff: Re: Weird behaviour on System under high load
> Datum: Sun, 21 May 2023 15:04:44 -0700
> 
> 
> > > > > What stresstest are you using?
> 
> > ... the package and command "s-tui" and "stress"
> > s-tui gives you an overview on power usage, fan control, temps,
> core
> > frequencies and core utilization on the console
> > 
> > stress is just producing load on selected # of cpus, it can be
> > integrated in s-tui.
> 
> 
> Thanks -- I like tools and will play with it:
> 
> https://packages.debian.org/bullseye/s-tui
> 
> 
> > > Okay.  Put my Perl script on your liveUSB.  Also put some tool
> for
> > > monitoring CPU temperature, such as sensors(1).
> > 
> > Will have time again in a few days and check.
> 
> 
> Please let us know what you find.
> 
Good and bad things: 
I started to test different setups (always with full 12 core stress
test). Boot from USB liveCD (only stress and s-tui installed):

- All disks disconnected, other than M2. Standard BIOS
- All disks disconnected, other than M2. Proper Memory profile for
timing
- All disks disconnected, other than M2. Memory profile, undervolted
and overclocked with limited burst to 4ghz
- All disks connected. Memory profile, undervolted and overclocked with
limited burst to 4ghz

All settings so far are stable. :-/
Will see tomorrow any differences in non-free firmware and kernel
modules and test again.

Very strange...



Re: os-prober Just a Rant

2023-05-26 Thread bw
> There is an etc/default/grub.d, which by analogy with other .d
> directories, can contain user overrides which are not touched by
> upgrades, but I made a quick attempt here which failed and I didn't
> have time to mess around with it. I can't find an example of doing it
> correctly on the Net, which is surprising, all the references I find
> are just for /etc/default/grub. Maybe someone here knows the right way?
>
> --
> Joe

$ cat /etc/default/grub.d/grubtweak.cfg
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

# see /etc/grub.d/40_custom
GRUB_DEFAULT=plasma

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1 loglevel=3 
acpi_backlight=vendor"

# use video=SVIDEO-1:d to fix screen flicker prob on two screens w/ plasma 
desktop
# can do this in 40-custom, SVIDEO-1 does not appear in fluxbox?
# i915 is broken, disabling video outputs doesn't work

GRUB_DISABLE_RECOVERY="true"

#GRUB_DISABLE_SUBMENU=y

GRUB_DISABLE_OS_PROBER="true"



Re: pan nntp via stunnel.

2023-05-26 Thread Jeffrey Walton
On Fri, May 26, 2023 at 11:57 AM  wrote:
>
> https://wiki.debian.org/Pan states,
>
> " ... to generate a RSA Private Key
> #openssl genrsa -out priv.pem
>
> Generate Certificate
> #openssl req -new -x509 -key priv.pem -out stunnel.pem -days 1095"
>
> No problem.  I put the two files in /etc/stunnel/.
>
> Then,
> "combine priv.pem with stunnel.pem"
>
> What is meant by combine?  Is there a syntax to put the private and
> public keys in one file?

Stepping back, I _think_ you are using Pan in client mode. That is,
simply as a reader. In this configuration, Stunnel is merely a SSL
gateway, and Pan talks to Stunnel in plaintext. Stunnel makes the
request to the NNTP server using TLS. So you don't need the server
stuff, like a X.509 certificate.

I think that's why the wiki page says, "Certificate/key is needed in
server mode and optional in client mode."

If you use a certificate in client mode, it will likely mean using TLS
on localhost comms between Pan and Stunnel.

Jeff



Re: ar8161 gigabit Ethernet drivers

2023-05-26 Thread Andrew M.A. Cater
On Thu, May 25, 2023 at 09:23:26AM +0200, Aleix Piulachs wrote:
> I still can’t use the qualcomm atheros ar8161 alx gigabit ethernet drivers

Hi,

Is this still the case? The alx drivers should be installed fairly easily: 
can you give any more details of precisely what is wrong?

All the very best, as ever,

Andy Cater



Re: problem with gcin: Maybe another XIM server is running.

2023-05-26 Thread Brad Rogers
On Fri, 26 May 2023 21:12:06 +0100
Brad Rogers  wrote:

>You only need one;  Picked according to your preference.  They all do
>the same thing, but use different toolkits.

That said, having them all installed may not be the problem.

-- 
 Regards  _   "Valid sig separator is {dash}{dash}{space}"
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
No you can't hop into my shower
Leave Me Alone (I'm Lonely) - P!nk


pgpuv7HQfygal.pgp
Description: OpenPGP digital signature


Re: problem with gcin: Maybe another XIM server is running.

2023-05-26 Thread Brad Rogers
On Sat, 27 May 2023 01:55:47 +0800
hl  wrote:

Hello hl,

>Thank Brad! these three packages are installed, error message remain
>same

You only need one;  Picked according to your preference.  They all do
the same thing, but use different toolkits.

-- 
 Regards  _   "Valid sig separator is {dash}{dash}{space}"
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
This is the fifty first state of the USA
Heartland - The The


pgpc9RGkQ27SI.pgp
Description: OpenPGP digital signature


Re: pan nntp via stunnel.

2023-05-26 Thread tomas
On Fri, May 26, 2023 at 02:10:15PM -0400, Dan Ritter wrote:
> to...@tuxteam.de wrote: 
> > On Fri, May 26, 2023 at 12:05:18PM -0400, Dan Ritter wrote:
> > > > "combine priv.pem with stunnel.pem"
> > > > 
> > > > What is meant by combine?  Is there a syntax to put the private and 
> > > > public keys in one file?
> > > 
> > > cat priv.pem stunnel.pem > combined.pem
> > 
> > I thought of that, too. Perhaps that's what pkcs12 -export does?
> 
> That does the concatenation, but then it specifies the output
> format as pkcs12 instead of pem (pem is the BEGIN CERTIFICATE
> base64 encoded text). If it works, it's because whatever is
> reading it can handle pkcs12.

D'oh. In that case it'd be "... x509 -outform PEM..." or some
such. But if cat works, the merrier :)

> Which is moderately likely to be openssl (as a lib) as well...

I must admit that I take a couple of rounds of trial & error
in those things.

Thanks+cheers
-- 
t


signature.asc
Description: PGP signature


Re: pan nntp via stunnel.

2023-05-26 Thread Dan Ritter
to...@tuxteam.de wrote: 
> On Fri, May 26, 2023 at 12:05:18PM -0400, Dan Ritter wrote:
> > > "combine priv.pem with stunnel.pem"
> > > 
> > > What is meant by combine?  Is there a syntax to put the private and 
> > > public keys in one file?
> > 
> > cat priv.pem stunnel.pem > combined.pem
> 
> I thought of that, too. Perhaps that's what pkcs12 -export does?

That does the concatenation, but then it specifies the output
format as pkcs12 instead of pem (pem is the BEGIN CERTIFICATE
base64 encoded text). If it works, it's because whatever is
reading it can handle pkcs12.

Which is moderately likely to be openssl (as a lib) as well...

-dsr-



Re: problem with gcin: Maybe another XIM server is running.

2023-05-26 Thread hl



On 2023/5/26 16:19, Brad Rogers wrote:

Did you also install one of;
gcin-gtk2-immodule
gcin-gtk3-immodule
gcin-qt5-immodule



Thank Brad! these three packages are installed, error message remain same



acpi

2023-05-26 Thread Aleix Piulachs
i was able to repair the acpi drivers and i don’t get errors at startup


Re: Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Dan Ritter
Kent West wrote: 
> But if I disable 000-default.conf, by running a2dissite 000-default (and
> verify that the sites-enabled dir is empty), the default web page is still
> served up. I would have expected that to have broken the web-server,
> preventing it from being able to serve the default web page (from
> /var/www/html). The only thing I can think of to explain this is that
> /var/www/html must be hard-coded in the Apache2 source as the DocumentRoom.
> 
> Can anyone confirm/deny this, and/or explain why my Apache2 server is not
> broken if I don't have any sites in the sites-available directory and the
> main conf file does not specify the DocumentRoot?

The default DocumentRoot is set at compile time. The one from
the factory is  DocumentRoot "/usr/local/apache/htdocs". Debian
sets it to /var/www/html, and previously set it to /var/www.

-dsr-



Re: Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Kent West
On Fri, May 26, 2023 at 11:35 AM Geert Stappers 
wrote:

> On Fri, May 26, 2023 at 11:18:27AM -0500, Kent West wrote:
> > I'm just tinkering, trying to wrap my brain around Apache2. I've done a
> > clean-install, and when I look through /etc/apache2/apache2.conf, I see
> no
> > reference to "DocumentRoot".
> >
> > There is one in /etc/apache2/sites-[available|enabled]/000-default.conf,
> so
> > of course, the web-server serves up the default Debian Apache2 web page
> > when I use my web-browser to point to localhost. This is as expected.
> >
> > But if I disable 000-default.conf, by running a2dissite 000-default (and
> > verify that the sites-enabled dir is empty),
>
> Yes and has Apache been asked to reread its configuration?
>
>
> Yes, with "$ sudo systemctl restart apache2".


> > the default web page is still
> > served up. I would have expected that to have broken the web-server,
> > preventing it from being able to serve the default web page (from
> > /var/www/html). The only thing I can think of to explain this is that
> > /var/www/html must be hard-coded in the Apache2 source as the
> DocumentRoom.
> >
> > Can anyone confirm/deny this, and/or explain why my Apache2 server is not
> > broken if I don't have any sites in the sites-available directory and the
> > main conf file does not specify the DocumentRoot?
> >
> > Thanks!
>
> Thank by reporting back.
>
>
As I understand Dan Ritter elsewhere in this thread, yes, DocumentRoot is
hard-coded at compile-time (by Debian, not upstream), currently to
/var/www/html.

That answers my question. Thanks, y'all!


-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: pan nntp via stunnel.

2023-05-26 Thread tomas
On Fri, May 26, 2023 at 12:05:18PM -0400, Dan Ritter wrote:
> pe...@easthope.ca wrote: 
> > Hi,
> > 
> > https://wiki.debian.org/Pan states,
> > 
> > " ... to generate a RSA Private Key
> > #openssl genrsa -out priv.pem
> > 
> > Generate Certificate
> > #openssl req -new -x509 -key priv.pem -out stunnel.pem -days 1095"
> > 
> > No problem.  I put the two files in /etc/stunnel/.
> > 
> > Then, 
> > "combine priv.pem with stunnel.pem"
> > 
> > What is meant by combine?  Is there a syntax to put the private and 
> > public keys in one file?
> 
> cat priv.pem stunnel.pem > combined.pem

I thought of that, too. Perhaps that's what pkcs12 -export does?

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Geert Stappers
On Fri, May 26, 2023 at 11:18:27AM -0500, Kent West wrote:
> I'm just tinkering, trying to wrap my brain around Apache2. I've done a
> clean-install, and when I look through /etc/apache2/apache2.conf, I see no
> reference to "DocumentRoot".
> 
> There is one in /etc/apache2/sites-[available|enabled]/000-default.conf, so
> of course, the web-server serves up the default Debian Apache2 web page
> when I use my web-browser to point to localhost. This is as expected.
> 
> But if I disable 000-default.conf, by running a2dissite 000-default (and
> verify that the sites-enabled dir is empty),

Yes and has Apache been asked to reread its configuration?


> the default web page is still
> served up. I would have expected that to have broken the web-server,
> preventing it from being able to serve the default web page (from
> /var/www/html). The only thing I can think of to explain this is that
> /var/www/html must be hard-coded in the Apache2 source as the DocumentRoom.
> 
> Can anyone confirm/deny this, and/or explain why my Apache2 server is not
> broken if I don't have any sites in the sites-available directory and the
> main conf file does not specify the DocumentRoot?
> 
> Thanks!

Thank by reporting back.


Groeten
Geert Stappers
-- 
Silence is hard to parse



Re: pan nntp via stunnel.

2023-05-26 Thread Dan Ritter
pe...@easthope.ca wrote: 
> Hi,
> 
> https://wiki.debian.org/Pan states,
> 
> " ... to generate a RSA Private Key
> #openssl genrsa -out priv.pem
> 
> Generate Certificate
> #openssl req -new -x509 -key priv.pem -out stunnel.pem -days 1095"
> 
> No problem.  I put the two files in /etc/stunnel/.
> 
> Then, 
> "combine priv.pem with stunnel.pem"
> 
> What is meant by combine?  Is there a syntax to put the private and 
> public keys in one file?

cat priv.pem stunnel.pem > combined.pem

-dsr-



Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Kent West
I'm just tinkering, trying to wrap my brain around Apache2. I've done a
clean-install, and when I look through /etc/apache2/apache2.conf, I see no
reference to "DocumentRoot".

There is one in /etc/apache2/sites-[available|enabled]/000-default.conf, so
of course, the web-server serves up the default Debian Apache2 web page
when I use my web-browser to point to localhost. This is as expected.

But if I disable 000-default.conf, by running a2dissite 000-default (and
verify that the sites-enabled dir is empty), the default web page is still
served up. I would have expected that to have broken the web-server,
preventing it from being able to serve the default web page (from
/var/www/html). The only thing I can think of to explain this is that
/var/www/html must be hard-coded in the Apache2 source as the DocumentRoom.

Can anyone confirm/deny this, and/or explain why my Apache2 server is not
broken if I don't have any sites in the sites-available directory and the
main conf file does not specify the DocumentRoot?

Thanks!

-- 
Kent West<")))><
IT Support / Client Support
Abilene Christian University
Westing Peacefully - http://kentwest.blogspot.com


Re: pan nntp via stunnel.

2023-05-26 Thread tomas
On Fri, May 26, 2023 at 08:00:50AM -0700, pe...@easthope.ca wrote:
> Hi,
> 
> https://wiki.debian.org/Pan states,
> 
> " ... to generate a RSA Private Key
> #openssl genrsa -out priv.pem
> 
> Generate Certificate
> #openssl req -new -x509 -key priv.pem -out stunnel.pem -days 1095"
> 
> No problem.  I put the two files in /etc/stunnel/.
> 
> Then, 
> "combine priv.pem with stunnel.pem"
> 
> What is meant by combine?  Is there a syntax to put the private and 
> public keys in one file?

Something along the lines

  openssl -export -inkey  -in  -out cert.pfx

perhaps.

HTH
-- 
t


signature.asc
Description: PGP signature


pan nntp via stunnel.

2023-05-26 Thread peter
Hi,

https://wiki.debian.org/Pan states,

" ... to generate a RSA Private Key
#openssl genrsa -out priv.pem

Generate Certificate
#openssl req -new -x509 -key priv.pem -out stunnel.pem -days 1095"

No problem.  I put the two files in /etc/stunnel/.

Then, 
"combine priv.pem with stunnel.pem"

What is meant by combine?  Is there a syntax to put the private and 
public keys in one file?

Thanks,   ... P.




- 
mobile: +1 778 951 5147
VoIP:   +1 604 670 0140



Re: outil libre et simple de discussion et de partage de ressources ?

2023-05-26 Thread roger . tarani
Merci. 
Sur quels critères stp ? 
Par rapport à quels autres logiciels ? 

Le besoin exprimé était (résumé) : 
- fil de discussion ppal 
- fils de discussions annexes 
- avec échange de fichiers courants dans le fil (pdf, image, bureautique, 
audio, vidéo) 
- fiable pour ne pas que les utilisateurs qui ont déjà Signal/Telegram.Whatsapp 
ne rejette pas la solution proposée 


De: "Sylvain MEDEOT"  
À: "roger tarani"  
Envoyé: Jeudi 25 Mai 2023 10:27:33 
Objet: Re: outil libre et simple de discussion et de partage de ressources ? 

Bonjour, 

rocketchat sans hésitation 
[ https://fr.rocket.chat/ | https://fr.rocket.chat/ ] 

Cordialement, 

Sylvain 
Le jeudi 18 mai 2023 à 11:23:30 UTC+2, RogerT  a écrit : 


Bonjour, 

Si on veut ou doit exclure Whatsapp, et même Signal/Telegram/etc. , quel outil 
similaire et libre peut-on installer en un clin d’oeil sur un hôte debian pour 
équiper un groupe de travail ? 

Principalement : 
- connection en https depuis tout client web/navigateur 
- service de fil de discussion avec génération automatique des hyperliens 
écrits 
- enregistrement de fichiers joints (à un message éventuellement vide) 
- lecture des fichiers pdf, audio, vidéo déposés 

Éventuellement : 
possibilité de discuter un point dans un fil dédié, en marge du fil de 
discussion principal. Pour éviter le bazar habituel. 

Options : 
Une API pour lire et écrire des messages depuis un logiciel tiers. 
Une app iOS/android/win, si elle apporte un plus en ergonomie. 

Vive le logiciel libre. 
Merci. 








thermal acpi drivers

2023-05-26 Thread Aleix Piulachs
My laptop support pwm and starts the fans but when i start the system it
gives me acpi errors that i put below
[ 0.356880] ACPI Error: Needed type [Reference], found [Integer]
(ptrval) (20200925/exresop-66)

[ 0.356951] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands
for [OpcodeName unavailable] (20200925/dswexec-431)

[ 0.357018] ACPI Error: Aborting method \_PR.CPU0._PDC due to previous
error (AE_AML_OPERAND_TYPE) (20200925/psparse-529)
/dev/sda3: clean, 291329/1605184 files, 4074710/66406144 blocks


Re: [SOLVED] Re: After upgrade to bookworm: Keyboard layout

2023-05-26 Thread Vincent Lefevre
On 2023-05-26 11:59:06 +0200, Hans wrote:
[...]
> But today, after I read the hint "try keyboard-setup.sh" and started my 
> system, the keyboard layout was ok! 
> 
> NOTE: I did NOT excute "keyboard-setup.sh", as things were ok!!!
> 
> Doi not ask me why, maybe some dwarfs or some goblins did the job - do not 
> know.

You should look at the logs whether the messages are the same. In
the past, after wakeup, my laptop keyboard was sometimes seen as
"HID 413c:8157" and the mapping was correct, but most of the time,
it was seen as "AT Translated Set 2 keyboard" and the mapping was
incorrect.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: GPT backup table, was Re: virtualisation

2023-05-26 Thread DdB
Am 26.05.2023 um 11:47 schrieb Thomas Schmitt:
> (...) 
> (And as mick.crane already noticed, it is a bit awkward to create an
> extended partiton 2 only to fill it nearly up with logical partition 5.
> I wonder what entity decided to do so.)
> 
About one year ago, i was helping some neighbor at setting up an old
notebook to use linux, XUbuntu in that case.

I was quite surprised to find out, that the installer had done exactly
that: Setup MBR, with extended partition, where only swap was in.
After making sure, that notebook could handle UEFI booting properly, i
allowed myself to find out, if it was possible to change partitioning to
GPT and booting to use EFI. - Yes, i did not need to backup/restore the
partition contents, just carefully moving it to make room for EFISYS
partition and such, and installing the EFI support was enough and the
machine is working happily ever since.

There may be other entities, but apparently in 2022 the Ubuntu installer
still decided to go very old-fashionned about its job. ;-)



Re: GPT backup table, was Re: virtualisation

2023-05-26 Thread David Christensen

On 5/26/23 02:47, Thomas Schmitt wrote:
>>On 5/23/23 14:59, David Christensen wrote:

Your disk has 468862128 sectors. A GPT secondary partition table
  should start 33 sectors before the end of the disk:


Here i disagree. The size of the GPT partition array is adjustable.

32 blocks of 4 entries each is a usual size. But actually you have to
read from the GPT header block the 4 bytes beginning at offset 80 as
little-endian number to get the number of array blocks (by dividing by 4).
The start block of the partition array is adjustable, too: Offset 72,
8 bytes as 64-bit little-endian number.

The position of the GPT header is always 512-byte block 1 for the primary
partition table and the last valid block address of the device for the
backup table.

Specs for GPT are part of the UEFI specs. Current is:
   https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html
(I myself am still reading version 2.6 ...)



Thank you for the clarification and the citation.  :-)


David



Re: virtualisation

2023-05-26 Thread David Christensen

On 5/26/23 01:08, Michael wrote:

On Tuesday, 23 May 2023 23:59:41 CEST, David Christensen wrote:

On 5/23/23 03:33, mick.crane wrote:
[...]

root@pumpkin:~# fdisk -l /dev/sda
Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7899140a


as i interpret this, the disk in questions has a dos partition table...



Agreed.


Your disk has 468862128 sectors.  A GPT secondary partition table 
should start 33 sectors before the end of the disk:


on a disk with a gpt partition table, yes.



Agreed.



maybe i am missing something. if so, please enlighten me!

greetings...



The OP reported error messages regarding a corrupt secondary GPT table. 
So, we went looking for a secondary GPT table.  What we found appears to 
be leftovers from some previous layout.



Zeroing disks before setting them up prevents this kind of confusion 
(and reduces the size of compressed images).



David



[SOLVED] Re: After upgrade to bookworm: Keyboard layout

2023-05-26 Thread Hans
I am answering myself. Surprisingly the error is gone. But I do not know why! 


These were my last actions:
 
In my despair I added the repo of bullseye to the sources.list and downgraded

console-setup
console-setup-linux
keyboard-configuration

Those must be all together downgraded. After downloading and install I got a 
correct keyboard layout, but after reboot it was still back to "us". 

However, I then did "setupcon -k -f" , but got no success.

Then I did "loadkeys de" to get the correct keyboard layout and tried 
"setupcon -k -f" again. After reboot it shows no success again.

As these was no success at all, I upgraded the above packages again to 
bookworm and rebootet - still keyboard is "us".

But today, after I read the hint "try keyboard-setup.sh" and started my 
system, the keyboard layout was ok! 

NOTE: I did NOT excute "keyboard-setup.sh", as things were ok!!!

Doi not ask me why, maybe some dwarfs or some goblins did the job - do not 
know.

Sadly I have nothing learned with this issue, but I am happy it is working 
now.

Thanks for all  the help!

Best regards

Hans
 




GPT backup table, was Re: virtualisation

2023-05-26 Thread Thomas Schmitt
Hi,

mick.crane wrote:
> > > root@pumpkin:~# fdisk -l /dev/sda
> > > Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
> > > ...
> > > Disklabel type: dos
> > > ...
> > > Device Boot Start   End   Sectors   Size Id Type
> > > /dev/sda1  * 2048 466862079 466860032 222.6G 83 Linux
> > > /dev/sda2   466864126 468860927   1996802   975M  5 Extended
> > > /dev/sda5   466864128 468860927   1996800   975M 82 Linux swap / 
> > > Solaris

Michael wrote:
> as i interpret this, the disk in questions has a dos partition table...

Indeed.

(And as mick.crane already noticed, it is a bit awkward to create an
extended partiton 2 only to fill it nearly up with logical partition 5.
I wonder what entity decided to do so.)


David Christensen wrote:
> > Did you zero your drive prior to installing Debian? Perhaps there
> > is a leftover GPT secondary partition table on disk. See below.

> on a disk with a gpt partition table, yes.
> maybe i am missing something. if so, please enlighten me!

A remnant backup GPT is a typical risk of repartitioning a USB stick
from GPT to MBR Partition Table. Such repartitioning happens e.g. if you
put a Debian installation or Live ISO onto a previously GPT partitioned
stick.
(xorriso-dd-target zeros the last block of the target stick in order to
prevent partition editors from re-creating the previous GPT partitioning.)


> > Your disk has 468862128 sectors. A GPT secondary partition table
> >  should start 33 sectors before the end of the disk:

Here i disagree. The size of the GPT partition array is adjustable.

32 blocks of 4 entries each is a usual size. But actually you have to
read from the GPT header block the 4 bytes beginning at offset 80 as
little-endian number to get the number of array blocks (by dividing by 4).
The start block of the partition array is adjustable, too: Offset 72,
8 bytes as 64-bit little-endian number.

The position of the GPT header is always 512-byte block 1 for the primary
partition table and the last valid block address of the device for the
backup table.

Specs for GPT are part of the UEFI specs. Current is:
  https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html
(I myself am still reading version 2.6 ...)


> > Run the following command to see if there is a GPT secondary partition
> > table on your disk:
> > # dd bs=512 count=33 if=/dev/sda skip=468862095 | hexdump -C

So i would rather propose to inspect the last block, whether it begins
by the bytes "EFI PART\000\000\001\000" (meaning GPT version 1.0):

  dd bs=512 count=1 if=/dev/sda skip=468862127 | hexdump -C


Have a nice day :)

Thomas



Re: os-prober Just a Rant

2023-05-26 Thread Hans
Am Donnerstag, 25. Mai 2023, 19:16:29 CEST schrieb Peter Ehlert:
After upgrade to bookworm, the file /etc/default/grub 
was overwritten. It misses the entry like the former post mentioned. 

You will have to add it manually. After this, other OS are beeing seen.

Do not know, why the maintainer did delete this entry, he mighjt have his 
reasons. However, if you miss this change you are confused at the first time.

Just wanted to inform other people.

Best regards and happy hacking

Hans
> updates cause my edits to be overwritten... that sucks
> 
> # If your computer has multiple operating systems installed, then you
> # probably want to run os-prober. However, if your computer is a host
> # for guest OSes installed via LVM or raw disk devices, running
> # os-prober can cause damage to those guest OSes as it mounts
> # filesystems to look for things.
> GRUB_DISABLE_OS_PROBER=false
> 
> perhaps someone should fix that other crap and leave us normal people alone
> 
> end of rant






Wydłużony termin płatności za kupowane towary

2023-05-26 Thread Dominik Chrostek
Dzień dobry,

czy wiedzą Państwo, że macie możliwość zapłaty za towar w znacznie późniejszym 
terminie?

Terminowo uregulujemy w Państwa imieniu faktury u dostawców, a po zapłacie 
wystawiamy Państwu fakturę sprzedaży z odroczonym terminem płatności (30-90 
dni).

Są Państwo zainteresowani takim rozwiązaniem?


Pozdrawiam
Dominik Chrostek



Re: problem with gcin: Maybe another XIM server is running.

2023-05-26 Thread Brad Rogers
On Fri, 26 May 2023 16:07:17 +0800
hl  wrote:

Hello hl,

>i use bullseye for amd64 and install gcin

Did you also install one of;
gcin-gtk2-immodule
gcin-gtk3-immodule
gcin-qt5-immodule

-- 
 Regards  _   "Valid sig separator is {dash}{dash}{space}"
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
Walking through town is quite scary
I Predict A Riot - Kaiser Chiefs


pgp2cLygxbNLg.pgp
Description: OpenPGP digital signature


Re: virtualisation

2023-05-26 Thread Michael

On Tuesday, 23 May 2023 23:59:41 CEST, David Christensen wrote:

On 5/23/23 03:33, mick.crane wrote:
[...]

root@pumpkin:~# fdisk -l /dev/sda
Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7899140a


as i interpret this, the disk in questions has a dos partition table...


Your disk has 468862128 sectors.  A GPT secondary partition 
table should start 33 sectors before the end of the disk:


on a disk with a gpt partition table, yes.


maybe i am missing something. if so, please enlighten me!

greetings...



problem with gcin: Maybe another XIM server is running.

2023-05-26 Thread hl

i use bullseye for amd64 and install gcin

joe@debian:~$ gcin &
[1] 21440
joe@debian:~$ IMOpenIM 'gcin' failed. Maybe another XIM server is running.


how to solve it ? Thanks!



Re: Forcer postfix à envoyer vers une console pendant des tests

2023-05-26 Thread Sébastien NOBILI

Bonjour,

Le 2023-05-25 15:39, Olivier a écrit :

Connaissez-vous un moyen simple (sans trop changer la config de
Postfix)  pour faire cela ?


Tu peux installer Mailhog (https://github.com/mailhog/MailHog)
Tu n'auras qu'à (re)définir le relay_host pour que tout arrive dedans.

Sébastien