Ente Auth

2024-07-26 Thread Mick Ab
Thanks very much for your reply, Jeremy.

I have now installed ente-auth on my Debian Bullseye desktop PC.

I downloaded ente-auth-v2.0.50-x86_64.deb from GitHub.

I then installed it using apt install.

I found ente_auth@ in both /bin and /usr/bin

I thought I needed to run this in order to launch ente-auth, so typed
ente_auth@ but my system said the command could not be found.

Any suggestion as to what I am doing wrong, please ?


Alternative to Authy

2024-07-22 Thread Mick Ab
Now that Authy is no more, I am looking for a suitable replacement. I have
a Debian Bullseye desktop PC, using a CLI interface rather than a desktop
interface.

Can anyone help with this, please ?

I also need to replace Authy on a Windows 11 laptop, so it would help if
any suggestion could cope with Windows as well as Debian.

Thanks very much.

Mike


Hardware Error Messages

2023-10-05 Thread Mick Ab
I have a Desktop PC running Debian 11.

A few days ago I found the following error messages on an xterm window
running in the background :-

Message from syslogd@piglit at Sep 28 09:44:25 ...
  kernel:[51369.604961] [Hardware Error]: Deferred error, no action
required.

Message from syslogd@piglit at Sep 28 09:44:25 ...
  kernel:[51369.604965] [Hardware Error]: CPU:1 (19:21:2)
MC27_STATUS[Over|-|-|-|PCC|SyndV|UECC|Deferred|Poison|Scrub]:
0xd3edbbfde0a1894c

Message from syslogd@piglit at Sep 28 09:44:25 ...
  kernel:[51369.604969] [Hardware Error]: IPID: 0x,
Syndrome: 0x

Message from syslogd@piglit at Sep 28 09:44:25 ...
  kernel:[51369.604970] [Hardware Error]: Power, Interrupts, etc. Ext.
Error Code: 33

Message from syslogd@piglit at Sep 28 09:44:25 ...
  kernel:[51369.604971] [Hardware Error]: cache level: RESV, tx: RESV

Can any helpful information be obtained from them or are they high level
pretty meaningless messages ?

Does Debian have any way of trapping low level hardware Error Messages ?


Clock Icon

2023-07-12 Thread Mick Ab
I have a clock icon on my desktop PC which opens on reboot and then remains
on the top right of the screen all the time.

However, for some reason it has moved (not sure how this happened) and is
now in the middle of the screen under my browser windows (so not visible).

I would like to move the clock, but can't seem to move it with my mouse -
none of the buttons when pressed and held down move it and right clicking
doesn't do anything either.

Can anyone help, please ?


Migrating from hard drives to SSDs

2023-07-11 Thread Mick Ab
I am thinking of changing my storage from two 1TB hard drives in a software
RAID 1 configuration to two M.2 Nvme 1 TB SSDs. The two SSDs would be put
into a software RAID 1 configuration. Currently each hard drive contains
both the operating system and user data.

What steps would you recommend to achieve the above result and would those
steps be the quickest way ?

One of the M.2 slots can operate at PCIe 4.0 and PCIe 3.0, while the other
slot can only operate at PCIe 3.0. If they are to be in a RAID 1 array, I
guess that both slots should be operated at PCIe 3.0 speed.


Re: Corrupt root filesystem

2023-07-09 Thread Mick Ab
On 20:30, Fri, 7 Jul 2023 Reco 
> On Fri, Jul 07, 2023 at 06:26:28PM +0100, Mick Ab wrote:
> > The error messages were of the form :-
> >
> >   "/dev/mapper/vgpcname-root contains a file system with errors, check
> > forced.
> >Inodes that were a part of a corrupted orphan linked lost found.
> >/dev/mapper/vgpcname-root : UNEXPECTED INCONSISTENCY; RUN fsck
> > manually.(i.e .,
> >without -a or -p options). fsck exited with status code 4. The root
> >filesystem on /dev/mapper/vgpcname-root requires a manual fsck
> >
> > There is then a flashing prompt after "(initramfs)".
>
> So, first things first, it's not "before reboot".
> It's "during the boot". And note that initramfs ran fsck, but it failed.
>
> Second, yes, that particular filesystem is indeed required fsck.
>
>
> > The following command was thus run :-
> > sudo fsck -y /dev/mapper/vgpcname-root
> > The PC could then be rebooted.
>
> You've got it wrong here again.
> During initramfs stage root filesystem is mounted readonly.
> This allows it to be checked by fsck, without causing an additional
> damage.
> And, since it's a root filesystem, it's *required* to reboot after the
> fsck.
>
>
> > The file system is ext4.
>
> Thanks. It's a rare sight these days that people actually answer all the
> questions they're asked.
>
> Now, assuming you're using a stock Debian kernel, it's unlikely to be a
> kernel bug. Likewise, we can exclude some "user-firendly" software (I'm
> looking at you, GNOME).
>
> Which leaves us with the hardware fault.
>
> Hate to bring it to you, but additional information would be welcome.
> You're using lvm2, it's obvious.
> But which drive your physical volume resides on?
> I.e. make, model, SMART attributes if any?
>
> Reco
>

