Re: need jigdo help

2024-09-22 Thread mick.crane

On 2024-09-21 20:02, gene heskett wrote:


But burning it, I spotted xfburn in the menu's, looks nice but when
will it actually be able to burn an iso???


If remembering correctly from a while ago had to click in the boxes for 
write speed and some other thing for xfburn to show its defaults, then 
it worked.

(bookworm)
mick



Re: need help killing screen blanker

2024-08-26 Thread mick.crane

On 2024-08-26 15:29, gene heskett wrote:


S, what do I remove to absolutely, permanently disable the screen
blanker? And I mean no chance it can ever do that to me again.


In Settings>Power Manager I selected "do nothing" or "never" for all the 
options.

If want to blank the monitor I use the monitor's button.
mick



Re: dot internal and mDNS

2024-08-03 Thread mick.crane

On 2024-08-03 19:57, Michael Kjörling wrote:

On 3 Aug 2024 12:59 +, from a...@strugglers.net (Andy Smith):

I believe ICCAN are moving to possibly replacing .local, .home, .lan,
.corp, .mail, .localdomain, (and possibly others) with .internal ?


home.arpa was defined by IANA in 2018. If they go ahead with
.internal then I can only imagine it will be in addition to, not
instead of, home.arpa.


The initial version of the relevant Internet Draft (as published Aug
2) doesn't even mention home.arpa, which seems like an oversight as
the intended use is very similar. Hopefully that will be corrected
before publication as a RFC.


Initially the advice was .home. Then I think BT started using that on 
mobile network.

Then they said use .local. then they said use .home.
I was going to change everything yet again to home.arpa but now it might 
be .internal?

mick



Re: Tool to store on IMAP server

2024-07-29 Thread mick.crane

On 2024-07-29 14:36, Nicolas George wrote:

Hi.

I am looking for a tool that reads a mail from its input and stores it
into an IMAP mailbox:
With a new Dovecot install I believe I copied all the old mails into eg. 
~/Maidir/cur

and they showed up.
I was concerned the 
'1722260402.M755015P70320.xx,S=17279,W=17606:2,S'

numbers might get mixed up with new ones but didn't seem to matter.
Probably not how you are supposed to do it.
mick



Re: bash history

2024-07-27 Thread mick.crane

On 2024-07-27 23:58, Greg Wooledge wrote:


You need to specify *exactly* what you're doing.


"exactly" is at mickiwiki.com
I can take the ridicule of my coding understanding.


Whenever I need to reboot my computer (kernel update or the like), I
decide which shells I want to retain history from, and I exit from 
those

cleanly (^D).


that's useful



Re: bash history

2024-07-27 Thread mick.crane

On 2024-07-28 02:12, Greg Wooledge wrote:

On Sun, Jul 28, 2024 at 02:01:04 +0100, mick.crane wrote:

On 2024-07-27 23:58, Greg Wooledge wrote:
> You need to specify *exactly* what you're doing.


Sometimes I forget where I was after closing a virtual terminal  and 
it

would be handy to see the history
in a new terminal, where I "cd'd" to for example.
stuff like that.


No, I mean *how did you close the terminal*?  And what terminal is it?


one of these
1826 ?Sl 0:00 xfce4-terminal
1854 pts/0Ss 0:00 bash

If I've "su'd" I type "exit".
To close the terminal I click that X in the virtual terminal's top right 
hand corner.




Re: bash history

2024-07-27 Thread mick.crane

On 2024-07-27 23:58, Greg Wooledge wrote:


You need to specify *exactly* what you're doing.


My project management skills are non-existent.
If I have a script that is working I'll copy to eg. script2 and make 
changes to that.
Sometimes, depending, I'll have similar things in other directories that 
I"ll use bits of.
Mainly using different windows Ctrl+Alt+arrows in Xfce with their own 
virtual terminals.
Sometimes I forget where I was after closing a virtual terminal  and it 
would be handy to see the history

in a new terminal, where I "cd'd" to for example.
stuff like that.



If you close a terminal emulator in such a way that it kills the shell
without letting the shell write history to disk, then the history will
not be saved.

If you want history to be saved, you should exit from the *shell*
(e.g. by pressing Ctrl-D), rather than closing the terminal and 
counting

on that to terminate the shell in a way that will preserve history.

If you *don't* want history to be saved, there are many ways to make
that (not) happen, depending on your terminal emulator and so on.  
You'll

need to experiment, though, to see exactly what happens when you do
whatever it is you do.

Whenever I need to reboot my computer (kernel update or the like), I
decide which shells I want to retain history from, and I exit from 
those

cleanly (^D).  I leave the others running, and exit from FVWM, which
kills them in a way that causes their history not to be written.

If you want a particular shell window's history to be AGGRESSIVELY
written to disk every time you run a command, you can arrange for that
as well.  See  for example.




Re: bash history

2024-07-27 Thread mick.crane

On 2024-07-27 23:08, Greg Wooledge wrote:

On Sat, Jul 27, 2024 at 22:50:17 +0100, mick.crane wrote:

In debian bookworm, xfce desktop, different virtual terminals have a
different history if same user presses "up key" in different virtual
terminals ?


As your subject says, this is "bash history".  And yes, each instance 
of

bash has its own separate history.  It has nothing to do with your
terminal emulator or your desktop environment.

Where is it if not in ~/.bash_history?



Bash reads its history from a file (~/.bash_history by default) at
startup time, manages it in memory while running, and writes it back
out to the history file upon exiting.


Does this separate history get written to ~/.bash_history when terminal 
emulation thing is closed?




bash history

2024-07-27 Thread mick.crane
In debian bookworm, xfce desktop, different virtual terminals have a 
different history if same user presses "up key" in different virtual 
terminals ?
Is this something that can be changed so history is shared between 
virtual terminals?

mick



Re: combine two commands via pipe

2024-07-25 Thread mick.crane

On 2024-07-26 00:44, Alain D D Williams wrote:

On Fri, Jul 26, 2024 at 07:29:10AM +0800, cor...@free.fr wrote:

this could work indeed. but it requires me to input a long path. so I 
am

asking for a easier way.


Try this:

$ sudo find /tmp -user apache2


I've recently been using catfish to search for things.
I don't know if it can be configured to list by user.
mick



Re: How to configure CUPS printer software on a machine with no GUI -- only text CLI console.

2024-07-24 Thread mick.crane

On 2024-07-24 23:32, Rick Thomas wrote:

On Wed, Jul 24, 2024, at 3:59 AM, mick.crane wrote:

On 2024-07-24 11:09, Rick Thomas wrote:

What's the best way to install (and configure) the CUPS printer
software on a machine that doesn't have any GUI software?

Specifically, the Marvell OpenRD machines that I have ("client" and
"ultimate") only have 500 MB of RAM.  So I'm reluctant to install a
GUI (though I realize they have a VGA port so it *is* possible to do
so) for fear of running out of available RAM.

I'd like to install CUPS to interface the OpenRDs to my HP laser
printer, but I haven't found any way to configure CUPS with only a 
CLI

text console.  The recommended way in the CUPS docs is to point a web
browser at "localhost:631" but that doesn't work if you don't have a
web browser on the machine.  The way I've done it before involved
using the "lynx" browser but that is very difficult and absolutely
crazy-making.

The really best thing would be to connect from some some other, 
larger

machine on the LAN that *does* have a GUI and web browser (for
example, my desktop Mac) to the port that appears on the OpenRD as
"http://localhost:631";. Some of my duck-duck-go-ing has produced
things that hint this is possible, but didn't give any details.

 But if there's a pure-CLI way to do it, I'd be happy with that, too.

Can you point me to some documentation that might help?

Thanks!
Rick


without any desktop it can be set up with lpadmin. I found the hard 
bit

was finding out what cups thought the printer was called.

mick


Thanks, Mick!
Do you have any hints on "the hard part" (finding out what CUPS thinks
it's called) ?


I can't remember the order of doing things.
These last few installs the printer automagically works.
"lpoptions" on the PC with the printer attached reports among other 
things.

"printer-uri-supported=ipp://localhost/printers/HP-LaserJet-P2015-Series"
I think to print I used to be able to type.
"my_file.txt||lp"
but seems that's not setup.
mick



Re: How to configure CUPS printer software on a machine with no GUI -- only text CLI console.

2024-07-24 Thread mick.crane

On 2024-07-24 11:09, Rick Thomas wrote:

What's the best way to install (and configure) the CUPS printer
software on a machine that doesn't have any GUI software?

Specifically, the Marvell OpenRD machines that I have ("client" and
"ultimate") only have 500 MB of RAM.  So I'm reluctant to install a
GUI (though I realize they have a VGA port so it *is* possible to do
so) for fear of running out of available RAM.

I'd like to install CUPS to interface the OpenRDs to my HP laser
printer, but I haven't found any way to configure CUPS with only a CLI
text console.  The recommended way in the CUPS docs is to point a web
browser at "localhost:631" but that doesn't work if you don't have a
web browser on the machine.  The way I've done it before involved
using the "lynx" browser but that is very difficult and absolutely
crazy-making.

The really best thing would be to connect from some some other, larger
machine on the LAN that *does* have a GUI and web browser (for
example, my desktop Mac) to the port that appears on the OpenRD as
"http://localhost:631";. Some of my duck-duck-go-ing has produced
things that hint this is possible, but didn't give any details.

 But if there's a pure-CLI way to do it, I'd be happy with that, too.

Can you point me to some documentation that might help?

Thanks!
Rick


without any desktop it can be set up with lpadmin. I found the hard bit 
was finding out what cups thought the printer was called.


mick



Re: info is not dead

2024-07-23 Thread mick.crane

On 2024-07-23 13:03, songbird wrote:

i run debian testing most of the time with bits of
unstable (firefox).

  once in a while i want more detail than man pages
supply and so i reach for info pages instead.

  if you've never explored info pages in general
you can just start with the command "info".

  this is just a tidbit for those who wander once in
a while into strange realms...  :)



apropos is sometimes handy if you can't remember what a thing is called
mick



Re: Why is Firefox crashing so much lately?

2024-07-18 Thread mick.crane

getting elderly is brilliant.
After getting everything just nice, experienced several system crashes.
"I'll install the nvidia driver and see if that fixes it."
Then I remember why I tried to remove the nvidia driver.
an upgrade caused X to refuse to start.
Install No3 and halfway through making it nice.
My reasoning for installing trixie is that because I'm slow,
if there are any issues, I've more time to sort them out.
mick



