Re: Cannot see update to recent linux kernel 5.10.19-1~bpo10+1 (from 5.10.13-1~bpo10+1)

2021-03-29 Thread Andrei POPESCU
On Ma, 30 mar 21, 00:06:26, l0f...@tuta.io wrote:
> Hi Andrei,
> 
> 29 mars 2021, 22:09 de andreimpope...@gmail.com:
> 
> > Sorry, quoted wrong line, I meant this:
> >
> >> linux-image-5.10.0-0.bpo.4-amd64-unsigned/buster-backports 
> >> 5.10.19-1~bpo10+1 amd64
> >>
> Haha, I was wondering why you were comparing 5.10 with 5.9^^
> 
> Actually, I maintain my position. The package you are quoting (lastly) is 
> maybe more recent but *unsigned*.
> However, I need the signed one because I use Secure Boot... ;)

$ rmadison linux-signed-amd64
linux-signed-amd64 | 4.19.118+2+deb10u1~bpo9+1 | stretch-backports | source
linux-signed-amd64 | 4.19.171+2| stable| source
linux-signed-amd64 | 4.19.181+1| stable| source
linux-signed-amd64 | 5.9.15+1~bpo10+1  | buster-backports  | source
linux-signed-amd64 | 5.10.13+1~bpo10+1 | buster-backports  | source
linux-signed-amd64 | 5.10.19+1~bpo10+1 | backports-policy  | source
linux-signed-amd64 | 5.10.24+1 | testing   | source
linux-signed-amd64 | 5.10.24+1 | unstable  | source


The packages appears to be stuck in the backports-policy. If I recall 
correctly (see recent -backports archives) this is related to the 
freeze.

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


signature.asc
Description: PGP signature


Re: fstab automatically being rescanned by ?

2021-03-29 Thread songbird
Nicolas George wrote:
...
> songbird (12021-03-28):
>>   something is causing /etc/fstab to be rescanned when i change
>> the file and i don't want that ever to happen unless i actually
>> run the mount command myself.  how can i turn this off?
>>=20
>>   MATE desktop, debian testing, up to date.
>>=20
>>   trying to figure out which part is causing this to happen.
>>=20
>>   any ideas?  googling isn't giving me useful results and
>> the man pages aren't either.  :(
>
> Have you tested editing fstab from the console while no desktop
> environment is running?

  good idea, i'll give it a try sometime.  thanks.


  songbird



Re: `apt list` output question

2021-03-29 Thread Victor Sudakov
IL Ka wrote:
> >
> >
> > What is the meaning of the "stable,now" string?
> 
> Here are two answers from the Debian developer
> https://unix.stackexchange.com/questions/408944/understanding-apt-list-output
> https://unix.stackexchange.com/questions/403177/what-is-the-format-of-the-apt-search-output-on-debian-ubuntu

Thank you for the links. It is strange however that this has to be
documented somewhere in stackexchange, not in any official
documentation.

> 
> 
> Btw, "apt" output is not stable nor well documented. It is recommended to
> use "apt-get" for the scripting purposes or, in your case, "dpkg --list" or
> "dpkg-query".

Oh no, my case is the purely interactive use of "apt". I have noticed
that this suffix can be used interactively:

# apt install yamllint/foobar
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Release 'foobar' for 'yamllint' was not found

# apt install yamllint/buster
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Selected version '1.15.0-1' (Debian:10.9/stable [all]) for 'yamllint'
...

I just don't quite understand how this can be put to good use.

But at least I know now what the "unknown" suffix means:
When you see unknown, that means the repository doesn’t have a "Suite"
entry in its Release file.

It's also confusing that the suffix shows "stable" while in fact I'm
tracking "buster" and have no intention to track "stable".
Indeed "apt-cache policy yamllint" shows 
"500 http://deb.debian.org/debian buster/main amd64 Packages", that is
"buster", not "stable" as in "apt list" output.

-- 
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet


signature.asc
Description: PGP signature


Re: Running debian on WSL (windows-system-for-linux)

2021-03-29 Thread Dan Hitt
On Fri, Mar 26, 2021 at 7:01 PM Gregory Seidman <
gsslist+deb...@anthropohedron.net> wrote:

> On Thu, Mar 25, 2021 at 08:02:32PM -0700, Dan Hitt wrote:
> > Does anybody have any experience running debian on a WSL
> > (windows-system-for-linux) machine?
>
> Yes, I use WSL2 on my work machine and run Debian in it.
>
> [...]
> > In particular, i would like to
> > (a) be able to remotely access the WSL debian just as if it were debian
> > box, including having ssh, rsync, and x windows
>
> This is entirely doable. Once you get ssh going you have rsync and X11
> tunneling. You don't mention what you'll be connecting from, but if it
> doesn't have an X11 server you can run a VNC server under Debian that is an
> X11 server, and tunnel VNC over SSH to get to that desktop from whatever
> your client is.
>
> > (b) occasionally do the same sorts of things from its console
>
> Easy. It's even pretty easy to run an X11 server on Windows (XMing is an
> option, though I prefer Cygwin's X11... yes, I use both WSL2 and Cygwin,
> and I mostly use Cygwin) and display to it from WSL2.
>
> > (c) not have to manually set up and keep alive daemons or special
> services,
>
> I am not entirely certain whether WSL2 comes up on Windows boot, but it
> runs services normally when it comes up. You will probably have to muck
> with the Windows firewall to redirect ports on the Windows host to the
> internal WSL2 IP address. I can't say I've done that. I think WSL2 may be a
> per-user thing, so I'm not sure if it can run when you aren't logged in. If
> you have yourself logged in with WSL2 up, though, I expect you can switch
> users and it will still be up.
>
> > (d) as an extra, keep the debian and windows things on separate disks, if
> > possible.
>
> WSL2 uses a file on disk essentially as a block device. I vaguely remember
> it being possible to use a disk partition directly, but I don't remember.
> You can configure where the disk file lives when you create the WSL2 guest.
>
> > I'm not looking for a multi-boot situation, as i want to be able to
> access
> > the WSL apparatus while the console is engaged with doing windows
> > operations for somebody else (and i guess the converse as well, although
> > i'm pretty foggy about sshing into windows).
>
> There is also definitely a way to set up Cygwin's ssh as a Windows service
> (and it might be automatic, though I'm not sure). That may be what you want
> for getting in, then you can use WSL2 from that shell for your other
> purposes.
>
> > Thanks in advance for any advice or pointers.
> > dan
>
> Good luck,
> --Gregory
>

Thanks Gregory for your very thorough answer.

And thanks also Stefan, Peter, Kushal, John Doe, Tomas, David, and
Linux-Fan for your answers and other ideas (such as reversing the roles of
Debian and Windows).

I'll need to think about it some more.

dan


Re: Button events from headphone+micro combo

2021-03-29 Thread Stefan Monnier
> It's entirely possible that the Librem doesn't have a sound chip
> that translates impedance changes to button clicks. You could
> ask the hardware folks, right?

So, that's what I did:

https://forums.puri.sm/t/headphone-buttons-on-the-librem-mini/

so you were right: my chip doesn't support that feature :-(
Bummer!


Stefan



Re: A simple screensaver that works - any improvement possible?

2021-03-29 Thread David
On Sun, 28 Mar 2021 at 03:24, Susmita/Rajib  wrote:

> Link:
> http://forums.debian.net/viewtopic.php?[...]

> Not posting the code here, as it would be a case of repitition.

Hi, as a user of this mailing list for many years, I want to say ...

Please stop doing this.

Or (devils advocate), consider doing it the other way around. Provide
all information here, and then post on the forum asking people to join
the mailing list. And if that feels inappropriate, please consider how
what you are doing is any different.

There are 100's of people on this mailing list. I really cannot
understand why you think it is a good idea to expect 100's
of people to go to the forum to read some information
that you do not bother to show here.

People here have made a decision that they prefer to be
on the mailing list, and perhaps not on the forum. I wish you
would be aware and respect that decision. Many of us made that
decision because we consider mailing lists to be vastly preferable
to web forums.

If you want help from people here, then it is polite to provide
the information here. And you will get far more people reading
your questions, and increase the chances of getting useful
answers.



Re: Button events from headphone+micro combo

2021-03-29 Thread Dan Ritter
David wrote: 
> On Sat, 27 Mar 2021 at 06:29,  wrote:
> > On Fri, Mar 26, 2021 at 03:05:58PM -0400, Dan Ritter wrote:
> > > Stefan Monnier wrote:
> 
> > > > >> My Librem mini comes with a an audio jack in the front into which I 
> > > > >> can
> > > > >> connect the same headphones-with-micro as used typically on phones.
> 
> > > It's entirely possible that the Librem doesn't have a sound chip
> > > that translates impedance changes to button clicks. You could
> > > ask the hardware folks, right?
> 
> > Ugh. A construction like this [1], where the mic is shorted with
> > varying resistors to transmit signals?
> 
> > Ugly hacks folks come up with, that :-/
> 
> I do not consider this to be ugly, at all. I am a hardware engineer.
> 
> Given that the headset cable must be flexible, robust, and tiny diameter,
> it would be suboptimal to add dedicated wires for signalling. The reliability
> of both connector and cable would be compromised.
> 
> I don't understand why anyone would think this is ugly, or what would be
> less ugly. If it is an aversion to analog electronics, don't forget
> that "digital"
> electronics is an abstraction. And underneath that, everything is analog.

It's also the case that the one time this interferes with the
signal is when the button is connecting the resistors -- which
is the one time that nobody cares about sound quality.

-dsr-



Re: Button events from headphone+micro combo

2021-03-29 Thread David
On Sat, 27 Mar 2021 at 06:29,  wrote:
> On Fri, Mar 26, 2021 at 03:05:58PM -0400, Dan Ritter wrote:
> > Stefan Monnier wrote:

> > > >> My Librem mini comes with a an audio jack in the front into which I can
> > > >> connect the same headphones-with-micro as used typically on phones.

> > It's entirely possible that the Librem doesn't have a sound chip
> > that translates impedance changes to button clicks. You could
> > ask the hardware folks, right?

> Ugh. A construction like this [1], where the mic is shorted with
> varying resistors to transmit signals?

> Ugly hacks folks come up with, that :-/

I do not consider this to be ugly, at all. I am a hardware engineer.

Given that the headset cable must be flexible, robust, and tiny diameter,
it would be suboptimal to add dedicated wires for signalling. The reliability
of both connector and cable would be compromised.

I don't understand why anyone would think this is ugly, or what would be
less ugly. If it is an aversion to analog electronics, don't forget
that "digital"
electronics is an abstraction. And underneath that, everything is analog.



Re: Cannot see update to recent linux kernel 5.10.19-1~bpo10+1 (from 5.10.13-1~bpo10+1)

2021-03-29 Thread l0f4r0
Hi Andrei,

29 mars 2021, 22:09 de andreimpope...@gmail.com:

> Sorry, quoted wrong line, I meant this:
>
>> linux-image-5.10.0-0.bpo.4-amd64-unsigned/buster-backports 5.10.19-1~bpo10+1 
>> amd64
>>
Haha, I was wondering why you were comparing 5.10 with 5.9^^

Actually, I maintain my position. The package you are quoting (lastly) is maybe 
more recent but *unsigned*.
However, I need the signed one because I use Secure Boot... ;)

Best regards,
l0f4r0



Re: Cannot see update to recent linux kernel 5.10.19-1~bpo10+1 (from 5.10.13-1~bpo10+1)

2021-03-29 Thread Andrei POPESCU
On Lu, 29 mar 21, 22:45:02, Andrei POPESCU wrote:
> On Du, 28 mar 21, 19:46:07, l0f...@tuta.io wrote:
> > 
> > 22 mars 2021, 12:17 de andreimpope...@gmail.com:
> > 
> > > When Linux has significant updates the package name changes as well to
> > > signal that e.g. out-of-tree modules must be recompiled.
> > >
> > > Try this instead:
> > >
> > > apt list linux-image-5*
> > >
> > $ apt list linux-image-5*
> > Listing... Done
> 
> [...]
> 
> > linux-image-5.10.0-0.bpo.3-amd64/buster-backports,now 5.10.13-1~bpo10+1 
> > amd64 [installed]
> 
> [...]
> 
> > linux-image-5.9.0-0.bpo.5-amd64/buster-backports 5.9.15-1~bpo10+1 amd64
> 
> [...]
> 
> > We can see that there is nothing more recent than what I already have 
> > installed:
> > linux-image-5.10.0-0.bpo.3-amd64/buster-backports,now 5.10.13-1~bpo10+1 
> > amd64 [installed]
> 
> Are you really sure about that? ;)