I have two 1 TB 7500 rpm Seagate hard drives (I don't know the model name).
They are in a Debian software RAID 1 array. I do not have any SMART
diagnostics, but the RAID 1 array looks okay judging from a 'cat
/proc/mdstat' output. Also no audible sign of any imminent failure of
either hard drive.


Re: Corrupt root filesystem

2023-07-07 Thread Mick Ab
On 18:10, Fri, 7 Jul 2023 Mick Ab 
> On 16:22, Fri, 7 Jul 2023 Andy Smith  >
> > Hi Mick,
> >
> > On Fri, Jul 07, 2023 at 04:01:23PM +0100, Mick Ab wrote:
> > > Twice, when trying to reboot my PC, I have had error messages which
> > > indicate the root file system is corrupted and needs the manual use
of fsck
> > > to fix the root file system before a reboot can be done.
> > >
> > > Any thoughts please as to what might cause the above problem ?
> >
> > It's something that happened in the past so difficult to tell. You
> > will keep getting the message until you run fsck to fix it. You did
> > not say whether you had done that so I'll assume not.
> >
> > I would be booting into a live or rescue environment and running
> > fsck -n first to see what it will do, before running a real fsck.
> > Also have backups.
> >
> > Most likely thing is that fixes it and you have no further
> > problems. If it keeps happening to you, however, then this will need
> > more investigation.
> >
> > Cheers,
> > Andy
> >
> > --
> > https://bitfolk.com/ -- No-nonsense VPS hosting
>
> Sorry, I should have said that fsck was manually run on the root file
system (as advised by the error message) each time that the error occurred.
On both occasions, the system was rebooted okay.
>
> I am concerned that this error might keep recurring, so am keen to find
out what is causing this error.


Re: Corrupt root filesystem

2023-07-07 Thread Mick Ab
On 16:39, Fri, 7 Jul 2023 Reco 
> On July 7, 2023 6:01:23 PM GMT+03:00, Mick Ab <
recoverymail123...@gmail.com> wrote:
> >Twice, when trying to reboot my PC, I have had error messages which
> >indicate the root file system is corrupted and needs the manual use of
fsck
> >to fix the root file system before a reboot can be done.
> >
>
> Typically,  running fsck requires an unmounted filesystem (or at least
readonly one). Achieving this before the reboot is a pretty hard trick.
>
> Thus, more information is needed. What does the message says exactly?
What is the type (ext4, xfs, whatever) of the problematic filesystem?
>
> >Any thoughts please as to what might cause the above problem ?
>
> A hardware fault. A kernel bug. Overprotective software.
> Could be anything.
>
> Reco
> Hi.
>

The error messages were of the form :-

  "/dev/mapper/vgpcname-root contains a file system with errors, check
forced.
   Inodes that were a part of a corrupted orphan linked lost found.
   /dev/mapper/vgpcname-root : UNEXPECTED INCONSISTENCY; RUN fsck
manually.(i.e .,
   without -a or -p options). fsck exited with status code 4. The root
   filesystem on /dev/mapper/vgpcname-root requires a manual fsck

There is then a flashing prompt after "(initramfs)".

The following command was thus run :-

sudo fsck -y /dev/mapper/vgpcname-root

The PC could then be rebooted.

The file system is ext4.


Corrupt root filesystem

2023-07-07 Thread Mick Ab
Twice, when trying to reboot my PC, I have had error messages which
indicate the root file system is corrupted and needs the manual use of fsck
to fix the root file system before a reboot can be done.

Any thoughts please as to what might cause the above problem ?


Re: Raid Array and Changing Motherboard

2023-07-02 Thread Mick Ab
On 19:58, Sun, 2 Jul 2023 David Christensen 
> On 7/2/23 10:23, Mick Ab wrote:
> > I have a software RAID 1 array of two hard drives. Each of the two disks
> > contains the Debian operating system and user data.
> >
> > I am thinking of changing the motherboard because of problems that
might be
> > connected to the current motherboard. The new motherboard would be the
same
> > make and model as the current motherboard.
> >
> > Would I need to recreate the RAID 1 array for the new motherboard I.e.
> > re-initialise the current RAID 1 disks and repopulate the disks with
data
> > or can I just set up the software RAID on the new motherboard without
> > affecting the current data on the RAID 1 drives ?
>
>
> Shutdown the machine.  Boot using a live USB stick.  Type notes into a
> text file.  Use script(1) to record console sessions.  Use dd(1) to take
> an image of each disk to an external HDD (consider piping dd(1) to
> gzip(1) to save space).  Shutdown.  Take note of which HDD is cabled to
> which motherboard port.  Replace motherboard.  Connect HDD's to the same
> motherboard ports.  Boot.  It should "just work".
>
>
> Post details if you have problems.
>
>
> David
>
>

Thanks for your reply.

I don't quite understand what you are proposing.

Do you mean the external HDDs would form a new RAID 1 array for the new
motherboard ?

What would happen to the original RAID 1 disks ?


Raid Array and Changing Motherboard

2023-07-02 Thread Mick Ab
I have a software RAID 1 array of two hard drives. Each of the two disks
contains the Debian operating system and user data.

I am thinking of changing the motherboard because of problems that might be
connected to the current motherboard. The new motherboard would be the same
make and model as the current motherboard.

Would I need to recreate the RAID 1 array for the new motherboard I.e.
re-initialise the current RAID 1 disks and repopulate the disks with data
or can I just set up the software RAID on the new motherboard without
affecting the current data on the RAID 1 drives ?


Nvidia GT 710 and Secure Boot

2023-07-02 Thread Mick Ab
I understand that some people have experienced problems with booting a
motherboard with Secure Boot enabled in the BIOS such that they get a blank
screen, can't enter the BIOS and possibly can't boot at all.

This problem seems to be due to having an old graphics card which doesn't
have UEFI firmware, in particular no GOP driver.

I have an Nvidia Geforce GT 710 graphics card, which is an old card and
probably doesn't have the UEFI firmware or GOP driver needed with the
Secure Boot feature.

Is there a way in which the GT 710 can be updated to incorporate the
necessary UEFI firmware and GOP driver ?


RAM

2023-06-12 Thread Mick Ab
I wish to obtain information about the RAM installed on my PC using the
command line. The information needed is :-

Total RAM stored
Number of sticks used and amount of RAM on each stick
Type of RAM e.g. DDR4
Speed of RAM e.g. 3200 MHz
Manufacturer and model number of RAM

I have seen the dmidecode command being used, but the reliability of the
information returned is not reliable.

Is there any command that will reliably give the required RAM information ?


BIOS version

2023-06-08 Thread Mick Ab
Is there a command that can be used to determine the BIOS version being
used on the motherboard.

I have used dmidecode, but at the bottom of the man page for dmidecode
there is :-

"More often than not, information contained in the DMI tables is
inaccurate, incomplete or simply wrong."


Replacing a Motherboard and CPU

2023-06-06 Thread Mick Ab
If I replace a motherboard in a desktop PC with a motherboard of the same
model and manufacturer, do I need to do anything apart from reconnecting
everything and possibly updating the BIOS ?

If, at the same time as replacing the motherboard,  i also replace the CPU
with a CPU of the same model and manufacturer, do I need to do anything
apart from reconnecting everything and possibly updating the BIOS ?


Re: Error Messages

2023-06-04 Thread Mick Ab
Is it possible that the CPU or motherboard could cause the problem ?


Re: Error Messages

2023-06-02 Thread Mick Ab
Thanks for all the replies to the Error Messages.

I don't know how you find which disk is referred to by ata5.

I think dm-0 is a reference to a Raid setup.

Other information about my hardware and rebooting :-

I have two 1 TB hard drives arranged as a RAID 1 array.

The power supply :-

Corsair TXM Gold 550 W 80+ Gold Certified Semi-modular ATX

About 18 months old.

Motherboard BIOS :-

Someone else was checking the BIOS. They said it was a Beta version. I
discovered my RYZEN 5 5600x is the stepping 0
version of the CPU.

Ram :-

I don't know the make of the Ram - someone built the PC for me.

16GB DDR4-3200MHz RAM  (2 x 8GB sticks, I understand

Reboots :-

Subsequent to those error messages, I tried a reboot.

This failed :-

The reboot error says:

  /dev/mapper/vgpiglit-root contains a file system with errors, check
forced.
   Inodes that were a part of a corrupted orphan linked lost found.
   /dev/mapper/vgpiglit-root : UNEXPECTED INCONSISTENCY; RUN fsck
manually.(i.e .,
   without -a or -p options). fsck exited with status code 4. The root
   filesystem on /dev/mapper/vgpiglit-root requires a manual fsck

There is then a flashing prompt after "(initramfs)".

The fsck command was then performed :-

fsck  -y  /dev/mapper/vgpiglit-root

A subsequent reboot worked.

Firefox then had a very lengthy cursor lag, but this was solved by deleting
the places and favicons data in the Firefox profile.

No more error messages yet.


Error Messages

2023-06-01 Thread Mick Ab
I run a desktop PC with Debian 11, Ryzen 5 5600x CPU and
MSI-B550 A Pro motherboard.

Recently, Hardware error messages such as the following have
appeared every few weeks :-

And around the time of the error messages on the 22nd May, the
syslog extracts say:

May 22 23:11:51 piglit kernel: [1684438.730488] mce: [Hardware Error]:
Machine check events logged
May 22 23:11:51 piglit kernel: [1684438.730489] [Hardware Error]:
Corrected error, no action required.
May 22 23:11:51 piglit kernel: [1684438.730493] [Hardware Error]: CPU:0
(19:21:0) MC13_STATUS[Over|CE|-|AddrV|-|-|-|Poison|Scrub]:
0xc5048b48cbb60f00
May 22 23:11:51 piglit kernel: [1684438.730497] [Hardware Error]: Error
Addr: 0x
May 22 23:11:51 piglit kernel: [1684438.730498] [Hardware Error]: IPID:
0x
May 22 23:11:51 piglit kernel: [1684438.730500] [Hardware Error]: Bank
13 is reserved.
May 22 23:11:51 piglit kernel: [1684438.730500] [Hardware Error]:
internal: RESV

Then last Saturday, there appeared Data Error messages such as the
following :-

May 27 13:24:29 piglit kernel: [2081199.553917] ata5.00: failed command:
READ FPDMA QUEUED
May 27 13:24:29 piglit kernel: [2081199.553919] ata5.00: cmd
60/90:b8:10:14:6c/00:00:03:00:00/40 tag 23 ncq dma 73728 in
May 27 13:24:29 piglit kernel: [2081199.553919]  res
40/00:b8:10:14:6c/00:00:03:00:00/40 Emask 0x50 (ATA bus error)
May 27 13:24:29 piglit kernel: [2081199.553920] ata5.00: status: { DRDY
}
May 27 13:24:29 piglit kernel: [2081199.553923] ata5: hard resetting
link
May 27 13:24:30 piglit kernel: [2081200.273917] ata5: SATA link down
(SStatus 0 SControl 310)
May 27 13:24:34 piglit kernel: [2081203.967459] ata5.00: configured for
UDMA/33

More error messages and then :-

processes of 1 users.
May 27 13:58:08 piglit kernel: [2083218.337088] EXT4-fs warning (device
dm-0): ext4_dirblock_csum_verify:400: inode #53: comm opera: No space
for directory leaf checksum. Please run e2fsck -D.
May 27 13:58:08 piglit kernel: [2083218.337091] EXT4-fs error (device
dm-0): __ext4_find_entry:1591: inode #53: comm opera: checksumming
Message from syslogd@piglit at May 27 13:58:09 ...
  kernel:[2083218.760570] EXT4-fs (dm-0): failed to convert unwritten
extents to written extents -- potential data loss!  (inode 394119, error
-30)
[3135811:3135811:0527/135811.569191:ERROR:gpu_memory_buffer_support_x11.cc(49)]

dri3 extension not supported.

Any thoughts about why the above is happening, please ?

The Opera browser was running at the time. Subsequent to the above
messages, it was found that neither the Opera or Chrome browser could be
opened. Firefox has been opened but seems to run in reduced mode.


Data Error Messages

2023-05-27 Thread Mick Ab
A desktop PC is running Debian 11 with an AMD Ryzen CPU.

The system has been running well, but now the following error messages have
been seen :-

Message from syslogd@piglit at May 27 13:58:09 ...
  kernel:[2083218.760570] EXT4-fs (dm-0): failed to convert unwritten
extents to written extents -- potential data loss!  (inode 394119, error
-30)
[3135811:3135811:0527/135811.569191:ERROR:gpu_memory_buffer_support_x11.cc(49)]

dri3 extension not supported.

Message from syslogd@piglit at May 27 13:58:09 ...
  kernel:[2083218.760570] EXT4-fs (dm-0): failed to convert unwritten
extents to written extents -- potential data loss!  (inode 394119, error
-30)

Any thoughts about why the above is happening, please ?

The Opera browser was running at the time. Subsequent to the above
messages, it was found that neither the Opera or Chrome browser could be
opened. Firefox has been opened but seems to run in a basic mode.


Can't open email attachments with Firefox 102.3.0 esr

2022-10-05 Thread Mick Ab
A few days ago Debian 11 was updated. As part of that update
Firefox was updated to Firefox 102.3.0 esr (64 bit).

It has subsequently been found that this version of Firefox does not allow
email attachments to be opened.

Clicking on such an attachment used to always open a dialogue
box which had options "Open with..." and "Save" but now it just jumps
straight to a Download box with a list of folders to download to.

Has anyone else experienced the above problem ?

Can anyone please suggest a way to get round the above problem
and allow email attachments to be opened rather than downloaded ?


Re: exiftool

2022-07-19 Thread mick crane

On 2022-07-19 17:08, Curt wrote:

On 2022-07-19, mick crane  wrote:


I want to add AttributionURL and AttributionName
https://exiftool.org/TagNames/XMP.html#cc
says is to do with "XMP-cc" but not guessed the syntax as yet.


 exiftool -overwrite_original -XMP-cc:AttributionName="Creator" "file
 name.extension"

 exiftool -overwrite_original -XMP-cc:AttributionURL="Creator URL" 
"file

 name.extension"

 exiftool -overwrite_original
 -XMP-cc:license="http://creativecommons.org/licenses/by-sa/4.0/;
 -XMP-cc:AttributionName="Creator"
 -XMP-cc:AttributionURL="http://creatorURL.com; "file name.extension"


https://libre-software.net/edit-metadata-exiftool/



I've been doing that before without the "-overwrite_original"
but doesn't show up in Gimp metadata menu, is there when view with 
exiftool.
only "exiftool -CopyrightNotice="License: Attribution-ShareAlike 4.0 
International"  file.png"

Shows in Gimp>image>metadata

cheers
mick



Re: exiftool

2022-07-19 Thread mick crane

On 2022-07-19 10:58, Andy Smith wrote:

Hello,

On Tue, Jul 19, 2022 at 10:03:05AM +0100, mick crane wrote:

I'm sending a load of images to somebody and I want them to be
Attribution-ShareAlike 4.0 International license
Don't want to plaster over images so think to add to exif data.


I've not done it personally but this seems to give an example of
what you want using exiftool:

https://photo.stackexchange.com/a/71428



I don't think it was my exif additions Gimp was complaining about but 
something else.

It's happy enough now but struggling adding the exifdata.
Gimp image>Metadata shows 3 tabs Exif, XMP, IPTC
typing exiftool -CopyrightNotice="Licence: Attribution-ShareAlike 4.0 
International (https://creativecommons.org/licenses/by-sa/4.0/)"

text is in IPTC tab of gimp.
I want to add AttributionURL and AttributionName
https://exiftool.org/TagNames/XMP.html#cc
says is to do with "XMP-cc" but not guessed the syntax as yet.

cheers
mick



exiftool

2022-07-19 Thread mick crane

Hi,
exiftool is in the repository so I reckon is fair game for a question.
I'm sending a load of images to somebody and I want them to be 
Attribution-ShareAlike 4.0 International license

Don't want to plaster over images so think to add to exif data.
If type.
"exiftool -license="https://creativecommons.org/licenses/by-sa/4.0/; 
./filename"
Gimp is complaining that metadata is not understood and do I want to 
import.
Gimp Metadata viewer is of the form "Exif.Image.Compression   
Uncompressed"

What is the correct form to add license to image with exiftool ?.
See talk of XML but I don't understand that.

mick



Re: cups broken

2022-07-13 Thread mick crane

On 2022-07-13 18:21, gene heskett wrote:

I give up, the driverless printer cups installs automaticaly cannot be
deleted and has
taken over from the brother drivers that work, preventing me from
using the printer at all.

So how do I disable the driverless junk? Is that a separate package
that is removable?
cups doesn't even offer to disable this non-working garbage.
Thanks for any good clues.


I've usually managed once discovered what CUPS thinks the printer is 
called.

Not seen this documentation on github before.
https://openprinting.github.io/cups/doc/admin.html

mick



Re: nft newbie

2022-07-12 Thread mick crane

On 2022-07-12 10:33, Gareth Evans wrote:

On Tue 12 Jul 2022, at 10:19, Maximiliano Estudies



In most cases it's a best practice to configure all chains with
_policy drop_ and then add rules for the traffic that you want to
allow


All the nftables and PF howtos I have found take this approach.

Why is it best practice?  Is there any security advantage over 
rejection?


I think it is just that 'reject' tells the remote system there is 
something listening.

mick



Re: bash: which: command not found? + (E: Unable to locate package which? ...)

2022-07-08 Thread mick crane

On 2022-07-08 12:48, Greg Wooledge wrote:

https://wiki.debian.org/DebianAlternatives


thanks

mick



Re: bash: which: command not found? + (E: Unable to locate package which? ...)

2022-07-08 Thread mick crane

On 2022-07-08 11:30, to...@tuxteam.de wrote:


Not every binary is contained in a package called like it.
That's what "apt-file" is for (in the same named package):

tomas@trotzki:~$ apt-file search bin/which
debian-goodies: /usr/bin/which-pkg-broke
debian-goodies: /usr/bin/which-pkg-broke-build
debianutils: /usr/bin/which
emboss: /usr/bin/whichdb
whichman: /usr/bin/whichman


here on bookworm
mick@pumpkin:~$ ls -la /usr/bin |grep which
lrwxrwxrwx  1 root root  23 Jan 23 18:05 which -> 
/etc/alternatives/which

-rwxr-xr-x  1 root root 946 May  1 17:47 which.debianutils
mick@pumpkin:~$

what are these "alternatives" ?

mick



Re: How's ...

2022-07-05 Thread mick crane

On 2022-07-04 16:34, Dan Ritter wrote:


Somebody needs to reimplement CPAN in Bash just so we can bootstrap a
totally broken Perl without needing to run out and buy a new computer.
I mean, how hard can it be (assuming you grok what CPAN actually
*does*, which I don't yet, and know Bash, which I know just enough
of to make Greg Wooledge hate me)?


CPAN is a repository for Perl modules the same way that
debian.org provides a repository for Debian packages. You can
access it several different ways, but in general using the
Debian dh-make-perl package to pull a CPAN module and convert it
into a .deb will make you happiest, especially if you have to
install it on more than one machine.


or cpanm
https://perlmaven.com/cpanm

mick



Re: stopping job before shutdown.

2022-07-02 Thread mick crane

On 2022-06-29 18:32, Dan Ritter wrote:

to...@tuxteam.de wrote:

On Wed, Jun 29, 2022 at 09:08:59AM -0400, gene heskett wrote:
> On 6/29/22 08:35, mick crane wrote:
> > hello,
> > Because I don't trust that I've set up power saving properly with PC and
> > monitor if leaving desk I turn off PC with power button on front.
> > It usually is very quick and to start up again.
> > There is printer attached to other PC.
> > Recent update of bookworm when turning off PC with power button there is
> > the message,
> > " stopping job, make Cups quicker for external" or something like that.
> > and it takes 1 minute 30 seconds to stop that and start shutdown.
> > What could be causing that ?
> >
> > mick
> >
> That method of stopping the pc is quite dangerous to the hard drive, you
> may kill the power while the journal is updating the drives contents,
[...]

I took that to mean that the button triggers an orderly
shutdown (otherwise the PC wouldn't get a chance to output
a message).


Yes. Mick's problem is systemd's default timeout.


whatever it was must have been doing it during idle time as it seems to 
have stopped doing it now.


mick



stopping job before shutdown.

2022-06-29 Thread mick crane

hello,
Because I don't trust that I've set up power saving properly with PC and 
monitor if leaving desk I turn off PC with power button on front.

It usually is very quick and to start up again.
There is printer attached to other PC.
Recent update of bookworm when turning off PC with power button there is 
the message,

" stopping job, make Cups quicker for external" or something like that.
and it takes 1 minute 30 seconds to stop that and start shutdown.
What could be causing that ?

mick



Re: Suggestions for rm

2022-06-24 Thread mick crane

On 2022-06-24 08:37, Thomas Schmitt wrote:
> After "rm -rf /" one probably has to re-install the system 
first,


Once upon a time one of the distributions put you in /
after "su"
where typing "rm -rf ./*" is not the best thing to do.
"N"
You only do it once but I like the adjusted su behaviour that keeps you 
in PWD.


mick



Re: how disable package upgrades before "Select and install software" on net.iso

2022-06-23 Thread mick crane

On 2022-06-23 07:26, visqa...@yahoo.com wrote:

hello debian users,

twice installation failed due to error: WARNING **: Configuring
'pkgsel' failed with error code 100

i am trying to install using 11.3 net.iso on vm. i have seen couple of
debian bugs, however they are closed with latest iso.

how do i resolve issue this issue?


searching the error message a couple of suggestions may be something to 
do with UEFI or secure boot.


mick



Re: X coordinates displayed interactively.

2022-06-19 Thread mick crane

On 2022-06-19 16:52, pe...@easthope.ca wrote:

Hi,

Is there a X utility which displays coordinates of the mouse pointer
interactively? Updating coordinates constantly as the mouse is moved.

CADD software does that within the application but I'm interested in
the X display.

Thx,   ... P.

https://stackoverflow.com/questions/21850145/monitor-mouse-coordinates-in-real-time-in-linux



Re: Frozen mouse and keyboard

2022-06-17 Thread Mick Ab
Thanks Brad for your contribution.

I don't think anything can be done with the keyboard when the freeze occurs.

On 15:41, Wed, 15 Jun 2022 Brad Rogers  On Wed, 15 Jun 2022 15:15:35 +0100
> Joe  wrote:
>
> Hello Joe,
>
> >Also try Ctrl-Alt-F3
> >to see if a console is reachable as X might have problems.
>
> Unlikely:  OP reported keyboard is frozen, too.
>
> --
>  Regards  _
>  / )  "The blindingly obvious is never immediately apparent"
> / _)rad   "Is it only me that has a working delete key?"
> I'm in need of your help now
> Burn - Judgement Centre
>


Re: Frozen mouse and keyboard

2022-06-17 Thread Mick Ab
Thanks very much, David, for your help.

Unfortunately it is not possible to log in to the PC from elsewhere.

As to most of your other points, they will have to wait for another similar
freeze.

I was not able to check logs because, subsequent to the freezing, the PC
had to be rebooted due to a mains power cut and the journald system does
not persist across boots.


On 19:36, Wed, 15 Jun 2022 David Wright  On Wed 15 Jun 2022 at 09:21:58 (+0100), Mick Ab wrote:
> > I have a fairly new desktop PC running Debian 11. Recently there have
> been
> > a few occasions when the PC has failed to
> > be woken up in the morning after being left overnight. The mouse and
> > keyboard are frozen. Sometimes the monitor appears to be off and on
> > one occasion it was on.
>
> Like others, I would try logging in over the network to see if
> that is still up.
>
> Apart from that, I would take a careful look at the BIOS settings
> under Power Management.
>
> Assuming your mouse and keyboard are USB or unwired, perhaps
> the USB ports are powering down too? If you plug in a USB stick,
> does it light up as normal?
>
> If there's an ethernet card, is the light still on? Does it
> react to (un)plugging?
>
> Disks spinning?
>
> How long did the logs keep updating during the night?
>
> IOW just how dead is the machine?
>
> > A hard reboot has been used to reset the PC, but it is not a good idea to
> > keep doing that.
>
> Modern filesystems/journals etc are pretty forgiving.
> Modern hardware should be unharmed by the experience.
> (Unlike back in the days of parking disk heads.)
>
> Cheers,
> David.
>
>


Re: digikam import fails

2022-06-16 Thread mick crane

On 2022-06-16 21:23, gene heskett wrote:


gene@coyote:~$ gphoto2
Usage: gphoto2 [-?qvalLnPTDR] [-?|--help] [--usage] [--debug]
    [--debug-loglevel=STRING] [--debug-logfile=FILENAME] 
[-q|--quiet]
    [--hook-script=FILENAME] [--stdout] [--stdout-size] 
[--auto-detect]

    [--show-exif=STRING] [--show-info=STRING] [--summary]
[--manual] [--about]
    [--storage-info] [--shell] [-v|--version] [--list-cameras]
[--list-ports]
    [-a|--abilities] [--port=FILENAME] [--speed=SPEED] 
[--camera=MODEL]

    [--usbid=USBIDs] [--config] [--list-config] [--list-all-config]
    [--get-config=STRING] [--set-config=STRING] 
[--set-config-index=STRING]
    [--set-config-value=STRING] [--reset] [--keep] [--keep-raw] 
[--no-keep]

    [--wait-event=COUNT, SECONDS, MILLISECONDS or MATCHSTRING]
    [--wait-event-and-download=COUNT, SECONDS, MILLISECONDS or 
MATCHSTRING]

    [--capture-preview] [--show-preview] [-B|--bulb=SECONDS]
[-F|--frames=COUNT]
    [-I|--interval=SECONDS] [--reset-interval] [--capture-image]
    [--trigger-capture] [--capture-image-and-download]
    [--capture-movie=COUNT or SECONDS] [--capture-sound]
    [--capture-tethered=COUNT, SECONDS, MILLISECONDS or 
MATCHSTRING]

    [-l|--list-folders] [-L|--list-files] [-m|--mkdir=DIRNAME]
    [-r|--rmdir=DIRNAME] [-n|--num-files] [-p|--get-file=RANGE]
    [-P|--get-all-files] [-t|--get-thumbnail=RANGE]
[-T|--get-all-thumbnails]
    [--get-metadata=RANGE] [--get-all-metadata] 
[--upload-metadata=STRING]
    [--get-raw-data=RANGE] [--get-all-raw-data] 
[--get-audio-data=RANGE]
    [--get-all-audio-data] [-d|--delete-file=RANGE] 
[-D|--delete-all-files]

    [-u|--upload-file=FILENAME] [--filename=FILENAME_PATTERN]
[-f|--folder=FOLDER]
    [-R|--recurse] [--no-recurse] [--new] [--force-overwrite]
[--skip-existing]
gene@coyote:~$


IOW, that didn't work either if its supposed to be gnomes answer to 
digikam.


Next?
Thanks Mick. Take care and stay well.


It's ages since I did anything with cameras.
In the past I've taken the card out and put it in a reader
does "gphoto2 --auto-detect" do anything ?

mick



Re: digikam import fails

2022-06-16 Thread mick crane

On 2022-06-16 20:19, gene heskett wrote:


The shell I ran digikam from is reporting screens full of
missing this and that despite the installation of digikam
pulling in:
 0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded.
Need to get 273 MB of archives.
After this operation, 726 MB of additional disk space will be used.

Then when I run it, there are hundred of missing that and than lines
spit out in the shell I launched it from.


try gphoto2 ?
if camera is on list
http://gphoto.org/proj/libgphoto2/support.php
should you not be able to mount it as a filesystem ?
I like geeqie for viewing images.

mick



Re: Epson printer page counting error

2022-06-16 Thread mick crane

On 2022-06-16 13:31, Brian wrote:


Believe it or believe it not, there are other rechniques to set up a
print queue :).