Re: Why is Firefox crashing so much lately?

2024-07-18 Thread mick.crane

On 2024-07-18 04:00, Van Snyder wrote:

On Wed, 2024-07-17 at 22:17 -0400, e...@gmx.us wrote:

On 7/17/24 21:25, Gary Dale wrote:
> I'm running Debian/Trixie on an AMD64 system, using the Plasma 5
> over X
> desktop. Firefox 115.12.0esr is crashing multiple times per day. It
> frequently happens when page I'm transfers to another page that
> creates a  > PDF or just has a complicated link. It's annoying.


I upgraded from Debian 10 to Debian 12.5 "Bookworm." The NVidia 390
driver no longer works, so I had software rendering because nouveau
apparently can't do GPU rendering. Rather than crashing, the system
essentially froze. After waiting for a VERY long time, I would give up
and cycle power, with my reboot set up to start an empty session, not
the one I had going at time of the power cycle. I replaced the graphics
card with a Quadro K2200, which works with the nvidia-drivers package
that's still part of the Debian 12.5 distro. With GPU rendering, I no
longer have the problem.


My only issue is random system freezes seemingly caused by the browser.
I remembered that that was the reason I installed the nvidia 470 driver.
on originally Bookworm -> Trixie with Vivaldi browser it was stable.

This fresh install of Trixie has had system freeze with firefox
with nouveau driver. Less so (touch wood) with Vivaldi.
There was a message while I was fiddling about that the
 nvidia Quadro K4000 is not supported by something or other.
Perhaps I should invest in a newer graphics card.
mick



systemd errors

2024-07-16 Thread mick.crane
I installed on a fresh disk the nightly build of Trixie and it works a 
treat and it configured the monitor to it's highest resolution using the 
nouveau module thing.
Unfortunately I broke my previous Trixie installation trying to get rid 
of the nvidia module.

It still works with "startx" but the resolution is low.
Apt let me install the 6.9.8 kernel whereas wouldn't dist-upgrade, 
probably as it had done that before.

I saw on the net to "update-initrmfs -u" so I did that.
So I think that earlier install has a kernel now free of the nvidia but 
there must be some systemd left referencing stuff I've deleted because 
there is some message at boot about can't find or load a module and X 
wont automatically start.
I'd quite like to get that earlier install working cleanly to remind me 
of what was installed.


Any tips for querying systemd what the complaints are about would be 
appreciated.

mick



Re: change video driver

2024-07-09 Thread mick.crane

On 2024-07-07 09:36, mick.crane wrote:

On [cough] Trixie, just how do I change the video driver.
I'm using  driver xserver-xorg-video-nvidia-tesla-470 on older kernel
There must have been a reason, likely the available resolution.
With kernel 6.9.7-amd64 have to "startx" and then the available
displays in Xfce are low.
"modprobe nvidia" complains cannot find the module.
I revert to 6.7.12 kernel
Do I need to "apt remove" the xserver-xorg-video-nvidia-tesla-470,
Reboot to the 6.9.7-amd64 kernel and reinstall the tesla-470 driver?
Find the /lib/modules/6.7.12 nvidia-tesla-470 module and copy it to
/lib/modules/6.9.7-amd64 ?
What files would I want to find?


booting 6.7.12 kernel
"apt remove xserver-xorg-video-nvidia-tesla-470"
reboot to 6.9.7 kernel and
"apt install xserver-xorg-video-nvidia-tesla-470"
doesn't work, "startx" is low resolution as it reverts to the mesa or 
nouveau driver.
I did this remove/install because I thought the nvidia module would be 
in the directory of /usr/lib/modules/

and maybe it couldn't find it but it seems to be in /usr/lib/nvidia.
installing the xserver-xorg-video-nvidia-tesla-470 driver with the 6.9.7 
kernel

there is a message that link group glx is broken and on reboot
something flashes by that systemd failed to load the module.
I've no idea what to type to fix whatever is failing so I guess I stay 
with the 6.7.12 kernel.


mick



change video driver

2024-07-07 Thread mick.crane

On [cough] Trixie, just how do I change the video driver.
I'm using  driver xserver-xorg-video-nvidia-tesla-470 on older kernel
There must have been a reason, likely the available resolution.
With kernel 6.9.7-amd64 have to "startx" and then the available displays 
in Xfce are low.

"modprobe nvidia" complains cannot find the module.
I revert to 6.7.12 kernel
Do I need to "apt remove" the xserver-xorg-video-nvidia-tesla-470,
Reboot to the 6.9.7-amd64 kernel and reinstall the tesla-470 driver?
Find the /lib/modules/6.7.12 nvidia-tesla-470 module and copy it to
/lib/modules/6.9.7-amd64 ?
What files would I want to find?

mick



Re: Need help with narroely focused use case of Emacs

2024-06-30 Thread mick.crane

On 2024-06-30 14:21, Greg Wooledge wrote:

On Sun, Jun 30, 2024 at 12:32:15 +0100, mick.crane wrote:

got it thanks.









I don't know what you're trying to do, but ERE [0-7]{1,2} matches one-
or two-digit *octal* numbers (e.g. 5, 07, 72, 77) but not numbers that
contains the digits 8 or 9.

Do you have a book whose verses are enumerated in octal?


Looked at the original question, having first misunderstood it I said 
could be done with search and replace in an editor then realised I 
wasn't sure how to do what was asked.
So now I know you can use regular expressions in Geany and a bit more 
about the format.

Previous post could have been clearer but I was trying to be brief.



Re: Need help with narroely focused use case of Emacs

2024-06-30 Thread mick.crane

On 2024-06-29 20:29, Greg Wooledge wrote:

On Sat, Jun 29, 2024 at 20:18:02 +0100, mick.crane wrote:

Oh, I see what the question was.
There is "use regular expressions", "use multi line matching" in Geany
I'm not very good at regular expressions.
I'd probably do it 3 times
"search for" 
"search for" 
"search for" 


There's more than one regular expression syntax, so the first step is
to figure out which *kind* of regular expression you're writing.

In a Basic Regular Expression (BRE), you can write "one to three
digits" as:

[[:digit:]]\{1,3\}

In an Extended Regular Expression (ERE), you'd remove the backslashes:

[[:digit:]]{1,3}

Some people would use [0-9] instead of [[:digit:]].  [0-9] should work
in any locale I'm aware of, but is theoretically less portable than
[[:digit:]].  If you're actually doing this by typing a regex into an
editor, then [0-9] might be preferred because it's easier to type.  If
you're writing a program, you should probably go with [[:digit:]].


got it thanks.










Re: how2 format a flash drive

2024-06-29 Thread mick.crane

On 2024-06-29 17:46, Lee wrote:


My gripes and difficulties are the same thing.  No universal image
viewer like Ifranview,


geeqie is quick,
something equivalent to notepad++,
Geany



Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread mick.crane

On 2024-06-29 20:29, Greg Wooledge wrote:

On Sat, Jun 29, 2024 at 20:18:02 +0100, mick.crane wrote:

Oh, I see what the question was.
There is "use regular expressions", "use multi line matching" in Geany
I'm not very good at regular expressions.
I'd probably do it 3 times
"search for" 
"search for" 
"search for" 


There's more than one regular expression syntax, so the first step is
to figure out which *kind* of regular expression you're writing.

In a Basic Regular Expression (BRE), you can write "one to three
digits" as:

[[:digit:]]\{1,3\}

In an Extended Regular Expression (ERE), you'd remove the backslashes:

[[:digit:]]{1,3}

Some people would use [0-9] instead of [[:digit:]].  [0-9] should work
in any locale I'm aware of, but is theoretically less portable than
[[:digit:]].  If you're actually doing this by typing a regex into an
editor, then [0-9] might be preferred because it's easier to type.  If
you're writing a program, you should probably go with [[:digit:]].


Ta,
I'd had a quick look.
the regular expression thing looks to do one character at a time.


I couldn't see how to do a wild card and if it didn't exist.



Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread mick.crane

On 2024-06-29 16:09, Max Nikulin wrote:

On 29/06/2024 20:07, mick.crane wrote:

On 2024-06-29 12:34, Max Nikulin wrote:

To manipulate with HTML it is better to write a script in some
programming language, e.g. for python there are lxml etree and
BeautifulSoup packages. This way it is easier to maintain valid
document structure with paired opening and closing tags.

I have not tried Emacs lisp facilities for dealing with HTML.


open in Geany

[...]

click search select replace
copy paste selection into "search for"