Sorry, quoted wrong line, I meant this:

> linux-image-5.10.0-0.bpo.4-amd64-unsigned/buster-backports 5.10.19-1~bpo10+1 
> amd64


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


signature.asc
Description: PGP signature


Re: Cannot see update to recent linux kernel 5.10.19-1~bpo10+1 (from 5.10.13-1~bpo10+1)

2021-03-29 Thread Andrei POPESCU
On Du, 28 mar 21, 19:46:07, l0f...@tuta.io wrote:
> 
> 22 mars 2021, 12:17 de andreimpope...@gmail.com:
> 
> > When Linux has significant updates the package name changes as well to
> > signal that e.g. out-of-tree modules must be recompiled.
> >
> > Try this instead:
> >
> > apt list linux-image-5*
> >
> $ apt list linux-image-5*
> Listing... Done

[...]

> linux-image-5.10.0-0.bpo.3-amd64/buster-backports,now 5.10.13-1~bpo10+1 amd64 
> [installed]

[...]

> linux-image-5.9.0-0.bpo.5-amd64/buster-backports 5.9.15-1~bpo10+1 amd64

[...]

> We can see that there is nothing more recent than what I already have 
> installed:
> linux-image-5.10.0-0.bpo.3-amd64/buster-backports,now 5.10.13-1~bpo10+1 amd64 
> [installed]

Are you really sure about that? ;)


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


signature.asc
Description: PGP signature