are these "rechniques" similar to the destructions ?

mick



Re: Frozen mouse and keyboard

2022-06-16 Thread mick crane

On 2022-06-15 09:21, Mick Ab wrote:
I have a fairly new desktop PC running Debian 11. Recently there have 
been

a few occasions when the PC has failed to
be woken up in the morning after being left overnight. The mouse and
keyboard are frozen. Sometimes the monitor appears to be off and on
one occasion it was on.


I have had a separate issue which I think might be the monitor power 
saver communicating with PC.
If I turn off the monitor but leave PC on monitor will not wake up when 
turned back on.
disconnecting the power supply to the monitor and plugging back in 
resolves that.
It used to be that the monitor would not turn back on after going in 
standby mode so I have deselected all power savers in monitor menu.

so rather than hard setting the PC, try power cycle the monitor

mick



Re: Frozen mouse and keyboard

2022-06-15 Thread mick crane

On 2022-06-15 09:21, Mick Ab wrote:
I have a fairly new desktop PC running Debian 11. Recently there have 
been

a few occasions when the PC has failed to
be woken up in the morning after being left overnight. The mouse and
keyboard are frozen. Sometimes the monitor appears to be off and on
one occasion it was on.

A hard reboot has been used to reset the PC, but it is not a good idea 
to