By "Emacs *lisp* facilities for dealing with HTML" I mead something
like `libxml-parse-html-region'. Notice that I was suggesting against
search&replace.


Oh, I see what the question was.
There is "use regular expressions", "use multi line matching" in Geany
I'm not very good at regular expressions.
I'd probably do it 3 times
"search for" 
"search for" 
"search for" 



Re: How to use /etc/adjtime

2024-06-29 Thread mick.crane

On 2024-06-29 04:52, Charles Curley wrote:

On Thu, 27 Jun 2024 12:48:03 -0400
Stefan Monnier  wrote:


I have a machine whose RTC clock is drifting significantly and it is
often suspended for several days.  I run NTP so the drift I see when
I wake the machine up gets fixed by "stepping" the clock after a
while, but that can take a while and I'd like to improve this
intermediate situation.


It seems to me that a lot of people much smarter than I have have
wrestled with this problem for more than 50 years, and still don't have
an instantaneous solution.

Other solutions:

* Don't suspend the machine. Problem solved.

* If you must suspend the machine, bring it up some reasonable length
  of time before you require accuracy from your clock. Problem solved.

* Invest in a decent GPS receiver, and install chrony and gpsd on the
  machine. Doing so may get the system clock in synch faster; it may
  not. Doing that sort of thing is well documented on the gpsd home
  page.


Wouldn't you need to know how fast the laptop is travelling?



Re: Need help with narroely focused use case of Emacs

2024-06-29 Thread mick.crane

On 2024-06-29 12:34, Max Nikulin wrote:

On 29/06/2024 11:48, to...@tuxteam.de wrote:

   Do M-x (hold Meta, most of the time your Alt key, then "x").
   You get a command for a prompt. Enter "query-replace-regexp"


And to get help for this function

C-h f query-replace-regexp RET

To open user manual switch to the help buffer and press "i".

A side note since an answer to the asked question has been posted.

To manipulate with HTML it is better to write a script in some
programming language, e.g. for python there are lxml etree and
BeautifulSoup packages. This way it is easier to maintain valid
document structure with paired opening and closing tags.

I have not tried Emacs lisp facilities for dealing with HTML.


open in Geany


  thru [at most]

  abcdefg

  thru [at most]

abcdefg

  thru [at most]

abcdefg

click search select replace
copy paste selection into "search for"
paste  in "replace with"
click "In Document"


  abcdefg

abcdefg

abcdefg



Re: "Repeaters", etc.

2024-06-12 Thread mick.crane

On 2024-05-29 16:08, gene heskett wrote:


Except at the service. Properly wired, the neutral and static grounds
are bonded ONLY in the service box. I am constantly amazed at the
people who call themselves electricians, who think the static ground
and the neutral are interchangeable just because they are bonded at
the service.

AIUI the distribution neutral is hammered into the ground at the 
substation/generator.
Some electricians say you don't need the earth, another explained it is 
necessary to locally drive a conductor into the ground and attach the 
earth to that in case something happens to the distribution neutral the 
electric has somewhere to go to trip a relay in the house.

mick



Re: about 10th new install of bullseye

2024-06-07 Thread mick.crane

On 2024-06-07 12:32, gene heskett wrote:


Where did you get that beta trixie installer? bookworm does not allow
that removal of orca without also removing gnome. brltty yes, but not
orca.


I don't think I've got any gnome stuff.
here probably.
https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-dvd/
mick



Re: about 10th new install of bullseye

2024-06-07 Thread mick.crane

On 2024-06-07 06:14, gene heskett wrote:


So I took orca out, which took gnome out. But now gnomes dependencies
will put orca back in. So now I can't run autoremove. So one more time
this broken damned bookworm install has bit me in a rear.

I delayed logging in after starting the PC some time ago when a voice 
boomed out the keys I was typing.

"What the.."
Reading this thread I purged orca and brltty on trixie and everything 
still seems to be working.

mick



Re: Question About Free File Transfering Apps

2024-05-31 Thread mick.crane

On 2024-05-31 13:58, gene heskett wrote:

On 5/30/24 20:09, mick.crane wrote:

On 2024-05-29 15:07, Carter Zhang wrote:

Are there any free apps for GNU/Linux and Android to share files over
LAN? There have already been LocalSend, LanXchange, LANDrop,
NitroShare, Sharik, Warpinator, TrebleShot, but they have respective
problems.


  I don't know if sshfs would have issues with more than one 
connection.

mick


It does not, I have open sessions to 6 other machines here,
possability's of up to 10 if all are turned on.


I only drag stuff in and out of the directory in Thunar. Dragging from 
the directory takes a copy. I wondered what would happen if somebody 
deleted a file while you were half way through fetching it.


mick



Re: Question About Free File Transfering Apps

2024-05-30 Thread mick.crane

On 2024-05-29 15:07, Carter Zhang wrote:

Are there any free apps for GNU/Linux and Android to share files over
LAN? There have already been LocalSend, LanXchange, LANDrop,
NitroShare, Sharik, Warpinator, TrebleShot, but they have respective
problems.


 I don't know if sshfs would have issues with more than one connection.
mick



Re: "Repeaters", etc.

2024-05-28 Thread mick.crane

On 2024-05-28 09:57, Brad Rogers wrote:

On Mon, 27 May 2024 18:19:10 -0500
David Wright  wrote:

Hello David,


We didn't meet any lack of understanding. Rather, the problem is which
rooms do you connect, and precisely where do you place the wallplates.


That's what I meant, really.   Christ, they can't even place power
outlets sensibly in many instances.   :-(


Is there not some system that runs ethernet over the mains wiring or did 
I misunderstand it.

mick



Re: time_t transitions in testing

2024-05-03 Thread mick.crane

On 2024-05-03 06:11, songbird wrote:

songbird wrote:
...

  the on-going time_t transitions may be causing some packages
to be removed for a while as dependencies get adjusted.

  i've currently not been doing full upgrades because there are
many Mate packages that would be removed.


  i decided to see what i could get upgraded tonight and
have done it in layers.

  mainly i wanted to make sure that anything removed was
being replaced and that my desktop would still be usable
and that seems to have happened.

  so far it seems to have gone well but i'm on the last 400
packages (it takes me a bit to download since i'm not on a
super-fast connection).  with how things have gone so far i
don't expect any hiccups.

  i  Debian and testing aka trixie.  :)

  thanks to all in the Debian community who have gotten this
done.



Eeeek "725 packages can be upgraded. Run 'apt list --upgradable' to see 
them"
It seemed to be that "apt upgrade" installed a few of them, there was a 
message something wouldn't be installed because there were no headers so 
after getting the linux-headers for the kernel and rebooting apt 
installed the rest.

mick



Re: images in Perl/Tk

2024-03-19 Thread mick.crane

On 2024-03-19 13:29, debian-u...@howorth.org.uk wrote:



There's a bug in your program above, when used for PNG or JPEG. It's a
perl error and I expect you would have got an answer on perlmonks as I
suggested.

The error is described on
https://docstore.mik.ua/orelly/perl3/tk/ch17_01.htm

Look for "Notice the Photo image formats JPEG, PNG, and TIFF—not part
of the Perl/Tk distribution—must be specifically imported."



Only the .bmp file displays other files have error.

"Uncaught exception from user code:
couldn't recognize data in image file "images/red.png" at
/usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21.
Tk::Image::new("Tk::Photo", MainWindow=HASH(0x560632dc9098),
"-file", "images/red.png") called at
/usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 63
Tk::Image::__ANON__(MainWindow=HASH(0x560632dc9098), "-file",
"images/red.png") called at ./test-image.pl line 8"

I've installed
Tk, libgraphics-magick-perl, libimage-imlib2-perl, tkagif, tkblt,
tklib, libtk-img, tkpng.

Now that I know .bmp works I can use that.
Wonder tho' why others don't display, Bookworm and Trixie.
If there is some other module to include I can't discover what it's
name is as yet.
Tk::Photo is a module but seems to be included in Perl/Tk
I'm not really understanding if the Perl/Tk is a rewrite or an
interface to Tk modules.


You might want to read the book! :) Or even the CPAN entry for Tk if
you want to understand more.


Chapter 17 starts by saying Perl/Tk supports the bitmap, Pixmap, and 
Photo image types.

xbm, xpm, bmp, png, xbm, ppm, jpg, xpm, gif, tif =o)

Adding Tk::PNG, Tk::JPEG indeed allows those filetypes to be used.

PS: My emails to list take forever, if at all, to arrive here. I saw 
Gareth's mail on the debian website but that hasn't arrived here.
That may be a feature of gmail so I guess I should subscribe from 
another email address to check.

mick



Re: images in Perl/Tk

2024-03-19 Thread mick.crane

On 2024-03-19 00:42, Michael Lange wrote:

Hi,

On Mon, 18 Mar 2024 19:23:39 +
"mick.crane"  wrote:


I try to load images with Perl/Tk but there is message,
"couldn't recognize data in image file "test.jpeg" at
/usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21"
I've tried different images/pngs/jpgs with same error.
images load OK in other viewers.
Installed tkpng with apt.

Anybody successfully used images with Perl/Tk?
Would Tk::JPEG/Tk::PNG from cpan be happy with the Debian Tk and may
possibly help recognise the file format?
Or is there some 'pruning' of the images, made with Gimp, needed to
work with Tk?

mick



I never used Tk with Perl, but first, you do not need tkpng for png
images anymore, pngs have been supported natively by Tk for years. 
Maybe

tkpng is broken (as at least some versions of img::png that came with
debian have been)?
Second, Tk does not support jpegs without third-party
extensions; probably img::jpeg can help, so you could try to
install libtk-img with apt and then do the Perl equivalent of

   package require img::jpeg


Made an image, saved as .bmp, gif, ppm, pnm, tif, png, jpg
#!/usr/bin/perl
use warnings;
use strict;
use Image::Imlib2;
my $image=Image::Imlib2->new(400,400);
$image->has_alpha(1);
$image->set_color(255,0,0,255);
$image->fill_rectangle(0,0,400,400);
$image->save('./images/red.png');

try to display image in Perl/Tk
#!/usr/bin/perl
use strict;
use warnings;
use Tk;
my $mw = MainWindow->new;
$mw->title("Test");
my $image = $mw->Photo(-file => "images/red.bmp");
my $image_label = $mw->Label(-image => $image)->pack;
MainLoop;

Only the .bmp file displays other files have error.

"Uncaught exception from user code:
	couldn't recognize data in image file "images/red.png" at 
/usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21.
	Tk::Image::new("Tk::Photo", MainWindow=HASH(0x560632dc9098), "-file", 
"images/red.png") called at 
/usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 63
	Tk::Image::__ANON__(MainWindow=HASH(0x560632dc9098), "-file", 
"images/red.png") called at ./test-image.pl line 8"


I've installed
Tk, libgraphics-magick-perl, libimage-imlib2-perl, tkagif, tkblt, tklib, 
libtk-img, tkpng.


Now that I know .bmp works I can use that.
Wonder tho' why others don't display, Bookworm and Trixie.
If there is some other module to include I can't discover what it's name 
is as yet.

Tk::Photo is a module but seems to be included in Perl/Tk
I'm not really understanding if the Perl/Tk is a rewrite or an interface 
to Tk modules.

mick



images in Perl/Tk

2024-03-18 Thread mick.crane

I try to load images with Perl/Tk but there is message,
"couldn't recognize data in image file "test.jpeg" at 
/usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21"

I've tried different images/pngs/jpgs with same error.
images load OK in other viewers.
Installed tkpng with apt.

Anybody successfully used images with Perl/Tk?
Would Tk::JPEG/Tk::PNG from cpan be happy with the Debian Tk and may 
possibly help recognise the file format?
Or is there some 'pruning' of the images, made with Gimp, needed to work 
with Tk?


mick



Re: call me puzzled.

2024-01-14 Thread mick.crane

On 2024-01-12 13:31, gene heskett wrote:

I'm using tbird as an email agent, but it just did something both
strange and scary.

Its filters have been working very spotty, only when the phase of the
moon was right. And it missed moving a msg from the nut list to the
local nut sbbdir, so I went to the filter menu and had it add a new
filter based on that msg.  Then told it to "run it now". Apparently a
big mistake!!

tbird took about an hour, totally cleaned out the inbox at my mail
server of 4080 some messages, w/o adding or moving to anything,
absolutely zip to any local mail directory. No local msgs were played
with, but I've lost several hundred often used addresses that were
stashed in my inbox.

Does anybody have a clue what did that?



Isn't mbox (seen elsewhere) like one file?
Without knowing what I'm doing I reckoned maildir would be safer.
mick



Re: xfce screen detachment

2024-01-07 Thread mick.crane

On 2024-01-07 04:00, Russell L. Harris wrote:

system:  amd64 desktop, debian 12, xfce, NEC MultiSync EA192M monitor

I don't know precisely how to describe the problem, other than
"detachment".  About every week or so, when using the rodent, the
entire screen -- borders and all -- moves with respect to the monitor
screen as I move the mouse.

The only recovery method I have discovered is to reboot.

My hands and finders no longer are working well, so I likely clicked
on something or pressed a key to cause the problem.

RLH


I get this effect if pressing Alt and moving the mouse wheel.
mick



Re: Image handling in mutt

2023-12-08 Thread mick.crane

On 2023-12-08 22:55, Greg Wooledge wrote:

On Fri, Dec 08, 2023 at 04:50:04PM -0600, John Hasler wrote:

Greg writes:
> cc(1) and make(1) would like to have a talk with you.

Those are applications and can do whatever they want.  The OS does not
care about extensions.


What do you consider "the OS" to be, then?


that's a great question
mick



Re: time question, as in ntp?

2023-12-02 Thread mick.crane

On 2023-11-30 19:06, gene heskett wrote:

On 11/30/23 09:14, John Hasler wrote:

Gene writes:

I want to put it at 192.168.71.100/24. How do I do that in
/etc/dhcpcd.conf?


You don't.  That file tells the client how to get an ip (among other
things) from the server.  The default configuration should work.  You
assign static ips on the server when using dhcp.  But why do you want 
to

do that?



I don't want or need a dhcp-server.
For the router/firewall thing I have a PC with pfsense, specifying the 
DHCP pool.
As I don't know what I'm doing it has a web interface. A new install can 
get an IPaddress from that and I can go on the web interface and make it 
permanent.

So like everything is in one place.
cheers
mick



Re: locate question

2023-11-07 Thread mick.crane

On 2023-11-07 16:32, gene heskett wrote:

Greetings all;
I dunno if I've forgot how to use it, or it broken by the same bug
that killing me with the lagging access to my home raid10.

Fact: there are probably over 100 files in my /home/gene directory and
all its subs with assorted names ending in ".scad", made by OpenSCAD
Fact: I just ran "sudo updatedb" and generated a new date just now,
/var/cache/locate/locatedb.n
so that s/b uptodate.
Al of those files should be spit out by:
"locate *.scad" issued from an xfce terminal
but I get:
gene@coyote:~$ locate *.scad
/home/gene/vac_ctrl_box.scad
/home/gene/xhome_cable.scad


I dunno.
You can make separate local databases for locate.
maybe try that.
mick



Re: [Bookworm] collecting sensors data

2023-10-29 Thread mick.crane

On 2023-10-28 18:31, Roy J. Tellason, Sr. wrote:

On Saturday 28 October 2023 07:25:39 am gene heskett wrote:

On 10/28/23 00:14, Max Nikulin wrote:
> On 28/10/2023 01:39, Greg wrote:
>> I just noticed that there is no rrdcollect in Bookworm. What is the
>> "proper" way of collecting sensors readings?
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029995 :
>> please consider removing rrdcollect. Its a tool/daemon to collect
>> metrics from the local system into RRD files. There are quite a number
>> of alternatives in Debian to do the same, better (munin, et al).
>
I just looked at munin in synaptic, But while there lots of parts to 
it,

there is not a single word that indicates what it does? Absolutely
nothing that tells me it can monitor the system fans or measure the
systems voltages.  What does it actually DO?


I've seen that fairly often,  particularly with software packages.
It's a real aggravation at times.


I've sometimes thought it would be useful if at the top of man pages 
there was.

"Why would I use this" with explanation.

mick



Re: Domain name to use on home networks

2023-10-27 Thread mick.crane

On 2023-10-26 09:16, Michael Kjörling wrote:
On 25 Oct 2023 21:23 -0400, from monn...@iro.umontreal.ca (Stefan 
Monnier):
If you go with the domain name home.arpa and an IPv4 subnet sliced 
out

of one of 192.168.0.0/16, 172.12.0.0/12 or 10.0.0.0/8, you can be
_almost certain_ that nothing will break because of those choices, 
now

_or_ in the future.


Aside: I realized after sending the email quoted above that I'd made a
mistake. The subnet is 172.16.0.0/12, not 172.12.0.0/12. Apologies.



100% agreement.

It's just such a shame that they chose a name which refers to "arpa" 
in

it, which is not only US-centric but even belongs to the US's war
department, which I find rather unpalatable.
I understand ARPA was closely related to the beginnings of the 
Internet,

but...  couldn't they choose something a bit more neutral?


As already mentioned, it has been backronymed. Also, "arpa." already
existed, and is well established for infrastructure names in DNS. For
example both IPv4 and IPv6 reverse DNS are served under the arpa zone;
in-addr.arpa and ip6.arpa respectively. To "choose something a bit
more neutral", assuming such a name could be found (it seems likely
that almost anything reasonable could match _some_ government agency
_somewhere_ and therefore be, to borrow your phrasing, "unpalatable"
to some) would mean having to register and maintain (or at the very
least reserve) a new TLD just for the purpose, which was the problem
from RFC 7788 that RFC 8375 aimed to solve. Certainly "local." would
have been one possibility, but that is reserved _specifically_ for
mDNS (RFC 6762) although is often incorrectly used for non-mDNS names.


If remembering correctly the RFC was use "home" for a home network
Then that was changed to use "local" and then back to "home".
Is it now "home.arpa." with the dot at the end or without?
regards
mick



Re: Bookworm: NetworkManager

2023-10-22 Thread mick.crane

On 2023-10-22 13:22, Pocket wrote:


I would normally not use NetworkManager on a server system either, but
in this case NetworkManager is installed on all the bookworm
installation so in this case I choose to work with it instead of
removing it.


It maybe comes with the desktop thing.
With Bookworm I selected xfce only and network-manager was installed.
Out of interest I put static address in /etc/network/interfaces
and purged network-manager and network-manager-gnome.
and seemed happy.

mick



Trixie upgrade

2023-09-27 Thread mick.crane

I only changed "bookworm" to "trixie in sources.list.
"apt update"
"apt upgrade"
"apt autoremove"

coinor-libcoinmplv5 was held back but
"apt full-upgrade" upgraded it.
Don't know what that was about but all seems painless.

mick



Re: door bell like sound effect

2023-08-28 Thread mick.crane

On 2023-08-28 08:29, gene heskett wrote:

Greetings;

odd request:

Somewhere, for some unk reason, there is a sound file file that plays
at max volume, usually around 2 AM or slightly later, that is very
similar to the 40 yo doorbell in this house. A bing-bong sound that
differs from the real doorbell by maybe 5hz in pitch. Wakes me up,
spoiling a good nights sleep, maybe a dozen times a year an apparently
random dates.


As this happens when you are asleep it could be in your head.
You'd need to have a sound activated recorder on for a year to find out.

mick



Re: "locate" easier to use than "find"

2023-08-21 Thread mick.crane

On 2023-08-21 17:21, to...@tuxteam.de wrote:

On Mon, Aug 21, 2023 at 02:50:07PM +, Michael Kjörling wrote:

On 21 Aug 2023 15:56 +0200, from to...@tuxteam.de:
>> For me command "locate" is easier to use than "find":
>
> They do different things. Locate is much faster, but it only looks
> into file names. Find can do nearly everything, like looking into
> file metadata ("show me all files younger than 12 days" or "owned
> by www-data"), running external programs (e.g. grep), yadda, yadda.

Another downside of locate is that it relies on its database being up
to date.

Depending on what you're trying to do, they may both be equally
useful, or one may be far more useful than the other.


Don't get me wrong. I /do/ use both, and take care that the locate
database is up-to-date.

Tools, jobs and that :)


When you imagine what it must be doing is amazing how quick updatedb is.

mick



Re: Unable to ssh to Debian 9 from 9 or 11

2023-07-16 Thread mick.crane

On 2023-07-16 10:53, Roger Price wrote:

On Sun, 16 Jul 2023, mick.crane wrote:


did you try to ssh to the ip address?
I vaguely remember something to do with the keys where I could ssh by 
number but not name.


I ssh from Debian 11 to Debian 9 :

 rprice@titan ~ ssh rprice@192.168.1.13
 ssh: connect to host 192.168.1.13 port 22: Connection timed out

Roger
I'd compare the public key of you at 11 to what's in the authorized_keys 
on 9.

and what's in known_hosts.
and what's in the sshd config file on 9 about "Listen"
after that I dunno.
mick



Re: Unable to ssh to Debian 9 from 9 or 11

2023-07-16 Thread mick.crane

On 2023-07-16 09:28, Roger Price wrote:

On Sun, 16 Jul 2023, mick.crane wrote:


Can you ping the problem machine by name?


 rprice@titan ~ ping -c2 kananga
 PING kananga (192.168.1.16) 56(84) bytes of data.
 64 bytes from kananga (192.168.1.16): icmp_seq=1 ttl=64 time=1.38 ms
 64 bytes from kananga (192.168.1.16): icmp_seq=2 ttl=64 time=1.37 ms

Roger

did you try to ssh to the ip address?
I vaguely remember something to do with the keys where I could ssh by 
number but not name.

mick



Re: Unable to ssh to Debian 9 from 9 or 11

2023-07-16 Thread mick.crane

On 2023-07-16 07:26, Roger Price wrote:

On Sun, 16 Jul 2023, Intense Red wrote:


  Are you trying to ssh into the box as the root user?


I do not ssh into remote boxes as root; I use ssh to root only within 
the box.



If so, remember Debian's ssh configuration stops root from logging in.


In my Debian 9 and 11 boxes I see in /etc/ssh/sshd_config
"PermitRootLogin yes" by default, and by default local and remote root
login is possible.

Roger

Can you ping the problem machine by name?
mick



Re: Migrating system from u-sd to nvme memory on arm64's?

2023-07-12 Thread mick.crane

On 2023-07-12 17:14, gene heskett wrote:

On 7/12/23 10:28, Jeffrey Walton wrote:



It seems like it should be a new thread, but I want to make sure I am
not missing something obvious.

Jeff
.


My bad Jeff, get out the wet noodles & give me 30 lashes, I neglected
to update the subject. But it is related to migrating, so this s/b
better.


the OP said.
"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."

I was wondering what these Nvme M2 things are and if can plug into 
motherboard or need an adaptor, are they like a RAM disk or something.

mick



Re: why bookworm isn't called deb12?

2023-07-07 Thread mick.crane

On 2023-07-07 19:19, to...@tuxteam.de wrote:


Thr rest, is, as they say...


.."A thirty-two bit extension and graphical shell to a sixteen bit patch 
to an eight bit operating system originally coded for a four bit 
microprocessor which was written by a two-bit company that can't stand 
one bit of competition."


I don't know about the bits and bytes but I like the sound of it anyway.
mick



Re: Why does Debian have code names for releases?

2023-07-04 Thread mick.crane

On 2023-07-03 23:34, Emanuel Berg wrote:

tomas wrote:


Or is "metric" one of these things spared by the
Brexit Bonfire?


It depends which gear your camp is since the metric system is
partly implemented and partly co-exists


British Standard Pipe still in use for plumbing and 1/4", 3/8" of 
specification I forget for camera mounts.


mick



Re: Why does Debian have code names for releases?

2023-07-03 Thread mick.crane

On 2023-07-01 15:15, David Wright wrote:


You don't have to memorize all of Debian's codenames in order, do you?
There are about three or four in current use at any one time. (And the
release numbers might be monotonic, but they're not sequential, so
memorizing them would be just as tricky.)


They could be codenames of things in alphabetical order.
mick



Re: php7.4 on bookworm

2023-06-26 Thread mick.crane

On 2023-06-26 08:08, Stefan Begerad wrote:

Dear community,
Somehow my Debian 11 was automagically upgraded to Debian 12 perhaps
by the hosting company. However, there is a website running on this
Debian that requieres php7.4. That website is incompatible with the
php version Debian 12 is offering and down at the moment.

From the packages it looks like Debian 12 is offering php8.2. Can you
recommend a best practice how to run php7.4 on a Debian 12 in an
production environment?

Any hint is appreciated. Cheers,


My hosting company seemed to think it was pretty serious as they 
intended to "fine" anybody monthly who didn't update their website.


mick



Re: OT: Pedantic, yet wrong

2023-06-23 Thread mick.crane

On 2023-06-23 11:58, Nicolas George wrote:

Andy Smith (12023-06-23):

It seemed fine the way it was. The only reason why I didn't answer
is that I don't know anything about removing systemd!


Me I know just a little about it, enough to know that discussion with
people who want to remove it but are not already capable of doing it by
themselves is a waste of time.


It's a subjective thing.
It is what it is but I do feel warmth towards those try to make it work 
without systemd.

it's not particularly logical.
mick



Re: How does the bookworm amd64 netinst 738MB iso fit into a 700MB cd-r?

2023-06-19 Thread mick.crane

On 2023-06-18 23:48, Thomas Schmitt wrote:

Once there was the "businesscard CD" ISO with less than 50 MiB. Very 
handy

for xorriso regression tests.


30 something Mb, Slitaz would fit on them.
mick



Re: give us a clue

2023-06-12 Thread mick.crane

for "mouse" read "trackpad" except when referring to external mouse



Re: give us a clue

2023-06-12 Thread mick.crane

On 2023-06-11 18:43, Peter Ehlert wrote:

On 6/11/23 10:23, mick.crane wrote:

On 2023-06-11 17:53, Peter Ehlert wrote:
On June 11, 2023 9:05:13 AM "mick.crane"  
wrote:


Somebody gave me a Toshiba satellite laptop with the identifying 
number

C50-A-19T
I think this is what is called a Dynabook.
Installed bookworm on it twice the last time with the iso with the
freeware.


Unless this was in the last 24 hours I'm pretty sure you were not
using Bookworm.

Which exact ISO did you use?


This did not automagically cause the trackpad and keyboard to work.
I could only proceed through the installation with a USB mouse and
keyboard.
A laptop might be handy if anybody got the keyboard and trackpad to
work.
and could indicate what to do.
mick


I used firmware-bookworm-DI-alpha1-amd64-DVD-1.iso on a USB stick


I suggest you try again with the new Debian 12 ISO.

there have been significant improvements since the Alpha stage.

best of luck

and previously bookworm alpha "something or other" which is on a CD 
and I've not got the iso to report the exact name..

The keyboard and mouse respond in the BIOS menu.
mick



Well I've tried to install several times to this laptop over the day.
The new Bookworm 12 iso install offers the "select options for the 
install" menu and the keyboard works there but selecting any option the 
laptop keyboard stops responding.
FreeBSD install proceeds using laptop keyboard but on boot half way 
through screen messages are interspersed with screens full of "[OP^" 
text.
Although after failing to logon as "PPP".I seem to have a 
FreeBSD install and the keyboard works but I didn't go as far to install 
X to see if the mouse worked.
It had windows installed on it previously and that seemed to work with 
mouse and keyboard up to the logon before I installed over it.

There is a BIOS type boot message " C drive is "something or other"
So I dunno, maybe wonky keyboard, windows guff in the BIOS.
Toshiba don't seemed too keen to reveal details of this particular 
laptop although there is a BIOS update for
Toshiba Satellite pro for series C50-A models so I may take a chance I 
don't brick it.
Or I may install Bookworm using the external keyboard and mouse and try 
to sort it later or I may bin it and get on with what I'm supposed to be 
doing.

mick



Re: give us a clue

2023-06-11 Thread mick.crane

On 2023-06-11 17:53, Peter Ehlert wrote:

On June 11, 2023 9:05:13 AM "mick.crane"  wrote:

Somebody gave me a Toshiba satellite laptop with the identifying 
number

C50-A-19T
I think this is what is called a Dynabook.
Installed bookworm on it twice the last time with the iso with the
freeware.


Unless this was in the last 24 hours I'm pretty sure you were not
using Bookworm.

Which exact ISO did you use?


This did not automagically cause the trackpad and keyboard to work.
I could only proceed through the installation with a USB mouse and
keyboard.
A laptop might be handy if anybody got the keyboard and trackpad to
work.
and could indicate what to do.
mick


I used firmware-bookworm-DI-alpha1-amd64-DVD-1.iso on a USB stick
and previously bookworm alpha "something or other" which is on a CD and 
I've not got the iso to report the exact name..

The keyboard and mouse respond in the BIOS menu.
mick



give us a clue

2023-06-11 Thread mick.crane

Somebody gave me a Toshiba satellite laptop with the identifying number
C50-A-19T
I think this is what is called a Dynabook.
Installed bookworm on it twice the last time with the iso with the 
freeware.

This did not automagically cause the trackpad and keyboard to work.
I could only proceed through the installation with a USB mouse and 
keyboard.
A laptop might be handy if anybody got the keyboard and trackpad to 
work.

and could indicate what to do.
mick



Re: Running Debian without initramfs?

2023-06-09 Thread mick.crane

On 2023-06-08 19:08, Mike Castle wrote:


I couldn't afford a large enough harddrive for the second system, nor
ethernet cards (and a local shop was going to charge me $50 to make a
crossover cable if I went that route!).


swapping around the red and red-white with the green and green-white 
wires seemed to work.

mick



gimp scripts

2023-06-06 Thread mick.crane

It would be useful to toggle the visibility of 2 layers in Gimp.
somebody posted a script here.
https://www.gimpusers.com/forums/gimp-user/19918-toggle-visibility-of-two-layers#message87577
Which works but the dialogue comes up each time so is not proper 
toggling.

It's just as quick to click on the visibility in the layers window.
I'd rather not learn how these scripts work if I don't have to.
Anybody able to post adjustment to the guy's script to just toggle the 
top 2 layers without the dialogue?


cheers

mick



UUIDS

2023-05-27 Thread mick.crane
I'm sure it used to be that you could swap linux discs between PCs and 
it would sort itself out but I try swapping disks about and booting and 
they complain

"Cannot find UUID..lots of identifying numbers"
and gives intramfs prompt.
Am I supposed to be able to sort it out from there?
like how?
mick



Re: GPT backup table, was Re: virtualisation

2023-05-27 Thread mick.crane

On 2023-05-27 10:33, Michael wrote:

On Friday, 26 May 2023 11:47:04 CEST, Thomas Schmitt wrote:

(And as mick.crane already noticed, it is a bit awkward to create an
extended partiton 2 only to fill it nearly up with logical partition 
5.

I wonder what entity decided to do so.)


on my debian 11 test vm with default installation it is exactly the 
same:


root@debian11test:~# fdisk -l /dev/sda
Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
Disk model: VBOX HARDDISK   Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2e739d33

Device BootStart  End  Sectors  Size Id Type
/dev/sda1  *2048 39942143 39940096   19G 83 Linux
/dev/sda2   39944190 41940991  1996802  975M  5 Extended
/dev/sda5   39944192 41940991  1996800  975M 82 Linux swap / 
Solaris


greetings...


I just installed bookworm on another SSD disk.
The installer said it was going to partition the disk one for the / and 
another for swap

After the installation the extended partition was there.
Is this some attribute of pre formatted SSDs
I didn't zero the disk as my old systemrescueCD CD failed to 
successfully boot.

I'll get a more recent copy.
mick



Re: virtualisation

2023-05-24 Thread mick.crane

On 2023-05-24 19:48, David Christensen wrote:


So, your disk does not contain a valid secondary GPT header.  That
explains the complaints about a corrupt secondary GPT partition table.


At this point, options include:

1.  Ignore it.

2.  Zero-fill the last 33 sectors of the disk.

3.  Zero-fill all the sectors after sda5.


This topic was a tangent off your OP.  Are there any remaining issues
that you wish to discuss?


well only that if it looks like it was a partition is there not 
something that would report on the drive in a more muppet readable form.

As for the virtualisation I got some SSDs and I'll play around.
cheers

mick



Re: virtualisation

2023-05-24 Thread mick.crane

On 2023-05-24 09:29, David Christensen wrote:


Try this command on your machine:

468862128 - 1 = 468862127

# dd bs=512 count=1 if=/dev/sda skip=468862127 status=none | hexdump
-C | head -n 1


root@pumpkin:/home/mick# dd bs=512 count=1 if=/dev/sda skip=468862127 
status=none | hexdump -C | head -n 1
  c1 1a 12 6b 70 45 54 83  2e f4 b0 a3 24 17 53 5c  
|...kpET.$.S\|

root@pumpkin:/home/mick#



Re: virtualisation

2023-05-23 Thread mick.crane

On 2023-05-23 22:59, David Christensen wrote:


Run the following command to see if there is a GPT secondary partition
table on your disk:

# dd bs=512 count=33 if=/dev/sda skip=468862095 | hexdump -C


root@pumpkin:/home/mick# dd bs=512 count=33 if=/dev/sda skip=468862095 | 
hexdump -C >dump.txt

33+0 records in
33+0 records out
16896 bytes (17 kB, 16 KiB) copied, 0.0114308 s, 1.5 MB/s
root@pumpkin:/home/mick# nano dump.txt
  d0 80 47 bf 2b 38 99 33  54 ee ec 10 02 26 2a 11  
|..G.+8.3T&*.|
0010  8b f6 af 00 1e a7 6f 28  22 63 84 18 3b 60 5b fb  
|..o("c..;`[.|

..
41e0  19 d0 6a 27 a9 7e e9 e0  21 24 82 de 64 66 58 41  
|..j'.~..!$..dfXA|
41f0  7d 12 94 8f f4 f3 a0 3a  f1 4a b9 53 fb ac 8d 6e  
|}..:.J.S...n|

