Re: time question, as in ntp?

2023-11-29 Thread Max Nikulin

On 30/11/2023 11:07, gene heskett wrote:

root@mkspi:/etc# networkctl
WARNING: systemd-networkd is not running, output will be incomplete.

IDX LINK TYPE   OPERATIONAL SETUP
   1 lo   loopback   n/a unmanaged
   2 eth0 ether  n/a unmanaged
   3 wlan0    wlan   n/a unmanaged


So systemd-networkd does not manage network. (You may still get a bit 
more from it by "networkctl status").



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


The network-manager package is not installed, so likely it is ifupdown.


On 11/29/23 21:31, Max Nikulin wrote:
P.S. Enabling DHCP may allow to use default network configuration on 
all devices.


hu, I'm logged in wit ssh:
root@mkspi:/etc# cat default/networking


Charles suggests to enable DHCP server on your router and I support him.

Concerning this particular machine and static network configuration see 
/etc/network/interfaces, interfaces(5), 
https://wiki.debian.org/NetworkConfiguration (this link was almost 
certainly posted in earlier threads).


grep -r '' /etc/network/interfaces{,.d}




Re: time question, as in ntp?

2023-11-29 Thread Karen Lewellen

Sorry!
Wrong listcomes from reading at 300 plus words per minute.



On Wed, 29 Nov 2023, Karen Lewellen wrote:


Chime,
in elinks do the following..there may be a faster way but it works.
open the browser without providing a web location as in just type elinks
Hit the escape key, bringing up the menu bar.
arrow right to view
arrow down until you hear toggle link numbering
Hit space more than likely?  Was so happy to find it, I did not change it 
laughs.

Kare



On Wed, 29 Nov 2023, gene heskett wrote:


 On 11/29/23 21:40, Charles Curley wrote:
>   On Wed, 29 Nov 2023 20:53:19 -0500
>   gene heskett  wrote:
> 
> > >   A changing network is exactly what dhcp is for.  With it you will

> > >   not need to do anything when you add a machine.
> > 
> >   Does it always lock the address to that MAC? ISTR a time long ago

> >   when it didn't.
> 
>   Normally DHCP does not lock a given IP address to a given MAC address.

>   However, you can do so on a per machine basis with the fixed-address
>   option. E.g:
> 
>   host hawk   # new (2016) desktop

>   {
>   option host-name "hawk";
>   hardware ethernet 30:5a:3a:81:83:79;
>   fixed-address 192.168.100.6;
>   option domain-name-servers 192.168.100.30, 127.0.0.1; # chaffee,
>   localhost
>   ddns-hostname hawk;

}

 In what file do I place similar info to this for eth0?

 Thank you Charles.  Stay warm and well

 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-11-29 Thread Karen Lewellen

Chime,
in elinks do the following..there may be a faster way but it works.
open the browser without providing a web location as in just type elinks
Hit the escape key, bringing up the menu bar.
arrow right to view
arrow down until you hear toggle link numbering
Hit space more than likely?  Was so happy to find it, I did not change it 
laughs.

Kare



On Wed, 29 Nov 2023, gene heskett wrote:


On 11/29/23 21:40, Charles Curley wrote:

 On Wed, 29 Nov 2023 20:53:19 -0500
 gene heskett  wrote:

> >  A changing network is exactly what dhcp is for.  With it you will
> >  not need to do anything when you add a machine.
> 
>  Does it always lock the address to that MAC? ISTR a time long ago

>  when it didn't.

 Normally DHCP does not lock a given IP address to a given MAC address.
 However, you can do so on a per machine basis with the fixed-address
 option. E.g:

 host hawk   # new (2016) desktop
 {
 option host-name "hawk";
 hardware ethernet 30:5a:3a:81:83:79;
 fixed-address 192.168.100.6;
 option domain-name-servers 192.168.100.30, 127.0.0.1; # chaffee,
 localhost
 ddns-hostname hawk;
}

In what file do I place similar info to this for eth0?

Thank you Charles.  Stay warm and well

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-11-29 Thread Charles Curley
On Wed, 29 Nov 2023 23:15:16 -0500
gene heskett  wrote:

> In what file do I place similar info to this for eth0?

That is part of the ISC DHCP server's configuration.
/etc/dhcp/dhcpd.conf man dhcpd.conf


-- 
Does anybody read signatures any more?

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



Re: time question, as in ntp?

2023-11-29 Thread gene heskett

On 11/29/23 21:40, Charles Curley wrote:

On Wed, 29 Nov 2023 20:53:19 -0500
gene heskett  wrote:


A changing network is exactly what dhcp is for.  With it you will
not need to do anything when you add a machine.


Does it always lock the address to that MAC? ISTR a time long ago
when it didn't.


Normally DHCP does not lock a given IP address to a given MAC address.
However, you can do so on a per machine basis with the fixed-address
option. E.g:

host hawk   # new (2016) desktop
{
option host-name "hawk";
hardware ethernet 30:5a:3a:81:83:79;
fixed-address 192.168.100.6;
option domain-name-servers 192.168.100.30, 127.0.0.1; # chaffee, localhost
ddns-hostname hawk;
}

In what file do I place similar info to this for eth0?

Thank you Charles.  Stay warm and well

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-11-29 Thread gene heskett

On 11/29/23 21:31, Max Nikulin wrote:

On 30/11/2023 06:51, gene heskett wrote:


Which is what I want to do but I've been told that 
/etc/network/interfaces is not the "today way" to do it.


What was the context when you have been told that?

If you are using NetworkManager then just change connection properties 
to "manual" in the IPv4 section. Alternatively just configure ifupdown 
(/etc/network/interfaces) and reboot if you are unsure how to reload 
NetworkManager configuration. By default NetworkManager ignores 
interfaces configured using ifupdown. I assume that neither tool 
configured systemd-networkd on your machine. Check output of the 
following commands


     networkctl

root@mkspi:/etc# networkctl
WARNING: systemd-networkd is not running, output will be incomplete.

IDX LINK TYPE   OPERATIONAL SETUP
  1 lo   loopback   n/a unmanaged
  2 eth0 ether  n/a unmanaged
  3 wlan0wlan   n/a unmanaged

3 links listed.


     nmcli


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

P.S. Enabling DHCP may allow to use default network configuration on all 
devices.


hu, I'm logged in wit ssh:
root@mkspi:/etc# cat default/networking
# Configuration for networking init script being run during
# the boot sequence

# Set to 'no' to skip interfaces configuration on boot
#CONFIGURE_INTERFACES=yes

# Don't configure these interfaces. Shell wildcards supported/
#EXCLUDE_INTERFACES=

# Set to 'yes' to enable additional verbosity
#VERBOSE=no