keep doing that.

There is also a worry that if there is a hardware fault, the situation
might get worse over time.

Has anyone any idea as to what may be causing the problem and what 
would be

the best way to try and solve it ?

I anticipate it might be difficult to solve the problem given that the
fault is intermittent.


I had similar and advice to change driver from radeon to amdgpu seemed 
to solve issue.

list emails "system freeze", don't know how to do that archive link.

mick



Frozen mouse and keyboard

2022-06-15 Thread Mick Ab
I have a fairly new desktop PC running Debian 11. Recently there have been
a few occasions when the PC has failed to
be woken up in the morning after being left overnight. The mouse and
keyboard are frozen. Sometimes the monitor appears to be off and on
one occasion it was on.

A hard reboot has been used to reset the PC, but it is not a good idea to
keep doing that.

There is also a worry that if there is a hardware fault, the situation
might get worse over time.

Has anyone any idea as to what may be causing the problem and what would be
the best way to try and solve it ?

I anticipate it might be difficult to solve the problem given that the
fault is intermittent.


Re: user perms

2022-06-14 Thread mick crane

On 2022-06-14 00:03, gene heskett wrote:

I'm looking for a mailer that actually works. tbirds sort filters 
don't, and


they think everybody uses only html, so word wrap doesn't work So I'm

doing this by hand..


I'd have thought if you've got PCs in different buildings Dovecot, 
Roundcube, Seive on the PC with Apache on it would work for you. Think 
it uses postfix which seems automagically installed.

I like it but really should upgrade.
getmail from https://pyropus.ca./software/getmail/ for getting the mail

mick



Re: perms

2022-06-13 Thread mick crane

On 2022-06-13 19:11, Andrew M.A. Cater wrote:

Hi Gene,

For CUPS - you can use lpadmin from a terminal as a command line.

Open a konsole terminal, su - inside it, then use lpadmin


Just looking to see if I could remember how to add a cups printer 
noticed that I am in lpadmin group in /etc/group which might be why I 
look to be able to login as me in cups webpage "add printer".


colours would likely be the colours of the shell and the editor rather 
than the terminal.
I think I did this "select-editor" in mc and was presented with a 
choice.

https://unix.stackexchange.com/questions/80845/how-to-set-default-editor-viewer-for-midnight-commander-to-sublime
maybe there are things to do in [colors] section of
~/.config/mc/ini

mick



Re: xterm. Was Re: 26th pass at installing 11-3, fails

2022-06-12 Thread mick crane

On 2022-06-12 18:34, Roy J. Tellason, Sr. wrote:

On Sunday 12 June 2022 12:54:19 pm mick crane wrote:
As mentioned before, if it was me, I'd remove everything except the 
disk
thing you want to boot with that has the OS on it and add and get 
things

working one at a time afterwards.


Were I running into these kinds of hassles,  that would be my approach 
as well.


The clue though is as somebody said that disabling this new fangled EFI 
doesn't seem to do what Gene (or I ) thinks it does.

So having twigged that I'd initially have the installer do its thing.

mick



Re: xterm. Was Re: 26th pass at installing 11-3, fails

2022-06-12 Thread mick crane

On 2022-06-12 17:20, gene heskett wrote:
I so want you to succeed and I can't be a lot of help.
As mentioned before, if it was me, I'd remove everything except the disk 
thing you want to boot with that has the OS on it and add and get things 
working one at a time afterwards.


mick

--
Key ID4BFEBB31



Re: 26th pass at installing 11-3, fails

2022-06-09 Thread mick crane

On 2022-06-09 22:15, gene heskett wrote:

Posted once as the original .png of 81k, that didn't get thru the 
server,

then I loaed it up in gimp and smunched it down to about 51k, ugly but
still readable, and thats not made it thru the server either.


Screenshot_1.jpg(~61 KB) was attached to your previous mail.
Noticed as you say that 3 disks were scsi7.
I have installed Debian to the wrong disk one time because of user 
error.
The last time I think I physically disconnected other disks for 
installation.
and added/identified others later by dmesg reported manufacturer and 
size.


good luck
mick



Re: google account say it will no longer deliver email

2022-06-09 Thread mick crane

On 2022-06-09 03:09, DdB wrote:

The Big Tech companies are busy to de-anonymise the internet in order 
to

augment their knowledge/income even more, and in order to do that, it
would be very convenient, if every user was forced to authenticate
themself undoubtedly. But let's not talk about that. Let the "official
reasonning" be based on "security". Great cover story, bcoz we like to
trust the security mirage [Bruce Schneier]!


I finally had to set up an app password for mail to work.
During the process of discovering what to click on there was the 
statement.
"Google will never use the content of your emails in order to select 
what ads you are shown."

or words to that effect.

mick
--
Key ID4BFEBB31



concerning gmail and that

2022-06-04 Thread mick crane
There was that Gernman guy who worked out how you could do images with a 
360 view

and he was jumped on by copyright lawyers.
This computer, internet phenomenon, industrial change, is meant to be a 
communal effort.
I saw that there are Requests For Comment which try to establish 
protocols how things work best.
My gripe with these bandwagon jumpers like gmail is the taking of 
community concepts, monetising them and ignoring these RFCs.

mick



Re: Alcatel Linkzone sold by T-Mobile, labeled "4G LTE HotSpot

2022-06-04 Thread mick crane

On 2022-06-04 18:11, Richard Owlett wrote:

I am using an Alcatel Linkzone sold by T-Mobile.

Presume T-mobile is your carrier ?

mick



Re: upgraded dddprint, my 3d printer driver today, to bullseye, but its main job isn't working.

2022-06-04 Thread mick crane

On 2022-06-04 18:25, gene heskett wrote:


But whats with lightdm?
Better yet, where is the blanker configurer?  I don't see any likely
culprits in the applications menu's.


Then I did find it,under power managment. Logical I guess but since
driving a 3d printer can be a several day task, I turned it all to 
never.


But it would be nice if I could enable it and it actually worked. On
buster it worked as desired, dependably.


I have similar issue with bookworm, lightdm, Xfce. thing will blank and 
become unresponsive.
Think it might be the power management of the monitor v the OS power 
manager.


mick.



Re: upgraded dddprint, my 3d printer driver today, to bullseye, but its main job isn't working.

2022-06-04 Thread mick crane

On 2022-06-04 16:13, gene heskett wrote:

Greetings all;

From firmware 11-3 netinstall. On a Dell with an i5 and 16Gigs of 
memory.

2nd machine I've bullseye'd. Half a T SSD drive, your basic one pony
show.

1. It can't access the 3d printer, but shows it as /dev/ttyACM0 in 
dmesg.
cura-5.0 isn't too voluable about why. How do I set that up? Worked 
fine

on buster, for older cura.


bearing in mind I don't know what I'm doing,
in 
https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.en.html

it says you can type "dpkg --audit"
To see the status of packages. Dunno if that is helpful.

mick



Re: google account say it will no longer deliver email

2022-06-01 Thread mick crane

On 2022-06-01 18:04, Brian wrote:

On Thu 12 May 2022 at 10:08:01 -, Virgo Pärna wrote:

On Wed, 11 May 2022 20:09:14 +0200, Fero Dali  
wrote:

> Sorry for misunderstanding: it seems that my account will continue to work but
> ability to download mail with POP3 without OAUTH2 will be unavailable.
>

Actually, even without OAUTH2 it should be still possible. With
two factor authentication enabled it is possible to generate app
password for use with standard authentication.


It's June 1st and my ability to collect mail via POP3 from gmail is
unimpaired. No  OAUTH2 or 2FA at this site. Whatever Google intended
the situation to be after May 30th, it appears the interpretation by
some users of their mail was off the mark.


I'd just allowed non secure apps a year or so ago and seems to be still 
working.


mick

--
Key ID4BFEBB31



Re: regarding firewall discussion

2022-06-01 Thread mick crane

On 2022-06-01 18:26, Joe wrote:

On Tue, 31 May 2022 03:17:52 +0100
mick crane  wrote:


regarding firewall discussion I'm uncertain how firewalls are
supposed to work.
I think the idea is that nothing is accepted unless it is in response
to a request.
What's to stop some spurious instructions being sent in response to
genuine request?



Nothing really, but the reply can only come from the site you made the
request to.

Don't connect to untrustworthy sites.