4200



Re: virtualisation

2023-05-23 Thread mick.crane

On 2023-05-23 14:01, Charles Curley wrote:


boot is in /
Is sda2 something to do with EFI?


No. Wikipedia is your friend.
https://en.wikipedia.org/wiki/Extended_boot_record

From what I can gather I'm not seeing the advantage of making an 
extended partition and then filling it with a swap partition but 
probably I've misunderstood..



I thought maybe I could run a Windows program in a window on Debian
desktop.


You might look into wine as well.

apt show wine


I've tried it in the past but the poker software failed to install and I 
gave up.


cheers

mick



Re: Debian upgrade is failing

2023-05-23 Thread mick.crane

On 2023-05-23 13:39, Sayali Gole wrote:

Hello,

Debian 9 upgrade is failing ,failed to fetch url of source.list file


You'll need to provide the contents of /etc/apt/sources.list
and anything in /etc/apt/sources.list.d

mick



Re: virtualisation

2023-05-23 Thread mick.crane

On 2023-05-22 23:18, David Christensen wrote:

On 5/22/23 11:43, mick.crane wrote:

This is a request for best practice, perceived knowledge.
For one reason and another this PC/Workstation (what is the 
difference?)
boots in legacy mode. It was something to do with the SS usb port not 
booting the installer in EFI mode.