Re: clarification for UnattendedUpgrades

2021-03-29 Thread V. Mark Lehky
Seems like the syntax of 50unattended-upgrades has changed since that
answer. But at least now I know where the "Origin" values come from.

ty

On Sun, 28 Mar 2021 at 19:05, Charles Curley
 wrote:
>
> On Sun, 28 Mar 2021 17:07:06 -0700
> "V. Mark Lehky"  wrote:
>
> > My question is: How would I be able to find / determine these exact
> > values for any Debian distribution?
>
> See answer # 1 at.
> https://askubuntu.com/questions/87849/how-to-enable-silent-automatic-updates-for-any-repository
>
>
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>



Re: different internet speed in debian and smart phone

2021-03-29 Thread IL Ka
>
>   Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter
>
ok, this is your card.

Lets see  output of
$ iw dev [your_dev_name]
it should be
 $ iw dev wlan0
I believe

Also, try to ping your wifi router ip address and some Internet address like
$ ping 8.8.8.8

Then, check https://www.speedtest.net/ : it gives a little bit more
information than "fast.com"


Re: different internet speed in debian and smart phone

2021-03-29 Thread kaye n
On Mon, Mar 29, 2021 at 10:05 PM IL Ka  wrote:

>
>> Firefox browser in Debian.
>> Internet speed checker is fast.com
>> Speed is 670kbps
>>
>>  How do you connect your laptop to the internet? Is it a cable or wifi?
> What NIC are you using?
>

Laptop connects to the internet using wifi.

NIC - are you referring to this?

result of inxi -b :
  Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter
  driver: bcma-pci-bridge
  Device-2: Marvell 88E8040 PCI-E Fast Ethernet driver: sky2


Re: different internet speed in debian and smart phone

2021-03-29 Thread IL Ka
>
>
> Firefox browser in Debian.
> Internet speed checker is fast.com
> Speed is 670kbps
>
>  How do you connect your laptop to the internet? Is it a cable or wifi?
What NIC are you using?


different internet speed in debian and smart phone

2021-03-29 Thread kaye n
Hello Friends!

My laptop, if it matters:
Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.4
Distro: Debian GNU/Linux 10 (buster)

This is a familiar scenario:

Firefox browser in Debian.
Internet speed checker is fast.com
Speed is 670kbps

Built-in browser of Samsung phone
Internet speed checker is fast.com
Speed is 14mbps

I am quite sure I don't get this much disparity with another Linux distro,
as well as in Windows 7.

Thank you for your time!
Kaye


Re: fstab automatically being rescanned by ?

2021-03-29 Thread Nicolas George
songbird (12021-03-28):
>   something is causing /etc/fstab to be rescanned when i change
> the file and i don't want that ever to happen unless i actually
> run the mount command myself.  how can i turn this off?
> 
>   MATE desktop, debian testing, up to date.
> 
>   trying to figure out which part is causing this to happen.
> 
>   any ideas?  googling isn't giving me useful results and
> the man pages aren't either.  :(

Have you tested editing fstab from the console while no desktop
environment is running?

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: fstab automatically being rescanned by ?

2021-03-29 Thread songbird
David Wright wrote:
...
> I can only make two further suggestions:
>
> Copy fstab to fstab.new and edit that, which allows frequent saves
> without side-effects. Then copy the new over the old when ready.

  yes, that makes sense.  thanks.  i just keep forgetting about
this annoying aspect and when it hits me it reminds me to go 
find what is doing it and ripping it out and then i can't find 
it and i get distracted and forget about it again.


> If you're adding devices, include nofail in the options, in case
> you make a mistake.

  i've been doing that since the change over to systemd borked my
system all those years ago.


  songbird



Re: `apt list` output question

2021-03-29 Thread IL Ka
>
>
> What is the meaning of the "stable,now" string?

Here are two answers from the Debian developer
https://unix.stackexchange.com/questions/408944/understanding-apt-list-output
https://unix.stackexchange.com/questions/403177/what-is-the-format-of-the-apt-search-output-on-debian-ubuntu


Btw, "apt" output is not stable nor well documented. It is recommended to
use "apt-get" for the scripting purposes or, in your case, "dpkg --list" or
"dpkg-query".


UPS, was RTL problem

2021-03-29 Thread Roger Price

On Sun, 28 Mar 2021, Maureen L Thomas wrote:


I am on an ups box so I don't understand how this happened.


Hello Maureen, The UPS will protect your stuff from external power supply 
problems, but not from internal deterioration.


Have you checked that your UPS is doing it's job correctly?  If you pull the 
power cord from the wall does the system shutdown cleanly?  How old are your 
batteries?  They need replacing every 4 years.  We have had people in the 
nut-upsuser list telling us that the shutdown software wasn't working, when 
the battery was 12 years old.


Roger