It is of course possible for a legitimate site to get hacked and some
malware embedded in its pages or linked from them, but that will
normally require JavaScript to run, and many people run browsers with 
JS

disabled. It's quite rare for a professionally-run site to get defaced,
as the terminology has it, but there's no way I would run a
public-facing website, as I don't know enough to secure it (and I know
that I don't know enough).

There are other defences: use a proxy server which blocks anything
suspicious, and so on. We're into application-level firewalls here,
that actually parse the returned packets, beyond the scope of iptables
and the like.

Browsers usually have a number of configurations concerning third-party
content, as well as plugins such as No-Script for Firefox. But a
blanket ban on JS will result in many (most?) websites today not
working. I despair of the 'web designers' who cannot display a single
character on a user's browser without using JS.


I have pfsense between me and the big bad world and I got some OINK code 
which I think is community based Snort list of undesirable addresses.
It is described as "Legacy" so I don't know if there is something newer 
I should be doing.


mick
--
Key ID4BFEBB31



Re: regarding firewall discussion

2022-06-01 Thread mick crane

On 2022-05-31 12:21, IL Ka wrote:


What's to stop some spurious instructions being sent in response to
genuine request?



Packets do not contain instructions, only data. If your TCP/IP
implementation doesn't have vulnerabilities any packet shouldn't be a
problem.
Firewall prevents technically legal packets from reaching software that
shouldn't  be accessible from the Internet.

In most cases a hacker finds an opened port (port listened to by some
daemon) and connects to it.
Firewall prevents hacker from doing it.


I have wondered since ages ago, likely on windows, I wanted to know 
about something, I forget what, and there was one result in Alta Vista 
or something.

Go to website there is a message "GO AWAY".
I go away but then curious go back and my computer crashes.

mick

--
Key ID4BFEBB31



regarding firewall discussion

2022-05-30 Thread mick crane
regarding firewall discussion I'm uncertain how firewalls are supposed 
to work.
I think the idea is that nothing is accepted unless it is in response to 
a request.
What's to stop some spurious instructions being sent in response to 
genuine request?


regards
mick



Re: Apache2 404

2022-05-21 Thread mick crane

On 2022-05-21 16:16, IL Ka wrote:

My link to the second page is via a url  "var/www/
ldmdomain.info/html/Picture1.html".


should be http://ldmdomain.info/Picture1.html probably

this likely depends on what apache thinks the DocumentRoot is ?
mick
--
Key ID4BFEBB31



Re: setting path for root after "sudo su" and "sudo" for Debian Bullseye (11)

2022-05-19 Thread mick crane

On 2022-05-19 04:08, Greg Wooledge wrote:


A much better workaround is to create the /etc/default/su file and put
the line

ALWAYS_SET_PATH yes


well that's handy. "su -" puts you in /root whereas with that you stay 
in $PWD.


cheers
mick



Re: Permanent email address?

2022-05-17 Thread mick crane

On 2022-05-17 01:44, rhkra...@gmail.com wrote:

Thanks to all who replied!

I'll need to think over what I want to do.

I guess if I want to run a local MTA, I'd need either a static IP 
address
(along with a domain) or I'm guessing I could use one of those services 
(and
software) that lets you use a dynamic IP address (by doing something 
like

updating you if your IP address changes.


I think the way it worked was the dynamic ip people gave you namespace 
within a domain that they control then monitored your ipaddress from 
your ISP for changes and redirected requests to your name in their 
domain to that.

mick
--
Key ID4BFEBB31



Re: google account say it will no longer deliver email

2022-05-11 Thread mick crane

On 2022-05-11 19:08, Brian wrote:

On Wed 11 May 2022 at 19:04:01 +0100, mick crane wrote:


On 2022-05-11 18:51, Brian wrote:
> On Wed 11 May 2022 at 15:25:34 +0200, Fero Dali wrote:
>
> > I got a warning from google that my account will be discontinued.
>

> Where does google say that?

It's about stopping phishing emails or something
https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html


That does not answer my question.


It's all a mystery to me
They seem to be saying that you need to use some double authentication 
and programs like getmail that use user, password for IMAP will stop 
working unless you get some sort of one off token from google but 
possible this token will not be a one off.


mick
--
Key ID4BFEBB31



Re: google account say it will no longer deliver email

2022-05-11 Thread mick crane

On 2022-05-11 18:51, Brian wrote:

On Wed 11 May 2022 at 15:25:34 +0200, Fero Dali wrote:


I got a warning from google that my account will be discontinued.





Where does google say that?


It's about stopping phishing emails or something
https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html

mick
--
Key ID4BFEBB31



Re: google account say it will no longer deliver email

2022-05-11 Thread mick crane

On 2022-05-11 14:25, Fero Dali wrote:

I got a warning from google that my account will be discontinued.


On Wed, May 11, 2022 at 4:31 PM mick crane  wrote:

There's scripts been posted on the getmail mailing list to fix this.
I ought to sort it out in the next day or so but it might be easier 
to

stop using gmail.
There's some other limiting thing coming in later apparently.
google instructions here.
https://support.google.com/accounts/answer/185833


I have read the link you posted and tried to make 2-Step Verification.
Unfortunately
on first step (after forced reloging) there is an issue. Believe it or
not I do not use
cell phone, and there are two more options which I also can not use
(well one uses
cell phone again, and other need some device I think which I do not 
have).


So I guess this is the end of me using gmail :(
And I need to find other email provider. I looked at web and found
http://riseup.net
But to create account there I also need an Invite Code. So, please, if
anyone can
give me an Invite Code for riseup.net I would be very grateful.

Thanks



Re: google account say it will no longer deliver email

2022-05-11 Thread mick crane

On 2022-05-11 14:25, Fero Dali wrote:

I got a warning from google that my account will be discontinued.

On May 30, you may lose access to apps that are using less secure 
sign-in

technology
To help keep your account secure, Google will no longer support the 
use of
third-party apps or devices which ask you to sign in to your Google 
Account

using only your username and password. Instead, you’ll need to sign in
using Sign in with Google


 I have used a google account to read email from mailing lists. I am 
using
fetchmail to get emails from google. Now it says it will discontinue 
this
access to my mail. I do not want to use webmail (I need to receive my 
mail

on my computer). Is there a way to somehow download emails from gmail
as I used to after May 30?


There's scripts been posted on the getmail mailing list to fix this.
I ought to sort it out in the next day or so but it might be easier to 
stop using gmail.

There's some other limiting thing coming in later apparently.
google instructions here.
https://support.google.com/accounts/answer/185833

mick

--
Key ID4BFEBB31



Re: Networking pb

2022-05-09 Thread mick crane

On 2022-05-08 22:58, Hussein Yahia wrote:

Hi,
I'm new to Linux, sorry if my question is naive.
I just installed debian 11 on my computer. It's wire-connected to
internet. I have another computer, a mac, which is connected through
wifi.

I can connect from my mac to the Linux desktop. But I can't connect
from the Linux to the mac: when I go in the "Network" directory, the
mac does not appear. I installed smb on the Linux desktop.

Can you help me on that ?


It's likely tidier rather than having server and client on both machines 
to have another something or other running Debian as server whose job is 
file sharing.

via eg. ssh, a web browser.
mick



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread mick crane

On 2022-05-04 14:12, Dieter Rohlfing wrote:

Am Wed, 04 May 2022 11:42:39 +0100
schrieb mick crane :

You can probably type "scanimage --help -A -d 'airscan:w0:EPSON 
ET-2710

Series'"
to get a list of capabilities.


This is the ET2711 specific output:


Options specific to device `airscan:w0:EPSON ET-2710 Series':
 Standard:
   --resolution 100|300dpi [300]


seems you should have 1200dpi available.
No idea why not

mick
--
Key ID4BFEBB31



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread mick crane

On 2022-05-04 10:51, Dieter Rohlfing wrote:


scanimage -L
device `airscan:w0:EPSON ET-2710 Series' is a WSD EPSON ET-2710 Series
ip=172.16.10.91


I'd have to familiarize myself with setting up scanning
You can probably type "scanimage --help -A -d 'airscan:w0:EPSON ET-2710 
Series'"

to get a list of capabilities.

mick
--
Key ID4BFEBB31



Re: mariadb does not run

2022-05-02 Thread mick crane

On 2022-05-02 13:34, Lucio Crusca wrote:

Il 02/05/22 12:54, mick crane ha scritto:

I don't know anything about this but
https://dba.stackexchange.com/questions/184283/mariadb-10-1-galera-cluster-error 
says The source of this error


Thanks but... it's not the same error, nor the same context.


I just searched for $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION 
(code=exited, status=1/FAILURE)
think that was the first one, there's a few others about wanting an IP 
address.


mick
--
Key ID4BFEBB31



Re: mariadb does not run

2022-05-02 Thread mick crane

On 2022-05-02 09:55, Lucio Crusca wrote:

Until yesterday I had mariadb 10.6 running on my system
(bookworm/sid). It was behaving strangely, so I decided to stop it,
uninstall it, remove all databases during uninstall (it's a developer
system, so no real data to save there) and install it again.

Before reinstalling it, I checked that /var/lib/mysql did not exist
anymore. I even manually removed /etc/mysql along with all the
contained files and purged dbconfig-common (just in case it matters),
then I rebooted the system and finally I installed mariadb-server with
its dependencies using aptitude. Installation went through without
errors, but it did not ask me to set a password for the mariadb root
user (maybe that's ok, I'm not sure).




Any clues?


I don't know anything about this but
https://dba.stackexchange.com/questions/184283/mariadb-10-1-galera-cluster-error
says The source of this error is due to the rsync program already in 
use, so the solution was to terminate it :


Dunno if that helps ?

mick
--
Key ID4BFEBB31



Graphics::Magick

2022-04-27 Thread mick crane

with bullseye previous Perl script

use Graphics::Magick;

my $bg=Graphics::Magick->new;
$bg->Set(size=>"1000"."x"."1000");
$bg->ReadImage('xc:white');
$bg->Draw(primitive=>'rectangle',stroke=>'red',points=>"100,100 
980,980");
$bg->Draw(primitive=>'rectangle',stroke=>'blue',points=>"20,20 
400,400");

my $filename = "test.png";
$bg->Write(filename=>$filename);
$bg=undef;

would result in outlines of 2 rectangles overlaid on white.
but with bookworm same thing results in 2 rectangles filled with black.
to get same result have to change to
$bg->Draw(primitive=>'rectangle',stroke=>'red',points=>"100,100 
980,980",fill=>'false');


Is this because bookworm is work in progress ?

regards

mick
--
Key ID4BFEBB31



Re: system freeze

2022-04-22 Thread mick crane

On 2022-04-20 21:52, Felix Miata wrote:


You left out the S part of inxi -SGayz, so we don't see the kernel
parameters to confirm whether radeon.si_support=0 amdgpu.si_support=1
was in effect on the current boot.


well that's 2 days, touch wood, and we have stability.
many thanks.

mick
--
Key ID4BFEBB31



Re: system freeze

2022-04-21 Thread mick crane

On 2022-04-20 21:52, Felix Miata wrote:


You left out the S part of inxi -SGayz, so we don't see the kernel
parameters to confirm whether radeon.si_support=0 amdgpu.si_support=1
was in effect on the current boot.


Ah, it didn't change.
seems "grub-mkconfig" isn't the thing to type.
should be "update-grub"

If adding "radeon.si_support=0 amdgpu.si_support=1" to menuitem in 
/boot/grub/grub_cfg to seems to have effect but resolution is 800x600 
with no options to change in desktop settings/display

whereas "update-grub" looks to sort all that out.

mick@pumpkin:~$ inxi -SGayz
System:
  Kernel: 5.16.0-6-amd64 arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.16.0-6-amd64
root=UUID=1b68069c-ec94-4f42-a35e-6a845008eac7 ro 
radeon.si_support=0

amdgpu.si_support=1
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.24 info: xfce4-panel wm: xfwm
v: 4.16.1 vt: 7 dm: LightDM v: 1.26.0 Distro: Debian GNU/Linux 
bookworm/sid

Graphics:
  Device-1: AMD Pitcairn LE GL [FirePro W5000] vendor: Dell driver: 
amdgpu
v: kernel alternate: radeon pcie: gen: 3 speed: 8 GT/s lanes: 16 
ports:

active: DP-1 empty: DP-2,DVI-I-1 bus-ID: 03:00.0 chip-ID: 1002:6809
class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 
driver:

X: loaded: amdgpu unloaded: fbdev,modesetting,vesa gpu: amdgpu
display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm 
(40.00x22.48")

s-diag: 1165mm (45.88")
  Monitor-1: DP-1 mapped: DisplayPort-0 model: LG (GoldStar) HDR 4K
serial:  built: 2021 res: 3840x2160 hz: 60 dpi: 163 gamma: 
1.2
size: 600x340mm (23.62x13.39") diag: 690mm (27.2") ratio: 16:9 
modes:

max: 3840x2160 min: 640x480
  OpenGL: renderer: ATI FirePro V(FireGL V) Graphics Adapter (PITCAIRN 
DRM

3.44.0 5.16.0-6-amd64 LLVM 13.0.1)
v: 4.6 Mesa 21.3.8 direct render: Yes

that looks like it's changed the driver ?

mick

--
Key ID4BFEBB31



Re: system freeze

2022-04-20 Thread mick crane

On 2022-04-20 19:35, Felix Miata wrote:


Section "Device"
Identifier "DefaultDevice"
Driver "amdgpu"
EndSection


I've changed /etc/default/grub
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="radeon.si_support=0 amdgpu.si_support=1"

typed grub-mkconfig

making file /etc/X11/xorg.conf.d/10-amdgpu.conf
Section "Device"
  Identifier "DefaultDevice"
  Driver "amdgpu"
EndSection

On reboot there is message
[failed]Failed to start Light Display Manager

there is file /usr/share/X11/xorg.conf.d/10-amdgpu.conf

Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection

putting that in /etc/X11/xorg.conf.d/10-amdgpu.conf
X starts but driver doesn't seem to have changed?

$ inxi -SGayz
Graphics:
  Device-1: AMD Pitcairn LE GL [FirePro W5000] vendor: Dell driver: 
radeon
v: kernel alternate: amdgpu pcie: gen: 3 speed: 8 GT/s lanes: 16 
ports:

active: DP-1 empty: DP-2,DVI-I-1 bus-ID: 03:00.0 chip-ID: 1002:6809
class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 
driver:

X: loaded: radeon unloaded: fbdev,modesetting,vesa gpu: radeon
display-ID: :0.0 screens: 1

Is there some syntax error.  Do I need this
MatchDriver "amdgpu"
and
Identifier "DefaultDevice"

cheers
mick
--
Key ID4BFEBB31



Re: system freeze

2022-04-20 Thread mick crane

On 2022-04-20 17:34, Felix Miata wrote:

mick crane composed on 2022-04-20 11:47 (UTC+0100):


Graphics:
   Device-1: AMD Pitcairn LE GL [FirePro W5000] vendor: Dell driver:
radeon
 v: kernel alternate: amdgpu pcie: gen: 3 speed: 8 GT/s lanes: 16
ports:
 active: DP-1 empty: DP-2,DVI-I-1 bus-ID: 03:00.0 chip-ID: 
1002:6809

 class-ID: 0300
   Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1
driver:
 X: loaded: radeon unloaded: fbdev,modesetting,vesa gpu: radeon
Your GPU has another driver option set. Currently you are using radeon 
kernel
device driver with radeon DDX Xorg display driver. You may switch to 
the amdgpu
kernel device driver, which supports both the amdgpu DDX display driver 
and the
modesetting DIX display driver. To make the switch, append the 
following to the

linu lines in /boot/grub/grub.cfg and GRUB_CMDLINE_LINUX_DEFAULT= in
/etc/default/grub:

 radeon.si_support=0 amdgpu.si_support=1

I added that to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub but I 
can't see what to put in /boot/grub/grub.cfg because I'm not supposed to 
edit it and grub-mkconfig is automagical.



Switching between the two Xorg drivers can be done via config file in
/etc/X11/xorg.conf.d/ to specify either with a device line.


what does that device line look like ?

Because it's happening in web browser, I'm guessing GPU overheat is 
likely the
cause. Taking the cover off the PC and aiming a large fan at the 
interior may be
telling. Make sure the CPU fan, if present, is working, and the heat 
sink isn't
loaded with accumulated dust and tobacco tar. If it is, then the PS 
would need
cleaning too, as there it could cause voltage instability from 
overheating.


It may be temperature, there was some dust and tobacco on the case fans 
but GPU heat sink is clean and fan spinning.
I don't think this Dell Dimension PC will start up if the fans aren't 
working as when I got it one of the case fans wasn't working and I had 
to get a new unit.
Have occasionally checked temperature with GUI sensor viewer but not 
caught it overheating

GPU - 37C
CPU - 40C

cheers

mick
--
Key ID4BFEBB31



system freeze

2022-04-20 Thread mick crane

hello,
I frequently have the system freeze on me and I have to unplug it.
It seems to only happen in a browser and *appears* to be triggered by 
using the mouse.
If watching streamed youtube movie or reading blogs sometimes the screen 
goes black and everything is unresponsive and sometimes the screen and 
everything freezes but the audio keeps playing.

I'd like it to stop doing that.
It didn't seem to be an issue a while ago but now is happening once at 
least per day with bullseye and now with bookworm.

I cannot find anything in logs that have looked for except

$ journalctl -e
Apr 20 10:30:58 pumpkin pulseaudio[852]: GetManagedObjects() failed: 
org.freedesktop.DBus.Error.TimedOut: Failed to activate service 
'org.bluez': timed out (service_start_timeout=25000ms)


This may be that is just because I did have a bluetooth keyboard but it 
was so slow to wake up I changed to a usb keyboard and the bluetooth 
adapter is not there anymore and I should purge the bluetooth stuff.


Is a wireless mouse whatever that is.
I thought it might be the graphics card had gone defective but now I 
think it is something about the mouse
It seems that the thing freezes before anything has a chance to write to 
a log.


What steps can I take to isolate the problem ?

mick@pumpkin:~$ inxi -SGayz
System:
  Kernel: 5.16.0-6-amd64 arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.16.0-6-amd64
root=UUID=1b68069c-ec94-4f42-a35e-6a845008eac7 ro quiet
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.24 info: xfce4-panel wm: xfwm
v: 4.16.1 vt: 7 dm: LightDM v: 1.26.0 Distro: Debian GNU/Linux 
bookworm/sid

Graphics:
  Device-1: AMD Pitcairn LE GL [FirePro W5000] vendor: Dell driver: 
radeon
v: kernel alternate: amdgpu pcie: gen: 3 speed: 8 GT/s lanes: 16 
ports:

active: DP-1 empty: DP-2,DVI-I-1 bus-ID: 03:00.0 chip-ID: 1002:6809
class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 
driver:

X: loaded: radeon unloaded: fbdev,modesetting,vesa gpu: radeon
display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm 
(40.00x22.48")

s-diag: 1165mm (45.88")
  Monitor-1: DP-1 mapped: DisplayPort-0 model: LG (GoldStar) HDR 4K
serial:  built: 2021 res: 3840x2160 hz: 60 dpi: 163 gamma: 
1.2
size: 600x340mm (23.62x13.39") diag: 690mm (27.2") ratio: 16:9 
modes:

max: 3840x2160 min: 640x480
  OpenGL: renderer: AMD PITCAIRN (DRM 2.50.0 5.16.0-6-amd64 LLVM 13.0.1)
v: 4.5 Mesa 21.3.8 direct render: Yes

regards
mick

--
Key ID4BFEBB31



Re: Hello

2022-04-15 Thread mick crane

On 2022-04-14 23:31, sergioyraul wrote:

Im looking for a version debían gnome non-free with all private
firmware but I install two versions Which I believe were non-free but
they were not.can you  give me a link that complies with that? 


If you have installed something that boots I *think* it is a matter of 
adding contrib and non-free to sources.list.

https://wiki.debian.org/SourcesList#Example_sources.list

mick

--
Key ID4BFEBB31



Re: CUPS - how to match autodetected printers to physical ones

2022-04-09 Thread mick crane

On 2022-04-10 01:21, The Wanderer wrote:


avahi-browse -rt _ipp._tcp


Does that get the information from CUPS?


With printer connected via other PC (CUPS print server) there is no 
output from "avahi-browse -rt _ipp._tcp"


mick
--
Key ID4BFEBB31



Re: CUPS - how to match autodetected printers to physical ones

2022-04-08 Thread mick crane

On 2022-04-08 17:10, Greg Wooledge wrote:

If you don't want to read the background information, the question is:

How is one *supposed* to figure out which autodetected printer is the
correct one, apart from trial and error?



I think you'd set up a printer on your machine with
'ipp://ip-address-of-print-server:631/printers/name-of-printer-as-written-on-sticker'
but you are saying that wasn't the exact name ?
There should be a way to query the print server of ip addresses by name.

cheers
mick



Re: webcamd

2022-03-23 Thread mick crane

On 2022-03-21 21:39, Russell L. Harris wrote:

I am having only limited success configuring the Debian webcamd
package.

I wish to display images from a Logitech web cam pointing out the
window as a weathercam, uploading a new image about once a minute.  I
plan to upload the images to a subdirectory "webcam" of my weather
website, www.example-weather.org/webcam.

I am running Debian 11; but I also have machines running Debian 10 and 
Debian

9.

I would like first to get things running in Apache on localhost before
uploading to a shared host on hostgator.com.  Ideally, the image would
be on both.

The example webcamd.conf calls for a font named "clean" to write dates
on the pictures, but "fc-list" does not show "clean" installed.  I
have tried to specify "Monospace Regular" but that does not seem to
work.

My latest effort has the index_up.html and index_down.hthl displaying,
but no photo.  I also had the photo displaying without a date.

Is there a webcam application more suitable for this application?

RLH


a solution would be to composite the date over the photo with Graphics 
Magick, Image Magick.


mick


--
Key ID4BFEBB31



Re: Can't use mc's editor

2022-03-21 Thread mick crane

On 2022-03-21 21:26, gene heskett wrote:

On Monday, 21 March 2022 16:46:01 EDT mick crane wrote:

On 2022-03-21 18:08, Felix Miata wrote:
> Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):
>> tinkering with mc's config files directly which can only be done if
>> all
>> instances of mc are closed.
>
> Not IME, at least for ini and hotlist, the former which I change
> nearly as often
> with mcedit as I do via menu. Hotlist I only do with mcedit.
>
> Mcedit is giving me no trouble. I use most than once a day most days.

I don't *think* I changed mc's configuration for editor, maybe changed
system default somehow.

mick
--
Key ID4BFEBB31

.

And whatever I do to it, has zero effect.


I know I've changed default editor for affect in mc from vi to nano but 
no idea how, maybe you can change it in ~/.profile



Cheers, Gene Heskett.


--
Key ID4BFEBB31



Re: Can't use mc's editor

2022-03-21 Thread mick crane

On 2022-03-21 18:08, Felix Miata wrote:

Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):

tinkering with mc's config files directly which can only be done if 
all

instances of mc are closed.


Not IME, at least for ini and hotlist, the former which I change nearly 
as often

with mcedit as I do via menu. Hotlist I only do with mcedit.

Mcedit is giving me no trouble. I use most than once a day most days.


I don't *think* I changed mc's configuration for editor, maybe changed 
system default somehow.


mick
--
Key ID4BFEBB31



Re: cups/avahi-daemon - worrying logs

2022-03-17 Thread mick crane

On 2022-03-17 05:09, Richard Hector wrote:

On 8/03/22 13:25, Richard Hector wrote:

Hi all,

I've recently set up a small box to run cups, to provide network 
access to a USB-only printer. It's a 32-bit machine running bullseye.


I'm seeing log messages like these:

Mar  7 15:47:47 whio avahi-daemon[310]: Record 
[Brother\032HL-2140\032\064\032whio._ipps._tcp.local#011IN#011SRV 0 0 
631 whio.local ; ttl=120] not fitting in legacy unicast packet, 
dropping.
Mar  7 15:47:47 whio avahi-daemon[310]: Record 
[whio.local#011IN#011 fe80::3e4a:92ff:fed3:9e16 ; ttl=120] not 
fitting in legacy unicast packet, dropping.
Mar  7 15:47:48 whio avahi-daemon[310]: Record 
[Brother\032HL-2140\032\064\032whio._ipp._tcp.local#011IN#011SRV 0 0 
631 whio.local ; ttl=120] not fitting in legacy unicast packet, 
dropping.
Mar  7 15:47:48 whio avahi-daemon[310]: Record 
[whio.local#011IN#011 fe80::3e4a:92ff:fed3:9e16 ; ttl=120] not 
fitting in legacy unicast packet, dropping.


Those link-local IPv6 addresses belong to the machine itself. It 
currently has no other IPv6 address(es) (other than loopback), but I 
should probably set that up.


Any hints as to what's going on?

Most of the hits I get from a web search are full of 'me too' with no 
answers.


Nobody? Not even another 'me too'? :-)

Any suggestions for further/better questions to ask, or info to 
provide?


I have no idea. Could it be something to do with this old report ?
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517683
I would probably fiddle about to get rid of the IPV6 thing.

mick



--
Key ID4BFEBB31



Re: Installing/Preparing Debian on a headless system

2022-03-15 Thread mick crane

On 2022-03-15 12:41, Brian wrote:


Attached is the relevant portion of my preseed.cfg up to partitioning.
I do that manually.


"d-i netcfg/wireless_essid string MI5_Listening_Station_102"

=O)

--
Key ID4BFEBB31



Re: Claws-mail Address Book Bug?

2022-03-13 Thread mick crane

On 2022-03-13 16:02, Brad Rogers wrote:

On Sun, 13 Mar 2022 11:51:03 -0400
Cindy Sue Causey  wrote:

Hello Cindy,


said Google was considering court action over the use of its name as a


Against who?  I mean, since the term was used by everyone (for certain
values of everyone), short of suing the *entire* population, what did
they expect to achieve?

Hoover never sued anyone for use of their name as a substitute for the
term vacuuming.  Nor did AVO sue for use of their name as a substitute
for multimeter.

Companies these days seem to be run by idiots.  Clever idiots, yes.  
But

idiots, just the same.   :-)


over 20 odd years ago a friend said his American friends were all 
complaining that their children wanted to be copyright lawyers.


mick

--
Key ID4BFEBB31



Re: voltage monitoring Q

2022-03-13 Thread mick crane

On 2022-03-13 08:15, gene heskett wrote:

Greetings all;

This mobo is an ASUS Z370-AII, and I'd like to use gkrellm to monitor 
psu

voltages and those fans that have tachs. But those are not detected by
gkrellm, or any of the usual culprits.  Temps are working fine.

All of this did work on stretch, on this mobo. But now its running
bullseye, and the last 2T seagate drive committed suicide last night so 
I

have no backup facilities left, I assume it was a "shingled" drive, and
they are the last seacrate drives I'll own... Ever.

What do I install into a bullseye system, that will monitor the fans 
and

psu voltages on this mobo? lm-sensors, mbmon and friends from the
bullseye repos have been installed but apparently theres still a 
missing

link. What might it be?


with a quick look.
sensor viewer that came along with default bullseye installation of Xfce 
looks to be xfce4-sensors.

The GUI has temperatures but the tachometers tab is empty.
"man Xfce4-sensors" doesn't really say how to get tachometer 
information.


mick

--
Key ID4BFEBB31



Re: got a mdadm puzzler

2022-03-10 Thread mick crane

On 2022-03-10 12:18, gene heskett wrote:

Greetings all;

I just had a bad time rebooting with 2 combined problems..


excuse my ignorance but you seem to have a lot of problems because of 
doing stuff most haven't attempted.
Is it possible the arrangement is over complicated and that you could 
more easily achieve what you want by allocating one task per PC and 
communicating with them over ssh ?


regards

mick
--
Key ID4BFEBB31



Re: Google smtp and pop

2022-03-04 Thread mick crane

On 2022-03-04 15:59, Marc Auslander wrote:

Google has now said they are pulling the plug on userid/password
authentication for apps.

I use fetchmail and exim4 to get and send mail.  Neither, AFAIK,
supports OAUTH2.  I'm also still on stretch but will update if I have
to.

So what suggestions does anyone have for dealing with OAUTH2 access to 
gmail?


Seems you have to setup a separate per application password, not looked 
yet.


mick

--
Key ID4BFEBB31



Re: One-user system. Was "One user system."

2022-02-16 Thread mick crane

On 2022-02-11 19:10, Andrei POPESCU wrote:

On Jo, 10 feb 22, 11:11:01, rhkra...@gmail.com wrote:

On Wednesday, February 09, 2022 06:08:16 AM Andrei POPESCU wrote:
> I've switched to using sudo because it encourages me to use root only
> when strictly required.

That's a good idea, but I'll mention what I do -- I may have started 
before

sudo existed (or, at least, before I knew about it).

I use kde and keep several konsole (terminals) open, at on one, I open 
it as
root and set the background to be a different color than the non-root 
konsole

(a shade of yello).

(Once you pick a color for the background (or any of variety of other 
user
preferences), you can save those so, for example, every time I open a 
konsole

as root, it gets those preferences.


I did use to have a root window constantly open and "Ctrl-a r" is still
opening a 'sudo -i' window in tmux.

The trouble with that is that I would tend to use the root console for
non-root things. Besides, it's annoying to 'cd' in the non-root 
terminal

in some deep directory structure only to find out you need root
permissions to do what you actually needed to do when you got there.


I've su'ed first before diving into the file system if I thought I was 
going to edit something as root but now I think should

"echo $PWD" when there.
copy that, "su -" and "cd paste".

mick
--
Key ID4BFEBB31



Re: Thunderbird not allowing local accounts

2022-02-06 Thread mick crane

On 2022-01-05 19:52, Dan Ritter wrote:


As previously mentioned, the mechanism for that is now "set up
dovecot or another IMAP server".


the dovecot wiki is very good.
https://wiki2.dovecot.org/TestInstallation

mick

--
Key ID4BFEBB31



Re: OpenSSH: cause of random kex_exchange_identification errors?

2022-02-02 Thread mick crane

On 2022-02-02 14:44, Vincent Lefevre wrote:

When I want to connect with SSH (ssh/scp) to some machine, I sometimes
get errors, either

kex_exchange_identification: Connection closed by remote host

or

kex_exchange_identification: read: Connection reset by peer

immediately after the connection attempt. This happens randomly,
and there are some periods where this happens quite often. The
client machine doesn't seem to matter, and this issue also even
occurs from machines on the local network.

With ssh -vvv, the output ends with

debug1: Local version string SSH-2.0-OpenSSH_8.7p1 Debian-4
kex_exchange_identification: read: Connection reset by peer
Connection reset by [...] port 22

In the source, this corresponds to function kex_exchange_identification
in kex.c:

len = atomicio(read, ssh_packet_get_connection_in(ssh),
, 1);
if (len != 1 && errno == EPIPE) {
error_f("Connection closed by remote host");
r = SSH_ERR_CONN_CLOSED;
goto out;
} else if (len != 1) {
oerrno = errno;
error_f("read: %.100s", strerror(errno));
r = SSH_ERR_SYSTEM_ERROR;
goto out;
}

so either with EPIPE or with ECONNRESET, and this apparently occurs
before the exchange of banners.

I could reproduce the issue with telnet, which gives

[...]
Escape character is '^]'.
Connection closed by foreign host.

while one normally has

SSH-2.0-OpenSSH_7.9p1 Debian-10+deb10u2

just after the "Escape character..." line.

Note that this is different from a "Connection refused". Here, the
connection is accepted, but immediately closed.

The admin of the machine could see nothing particular in the logs.
He eventually modified the MaxStartups value, but this did not
solve the issue (but AFAIK, if this were the cause, there would
have been something about it in the logs). The machine has enough
available memory.

Any idea about the possible cause of these random errors?



I don't know what kex_exchange is but perhaps you have more than one 
entry/description for the remote machine in known_hosts or something and 
there's a bit of pot luck.


mick
--
Key ID4BFEBB31



Re: Printing lots of pages skips a few

2022-02-02 Thread mick crane

On 2022-02-02 10:42, Pankaj Jangid wrote:

Klaus Singvogel  writes:


Can you look at the webinterface of CUPS regarding the missing jobs?

http://localhost:631/

-> Printer -> select your default printer (if more) -> finish job (or
similar)


I did that when I discovered that some pages were missing. Nothing 
there

in unfinished jobs.

Also I could identify and print those files separately; using "lp
".



May be an issue with the printer reporting it has printed file when it 
hasn't.

Perhaps try wait between each print instruction.

mick

--
Key ID4BFEBB31



Re: hostname is being reset, killing net on reboot

2022-01-26 Thread mick crane

On 2022-01-26 15:31, Brian wrote:


Having said that, 'ssh desktop.local' does not require much guidance.


Is .local mDNS specific ?
I thought we are supposed to not use .local for a home network.
What is this ipv4only.arpa , are we supposed to use that.

mick
--
Key ID4BFEBB31



Re: "Package was removed from Debian because of a variable name" myth (?) (was: Re: Why did Norbert Preining (having maintained KDE) left Debian?)

2022-01-24 Thread mick crane

On 2022-01-23 19:54, Polyna-Maude Racicot-Summerside wrote:

I have no idea what are your plan to reach down the road but you may 
get

much more than you expect.


I think this is what is called gaslighting.

mick
--
Key ID4BFEBB31



Re: "Package was removed from Debian because of a variable name" myth (?) (was: Re: Why did Norbert Preining (having maintained KDE) left Debian?)

2022-01-23 Thread mick crane

On 2022-01-23 11:56, Andy Smith wrote:

Hi Mick,

On Sun, Jan 23, 2022 at 11:52:12AM +, mick crane wrote:

On 2022-01-23 11:38, Andy Smith wrote:
> On Sun, Jan 23, 2022 at 11:17:25AM +0000, mick crane wrote:
> > I was a little concerned about the direction of travel when that
> > software
> > got removed from the repository because of variable names.
>
> If you're referring to the WebOOB package, that was not why it was
> removed and incorrect statements like that are not helpful.
>
> This diff might give you an idea of some of the problems with this
> software (sadly broken TLS setup so have to click through warning):
>
> 
https://gitlab.com/woob/woob/-/merge_requests/228/diffs#85eabf8cd7ee0b4611976309bd723f6ad7b301c4_785_784

That'll be it.


Thanks for confirming. So would you like to retract your statement
that it was removed "because of variable names"?

And hopefully now that's cleared up you will feel better about
Debian's direction of travel.



If you insist on continuing with this I haven't seen the code that was 
removed and no idea what it does.
The reports at the time were that it was removed for sexist type 
variable names.

Was it removed then for Anglo Saxon expletives in the comments ?

mick
--
Key ID4BFEBB31



Re: "Package was removed from Debian because of a variable name" myth (?) (was: Re: Why did Norbert Preining (having maintained KDE) left Debian?)

2022-01-23 Thread mick crane

On 2022-01-23 11:38, Andy Smith wrote:

Hello,

On Sun, Jan 23, 2022 at 11:17:25AM +, mick crane wrote:
I was a little concerned about the direction of travel when that 
software

got removed from the repository because of variable names.


If you're referring to the WebOOB package, that was not why it was
removed and incorrect statements like that are not helpful.

This diff might give you an idea of some of the problems with this
software (sadly broken TLS setup so have to click through warning):


https://gitlab.com/woob/woob/-/merge_requests/228/diffs#85eabf8cd7ee0b4611976309bd723f6ad7b301c4_785_784

If you are referring to some other package, I'm not recalling it.
Can you remind me which one it was please?


That'll be it.

mick

--
Key ID4BFEBB31



Re: Why did Norbert Preining (having maintained KDE) left Debian?

2022-01-23 Thread mick crane

On 2022-01-23 08:19, deloptes wrote:

Marco Möller wrote:

I feel that a concise statement from Debian insiders would gain a lot 
to
not provoke avoidable discussions and would right away defeat heat 
given

off obstructively.
As Thomas pointed out, there are hundreds of posts from years old
discussions which appear to be the prelude to the current situation.
Some of these public discussions have been quite controversial, partly
also questioning if community processes are always taking place
sufficiently transparent. Currently I find only a public statement 
from

one party. This could harm the Debian project. Some concise statement
from somebody in the Debian project with insights into the issue could
prevent Debian from bad repute by declassifying which are the 
positions

of the present disagreement.


I am not aware of the current problem, but my personal observation is 
that

there are more often such conflicts and I expect the number to rise in
future.
According my observation the problem is in lack of education in the 
fields

of logic and rhetoric. The new generation (called milenials or gen Z or
whatever) mostly brainwashed to the political left, but I do not 
exclude

also the once to the right, are not able to have a meaningful debate.
So what happens - again this is my personal opinion - they are not able 
to
have a meaningful conversation over an issue and can not solve 
conflicts.
Thus the only way is to break the communication. Sadly this is 
observable

also in politics and I hope we do not end up in nuclear war.

The first such experience I had was exactly the KDE project, when it
released version 4. It was not possible to convince the developers that 
we

need a working desktop and not just shiny one. So I had to abandon KDE.
Since then I had this experience in many different situations 
especially
with younger people. It is very sad! Again I see this problem mainly in 
the

education, but it could have also relation to the family a person was
raised in.

All together it is sad that conflicts are not solved for one or another
reason.


This is probably an accurate observation.
I was a little concerned about the direction of travel when that 
software got removed from the repository because of variable names.


mick
--
Key ID4BFEBB31



Re: tmux and nano in console

2021-12-22 Thread mick crane

On 2021-12-22 18:00, Alexander V. Makartsev wrote:

snipped lots of useful stuff.


Also, I use Xfce and "xfce4-terminal" so my instructions may not work
if your DE is different.


Thanks very much I'll use those tips. I just started using tmux today 
and looks handy.

Seems may be like screen as well which I've not really used either.
I'm using because something doesn't seem to like something I've done and 
so far not having problems in console so likely something in X.


cheers
mick
--
Key ID4BFEBB31



Re: tmux and nano in console

2021-12-22 Thread mick crane

On 2021-12-22 15:34, Markus Schönhaber wrote:


Since tmux knows how to cope with tmux' panes, what's wrong with using
the copy/paste functionality tmux provides?


OK missed that, got it now.
cheers.

mick
--
Key ID4BFEBB31



tmux and nano in console

2021-12-22 Thread mick crane

I'm trying to use the console to see if my editing problems go away.
Want to copy lines from one file into another.
Splitting the screen with tmux with the 2 files opened in nano the nano 
buffer is not shared.
Seems can have more than one buffer in nano but the things I want are 
not in the same file.
If use the mouse to select text in one file in one tmux window the 
selection goes across both windows/files.
Is there a way in console to achieve copying lines from one file to 
another ?


mick
--
Key ID4BFEBB31



Re: keyboard setup

2021-12-21 Thread mick crane

On 2021-12-20 19:11, Georgi Naplatanov wrote:


did you try

# dpkg-reconfigure keyboard-configuration
# service keyboard-setup restart

There is a wiki - https://wiki.debian.org/Keyboard

yes sorry for the typing error, I was getting a bit frazzled at that 
stage.

Although the keyboard was working in terminal
/etc/default/keyboard
was showing pc-105 as XKBMODEL
so couldn't figure where else was been set.
"dpkg-reconfigure keyboard-configuration"
"dpkg-reconfigure console-setup"
and clearing.
XKBVARIANT="alt-intl"
XKBOPTIONS="lv3:ralt_alt"
in /etc/default/keyboard.
in console
seems to have done it.

mick
--
Key ID4BFEBB31



Re: keyboard setup

2021-12-20 Thread mick crane

On 2021-12-20 19:11, Georgi Naplatanov wrote:

On 12/20/21 18:03, mick crane wrote:

Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-10-amd64
Architecture: x86-64

I'm still having trouble with random lines from elsewhere in the file
I'm editing getting plonked a hundred or so lines away.
Which is a pain as it can take a while to locate them.
Want to use the console Ctrl+Alt+Fx for a bit and see if it's 
something

to do with X
Trouble is I can't get the console keyboard keys to do the same thing 
as

in Xfce.
I read that the keyboard map is supposed to be shared between console
and X but not here.
I try various things.
"dpkg-reconfigure console-setup"
"dpkg-reconfigure console-data"
"dpkg-reconfigure keyboard-setup"
"service keyboard-setup restart"
reboot the PC
nothing seems to work.
this particular keyboard is small generic USB thing which works with
Microsoft Office keyboard layout.
but in console some keys are not what is on the key. eg "#" is UK 
Pound

sign.
"dpkg-reconfigure keyboard-setup" does have that layout as a 
selection.

Is there something I need to do after selecting to get it to work ?

mick


Hi Mick,

did you try

# dpkg-reconfigure keyboard-configuration
# service keyboard-setup restart

There is a wiki - https://wiki.debian.org/Keyboard


yes, sorry that was a typo in posting

that's what I typed.
dpkg-reconfigure keyboard-configuration
service keyboard-setup restart

selecting the layout microsoft office keyboard in Xfce 
settings->keyboard GUI

is successful. but is not used by console.

mick

--
Key ID4BFEBB31



keyboard setup

2021-12-20 Thread mick crane

Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-10-amd64
Architecture: x86-64

I'm still having trouble with random lines from elsewhere in the file 
I'm editing getting plonked a hundred or so lines away.

Which is a pain as it can take a while to locate them.
Want to use the console Ctrl+Alt+Fx for a bit and see if it's something 
to do with X
Trouble is I can't get the console keyboard keys to do the same thing as 
in Xfce.
I read that the keyboard map is supposed to be shared between console 
and X but not here.

I try various things.
"dpkg-reconfigure console-setup"
"dpkg-reconfigure console-data"
"dpkg-reconfigure keyboard-setup"
"service keyboard-setup restart"
reboot the PC
nothing seems to work.
this particular keyboard is small generic USB thing which works with 
Microsoft Office keyboard layout.
but in console some keys are not what is on the key. eg "#" is UK Pound 
sign.

"dpkg-reconfigure keyboard-setup" does have that layout as a selection.
Is there something I need to do after selecting to get it to work ?

mick
--
Key ID4BFEBB31



  1   2   3   4   5   6   7   8   >