I forget exactly.
Anyway, it's a niggle that it is legacy mode and changing a working 
system seems a palaver.
As I have the /home stuff all being/copied onto another disk I thought 
I'd reinstall and try to get it tidy.



Why do you think legacy mode is untidy?


I had previously installed Ubuntu on this disk,
after installing Bookworm the Ubuntu EFI option in the BIOS was still 
there.
I removed it in the BIOS menu. There was some message in the boot screen 
in legacy mode

"Alternate (partition?) corrupted using primary" or something.
It doesn't seem to have stopped anything working.

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

Device Boot Start   End   Sectors   Size Id Type
/dev/sda1  * 2048 466862079 466860032 222.6G 83 Linux
/dev/sda2   466864126 468860927   1996802   975M  5 Extended
/dev/sda5   466864128 468860927   1996800   975M 82 Linux swap / 
Solaris

root@pumpkin:~#

boot is in /
Is sda2 something to do with EFI?




I thought to try this virtualisation.



Why?


I thought maybe I could run a Windows program in a window on Debian 
desktop.





Q1. Would openbox be the one to go for?
Things I use work happily on Bookworm but seems openbox is only 
available in Sid for now.
Should I try to build openbox or try to get it from Sid if OpenBox is 
what I want?

I have purchased 64Gb of this DIMM memory for the experimentation.