# Method to wait for the network to become online,
# for services that depend on a working network:
# - ifup: wait for ifup to have configured an interface.
# - route: wait for a route to a given address to appear.
# - ping/ping6: wait for a host to respond to ping packets.
# - none: don't wait.
#WAIT_ONLINE_METHOD=ifup

# Which interface to wait for.
# If none given, wait for all auto interfaces, or if there are none,
# wait for at least one hotplug interface.
#WAIT_ONLINE_IFACE=

# Which address to wait for for route, ping and ping6 methods.
# If none is given for route, it waits for a default gateway.
#WAIT_ONLINE_ADDRESS=

# Timeout in seconds for waiting for the network to come online.
#WAIT_ONLINE_TIMEOUT=300
-EOF-

What does all this tell someone more experienced?

.


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-11-29 Thread Max Nikulin

On 30/11/2023 05:53, Dan Purgert wrote:

Avahi BS?  APIPA ("A"utomatic "P"rivate "IP" "A"ddressing) is not
avahi/mDNS (aka Bonjour / Zeroconf).

Your DHCP client giving you an APIPA address is indicative of broken
DHCP, and the fix is either:


avahi-daemon (multicast name resolution and service discovery) and 
avahi-autoipd (link-local IP addresses) debian packages are built from 
the same "avahi" upstream project despite their purpose is different 
(and related).


There are alternatives that may play the same roles (assigning 
169.254.x.y IPv4LL addresses and sending/responding to mDNS queries): 
udhcp, systemd-networkd. I am unsure however if all CUPS features are 
available without avahi.


With proper network configuration (static IP addresses as first step) 
avahi may be ignored in this case. Currently avahi-autoipd (or another 
tool) successfully manged to make it possible to connect at least local 
network. Since static IPs are used in the local network, manual 
configuration is required to make global connections available.




Re: time question, as in ntp?

2023-11-29 Thread Charles Curley
On Wed, 29 Nov 2023 20:53:19 -0500
gene heskett  wrote:

> > A changing network is exactly what dhcp is for.  With it you will
> > not need to do anything when you add a machine.
> 
> Does it always lock the address to that MAC? ISTR a time long ago
> when it didn't.

Normally DHCP does not lock a given IP address to a given MAC address.
However, you can do so on a per machine basis with the fixed-address
option. E.g:

host hawk   # new (2016) desktop
{
   option host-name "hawk";
   hardware ethernet 30:5a:3a:81:83:79;
   fixed-address 192.168.100.6;
   option domain-name-servers 192.168.100.30, 127.0.0.1; # chaffee, localhost
   ddns-hostname hawk;
}


-- 
Does anybody read signatures any more?

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



Re: time question, as in ntp?

2023-11-29 Thread Max Nikulin

On 30/11/2023 06:51, gene heskett wrote:


Which is what I want to do but I've been told that 
/etc/network/interfaces is not the "today way" to do it.


What was the context when you have been told that?

If you are using NetworkManager then just change connection properties 
to "manual" in the IPv4 section. Alternatively just configure ifupdown 
(/etc/network/interfaces) and reboot if you are unsure how to reload 
NetworkManager configuration. By default NetworkManager ignores 
interfaces configured using ifupdown. I assume that neither tool 
configured systemd-networkd on your machine. Check output of the 
following commands


networkctl
nmcli

P.S. Enabling DHCP may allow to use default network configuration on all 
devices.




Re: time question, as in ntp?

2023-11-29 Thread gene heskett

On 11/29/23 20:20, John Hasler wrote:

Gene writes:

I've been told that /etc/network/interfaces is not the "today way" to
do it.


It works fine.


Then [dhcp is] something else I'll have to maintain as my network
grows,


A changing network is exactly what dhcp is for.  With it you will not
need to do anything when you add a machine.
Does it always lock the address to that MAC? ISTR a time long ago when 
it didn't.


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-11-29 Thread John Hasler
Gene writes:
> I've been told that /etc/network/interfaces is not the "today way" to
> do it.

It works fine.

> Then [dhcp is] something else I'll have to maintain as my network
> grows,

A changing network is exactly what dhcp is for.  With it you will not
need to do anything when you add a machine.
-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA



Re: time question, as in ntp?

2023-11-29 Thread gene heskett

On 11/29/23 17:52, Dan Purgert wrote:

On Nov 29, 2023, gene heskett wrote:

On 11/29/23 14:03, Greg Wooledge wrote:

On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote:

'ntpd' I think (or is it systemd-timed or something like that nowadays?)


Gene's system is running some derivative of buster (Debian 10).

No I am not, Greg, been running bookworm for almost a year on this machine.
It is the 3d printer, a QIDI X-MAX 3,  which is running armbian buster that
I am trying to fix. At least enough to set its clock, which is about a year
out of date ATM.

Just now did a powerdown which restarts it at:Sun 01 Jan 2023 06:02:14 AM
PST

I have added some of my hosts file into its hosts file, and I can ping back
and forth, and a valid ipv4 nameserver to resolv.conf and ping is working
locally. But I can't find where its setting its default ipv4 address to the
avahi bs, even with grep -r.


Avahi BS?  APIPA ("A"utomatic "P"rivate "IP" "A"ddressing) is not
avahi/mDNS (aka Bonjour / Zeroconf).

Your DHCP client giving you an APIPA address is indicative of broken
DHCP, and the fix is either:

   A. Fix your broken DHCP
   B. Set the machine up with a static IP address

I'm kind of surprised that an Armbian box doesn't have a hwclock that
you can set the proper time on, to survive reboots (but anyway, I
imagine once you get the machine running with a valid IP address for
your network, it'll be able to use whatever time-sync service armbian
ships with (quick ddg search implies it ships with chrony installed /
setup as default).


I'll have to check that, but installing chrony here on this bookworm box 
will remove the systemd thing, which is present on the armbian buster 
installed on it.  ISTR I had the rpi4 setup on buster raspios plus my rt 
kernel, and that static entry IIRC was in /etc/network/interfaces, which 
I haven't tried yet.  Was that buster or did they have a better place.
Tickled my memory, /etc/dhcpcd.conf would appear to be the place. But 
I'll have to compose 100% of the option "static".



HTH :)


It may have, thank you Dan.  Take care & stay well.

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-11-29 Thread Jeffrey Walton
On Wed, Nov 29, 2023 at 7:06 PM Dan Purgert  wrote:
>
> On Nov 29, 2023, Greg Wooledge wrote:
> > On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote:
> > > 'ntpd' I think (or is it systemd-timed or something like that nowadays?)
> >
> > Gene's system is running some derivative of buster (Debian 10).
> > If I remember correctly, buster did not enable systemd-timed by
> > default.  The "ntp" package should be available [...]
>
> Right, I recall it being ntp (vaguely, at least up through Debian9 /
> Stretch), but the actual defaults of 9/10/11 are a bit fuzzier.

