RE: installing debian on hpe dl360 gen 10 with p408i-a and 331T

2021-11-24 Thread Udi Moshe
Hi dsr,
Thanks for the reply. This is troubling information for me.

-Original Message-
From: Dan Ritter 
Sent: Thursday, November 25, 2021 12:04 AM
To: Udi Moshe 
Cc: debian-user@lists.debian.org
Subject: Re: installing debian on hpe dl360 gen 10 with p408i-a and 331T

Udi Moshe wrote:
> Hi all,
>
> I need to know if the hardware is supported with Debian 9.X, raid volume will 
> be discovered and the network controller will be working.

I have done this with Buster and Bullseye.

Save yourself lots of trouble: get the drives configured as individual disks 
and have mdadm or ZFS manage them. hpacucli is terrible to work with and 
relatives of that controller are one of the two RAID families I've worked with 
that had long-term data corruption problems.

Save yourself more trouble: install Bullseye.

-dsr-

The information contained in this communication (including its attachments) is 
for the intended recipient only.
It may contain confidential, proprietary or otherwise protected information.
If you received this communication in error, please: (a) note that any use, 
disclosure, copying, distribution hereof, and/or taking any action in reliance 
on its contents, is strictly prohibited and may be unlawful, and (b) notify us 
immediately, by replying to the message, and then delete it from your system.



Re: How to NOT automatically mount a specific partition of an external device?

2021-11-24 Thread steve

Thanks to you Felix and Keith for the answers. I will try.

Have a nice day

steve


Le 24-11-2021, à 12:00:31 -0500, Felix Miata a écrit :


steve composed on 2021-11-24 09:57 (UTC+0100):


So is there a way to automatically mount /dev/sdh2 but not /dev/sdh1?



Create a LABEL on that FAT partition, then create a noauto by-label fstab entry
for it. Optionally, create a noauto fstab entry using the FAT filesystem's UUID.
Using the LABEL method, you can reuse it on any other sticks you don't want
automounted, as long as you're not going to attach more than one stick with that
label at a time. e.g., make the label NOAUTOMOUNT.




where to find wifi card info in linux-doc

2021-11-24 Thread lou

i've installed linux-doc for bullseye

 i browse /usr/share/doc/linux-doc, but can't find info about wifi card

i want info about wifi cards supported by kernel

Thanks!



Re: what is flooding /var/tmp?

2021-11-24 Thread Cindy Sue Causey
On 11/24/21, sp...@caiway.net  wrote:
> Hello,
>
> My /var/tmp directory gets flooded by big files named:
>
> sort01ei1t
> sort01Eq7u
> sort01sLAs
> ...
> sortzZZtvv
>
>
> the files are approx. 13 Gb each.
> In 24 hours > 6000 are written.
>
> My big partition is filled by it until the system freezes.
>
> The files are plain text files, containing sshfs paths:
>
> /mnt/nas/sshfs/proc/self/task/413551/root/proc/self/task/413551/root/proc/self/task/413551/root/proc/self/task/413551/root/proc/
> .
>
> nas and desktop are running debian 11 daily updated.
>
> How can I find out which program is writing these files?


Hi, and WOW. While you're waiting for others to chime in, I found the
following that references basically what you're saying AND
specifically about Debian:

https://serverfault.com/questions/281374/what-is-creating-var-tmp-sort-files/281380

Because I'm not versed in this, I'm not going to try to bring it over
here. I don't want to mess it up. That took at least six or eight
different ways of asking the same question before that potential
answer FINALLY popped up at the top of the search.

IMPORTANT: They mention that one might need to run that "lsof" on the
directory/files a few times if necessary before you finally receive
usable information. It apparently needs to catch the culprit in the
active act of doing whatever is going on.

Best wishes...

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *



Re: what is flooding /var/tmp?

2021-11-24 Thread Greg Wooledge
On Thu, Nov 25, 2021 at 04:23:23AM +0100, sp...@caiway.net wrote:
> Hello,
> 
> My /var/tmp directory gets flooded by big files named:
> 
> sort01ei1t
> sort01Eq7u
> sort01sLAs
> ...
> sortzZZtvv
> 
> 
> the files are approx. 13 Gb each.
> In 24 hours > 6000 are written.

> How can I find out which program is writing these files?

They're almost certainly temporary files created by sort(1).

"strings /usr/bin/sort | grep sortX" pretty much confirms this.  The
program contains the string /sortXX which is a template that
could be used by mktemp(3) or a similar routine for temp file name
generation, and it matches the length of your filenames.

So, you're looking for a shell script or a shell command that uses sort,
and has a VERY large input.

Since the files appear on a regular basis, you're probably looking for
something triggered by cron, or a systemd timer.

If you can figure out when the files start appearing, you can narrow
down the start time of the job.  If it's the same start time every day,
that could help you identify which job it is, in case there are lots.
Then again, most systems don't have a huge number of cron jobs, so it
shouldn't be hard to look at all of them.