mick



https://en.wikipedia.org/wiki/XY_problem


David


also thanks to Dan.

mick



Re: virtualisation

2023-05-22 Thread mick.crane

On 2023-05-22 20:10, Dan Ritter wrote:

mick.crane wrote:

This is a request for best practice, perceived knowledge.
For one reason and another this PC/Workstation (what is the 
difference?)

boots in legacy mode. It was something to do with the SS usb port not
booting the installer in EFI mode.
I forget exactly.
Anyway, it's a niggle that it is legacy mode and changing a working 
system

seems a palaver.
As I have the /home stuff all being/copied onto another disk I thought 
I'd

reinstall and try to get it tidy.
I thought to try this virtualisation.
Q1. Would openbox be the one to go for?
Things I use work happily on Bookworm but seems openbox is only 
available in

Sid for now.
Should I try to build openbox or try to get it from Sid if OpenBox is 
what I

want?
I have purchased 64Gb of this DIMM memory for the experimentation.


Openbox is a window manager.

You probably mean VirtualBox, and the answer is no.

Try KVM/QEMU, which is available via the libvirt tools; the
primary graphical interface is virt-manager, and the primary CLI
is virsh.

-dsr-


This is like a "container" using the kernel from debian installation ?

mick



virtualisation

2023-05-22 Thread mick.crane

This is a request for best practice, perceived knowledge.
For one reason and another this PC/Workstation (what is the difference?)
boots in legacy mode. It was something to do with the SS usb port not 
booting the installer in EFI mode.

I forget exactly.
Anyway, it's a niggle that it is legacy mode and changing a working 
system seems a palaver.
As I have the /home stuff all being/copied onto another disk I thought 
I'd reinstall and try to get it tidy.

I thought to try this virtualisation.
Q1. Would openbox be the one to go for?
Things I use work happily on Bookworm but seems openbox is only 
available in Sid for now.
Should I try to build openbox or try to get it from Sid if OpenBox is 
what I want?

I have purchased 64Gb of this DIMM memory for the experimentation.

mick



Re: video issue following latest bullseye update

2023-05-17 Thread mick.crane

On 2023-05-17 17:15, D. R. Evans wrote:

Felix Miata wrote on 5/15/23 13:25:



Try using the (default) modesetting DIX display driver instead of 
Nouveau. Remove

package

xserver-xorg-video-nouveau



Synaptic is telling me that this will also remove:
  xserver-xorg-video-all

Is it OK that that will also be removed?

  Doc


I found my display worked better after running
nvidia-detect/testing,now 525.105.17-1 amd64 [installed]
  NVIDIA GPU detection utility
which told me which driver to install.

regards
mick



Re: graphic cards was efi problem

2023-04-24 Thread mick.crane

On 2023-04-24 10:23, David Christensen wrote:

On 4/22/23 22:07, mick.crane wrote:

Dell Precision T3600


I assume this is the computer for the subject thread.


I couldn't make head nor tail of the Dell f2/f12 boot options.
installed bullseye and all was stable at 800x600 but with no options to 
change. As want to do graphical things that's not ideal.
Upgraded to bookworm via changing /etc/apt/sources.list and installed 
firmware-linux-nonfree, changed resolution to 3840x2160 desktop crashed 
while displaying firefox.

Still no option to choose CDrom in dell boot menus.
"efibootmgr -n 8" and reboot runs bookworm install CD.
on reboot after installation of bookworm PC says no OS found.
Changed Dell f2/f12 menu to boot legacy CDrom and bookworm installation 
succeeds, has automagically set display to 3840x2160 and hasn't crashed 
as yet so we see how it goes.


mick



Re: graphic cards was efi problem

2023-04-23 Thread mick.crane

On 2023-04-23 20:56, mick.crane wrote:

Please be considerate of us oldies who struggle with the technology.
I successfully booted from the CD and reinstalled Debian.
The purpose for doing this was that I was having pixel glitches on the
monitor and some freezes.
Thinking anything I've done that might be causing that will be
eradicated with a fresh install.
Well the pixel glitches are still there so I'm assuming the graphics
card is defective and I should get another one.
Interestingly the Krita documentation says that they aren't putting
any time into using the graphics card memory as they think graphics
cards will the defunct in the future.
I wondered if there is some way to examine graphics card memory and
mark as bad or something.


well the story so far is that I installed with the expert type 
selections and the apt suggested installing firmware-amd-graphics and 
everything was crashing with anything to do with a browser.
So now I install with the graphical install and everything seems stable 
as I can type this and it hasn't crashed, there are no pixel glitches as 
yet so I'm thinking is a graphical driver issue.
I would like to sort this working on the bigger display as I've got 
things to do and would like a stable base.

I'm just grateful anything works but perfection would be nice.



Re: graphic cards was efi problem

2023-04-23 Thread mick.crane

On 2023-04-23 20:21, David Christensen wrote:

On 4/23/23 12:56, mick.crane wrote:

Please be considerate of us oldies who struggle with the technology.
I successfully booted from the CD and reinstalled Debian.
The purpose for doing this was that I was having pixel glitches on the 
monitor and some freezes.
Thinking anything I've done that might be causing that will be 
eradicated with a fresh install.
Well the pixel glitches are still there so I'm assuming the graphics 
card is defective and I should get another one.
Interestingly the Krita documentation says that they aren't putting 
any time into using the graphics card memory as they think graphics 
cards will the defunct in the future.
I wondered if there is some way to examine graphics card memory and 
mark as bad or something.


mick



Please describe in detail what you mean by "pixel glitches".  How
many? Size?  Shape?  Color?  Static or dynamic?


Have you tried A/B testing the graphics card (e.g. video signal
transmitter) by using a second monitor?  What were the results?


Have you tried A/B testing the monitor (e.g. video signal receiver) by
using a second computer?  What were the results?


on the desktop there were red blocks of pixels, small like a typeface 
size, maybe 3 or 4 of them always in top left corner of screen.

In a browser pale blue ones 4 or 5 around an input text window,
I have reinstalled bookworm now. Hats off to whoever does the installer 
because it's great.
Funnily without touching anything there are no pixel glitches now after 
this install but if I open a browser and do anything everything crashes.
Out of interest I installed Devuan on another PC and using same monitor 
there were no issues.
It could be anything but not having the errant pixels for now is 
encouraging.