I recently performed an upgrade from a really old release (Jessie or
Stretch) to something newer (Bullseye, iirc). It is an old LePotato
dev board, so it has been neglected for some time.

The board's time was a bit munged. It was a day behind, like no
adjustments were being made. When I checked, both ntp and
systemd-timesyncd were installed, but neither were configured
correctly.

I removed the ntp gear, reinstalled systemd-timesyncd, enabled the
service, and things have been fine since then.

I'm not sure how I got into the state where both ntp and
systemd-timesyncd were installed, but neither were being used. It may
have been something I did a long time ago.

Jeff



Re: time question, as in ntp?

2023-11-29 Thread gene heskett

On 11/29/23 14:58, Andrew M.A. Cater wrote:

On Wed, Nov 29, 2023 at 02:19:51PM -0500, Greg Wooledge wrote:

On Wed, Nov 29, 2023 at 01:52:46PM -0500, gene heskett wrote:

On 11/29/23 13:20, John Hasler wrote:

Install chrony.  But first fix that address.


How, John? QIDI is afraid of enabling full net access because it
might overwrite some of their special stuff. Right now its
running armbian buster, which is out of support.  And surprise,
kiauh.sh is installed, likely how they set the printer up in the
first place.  Its just a bash script but its magic!


There are so many things in this paragraph that I don't
understand. What is "QIDI"?  Why would enabling full net access
"overwrite stuff"? What "stuff"?  What is "kiauh.sh" and how is it
relevant to this question?



QIDI == manufacturer of 3d printers

kiauh.sh == helper script to install Klipper

Klipper == firmware and environment to drive a 3d printer - large
numbers of installed dependencies as I understand it


Either configure a static IP address for this host, or set up a
DHCP server which will assign it the desired IP address.  Those are
your two choices.



Just configure your armbian to expect a static address - oh, and try
really hard *not* to use something as old as buster, maybe? There are
reasons that Debian bothers to put out newer releases :)


If you want it to be on an isolated network, then put it on an
isolated network.  If it needs an NTP server, make sure you put one
of those on the isolated network as well.

It sounds like you don't want a *physically* isolated network, but
rather, some kind of numeric subnet whose packets won't be routed
to the public Internet.  That should be feasible.  Here's an
example setup:

Machine R: Router.  Configured to talk to the public Internet, and
to the local 192.168.1.x subnet.  IP forwarding is enabled (from
192.168.1). Does not know about the 192.168.2.x subnet, and will
not forward packets from that subnet.

Machine T: Time server.  Has two IP addresses -- one on 192.168.1.x
and one on 192.168.2.x.  Default gateway set to R.  Runs NTP,
configured to permit client connections from both subnets, and to
retrieve time from the public Internet.

Machine P: Printer.  Has an IP address on the 192.168.2.x subnet
only. Runs NTP, configured to retrieve time from T.

Other hosts: If they need to talk to the public Internet, then they
have an address on 192.168.1.x, and default gateway set to R.  If
they need to talk to P, they have an address on 192.168.2.x.  Some
will have both. If they run NTP, configure it to retrieve time from
T.

Of course, there are other ways to achieve isolation.  You could
also use a single subnet, but set up a fancy firewall in the
router, which blocks the forwarding of all packets from P.  Or
which doesn't forward by default, but is specifically configured to
forward packets from T and other identified hosts.  You have lots
of choices here.



Gene - in all seriousness, I'd suggest sitting down with a memo pad
and actually writing down what machines you have, what OS they have
and wIhat you want them to *do*

At that point, configure machines individually so that they're
running the latest practicable software. If that means doing them one
by one - do that.

Make a list of what functions you need and configure them one by
one.

Build up something stable rather than constantly hacking and
forgetting the precise details of what you've done.

If needs be, then give each machine a memorable name and assign each
machine a page to note down _precisely_ what changes you make. Take
backups of each file you change before you change it and save them
according to a naming scheme - I've seen someone name a copy of  the
original files as x.y.gold where .gold is a suffix that no normal
files have.

As you make individual modifications, save them as x.y.gold.1, gold.2
and so on.

That way, you know how many steps you've taken, how many changes
you've made and you can always go back. Once the file is correct, you
can delete previous copies apart from the original .gold

Just a quick suggestion which you can take or leave as you will ..

Andy

All good advice Andy, but I've been swimming in the bleeding edge stuff 
since I turned 16 and could quit school legally, which as you well know 
is often a disorganized mess since about 1948 when I quit school and 
went to work fixing them newfangled things called tv's.


Me, get organized? At 89 yo, its not likely to happen now.

Thanks Andy, take care and stay well.

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-11-29 Thread gene heskett

On 11/29/23 14:20, Greg Wooledge wrote:

On Wed, Nov 29, 2023 at 01:52:46PM -0500, gene heskett wrote:

On 11/29/23 13:20, John Hasler wrote:

Install chrony.  But first fix that address.


How, John? QIDI is afraid of enabling full net access because it might
overwrite some of their special stuff. Right now its running armbian buster,
which is out of support.  And surprise, kiauh.sh is installed, likely how
they set the printer up in the first place.  Its just a bash script but its
magic!


QIDI is the name of the Chinese outfit that makes mid-range printers in 
the thousand dollar category. Come with all the stuff you normally spend 
another $800 making a $150 printer work a little better, so its not that 
bad a deal when you tally up all the stuff a $150 printer is missing. 
Plus its 3 or 4 times faster than the $150 printer.  The X-MAX 3 is the 
top of their line of printers.



There are so many things in this paragraph that I don't understand.
What is "QIDI"?  Why would enabling full net access "overwrite stuff"?
What "stuff"?  What is "kiauh.sh" and how is it relevant to this
question?
They claim they custmized it to drive their printer better, but I'll 
reserve judgement on that.


kiauh.sh (Klipper Installer And Update Helper) is a shell script that 
keeps a klipper and friends install up to date AND also keeps the OS up 
to date too, run it 2 or 3 times a week, and you always got the latest 
stuff as klipper, somewhat like marlin but faster is under fairly rapid 
development.  And its doing things months ahead of marlin.



Either configure a static IP address for this host


Which is what I want to do but I've been told that 
/etc/network/interfaces is not the "today way" to do it. OTOH its buster 
and I think that works in buster. However, my only access to work on 
this is ssh -X root@address, so I have to be sure I don't brick it.


 or set up a DHCP

server which will assign it the desired IP address.  Those are your
two choices.