If it's a different time every day, then you might be looking for systemd
timers.  They're weird and I don't really understand them yet, so if you
have to tackle one of them, good luck.



what is flooding /var/tmp?

2021-11-24 Thread sp...@caiway.net
Hello,

My /var/tmp directory gets flooded by big files named:

sort01ei1t
sort01Eq7u
sort01sLAs
...
sortzZZtvv


the files are approx. 13 Gb each.
In 24 hours > 6000 are written.

My big partition is filled by it until the system freezes.

The files are plain text files, containing sshfs paths:

/mnt/nas/sshfs/proc/self/task/413551/root/proc/self/task/413551/root/proc/self/task/413551/root/proc/self/task/413551/root/proc/
.

nas and desktop are running debian 11 daily updated.

How can I find out which program is writing these files?

Thanks!




installing debian on hpe dl360 gen 10 with p408i-a and 331T

2021-11-24 Thread Udi Moshe
Hi all,

I need to know if the hardware is supported with Debian 9.X, raid volume will 
be discovered and the network controller will be working.

Regards,
Udi

The information contained in this communication (including its attachments) is 
for the intended recipient only.
It may contain confidential, proprietary or otherwise protected information.
If you received this communication in error, please: (a) note that any use, 
disclosure, copying, distribution hereof, and/or taking any action in reliance 
on its contents, is strictly prohibited and may be unlawful, and (b) notify us 
immediately, by replying to the message, and then delete it from your system.


Re: Fwd: lists.debian.org has received bounces from you

2021-11-24 Thread Gene Heskett
On Wednesday 24 November 2021 13:08:19 Nicholas Geovanis wrote:

> Top posting necessarily.
> Folks have discussed list bounces like this one in this forum already.
> I would like to draw the administrators' attention to
> bendel.debian.org, as shown here. I can't see enough to diagnose it as
> false positive or problem. Thanks

The mail server at your ISP is bouncing it, call tech and have them 
whitelist bendel.debian.org.
That doesn't mean they don't send spam, cuz they do occasionally, but at 
least it won't send you threatening msgs to ignore. You'll then get the 
spam but spamassassin can handle that.

> -- Forwarded message -
> From: Debian Listmaster Team 
> Date: Wed, Nov 24, 2021, 10:45 AM
> Subject: lists.debian.org has received bounces from you
> To: 
>
>
> Dear subscriber,
>
> We've encountered some problems while sending listmail to your
> emailaddress nickgeova...@gmail.com.
>
> In the last seven days we've seen bounces for the following list:
> * debian-user
> 1 bounce out of 149 mails in 7 days (0%, kick-score is 80%)
> (https://lists.debian.org/bounces/u9lHbXYWgI1VcxqPZbbglg)
>
> (The link above points to a copy of the latest bounce
> and will be valid for seven days.)
>
> If the bounce-rate passes the kick-score, our bounce-detection will
> forcibly remove your subscription.
>
> Bounces happen from time to time when spam slips through our filters
> but are rejected by your mail provider.  If you are your own mail
> provider and use 'Before-Queue Content filtering', you should
> whitelist bendel.debian.org from
> Content filtering.
>
> However: You can safely ignore this message (and you will not be
> unsubscribed
>
> :-) ) if your bounce rate remains low.
>
> For more information see https://wiki.debian.org/Teams/ListMaster/FAQ
>
> You are welcome to contact listmas...@lists.debian.org if you think
> this message was sent in error.
>
> Sincerely,
> The Listmaster Team


Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: installing debian on hpe dl360 gen 10 with p408i-a and 331T

2021-11-24 Thread Dan Ritter
Udi Moshe wrote: 
> Hi all,
> 
> I need to know if the hardware is supported with Debian 9.X, raid volume will 
> be discovered and the network controller will be working.

I have done this with Buster and Bullseye.

Save yourself lots of trouble: get the drives configured as
individual disks and have mdadm or ZFS manage them. hpacucli is
terrible to work with and relatives of that controller are one
of the two RAID families I've worked with that had long-term
data corruption problems.

Save yourself more trouble: install Bullseye.

-dsr-



installing debian on hpe dl360 gen 10 with p408i-a and 331T

2021-11-24 Thread Udi Moshe
Hi all,

I need to know if the hardware is supported with Debian 9.X, raid volume will 
be discovered and the network controller will be working.

Regards,
Udi

The information contained in this communication (including its attachments) is 
for the intended recipient only.
It may contain confidential, proprietary or otherwise protected information.
If you received this communication in error, please: (a) note that any use, 
disclosure, copying, distribution hereof, and/or taking any action in reliance 
on its contents, is strictly prohibited and may be unlawful, and (b) notify us 
immediately, by replying to the message, and then delete it from your system.


Re: what to do with USB stick that gives badblocks errors

2021-11-24 Thread Bob Weber

On 11/24/21 11:52, Kenneth Parker wrote:

Try Steve Gibson's initdisk.  It claims:

"Experience has shown that USB thumb drives believed
to be dead may be brought back to life with InitDisk."

https://www.grc.com/initdisk.htm

Steve has done a lot of testing on USB flash drives and has discovered ways of 
getting down to the raw drive past the controller.


Check out his other freeware especially shields up!

--


*...Bob*

Re : Re: Re : [HS] dnsmasq

2021-11-24 Thread benoit
Le mercredi 24 novembre 2021 à 10:37, NoSpam  a écrit :

> resolvconf dépend de systemd-resolved qui n'est pas nécessaire si
>
> dnsmasq doit faire le boulot. Vois le fichier
>
> /etc/resolvconf/update.d/dnsmasq
>

Bonsoir,

J'ai désinstallé le paquet resolvconf et tout fonctionne : le DNS et le DHCP.

Un grand merci pour ton aide !

Avec gratitude,

--
Benoit



Re: Debian 11 on old Macbook

2021-11-24 Thread Ken Cunningham


> On Nov 24, 2021, at 11:11 AM, David Wright  wrote:
> 
> On Wed 24 Nov 2021 at 14:59:09 (+0100), fran...@libero.it wrote:
>> I installed Debian 11 (386) on a 2009 Macbook Pro 13 "(5.5).
>> 
>> The installation did not give me any problems except it did not detect wifi 
>> card and touchpad, but I was connected with ethernet and used an external 
>> mouse, so the whole process ended.
>> 
>> During the installation phase of Grub I only chose the hd that appeared in 
>> the window and did all the installer.
>> 
>> I enclose photos of the subdivision that the installer did. I only chose to 
>> install Debian on a partition that I had left empty choosing partitions / 
>> and home Unfortunately Debian does not appear on reboot and neither does 
>> Grub, but Mac OS (Snow Leopard) starts immediately How can I solve this 
>> problem?
>> 
>> If I reinstall using AMD64 instead, what can be the right suggestions to 
>> install Grub in the right place to reboot with it?
> 
> You don't mention anything about how you boot. From my great
> experience of Macs (watching people use them in the last
> century), I'm guessing you might have to hold down some key
> while you boot. That's not just for dual-booting (certainly
> not, 30 years ago), but for doing various Mac-ish things,
> so it should be documented somewhere.
> 
> Also there were threads here, in late August, about booting Macs.
> 
> Cheers,
> David.
> 


I can’t see your photos, but I am currently dual-booting between Ubuntu 21.10 
(64 bit) and MacOSX 10.7 on a MacBook 2,1 without troubles.

Although you can usually hold down the option key during initial boot-up to 
bring up the Mac’s BIOS boot selector, and then select either the MacOSX 10.7 
partition or the GRUB/linux partition, to make things simpler, most 
walkthroughs recommend installing rEFInd 
> which gives you a nice graphical 
menu of your available bootable systems to choose from. 


There are various walkthrus available, and all of them seem to recommend rEFInd 
as well — not doubt I followed one of these several years ago

https://www.makeuseof.com/tag/install-linux-macbook-pro/ 


https://www.lifewire.com/dual-boot-linux-and-mac-os-4125733 


https://www.maketecheasier.com/install-dual-boot-ubuntu-mac/ 


HTH,

K

Re: Debian 11 on old Macbook

2021-11-24 Thread David Wright
On Wed 24 Nov 2021 at 14:59:09 (+0100), fran...@libero.it wrote:
> I installed Debian 11 (386) on a 2009 Macbook Pro 13 "(5.5).
> 
> The installation did not give me any problems except it did not detect wifi 
> card and touchpad, but I was connected with ethernet and used an external 
> mouse, so the whole process ended.
> 
> During the installation phase of Grub I only chose the hd that appeared in 
> the window and did all the installer.
> 
> I enclose photos of the subdivision that the installer did. I only chose to 
> install Debian on a partition that I had left empty choosing partitions / and 
> home Unfortunately Debian does not appear on reboot and neither does Grub, 
> but Mac OS (Snow Leopard) starts immediately How can I solve this problem?
> 
> If I reinstall using AMD64 instead, what can be the right suggestions to 
> install Grub in the right place to reboot with it?

You don't mention anything about how you boot. From my great
experience of Macs (watching people use them in the last
century), I'm guessing you might have to hold down some key
while you boot. That's not just for dual-booting (certainly
not, 30 years ago), but for doing various Mac-ish things,
so it should be documented somewhere.

Also there were threads here, in late August, about booting Macs.

Cheers,
David.



Re: Fwd: lists.debian.org has received bounces from you

2021-11-24 Thread David Wright
On Wed 24 Nov 2021 at 12:08:19 (-0600), Nicholas Geovanis wrote:

> Folks have discussed list bounces like this one in this forum already. I
> would like to draw the administrators' attention to bendel.debian.org, as
> shown here. I can't see enough to diagnose it as false positive or problem.

You can check on the web.

