[DNG] ntp setup

2021-06-19 Thread o1bigtenor via Dng
Greetings

Noticed that my new Beowulf install time was not accurate.

Went looking for a tips page and all I could find was information
relating to using systemd and or its tools to do such. I know there is
a way to do this without systemd - - - - - just - - - its been a very
long time since I've done that.

Please  - - - anyone for a short writeup on how to
install/start/whatever else to ntp without using systemd?

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread R. G. Sidler via Dng

Am 19.06.21 um 16:31 schrieb o1bigtenor via Dng:

Greetings

Noticed that my new Beowulf install time was not accurate.

Went looking for a tips page and all I could find was information
relating to using systemd and or its tools to do such. I know there is
a way to do this without systemd - - - - - just - - - its been a very
long time since I've done that.

Please  - - - anyone for a short writeup on how to
install/start/whatever else to ntp without using systemd?

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng



Hi there,

this might be helpful: 
"https://www.maketecheasier.com/sync-linux-time-with-ntp-server/";


Have fun and success

Roland

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread Antony Stone
On Saturday 19 June 2021 at 16:31:23, o1bigtenor via Dng wrote:

> Please  - - - anyone for a short writeup on how to
> install/start/whatever else to ntp without using systemd?

Personally I use "aptitude install ntp".

Antony.

-- 
Some things the German language doesn't easily distinguish between:
 - slugs and snails
 - cucumbers and gherkins
 - snakes and queues
 - wearing something, or carrying it
 - mothers and nuts
 - driving a car, riding a bicycle, or travelling by train
 - a man and a husband
 - a woman and a wife
 - changing clothes and moving house
 - pockets and bags

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread R. G. Sidler via Dng


Am 19.06.21 um 16:33 schrieb R. G. Sidler via Dng:

Am 19.06.21 um 16:31 schrieb o1bigtenor via Dng:

Greetings

Noticed that my new Beowulf install time was not accurate.

Went looking for a tips page and all I could find was information
relating to using systemd and or its tools to do such. I know there is
a way to do this without systemd - - - - - just - - - its been a very
long time since I've done that.

PleaseĀ  - - - anyone for a short writeup on how to
install/start/whatever else to ntp without using systemd?

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng



Hi there,

this might be helpful: 
"https://www.maketecheasier.com/sync-linux-time-with-ntp-server/";


Have fun and success

Roland



Sorry, I forgot - there is a part especially for systems without systemd 
in the lower part of the article ...




___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread tito via Dng
On Sat, 19 Jun 2021 09:31:23 -0500
o1bigtenor via Dng  wrote:

> Greetings
> 
> Noticed that my new Beowulf install time was not accurate.
> 
> Went looking for a tips page and all I could find was information
> relating to using systemd and or its tools to do such. I know there is
> a way to do this without systemd - - - - - just - - - its been a very
> long time since I've done that.
> 
> Please  - - - anyone for a short writeup on how to
> install/start/whatever else to ntp without using systemd?
> 
> TIA

Hi,

apt install ntp

or

apt install chrony

or

 apt install openntpd

or

apt install ntpdate   (deprecated)

or

apt install ntpsec-ntpdate (more secure replacement for ntpdate)

Ciao,
Tito
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread o1bigtenor via Dng
On Sat, Jun 19, 2021 at 9:36 AM R. G. Sidler via Dng  wrote:
>
>
> Am 19.06.21 um 16:33 schrieb R. G. Sidler via Dng:
> > Am 19.06.21 um 16:31 schrieb o1bigtenor via Dng:
> >> Greetings
> >>
> >> Noticed that my new Beowulf install time was not accurate.
> >>
> >> Went looking for a tips page and all I could find was information
> >> relating to using systemd and or its tools to do such. I know there is
> >> a way to do this without systemd - - - - - just - - - its been a very
> >> long time since I've done that.
> >>
> >> Please  - - - anyone for a short writeup on how to
> >> install/start/whatever else to ntp without using systemd?
> >>