Then its something else I'll have to maintain as my network grows, its 
far easier to edit a hosts file. I had set a 30 character passwd from a 
random generator based on the number of centuries it would take a hacker 
to get thru it. Nobody has, including me...



If you want it to be on an isolated network, then put it on an isolated
network.  If it needs an NTP server, make sure you put one of those
on the isolated network as well.


isolation is not really on my todo list. Every other machine on my local 
net has a desktop and a browser, fully capable of downloading the newest 
yak milk recipe from a satellite fed, solar powered yurt 35 klicks north 
of Ulan Bator.  Firefox is an IRQ pig, playing hell with the machines 
latency, so I don't cut steel and run firefox a the same time.



It sounds like you don't want a *physically* isolated network, but rather,
some kind of numeric subnet whose packets won't be routed to the public
Internet.  That should be feasible.  Here's an example setup:

Machine R: Router.  Configured to talk to the public Internet, and to
the local 192.168.1.x subnet.  IP forwarding is enabled (from 192.168.1).
Does not know about the 192.168.2.x subnet, and will not forward packets
from that subnet.

Machine T: Time server.  Has two IP addresses -- one on 192.168.1.x and
one on 192.168.2.x.  Default gateway set to R.  Runs NTP, configured to
permit client connections from both subnets, and to retrieve time from
the public Internet.


Sounds like something I could do with a bananapi-m5, And it would reduce 
my footprint at debians time servers by aabout 8 machines banging on 
them now. But that project is 4 or 5 lines from the top of the list.


At present I'd like to blow away the systemd and install chrony, 
configuring that to take over one machine at a time.  Can someone lead 
me to do that?


The original protocol could push at intervals and ISTR I had it working 
on my amiga 2000 and on my color computer 3 running nitros9, circa 
1999-2001. Fun times.



Machine P: Printer.  Has an IP address on the 192.168.2.x subnet only.
Runs NTP, configured to retrieve time from T.

Other hosts: If they need to talk to the public Internet, then they have
an address on 192.168.1.x, and default gateway set to R.  If they need
to talk to P, they have an address on 192.168.2.x.  Some will have both.
If they run NTP, configure it to retrieve time from T.

Of course, there are other ways to achieve isolation.  You could also
use a single subnet, but set up a fancy firewall in the router, which
blocks the forwarding of all packets from P.  Or which doesn't forward
by default, but is specifically configured to forward packets from T
and other identified hosts.  You have lots of choices here.



Thanks Greg, take care & sty well.

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 

Re: Hardware Advice Wanted: Router

2023-11-29 Thread Jeffrey Walton
On Wed, Nov 29, 2023 at 6:17 PM Charles Curley
 wrote:
>
> On Mon, 13 Nov 2023 15:57:28 -0700
> Charles Curley  wrote:
>
> > My FIT-PCs that provide network services are getting old, and i386
> > Linux is slowly fading away. So I would like to replace them with a
> > router/gateway computer.
>
> Thank you all for much useful advice. I ended up with an ACEMAGIC T8
> Plus. https://www.acemagic.com/collections/minipcs/products/t8plus
>
> Debian 12 installed nicely, with one glitch. I had shrunk the Windows
> partition in order to install Debian, but left it otherwise intact.
> However the thing insisted on booting to Windows.
>
> To fix it, do the following:
>
> To make the grub bootloader active after installing Linux and GRUB, in
> the firmware:
>
> During boot, hit escape or delete to get into the firmware.
>
> Security -> Secure Boot -> Enabled
>
> Boot -> UEFI BBS Priorities -> Debian boot option
>
> Save & Exit -> Save Changes and Exit
>
> I now get GRUB, which will boot either Debian or Windows.
>
> Note: Memtest86 does not appear to work. I believe that is a known
> problem with UEFI machines.
>
> I am now busy moving network service over to the new machine.

As I understand things, a well functioning UEFI system does not need
to use GRUB. The entries for Linux and Windows will be in the UEFI
boot menu, and you can boot directly using EFI variables.

Jeff



Re: Hardware Advice Wanted: Router

2023-11-29 Thread Charles Curley
On Mon, 13 Nov 2023 15:57:28 -0700
Charles Curley  wrote:

> My FIT-PCs that provide network services are getting old, and i386
> Linux is slowly fading away. So I would like to replace them with a
> router/gateway computer.

Thank you all for much useful advice. I ended up with an ACEMAGIC T8
Plus. https://www.acemagic.com/collections/minipcs/products/t8plus

Debian 12 installed nicely, with one glitch. I had shrunk the Windows
partition in order to install Debian, but left it otherwise intact.
However the thing insisted on booting to Windows.

To fix it, do the following:

To make the grub bootloader active after installing Linux and GRUB, in
the firmware:

During boot, hit escape or delete to get into the firmware.

Security -> Secure Boot -> Enabled

Boot -> UEFI BBS Priorities -> Debian boot option

Save & Exit -> Save Changes and Exit

I now get GRUB, which will boot either Debian or Windows.

Note: Memtest86 does not appear to work. I believe that is a known
problem with UEFI machines.

I am now busy moving network service over to the new machine.

-- 
Does anybody read signatures any more?

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



firewalld runttime to permanen error

2023-11-29 Thread Charles Curley
I've just installed Debian 12 on a new machine. I'm setting up the
firewall with firewalld. I have two interfaces (and lo). I'd like to
change the zone of one of them from "trusted" to "home". I can do that
in the runtime, but when I go to make that change permanent, I get a
vague error message:

root@issola:~# firewall-cmd --runtime-to-permanent
Error: RT_TO_PERM_FAILED
root@issola:~#

-- 
Does anybody read signatures any more?

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



Re: time question, as in ntp?

2023-11-29 Thread Dan Purgert
On Nov 29, 2023, gene heskett wrote:
> On 11/29/23 14:03, Greg Wooledge wrote:
> > On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote:
> > > 'ntpd' I think (or is it systemd-timed or something like that nowadays?)
> > 
> > Gene's system is running some derivative of buster (Debian 10).
> No I am not, Greg, been running bookworm for almost a year on this machine.
> It is the 3d printer, a QIDI X-MAX 3,  which is running armbian buster that
> I am trying to fix. At least enough to set its clock, which is about a year
> out of date ATM.
> 
> Just now did a powerdown which restarts it at:Sun 01 Jan 2023 06:02:14 AM
> PST
> 
> I have added some of my hosts file into its hosts file, and I can ping back
> and forth, and a valid ipv4 nameserver to resolv.conf and ping is working
> locally. But I can't find where its setting its default ipv4 address to the
> avahi bs, even with grep -r.

Avahi BS?  APIPA ("A"utomatic "P"rivate "IP" "A"ddressing) is not
avahi/mDNS (aka Bonjour / Zeroconf).  

Your DHCP client giving you an APIPA address is indicative of broken
DHCP, and the fix is either:

  A. Fix your broken DHCP
  B. Set the machine up with a static IP address

I'm kind of surprised that an Armbian box doesn't have a hwclock that
you can set the proper time on, to survive reboots (but anyway, I
imagine once you get the machine running with a valid IP address for
your network, it'll be able to use whatever time-sync service armbian
ships with (quick ddg search implies it ships with chrony installed /
setup as default).

HTH :)

-- 
|_|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-11-29 Thread gene heskett

On 11/29/23 14:12, Lee wrote:

On Wed, Nov 29, 2023 at 12:50 PM gene heskett wrote:


Greetings all;

I have a 3d printer, an arm64 controller running ambian buster
it has an address of 169.254.xx.xx/16
it can ping this machine but something is killing full net access, so it
can't set its time.


With a 169.254.x.x address I'm surprised it can talk to anything else
on your network.

Your internet router is running dd-wrt - correct?
Why not enable the dhcp server software on that and serve static IP
addresses to everything on your network?
eg  https://wiki.dd-wrt.com/wiki/index.php/Static_DHCP


That would take a full factory reset and reprogram, as I lost all those 
pw's a year ago when 2 brand new seagate 2T spinning rust drives went 
tits down off line in the night in 2 nights time before I'd had a chance 
to reconfigure amanda for operation under bookworm,.


I rebuilt the machine with all SSD's, and that is still a g-d headache 
almost a year later. I have repeatedly asked why it takes a minimum of 
30 seconds ( once I timed it at a few seconds over 5 minutes ) to open a 
path to that raid10 that I own every byte of.



Your /etc/hosts files will still work and you'll stop getting
169.254.x.x addresses assigned to your machines.

Just that one. Its probably easier to turn it into a hosts file system.

Off topic, but because that printer does not have ipv6 disabled, I found 
I could ping6 stuff on this side of the router.  Too bad its at least 
100 miles away from me yet.


Take care & stay well everybody. I gotta go check my snail mail box.


Regards,
Lee
.


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-11-29 Thread gene heskett

On 11/29/23 14:03, Greg Wooledge wrote:

On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote:

'ntpd' I think (or is it systemd-timed or something like that nowadays?)


Gene's system is running some derivative of buster (Debian 10).
No I am not, Greg, been running bookworm for almost a year on this 
machine.  It is the 3d printer, a QIDI X-MAX 3,  which is running 
armbian buster that I am trying to fix. At least enough to set its 
clock, which is about a year out of date ATM.


Just now did a powerdown which restarts it at:Sun 01 Jan 2023 06:02:14 
AM PST


I have added some of my hosts file into its hosts file, and I can ping 
back and forth, and a valid ipv4 nameserver to resolv.conf and ping is 
working locally. But I can't find where its setting its default ipv4 
address to the avahi bs, even with grep -r.




If I remember correctly, buster did not enable systemd-timed by
default.


This one actually has an /etc/systemd/timesyncd,conf but its default, 
totally commented out except for the [time] line.


  The "ntp" package should be available, as well as "chrony".

This was of course before the ntp -> ntpsec transition which happened
in Debian 12.


ATP if I can make chrony sub for systemd's timesyncd, as chrony claims 
to be a client and a server, then point the ntp queries to this machine, 
its should not be more than 1 or 2 milliseconds out of time, plenty good 
enough for the girls I might go with. Heck, I was doing it in 1998 with 
rh5.0 to keep my full blown amiga on time. But tons of changes have 
blockaided me in late 2023.


It seems to me that if timesyncd is replacing the ntp stuff, it ought to 
be a full replacement but the word server is not mentioned in the docs 
I've read so far today.


So I need hand holding guidance.  And the client is running armbian 
buster, 64 bit.  On a rockchip board.

Thanks all.

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-11-29 Thread Andrew M.A. Cater
On Wed, Nov 29, 2023 at 02:19:51PM -0500, Greg Wooledge wrote:
> On Wed, Nov 29, 2023 at 01:52:46PM -0500, gene heskett wrote:
> > On 11/29/23 13:20, John Hasler wrote:
> > > Install chrony.  But first fix that address.
> > 
> > How, John? QIDI is afraid of enabling full net access because it might
> > overwrite some of their special stuff. Right now its running armbian buster,
> > which is out of support.  And surprise, kiauh.sh is installed, likely how
> > they set the printer up in the first place.  Its just a bash script but its
> > magic!
> 
> There are so many things in this paragraph that I don't understand.
> What is "QIDI"?  Why would enabling full net access "overwrite stuff"?
> What "stuff"?  What is "kiauh.sh" and how is it relevant to this
> question?
> 

QIDI == manufacturer of 3d printers

kiauh.sh == helper script to install Klipper

Klipper == firmware and environment to drive a 3d printer - large numbers
of installed dependencies as I understand it

> Either configure a static IP address for this host, or set up a DHCP
> server which will assign it the desired IP address.  Those are your
> two choices.
> 

Just configure your armbian to expect a static address - oh, and try really
hard *not* to use something as old as buster, maybe? There are reasons that
Debian bothers to put out newer releases :)

> If you want it to be on an isolated network, then put it on an isolated
> network.  If it needs an NTP server, make sure you put one of those
> on the isolated network as well.
> 
> It sounds like you don't want a *physically* isolated network, but rather,
> some kind of numeric subnet whose packets won't be routed to the public
> Internet.  That should be feasible.  Here's an example setup:
> 
> Machine R: Router.  Configured to talk to the public Internet, and to
> the local 192.168.1.x subnet.  IP forwarding is enabled (from 192.168.1).
> Does not know about the 192.168.2.x subnet, and will not forward packets
> from that subnet.
> 
> Machine T: Time server.  Has two IP addresses -- one on 192.168.1.x and
> one on 192.168.2.x.  Default gateway set to R.  Runs NTP, configured to
> permit client connections from both subnets, and to retrieve time from
> the public Internet.
> 
> Machine P: Printer.  Has an IP address on the 192.168.2.x subnet only.
> Runs NTP, configured to retrieve time from T.
> 
> Other hosts: If they need to talk to the public Internet, then they have
> an address on 192.168.1.x, and default gateway set to R.  If they need
> to talk to P, they have an address on 192.168.2.x.  Some will have both.
> If they run NTP, configure it to retrieve time from T.
> 
> Of course, there are other ways to achieve isolation.  You could also
> use a single subnet, but set up a fancy firewall in the router, which
> blocks the forwarding of all packets from P.  Or which doesn't forward
> by default, but is specifically configured to forward packets from T
> and other identified hosts.  You have lots of choices here.
>