> In the last seven days we've seen bounces for the following list:
> * debian-user
> 1 bounce out of 149 mails in 7 days (0%, kick-score is 80%)
> (https://lists.debian.org/bounces/u9lHbXYWgI1VcxqPZbbglg)
> 
> (The link above points to a copy of the latest bounce
> and will be valid for seven days.)

The link shows the full post, and its Message-ID:

<571196642.196217.1637769582057.javamail.open-xcha...@opme11oxm12nd1.rouen.francetelecom.fr>

confirms that it's

https://lists.debian.org/debian-user/2021/11/msg00564.html

The Brazilian link therein confirms that it's a scam even if
you can't recognise "Bankensystems" as off-topic.

I assume people are clicking the button in the top right corner
of the web page to draw the administrators' attention to it.

Cheers,
David.



Problème avec umask sur un disque NTFS

2021-11-24 Thread lists . debian
Bonjour à tous, Je reviens encore une fois vous demander de l'aide. J'ai un 
ordinateur dual boot Windows 10 / Debian 11. Ce PC possède 2 disques, une SSD 
avec les 2 systèmes et un HDD où sont les autres fichiers (documents, images, 
musique,...). Mon idée est de partager ce HDD entre Windows et Debian. Pour le 
faire, dans mon fichier fstab, j'ai rajouté la ligne suivante : 
UUID=ACB23705B236D414 /mnt/windows ntfs-3g defaults,umask=000 0 0 Les dossiers 
présents montent correctement dans le dossier /mnt/windows : $ ls -l 
/mnt/windows/ total 80 drwxrwxrwx 1 root root 4096 14 nov. 20:20 '$RECYCLE.BIN' 
drwxrwxrwx 1 root root 4096 24 nov. 15:59 CloudStation drwxrwxrwx 1 root root 
4096 21 nov. 11:44 Documents -rwxrwxrwx 1 root root 8192 25 juin 08:15 
DumpStack.log.tmp drwxrwxrwx 1 root root 4096 22 nov. 20:41 Images drwxrwxrwx 1 
root root 4096 24 nov. 11:53 Music drwxrwxrwx 1 root root 8192 23 nov. 06:21 
'System Volume Information' drwxrwxrwx 1 root root 40960 21 nov. 22:22 
Téléchargements drwxrwxrwx 1 root root 4096 21 nov. 19:44 Videos Tout y est et 
les permissions sont bien "rwxrwxrwx". Mon problème est dans le dossier 
Documents : $ ls -l /mnt/windows/Documents/ total 117 drwxrwxrwx 1 root root 
16384 24 nov. 15:59 User1 -rwxrwxrwx 1 root root 0 26 nov. 2020 Default.rdp 
-rwxrwxrwx 1 root root 432 11 mars 2021 desktop.ini dr-xr-xr-x 1 root root 
40960 24 nov. 15:59 User2 drwxrwxrwx 1 root root 16384 24 nov. 16:00 Public 
drwxrwxrwx 1 root root 4096 24 nov. 15:59 User3 dr-xr-xr-x 1 root root 20480 21 
nov. 12:05 Scan -rwxrwxrwx 1 root root 18432 4 déc. 2016 Thumbs.db drwxrwxrwx 1 
root root 0 16 nov. 23:13 'Unified Remote' En comparant User1 avec User2, on 
voit bien que User1 a les mêmes permissions que Documents, mas User2 ne permets 
pas l'écriture, ce qui m'empêche de gérer ce dossier depuis Debian... 
Auriez-vous une idée de pourquoi les permissions de ces sous-dossiers ne sont 
pas les mêmes ? Je vous remercie par avance de vos retours, Cordialement, Marc


Re: Machine won't power off after upgrade to bullseye.

2021-11-24 Thread Tim Woodall

On Tue, 23 Nov 2021, Tim Woodall wrote:


I have an old machine that I've just upgraded to bullseye. Now that it's
upgraded it does not power off when I do halt -p.

I see the following error: (copied so hopefully no typos)

Will now halt.
[  183.942475] ACPI BIOS Error (bug): Could not resolve symbol 
[\_SB.PCI0.LPCB.TPM.PTS], AE_NOT_FOUND (20200925/psargs-330)
[  183.942946] ACPI Error: Aborting method \_PTS due to previous error 
(AE_NOT_FOUND) (20200925/psparse-529)

[  183.943586] reboot: Power down

I found this old bug:

https://bugzilla.kernel.org/show_bug.cgi?id=199117

While this may well be a bios bug, I've never had this problem before.
Now I've got it on two different (older machines)

I'll try downgrading the kernel back to 4.19 but has anyone else seen
anything like this?

Tim.




Interestingly the other machine doesn't print any ACPI errors, it just
doesn't turn off.

But I've discovered that it's something to do with xen, not the kernel.
Booting exactly the same kernel outside of xen does power off
successfully with no errors.

And booting with the 4.19 kernel from buster doesn't turn off on the
4.14 hypervisor.

I'm not exactly sure how to roll back to the 4.11 hypervisor. Just
dpkg -i xen-hypervisor-4.11-amd64_4.11.4+107-gef32c7afa2-1_amd64.deb
is enough to get it to boot (although it complains about xen-utils being
the wrong version) and then halt -p does power off

(As expected poweroff behaves identically to halt -p)

And I find this bug has already been opened.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994899

Unfortunately, the bug isn't very easy to read but I think there might
already be a fix in the pipeline. If not it looks like I can build a
patched hypervisor that doesn't have this problem. I'll investigate
further another day.

Fortunately for me I've been using these machines to test a poor man's
IPMI that I've been developing using a Pi4. I can power them on and off
and watch the boot and shutdown sequence remotely and even tweak the
bios settings. One of the reasons for using these two old machines is
that one only has VGA output while the other has HDMI and also one of
them the normal keyboard gadget cannot control the bios - not sure why -
so I developed an ffs driver instead. So I had them setup specifically
for testing rebooting and power-cycling. Pure luck that I chose to
upgrade them to bullseye and found this issue there.

Tim.



Re: Fwd: lists.debian.org has received bounces from you

2021-11-24 Thread Eduardo M KALINOWSKI



On 24/11/2021 15:08, Nicholas Geovanis wrote:

Top posting necessarily.
Folks have discussed list bounces like this one in this forum already. 
I would like to draw the administrators' attention to 
bendel.debian.org , as shown here. I can't 
see enough to diagnose it as false positive or problem. Thanks


This seems to be perfectly legit and valid. Your mailserver (gmail) 
reject a spam that evaded debian's filters. In rejecting it, it caused a 
bounce. When the list server got the bounce, it warned you about it.


Since it's only one bounce, nothing happens. Only if your server bounces 
a lot of emails (80%, as the message shows) you'll be unsubscribed.





-- Forwarded message -
From: *Debian Listmaster Team* >

Date: Wed, Nov 24, 2021, 10:45 AM
Subject: lists.debian.org  has received 
bounces from you

To: mailto:nickgeova...@gmail.com>>


Dear subscriber,

We've encountered some problems while sending listmail to your
emailaddress nickgeova...@gmail.com .

In the last seven days we've seen bounces for the following list:
* debian-user
        1 bounce out of 149 mails in 7 days (0%, kick-score is 80%)
        (https://lists.debian.org/bounces/u9lHbXYWgI1VcxqPZbbglg 
)


(The link above points to a copy of the latest bounce
and will be valid for seven days.)

If the bounce-rate passes the kick-score, our bounce-detection will 
forcibly

remove your subscription.

Bounces happen from time to time when spam slips through our filters 
but are

rejected by your mail provider.  If you are your own mail provider and use
'Before-Queue Content filtering', you should whitelist 
bendel.debian.org  from

Content filtering.

However: You can safely ignore this message (and you will not be 
unsubscribed

:-) ) if your bounce rate remains low.

For more information see https://wiki.debian.org/Teams/ListMaster/FAQ 



You are welcome to contact listmas...@lists.debian.org 
 if you think this

message was sent in error.

        Sincerely,
The Listmaster Team
--
http://lists.debian.org 



--
Last time I had intimate contact with another human being was rather a
painful experience... I rather liked it... ;)
-- Brett Manz

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



Fwd: lists.debian.org has received bounces from you

2021-11-24 Thread Nicholas Geovanis
Top posting necessarily.
Folks have discussed list bounces like this one in this forum already. I
would like to draw the administrators' attention to bendel.debian.org, as
shown here. I can't see enough to diagnose it as false positive or problem.
Thanks

-- Forwarded message -
From: Debian Listmaster Team 
Date: Wed, Nov 24, 2021, 10:45 AM
Subject: lists.debian.org has received bounces from you
To: 


Dear subscriber,

We've encountered some problems while sending listmail to your
emailaddress nickgeova...@gmail.com.

In the last seven days we've seen bounces for the following list:
* debian-user
1 bounce out of 149 mails in 7 days (0%, kick-score is 80%)
(https://lists.debian.org/bounces/u9lHbXYWgI1VcxqPZbbglg)

(The link above points to a copy of the latest bounce
and will be valid for seven days.)

If the bounce-rate passes the kick-score, our bounce-detection will forcibly
remove your subscription.

Bounces happen from time to time when spam slips through our filters but are
rejected by your mail provider.  If you are your own mail provider and use
'Before-Queue Content filtering', you should whitelist bendel.debian.org
from
Content filtering.

However: You can safely ignore this message (and you will not be
unsubscribed
:-) ) if your bounce rate remains low.

For more information see https://wiki.debian.org/Teams/ListMaster/FAQ

You are welcome to contact listmas...@lists.debian.org if you think this
message was sent in error.

Sincerely,
The Listmaster Team
-- 
http://lists.debian.org


Re: what to do with USB stick that gives badblocks errors

2021-11-24 Thread piorunz

On 24/11/2021 16:10, Curt wrote:

On 2021-11-24, piorunz  wrote:

On 24/11/2021 10:04, Sven Hartge wrote:

Should I throw it away?

Yes.


Agree. I had some bad USBs, did a lot of trickery on them but never were
able to revive them and put them back to any reasonable use. Bin.



I thought I had a bad one once but it was a flaky port.


Good tip, worth checking also. Check on entirely separate machine using
tool like Capacity Tester (that's a FOSS rewrite of very similar Windows
tool):
https://github.com/c0xc/CapacityTester

Test stick, on two separate computers, if it fails on both, bin.

--
With kindest regards, Piotr.

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



Re: How to NOT automatically mount a specific partition of an external device?

2021-11-24 Thread Felix Miata
steve composed on 2021-11-24 09:57 (UTC+0100):

> So is there a way to automatically mount /dev/sdh2 but not /dev/sdh1?


Create a LABEL on that FAT partition, then create a noauto by-label fstab entry
for it. Optionally, create a noauto fstab entry using the FAT filesystem's UUID.
Using the LABEL method, you can reuse it on any other sticks you don't want
automounted, as long as you're not going to attach more than one stick with that
label at a time. e.g., make the label NOAUTOMOUNT.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: what to do with USB stick that gives badblocks errors

2021-11-24 Thread Kenneth Parker
On Tue, Nov 23, 2021, 7:56 AM deloptes  wrote:

> I'm sure there are many ideas around, but I want to hear your opinion
>
> so there is one USB stick that I noticed started mocking about errors when
> booting off.
>

It's giving you more feedback than one of mine did.  It just timed out on
all I/O operations, during an attempted Mint 20 Install (making me think
Mint was more Defective than it is.  [Disclaimer:  It does what it needs to
do, and is good for a beginner]).

Finally, I smelled a rat, aborted the Mint install and tried to read it on
a different machine.

I ran badblocks (without options) and then with -s -n and this produced a
> slightly different output.
> Is the output resulting from the options or is something really wrong with
> the USB
>

They go bad often. I won't even purchase one from FedEx Office anymore,
after so many of theirs failed.

>
> Should I throw it away?
>

I agree with the other response:  Yes!

>
> If no should I try reformat it
>

Try that, only for the humor of it.  (I would be surprised if it worked
after that).

>
> thanks & regards
>

You too.

>
Kenneth Parker

>


Re: what to do with USB stick that gives badblocks errors

2021-11-24 Thread Curt
On 2021-11-24, piorunz  wrote:
> On 24/11/2021 10:04, Sven Hartge wrote:
>>> Should I throw it away?
>> Yes.
>
> Agree. I had some bad USBs, did a lot of trickery on them but never were 
> able to revive them and put them back to any reasonable use. Bin.
>

I thought I had a bad one once but it was a flaky port.





Re: what to do with USB stick that gives badblocks errors

2021-11-24 Thread piorunz

On 24/11/2021 10:04, Sven Hartge wrote:

Should I throw it away?

Yes.


Agree. I had some bad USBs, did a lot of trickery on them but never were 
able to revive them and put them back to any reasonable use. Bin.


--
With kindest regards, Piotr.

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


Re: Debian 11, openssh server, ssh-1 toegang voor 1 client, hoe?