> >
> > this might be helpful:
> > "https://www.maketecheasier.com/sync-linux-time-with-ntp-server/";
> >
> > Have fun and success
> >
> > Roland
>
>
> Sorry, I forgot - there is a part especially for systems without systemd
> in the lower part of the article ...
>

What none of the articles mentioned was on how to synchronize system
time with npt. I had already installed npt it was the synchronizing that
I wasn't remembering and there was no mention of how to for anything
but systemd linked resources. It got it linked but likely used a technique
far too close to that of a 20# sledge hammer.

Given that Devuan is about the 'not' use of systemd it would seem sorta
normal to have a how-to for a newbie - - - - - and I couldn't find anything
that wasn't using systemd except for npt and then npt only synchronizes
only on machine starts.

Thanks guys
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread karl
o1bigtenor:

> Given that Devuan is about the 'not' use of systemd it would seem sorta
> normal to have a how-to for a newbie

I don't follow the logic in that.
Are you saying that thoose who don't use systemd needs newbie 
documentation ?

> - - - - - and I couldn't find anything
> that wasn't using systemd except for npt and then

Look in:
 /var/lib/dpkg/info/ntp.list
and you'll find that both man pages and html pages are provided.

If that doesn't help you, go to
 http://www.ntp.org/
and click on the Documentation link.

If that doesn't help you, ask about the specific problem you have.

> npt only synchronizes only on machine starts.

That is wrong, I guess you are thinking about initial sync.

You can do initial syncronisation with e.g. ntpdate, but ntpd can do
that also, but can take more time before it decides to jump the clock
if it differ too much.

Then ntpd, while running, will at some regular interval,
syncronize the clock. Run ntpq -p to see the polling interval.

The ntp.conf file installed with devuan is perfectly fine for
a newbies always-connected system. If your box only has intermittent 
connection to the internet, ntpd might not be what you need.
You might then be better served by chrony or something else.

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread Patrick Bartek via Dng
On Sat, 19 Jun 2021 09:31:23 -0500
o1bigtenor via Dng  wrote:

> Greetings
> 
> Noticed that my new Beowulf install time was not accurate.
> 
> Went looking for a tips page and all I could find was information
> relating to using systemd and or its tools to do such. I know there is
> a way to do this without systemd - - - - - just - - - its been a very
> long time since I've done that.
> 
> Please  - - - anyone for a short writeup on how to
> install/start/whatever else to ntp without using systemd?

apt install ntp-doc

Then load in your browser

file:///usr/share/doc/ntp-doc/html/quick.html

That should get you started.

B
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread Steve Litt
o1bigtenor via Dng said on Sat, 19 Jun 2021 09:31:23 -0500

>Greetings
>
>Noticed that my new Beowulf install time was not accurate.
>
>Went looking for a tips page and all I could find was information
>relating to using systemd and or its tools to do such. I know there is
>a way to do this without systemd - - - - - just - - - its been a very
>long time since I've done that.
>
>Please  - - - anyone for a short writeup on how to
>install/start/whatever else to ntp without using systemd?

Hi o1bigtenor,

I can speak for openntpd, because I use it with runit.

My runit system runs openntpd as follows:

exec openntpd -d ${OPTS:=-s} 2>&1

If you were going to run it on a terminal as root, the preceding would
simplify down to the following:

openntpd -d -s

In the preceding, -d means do not daemonize yourself (don't put
yourself in background, but instead run in foreground), and -s means
try to set the time immediately at startup.

As a first step, you can run the preceding command on a terminal
manually, and make sure everything's cool.

If you want to run it from sysvinit, I'm pretty sure you need to remove
the -d, because sysvinit expects daemons to put themselves in the
background (which is inferior). I don't know what you'd do about
logging in sysvinit, but I don't see a big need for logging a time
daemon anyway.

So you'd make an init script with the five verbs, what are they, start,
stop, restart, and two others, have each verb be a shellscript
function, have restart be stop;start, and don't worry about all the
nasty complications sysvinit init scripts throw in to accommodate
corner cases in the corners of corners. It should probably be about 30
lines at most.