graphic cards was efi problem

2023-04-23 Thread mick.crane

Please be considerate of us oldies who struggle with the technology.
I successfully booted from the CD and reinstalled Debian.
The purpose for doing this was that I was having pixel glitches on the 
monitor and some freezes.
Thinking anything I've done that might be causing that will be 
eradicated with a fresh install.
Well the pixel glitches are still there so I'm assuming the graphics 
card is defective and I should get another one.
Interestingly the Krita documentation says that they aren't putting any 
time into using the graphics card memory as they think graphics cards 
will the defunct in the future.
I wondered if there is some way to examine graphics card memory and mark 
as bad or something.


mick



Re: efi problem

2023-04-22 Thread mick.crane

On 2023-04-23 00:56, songbird wrote:

mick.crane wrote:

I suspect the GPU is suspect because there are small blocks of pixels
appearing where they aren't wanted.
I'd like to re-install the OS as I've got copies of everything I 
think.

Just to see if it's maybe a driver issue.
Thing is I can't get the f12 options screen of the PC to let me boot
from a CD in this EFI mode what's grub done.
How can I boot from CD in this EFI mode?


  what does efibootmgr say when you run it from the
root prompt?

  mine lists the CD drive and if i change the boot
order to put that first it will boot from that device.

  man efibootmgr

root@pumpkin:/home/mick# efibootmgr
BootCurrent: 0007
Timeout: 1 seconds
BootOrder: 0008,,000A,0003,0004,0007,0001,0002
Boot* USB Storage Device
Boot0001  debian
Boot0002  grubx64-ef5
Boot0003  Onboard NIC
Boot0004  Diskette Drive
Boot0005  Onboard NIC
Boot0007* debian
Boot0008* CD/DVD/CD-RW Drive
Boot000A* P1: KINGSTON SA400S37240G

Obv. I've installed on this Dell Precision T3600 before, it may have 
been from a flash drive or it may have been from a CD.

but likely CD.
mick@pumpkin:~$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E5/Core i7 DMI2 (rev 07)

Is there some way I can say "boot Boot0008 please"?

mick






Re: efi problem

2023-04-22 Thread mick.crane

On 2023-04-22 19:05, DdB wrote:

Am 22.04.2023 um 19:30 schrieb mick.crane:

I suspect the GPU is suspect because there are small blocks of pixels
appearing where they aren't wanted.
I'd like to re-install the OS as I've got copies of everything I 
think.

Just to see if it's maybe a driver issue.
Thing is I can't get the f12 options screen of the PC to let me boot
from a CD in this EFI mode what's grub done.
How can I boot from CD in this EFI mode?

mick




My neighbor has an old laptop without a CD drive. But there is a linux
running (ubuntu). So what i did is this:
i did download (and check) an ISO-file to boot from (debian- or ubuntu-
live versions) and googled for the appropriate stanza for grub to 
handle

booting from that ISO file. Then i did modify the /etc/grub.d/41_custom
file, to make sure, grub will include that stanza on update-grub
automatically.
But if you only want to boot it only once, you could - on boot, while
seeing the grub menu, enter "c" to open a command line and enter the
necessary commands by hand. (I liked to learn, what grub has to offer
for cases of emergency. Can come in handily, if you - or a friend - 
gets

stuck on boot.)

BTW: IIRC, grub is able to start an efi-shell, if needed, to force boot
options that way. But my neighbor did not have uefi. Whereas I do, and 
-

although i am lazy and prefer automation, i had to boot up manually via
UEFI several times.

What i am saying is: it is possible, but not exactly trivial. Learning
is involved and desirable.

Have fun
DdB


It used to be grub thought things were HD0, HD1
and you could decide what to boot from
I have a CD with the debian installer on it that I burnt with the 
xorriso which I'm presuming is a bootable CD but there's no way of 
telling because the EFI thing won't let me select it to boot from




Re: efi problem

2023-04-22 Thread mick.crane

On 2023-04-22 19:05, DdB wrote:

Am 22.04.2023 um 19:30 schrieb mick.crane:

I suspect the GPU is suspect because there are small blocks of pixels
appearing where they aren't wanted.
I'd like to re-install the OS as I've got copies of everything I 
think.

Just to see if it's maybe a driver issue.
Thing is I can't get the f12 options screen of the PC to let me boot
from a CD in this EFI mode what's grub done.
How can I boot from CD in this EFI mode?

mick




My neighbor has an old laptop without a CD drive. But there is a linux
running (ubuntu). So what i did is this:
i did download (and check) an ISO-file to boot from (debian- or ubuntu-
live versions) and googled for the appropriate stanza for grub to 
handle

booting from that ISO file. Then i did modify the /etc/grub.d/41_custom
file, to make sure, grub will include that stanza on update-grub
automatically.
But if you only want to boot it only once, you could - on boot, while
seeing the grub menu, enter "c" to open a command line and enter the
necessary commands by hand. (I liked to learn, what grub has to offer
for cases of emergency. Can come in handily, if you - or a friend - 
gets

stuck on boot.)

BTW: IIRC, grub is able to start an efi-shell, if needed, to force boot
options that way. But my neighbor did not have uefi. Whereas I do, and 
-

although i am lazy and prefer automation, i had to boot up manually via
UEFI several times.

What i am saying is: it is possible, but not exactly trivial. Learning
is involved and desirable.

Have fun
DdB

This sounds encouraging.
Any idea what the correct manifestation  would  be to get the PC to boot 
the debian installer CD?
What as wrong with boot from CD, disk 1, disk 2, some convoluted network 
connection?




efi problem

2023-04-22 Thread mick.crane
I suspect the GPU is suspect because there are small blocks of pixels 
appearing where they aren't wanted.

I'd like to re-install the OS as I've got copies of everything I think.
Just to see if it's maybe a driver issue.
Thing is I can't get the f12 options screen of the PC to let me boot 
from a CD in this EFI mode what's grub done.

How can I boot from CD in this EFI mode?

mick



Re: should CLI have a nice UI today?

2023-03-31 Thread mick.crane

On 2023-03-25 06:35, to...@tuxteam.de wrote:


After a detour around whiptail I ended up full-circle with Tcl/Tk.
It is still the nicest, smallest self-contained graphical toolkit
enabling one to wrap some GUI around CLI programs. The whole pack
is one or two orders of magnitude smaller than some web browser
monstrosity and much easier to extend, handle and embed.


+1
mick



Re: It stop working

2023-01-27 Thread mick.crane

On 2023-01-27 22:16, Timothy M Butterworth wrote:
On Thu, Jan 26, 2023 at 11:15 AM mick.crane  
wrote:


freeze occurred while dragging vivaldi window size with wireless 
mouse.

Then the mouse pointer is movable but everything else is frozen.
These freezes have happened in the past when scrolling with FirefoxESR
so likely not browser fault.
Have to disconnect/reconnect power.
Is it hardware fault with the graphics card?

Debian GNU/Linux bookworm/sid
Dell precision T3600
# uname -a
Linux pumpkin 6.1.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.4-1
(2023-01-07) x86_64 GNU/Linux

# journalctl -S "2023-01-26"
Jan 26 00:41:39 pumpkin kernel: amdgpu :03:00.0: amdgpu: GPU fault
detected: 147 0x014e0401
Jan 26 00:41:39 pumpkin kernel: amdgpu :03:00.0: amdgpu:
VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x01000B8A
Jan 26 00:41:39 pumpkin kernel: amdgpu :03:00.0: amdgpu:
VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0E004001
Jan 26 00:41:39 pumpkin kernel: amdgpu :03:00.0: amdgpu: VM fault
(0x01, vmid 7) at page 16780170, read from '' (0x) (4)
Jan 26 00:41:49 pumpkin kernel: [drm:amdgpu_job_timedout [amdgpu]]
*ERROR* ring gfx timeout, signaled seq=927741, emitted seq=927744
Jan 26 00:41:49 pumpkin kernel: [drm:amdgpu_job_timedout [amdgpu]]
*ERROR* Process information: process vivaldi-bin pid 1364 thread
vivaldi-bi:cs0 pid 1409
Jan 26 00:41:49 pumpkin kernel: amdgpu :03:00.0: amdgpu: GPU
recovery disabled.
-- Boot c103c5ff8ddd4c679cb518cc0152c0d4 --

regards
mick


How much RAM and swap do you have? `free -h` Are you multitasking a lot 
of

applications when the freezing occurs?


I don't do anything with this PC except the browser mostly.
mick@pumpkin:~$ free -h
   totalusedfree  shared  buff/cache   
available
Mem:15Gi   2.1Gi11Gi30Mi   2.0Gi 
   13Gi

Swap:  975Mi  0B   975Mi

The other problem I have is that the mouse clicks sometimes aren't the 
mouse clicks I want.

e.g some web enter box thinks I've clicked browser back button.
I guess I should have sshd running and try shh into it after freezes.
If can do that that what commands to enter other than "ps" to see what's 
going on?

mick



It stop working

2023-01-26 Thread mick.crane

freeze occurred while dragging vivaldi window size with wireless mouse.
Then the mouse pointer is movable but everything else is frozen.
These freezes have happened in the past when scrolling with FirefoxESR 
so likely not browser fault.

Have to disconnect/reconnect power.
Is it hardware fault with the graphics card?

Debian GNU/Linux bookworm/sid
Dell precision T3600
# uname -a
Linux pumpkin 6.1.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.4-1 
(2023-01-07) x86_64 GNU/Linux


# journalctl -S "2023-01-26"
Jan 26 00:41:39 pumpkin kernel: amdgpu :03:00.0: amdgpu: GPU fault 
detected: 147 0x014e0401
Jan 26 00:41:39 pumpkin kernel: amdgpu :03:00.0: amdgpu:   
VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x01000B8A
Jan 26 00:41:39 pumpkin kernel: amdgpu :03:00.0: amdgpu:   
VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0E004001
Jan 26 00:41:39 pumpkin kernel: amdgpu :03:00.0: amdgpu: VM fault 
(0x01, vmid 7) at page 16780170, read from '' (0x) (4)
Jan 26 00:41:49 pumpkin kernel: [drm:amdgpu_job_timedout [amdgpu]] 
*ERROR* ring gfx timeout, signaled seq=927741, emitted seq=927744
Jan 26 00:41:49 pumpkin kernel: [drm:amdgpu_job_timedout [amdgpu]] 
*ERROR* Process information: process vivaldi-bin pid 1364 thread 
vivaldi-bi:cs0 pid 1409
Jan 26 00:41:49 pumpkin kernel: amdgpu :03:00.0: amdgpu: GPU 
recovery disabled.

-- Boot c103c5ff8ddd4c679cb518cc0152c0d4 --

regards
mick



Re: just saying

2022-11-25 Thread mick.crane

On 2022-11-25 05:01, to...@tuxteam.de wrote:

On Thu, Nov 24, 2022 at 09:03:00PM +, mick.crane wrote:
I love open source, more than you might think, but I have a niggling 
feeling

it's been infiltrated to make user control difficult.


That is no different from everything else in society. There are spooks,
there are folks with good intentions, and sometimes, both sets overlap!

Then there are spooks from "this side", spooks from "the other side", 
and

some try to make you think someone else is a spook, although she ain't.

Life is messy, alas. It's still better with Free Software (I much 
prefer

/that/ spelling than the always coy "open source", so there you go;
I think the latter was invented by spooks!).


If I was a spook it's what I'd do.
Please prove me wrong.


There ain't nothing to prove. There /are/ spooks. But not everything
you see is the work of spooks. Take care, have good friends, and...
live your life.

All generalizations suck.


The cabbages glisten in the moonlight.
mick



just saying

2022-11-24 Thread mick.crane
I love open source, more than you might think, but I have a niggling 
feeling it's been infiltrated to make user control difficult.

If I was a spook it's what I'd do.
Please prove me wrong.
mick



Re: Buster->Bullseye scrambled xsane settings

2022-11-24 Thread mick.crane

On 2022-11-24 07:24, Charlie Gibbs wrote:

On 2022-11-23 15:35, Peter von Kaehne wrote:


is there another scanning package I could use in the meantime?


My scanning needs are very simple, black and white and occasional 
only. I use gnome’s simple-scan.


It works well enough for me. Including usb and  network scanning, bw, 
colour, single and multi page, but all in one very uncomplicated 
package


I installed it and ran a few tests.  It seems to do the trick, once I
figured out that "text" means "black and white" and "image" means
"colour".

That ought to hold me for now.  I can still use xsane for colour and
grayscale scans.


myself I'd like to know where to find the string xsane sends to the 
scanner so can duplicate with scanimage if that's the backend thing.

mick



Re: MacOS VM on Debian: is it reasonably possible?

2022-11-22 Thread mick.crane

On 2022-11-21 20:03, Kamil Jońca wrote:

Tom Browder  writes:

I'm going to try to run Win 10 as a VM on my new Deb box following 
instructions I've received on this list.


Has anyone been able to run a recent version of MacOS as a VM?



Apart technical issues, there is licence which AFAIK forbids run MacOS
on non-Apple hardware (regardless if it is bare metal or VM). The only
exception is (was?) emacos server.

Please correct me if I am wrong.
KJ


Apple business is selling cool hardware. obvs they don't want their 
software on other hardware.

mick



Re: Printer not working after upgrading

2022-11-22 Thread mick.crane

On 2022-11-22 12:39, Rodolfo Medina wrote:

Rodolfo Medina  writes:

I noticed the problem just after upgrading to bullseye from previous 
stable
Debian version; then I upgraded to Unstable in the hope of solving it 
but the

problem remains, with error:

 stopped "Filter failed"

I also tried to remove and re-add the printer with no success.  I'm 
stuck,

please help, thanks in advance.



Peter von Kaehne  writes:

To help I think people need more than you have given. Printer model, 
software

in use, version, printer driver, logs.



Brad Rogers  writes:


Hello Rodolfo,

Same sort of thing Celejar said about your gv issues;  What printer,
what driver, what were the exact commands and error messages...



Thanks, sorry: the printer is the Samsung ML-191x 252x Series, the 
software I'm
using to manage it is the Debian package cups and `aptitude show' says 
it's
installed in my Sid box at the version 2.4.2-1+b2.  The driver I think 
is the

file called ML-191xspl2.ppd.  I do:

 $ lp -P 1 ing.pdf

and the output:

 request id is Samsung_ML-191x_252x_Series-694 (1 file(s))

and nothing happens.  In the "Jobs" section of the printing localhost 
it says


 stopped
 "Filter failed"

I hope it's all right.  Logs I wouldn't know...


Is the printer attached to the Sid PC (was Bullseye)?
How's it attached?
Did you try print a plain text file?
There's commands to see what Cups thinks the printer is but I'd have to 
look it up.

mick



Re: how to add more ipv6 addresses to an interface that is being configured through dhcpv6

2022-11-15 Thread mick.crane

On 2022-11-15 14:03, Curt wrote:
I recommend a reboot at this point to remove the currently running

 network and to ensure that your network comes up properly.

 This is all it takes for a simple case.

Good luck.


I used to look how long uptime was but now I reboot in case I broke 
something that shows up on a reboot and it's still fresh in mind how it 
might have broke.


mick



Re: support for ancient peripherals

2022-11-06 Thread mick.crane

On 2022-11-05 23:21, Kleene, Steven (kleenesj) wrote:


3. An HP LaserJet 5MP printer from 1995 with a parallel-port connector.


Pretty sure used used HP Jetdirect in the past with cups.
https://support.hp.com/gb-en/document/c02480766

mick



Re: Will my reconstructed fstab work?

2022-11-03 Thread mick.crane

On 2022-11-03 04:52, Ken Heard wrote:

A few days ago using vim I added to my desktop fstab file a line for a
new portable storage device.  in the process I somehow managed to
screw up fstab.  Unfortunately I saved the screwed up version of fstab
before I noticed the damage done to it.




01 -e8b57fb2ac09static file system information.
02 -e8b57fb2ac09
03 -e8b57fb2ac09lkid' to print the universally unique identifier for a
04 -e8b57fb2ac09vice; this may be used with UUID= as a more robust way
to name devices
05 -e8b57fb2ac09at works even if disks are added and removed. See 
fstab(5).


It is likely unrelated but I had a thing a while ago while editing files 
with vim/nano that random text from within the file would be randomly 
inserted elsewhere in the file which was incredibly disturbing.

mick.



Re: Helium [was: t-bird screwing up]

2022-11-03 Thread mick.crane

On 2022-11-03 14:38, David Wright wrote:


You still don't get it, the helium molecule is so small it wiggles
thru a steel walls  huge molecules
like they were a layer of felt. Monel alloy is denser but it still 
leaks.


I haven't done the experiments, but others, like this pair, have.

https://www.sciencedirect.com/science/article/abs/pii/0042207X61900185


I know next to nothing about this stuff but it helps me to think that 
rather than everything made of little things that it's clouds of god 
knows what swirling about.

mick



Re: MUD

2022-10-13 Thread mick.crane

On 2022-10-13 13:03, Greg Wooledge wrote:


Originally, Multi-User Dungeon.

http://catb.org/esr/jargon/html/M/MUD.html

The one that I saw was set up as a sort of user-extensible text 
adventure

setting.  I don't know how they've evolved since then.


"up"
"you cannot go that way"
"drop cloak".
"Your wings unfurl"



Re: exif --remove not idempotent, and a Debian man page bug

2022-09-26 Thread mick.crane

On 2022-09-26 06:42, Emanuel Berg wrote:
<...>

I have now clarified to the best of my ability the meaning of
that word and I think that will help people understand at last
why incorrect tech information, actually disinformation at
that point, can't be allowed in software documentation. I get
it now that this was the root of the confusion but as always
everything in time ...


Yes but an Oxford comma.



Re: question for seasoned links users?

2022-09-17 Thread mick.crane

On 2022-09-17 07:20, Karen Lewellen wrote:

Yes, links is the browser to which I am referring.
As stated, I am attempting to help a site owner troubleshoot an issue,
that I  experience using links, the browser.


If it's a one off thing take a photo and send that.

mick



Re: Best way to use noise-canceling

2022-09-10 Thread mick.crane

On 2022-09-09 19:29, john doe wrote:

Debians,

I can see online that noise-canceling can be enabled in pulse audio,
pipewire.

Is there a recommended way in Debian to do so?



Maybe PulseEffects ?

mick



Re: Mail Transfer Agent

2022-08-21 Thread mick.crane

On 2022-08-21 07:36, Polyna-Maude Racicot-Summerside wrote:

I'd like a good email provider, as I ain't sure this (Postmark) will 
fix

all my delivery problem. Would it be better to get a paying plain with
Protonmail, who do offer a plan with IMAP/SMTP ?


People have recommended posteo.de
They seem reliable and painless.
mick



Re: question about sound

2022-08-18 Thread mick.crane

On 2022-08-18 08:39, to...@tuxteam.de wrote:

On Wed, Aug 17, 2022 at 10:47:40PM +0100, mick.crane wrote:

On 2022-08-17 21:00, ghe2001 wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Anybody have anything to say about editing sound files?

In the 70s friends went to this house where there was a 14 year old 
Indian

mystic.
You were all supposed to wait downstairs until you were called to 
receive

'the knowledge'.
We all left after a day but one guy stayed, after days he got really 
angry.

Stormed up the stairs, " Give me the f#@king knowledge!"
funny old times.


TBH you packed two questions into your original mail. Complaining that
most people concentrate on one is kinda... well ;-)


I don't mean to appear am complaining.
Mention of teenage Guru was attempted humour.
There were 2 question marks but really one question.
"Is there a numpty's explanation what are these PulseAudio, Alsa, Jack?"
Noticed had sound from the speakers when selecting Pulseaudio as Audio 
System but then doing that again I had no sound.

Have no idea what an Audio System is.
I have found the Ardour6 manual.
The install system looks to have put me and pulse in audio group.
Ardour manual is saying this is possibly not a good idea because only 
one person can access soundcard at a time.
There may be an explanation why second attempt had no sound output 
because something had the soundcard because of user error.


regards

mick



Re: question about sound

2022-08-17 Thread mick.crane

On 2022-08-17 21:00, ghe2001 wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Anybody have anything to say about editing sound files?


In the 70s friends went to this house where there was a 14 year old 
Indian mystic.
You were all supposed to wait downstairs until you were called to 
receive 'the knowledge'.
We all left after a day but one guy stayed, after days he got really 
angry.

Stormed up the stairs, " Give me the f#@king knowledge!"
funny old times.
mick



  1   2   >