2021-11-24 Thread Wouter Verhelst
On Wed, Nov 17, 2021 at 05:17:48PM +0100, Gijs Hillenius wrote:
> Hallo!
> 
> Ik heb een app op mijn mobiel die sinds Debian 11 niet meer bij de ssh
> server mag. De server log:
> 
> ,
> | sshd[1646154]: Unable to negotiate with 2a01:4f8:200:546b:1::3 port
> | 48559: no matching key exchange method found. Their offer:
> | diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffi
> | e-hellman-group-exchange-sha1 [preauth]
> `
> 
> De (open source) app wordt allang niet meer onderhouden, de ontwikkelaar
> gaf het op, en ik ben nog lang niet zo ver dat ik het kan overnemen.
> 
> 
> Wat ik wel kan, denk ik, is de ssh server vertellen dat vanaf dat ene IP
> address ssh-1 toegestaan is?

Het probleem is niet ssh-1; het probleem is SHA-1 als MAC.

https://shattered.io/ is... "interessant".

Je kan eventueel de SHA1 ciphersuites terug aanzetten, maar da's niet
echt een goed idee, vooral niet als je server vanop het grote boze
Internet bereikbaar is.

-- 
 w@uter.{be,co.za}
wouter@{grep.be,fosdem.org,debian.org}



Debian 11 on old Macbook

2021-11-24 Thread frantal
Hello,

I installed Debian 11 (386) on a 2009 Macbook Pro 13 "(5.5).

The installation did not give me any problems except it did not detect wifi 
card and touchpad, but I was connected with ethernet and used an external 
mouse, so the whole process ended.

During the installation phase of Grub I only chose the hd that appeared in the 
window and did all the installer.

I enclose photos of the subdivision that the installer did. I only chose to 
install Debian on a partition that I had left empty choosing partitions / and 
home Unfortunately Debian does not appear on reboot and neither does Grub, but 
Mac OS (Snow Leopard) starts immediately How can I solve this problem?

If I reinstall using AMD64 instead, what can be the right suggestions to 
install Grub in the right place to reboot with it?

Thanks and regards

Re: All mailing list

2021-11-24 Thread Byung-Hee HWANG 
Shannon Allen  writes:

> I don’t know how to become to set up a mailing list what in the hell
> is going on here

Use Gmane. It is useful for reading and replying.

Sincerely, Byung-Hee

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//



Re: Firefox Has Disabled FVD Speed Dial

2021-11-24 Thread Stephen P. Molnar




On 11/24/2021 01:04 AM, deloptes wrote:

David wrote:


A few seconds web search finds this:
https://discourse.mozilla.org/t/fvd-speed-dial-stopped-working/39165

also after upgrades since perhaps 1-2 years it is creating new profile by
default and one should go to about:profiles and select the old one as
default.

BR


Easy fix, thanks to Speed Dial

https://team-nimbusweb-co.nimbusweb.me/s/share/6332186/ivvhizccop6ut45z89lq

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1



Re: All mailing list

2021-11-24 Thread Dan Ritter
Shannon Allen wrote: 
> I don’t know how to become to set up a mailing list what in the hell is going 
> on here

You'll need to explain what you were trying to do, and what
you've already done.




Re: what to do with USB stick that gives badblocks errors

2021-11-24 Thread Sven Hartge
deloptes  wrote:

> I'm sure there are many ideas around, but I want to hear your opinion

> so there is one USB stick that I noticed started mocking about errors when
> booting off.
> I ran badblocks (without options) and then with -s -n and this produced a
> slightly different output.
> Is the output resulting from the options or is something really wrong with
> the USB

> Should I throw it away?

Yes.

When even the lowly and beyond-cheap flash controller of a USB stick
throws external errors, then it is time to just throw it away.

> If no should I try reformat it

No.

S!

-- 
Sigmentation fault. Core dumped.



Re: Re : [HS] dnsmasq

2021-11-24 Thread NoSpam
resolvconf dépend de systemd-resolved qui n'est pas nécessaire si 
dnsmasq doit faire le boulot. Vois le fichier 
/etc/resolvconf/update.d/dnsmasq


Le 24/11/2021 à 09:51, benoit a écrit :

Le mardi 23 novembre 2021 à 23:39, NoSpam  a écrit :


Le 23/11/2021 à 20:06, benoit a écrit :


Le mardi 23 novembre 2021 à 19:22, NoSpam no-s...@tootai.net a écrit :


C'est la résolution des noms qui ne fonctionne pas, ton resolv-file ne

doit pas être renseigné et/ou tu n'envoies pas les DNS aux clients DHCP

Pour l'instant je n'ai pas encore essayé le DHCP.

J'ai seulement branché un ordi avec une ip statique pour tester la config.

Je vois dans la doc que le

resolv-file=/etc/resolv.dnsmasq

Mais je n'ai pas ce fichier qui liste les serveurs de noms auxquels dnsmasq 
doit s'adresser.

Il n'y en a pas par défaut avec le paquet d'installation ?

Non, les développeurs ne connaissent pas les DNS des futurs utilisateurs

! Ce fichier est à renseigner en fonction du FAI et/ou réseau local

Bonjour et merci pour ton aide

  j'ai ajouté un fichier : /etc/resolv.dnsmasq
Qui contient deux adresse de serveurs dns :

Et dans /etc/dnsmasq.conf j'ai ajouté
resolv-file=/etc/resolv.dnsmasq

Mais ça ne fonctionne toujours pas :
systemctl status dnsmasq.service
Me dit qu'il n'y a pas de serveur dans /run/dnsmasq/resolv.conf
Le fichier est vide, en y ajoutant des adresses de serveur ça fonctionne.

Mais ce fichier est soit volatile soit réécrit à chaque redémarrage du service 
ou appel de :
resolvconf -u

Quelque chose ne va pas dans ma config




Re: apt clé publique n'est pas disponible

2021-11-24 Thread François TOURDE
Le 18953ième jour après Epoch,
benoit écrivait:

> Bonjour,
>
> J'ai ce message d'erreur quand je fais une mise à jour :
> apt update
> Err :1 http://deb.debian.org/debian buster InRelease
> Les signatures suivantes n'ont pas pu être vérifiées car la clé
> publique n'est pas disponible : NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY
> 0E98404D386FA1D9 NO_PUBKEY DCC9EFBF77E11517
> C'est un ordi en debian Stretch qui n'a plus servi depuis longtemps

Bonjour.

Je pense qu'un petit "apt install debian-archive-keyring" (qui va mettre
à jour) devrait suffire dans ton cas.



Re: How to NOT automatically mount a specific partition of an external device?

2021-11-24 Thread Keith Bainbridge
Steve

I use a line in /etc/fstab like this for just this purpose:

UUID=  /mount/point/you/want   ext4defaults,noexec,noauto  0
2

Rememer to mkdir -p the mount point you want.  And it doesn't have to
be /media.

The noexec means nothing can run from the device - not even root. You
may not want that situation

All the best

Keith Bainbridge

keith.bainbridge.3...@gmail.com
0447 667 468

On Wed, 24 Nov 2021 09:57:23 +0100  steve  wrote:

>>Hi,
>>
>>I have an external ssd with two partitions. One is for Windows and the
>>other one is an ext4 partition for data.
>>
>>Every time I plug in this ssd (via usb3), both partitions are mounted
>>automatically.
>>
>>mount command gives:
>>
>>/dev/sdh1 on /media/steve/Samsung_T5 type fuseblk
>>(rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
>>/dev/sdh2 on /media/steve/T5Linux type ext4
>>(rw,nosuid,nodev,relatime,stripe=8191,uhelper=udisks2)
>>
>>I don't need /dev/sdh1 under linux (it's mainly my son's game stuff).
>>I also see sometimes errors in /var/log/syslog related to that
>>partition.
>>
>>So is there a way to automatically mount /dev/sdh2 but not /dev/sdh1?
>>
>>Thanks
>>
>>steve
>>
>>



Re: Re : [HS] Utilisation d'une alimentation universelle de PC portable [RESOLU]

2021-11-24 Thread Olivier
Merci à tous pour vos réponses !

Il semble donc que les PC portables acceptent dans les faits, une plage de
tension plutôt qu'une tension fixe unique, ce qui explique que certaines
alimentations universelles ne proposent aucun mécanisme de sélection de
tension.
 Encore merci.


Re : [HS] dnsmasq

2021-11-24 Thread benoit
Le mardi 23 novembre 2021 à 23:43, NoSpam  a écrit :
>
> Forcément, si le DHCP n'est pas fonctionnel, chaque client doit avoir sa
>
> liste de serveur-s DNS.
>
> En fait ton problème n'est pas dnsmasq: comme est définie ton
>
> organisation tu auras le problème avec n'importe quel client ou logiciel
>
> DNS/DHCP.

Oui il y a ce problème aussi, le DNS fonctionne tant que j'attribue une ip 
statique au(x) client(s)
Mais en DHCP ça ne fonctionne pas.

Je cherche de ce côté



How to NOT automatically mount a specific partition of an external device?

2021-11-24 Thread steve

Hi,

I have an external ssd with two partitions. One is for Windows and the
other one is an ext4 partition for data.

Every time I plug in this ssd (via usb3), both partitions are mounted
automatically.

mount command gives:

/dev/sdh1 on /media/steve/Samsung_T5 type fuseblk 
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sdh2 on /media/steve/T5Linux type ext4 
(rw,nosuid,nodev,relatime,stripe=8191,uhelper=udisks2)

I don't need /dev/sdh1 under linux (it's mainly my son's game stuff). I
also see sometimes errors in /var/log/syslog related to that partition.

So is there a way to automatically mount /dev/sdh2 but not /dev/sdh1?

Thanks

steve




Re : [HS] dnsmasq

2021-11-24 Thread benoit
Le mardi 23 novembre 2021 à 23:39, NoSpam  a écrit :

> Le 23/11/2021 à 20:06, benoit a écrit :
>
> > Le mardi 23 novembre 2021 à 19:22, NoSpam no-s...@tootai.net a écrit :
> >
> > > C'est la résolution des noms qui ne fonctionne pas, ton resolv-file ne
> > >
> > > doit pas être renseigné et/ou tu n'envoies pas les DNS aux clients DHCP
> >
> > Pour l'instant je n'ai pas encore essayé le DHCP.
> >
> > J'ai seulement branché un ordi avec une ip statique pour tester la config.
> >
> > Je vois dans la doc que le
> >
> > resolv-file=/etc/resolv.dnsmasq
> >
> > Mais je n'ai pas ce fichier qui liste les serveurs de noms auxquels dnsmasq 
> > doit s'adresser.
> >
> > Il n'y en a pas par défaut avec le paquet d'installation ?
>
> Non, les développeurs ne connaissent pas les DNS des futurs utilisateurs
>
> ! Ce fichier est à renseigner en fonction du FAI et/ou réseau local

Bonjour et merci pour ton aide

 j'ai ajouté un fichier : /etc/resolv.dnsmasq
Qui contient deux adresse de serveurs dns :

Et dans /etc/dnsmasq.conf j'ai ajouté
resolv-file=/etc/resolv.dnsmasq

Mais ça ne fonctionne toujours pas :
systemctl status dnsmasq.service
Me dit qu'il n'y a pas de serveur dans /run/dnsmasq/resolv.conf
Le fichier est vide, en y ajoutant des adresses de serveur ça fonctionne.

Mais ce fichier est soit volatile soit réécrit à chaque redémarrage du service 
ou appel de :
resolvconf -u

Quelque chose ne va pas dans ma config