As an alternative, you could start Runit's runsvdir in /etc/inittab,
and have runit supervise openntpd. Once you do that, you can do it for
lots of other services. In my opinion, runit is superior to sysvinit,
just like sysvinit is superior to systemd. And using sysvinit as PID1
and using runsvdir as your process supervisor is a VERY good way to do
things, I did it for years except I used daemontools instead of runit.
By the way, if you're interested in s6, you could substitute s6 for
runit.

Bottom line, openntpd has absolutely no dependency or interaction with
PID1 or anything systemd, at least not that I can see. So your wish
should be trivial to fulfill.

HTH,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread terryc
On Sat, 19 Jun 2021 12:18:32 -0500
o1bigtenor via Dng  wrote:

> What none of the articles mentioned was on how to synchronize system
> time with npt. I had already installed npt it was the synchronizing
> that I wasn't remembering and there was no mention of how to for
> anything but systemd linked resources. It got it linked but likely
> used a technique far too close to that of a 20# sledge hammer.

For what it is worth, my old way was to have a /etc/init.d/ntpdate("?)
script that synce (set the hardware to an authorative server
elsewhere), then called ntp(?) to do the ongoing update.

The rationale was that ntp would barf would either barf or not correct
a way out of sync time cloak. 

I suspect stuff has changed from when I was doing that.

> 
> Given that Devuan is about the 'not' use of systemd it would seem
> sorta normal to have a how-to for a newbie - - - - - and I couldn't
> find anything that wasn't using systemd except for npt and then npt
> only synchronizes only on machine starts.

There seems to be an attitude by some people that Devuan is not for
newbies. Shrug, their loss. However, such is the fact that hands on
keyboards supporting the project are rather limited.

My 2c is that it would help if that project ( local web portal) that
collected list mails and allowed searching was revived. It died shortly
after bots for grabbing email mail addresses started to become common.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] ntp setup

2021-06-19 Thread Bob Proulx via Dng
o1bigtenor via Dng wrote:
> Please  - - - anyone for a short writeup on how to
> install/start/whatever else to ntp without using systemd?

A full HOWTO page on what to do to fix this easily for your system is
this one line.

apt-get install ntp

Then best thing to do is to reboot so that everything can get started
off fresh with the correct time.

That's it.  That is the entirety of what is needed in a HOWTO
document.  Nothing more is needed.  The default configuration will
start automatically in Beowulf.  The default configuration will use
the standard pool of Internet time servers.  That's it.  Done.

Some special case situations though.  Raspberry Pi and other machines
without a battery backed up real time clock.  Machines forcing DNSSEC
at boot time without a real time hardware clock.  But people running
on those systems should already know they are running on those types
of systems and do the right handling of the issues there.

Bob


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] USB mount problem

2021-06-19 Thread aitor

Hi Steve,

On 12/6/21 21:29, Steve Litt wrote:

If there are missing symlinks in /dev/disk, why not fix that root cause
and let the inotify authors worry about different device handlers,
rather than base your program logic on something the systemd people can
change any time, possibly forcing vdev and eudev to change in order to
keep up?

After doing some changes in the code of vdev, symlinks are added
and removed as expected in /dev/disk, /dev/input. Vdev also is responding
to the removal of usb devices by software (e.g. using "eject"). Other
issues related to virtual machines have been fixed too, and now gnuinos
vdev is running fine in both qemu and virtualbox.Imho, the current state of
vdev is stableenough for daily use. You can download the image from here:

https://www.gnuinos.org/Beowulf/ 

On the other hand, the program logic of hopman is the same whether the
device manager is eudev or vdev: that is, inotify watching /dev/disk for 
creation

of symlinks.

One clarification: if you want to test hopman, don't use any virtual 
machine.

Test it during live sessions or after a hard disk installation instead.

In the event of any issue, please let me know. Thanks in advance,

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng