Re: time question, as in ntp?

2023-12-01 Thread Max Nikulin

On 02/12/2023 02:24, gene heskett wrote:

On 12/1/23 10:27, Max Nikulin wrote:


so I have to repeat it. You *do* *not* have NetworkManager installed 
hence it can not overwrite files.


What particular *evidences* do you have that namely NetworkManager 
overwrites /etc/network/interfaces? I am not interested in you 
*speculations*.

[...]
I do not know the mechanism by which my addition and deletions were done 
during boot, I had added the correct data to put eth0 at 192.168.71.100 
in /e/n/i, and had deleted the line saying it was managed by 
networkmanager. The evidence I have is that the original file was 
restored, has only lo and the line giving credit to networkmanager was 
restored, my additions were gone. Based on the evidence I can see, what 
else am I supposed to think?


The only problem is that neither upstream sources nor debian patches in 
buster or bookworm contain the "Network is managed" text as in (from an 
earlier message):



root@mkspi:/# cat /etc/network/interfaces
source /etc/network/interfaces.d/*
# Network is managed by Network manager<-this line I had removed
auto lo
iface lo inet loopback 


So ask the 3d printer vendor why you see this misleading line and why 
ifupdown and NetworkManager are broken.


I had a hope that you would at least check list of processes, systemd 
units, init scripts for something suspicious. Instead I still see 
speculations again and attempts to blame NetworkManager developers for 
no reason.


Have you tried some online translator to guess meaning of the following?


Jan 02 02:56:20 mkspi bash[1443]: 已获取到了扫描的结果
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28] 
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: WPS-AP-AVAILABLE 


Have you find files containing these messages?



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Albretch Mueller
On 12/2/23, Tom Furie  wrote:
> 'apt depends ' would list the direct dependencies without
> recursion.

 Thank you, I think I got what I needed (at least for now).

$ apt depends wget
wget
  Depends: libc6 (>= 2.28)
  Depends: libgnutls30 (>= 3.7.0)
  Depends: libidn2-0 (>= 0.6)
  Depends: libnettle8
  Depends: libpcre2-8-0 (>= 10.22)
  Depends: libpsl5 (>= 0.16.0)
  Depends: libuuid1 (>= 2.16)
  Depends: zlib1g (>= 1:1.1.4)
  Conflicts: 
  Recommends: ca-certificates
$

$ apt depends wget 2>&1 | grep "  Depends: " | awk '{ print $2}'
libc6
libgnutls30
libidn2-0
libnettle8
libpcre2-8-0
libpsl5
libuuid1
zlib1g
$

On 12/2/23, Greg Wooledge  wrote:
> On Fri, Dec 01, 2023 at 10:01:54PM -0600, David Wright wrote:
>> That requires you to be online, aka "exposed mode". The OP only
>> exposes a live USB to the outside world, not their "real" system.
>
> If the OP doesn't have a same-release, same-architecture connected
> system to use for this purpose, then I don't have an answer.  I don't
> deal with this stone-age crap any longer, and I am unable to express
> how *happy* I am that this is the case.

 At times *being* and *keeping moving* is entirely fine, you don't
have to be *happy* and I am not sure if I am living in the stone-age
or the brave new world in which we are living these days. One thing is
sure, I can't be naive about any of it.

 I do have the "same-release, same-architecture connected system" I
just want to make as sure (among other things meaning -on a hardware
level-), as I possibly could that, by simply rebooting a live DVD you
can "switch" (as it were) from one to the other.

 As a simple matter of economy (I use almost exclusively amd64 based
hardware), I am trying to streamline a way of:
 a) booting a live Deb Linux from a DVD (which, physically, you can't
write onto)
 b) running a short script with an array of utility packages which are
not part of §a's install base preferably from a pen drive or a
subdirectory of a hard drive you could mount
 then you would:
 1) boot up
 2) (from the USB pen drive) run §b's dpkg-based script
 3) install the extra stuff you need including Selenium-automation
versions of firefox (gecko) and brave (chromium)
~
 4) go into "exposed mode": setup networking, macchanger (I know in my
case it is silly, but I do it anyway), ...
 ...
 after going about the exposed-mode tests you need to and all
etceteras you had to check out online
~
 (n-2)) disconnect yourself from the internet (software + hardware by
removing the wifi USB dongle or cable) ...
 (n-1)) optionally, run script to check which files were changed
during your run and how
 n) shutdown

 Some of you have suggested using apt-clone and apt-move, but I think
this is a simpler way to solve what you see as an XY problem and it
doesn't really matter if you use a "different", "newer" version of Deb
Linux. Most probably all of this is plain nonsense to all of you, but
I have no other way to work. They are even using "AI" to mess with
people they target and it doesn't matter if they know well (which they
have actually told me) that you are not a criminally minded dude, a
threat to society, ... and they are quite literally
watching/monitoring you 24x7.

 lbrtchx



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread tomas
On Sat, Dec 02, 2023 at 02:52:25AM +, Albretch Mueller wrote:
>  direct dependencies of packages which haven't been downloaded,
> install. I need to download those packages.
>  These should be a straightforward way to do that or an easy hack.
>  lbrtchx

I /think/ this hack might involve iterations until you hit a fixed
point.

See -- package dependencies are listed in the package itself, so
you know your original package's direct dependencies. Off you go,
download those, look into those packages, find the dependencies...
and off you go, download the dependencies's dependencies.

Until you reach the fixed point.

There's one package, apt-cache, which can look at a pre-made complete
dependencies's network. But to update that database you have to be
online...

Sounds like quite the fun.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Mailing List

2023-12-01 Thread tomas
On Fri, Dec 01, 2023 at 08:39:51PM +, piorunz wrote:
> On 01/12/2023 16:15, to...@tuxteam.de wrote:
> 
> > > Your message is here, so you are subscribed :)
> > 
> > Not necessarily, you can post here as a non-subscriber. Actually I have
> > the hunch that the OP is not subscribed (going by the X-Spam-Status header).
> > 
> > Cheers
> 
> Oh, ok, I didn't know that. That's why the group receives so much spam
> lol -_-

I think this is unfair: given the list's volume (~3k members, ~0.5k posts
per month) I find spam ratio to be no less than stellar. I'm sure there is
quite a bit of quiet work behind the scenes to keep things running *that*
smoothly.

Keeping the list open to non-subscribers goes a long way of making Debian
itself open, so I understand and support that decision.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Monthly FAQ for Debian-user mailing list (modified 1st December2023)

2023-12-01 Thread tomas
On Fri, Dec 01, 2023 at 07:30:47PM +, Andrew M.A. Cater wrote:
> On Fri, Dec 01, 2023 at 08:18:13PM +0100, Thomas Schmitt wrote:
> > Hi,
> > 
> > there is a new surplus word "private" in these lines:
> > 
> > > * Please post answers back to the list so others can benefit: private
> > >   private conversations don't benefit people who may only be following
> > 
> > 
> > Have a nice day :)
> > 
> > Thomas
> >
> 
> OK, you know how it is when you only notice the mistake *after* you've
> posted it ... I'm unsure whether to republish this with an additional
> line
> 
> * Before posting, it may be useful to check your post for spelling mistakes
>   and scan it for redundancy, duplicate words and redundancy.

:-)

Thanks you both (& so many others!) for shining steady lights here.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Non-delivery reports from postmas...@ewetel.de

2023-12-01 Thread Jeffrey Walton
On Fri, Dec 1, 2023 at 11:21 PM Andy Smith  wrote:
>
> Is anyone else receiving non-delivery report emails from
> postmas...@ewetel.de for every email they post to debian-user? They
> look like this:
>
> From: postmas...@ewetel.de
> To: a...@strugglers.net
> Subject: E-Mail Abweisungsbenachrichtigung / email bounce notification
>
> It goes on to state that the message wasn't delivered because the
> recipient's mailbox is full.
>
> I've received one for every email I've sent to debian-user over the
> last 4 days. Anyone else? If so, can you let
> listmas...@lists.debian.org know?
>
> Naturally, ewetel.de should be rejecting these messages inside the
> SMTP connection if they can't be delivered to their user.
>
> Failing that, they should be sending NDRs to the envelope sender,
> which is the Debian mailing list software, which would then take
> care of unsubscribing the undeliverable address.
>
> It seems to have done the very broken thing of sending an NDR to the
> from address. If that assessment is correct, Debian listmasters will
> need to disable delivery to this subscriber manually.
>
> But, possibly whatever problem it was has fixed itself by now. If
> ewetel were ALSO sending an NDR to the envelope sender then the
> subscriber would have been disabled eventually.

I have not received a NDR for this user. I think I have used
debian-user recently enough that I might encounter one.

When I receive multiple NDRs like that, I forward it to the mailing
list administrator (along with the original message), and ask the user
to be removed from the list. The user can re-subscribe once they clear
up their issues. The list administrator can be reached via
.

Jeff



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Greg Wooledge
On Fri, Dec 01, 2023 at 10:01:54PM -0600, David Wright wrote:
> On Fri 01 Dec 2023 at 21:55:42 (-0500), Greg Wooledge wrote:
> > apt install ./myfile.deb
> 
> That requires you to be online, aka "exposed mode". The OP only
> exposes a live USB to the outside world, not their "real" system.
> 
> I dimly recollect something called apt-move, but I never needed
> to use it. Back in the days of dial-up, when I had a real job,
> I would upgrade my desk's tower, copy the (uncleaned) archives/
> directory onto a Zip drive, take it home and install the .debs
> onto my home desktop, configured identically, with dpkg.

In that case, use apt-get instead of apt.  That way the downloaded .deb
files will not be removed afterward.  Then you can just sweep 'em up
from /var/cache/apt/archives, copy them to a stack of floppies, put
the floppies in a box, tie the box to a trained ferret, send the ferret
across town

If the OP doesn't have a same-release, same-architecture connected
system to use for this purpose, then I don't have an answer.  I don't
deal with this stone-age crap any longer, and I am unable to express
how *happy* I am that this is the case.



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread David Wright
On Fri 01 Dec 2023 at 21:55:42 (-0500), Greg Wooledge wrote:
> On Sat, Dec 02, 2023 at 02:52:25AM +, Albretch Mueller wrote:
> >  direct dependencies of packages which haven't been downloaded,
> > install. I need to download those packages.
> >  These should be a straightforward way to do that or an easy hack.
> 
> I'm still struggling to figure out what the X is in this gigantic X-Y
> problem.
> 
> Do you have a .deb file, and you want to install it, along with all of
> its dependencies?  If that's the X, then you do this:
> 
> apt install ./myfile.deb
> 
> That's it.

[In view of the time of day:]

That requires you to be online, aka "exposed mode". The OP only
exposes a live USB to the outside world, not their "real" system.

I dimly recollect something called apt-move, but I never needed
to use it. Back in the days of dial-up, when I had a real job,
I would upgrade my desk's tower, copy the (uncleaned) archives/
directory onto a Zip drive, take it home and install the .debs
onto my home desktop, configured identically, with dpkg.

Cheers,
David.



Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all you are doing is locally downloading dependencies of an installation package?

2023-12-01 Thread David Wright
On Sat 02 Dec 2023 at 02:10:48 (+), Albretch Mueller wrote:
> On 11/30/23, David Wright  wrote:
> > On Thu 30 Nov 2023 at 21:05:38 (+), Albretch Mueller wrote:
> >>  I also notice repeated copies of {src-, pkgcache}.bin files for each
> >> downloaded package even though I am downloading them to specific
> >> subdirectories in order to then install them using dpkg.
> >>  Do you really need those binaries and cache instructions if you are
> >> just downloading the installation dependencies? How do you remove,
> >> disregard those kinds of caching strategies in a graceful way?
> >
> > Perhaps you could elaborate on the commands you're running.
> 
>  I am using apt-rdepends --follow=Depends 
> 
>  to download all dependencies into a subdirectory for each package
> then I notice the same files: srcpkgcache.bin et pkgcache.bin in every
> subdirectory.

Obviously I'm trying to replicate what you do. In case it matters,
my bullseye system has package acl installed, but not acl2. (Despite
their names, they're unrelated.)

$ mkdir temp/rdepends ; cd $_
~/temp/rdepends$ apt-rdepends --follow=Depends acl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
acl
  Depends: libacl1 (= 2.2.53-10)
  Depends: libc6 (>= 2.14)
libacl1
  Depends: libc6 (>= 2.14)
libc6
  Depends: libcrypt1
  Depends: libgcc-s1
libcrypt1
  Depends: libc6 (>= 2.25)
libgcc-s1
  Depends: gcc-10-base (= 10.2.1-6)
  Depends: libc6 (>= 2.14)
gcc-10-base
~/temp/rdepends$ apt-rdepends --follow=Depends acl2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
acl2
  Depends: libc6 (>= 2.29)
  Depends: libgmp10
  Depends: libreadline8 (>= 6.0)
  Depends: libx11-6
libc6
  Depends: libcrypt1
  Depends: libgcc-s1
libcrypt1
  Depends: libc6 (>= 2.25)
libgcc-s1
  Depends: gcc-10-base (= 10.2.1-6)
  Depends: libc6 (>= 2.14)
gcc-10-base
libgmp10
  Depends: libc6 (>= 2.14)
libreadline8
  Depends: libc6 (>= 2.15)
  Depends: libtinfo6 (>= 6)
  Depends: readline-common
libtinfo6
  Depends: libc6 (>= 2.16)
readline-common
  Depends: dpkg (>= 1.15.4)
  Depends: install-info
dpkg
  Depends: tar (>= 1.28-1)
  PreDepends: libbz2-1.0
  PreDepends: libc6 (>= 2.15)
  PreDepends: liblzma5 (>= 5.2.2)
  PreDepends: libselinux1 (>= 3.1~)
  PreDepends: zlib1g (>= 1:1.1.4)
tar
  PreDepends: libacl1 (>= 2.2.23)
  PreDepends: libc6 (>= 2.28)
  PreDepends: libselinux1 (>= 3.1~)
install-info
  Depends: libc6 (>= 2.14)
  PreDepends: dpkg (>= 1.16.1)
libx11-6
  Depends: libc6 (>= 2.26)
  Depends: libx11-data
  Depends: libxcb1 (>= 1.11.1)
libx11-data
libxcb1
  Depends: libc6 (>= 2.14)
  Depends: libxau6 (>= 1:1.0.9)
  Depends: libxdmcp6
libxau6
  Depends: libc6 (>= 2.4)
libxdmcp6
  Depends: libbsd0 (>= 0.2.0)
  Depends: libc6 (>= 2.4)
libbsd0
  Depends: libc6 (>= 2.25)
  Depends: libmd0 (>= 1.0.3-2)
libmd0
  Depends: libc6 (>= 2.14)
~/temp/rdepends$ ls -l
total 0
~/temp/rdepends$ ls -lR /var/cache/apt
/var/cache/apt:
total 69352
drwxr-xr-x 3 root root57344 Dec  1 19:46 archives
-rw-r--r-- 1 root root 35492253 Dec  1 21:00 pkgcache.bin
-rw-r--r-- 1 root root 35451043 Dec  1 21:00 srcpkgcache.bin

/var/cache/apt/archives:
total 4
-rw-r- 1 root root0 Apr 16  2022 lock
drwx-- 2 _apt root 4096 Dec  1 15:00 partial
ls: cannot open directory '/var/cache/apt/archives/partial': Permission denied
~/temp/rdepends$ 

/var/cache/apt/archives/partial was used at 3pm when libnghttp2-14
was downloaded. The {src,}pkgcache.bin files were created when the
9pm update took place. I see no extra .bin files.

Presumably you're running more commands than you revealed above?

Cheers,
David.



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Tom Furie
Albretch Mueller  writes:

>  How can you list just the direct dependencies? and how safe is it
> downloading and installing only those via dpkg?

'apt depends ' would list the direct dependencies without
recursion.

Why do you want to download them individually and install directly with
dpkg when apt can handle it all cleanly? Whatever it is you're trying to
do, this feels like the wrong way to go about it...

Cheers,
Tom



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Greg Wooledge
On Sat, Dec 02, 2023 at 02:52:25AM +, Albretch Mueller wrote:
>  direct dependencies of packages which haven't been downloaded,
> install. I need to download those packages.
>  These should be a straightforward way to do that or an easy hack.

I'm still struggling to figure out what the X is in this gigantic X-Y
problem.

Do you have a .deb file, and you want to install it, along with all of
its dependencies?  If that's the X, then you do this:

apt install ./myfile.deb

That's it.



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Albretch Mueller
 direct dependencies of packages which haven't been downloaded,
install. I need to download those packages.
 These should be a straightforward way to do that or an easy hack.
 lbrtchx



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Albretch Mueller
On 12/2/23, Tom Furie  wrote:
...
> This is a recursive search, also showing dependencies of dependencies,
> etc.

 How can you list just the direct dependencies? and how safe is it
downloading and installing only those via dpkg?

 lbrtchx



Re: time question, as in ntp?

2023-12-01 Thread John Hasler
Gene writes:
> Like I said, boring.

Not boring at all. I assume that you also have a desktop or laptop on
that network?  If I was running it I would *definitely* be using DHCP.


-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA



Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Tom Furie
Albretch Mueller  writes:

> https://packages.debian.org/bullseye/wget
>
> shows 8 packages as "depends"
>
> dep: libc6 (>= 2.28)
> dep: libgnutls30 (>= 3.7.0)
> dep: libidn2-0 (>= 0.6)
> dep: libnettle8
> dep: libpcre2-8-0 (>= 10.22)
> dep: libpsl5 (>= 0.16.0)
> dep: libuuid1 (>= 2.16)
> dep: zlib1g (>= 1:1.1.4)

These are direct dependencies.

>  vs. 17 using apt-rdepends --follow=Depends:
>
> $ apt-rdepends --follow=Depends "wget" | grep --invert-match ^\
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> wget
> libc6
> libcrypt1
> libgcc-s1
> gcc-10-base
> libgnutls30
> libgmp10
> libhogweed6
> libnettle8
> libidn2-0
> libunistring2
> libp11-kit0
> libffi7
> libtasn1-6
> libpcre2-8-0
> libpsl5
> libuuid1
> zlib1g

This is a recursive search, also showing dependencies of dependencies,
etc.

Cheers,
Tom



Re: Firefox 115.5.0esr(64-bit) can't show mp4

2023-12-01 Thread jeremy ardley



On 2/12/23 06:10, Van Snyder wrote:
When I try to view a mp4 video in Firefox 115.5.0esr(64-bit) on Debian 
GNU/Linux 10 (buster), it puts up a sad-face window saying "No video 
with supported format and MIME type found." It doesn't offer to 
download the file, or play it with an external application.


ffmpeg is installed and up-to-date.

Can it be made to work?



I have not exactly the same problem but video related. 115.3.0 esr can 
play videos mostly OK but after an extended period of time (say a day or 
so) the video controls become sluggish and the CPU goes through the 
roof. I have to completely kill all processes including the video 
container processes before it can be restarted and run normally.




Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all you are doing is locally downloading dependencies of an installation package?

2023-12-01 Thread Albretch Mueller
On 11/30/23, David Wright  wrote:
> On Thu 30 Nov 2023 at 21:05:38 (+), Albretch Mueller wrote:
>>  I also notice repeated copies of {src-, pkgcache}.bin files for each
>> downloaded package even though I am downloading them to specific
>> subdirectories in order to then install them using dpkg.
>>  Do you really need those binaries and cache instructions if you are
>> just downloading the installation dependencies? How do you remove,
>> disregard those kinds of caching strategies in a graceful way?
>
> Perhaps you could elaborate on the commands you're running.

 I am using apt-rdepends --follow=Depends 

 to download all dependencies into a subdirectory for each package
then I notice the same files: srcpkgcache.bin et pkgcache.bin in every
subdirectory.

> BTW could you not write part of your post in the Subject line

 I understand, It won't happen again
 lbrtchx



packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Albretch Mueller
https://packages.debian.org/bullseye/wget

shows 8 packages as "depends"

dep: libc6 (>= 2.28)
dep: libgnutls30 (>= 3.7.0)
dep: libidn2-0 (>= 0.6)
dep: libnettle8
dep: libpcre2-8-0 (>= 10.22)
dep: libpsl5 (>= 0.16.0)
dep: libuuid1 (>= 2.16)
dep: zlib1g (>= 1:1.1.4)
~
 vs. 17 using apt-rdepends --follow=Depends:

$ apt-rdepends --follow=Depends "wget" | grep --invert-match ^\
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wget
libc6
libcrypt1
libgcc-s1
gcc-10-base
libgnutls30
libgmp10
libhogweed6
libnettle8
libidn2-0
libunistring2
libp11-kit0
libffi7
libtasn1-6
libpcre2-8-0
libpsl5
libuuid1
zlib1g
~
 these packages weren't listed on packages.debian.org:

libcrypt1
libgcc-s1
gcc-10-base
libgmp10
libhogweed6
libunistring2
libp11-kit0
libffi7
libtasn1-6
~
 why? and which list should one trust (more)?

 lbrtchx



Stuck in signing modules - DKSM

2023-12-01 Thread Daniel Rodriguez
Hello everyone,

I am trying to follow the Debian's wiki about Secure Boot:
https://wiki.debian.org/SecureBoot

I've been able to carry out most of this one, from generating modules to
enrolling in the MOK cert, but it doesn't work the signing of the modules
as per the steps.

The only irregular scenario is when I run the command line:

$ sudo update-initramfs -k all -u

Wherein it shows multiple outputs as follows:

W: Possible missing firmware /lib/firmware/.../FileName.bin for module
nouveau

I've googled the multiple scenarios, but I don't find any hint that can
help me with my issue. It seems that the modules cannot be signed because
of that reason.

My motivation to work with it is to install the firmware for wifi module
RTL8821AU for a tp-link Archer T2U Plus that I found in the following
github repository:

https://github.com/morrownr/8821au-20210708

As an observation, entering in the following folder:

MODULES_DIR=/lib/modules/$VERSION

I can't find the following folder

$MODULES_DIR/updates/dkms

that tutorial says DKMS puts the signed modules in that folder. Also, I can
see the following:

$ sudo dkms status
rtl8821au, 5.12.5.2: added

$ sudo modinfo rtl8821au
modinfo: ERROR: Module rtl8821au not found.

That doesn't make sense for me, why the module is added but it's not
registered by the command modinfo.

I would like to ask you what I can do to solve my issue. Do you have any
hint to let me solve it?


Re: time question, as in ntp?

2023-12-01 Thread Charles Curley
On Fri, 1 Dec 2023 23:21:05 +0700
Max Nikulin  wrote:

> As to a GPS receiver, it should be doable and 169.254.x.y addresses
> will not be an issue any more. Be careful with cables when connecting
> it however: https://www.wired.com/2012/02/neutrinos-faulty-cable/

And there is plenty of expertise on the gpsd email list. But I would
start with the web site, including the how-to on setting up a time
server. https://gpsd.io https://gpsd.io/gpsd-time-service-howto.html

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Non-delivery reports from postmas...@ewetel.de

2023-12-01 Thread Andy Smith
Hi,

Is anyone else receiving non-delivery report emails from
postmas...@ewetel.de for every email they post to debian-user? They
look like this:

From: postmas...@ewetel.de
To: a...@strugglers.net
Subject: E-Mail Abweisungsbenachrichtigung / email bounce notification

It goes on to state that the message wasn't delivered because the
recipient's mailbox is full.

I've received one for every email I've sent to debian-user over the
last 4 days. Anyone else? If so, can you let
listmas...@lists.debian.org know?

Naturally, ewetel.de should be rejecting these messages inside the
SMTP connection if they can't be delivered to their user.

Failing that, they should be sending NDRs to the envelope sender,
which is the Debian mailing list software, which would then take
care of unsubscribing the undeliverable address.

It seems to have done the very broken thing of sending an NDR to the
from address. If that assessment is correct, Debian listmasters will
need to disable delivery to this subscriber manually.

But, possibly whatever problem it was has fixed itself by now. If
ewetel were ALSO sending an NDR to the envelope sender then the
subscriber would have been disabled eventually.

Thanks,
Andy

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



Re: Firefox 115.5.0esr(64-bit) can't show mp4

2023-12-01 Thread Bret Busby

On 2/12/23 06:10, Van Snyder wrote:
When I try to view a mp4 video in Firefox 115.5.0esr(64-bit) on Debian 
GNU/Linux 10 (buster), it puts up a sad-face window saying "No video 
with supported format and MIME type found." It doesn't offer to download 
the file, or play it with an external application.


ffmpeg is installed and up-to-date.

Can it be made to work?

Perhaps, if you specified the URL of the file, it might be a step on the 
way t6o describing the problem...



Bret Busby
Armadale
Western Australia
(UTC+0800)
.



Re: time question, as in ntp?

2023-12-01 Thread Greg Wooledge
On Fri, Dec 01, 2023 at 04:57:25PM -0500, gene heskett wrote:
> root@mkspi:/etc#  ls -ld /etc/network/interfaces
> -rwxr-xr-x 1 root root 106 Jul 24 19:10 /etc/network/interfaces

OK.  Now we have something to work with, at least.

> date
> Tue 03 Jan 2023 06:44:56 AM PST

> The clock is apparently restarted from midnight 12/1/2022 at every reboot.

> This overwrite was done that way as soon as I could login at the old address
> with ssh so I have to say it was done by network start time in the bootup
> from a 10 second power down.

All right, then.  Let's see if I have everything straight.

At some point in the recent past, you edited /e/n/i.  Then you rebooted,
an undetermined amount of time later, and after the reboot, the file had
been restored to the state shown above.  Yes?

If we assume the file wasn't changed *prior* to the reboot, then something
in the operating system startup must be overwriting this file.

If your assertion about the clock being set to 2022-12-01 each boot is
correct, then the timestamp on the file is *not* coming from the system
clock.  It's probably coming from whatever "gold copy" of the file is
being restored during startup.

There are *lots* of ways a file could be copied and retain the mtime of
the original file.  "cp -a" is one of them.

unicorn:~$ cp -a .bashrc copy-of-bashrc; ls -lad .bashrc copy-of-bashrc; date
-rwxr-xr-x 1 greg greg 3329 Nov 12 08:28 .bashrc*
-rwxr-xr-x 1 greg greg 3329 Nov 12 08:28 copy-of-bashrc*
Fri Dec  1 17:05:52 EST 2023
unicorn:~$ 

Of course there are many others.  Extracting a .tar.gz archive, for
example, is another way to do it.

You could look through the system startup stuff, wherever that is on
this operating system, and see if you find anything about restoring
factory default configuration files.

If you can't find it, the people who support this operating system might
be able to tell you exactly what's happening, and why.  You really ought
to talk to them.

As a side note, copying a "gold standard" /e/n/i file which happens to
contain a comment *saying* that it's from Network Manager would retain
that comment, possibly leading to some confusion.  One might argue that
the OS vendor should have replaced the comment with something more
accurate. (E.g. "This interfaces file is copied from  to /etc/network
at boot time. Do not edit this file in /etc/network. If you need to
modify it, edit it in  instead, but you do so at your own risk.")
That's another thing you could talk to the OS support people about,
assuming my guesswork holds up.

***

Now let's talk about NTP.  Originally you asked about installing and
configuring an NTP service on this printer.  And you had some concerns
because you didn't know how to assign a static IP address to it.

However, you've stated a few times now that you *are* able to ssh into
it, from some other host on your network.

The fact that you can ssh into it means that it's got a working IP
address (either v4 or v6), and that your ssh client is able to determine
that IP address and connect to it.  So, either it's already got a static
address, or your ssh client configuration is very clever, and knows
how to determine the printer's dynamic address.

In either case, the static-ness or dynamic-ness of the address is much
less important than the fact that the address *works*.  You are able
to communicate with the printer, using your network.

This means the printer should be able to communicate *back*, and
specifically, it should be able to contact an NTP server on your network
to synchronize its system clock.

So all you should have to do is:

1) Determine which host on your network will act as your NTP server.  Get
   an NTP package installed and running on that host, and configure it
   to allow connections from your LAN.  You may select more than one if
   you like.

2) Make sure the NTP server(s) are getting their time synced correctly,
   most likely from public NTP sources on the Internet.

3) Install an NTP package on the printer, and configure it to use your
   designated local NTP server(s).

4) Ensure that the NTP services all start at boot time, and don't get
   their configuration files overwritten or anything like that.

If some part of this doesn't work, then please report the exact nature
of the failure, with details (commands and their output).  Example
commands that would be useful in debugging might include:

date
ntpq -p
systemctl status ntp# or some sysv-rc equivalent
ls -ld /etc/ntp.conf
cat /etc/ntp.conf
journalctl -u ntp   # if it's systemd-based; otherwise:
grep ntpd /var/log/syslog | tail -n20

You get the idea, I hope.  Your logs might be in some other location.
Find them.  Read them.



Firefox 115.5.0esr(64-bit) can't show mp4

2023-12-01 Thread Van Snyder
When I try to view a mp4 video in Firefox 115.5.0esr(64-bit) on Debian
GNU/Linux 10 (buster), it puts up a sad-face window saying "No video
with supported format and MIME type found." It doesn't offer to
download the file, or play it with an external application.

ffmpeg is installed and up-to-date.

Can it be made to work?



Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 12/1/23 14:42, Greg Wooledge wrote:

On Fri, Dec 01, 2023 at 02:24:20PM -0500, gene heskett wrote:

root@mkspi:/etc# nmcli
-bash: nmcli: command not found



I do not know the mechanism by which my addition and deletions were done
during boot, I had added the correct data to put eth0 at 192.168.71.100 in
/e/n/i, and had deleted the line saying it was managed by networkmanager.
The evidence I have is that the original file was restored, has only lo and
the line giving credit to networkmanager was restored, my additions were
gone. Based on the evidence I can see, what else am I supposed to think?


What you showed us above, where you tried to run nmcli, was perfect.
It contains your shell prompt (which tells us your username and hostname
and current working directory), the command you ran, and its output.
Hell, we even learned you're in a bash login shell, which is not
immediately relevant, but is a nice detail to have.

What we need is more of that.

 ls -ld /etc/network/interfaces


root@mkspi:/etc#  ls -ld /etc/network/interfaces
-rwxr-xr-x 1 root root 106 Jul 24 19:10 /etc/network/interfaces
The rest of the files mentioned here have an mtime about a day later but 
7 months newer than the actual time it has ATM,

date
Tue 03 Jan 2023 06:44:56 AM PST



would be an excellent starting point.  It would tell us whether your /e/n/i
is a regular file or a symbolic link.  If it's a regular file, we would
get the last modified time, so we'd know *when* it was altered, if your
system clock is accurate (which it might not be, given the thread's
original subject).


The clock is apparently restarted from midnight 12/1/2022 at every 
reboot. And I don't know if the rockchip64 has a clock. Most of the pi's 
don't.  Since this is 12/1/2023, saying it about a year out of date is a 
pretty accurate statement.



The mtime might not be useful to us, but it might be more useful to *you*,
as you might know what time the system clock had the last time you ran
that 'kiauh' script or whatever it was.  Maybe that's what undoes your
changes?

If it turns out the modification took place in the wee hours of the
morning, then it's more likely a cron job or systemd timer kicks off
the process that undoes the changes.

This overwrite was done that way as soon as I could login at the old 
address with ssh so I have to say it was done by network start time in 
the bootup from a 10 second power down.



If /e/n/i turns out to be a symbolic link on your system, then its
target may give us some hints about which program is messing with it.

.


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



Re: Mailing List

2023-12-01 Thread Kamil Jońca
piorunz  writes:

> On 01/12/2023 16:15, to...@tuxteam.de wrote:
>
>>> Your message is here, so you are subscribed :)
>>
>> Not necessarily, you can post here as a non-subscriber. Actually I have
>> the hunch that the OP is not subscribed (going by the X-Spam-Status header).
>>
>> Cheers
>
> Oh, ok, I didn't know that. That's why the group receives so much spam

No. This group does not has a lot of spam.
KJ



Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 12/1/23 13:27, Andrew M.A. Cater wrote:

On Fri, Dec 01, 2023 at 07:30:35AM +, Andy Smith wrote:

Hello,

On Thu, Nov 30, 2023 at 10:24:35PM -0500, gene heskett wrote:




Gene,

Please do us *all* a favour to try and help you.

Write us out a list of all your machines - and if a printer has an
embedded SBC, it's a machine in this context - and the OS and versions
they are running.

List the functions you want each to have.

As others have noted, it's REALLY hard to work out what you're doing.

If machines and printers expect DHCP, then you're going to have to
amend files. Do back up the files you change.
  

1. There is nothing in Debian that ever overwrites the
/etc/network/interfaces file. But you aren't running Debian on
this machine, so we are all having difficulty helping you.
Because this is DEBIAN-user.


I'm well aware of that Andy, but TBH, this list may be the deepest pool 
of knowledgeable people on the planet, most of my machines are running 
debian. Those that are running buster have been stuck as the switch to 
python 3 with bullseye broke linuxcnc.  Thats now been fixed and has 
been for a while but I've had my own projects that took priority.  There 
will not be any spinning rust here when I do update to bookworm or trixie.



As ever, our collective expertise here is primarily Debian - we have no
clue what a derived distribution may or may not do.


There is also an overtone of NIH here. These programs are tools and one 
does his (or her) best thinking well outside the box at times.



2. All you've described is a line in a file which says, "Network is
managed by NetworkManager". There is NO indication WHICH piece of
software put that line there, it really could be anything.
Because you aren't running Debian. Since NetworkManager can be
set up to run arbitrary commands, it certainly COULD be YOUR
setup of NetworkManager. Or something else entirely different.
It's nothing in Debian, though.


Then you are incompatible with software you are trying to run. Your
options:
- do not allow scripts coming with klipper or its installer to touch
network configuration


They never have, they just use it. And I've used up my patience in 
explaining that and being mostly ignored.



- setup a DHCP server in your network and provide to 3d wizards
environment they expect.



"Su and say" is not great: running third party scripts on non-Debian systems
and you get to keep both pieces unless you undersand what kiauh and Klipper
are doing, be careful.


Again, Max, its your way or the hiway. I'd be willing to guess that my
network experience goes back at least a decade before your first class in cs
101. /etc/hosts files worked in 1990 then as now, we just have to get the
dhcp crap out of the way.  And you and your insistence on using dhcp which
has never given me a stable address are definitely NOT helping.


This like some sort of farce.

You have an operating system hard-coded to use DHCP, but you won't
use DHCP, so it doesn't work. You can't work out how to make it not
want DHCP; you won't ask the people who made it how; instead you ask
us completely uninvolved folks how to do it. When we tell you to
configure it for static networking you say you can't because it
wants DHCP. When we say use DHCP then, you say, "oh I see it's your
way or the hiway, I'll have you know I was crafting IP packets from
raw bean sprouts before you kids ever drew breath!"

So would I be correct in saying that you want US to work out how to
do this thing in software we don't use and that's off-topic here,
and that's the only answer you'll accept?

Or have I misunderstood and there is some other direction you would
like to go with this?

Thanks,
Andy



It does seem to be a problem on this list that we can't always get
clear explanations of what has *actually* been done.

Andy



That list of machines is long Andy, and possibly boring.

1. The 2nd machine I converted, affectionately known as tlm.coyote.den, 
( The Little Monster ), a 7x12 lathe running buster with a real time 
kernel and linuxcnc, all uptdate. uname -a=

Linux TLM 4.19.0-25-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.289-2
(2023-08-08) x86_64 GNU/Linux
Running on an off-lease Dell Optiplex computer.

2. A 4 axis mill sold by grizzly as the G0704 running on another 
off-lease Dell, named go704, using an uptodate buster, uname -a=
Linux GO704 4.19.0-25-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.289-2 
(2023-08-08) x86_64 GNU/Linux

also using linuxcnc.

3. Another 4 axis gantry style mill sold as the 6040, also running 
buster with a rt kernel and linuxcnc on another off-lease Dell. uname -a=
Linux sixty40 4.19.0-25-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.289-2 
(2023-08-08) x86_64 GNU/Linux


4. Another lathe, a bigger Sheldon from the mid WW-II time, running on a 
raspberry pi 4b, bookworm, uname -a=
Linux rpi4.coyote.den 6.1.54-rt15 #1 SMP PREEMPT_RT Wed Sep 20 20:36:44 
AEST 2023 aarch64 GNU/Linux

and linuxcnc=LinuxCNC/AXIS vers

Re: Mailing List

2023-12-01 Thread David Wright
On Fri 01 Dec 2023 at 16:32:44 (+), Joe wrote:
> On Fri, 1 Dec 2023 17:12:56 +0100
> Marco Moock  wrote:
> > Am 01.12.2023 um 15:55:41 Uhr schrieb Joe:
> > 
> > > I received a message timed 22:52 on 28th, the last that day, the
> > > next three were on 29th at
> > > 08:39
> > > 13:14
> > > 15:55
> > > then normal flow was resumed, which is typically about 50 messages
> > > per day.
> > > 
> > > So yes, there was a problem.
> > > Times UTC by the way.  
> > 
> > IIRC the amount of messages varies depending on how much people take
> > part in discussions.
> > 
> > I don't think the current behavior is unusual.
> > 
> 
> No, it's fine now, but there definitely was a blockage on the 29th. It
> returned to normal about 16:00 UTC and has been OK since then.

I can certainly see the gap you mention—I got nothing from the
list between 2023-11-28 22:34:58+00:00 (arrived in ~Manchester
2023-11-28T22:35:24+00:00) and 2023-11-29 17:49:37+00:00
(arrived 2023-11-29T17:50:03+00:00) /unless/ I just happen
to have deleted everything in that period (unlikely as I have
the entirety of gene's thread).

Looking at everything I still have from the list over 28th/29th
(in Central time), I only see two trivial delays between posting
and delivery here: Felix M (~5 min) and Dan R (15 min). What I don't
see is any posts sent during that gap but delivered afterwards.

PS Your clock is ahead, Dan P.

Cheers,
David.



Re: time question, as in ntp?

2023-12-01 Thread Andy Smith
Hello,

On Fri, Dec 01, 2023 at 11:21:05PM +0700, Max Nikulin wrote:
> On 30/11/2023 23:12, Andy Smith wrote:
> > Unless you have a dedicated time source (e.g. GPS receiver, atomic
> > decay source, …)
> 
> A nitpick. I am puzzled by the word "decay" in this context. Electron
> transition between energy states in atomic clocks is not decay.

I'm sure you're right; I don't really know anything about atomic
clocks other than that they exist.

> As to a GPS receiver, it should be doable and 169.254.x.y addresses will not
> be an issue any more.

Sure, all of these things are readily available to buy online and
compatible with Linux. It's just so far down the list of what Gene
should probably try first that it's kind of comical to have the
conversation, though!

The ntppool.org forum is a good place for amateur builders of
"real" clocks attached to Linux/BSD.

Thanks,
Andy

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



Re: Mailing List

2023-12-01 Thread piorunz

On 01/12/2023 16:15, to...@tuxteam.de wrote:


Your message is here, so you are subscribed :)


Not necessarily, you can post here as a non-subscriber. Actually I have
the hunch that the OP is not subscribed (going by the X-Spam-Status header).

Cheers


Oh, ok, I didn't know that. That's why the group receives so much spam
lol -_-


--
With kindest regards, Piotr.

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



Re: Monthly FAQ for Debian-user mailing list (modified 1st December2023)

2023-12-01 Thread Thomas Schmitt
Hi,

Andrew M.A. Cater wrote:
> * Before posting, it may be useful to check your post for spelling mistakes
>   and scan it for redundancy, duplicate words and redundancy.

Some wisdom cannot be repeated enough.


Have a nice day :)

Thomas



Re: didn't can use "fdisk"!

2023-12-01 Thread Greg Wooledge
On Fri, Dec 01, 2023 at 07:46:28PM +, Andy Smith wrote:
> My first guess is that you may have done "su" which results in you
> not having /sbin in your path. So you need to execute it as
> /sbin/fdisk, or "su -", or become root by some other means.

At this point, we no longer need to guess.  It's immediately clear.
Using "su -" is an acceptable solution, though not my preferred one if
this is your own system, as opposed to one where you are a "guest admin".
I'd rather fix the problem permanently, by putting appropriate content
into the /etc/default/su file.

unicorn:~$ cat /etc/default/su
ALWAYS_SET_PATH yes
unicorn:~$ su
Password: 
root@unicorn:/home/greg# declare -p PATH
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
root@unicorn:/home/greg# 



Re: didn't can use "fdisk"!

2023-12-01 Thread Andy Smith
Hi,

On Fri, Dec 01, 2023 at 07:06:58PM +, fuf wrote:
> root@debian:/sbin# fdisk  -l
> bash: fdisk: command not found
> 
> whereas:
> root@debian:/sbin# ls -al
> .
> -rwxr-xr-x  1 root root169520 Mar 23  2023 fdisk
> 
> why?

My first guess is that you may have done "su" which results in you
not having /sbin in your path. So you need to execute it as
/sbin/fdisk, or "su -", or become root by some other means.

https://sources.debian.org/src/util-linux/2.33.1-0.1/debian/util-linux.NEWS/
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833256#80

This has been the case since the release of Debian 10 (buster).

If it's not that, please state Debian version, how you became root,
and

$ ls -la /sbin/fdisk

Thanks,
Andy

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



Re: time question, as in ntp?

2023-12-01 Thread Greg Wooledge
On Fri, Dec 01, 2023 at 02:24:20PM -0500, gene heskett wrote:
> > > root@mkspi:/etc# nmcli
> > > -bash: nmcli: command not found

> I do not know the mechanism by which my addition and deletions were done
> during boot, I had added the correct data to put eth0 at 192.168.71.100 in
> /e/n/i, and had deleted the line saying it was managed by networkmanager.
> The evidence I have is that the original file was restored, has only lo and
> the line giving credit to networkmanager was restored, my additions were
> gone. Based on the evidence I can see, what else am I supposed to think?

What you showed us above, where you tried to run nmcli, was perfect.
It contains your shell prompt (which tells us your username and hostname
and current working directory), the command you ran, and its output.
Hell, we even learned you're in a bash login shell, which is not
immediately relevant, but is a nice detail to have.

What we need is more of that.

ls -ld /etc/network/interfaces

would be an excellent starting point.  It would tell us whether your /e/n/i
is a regular file or a symbolic link.  If it's a regular file, we would
get the last modified time, so we'd know *when* it was altered, if your
system clock is accurate (which it might not be, given the thread's
original subject).

The mtime might not be useful to us, but it might be more useful to *you*,
as you might know what time the system clock had the last time you ran
that 'kiauh' script or whatever it was.  Maybe that's what undoes your
changes?

If it turns out the modification took place in the wee hours of the
morning, then it's more likely a cron job or systemd timer kicks off
the process that undoes the changes.

If /e/n/i turns out to be a symbolic link on your system, then its
target may give us some hints about which program is messing with it.



Re: didn't can use "fdisk"!

2023-12-01 Thread Tom Furie
fuf  writes:

> Hello all.
> I'm embarrassed because didn't can use "fdisk"!
> I work as normal user, open the terminal, switch to "root" user but
> get:
> root@debian:/sbin# fdisk  -l
> bash: fdisk: command not found
>
> whereas:
> root@debian:/sbin# ls -al
> .
> -rwxr-xr-x  1 root root    169520 Mar 23  2023 fdisk

It would seem that /sbin isn't in your $PATH. What method did you use to
become root?

Cheers,
Tom



Re: didn't can use "fdisk"!

2023-12-01 Thread Greg Wooledge
On Fri, Dec 01, 2023 at 07:06:58PM +, fuf wrote:
> I'm embarrassed because didn't can use "fdisk"!
> I work as normal user, open the terminal, switch to "root" user but get:
> root@debian:/sbin# fdisk  -l
> bash: fdisk: command not found

https://wiki.debian.org/NewInBuster#Changes

Or the tl;dr version:

echo 'ALWAYS_SET_PATH yes' >> /etc/default/su

After this, exit from your root shell, and "su" again, and this time
the PATH will be correctly set.



Re: Monthly FAQ for Debian-user mailing list (modified 1st December2023)

2023-12-01 Thread Andrew M.A. Cater
On Fri, Dec 01, 2023 at 08:18:13PM +0100, Thomas Schmitt wrote:
> Hi,
> 
> there is a new surplus word "private" in these lines:
> 
> > * Please post answers back to the list so others can benefit: private
> >   private conversations don't benefit people who may only be following
> 
> 
> Have a nice day :)
> 
> Thomas
>

OK, you know how it is when you only notice the mistake *after* you've
posted it ... I'm unsure whether to republish this with an additional
line

* Before posting, it may be useful to check your post for spelling mistakes
  and scan it for redundancy, duplicate words and redundancy.
 
With every good wish, as ever,

Andy

[amaca...@debian.org] 
 



didn't can use "fdisk"!

2023-12-01 Thread fuf
Hello all.
I'm embarrassed because didn't can use "fdisk"!
I work as normal user, open the terminal, switch to "root" user but get:
root@debian:/sbin# fdisk  -l
bash: fdisk: command not found

whereas:
root@debian:/sbin# ls -al
.
-rwxr-xr-x  1 root root169520 Mar 23  2023 fdisk

why?
I reinstalled "util-linux" and "fdisk" by "Synaptic" but nothing varied.

What is matter?, give me any advice, please.
--fuf


Re: time question, as in ntp?

2023-12-01 Thread John Hasler
tomas writes:
> Oh, oh... my first "Internet" (not in the sense of IP, obviously!)
> connection was via UUCP.

Likewise.
-- 
John Hasler ihnp4!stolaf!bungia!foundln!john
j...@sugarbit.com
Elmwood, WI USA



Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 12/1/23 10:27, Max Nikulin wrote:

On 01/12/2023 17:42, gene heskett wrote:

On 11/30/23 23:18, Max Nikulin wrote:

On 01/12/2023 10:24, gene heskett wrote:

Then, please, explain clearly what is "networkmangler", what is 
"/e/n/i", and what particular evidences you have that namely 
"networkmangler" overwrites "/e/n/i".


=NetworkManager overwrites /etc/network/interfaces. Sheesh, part of 
the "slang-guage" for decades.


MetworkManager has well earned that alias. I have made it a habit to 
remove the x attribute of that headache.


I asked it because earlier you posted


root@mkspi:/etc# nmcli
-bash: nmcli: command not found 


so I have to repeat it. You *do* *not* have NetworkManager installed 
hence it can not overwrite files.


What particular *evidences* do you have that namely NetworkManager 
overwrites /etc/network/interfaces? I am not interested in you 
*speculations*.


In a previous episode you blamed NetworkManager in breaking of 
/etc/resolv.conf. Actually it was you who put incorrect info into 
NetworkManager configuration:

https://lists.debian.org/msgid-search/zt-gj6fkycbnz...@wooledge.org


I do not know the mechanism by which my addition and deletions were done 
during boot, I had added the correct data to put eth0 at 192.168.71.100 
in /e/n/i, and had deleted the line saying it was managed by 
networkmanager. The evidence I have is that the original file was 
restored, has only lo and the line giving credit to networkmanager was 
restored, my additions were gone. Based on the evidence I can see, what 
else am I supposed to think? Maybe something in armbian-config overwrote 
it. IDK, but thats the clues I have. But I have NOT found ambian-config yet.

.


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



Re: Monthly FAQ for Debian-user mailing list (modified 1st December2023)

2023-12-01 Thread Thomas Schmitt
Hi,

there is a new surplus word "private" in these lines:

> * Please post answers back to the list so others can benefit: private
>   private conversations don't benefit people who may only be following


Have a nice day :)

Thomas



Monthly FAQ for Debian-user mailing list (modified 1st December 2023)

2023-12-01 Thread Andrew M.A. Cater
Debian-user is a mailing list provided for support for Debian users,
and to facilitate discussion on relevant topics. 

Some guidelines which may help explain how the list works:

* The language on this mailing list is English. There may be other mailing 
  lists that are language-specific, for example, debian-user-french 

* It is common for users to be redirected here from other lists, for example,
  from debian-project. It is also common for people to be posting here when 
  English is not their primary language. Please be considerate.

* The list is a Debian communication forum. As such, it is subject to both 
  the Debian mailing list Code of Conduct and the main Debian Code of Conduct
  https://www.debian.org/MailingLists/#codeofconduct
  https://www.debian.org/code_of_conduct

* It is not necessary to answer every post on the mailing list. 
  Be constructive in your responses. It may be that somebody else answers
  a question before you - if so, you should not reply in order to get
  the last word in, only reply if you can add useful information.

* Clear replies and a short mailing list thread may be much easier to
  read than long threads.
 
* This is a fairly busy mailing list and you may have to wait for an
  answer - please be patient.

* Please post answers back to the list so others can benefit: private
  private conversations don't benefit people who may only be following
  along on the list or reading the archives later.

* It is helpful to write meaningful subject lines. If you change subject
  or emphasis in mid-thread, please change the subject line on the email
  accordingly.

* It may also be useful to post a summary email from time to time to
  explain long threads.

* It is often useful to look through the archives to see whether the issue
  you wish to raise or a similar issue has been raised before by someone 
  else. The top level link to the archives of this list is at
  https://lists.debian.org/debian-user/ organised by year, then month.

* Help and advice on this list is provided by volunteers in their own time.
  It is common for there to be different opinions or answers provided.
  Please note: advice on Linux distributions other than Debian may
  be inaccurate and, strictly, discussions of other distributions are
  off-topic here.

* Please try to stay on topic. Arguments for the sake of it are not
  welcome here. Partisan political / religious / cultural arguments
  do not belong here either. Debian's community is world wide; do not
  assume others will agree with your views or need to read them on a
  Debian list.

* There is an FAQ on the Debian wiki derived from some questions asked on this
  list at https://wiki.debian.org/FAQsFromDebianUser

* One question that comes up on almost all Debian lists from time to time
  is of the form:

  "I have done something wrong / included personal details in an email.
   Could you please delete my name / details / remove the mail"

Practically, this is impossible: the mailing lists are archived, potentially
cached by Google and so on.

Unfortunately, there is nothing much we can do to ensure that all copies
anywhere on the Internet are deleted. Asking to do this may only serve to
draw further attention - the so-called "Streisand effect"
See:  https://en.wikipedia.org/wiki/Streisand_effect

Problems?
=

Complaints about inappropriate behaviour should be referred to the
Debian Community Team .

Inappropriate behaviour on the list may lead to warnings; repeated bad
behaviour may lead to temporary or permanent bans for offenders.




Re: time question, as in ntp?

2023-12-01 Thread tomas
On Fri, Dec 01, 2023 at 04:55:01PM -, Curt wrote:
> On 2023-12-01, John Hasler  wrote:
> >
> > BTW my network experience goes back to bang paths.  I'm currently using
> > both hosts files and DHCP.
> 
>  In addition to legacy use, in 2021 new and innovative UUCP uses are
>  growing [...]

Oh, oh... my first "Internet" (not in the sense of IP, obviously!) connection
was via UUCP. Mail and Usenet. 14.4K modem. Ftpmail to "download" stuff.

Times, those.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 12/1/23 08:42, Dan Purgert wrote:

On Dec 01, 2023, gene heskett wrote:

[lotsa snipping ... ]

You claim I don't have to do anything to that printer machine, so I
installed the ICC server here. I have done zip to the dhcpd.conf which
looks as it it is fully disabled. Assuming I want a pool of 16
addresses, say from 192.168.71.100 to 192.168.71.115, what do I
uncomment and fill in, in dhcpd.conf?


Sent you a mail off-list with greater detail (hopefully it'll get
through).


Came in fine, than you Dan.


Simple approach --> look for the stanza beginning "subnet".  It should
already be uncommented (as I recall), and probably setup for the "pretty
standard default RFC1919 range" of 192.168.1.0/24.





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



Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 12/1/23 08:25, Greg Wooledge wrote:

On Fri, Dec 01, 2023 at 08:20:57AM -0500, gene heskett wrote:

You claim I don't have to do anything to that printer machine, so I
installed the ICC server here. I have done zip to the dhcpd.conf which looks
as it it is fully disabled. Assuming I want a pool of 16 addresses, say from
192.168.71.100 to 192.168.71.115, what do I uncomment and fill in, in
dhcpd.conf?

If I'm going to have to do this, I want it done the approved way.

I want the server to only respond to the MAC address of that printer, no
response to any other MAC that might come calling.


The pool is for "anyone who comes calling".

Your reserved addresses should be outside the pool.


Good to know, thanks Greg.

.


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



Re: time question, as in ntp?

2023-12-01 Thread Andrew M.A. Cater
On Fri, Dec 01, 2023 at 07:30:35AM +, Andy Smith wrote:
> Hello,
> 
> On Thu, Nov 30, 2023 at 10:24:35PM -0500, gene heskett wrote:
>


Gene,

Please do us *all* a favour to try and help you.

Write us out a list of all your machines - and if a printer has an
embedded SBC, it's a machine in this context - and the OS and versions
they are running.

List the functions you want each to have.

As others have noted, it's REALLY hard to work out what you're doing.

If machines and printers expect DHCP, then you're going to have to
amend files. Do back up the files you change.
 
> 1. There is nothing in Debian that ever overwrites the
>/etc/network/interfaces file. But you aren't running Debian on
>this machine, so we are all having difficulty helping you.
>Because this is DEBIAN-user.
> 

As ever, our collective expertise here is primarily Debian - we have no
clue what a derived distribution may or may not do.

> 2. All you've described is a line in a file which says, "Network is
>managed by NetworkManager". There is NO indication WHICH piece of
>software put that line there, it really could be anything.
>Because you aren't running Debian. Since NetworkManager can be
>set up to run arbitrary commands, it certainly COULD be YOUR
>setup of NetworkManager. Or something else entirely different.
>It's nothing in Debian, though.
> 
> > > Then you are incompatible with software you are trying to run. Your
> > > options:
> > > - do not allow scripts coming with klipper or its installer to touch
> > > network configuration
> > > - setup a DHCP server in your network and provide to 3d wizards
> > > environment they expect.
> > > 

"Su and say" is not great: running third party scripts on non-Debian systems
and you get to keep both pieces unless you undersand what kiauh and Klipper
are doing, be careful.

> > Again, Max, its your way or the hiway. I'd be willing to guess that my
> > network experience goes back at least a decade before your first class in cs
> > 101. /etc/hosts files worked in 1990 then as now, we just have to get the
> > dhcp crap out of the way.  And you and your insistence on using dhcp which
> > has never given me a stable address are definitely NOT helping.
> 
> This like some sort of farce.
> 
> You have an operating system hard-coded to use DHCP, but you won't
> use DHCP, so it doesn't work. You can't work out how to make it not
> want DHCP; you won't ask the people who made it how; instead you ask
> us completely uninvolved folks how to do it. When we tell you to
> configure it for static networking you say you can't because it
> wants DHCP. When we say use DHCP then, you say, "oh I see it's your
> way or the hiway, I'll have you know I was crafting IP packets from
> raw bean sprouts before you kids ever drew breath!"
> 
> So would I be correct in saying that you want US to work out how to
> do this thing in software we don't use and that's off-topic here,
> and that's the only answer you'll accept?
> 
> Or have I misunderstood and there is some other direction you would
> like to go with this?
> 
> Thanks,
> Andy
> 

It does seem to be a problem on this list that we can't always get
clear explanations of what has *actually* been done.

Andy
> 



Re: time question, as in ntp?

2023-12-01 Thread Curt
On 2023-12-01, John Hasler  wrote:
>
> BTW my network experience goes back to bang paths.  I'm currently using
> both hosts files and DHCP.

 In addition to legacy use, in 2021 new and innovative UUCP uses are
 growing, especially for telecommunications in the HF band, for example,
 for communities in the Amazon rainforest for email exchange and other
 uses. A patch to Ian's UUCP was contributed to UUCP Debian Linux
 package[17] to adapt for the HERMES (High-Frequency Emergency and Rural
 Multimedia Exchange System) project, which provides UUCP HF
 connectivity.[18]
 
https://en.wikipedia.org/wiki/UUCP

It's experiencing a comeback, it seems!



Re: Mailing List

2023-12-01 Thread debian-user
Pocket  wrote:
> Anyone one else having trouble with the mailing list?
> 
> Have received any messages since Nov 30
> 
> I can not tell if I am still subscribed
> 
> I get
> 
>   Error: Overload
> 
> On the https://lists.debian.org/users.html page

Your message made it to the list. Various people commented and you can
see them in the archive as well as your own post at:

https://lists.debian.org/msgid-search/14a3f8ab-8475-45c2-ae1c-b05ab135c...@columbus.rr.com

FWIW, I haven't noticed anything strange but I haven't been observing
closely.



Re: Mailing List

2023-12-01 Thread Joe
On Fri, 1 Dec 2023 17:12:56 +0100
Marco Moock  wrote:

> Am 01.12.2023 um 15:55:41 Uhr schrieb Joe:
> 
> > I received a message timed 22:52 on 28th, the last that day, the
> > next three were on 29th at
> > 08:39
> > 13:14
> > 15:55
> > then normal flow was resumed, which is typically about 50 messages
> > per day.
> > 
> > So yes, there was a problem.
> > Times UTC by the way.  
> 
> IIRC the amount of messages varies depending on how much people take
> part in discussions.
> 
> I don't think the current behavior is unusual.
> 

No, it's fine now, but there definitely was a blockage on the 29th. It
returned to normal about 16:00 UTC and has been OK since then.

-- 
Joe



Re: Mailing List

2023-12-01 Thread Thomas Schmitt
Hi,

> Anyone one else having trouble with the mailing list?

I got your message via the list.

> Have received any messages since Nov 30

Normal traffic yesterday and today, i'd say.

> I can not tell if I am still subscribed

The "From:" address poc...@columbus.rr.com seems not to be recognized as
being subscribed.
The message to which i reply bears no "LDOSUBSCRIBER":

  X-Spam-Status: No, score=2.7 required=4.0 tests=CAPINIT,HTML_MESSAGE,
KHOP_HELO_FCRDNS,LDO_WHITELIST,META_ATTENDEES_DBSPAM1,
RCVD_IN_MSPIKE_H2,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no
version=3.4.2

Unlike examples of other messages from other sender to the list:

  X-Spam-Status: No, score=-10.7 required=4.0 tests=DKIM_SIGNED,DKIM_VALID,
FOURLA,LDOSUBSCRIBER,LDO_WHITELIST,RCVD_IN_DNSWL_LOW,
T_SCC_BODY_TEXT_LINE,WORD_WITHOUT_VOWELS autolearn=unavailable
autolearn_force=no version=3.4.2

  X-Spam-Status: No, score=-8.7 required=4.0 tests=DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,DKIM_VALID_EF,FORGED_HOTMAIL_RCVD2,FOURLA,FREEMAIL_FROM,
HTML_MESSAGE,LDOSUBSCRIBER,LDO_WHITELIST,RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2,T_SCC_BODY_TEXT_LINE autolearn=unavailable
autolearn_force=no version=3.4.2

  X-Spam-Status: No,
score=-10.5 required=4.0 tests=FREEMAIL_FORGED_FROMDOMAIN,
FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,LDOSUBSCRIBER,
LDO_WHITELIST,T_SCC_BODY_TEXT_LINE autolearn=unavailable
autolearn_force=no version=3.4.2

> I get
>   Error: Overload
> On the https://lists.debian.org/users.html [lists.debian.org] page

That's quite a long page.
Try
  https://lists.debian.org/debian-user/
  https://lists.debian.org/debian-user/2023/12/threads.html
and your message at
  https://lists.debian.org/debian-user/2023/12/msg00028.html


Have a nice day :)

Thomas



Re: time question, as in ntp?

2023-12-01 Thread Max Nikulin

On 30/11/2023 23:12, Andy Smith wrote:

Unless you have a dedicated time source (e.g. GPS receiver, atomic
decay source, …)


A nitpick. I am puzzled by the word "decay" in this context. Electron 
transition between energy states in atomic clocks is not decay.


Nuclear decay is hardly related to clocks as well. Observation of photon 
frequency change due to propagation in gravitational field of the Earth 
was a really impressive experiment. However radioactive decay was just a 
means to get excited nuclei. Emission and absorption of gamma rays is 
still a transition between energy states, not a decay. Anyway I am 
unaware of *clocks* based on Mössbauer effect. Despite extreme precision 
in respect to frequency change, difficulties with implementation make it 
impractical.


As to a GPS receiver, it should be doable and 169.254.x.y addresses will 
not be an issue any more. Be careful with cables when connecting it however:

https://www.wired.com/2012/02/neutrinos-faulty-cable/



Re: Mailing List

2023-12-01 Thread tomas
On Fri, Dec 01, 2023 at 03:24:33PM +, piorunz wrote:
> On 01/12/2023 15:05, Pocket wrote:
> > Anyone one else having trouble with the mailing list?
> > 
> > Have received any messages since Nov 30
> > 
> > I can not tell if I am still subscribed
> 
> Your message is here, so you are subscribed :)

Not necessarily, you can post here as a non-subscriber. Actually I have
the hunch that the OP is not subscribed (going by the X-Spam-Status header).

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Mailing List

2023-12-01 Thread Marco Moock
Am 01.12.2023 um 15:55:41 Uhr schrieb Joe:

> I received a message timed 22:52 on 28th, the last that day, the next
> three were on 29th at
> 08:39
> 13:14
> 15:55
> then normal flow was resumed, which is typically about 50 messages per
> day.
> 
> So yes, there was a problem.
> Times UTC by the way.

IIRC the amount of messages varies depending on how much people take
part in discussions.

I don't think the current behavior is unusual.



Re: used vs. unused packages installed

2023-12-01 Thread Nate Bargmann
For this sort of thing I prefer the aptitude TUI.  Highlight the package
in question and hit 'r' and the list of reverse dependencies appears.
Installed packages will be in bold (also bright white with my terminal
settings).  One can continue up the chain by highlighting one of the
installed reverse dependencies and pressing 'r' again, and so on.

Another trick I have used is to use 'M' to mark the package as
automatically installed, if nothing depends on it then it will be marked
for removal.  Be careful here as a manually installed top level package
you might want to keep such as vim will be marked for removal and all
packages that were automatically installed with it.  To reverse the
proposed removal action, use 'Ctrl-u'.

While I often use apt at the command line, I've been using aptitude
since early 2001 and often prefer its TUI for doing drastic things!

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: time question, as in ntp?

2023-12-01 Thread Max Nikulin

On 01/12/2023 17:42, gene heskett wrote:

On 11/30/23 23:18, Max Nikulin wrote:

On 01/12/2023 10:24, gene heskett wrote:

Then, please, explain clearly what is "networkmangler", what is 
"/e/n/i", and what particular evidences you have that namely 
"networkmangler" overwrites "/e/n/i".


=NetworkManager overwrites /etc/network/interfaces. Sheesh, part of the 
"slang-guage" for decades.


MetworkManager has well earned that alias. I have made it a habit to 
remove the x attribute of that headache.


I asked it because earlier you posted


root@mkspi:/etc# nmcli
-bash: nmcli: command not found 


so I have to repeat it. You *do* *not* have NetworkManager installed 
hence it can not overwrite files.


What particular *evidences* do you have that namely NetworkManager 
overwrites /etc/network/interfaces? I am not interested in you 
*speculations*.


In a previous episode you blamed NetworkManager in breaking of 
/etc/resolv.conf. Actually it was you who put incorrect info into 
NetworkManager configuration:

https://lists.debian.org/msgid-search/zt-gj6fkycbnz...@wooledge.org



Re: Mailing List

2023-12-01 Thread Marco Moock
Am 01.12.2023 um 10:05:02 Uhr schrieb Pocket:

> I get
> 
> 
>   Error: Overload
> 
> On the https://lists.debian.org/users.html page

Works perfectly fine for me.



Re: Mailing List

2023-12-01 Thread piorunz

On 01/12/2023 15:05, Pocket wrote:

Anyone one else having trouble with the mailing list?

Have received any messages since Nov 30

I can not tell if I am still subscribed


Your message is here, so you are subscribed :)

--
With kindest regards, Piotr.

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



Mailing List

2023-12-01 Thread Pocket

Anyone one else having trouble with the mailing list?

Have received any messages since Nov 30

I can not tell if I am still subscribed

I get


 Error: Overload

On the https://lists.debian.org/users.html page


--
It's not easy to be me


Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
On Dec 01, 2023, Greg Wooledge wrote:
> On Fri, Dec 01, 2023 at 08:20:57AM -0500, gene heskett wrote:
> > You claim I don't have to do anything to that printer machine, so I
> > installed the ICC server here. I have done zip to the dhcpd.conf which looks
> > as it it is fully disabled. Assuming I want a pool of 16 addresses, say from
> > 192.168.71.100 to 192.168.71.115, what do I uncomment and fill in, in
> > dhcpd.conf?
> > 
> > If I'm going to have to do this, I want it done the approved way.
> > 
> > I want the server to only respond to the MAC address of that printer, no
> > response to any other MAC that might come calling.
> 
> The pool is for "anyone who comes calling".
> 
> Your reserved addresses should be outside the pool.

At one time (or I'm just conflating isc-dhcp-server with some other
dhcp server option), it was required that a host's "fixed-address" was
within the defined range ("address pool").  Looking at a manpage dated
2021 (or well at least /usr/share/man/man8/dhcpd.8.gz is dated 2021), it
doesn't specify one way or the other.

It does, however, note that if you do set a host's fixed-address that
falls in the range, it just gets skipped when a client that doesn't
match the defined host-identifier (e.g. MAC Address) is requesting an
IP.

-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860


signature.asc
Description: PGP signature


Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
On Dec 01, 2023, gene heskett wrote:
> [lotsa snipping ... ]
> 
> You claim I don't have to do anything to that printer machine, so I
> installed the ICC server here. I have done zip to the dhcpd.conf which
> looks as it it is fully disabled. Assuming I want a pool of 16
> addresses, say from 192.168.71.100 to 192.168.71.115, what do I
> uncomment and fill in, in dhcpd.conf?

Sent you a mail off-list with greater detail (hopefully it'll get
through).  

Simple approach --> look for the stanza beginning "subnet".  It should
already be uncommented (as I recall), and probably setup for the "pretty
standard default RFC1919 range" of 192.168.1.0/24.



-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860


signature.asc
Description: PGP signature


Re: time question, as in ntp?

2023-12-01 Thread Greg Wooledge
On Fri, Dec 01, 2023 at 08:20:57AM -0500, gene heskett wrote:
> You claim I don't have to do anything to that printer machine, so I
> installed the ICC server here. I have done zip to the dhcpd.conf which looks
> as it it is fully disabled. Assuming I want a pool of 16 addresses, say from
> 192.168.71.100 to 192.168.71.115, what do I uncomment and fill in, in
> dhcpd.conf?
> 
> If I'm going to have to do this, I want it done the approved way.
> 
> I want the server to only respond to the MAC address of that printer, no
> response to any other MAC that might come calling.

The pool is for "anyone who comes calling".

Your reserved addresses should be outside the pool.



Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 12/1/23 05:59, gene heskett wrote:

On 12/1/23 05:41, Dan Purgert wrote:

On Nov 30, 2023, gene heskett wrote:

On 11/30/23 22:07, John Hasler wrote:

Gene writes:

let me clarify: This buster machine acting like a 3d printer does NOT
have dhcpcd installed. No trace of it in /etc Only dhcp.


I'm sure it's running dhclient.  do

  ls /etc/dhcp

and

  ps ax | grep dhc

You don't need to do anything on that machine.  Just install a dhcp
server somewhere on your network (on the router is conventional) and it
will give that machine an ip number.


At risk of repeating myself forever, I don't need an unstable address, I
don't want whatever the heck is left in the pool. Hosts files do 
that, dhcp

doesn't. It just hands out the next number in the pool.  hosts files are
static. A forveer lease.


DHCP will only hand out the "next" ('unstable') address to a host that
currently has no valid lease AND does not have a reservation set on the
DHCP server.  Reservations are based on host MAC address.

Any host that has a valid lease will renew that lease indefinitely, at
lease half-life (and if the DHCP server happens to be missing at
half-life, retry at 7/8ths ).


Assuming I install a dhcp SERVER on this machine, how do I edit the 
client.conf on that machine to query this one?, and how to I enable this 
"reservation" on this SERVER so it hands out a stable address ONLY if 
the reservation matches? Point me at the docs please and I'll go away.


You claim I don't have to do anything to that printer machine, so I 
installed the ICC server here. I have done zip to the dhcpd.conf which 
looks as it it is fully disabled. Assuming I want a pool of 16 
addresses, say from 192.168.71.100 to 192.168.71.115, what do I 
uncomment and fill in, in dhcpd.conf?


If I'm going to have to do this, I want it done the approved way.

I want the server to only respond to the MAC address of that printer, no 
response to any other MAC that might come calling.


Thanks all.



Cheers, Gene Heskett.


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



Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
On Dec 01, 2023, gene heskett wrote:
> On 11/30/23 23:18, Max Nikulin wrote:
> > [...]
> > What I see in your messages are false claims, e.g. that DHCP addresses
> > are unstable. DHCP servers *may* be configured to assign fixed addresses
> > to particular clients.
> > 
> My ISP does that, so my exterior net address has been stable for over a
> decade, but I've tried it 2-3 times in the 2000's and got unstable
> addresses from  the distro versions of dhcp every time.

Your router just renews its lease within the renewal window. If you had
no power for a week, then your router would lose its lease, and the IP
address would change. That is -- no, your ISP does not reserve your IP
address at all.

Likewise, a Debian box running isc-dhcp-server (or any of the other
myriad of options) will hand out the same address to the same machine
forever, provided that machine asks to renew before the lease expires.

Note that if we're talking about devices that leave your network, this
somewhat goes out the window; because if they happened to join a remote
network that happens to share the same subnet, AND that network tells
them to use a different IP address (e.g. home was 192.168.1.100,
starbucks told your laptop '100' wasn't available), then the laptop MAY
request the IP address Starbucks gave when you get back home.

-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860


signature.asc
Description: PGP signature


Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
On Dec 01, 2023, gene heskett wrote:
> On 12/1/23 05:41, Dan Purgert wrote:
> > On Nov 30, 2023, gene heskett wrote:
> > > On 11/30/23 22:07, John Hasler wrote:
> > > > Gene writes:
> > > > > let me clarify: This buster machine acting like a 3d printer does NOT
> > > > > have dhcpcd installed. No trace of it in /etc Only dhcp.
> > > > 
> > > > I'm sure it's running dhclient.  do
> > > > 
> > > >   ls /etc/dhcp
> > > > 
> > > > and
> > > > 
> > > >   ps ax | grep dhc
> > > > 
> > > > You don't need to do anything on that machine.  Just install a dhcp
> > > > server somewhere on your network (on the router is conventional) and it
> > > > will give that machine an ip number.
> > > 
> > > At risk of repeating myself forever, I don't need an unstable address, I
> > > don't want whatever the heck is left in the pool. Hosts files do that, 
> > > dhcp
> > > doesn't. It just hands out the next number in the pool.  hosts files are
> > > static. A forveer lease.
> > 
> > DHCP will only hand out the "next" ('unstable') address to a host that
> > currently has no valid lease AND does not have a reservation set on the
> > DHCP server.  Reservations are based on host MAC address.
> > 
> > Any host that has a valid lease will renew that lease indefinitely, at
> > lease half-life (and if the DHCP server happens to be missing at
> > half-life, retry at 7/8ths ).
> 
> Assuming I install a dhcp SERVER on this machine, how do I edit the
> client.conf on that machine to query this one?, and how to I enable this
> "reservation" on this SERVER so it hands out a stable address ONLY if the
> reservation matches? Point me at the docs please and I'll go away.

You don't tell the client anything.  DHCP is initiated by a broadcast
from a client looking for an IP address.

Reservation syntax depends on which DHCP server you're using.  If it's
isc-dhcp-server (predecessor to kea; though I've not yet migrated to
kea), then, in the 'subnet' directive, you add a "host" directive.

The isc-dhcp-server example config file (and html manual) cover the
syntax in greater detail, but here's a short example:

  subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;
[... DNS, default gateway, etc ...]

host thePrinter {
  hardware ethernet 00:12:34:56:78:9A;
  fixed-address 192.168.1.120;
}
  }


-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860


signature.asc
Description: PGP signature


Re: used vs. unused packages installed

2023-12-01 Thread Michel Verdier
On 2023-11-30, David Wright wrote:

> deborphan -Ps   or orphaner

Perhaps
deborphan -Ps --ignore-suggests

Or even
deborphan -Ps --ignore-suggests --ignore-recommends



Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 12/1/23 05:41, Dan Purgert wrote:

On Nov 30, 2023, gene heskett wrote:

On 11/30/23 22:07, John Hasler wrote:

Gene writes:

let me clarify: This buster machine acting like a 3d printer does NOT
have dhcpcd installed. No trace of it in /etc Only dhcp.


I'm sure it's running dhclient.  do

  ls /etc/dhcp

and

  ps ax | grep dhc

You don't need to do anything on that machine.  Just install a dhcp
server somewhere on your network (on the router is conventional) and it
will give that machine an ip number.


At risk of repeating myself forever, I don't need an unstable address, I
don't want whatever the heck is left in the pool. Hosts files do that, dhcp
doesn't. It just hands out the next number in the pool.  hosts files are
static. A forveer lease.


DHCP will only hand out the "next" ('unstable') address to a host that
currently has no valid lease AND does not have a reservation set on the
DHCP server.  Reservations are based on host MAC address.

Any host that has a valid lease will renew that lease indefinitely, at
lease half-life (and if the DHCP server happens to be missing at
half-life, retry at 7/8ths ).


Assuming I install a dhcp SERVER on this machine, how do I edit the 
client.conf on that machine to query this one?, and how to I enable this 
"reservation" on this SERVER so it hands out a stable address ONLY if 
the reservation matches? Point me at the docs please and I'll go away.



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



Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 11/30/23 23:18, Max Nikulin wrote:


On 01/12/2023 10:24, gene heskett wrote:
If you would bother to read what I posted, you would have seen that 
networkmangler claimed credit for that overwritten /e/n/i file.


Then, please, explain clearly what is "networkmangler", what is 
"/e/n/i", and what particular evidences you have that namely 
"networkmangler" overwrites "/e/n/i".


=NetworkManager overwrites /etc/network/interfaces. Sheesh, part of the 
"slang-guage" for decades.


MetworkManager has well earned that alias. I have made it a habit to 
remove the x attribute of that headache.  Funny thing, even as far back 
as wheezy, absolutely nothing had the chutzpah to log it wasn't 
executable. Its gradually been made remove-able but early on removing it 
tore down the system to where it could only be re-installed from the 
install cd's. It was a solution to a problem we never had unless you 
were carrying a lappy into ever library on the planet.



I am not familiar with QIDI, kiauth.sh, and similar 3rd party stuff.

What I see in your messages are false claims, e.g. that DHCP addresses 
are unstable. DHCP servers *may* be configured to assign fixed addresses 
to particular clients.


My ISP does that, so my exterior net address has been stable for over a 
decade, but I've tried it 2-3 times in the 2000's and got unstable 
addresses from  the distro versions of dhcp every time.


My ISP gives the router a stable address because its linked to the MAC 
of the router, so while I have 2 interchangeable routers, the backup has 
cloned its MAC to match, so my net cost to run a web page on this 
machine is the namecheap 5 year fee of $20 the last time I paid it.  But 
the whole, several gigabyte page was lost a year ago when two quite new, 
2T seagates went tits down in the night within 2 days of each other, one 
was my boot drive, the other vtapes from Amanda. That was the last straw 
and today 8 machines here have only 2 spinning rust drives remaining.


They will be replaced with SSD's when I bring those buster machines up 
to bookworm or Trixie.



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



Re: time question, as in ntp?

2023-12-01 Thread Dan Purgert
On Nov 30, 2023, gene heskett wrote:
> On 11/30/23 22:07, John Hasler wrote:
> > Gene writes:
> > > let me clarify: This buster machine acting like a 3d printer does NOT
> > > have dhcpcd installed. No trace of it in /etc Only dhcp.
> > 
> > I'm sure it's running dhclient.  do
> > 
> >  ls /etc/dhcp
> > 
> > and
> > 
> >  ps ax | grep dhc
> > 
> > You don't need to do anything on that machine.  Just install a dhcp
> > server somewhere on your network (on the router is conventional) and it
> > will give that machine an ip number.
> 
> At risk of repeating myself forever, I don't need an unstable address, I
> don't want whatever the heck is left in the pool. Hosts files do that, dhcp
> doesn't. It just hands out the next number in the pool.  hosts files are
> static. A forveer lease.

DHCP will only hand out the "next" ('unstable') address to a host that
currently has no valid lease AND does not have a reservation set on the
DHCP server.  Reservations are based on host MAC address.

Any host that has a valid lease will renew that lease indefinitely, at
lease half-life (and if the DHCP server happens to be missing at
half-life, retry at 7/8ths ).


-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860


signature.asc
Description: PGP signature


Re: time question, as in ntp?

2023-12-01 Thread gene heskett

On 11/30/23 23:04, John Hasler wrote:

Klipper runs on OctoPi, a customized Linux distribution.  As installed
it is set up to use DHCP.  You can either install a DHCP server on your
network and it will just work, or you can figure out how to modify
OctoPi to do things your way.  You seem to be banging your head against
a wall trying to do the latter.


klipper runs on anything armhf or better. OctoPi isn't even on the 
property here.  It only has one address, USB-like from the output of 
/dev/serial/by-id. Not supported by every controller card maker, but if 
present, that is a unique string derived from chipid which the stm 
family of micro's supports. klipper is actually two parts, the 
controller is reflashed, and the rest of it runs on the pi clone. 
Mostly python, the housekeeping might run on wintel for all I know.



BTW my network experience goes back to bang paths.  I'm currently using
both hosts files and DHCP.


I'm not surprised John, I've seen your name here and there for decades.

OT:
We had some of the bang paths at WDTV, where I was the CE from 1984 to 
mid 2002. Then we bought a block of 16 addresses. We had a web page 
online to dialup folks, served by am amiga, writing the code in ARexx 
long before PHP came out, months before any other tv station in the 
country had a web page.  I wrote much of that ARexx. A do anything 
language that had hooks into everything in amigados.


Bill Hawes, who wrote ARexx was stiffed by commode door, making less 
than 500$ from sales of the language book he sold himself.  We were 
upset that a very talented coder was screwed so badly and I don't think 
he ever wrote another byte for free, but he had an empty account on vger 
for a long time.


One thing amigados never had was a cron, so Jim Hines and I wrote EZCron 
which we published on an amigados list. Instant world wide use.  Fun and 
games and fond memories from 30+ years ago.


/OT:

Take care and stay well John.

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



Re: used vs. unused packages installed

2023-12-01 Thread Michel Verdier
On 2023-11-30, Greg Wooledge wrote:

> My first thought is that popularity-contest should be able to tell you
> this, because it's able to tell *Debian* which packages are "old"

I should live on the "old" but mandatory edge :)

20 tk
20 tcl
14 g++