Gene - in all seriousness, I'd suggest sitting down with a memo pad and
actually writing down what machines you have, what OS they have and 
wIhat you want them to *do*

At that point, configure machines individually so that they're running the
latest practicable software. If that means doing them one by one - do that.

Make a list of what functions you need and configure them one by one.
 
Build up something stable rather than constantly hacking and forgetting
the precise details of what you've done.

If needs be, then give each machine a memorable name and assign each machine a 
page to note down _precisely_ what changes you make. Take backups of 
each file you change before you change it and save them according to a naming 
scheme - I've seen someone name a copy of  the original files as x.y.gold where 
.gold is a suffix that no normal files have.

As you make individual modifications, save them as x.y.gold.1, gold.2 and so on.

That way, you know how many steps you've taken, how many changes you've made
and you can always go back. Once the file is correct, you can delete previous
copies apart from the original .gold

Just a quick suggestion which you can take or leave as you will ..

Andy 




Re: time question, as in ntp?

2023-11-29 Thread Greg Wooledge
On Wed, Nov 29, 2023 at 01:52:46PM -0500, gene heskett wrote:
> On 11/29/23 13:20, John Hasler wrote:
> > Install chrony.  But first fix that address.
> 
> How, John? QIDI is afraid of enabling full net access because it might
> overwrite some of their special stuff. Right now its running armbian buster,
> which is out of support.  And surprise, kiauh.sh is installed, likely how
> they set the printer up in the first place.  Its just a bash script but its
> magic!

There are so many things in this paragraph that I don't understand.
What is "QIDI"?  Why would enabling full net access "overwrite stuff"?
What "stuff"?  What is "kiauh.sh" and how is it relevant to this
question?

Either configure a static IP address for this host, or set up a DHCP
server which will assign it the desired IP address.  Those are your
two choices.

If you want it to be on an isolated network, then put it on an isolated
network.  If it needs an NTP server, make sure you put one of those
on the isolated network as well.

It sounds like you don't want a *physically* isolated network, but rather,
some kind of numeric subnet whose packets won't be routed to the public
Internet.  That should be feasible.  Here's an example setup:

Machine R: Router.  Configured to talk to the public Internet, and to
the local 192.168.1.x subnet.  IP forwarding is enabled (from 192.168.1).
Does not know about the 192.168.2.x subnet, and will not forward packets
from that subnet.

Machine T: Time server.  Has two IP addresses -- one on 192.168.1.x and
one on 192.168.2.x.  Default gateway set to R.  Runs NTP, configured to
permit client connections from both subnets, and to retrieve time from
the public Internet.

Machine P: Printer.  Has an IP address on the 192.168.2.x subnet only.
Runs NTP, configured to retrieve time from T.

Other hosts: If they need to talk to the public Internet, then they have
an address on 192.168.1.x, and default gateway set to R.  If they need
to talk to P, they have an address on 192.168.2.x.  Some will have both.
If they run NTP, configure it to retrieve time from T.

Of course, there are other ways to achieve isolation.  You could also
use a single subnet, but set up a fancy firewall in the router, which
blocks the forwarding of all packets from P.  Or which doesn't forward
by default, but is specifically configured to forward packets from T
and other identified hosts.  You have lots of choices here.



Re: time question, as in ntp?

2023-11-29 Thread Lee
On Wed, Nov 29, 2023 at 12:50 PM gene heskett wrote:
>
> Greetings all;
>
> I have a 3d printer, an arm64 controller running ambian buster
> it has an address of 169.254.xx.xx/16
> it can ping this machine but something is killing full net access, so it
> can't set its time.

With a 169.254.x.x address I'm surprised it can talk to anything else
on your network.

Your internet router is running dd-wrt - correct?
Why not enable the dhcp server software on that and serve static IP
addresses to everything on your network?
eg  https://wiki.dd-wrt.com/wiki/index.php/Static_DHCP

Your /etc/hosts files will still work and you'll stop getting
169.254.x.x addresses assigned to your machines.

Regards,
Lee



Re: time question, as in ntp?

2023-11-29 Thread Dan Purgert
On Nov 29, 2023, Greg Wooledge wrote:
> On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote:
> > 'ntpd' I think (or is it systemd-timed or something like that nowadays?)
> 
> Gene's system is running some derivative of buster (Debian 10).
> If I remember correctly, buster did not enable systemd-timed by
> default.  The "ntp" package should be available [...]

Right, I recall it being ntp (vaguely, at least up through Debian9 /
Stretch), but the actual defaults of 9/10/11 are a bit fuzzier.
Downside of not actually following the release info as closely as I used
to, I guess. :)


-- 
|_|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-11-29 Thread Greg Wooledge
On Wed, Nov 29, 2023 at 01:17:18PM -0500, Dan Purgert wrote:
> 'ntpd' I think (or is it systemd-timed or something like that nowadays?)

Gene's system is running some derivative of buster (Debian 10).
If I remember correctly, buster did not enable systemd-timed by
default.  The "ntp" package should be available, as well as "chrony".
This was of course before the ntp -> ntpsec transition which happened
in Debian 12.



logrotate failed state

2023-11-29 Thread Adam Weremczuk

Hi all,

Debian 10.13

Is it normal for logrotate service to go from "inactive (dead)" to 
"failed (Result: exit-code)" state every time logrotate.timer 
(active-waiting) kicks in?


E.g. "sudo systemctl restart logrotate" brings back "inactive (dead)" 
but only until the next logrotate.time trigger (midnight in my case).


Journal only goes back a couple of hours and the only warning/error I 
can see is:


"Warning: Journal has been rotated since unit was started. Log output is 
incomplete or unavailable."


Both systemd-journald and logrotate.timer run with the default settings.

Regards,
Adam



Re: time question, as in ntp?

2023-11-29 Thread gene heskett

On 11/29/23 13:20, John Hasler wrote:

Install chrony.  But first fix that address.


How, John? QIDI is afraid of enabling full net access because it might 
overwrite some of their special stuff. Right now its running armbian 
buster, which is out of support.  And surprise, kiauh.sh is installed, 
likely how they set the printer up in the first place.  Its just a bash 
script but its magic!


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-11-29 Thread gene heskett

On 11/29/23 12:58, Dan Ritter wrote:

gene heskett wrote:

Greetings all;

I have a 3d printer, an arm64 controller running ambian buster
it has an address of 169.254.xx.xx/16


That IP suggests that it has not got a static IP or a DHCP
address, and doesn't know what the local network is.

Do you actually run your internal network on 169.254?


Country boy dumb maybe, stoopid no. All my stuff is 192.168.xxx.xxx
This printer is setup for dhcp, and there are zero dhcp servers on my 
network, its not even enabled in dd-wrt.  All hosts file based here.
I can edit /etc/hosts on the printer but so far the only thing I have 
tried is by nameserver 192.168.xxx.xxx in its resolv.conf, and while 
that enables the dns lookup so while I can ping -c1 yahoo.com, which 
gets its address, but the reply does not get back to the printer, 100% 
packet loss.


So here I am, hat in hand.
 >

it can ping this machine but something is killing full net access, so it
can't set its time.

It can talk to this machine by address.  Running bookworm here.

There was at onetime, the ability to make this machine serve as a lower
level time server so it should be possible to have this printers time
requests satisfied by this machine which s/b within a millisecond or 2 of
the master clock in Boulder CO.

Is there a ready made package for that? Or, can this be enabled in systemd
stuff?


apt install ntp
or
apt install ntpsec
or
apt install chrony


I just looked at all 3, but what happens to systemd.timesync.d or 
whatever its called.  Don't they start a fight?



The defaults for Debian time packages use the Debian NTP pool:





https://www.pool.ntp.org/

-dsr-
.


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-11-29 Thread John Hasler
Install chrony.  But first fix that address.
-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA



Re: time question, as in ntp?

2023-11-29 Thread Dan Purgert
On Nov 29, 2023, gene heskett wrote:
> Greetings all;
> 
> I have a 3d printer, an arm64 controller running ambian buster
> it has an address of 169.254.xx.xx/16
> it can ping this machine but something is killing full net access, so it
> can't set its time.

The address range 169.254.0.0/16 is APIPA reserved space, for use
primarily when DHCP fails (this is a "Bad Thing").  If you have a
machine with this IP address, it's probably best to figure out why DHCP
is failing.

> 
> It can talk to this machine by address.  Running bookworm here.

"what" can talk to "what machine" by "what address" ?

> 
> There was at onetime, the ability to make this machine serve as a lower
> level time server so it should be possible to have this printers time
> requests satisfied by this machine which s/b within a millisecond or 2 of
> the master clock in Boulder CO.
> 
> Is there a ready made package for that? Or, can this be enabled in systemd
> stuff?

'ntpd' I think (or is it systemd-timed or something like that nowadays?)

-- 
|_|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-11-29 Thread Dan Ritter
gene heskett wrote: 
> Greetings all;
> 
> I have a 3d printer, an arm64 controller running ambian buster
> it has an address of 169.254.xx.xx/16

That IP suggests that it has not got a static IP or a DHCP
address, and doesn't know what the local network is.

Do you actually run your internal network on 169.254?


> it can ping this machine but something is killing full net access, so it
> can't set its time.
> 
> It can talk to this machine by address.  Running bookworm here.
> 
> There was at onetime, the ability to make this machine serve as a lower
> level time server so it should be possible to have this printers time
> requests satisfied by this machine which s/b within a millisecond or 2 of
> the master clock in Boulder CO.
> 
> Is there a ready made package for that? Or, can this be enabled in systemd
> stuff?

apt install ntp 
or
apt install ntpsec
or 
apt install chrony

The defaults for Debian time packages use the Debian NTP pool:

https://www.pool.ntp.org/

-dsr-



time question, as in ntp?

2023-11-29 Thread gene heskett

Greetings all;

I have a 3d printer, an arm64 controller running ambian buster
it has an address of 169.254.xx.xx/16
it can ping this machine but something is killing full net access, so it 
can't set its time.


It can talk to this machine by address.  Running bookworm here.

There was at onetime, the ability to make this machine serve as a lower 
level time server so it should be possible to have this printers time 
requests satisfied by this machine which s/b within a millisecond or 2 
of the master clock in Boulder CO.


Is there a ready made package for that? Or, can this be enabled in 
systemd stuff?


Thanks

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: Troubleshooting PS/2 interface issues?

2023-11-29 Thread Felix Miata
Scott Denlinger composed on 2023-11-29 10:55 (UTC-0500):

> I'm running Trixie/Sid with a stock 6.5.10 kernel, and I have a Centronics
> Model M keyboard from 1988 (from my very first IBM PC!) which I love. I'm
> using it with an active PS/2 --> USB converter, which works well enough,
> but occasionally the keyboard dies and I need to plug the USB adapter back
> in, so I'd like to be able to plug it directly into my system board PS/2
> port. I can sometimes get the keyboard to work when plugged directly into
> the PS/2 port and I'm in rescue mode / logged into the console, but it
> never works in an X environment (for me, XFCE).

PS/2 ports were not designed for hot-plugging. Doing so can kill a PS/2 port
permanently. To keep your port alive, only plug a PS/2 keyboard into a PS/2 port
while the PC is powered off.

It may be that a PS/2 keyboard can also be damaged in same manner, or other. I
have an HP Pavilion that worked fine with the same Dell Quietkey keyboard I use
with other PCs from the time I got it until recently, when that keyboard quit
working with it only, fine with other PCs, except with a newer Pavilion lacking
PS/2 ports. With the latter, it had been working OK with a PS/2 to USB adapter,
but that quit too. I switched to a different Quietkey and both Pavilions resumed
working as they originally had been.

> The fact that it works intermittently from the console makes me think it's
> a kernel issue, but I don't know how to troubleshoot it at the kernel
> level. I would love to get it working in X, but I feel like I need to get
> working consistently in single user mode before I can troubleshoot
> the issue X seems to be having with the PS/2 interface.

> I do have a USB keyboard I can use to do some testing. Can I have both
> keyboards plugged in at the same time--the model M in the PS/2 port and
> another USB keyboard connected via USB? I do have "/dev/psaux" in the
> device tree, and I don't see anything like "/dev/mice" or "/dev/mouse", so
> I'm assuming the Model M keyboard would be /dev/psaux.

> Thanks for any tips, or links to PS/2 interface resources for Linux.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

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

Felix Miata



Re: Troubleshooting PS/2 interface issues?

2023-11-29 Thread Marco Moock
Am 29.11.2023 um 10:55:35 Uhr schrieb Scott Denlinger:

> I'm running Trixie/Sid with a stock 6.5.10 kernel, and I have a
> Centronics Model M keyboard from 1988 (from my very first IBM PC!)
> which I love.

I have an IBM Model M from 1990 directly connected to PS/2.
I have also used it with various USB controllers and those failed many
times.

IIRC the Model M has more power consumption. Can you try both the USB
controller and the PS/2 port of the motherboard with another PS/2 kb?
 
> I do have a USB keyboard I can use to do some testing. Can I have both
> keyboards plugged in at the same time--the model M in the PS/2 port
> and another USB keyboard connected via USB?

Of course.



Troubleshooting PS/2 interface issues?

2023-11-29 Thread Scott Denlinger
I'm running Trixie/Sid with a stock 6.5.10 kernel, and I have a Centronics
Model M keyboard from 1988 (from my very first IBM PC!) which I love. I'm
using it with an active PS/2 --> USB converter, which works well enough,
but occasionally the keyboard dies and I need to plug the USB adapter back
in, so I'd like to be able to plug it directly into my system board PS/2
port. I can sometimes get the keyboard to work when plugged directly into
the PS/2 port and I'm in rescue mode / logged into the console, but it
never works in an X environment (for me, XFCE).

The fact that it works intermittently from the console makes me think it's
a kernel issue, but I don't know how to troubleshoot it at the kernel
level. I would love to get it working in X, but I feel like I need to get
working consistently in single user mode before I can troubleshoot
the issue X seems to be having with the PS/2 interface.

I do have a USB keyboard I can use to do some testing. Can I have both
keyboards plugged in at the same time--the model M in the PS/2 port and
another USB keyboard connected via USB? I do have "/dev/psaux" in the
device tree, and I don't see anything like "/dev/mice" or "/dev/mouse", so
I'm assuming the Model M keyboard would be /dev/psaux.

Thanks for any tips, or links to PS/2 interface resources for Linux.

Scott Denlinger


Re: [HS] installer Signal sous Debian sans smartphone

2023-11-29 Thread NoSpam

Bonjour

voici la méthode utilisant un numéro de poste fixe

Pour créer un compte pour une ligne fixe

. créer un captcha https://signalcaptchas.org/registration/generate
. copier la partie après ://
. signal-cli -u +3336800 register --captcha signal-... ; ceci créé 
un compte avec envoi SMS, peu importe

. créer un nouveau captcha https://signalcaptchas.org/registration/generate
. copier la partie après ://
. signal-cli -u +3336800 register --voice --captcha signal-...
. un appel téléphonique est réceptionné lisant le code de validation (6 
chiffres à date de document)

. signal-cli -a +3336800 verify 
. signal-cli -a +3336800 send -m "Texte" +3368400
. si OK le mobile a réceptionné le message.

Le 29/11/2023 à 16:07, Jean Louis Giraud Desrondiers a écrit :

bonjour la liste,
résumé des épisodes précédents : j'ai une amie (qui n'a pas de
smartphone) et dont le portable est sous Mint et qui souhaite installer
dessus  un logiciel de chat pour pouvoir suivre les discussions de la
quinzaine de personnes (toutes sous Windaube et utilisant toutes
Signal) habitant comme elle dans une résidence à habitat partagé. Dans
un premier temps j'ai cherché une alternative à Signal mais il s'avère
qu'il est quasi impossible de convaincre ses co-habitants de changer de
logiciel de chat (en gros leur position c'est : tu as fait le choix de
ne pas avoir de smartphone donc débrouille toi pour gérer) donc je
cherche maintenant à installer Signal sur son portable et à
lui configurer un compte Signal.
J'ai réussi l'installation de Signal via extrepo (merci Sebastien) mais
pour ouvrir un compte je bloque : lorsque je démarre Signal, il ouvre
une fenêtre avec un QR code que nous avons décodé avec QtQR et nous
obtenons une longue suite alphanumérique à la place mais ensuite ? je
ne sais pas quoi faire de ça ?
Par ailleurs j'ai vu ce tuto
https://kemenaran.winosx.com/posts/signal-sans-smartphone
mais je bloque sur l'étape 1 pour installer Signal-cli :
que faire de ceci :
  # Sous Linux, suivre les instruction ici :
  # https://github.com/AsamK/signal-cli/wiki/Quickstart
  





[HS] installer Signal sous Debian sans smartphone

2023-11-29 Thread Jean Louis Giraud Desrondiers
bonjour la liste, 
résumé des épisodes précédents : j'ai une amie (qui n'a pas de
smartphone) et dont le portable est sous Mint et qui souhaite installer
dessus  un logiciel de chat pour pouvoir suivre les discussions de la
quinzaine de personnes (toutes sous Windaube et utilisant toutes
Signal) habitant comme elle dans une résidence à habitat partagé. Dans
un premier temps j'ai cherché une alternative à Signal mais il s'avère
qu'il est quasi impossible de convaincre ses co-habitants de changer de
logiciel de chat (en gros leur position c'est : tu as fait le choix de
ne pas avoir de smartphone donc débrouille toi pour gérer) donc je
cherche maintenant à installer Signal sur son portable et à
lui configurer un compte Signal. 
J'ai réussi l'installation de Signal via extrepo (merci Sebastien) mais
pour ouvrir un compte je bloque : lorsque je démarre Signal, il ouvre
une fenêtre avec un QR code que nous avons décodé avec QtQR et nous
obtenons une longue suite alphanumérique à la place mais ensuite ? je
ne sais pas quoi faire de ça ? 
Par ailleurs j'ai vu ce tuto
https://kemenaran.winosx.com/posts/signal-sans-smartphone
mais je bloque sur l'étape 1 pour installer Signal-cli :
que faire de ceci :
 # Sous Linux, suivre les instruction ici :
 # https://github.com/AsamK/signal-cli/wiki/Quickstart
 

-- 
Cordialement

Jean-Louis Giraud-Desrondiers




Re: Alpine/Gmail/Imap expert needed. (fwd)

2023-11-29 Thread Keith Bainbridge
+1
-- 


All the best

Keith BAINBRIDGE 

+61 447 667 468
keithr...@gmail.com

GMT + 10
From my Apad  

On 29 November 2023 9:07:38 am AEDT, john doe  wrote:
>On 11/28/23 22:51, Karen Lewellen wrote:
>> 
>> 
>
>Lets keep the possibility of being able to send constructive e-mails
>through mailing lists so we can avoid having to move to a forum based
>set up.
>
>--
>John Doe
>



Re: sid

2023-11-29 Thread Richard Hector

On 28/11/23 04:52, Michael Thompson wrote:

[lots of stuff]

Quick question - are you subscribed to the list? I notice you've replied 
a couple of times to your own emails, but not to any of the people 
who've offered suggestions. It's probably a good idea to subscribe, or 
at least check the archives:


https://lists.debian.org/debian-user/recent

Secondly, you say:

"I sent a big email a couple of days ago, which covered how you might 
work around that, but so far, it has not been fixed.

By my reckoning, it's been 6 days now."

Filing a bug may well be useful, but it should be done through the 
proper channels, not via a post on debian-user.


https://www.debian.org/Bugs/Reporting

Cheers,
Richard