Re: [DNG] meta: list

2022-09-02 Thread d...@d404.nl

On 01-09-2022 23:46, marc wrote:

Hello


I use gmail, and seem to be getting email from this list. I wonder if it
is because I have it skip the inbox, and go straight into a different
label.

I think you are on to something: It could well be that there has been a shift
to using how the recipients organise their gmail (do you sort it into
a high value folder, do you reply to it, do you star it, etc, etc) as
a factor in the decision to reject email at the SMTP transaction.

That might explain why a small subset of gmail users still get to
see the DNG messages ... if the heuristics are local to a user.
Which seems reasonable, otherwise a spammer could sign up and superlike
the their own spam, guaranteeing delivery for others too...

Though I am not sure I should expend the energy to run some tomography on
these interactions, in order to discover the heuristics that
google actually uses - with apologies to the hitch-hikers guide to
the galaxy: As soon as we have an explanation, the system will be
replaced by an even more complex set of rules.

What it does seem to mean is that gmail users are likely
missing some legitimate messages completely - without even a
trace in their spam folders.

I suppose that is just another instance of the Availability vs
Integrity vs Confidentiality Tradeoff that underlies most
of Computer Security... though I for one like to make that
call myself rather than having some AI try infer that from
my mail reading behaviour.

regards

marc


Not for to use this list but i do have a gmail account as spamcatcher 
for a publicly visible mail address. I never use the web interface 
though but use Thunderbird to handle that account. So i do not see fancy 
lines or high value folders or am using stars. So far Google does handle 
spam correctly and I do not have to search that often in the spam 
folder. I recommend this for all gmail users.


I do run my own MTA (three of them actually) and noticed a rejection by 
gmail the moment I got IPv6 and forgot to set reverse DNS for it. So 
rDNS is a thing for gettingaccepted by gmail.



Grtz.

Nick


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


Re: [DNG] Installing build-essential on Chimaera PPC

2022-08-22 Thread d...@d404.nl

On 22-08-2022 20:37, Luciano Mannucci wrote:

I installed a Chimaera guest on my KVM/quemu PPC (well, not exactly;
I had to install a Debian bullseye and then migrate using rrq script).
Now I'm trying to install some usefull software via apt-get and it says
I have broken packages. This is what I typed (with anwers :):

root@bob:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libtirpc-dev : Depends: libtirpc3 (= 1.3.1-1) but 1.3.1-1+deb11u1 is to be 
installed
E: Unable to correct problems, you have held broken packages.

Do I have any chance to correct that issue?

Many thanks to everybody,

Luciano.


You already tried the old: apt-get -f install

to resolve the dependency?

Grtz.

Nick

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


Re: [DNG] Another problem you won't have without Systemd (or separate oomd)

2022-08-22 Thread d...@d404.nl

On 22-08-2022 17:31, Didier Kryn wrote:

Le 20/08/2022 à 10:20, Martin Steigerwald a écrit :

oomd may make sense in certain cloud based workloads, maybe, just maybe.
However… on a desktop? You are frigging kidding me, aren't you?


    Well, it can happen to anybody to write an application which leaks 
memory. The oom killer is automatically launched by the kernel when 
memory pressure is too high, and it is a necessity. The problem here 
is with systemd's oom killer, and/or with Gnome.


--     Didier 



Depends on what you call a problem.I do not have a problem with systemd 
and Gnome killing each other. The sooner the better.



Grtz

Nick

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


Re: [DNG] PHP question

2022-06-23 Thread d...@d404.nl

On 23-06-2022 17:49, Curtis Maurand via Dng wrote:

Hello,

I've been running Devuan on my break even public facing webhosting 
system for several years.  I've been using ISPConfig and the debian 
perfect server instructions with adjustments for Devuan. I'm up to 
Devuan Beowulf at the moment and trying to go to chimaera so that I 
can get PHP 7.4 support.  I'm happy to build a new server and migrate 
sites from Beowulf to Chimaera except that PHP 7.4 goes end of life at 
the end of November of this year.  The current versions PHP are 8.0 
and 8.1.


Using the instructions at packages.sury.org, I am able to add the 
other versions of PHP except for PHPN.n-fpm due to a (what seems to be 
a completely unnecessary) dependence upon systemd.


I would love to keep running Devuan.  It runs way better than anything 
systemd based.  Is there a workaround for this limitation?  I've tried 
installing the package from chimaera, but it's a couple of minor 
revisions behind sury.org. It also seems to need a version of libc6 
greater than or equal to x.xx.


As a web hoster I need to be able to deploy multiple versions of PHP 
and I don't see very advanced support for it in Devuan. Developers 
need to test PHP 8 as it's different enough to cause trouble for apps 
written intending to run on version 7.4



Trying not to install ubuntu,

--Curtis

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


I am running PHP in docker containers for the purpose of running 
multiple versions simultaneous. Docker works just fine on Devuan. And if 
docker does not work for you can look for the PHP start command in the 
docker container which does not have systemd dependencies afaik.


Grtz

Nick

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


Re: [DNG] fdisk SD card partitioning question

2022-06-15 Thread d...@d404.nl

On 14-06-2022 22:43, Jim Jackson wrote:



On Mon, 13 Jun 2022, Andreas Messer wrote:


Created a new partition 1 of type 'Linux' and of size 27.5 GiB.

You shouldn't do that. Although its possible to "partition" SD-Cards,
this is not recommended. This is since SD-Cards have some kind of
knowledge about "how FATFS works" to optimize the write cycles. This
won't work if the card is partitioned.

Bit wierd that X-gazillion Raspberry Pi's out there are expected to work
with partitioned SD cards.

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


There is a reason that SD-Cards wear out quickly with a Raspberry Pi. 
But the Pi need to boot from a FAT partition and at the same time 
Raspbian will not run on a FAT partition. Luckily you can boot them from 
the network and from USB pen drive or SSD too.


Grtz

Nick

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


Re: [DNG] Shutdown/halt versus WiFi and NFS

2022-05-29 Thread d...@d404.nl

On 28-05-2022 17:10, Brad Campbell via Dng wrote:

On 28/5/22 18:44, d...@d404.nl wrote:

On 28-05-2022 10:23, Brad Campbell via Dng wrote:

On 24/9/20 03:55, Michael S. Keller via Dng wrote:

My desktop is running Chimaera, and I saw this with Beowulf, but didn't spend 
much time on it then.

My network connection is via WiFi, and I have permanent NFS mounts in place. I 
run SysV init.

During halt or shutdown via init scripts, NetworkManager is terminated before 
the NFS unmount, which brings down the active NIC, and usually the unmount 
hangs forever, so I have to do a hard reset or power-off.

After futzing with it for a while, trying to find a more elegant solution, I 
ended up just renaming K01network-manager and K02sendsigs in rc0.d and rc6.d. 
Now shutdown and reboot run reliably.

Before that, I tried renaming K01network-manager to K06network-manager, to 
place it after the NFS unmount, but it ran earlier anyway.

I also tried shielding NetworkManager from sendsigs, and I think it would have 
worked if I could make K0.network-manager run later, but that was about the 
point I gave up and took a virtual hammer to the issue.

2 years on and I keep bumping up against this issue on my laptop. Truth be told 
I've been bumping up against it for a long while, but an enforced break saw me 
have time to look into it.

I've tried shuffling dependencies in the scripts, but can't seem to sort it out.

Mine are transient nfs mounts, but if I forget to unmount one before rebooting 
it hangs and has to be power cycled.

$ cat /etc/devuan_version
chimaera

Love to hear any suggestions.

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

For my Raspberry Pi's to boot from nfs and to shutdown normally I had to add 
the variable

persistent

to /etc/dhcpcd.conf.

Hope this helps.


Thanks Nick,

Yes, I saw your response back in 2020.

I've been trying to figure out how that applies to network manager, or how I 
could make a similar outcome.
The problem here is network-manager gets killed early in the process. Same 
result but a different cause.

Regards,
Brad


Hi Brad,

I already thought to have seen the question before. Too bad it does not 
work for you.


But maybe I have another solution. I am using chrony and this uses a 
small script in /etc/NetworkManager/dispatcher.d named 20-chrony and 
this content;



#!/bin/sh
# This is a NetworkManager dispatcher / networkd-dispatcher script for
# chronyd to set its NTP sources online or offline when a network 
interface

# is configured or removed

export LC_ALL=C

# For NetworkManager consider only up/down events
[ $# -ge 2 ] && [ "$2" != "up" ] && [ "$2" != "down" ] && exit 0

# Note: for networkd-dispatcher routable.d ~= on and off.d ~= off

chronyc onoffline > /dev/null 2>&1

exit 0


So maybe you can make a small nfs shutdown script and put it in 
/etc/NetworkManager/dispatcher.d too or make a link to 
/etc/init.d/umountnfs.sh?


Grtz.

Nick

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


Re: [DNG] Shutdown/halt versus WiFi and NFS

2022-05-28 Thread d...@d404.nl

On 28-05-2022 10:23, Brad Campbell via Dng wrote:

On 24/9/20 03:55, Michael S. Keller via Dng wrote:

My desktop is running Chimaera, and I saw this with Beowulf, but didn't spend 
much time on it then.

My network connection is via WiFi, and I have permanent NFS mounts in place. I 
run SysV init.

During halt or shutdown via init scripts, NetworkManager is terminated before 
the NFS unmount, which brings down the active NIC, and usually the unmount 
hangs forever, so I have to do a hard reset or power-off.

After futzing with it for a while, trying to find a more elegant solution, I 
ended up just renaming K01network-manager and K02sendsigs in rc0.d and rc6.d. 
Now shutdown and reboot run reliably.

Before that, I tried renaming K01network-manager to K06network-manager, to 
place it after the NFS unmount, but it ran earlier anyway.

I also tried shielding NetworkManager from sendsigs, and I think it would have 
worked if I could make K0.network-manager run later, but that was about the 
point I gave up and took a virtual hammer to the issue.

2 years on and I keep bumping up against this issue on my laptop. Truth be told 
I've been bumping up against it for a long while, but an enforced break saw me 
have time to look into it.

I've tried shuffling dependencies in the scripts, but can't seem to sort it out.

Mine are transient nfs mounts, but if I forget to unmount one before rebooting 
it hangs and has to be power cycled.

$ cat /etc/devuan_version
chimaera

Love to hear any suggestions.

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


For my Raspberry Pi's to boot from nfs and to shutdown normally I had to 
add the variable


persistent

to /etc/dhcpcd.conf.

Hope this helps.

Grtz.

Nick


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


Re: [DNG] mouse driver question

2022-04-25 Thread d...@d404.nl

On 25-04-2022 16:20, Fred wrote:

On 4/25/22 02:39, k...@aspodata.se wrote:

Fred:
...

The compile fails because SDL.h can't be found.
Package sd12 was not found in the pkg-config search path.  It also
mentions adding directory containing sd12.pc to the PKG-CONFIG_PATH
environment variable.


To find which package a missing file belongs to, do:

# apt-get install apt-file

$ apt-file search SDL.h
$ apt-file search sdl2.h

///

   I get:
$ apt-file -x search /SDL.h$
libsdl1.2-dev: /usr/include/SDL/SDL.h
libsdl2-dev: /usr/include/SDL2/SDL.h
$ apt-file search /sdl2.pc
libsdl2-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/sdl2.pc

So, the above problem is solved by installing libsdl2-dev.

Regards,
/Karl Hammar

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

Hi Karl,
The compile went ok.  I used command line:
inputattach --daemon --baud 1200 -msc /dev/ttyUSB0
It accepted the baud rate option this time however the middle button 
still does not work.  The pointer freezes when the middle button is 
down.  I ran gpm-mouse-test again.  That program seems to have major 
problems.  It can't even detect the baud rate which I know to be 1200.

Best regards,
Fred

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


Hi Fred,

Looking at inputattach man page could you give the option

*-ms*,*--mshack*
   3-button mouse in Microsoft mode.

a try?

Grtz.

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


Re: [DNG] How to port Devuan to a different ARM board?

2022-04-08 Thread d...@d404.nl

On 08-04-2022 05:04, Jeremy Ardley via Dng wrote:


Hi,

I'm interested in running devuan on an orange Pi R1 (H3 ARM processor).

It's not listed as an available image, so I'd be quite happy to build 
one if someone can give me the procedures required.


Regards,

--
Jeremy



My route would be: use the debian image from 
http://www.orangepi.org/downloadresources/ as base and migrate from 
there to Devuan.


But there is a old thread from 2017 about building your own image here: 
https://dev1galaxy.org/viewtopic.php?id=1516


Grtz.

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


Re: [DNG] Wifi problem - dhclient times out with no reply

2022-03-18 Thread d...@d404.nl
Before I have had more success using the non-free Broadcom Sta package 
https://packages.debian.org/bullseye/broadcom-sta-dkms You most likely 
have to blacklist the b43 driver for that to work.


Grtz.

Nick

On 17-03-2022 20:32, Joel Roth via Dng wrote:

Thanks to Aitor (twice), Steve, Gregory, Simon for your
informative suggestions.

Associating my broadcom bcm43228 adapter with the wifi
router has been hit-and-miss, mostly miss with a rare,
inexplicable success.

I tried the usual suspects - upgrading the system,
removing and reinstalling/reinserting the drivers.

It's not worth beating my head much more over this dodgy
driver.  I can manage without wifi for now, at least until I
can find a linux-friend USB wifi dongle.

To respond to Steve, for 10+ years I've never had problems
with wpa_supplicant. Perhaps bugs in the wifi hardware or
FIRMWARE have caused your wpa_supplicant to hang. Anyway
you have a solution.

Again, thanks to all for your generous help.

joel

On Fri, Mar 11, 2022 at 09:21:54PM +0100, aitor wrote:

Hi Joel,

On 11/3/22 20:40, Joel Roth via Dng wrote:

Hi wifi veterans,

I recently migrated my chimaera system to new hardware. The
wifi adapter is Broadcom BCM43228. Installing the
firmware-b43-installer package got this adapter working
normally.

After doing an apt-get upgrade, I can get a a wifi
connection, for example using wpa_gui, however dhclient just
times out.

Do you have any suggestions for how to troubleshoot this?

Did you clear the ip addreses? I use the command below together with ifupdown:

#|ip addr flush dev wlan0|

Another way might be to force DHCP client release your ip:

# dhclient -r wlan0

# rm|/var/lib/dhcp/dhclient.wlan0.leases (!! Not sure about the name of the
file storing the leases)|

# dhclient wlan0

This way you reacquire a fresh ip from the DHCP server.||

HTH,

Aitor.


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


Re: [DNG] Fake RAID

2022-03-09 Thread d...@d404.nl

On 09-03-2022 16:55, Hendrik Boom wrote:

On Wed, Mar 09, 2022 at 02:42:07PM +0100, aitor wrote:


Did you read the following guide?

https://wiki.debian.org/DebianInstaller/SataRaid

Interesting note.

What is a "fake RAID"?  Is it a RAID or not?

-- hendrik

A real RAID controller has hardware and software on board and often a 
battery backup. A "fake" RAID does have some hardware but no software or 
better some software but depends on a Windows driver for the RAID 
functions. Same trick as with Win modems and printers.


Grtz.

Nick

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


Re: [DNG] [OT] files disappearing reproducibly

2022-02-19 Thread d...@d404.nl

On 19-02-2022 16:25, Florian Zieboll via Dng wrote:

Hallo list,

may I ask for help narrowing down a strange phenomenon?

Any files in my personal '~/tmp/' directory just disappear after a
couple of minutes. I was able to catch the event with 'auditd' - I seems
to be executed in a bash within a qterminal, running as child of PID 1:

The 'audit.log' shows an 'exe="/bin/rm"' with 'ppid 8290' in the first
line, caught with

# auditctl -w /home/florian/tmp/test -p wa ; tail -f /var/log/audit/audit.log

type=SYSCALL msg=audit(1645279145.766:65): arch=c03e syscall=263 success=yes exit=0 a0=ff9c a1=5604372f44d0 a2=0 a3=f2cb items=2 ppid=8290 pid=8292 auid=1001 uid=1001 
gid=1001 euid=1001 suid=1001 fsuid=1001 egid=1001 sgid=1001 fsgid=1001 tty=pts2 ses=1 comm="rm" exe="/bin/rm" subj==unconfined key=(null)ARCH=x86_64 SYSCALL=unlinkat 
AUID="florian" UID="florian" GID="florian" EUID="florian" SUID="florian" FSUID="florian" EGID="florian" 
SGID="florian" FSGID="florian"
type=CWD msg=audit(1645279145.766:65): cwd="/home/florian"
type=PATH msg=audit(1645279145.766:65): item=0 name="/home/florian/tmp/" inode=6294470 dev=103:03 
mode=040755 ouid=1001 ogid=1001 rdev=00:00 nametype=PARENT cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 
cap_frootid=0OUID="florian" OGID="florian"
type=PATH msg=audit(1645279145.766:65): item=1 name="/home/florian/tmp/test" inode=6301858 
dev=103:03 mode=0100644 ouid=1001 ogid=1001 rdev=00:00 nametype=DELETE cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 
cap_frootid=0OUID="florian" OGID="florian"
type=PROCTITLE msg=audit(1645279145.766:65): 
proctitle=726D002D7266002F686F6D652F666C6F7269616E2F746D702F74657374
type=USER_AUTH msg=audit(1645279157.578:66): pid=8301 uid=1001 auid=1001 ses=1 subj==unconfined 
msg='op=PAM:authentication grantors=pam_permit,pam_cap acct="administrator" exe="/bin/su" 
hostname=nulldevice.lan addr=? terminal=pts/2 res=success'UID="florian" AUID="florian"
type=USER_ACCT msg=audit(1645279157.578:67): pid=8301 uid=1001 auid=1001 ses=1 subj==unconfined msg='op=PAM:accounting 
grantors=pam_permit acct="administrator" exe="/bin/su" hostname=nulldevice.lan addr=? 
terminal=pts/2 res=success'UID="florian" AUID="florian"
type=CRED_ACQ msg=audit(1645279157.578:68): pid=8301 uid=1001 auid=1001 ses=1 subj==unconfined msg='op=PAM:setcred 
grantors=pam_permit,pam_cap acct="administrator" exe="/bin/su" hostname=nulldevice.lan addr=? 
terminal=pts/2 res=success'UID="florian" AUID="florian"
type=USER_START msg=audit(1645279157.582:69): pid=8301 uid=1001 auid=1001 ses=1 subj==unconfined 
msg='op=PAM:session_open grantors=pam_env,pam_env,pam_mail,pam_limits,pam_permit,pam_unix,pam_elogind 
acct="administrator" exe="/bin/su" hostname=nulldevice.lan addr=? terminal=pts/2 
res=success'UID="florian" AUID="florian"


And here the relevant snippet of 'ps axjf':

  PPID   PID  PGID   SID TTY  TPGID STAT   UID   TIME COMMAND
 1  8287  8286  8286 ?   -1 Rl1001   0:01 /usr/bin/qterminal
  8287  8290  8290  8290 pts/2 8358 Ss1001   0:00  \_ /bin/bash


As I suspect that I might have installed a routine that regularly deletes
the content of ~/tmp, I checked for crontab entries, but neither of the
two follwing commands return a result:

# grep -re tmp /etc/cron*
# grep -re tmp /var/spool/cron/

Besides that: Wouldn't a cronjob have 'crond' as parent?

Thank you very much for any hints leading to more insight!

Libre Grüße,
Florian


Probably not helpful too but does auth.log show something from the use 
of exec=¨/bin/su" ?


Grtz

Nick

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


Re: [DNG] Installing on a Raspberry or a Banana?

2022-02-07 Thread d...@d404.nl

On 07-02-2022 22:17, Antony Stone wrote:

On Monday 07 February 2022 at 22:14:32, d...@d404.nl wrote:


On 07-02-2022 22:03, Antony Stone wrote:

I want to install Devuan on a Raspberry Pi Zero W, and also on a Banana
Pi R1.

Last time I needed an RPi image I used this link
https://arm-files.devuan.org/

Oh!

Thanks - I didn't spot this linked from any of the "download" or "how to
install" pages I looked at.


Antony.

I did bookmark this link some time ago so I do not know if it is 
anywhere linked on the site. Golinux maybe?



Grtz.

Nick


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


Re: [DNG] Installing on a Raspberry or a Banana?

2022-02-07 Thread d...@d404.nl

On 07-02-2022 22:03, Antony Stone wrote:

Hi.

I'm wondering what has happened to the "embedded" subdirectory which was
present under Jessie and Ascii, but no longer seems to exist for Beowulf or
Chimaera (or later).

I want to install Devuan on a Raspberry Pi Zero W, and also on a Banana Pi R1.

Are these still possible?  Do I need to start from Ascii and then upgrade on
the system itself?

Thanks for any pointers.


Antony.

Last time I needed an RPi image I used this link 
https://arm-files.devuan.org/


Grtz.

Nick

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


Re: [DNG] Chimaera on Dell Wyse 3040 installs but won't boot

2022-01-27 Thread d...@d404.nl

On 27-01-2022 11:06, Mike Tubby wrote:

Can anyone provide help with this one?

I have a Dell Wyse 3040 tiny PC intended for use a thin client running 
"ThinOS" (Ubuntu 16.04 and custom desktop/thin client).


Others have reported success sunning desktop Linux distros "out of the 
box":


https://roytanck.com/2020/05/13/running-linux-on-a-dell-wyse-3040-thin-client/ 



but I want to run Devuan 4.0 Server to run DNS and a few other light 
weight infrastructure things on little box on a home network.


The Wyse 3040 is an Intel Atom quad core unit with 2Gb of DDR3, 16Gb 
of eMMC flash, Gigabit Ethernet, 2 x DisplayPort, 4 x USB and audio.


I have set the BIOS back to defaults, booted from the server 
installation on a USB stick made with Rufus 3.17 and performed the 
installation, re-partitioned the eMMC flash, installed minimum 
components and the installation has run to the end successfully and 
for the "Now time to boot to your new installation".


When rebooting the machine it drops to a "No bootable devices" error.

Now these systems are EFI based and do not appear to have any legacy 
drive support in BIOS.


I have run the installation a second time and paid more attention, 
when it installs Grub it doesn't pop a menu asking where I want the 
boot loader installed (MBR, first partition,) or providing a list of 
'drives' or block devices to choose where to put the boot loader - 
instead something flashes past about grub and EFI and it completes, 
but after cycling the power the system isn't bootable.


Is there something incomplete/configurable/different that has to be 
done on systems with eMMC/EFI to get them to boot?



Mike



IIRC there are two common problems. 1) On the EFI partition there is a 
hard link to Debian directory which should be Devuan or reverse 2) The 
BIOS is expecting a bootx32.efi whereas only a bootx64.efi has been 
installed


You can check this with the tools from the link to GrubEFIReinstall from 
Tim Wallace mail.


Grtz

Nick

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


Re: [DNG] Accepting changed priority for chimaera-backports- what action?

2022-01-23 Thread d...@d404.nl

On 23-01-2022 10:17, terryc wrote:

So exactly what does this message mean and exactly what do I need to do.
Previously I've just repeated the command and the nag message went
away but this time it stays.

user@system: sudo apt-get update
Get:1 http://deb.devuan.org/merged chimaera InRelease [33.9 kB]
Get:2 http://deb.devuan.org/merged chimaera-security InRelease [21.5kB]
Get:3 http://deb.devuan.org/merged chimaera-updates InRelease [26.5 kB]
Get:4 http://deb.devuan.org/merged chimaera-backports InRelease [19.4 kB]
Get:5 http://deb.devuan.org/merged chimaera/main amd64 Packages [8,311 kB]
Get:6 http://deb.devuan.org/merged chimaera/main i386 Packages [8,248 kB]
Get:7 http://deb.devuan.org/merged chimaera/main Translation-en [6,482 kB]
Get:8 http://deb.devuan.org/merged chimaera-security/main amd64 Packages [111 
kB]
Get:9 http://deb.devuan.org/merged chimaera-security/main i386 Packages [111 kB]
Get:10 http://deb.devuan.org/merged chimaera-updates/main amd64
Packages [2,608 B]
Get:11 http://deb.devuan.org/merged chimaera-updates/main i386 Packages [2,612 
B]

Reading package lists... Done
E: Repository 'http://deb.devuan.org/merged chimaera-backports InRelease' 
changed
  its default priority for apt_preferences(5) from 500 to 100.
N: This must be accepted explicitly before updates for this repository can be
  applied. See apt-secure(8) manpage for details

Except man apt-secure doesn't give me anything I understand.

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


IIRC you should use apt instead of apt-get.
apt will ask for conformation.

Grtz

Nick

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


Re: [DNG] Early Days at Bell Labs

2022-01-21 Thread d...@d404.nl

On 21-01-2022 21:26, Hendrik Boom wrote:

On Fri, Jan 21, 2022 at 02:46:39PM +1100, terryc wrote:

On Thu, 20 Jan 2022 13:25:50 -0500
Hendrik Boom  wrote:


On Thu, Jan 20, 2022 at 06:40:13PM +0100, Antony Stone wrote:

On Thursday 20 January 2022 at 17:24:46, Peter Duffy wrote:
   

On Sun, 2022-01-16 at 04:12 -0500, Steve Litt wrote:

Hi all,

https://www.youtube.com/watch?v=ECCr_KFl41E

Thanks for the link to that - brilliant talk. I've always thought
that Brian Kernighan himself was the great communicator in the
UNIX group - I wonder whether "The C Programming Language" and
"The Unix Programming Environment" would have happened without
his obvious ability to take abstruse and difficult material and
make it accessible.

If I had one incredibly tiny nit to pick, it would be that he
didn't mention GNU (it appeared once in the slide showing Linus'
original email). Without GNU, it's reasonable to suppose that
linux wouldn't have happened.

I disagree with "it's reasonable to suppose that".

Linus Torvalds was building a system for himself, partly (I
believe) because he liked Unix but couldn't afford a Unix system of
his own, and therefore he was of course going to build it using as
much free (of charge) software as he could.

That meant GNU.

I think the Unix philosophy and design principles are beautiful,
and formed the basis of an amazingly efficient system, but some of
those principles are embodied in Linux and some are embodied in GNU
(for example, devices as files, and pipes, in the first; and tools
such as tr, cut, grep in the second), so these days we can't really
separate the two - Linux is nothing without GNU (although the
reverse is not true).

And don't forget Minix, the system he used while developing his
kernel.

Didn't Linus start what became Linux because Minix was only 286 capable
and was not going to be upgraded and Linux wanted something that
would run on 386 cpus.

I think there was also a licensing issue involved in modifying Minix.

As far as I know, minix came from Andrew Tannenbaum at the Free University
of Amsterdam.and maybe also from the students in an OS course.

I don't know the details, but it was at one point sold commercially, although 
its main purpose was for teaching.

Whatever the licence then, it seems to have ended up with a sufficiently
free licence for Intel to put a copy of it in the management engine in
their CPUs for the last decade or so *without informing Tannenbaum*.
Tannenbaum was miffed; he said the licence allowed this, but he would
have liked to have been informed.

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


I still do have the book and floppy disk from the 1.0 version somewhere 
in storage. At the time it had a restrictive license and I had Sun and 
HP systems to play with at work so I have not done much with Minix . 
Later on I moved to Linux and forgot about Minix until I learned that 
Intel implemented Minix in their processors ME which was a big surprise 
(Indeed even for Tannenbaum!).


Grtz.

Nick


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


Re: [DNG] Youtube is slow and advertisement laden: Was: Early Days at Bell Labs - Youtube, the systemd of video

2022-01-17 Thread d...@d404.nl

On 17-01-2022 09:41, Mike Tubby wrote:
I have Adblock Plus installed and never see adverts on Youtube at 
home... only on the mobile.


On 17/01/2022 02:54, Ken Dibble wrote:

On 1/16/22 4:06 PM, Steve Litt wrote:

ael via Dng said on Sun, 16 Jan 2022 11:56:51 +


On Sun, Jan 16, 2022 at 04:12:44AM -0500, Steve Litt wrote:

This was discussed on the devuan-offtopic IRC channel, so I watched
the video:

https://www.youtube.com/watch?v=ECCr_KFl41E

But youtube has become impossible to watch with hideous intrusive
deviant advertisements...

Impossible is lifting a Cadillac over your head with just your body's
muscles. Annoying is Youtube advertisements. Youtube is still
watchable. And, if you hate advertisements, you can just subscribe to
Youtube Premium and not get them.


And google seem to have found a way to make
youtube-dl hopelessly slow.

This throttling of youtube-dl is inconvenient but not life-altering.
You can make a list of videos you want to download, put them all in a
shellscript, and set it off just before you go to bed. The next day
you'll have all the videos.

Here's a tip: Be sure to use the --restrict-filenames option so you
don't get hard to rename filenames.

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


Or just install tsp and submit the download commands to the queue.


Ken



On mobile you could try installing Adguard.


Grtz.

Nick


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


Re: [DNG] Early Days at Bell Labs - Youtube, the systemd of video

2022-01-16 Thread d...@d404.nl

On 16-01-2022 15:32, wirelessduck--- via Dng wrote:



On 16 Jan 2022, at 23:38, Dr. Nikolaus Klepp via Dng 
 wrote:


Install umatrix + ublock-origin and that pestilence is gone. Be aware 
that you'll have to fiddle with umatrix to get videos playing.


uMatrix is EOL and the GitHub repository archived a long time ago.

You can achieve similar functionality with just ublock origin with the 
advanced mode dynamic filtering.


https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide 



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


On most systems i do not bother to use the advanced mode from uBlock, 
just update your lists regularly. uBlock as browser addon and PiHole as 
dns blocks virtually every ad and even better it blocks the trackers 
from Facebook, Google etc.


Grtz

Nick

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


Re: [DNG] HDA AD1882 no card

2022-01-09 Thread d...@d404.nl

On 09-01-2022 19:32, k...@aspodata.se wrote:

I have a lenovo desktop computer which I cannot make sound work
on, what am I missing ?

It's a HDA AD1882 "sound card", but alsamixer says "no card".

  alsa-info, kernel config and lenovo doc (see p.80) in:
http://aspodata.se/tmp/sound/

///

I run with static /dev (no udev) and
boot directly to disk (no initrd).

Regards,
/Karl Hammar


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


Maybe obvious but is your sound card enabled in the BIOS? (I did have 
that once so I always ask now)


Grtz.

Nick

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


Re: [DNG] Ryzen?

2021-12-28 Thread d...@d404.nl

On 27-12-2021 18:54, Antony Stone wrote:

Hi.

Disclaimer: I generally don't like people saying things like "I read somewhere
that..." without backing up what they're talking about, but...

I'm sure I've read somewhere (and not especially recently) that Linux on AMD
Ryzen CPUs can be unreliable and/or surprisingly poor performance.

Can anyone comment on current (eg: Beowulf / Chimaera with standard kernels)
operation on such machines?

If it matters, I'm looking at desktop / tower / server motherboards and not
laptops, and I don't care two hoots about graphics - this would be for
networked machines accessed exclusively remotely.

Any opinions from personal experience, or pointers to reliable data, on the
topic would be appreciated :)


Thanks,


Antony.

One of my systems is a early build with a AMD 2400G a few years ago 
which had some graphics issues with X. One kernel later and manually 
added AMD APU firmware from kernel.org for the graphics part and 
everything runs smoothly ever since.


Grtz,

Nick


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


Re: [DNG] openjdk-17 ?

2021-12-24 Thread d...@d404.nl

On 24-12-2021 21:22, Antony Stone wrote:

On Friday 24 December 2021 at 21:00:10, hal wrote:


Hi All,
I'm trying to play Minecraft v1.18.1 but it needs java v17. It looks like
v11 is the only available version for Beowulf. I'd rather not download the
Debian .deb from oracle. Anyone know of a repo I can add for Beowulf?

https://computingforgeeks.com/install-oracle-java-openjdk-on-debian-linux/
might be what you're looking for.


Antony.

You can also take a look at 
https://adoptium.net/?variant=openjdk17=hotspot


that is the version I use to run minecraft-server

Grtz

Nick

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


Re: [DNG] Pipewire and PulseAudio: apulse & firefox

2021-12-16 Thread d...@d404.nl

On 16-12-2021 01:58, aitor wrote:


Hi Steve,

On 16/12/21 1:09, Steve Litt wrote:

I'm not so sure. We're hearing anecdotes of people running Firefox with
only ALSA. Perhaps there's some secret magic incantation that we don't
yet know about.


FF needs to be compiled passing the flag:

ac_add_options --enable-alsa

I removed pulseaudio, apulse and libpulse0, and the sound is working 
for me.


Cheers,

Aitor.

Is it still working with pulseaudio after being compiled with 
--enable-alsa? If yes we could add a Devuanized firefox to the build 
process.


Grtz

Nick

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


Re: [DNG] Migrating from Docker to Podman

2021-12-09 Thread d...@d404.nl

On 10-12-2021 02:57, wirelessduck--- via Dng wrote:

Has anyone noticed issues when trying to switch from Docker to Podman
in Devuan chimaera?

I'm getting an error when trying to run the latest `hadolint` image in
Podman which doesn't occur under Docker.

$ docker run -it docker.io/hadolint/hadolint:v2.8.0 hadolint
Please provide a Dockerfile

$ podman run -it docker.io/hadolint/hadolint:v2.8.0 hadolint
hadolint: getXdgDirectory:getHomeDirectory:getUserEntryForID: does not
exist (No such file or directory)

Does this happen for anyone else, or have I broken something?  I just
uninstalled docker and ran `apt-get install podman
debian-podman-config-override` so I haven't touched any other
configuration settings yet.

Podman does provide an upstream package repository
(https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/podman)
which I wanted to use to try the newer release version but
unfortunately their podman package has a dependency on
`dbus-user-session` making it unusable from Devuan.  I'll try to spin
up a daedalus VM to test the newer version if the repositories for
that are ready to go.

If i remember correctly Podman coming from Redhat depends heavily on 
systemd which is of course not available in Devuan. But please let us 
know if you succeed to run it under Devuan.


Grtz

Nick

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


Re: [DNG] libfluidsynth-dev requires libsystemd0, fails to install

2021-12-06 Thread d...@d404.nl

On 06-12-2021 22:34, Nicola Orrù via Dng wrote:

Hi Mark,

Thanks for the tip. I remember using debootstrap a long time ago and
it wasn't exactly fun, or trivial. I am looking at Howtos and It does
sound like an awful lot of work just to build a LV2 audio plugin from
source.

Just to clarify again, the plugin I am building is only distributed as
source code, no binaries provided and no distro packages of any kind.
I don't need a .deb package of this software, just the output
binaries, nor I intend to make one.

Here's the software if anyone fancies a play:

https://github.com/brummer10/Fluida.lv2



Dependency

libcairo2-dev
libx11-dev
lv2-dev
libfluidsynth-dev


For now I've hacked it by force installing iibsystemd-dev and
libfluidsynth-dev, building the plugin, and then uninstalling them. I
wonder if it could be easier to just spin a vanilla Debian system in a
VM next time.

The other alternative I can think of would be to just install the libs
from source and comment out the systemd bits. Upgrading sounds painful
though.

Cheers,
Nico



I can give it a try building it in a Debian docker container with all 
dependencies and copy the binaries to the local file system.

That would be easier then a complete VM for a few dependencies.

Grtz.

Nick



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


Re: [DNG] installing zoom in Chimaera

2021-12-05 Thread d...@d404.nl

On 05-12-2021 00:10, aitor wrote:

On 12/4/21 11:14 PM, aitor wrote:

On 12/4/21 11:08 PM, Haines Brown wrote:

put copy of libdconf1_0/38.0-2.deb in that directory and ran

   # apt install -f ./libdconf1
   ...
   Reading package lists... Done
   E: Unsupported file ./libdconf1 given on commandline


You need to write the complete name of the package, including also 
the .deb extension.



For example:

# dpkg -i libdconf1_0.38.0-2_amd64.deb

HTH,

Aitor.



 Or

# dpkg -i ./lib*deb

if it is the only lib* deb-package in that directory.

Grtz

Nick

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


Re: [DNG] exim paniclog /var/log/exim4/paniclog has non-zero size

2021-11-30 Thread d...@d404.nl

On 01-12-2021 00:00, Marc Shapiro via Dng wrote:
I am getting e-mails like the one below all the time, now.  I had this 
problem once before and I think that all I had to do was clear the 
paniclog with '> paniclog', but that does not seem to be working, 
now.  I cleared it this morning, and when I just checked it was 
filling up again.  It looks like I get three lines every half hour.  
This is preventing me from receiving e-mails sent by a cron job that 
runs a backup script.  Any ideas on how to get rid of this and not 
have it come back would be greatly appreciated.


Marc

e-mail showing paniclog:

exim paniclog /var/log/exim4/paniclog on quixote.home has non-zero 
size, mail system might be broken. Up to 10 lines are quoted below.


2021-11-30 06:00:19 1momA3-00054k-DE ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 06:30:19 1mrJnB-00026m-53 ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 06:30:20 1mmEkA-9l-Jr ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 06:30:20 1momA3-00054k-DE ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 07:00:19 1mrJnB-00026m-53 ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 07:00:19 1mmEkA-9l-Jr ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 07:00:19 1momA3-00054k-DE ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 07:30:19 1mrJnB-00026m-53 ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 07:30:20 1mmEkA-9l-Jr ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted
2021-11-30 07:30:20 1momA3-00054k-DE ==m...@quixote.home R=local_user 
T=mail_spool defer (-1): Tainted '/var/mail/marc' (file or directory 
name for mail_spool transport) not permitted


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


You probably used a UID/GID to clear paniclog which exim cannot write to 
because different group or no group or other rights.


Grtz

Nick

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


Re: [DNG] Wanting to set up an email system

2021-11-28 Thread d...@d404.nl

On 27-11-2021 16:17, o1bigtenor via Dng wrote:

Greetings

Started way back when when I got to the web full-time using webmail.
Haven't ever setup an email system and AIUI it is a system - - - there 
are a lot of parts that have to work together to have everything 
working well.


A mentor, now deceased, recommended using Claws but even that's not 
all that's needed for an email system. So - - - I'm looking for 
recommendations on what and how to setup an email system. The why 
you're using what you are is vitally important for me (as are my 
security and privacy).


Please

TIA

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


If you want a fast way to setup a mailserver including spam and 
viruscontrol, webmail and webadmin and much much more, I would take a 
look at https://hub.docker.com/r/mailserver2/mailserver


This is a all-round mailserver in a docker container(s) which is 
relative easy to setup. Far more easy then doing it by hand and I have 
done both so I can tell from experience.


Full source code is available at github.

Grtz

Nick


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


Re: [DNG] networking thinking

2021-11-28 Thread d...@d404.nl

On 28-11-2021 15:36, wirelessduck--- via Dng wrote:




On 29 Nov 2021, at 01:07, tito via Dng  wrote:

On Sun, 28 Nov 2021 07:20:14 -0600
o1bigtenor via Dng  wrote:


Greetings

In anticipation of a fiber optical connection (moving from a wireless) I
have been planning out and purchasing some bits of hardware. Am finding
that networking is, at least sure seems to be, another black hole 
for time

and effort.

TL;DR (skip to last paragraphs for the question(s))

At present this is a soho office kind of installation but that will 
slowly

be morphing into something that is at least somewhat larger. There are a
number of input sensor locations being worked on some of which would be
generating, initially at least, up to 15 data streams sampled possibly
every second (some maybe more often - - - decisions aren't all done 
as yet)
so there will be a fair amount of data running around on my network 
which

I'm trying to keep largely a wired affair.

At this point I'm working on the three entry bits of hardware (and their
software) - - - the router, hardware firewall, and the managed 
switch. The

initial hockup on the fiber system is going to be at 250 Mbps sysmetric.

For the router I'm planning on using OpenWRT running on a Nanopi r4s 
which
according to the folks over on openwrt capable of even very close to 
full
Gbps speeds (IIRC tested to some 918 Mbps) which would give some 
headroom

for future increases although I don't see a need for the foreseeable
future.

For the switch I have found myself a XyZel 1900-48 that I'm working on
getting OpenWRT on. This ability to run a managed switch on OpenWRT is
somewhat new but its open source and I'm not tied (I don't think) to
OpenWRT - - - - except I don't know any other real alternative - - - so
that's not a difficult solution either. I don't 'need' 48 ports but 
I have
16 at present on a hub and its almost full and that's for stuff only 
here

in the orifice (sic!). I also want the capabilities of forcing streaming
services and wireless communications to not collect any more data 
from any

other part of the network (using VLANs) as is possible.

Then lastly to the hardware firewall.
I've been looking at pfsense and opnsense. Both are ipv6 possible 
although
both are mostly focused on ipv4 at the present. IPfire seems to have 
gotten

itself into a holding pattern and is not continuing work toward ipv6
functionality. Any one of these options are producing headaches when I'm
trying to figure out how to configure them - - - nothing installed at
present, just researching so far.

So - - - - questions - - - -
1. is my splitting the network system into the three parts a good 
idea or
should I truncate parts 1 and 2 into the router? If you would please 
give

reasons - - - please?


Hi,

If you want to have reliability splitting is good, if the router breaks
you still have a working firewall and switch and so on.
If you want also some redundancy you should think of buying
two of everything:

2 routers
2 firewalls
2 switches (2 x24 rather than 1x48 ports)

I personally prefer x86 hardware for this kind of things
when I see that little boxes like the Nanopi R4S they make me
think about toys. In my case sadly I'm tied to adsl over pots
so for the modem I still need to use this little plastic blackboxes.
In your case I would swap the nanopi for a nice mini-itx board
with intel nics, a sfx/flex psu (or pico psu), 4-8 gb of ram and a well
ventilated case (with low noise Noctua fans).


2. are there any good sources for information on and about networking?
debian has moved to nftables from iptables  - - - is devuan doing
similar?


I think so.


Where does one find information to enable a firewall that works yet
isn't stupid?


I use arno-iptables-firewall It is easy to create a basic setup for 
your network,
reliable, comes with good defaults and can easily be tweaked (for 
port-forwarding,
vpns, geoip filtering and so on, don't know about vlans as don't use 
them yet).


(I've wondered about having some kind of easy 'switch' that when 
users left
their systems that the system wouldn't be calling home in the 
overnight at

least a la ms googly. Dunno if that's 'simple' or not - - - so much to
learn and so little time to do it all in!)

TIA


Ciao,
Tito


I’ve just finished setting up a new router using PCEngines APU2 
(apu4d4 model) with OpenWRT. Uses x64 AMD Embedded G series GX-412TC 
and has 4x Intel i211AT Ethernet ports. It also runs a Coreboot bios 
and I can see regular bios updates approximately monthly. The coreboot 
bios and AMD CPU were the main reasons I picked this over a Qotom box. 
It’s also fanless which is good for a quiet environment.


The only downside is having only serial console output so you need a 
serial cable or serial-usb cable for the initial setup or bios 
configuration changes. Thankfully subsequent bios updates can be done 
with OpenWRT via flashrom.


https://pcengines.ch/apu2.htm 

Re: [DNG] system administration of non-systemd distros and releases

2021-11-26 Thread d...@d404.nl

On 26-11-2021 21:53, Dr. Nikolaus Klepp via Dng wrote:

Anno domini 2021 Fri, 26 Nov 15:33:11 -0500
  Ken Dibble scripsit:

On 11/26/21 1:57 PM, d...@d404.nl wrote:

On 26-11-2021 17:27, goli...@devuan.org wrote:

On 2021-11-26 05:08, Peter Duffy wrote:

It's a bit like the charlatans and fake doctors in past centuries.
They'd invent an illness, and then claim to have a remedy for it:

https://en.wiktionary.org/wiki/marthambles



LOL! Isn't that exactly what big pharma is still doing with direct
marketing to consumers of their latest "cure" for a newly discovered
"disease"?

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

Well, big pharma does do some research and sometimes come with new and
useful medication. But it is true that they spend more on marketing
than on research.

Grtz

Nick

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

I am not trying to create problems of any type.  I would honestly like
the source of the claim that big pharma spends more on marketing than on
research, before I repeat it, and am left without a defense.

5% R, 45% Marketing, 50% profit - at least these were the last published 
numbers. Sorry, I just have a source in german:
https://www.amazon.de/Lizenz-Pl%C3%BCndern-multilaterale-Abkommen-Investitionen/dp/3434530177

This book ist not the newest, but it has valid numbers. And both authors have 
quite a name :)

Nik



Ken

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

This is reasonable recent 
https://www.pharmacychecker.com/askpc/pharma-marketing-research-development/


Grtz

Nick

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


Re: [DNG] system administration of non-systemd distros and releases

2021-11-26 Thread d...@d404.nl

On 26-11-2021 17:27, goli...@devuan.org wrote:

On 2021-11-26 05:08, Peter Duffy wrote:

It's a bit like the charlatans and fake doctors in past centuries.
They'd invent an illness, and then claim to have a remedy for it:

https://en.wiktionary.org/wiki/marthambles




LOL! Isn't that exactly what big pharma is still doing with direct 
marketing to consumers of their latest "cure" for a newly discovered 
"disease"?


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


Well, big pharma does do some research and sometimes come with new and 
useful medication. But it is true that they spend more on marketing than 
on research.


Grtz

Nick

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


Re: [DNG] Is it dead yet?

2021-10-26 Thread d...@d404.nl

On 26-10-2021 02:28, Hendrik Boom via Dng wrote:

I think I may have a clue to the mysterious stoppages of my server.
I ssh'd into it today and got the following.  It is time to give up on 
this machine and replace it?


-- hendrik


hendrik@april:~$ su -
Password:
april:~# ps | grep lighttpd
^C^C
Message from syslogd@april at Oct 25 20:15:48 ...
 kernel:[ 5700.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


Message from syslogd@april at Oct 25 20:16:16 ...
 kernel:[ 5728.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


Message from syslogd@april at Oct 25 20:16:52 ...
 kernel:[ 5764.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 23s! [ps:9184]



Message from syslogd@april at Oct 25 20:17:20 ...
 kernel:[ 5792.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


Message from syslogd@april at Oct 25 20:17:56 ...
 kernel:[ 5828.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


Message from syslogd@april at Oct 25 20:18:24 ...
 kernel:[ 5856.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


Message from syslogd@april at Oct 25 20:18:56 ...
 kernel:[ 5888.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


Message from syslogd@april at Oct 25 20:19:24 ...
 kernel:[ 5916.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


Message from syslogd@april at Oct 25 20:20:00 ...
 kernel:[ 5952.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


Message from syslogd@april at Oct 25 20:20:28 ...
 kernel:[ 5980.156005] NMI watchdog: BUG: soft lockup - CPU#1 stuck 
for 22s! [ps:9184]


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


I would try another kernel version first that solved it on one of my 
desktops.


Grtz

Nick

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


Re: [DNG] Reinstalling unbootable laptop...

2021-08-15 Thread d...@d404.nl

On 15-08-2021 12:05, al3xu5 wrote:

Hi all

About one or two years ago I had installed Devuan on my brother's laptop.

It is a Lenovo B50-10 (model 80QR), with a 64bit Intel N3540 CPU, 4GB
DDR1600 RAM and a mechanical 500GB HDD (see:
https://pcsupport.lenovo.com/cr/en/products/laptops-and-netbooks/lenovo-b-series-laptops/b50-10/80qr/documentation/doc_userguide)

Two weeks ago I tryed some BIOS changes and did an apt-get update/upgrade.
Do not remember neither which BIOS changes I tried, nor the order I did
changeas and apt-get...

This resulted in a unbootable system (a loop, booting and rebootin,
without starting the system).

Ok... I know I was too hurried and not very careful...

I tried to fix the situation using some usb live tools, but without
success.

Anyway, as the previous installation had not been completely smooth, and
the system had been a little messed up by my brother, and I don't want to
waste more time trying to fix it, I'm about to reinstall it.

Very shortly, the plan is:

a) Set the BIOS in UEFI Mode (and not legacy: it seems that Lenovo
machines will only have this mode in the future)

b) Download and use the most updated Devuan 3.1 netinstall ISO from USB

c) Run the installation procedure -- About partitions: I think I will use
the partitioning tool (in manual and non-automatic mode) provided by the
ISO, possibly maintaining the same scheme of existing partitions

Kindly, I therefore ask you observations and advice about this plan.

My major doubts are about the HDD partitions (which is a 500GB
*mechanical* HDD), and how to be sure I will have a stable and clean boot
process.

Many thanks in advance

al3xu5



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


I wonder if you have been bitten by "grub-efi-amd64-signed bug: 
hardcoded link -> unbootable system" earlier on this mailinglist.


When you have a separate /home partition I would go for the manual 
partition route and leave this partition alone. After installing and 
stable boot you can add the home partition manually in /etc/fstab and 
have all your brothers settings back.


Grtz

Nick



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


Re: [DNG] Need openssl for this week's fetchmail vulnerabiltiy fix

2021-08-07 Thread d...@d404.nl

On 07-08-2021 11:54, dva...@internode.on.net wrote:


Have just downloaded fetchmail-6.50.beta4 for its CVE-2021-36386
fix. But for it to build, I need to build openssl first. (Having the 
ordinary

openssl deb installed doesn't cut it.) My problem is:

# apt-get source openssl
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

But how can that be, given:

# cat /etc/apt/sources.list
## package repositories
deb http://deb.devuan.org/merged beowulf main
deb http://deb.devuan.org/merged beowulf-updates main
deb http://deb.devuan.org/merged beowulf-security main
deb http://deb.devuan.org/merged beowulf-backports main

## source repositories
deb-src http://deb.devuan.org/merged beowulf main
deb-src http://deb.devuan.org/merged beowulf-updates main
deb-src http://deb.devuan.org/merged beowulf-security main
deb-src http://deb.devuan.org/merged beowulf-backports main

I'll admit my eyesight isn't 20-20, but what more it could want
eludes me.

Erik

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


My sources.list looks like:


deb http://deb.devuan.org/merged beowulf main non-free contrib
deb http://deb.devuan.org/merged beowulf-security main contrib non-free
deb http://deb.devuan.org/merged beowulf-updates main contrib non-free


deb-src http://deb.devuan.org/merged beowulf main non-free contrib
deb-src http://deb.devuan.org/merged beowulf-security main contrib non-free
deb-src http://deb.devuan.org/merged beowulf-updates main contrib non-free

Maybe you should add contrib and/or non-free too. In my case it just 
works with apt-get source openssl


Grtz

Nick

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


Re: [DNG] New service manager being developed

2021-07-31 Thread d...@d404.nl

On 30-07-2021 14:54, Enrico Weigelt, metux IT consult wrote:

On 21.07.21 13:34, d...@d404.nl wrote:

Great initiative. I am currently using Alpine combined with 
s6-overlay in most of my docker containers and it works very well.


Just curious: what are you using a s6 inside docker containers for ?

I've always been under the impression that docker containers are meant
for running only one application/service per container and thus don't
need an extra service supervisor inside the container.


By the way: IMHO a huge portion of the whole topic is describing the
individual services. I've made some experiments on some hi-level
service description that hopefully should be universal enough for
driving quite any supervisor/service manager on any distro from that,
while still being easy to maintain, even for the actual package
upstreams. Of course, that's just a little PoC, nothing usable in
the field. https://github.com/metux/srvman



--mtx

I know the theory but in practice I wanted a small static server with 
Letsencrypt and cron enabled in one small container. So I took a Alpine 
base image added s6 and the services needed. BTW Alpine uses busybox 
crond not cron. Especially for small an low resource computers you will 
prefer 1 containter above 3  separate ones.


Grtz.

Nick


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


Re: [DNG] New service manager being developed

2021-07-21 Thread d...@d404.nl

On 20-07-2021 22:33, Martin Steigerwald wrote:

Hi!

Look at

https://skarnet.com/projects/service-manager.html

Sounds quite interesting, if you ask me.

Best,


Great initiative. I am currently using Alpine combined with s6-overlay 
in most of my docker containers and it works very well.


A separate initiative to write more readable documentation for the 
masses would surely help to get more traction.


Grtz.

Nick





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


Re: [DNG] Advice sought re: ejabberd

2021-07-18 Thread d...@d404.nl

On 18-07-2021 13:17, o1bigtenor via Dng wrote:

Greetings

I have, at least temporarily, abandoned installing 'Evergreen' - -
library software.

Far too many books around here never mind a huge collection of papers
most often pdfs.

The Evergreen 'system' uses ejabberd as a communication tool and it
would seem to me (new at digging under the hood as it were) that
ejabberd is quite intertwined into this system.

Ejabberd was installed as part of the install but then  in the setup
it is necessary to shut it off.
The install workflow used 'systemctl' etc etc as a control
I used 'service ejabberd stop' which worked but when I wanted to
restart the service the complaints started.

Is there a simple way to change this reliance on systemd or is this
something better left to someone who does know what they're doing (not
me - - - grin!)?

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


Most likely you cannot do service ejabberd restart after a stop. You 
have to use service ejabberd start
Otherwise you get a error/warning that no running service has been found 
before starting the service.


Grtz

Nick




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


Re: [DNG] Devuan for WSL

2021-07-15 Thread d...@d404.nl

On 15-07-2021 23:02, Harald Arnesen via Dng wrote:

Linux O'Beardly via Dng [15.07.2021 19:57]:


Has anyone attempted and/or had success at creating a WSL distribution
from a Devuan docker image? I started a new gig and am stuck with a
Windows laptop, but they will allow us to run WSL. Any info would be
greatly appreciated.

Not from a docker image, but I installed Debian and upgraded to Devuan.


Same here, i upgraded from Debian Buster to Devuan Beowulf.
Running Linux containers on Windows with WSL works like a charm too 
although there are some differences between WSL 1 and 2.
Last but not least I do have a not optimized ASCII docker image in a 
private repo which I willing to share (after some cleanup).


Grtz.

Nick




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


Re: [DNG] problem with apt after restore after crashed disk...

2021-07-01 Thread d...@d404.nl

On 01-07-2021 11:41, Jim Jackson wrote:



On Thu, 1 Jul 2021, terryc wrote:


On Thu, 1 Jul 2021 09:46:02 +0100 (BST)
Jim Jackson  wrote:


On Wed, 30 Jun 2021, Arnt Karlsen wrote:


On Mon, 28 Jun 2021 23:12:28 +0100 (BST), Jim wrote in message
:
   

On Mon, 28 Jun 2021, tempforever wrote:
   

Jim Jackson wrote:



On Mon, 28 Jun 2021, ael wrote:

On Mon, Jun 28, 2021 at 01:11:20PM +0100, Jim Jackson wrote:

If not, can anyone tell where I can get the devuan libapt-pkg5.0
package file?

..try "aptitude update & download libapt-pkg5.0 \
& |grep libapt-pkg ".
   

I don't have aptitude installed :-(

Err try sudo "apt-get install aptitude"

Err... that's the problem with quoting the original problem :-)

# apt-get
apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0:
symbol
_ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time
reference

# apt
apt: relocation error: /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0:
symbol
_ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time
reference

After a restore of a backup with saving capabilities or extended attributes
apt and apt-get are not functioning. Which is where I came in



FWIW, I "aptitude search stuff" all the time, because it is the easiest
search phrase to rember.

Have you tried to download the apt or aptitude package (from 
packages.debian.org or similar from devuan.org) and to install it with 
dpkg -i


Grtz

Nick




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


Re: [DNG] USB mount problem

2021-06-26 Thread d...@d404.nl

On 26-06-2021 11:45, o1bigtenor via Dng wrote:

On Fri, Jun 25, 2021 at 6:10 PM Patrick Bartek via Dng
 wrote:

On Fri, 25 Jun 2021 11:34:32 +0200
Alessandro Vesely via Dng  wrote:


On Tue 15/Jun/2021 20:41:09 +0200 Patrick Bartek via Dng wrote:

I have found that each desktop uses its own method of automounting.
PCManFM may have the mounting code built-in. Or it may use udiskie.
Check PCManFM's dependencies and see if udiskie is listed. Did you
install udiskie yourself? If not, then some other app did and it's
probably needed. If it's not causing problems, leave it be.


Right.  For spacefm it is udevil.

Curiously, spacefm was mounting smoothly until yesterday, on chimaera
+ openbox.  After I did a system upgrade, I couldn't mount an USB key
any more, until I manually installed udevil.  What happened,
dependency changes?

This is one of the "gotchas" that can happen when running an "in
development" version.  As far as why it happen: could be a number of
things.  Most of the time, it's because a dependency, like udevil to
spacefm, become mismatched version-wise.  That is, udevil has become
"too old" to work with spacefm, and the upgrade process uninstalls it.
Try "full-grade" instead of just "upgrade" to get the newer version of
the dependencies when "upgrading." In fact, this is the recommended
procedure when running an "in development" or testing version.


Please - - - not understanding the command(s) suggested.
I usually use :
# apt update
# apt upgrade

so you're suggesting the use of
# apt update
# apt full-grade
or is that
# apt full-upgrade?

TIA


The right command is  apt full-upgrade.

The main difference between full-upgrade and upgrade is full-upgrade 
also delete dependencies which are no longer used. I guess that the 
older version apt-get dist-upgrade does do something similar.


Grtz

Nick




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


Re: [DNG] ..maybe webmin?, was: Cockpit removal might make sense

2021-06-13 Thread d...@d404.nl

On 08-06-2021 00:46, Hendrik Boom wrote:

On Tue, Jun 08, 2021 at 12:05:39AM +0200, Arnt Karlsen wrote:

..snip "tech" justification of subversive systemd politics.


So in summary, there is no way of running cockpit in a
non-systemd/Linux environment that I'd be willing to support.

Most of the worries mentioed here seem a bit overblown, but still
need to be considered.

..found just 3 mentions of "systemd", and this gem in:
https://metadata.ftp-master.debian.org/changelogs//main/c/cockpit/cockpit_243-1_changelog
"- Detect unregistered RHEL systems on Software Updates page"

But I did look at those mentions of systemd.  The one I found
worrisome was the first:

   * Add smoke autopkgtest that can run in containers.
 Add a simple test of cockpit-bridge and the login page to ensure that
 packages have the right dependencies and contents, and that the systemd
 units are set up correctly to get a login page on
 https://localhost:9090.
 This can also run in a container and thus in Debian's CI and on all

If systemd becomes an integral par of Debian's packaging system,
it may cause us difficulties.

-- hendrik

..now, Martin Pitt does offer a good recommendation:

For these I'd rather recommend looking at webmin, ebox, or similar
project."

..https://alternativeto.net/software/cockpit-linux/

..to maintain e.g. webmin (https://www.webmin.com/ )
support for cockpit, you may wanna look at these 2: ...
"https://packages.debian.org/sid/cockpit-bridge
Cockpit bridge server-side component
The Cockpit bridge component installed server side and runs commands
on the system on behalf of the web based user interface."
...and "https://packages.debian.org/sid/cockpit-tests
Tests for Cockpit
This package contains tests and files used while testing Cockpit.
These files are not required for running Cockpit." ...

...and check systemd and cockpit brass thinking: ...
https://packages.debian.org/sid/cockpit-doc
"Cockpit deployment and developer guide
The Cockpit Deployment and Developer Guide shows sysadmins how to
deploy Cockpit on their machines as well as helps developers who
want to embed or extend Cockpit."

...against: https://packages.debian.org/source/sid/cockpit
and the possible potential Ken Thompson style hacks:
https://duckduckgo.com/?q=Ken+Thompson+style+hacks=web

..and, who needs a compiler with systemd onboard?  My guess is systemd
running as PID1, can be set up to launch such possible "Ken Thompson
style hack" attacks, all you need to do is hide them away in binaries
somewhere "neccessary" online, so these new Cockpit web admin user
systemd victims never understand them, even if they ever find out how
to read such C etc code...

..on cockpit and alternatives:
https://www.unixmen.com/cockpit-a-beginner-friendly-server-administration-tool/
https://www.linux-magazine.com/Issues/2020/241/Cockpit
https://www.hostingadvice.com/how-to/cpanel-vs-plesk-vs-webpanel/
https://alternativeto.net/software/webmin/
https://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels

..cockpit is not known by Wikipedia:
https://en.wikipedia.org/wiki/Cockpit_(disambiguation)
https://en.wikipedia.org/w/index.php?title=Special:Search=500=0=default=intitle%3A%22Cockpit%22=1


..turns out ebox changed its name, and, it does not support Procmail:
https://zentyal.com/features/

..webmin supports procmail.

--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
   Scenarios always come in sets of three:
   best case, worst case, and just in case.


Not hindered by any knowledge about system programming I am wondering 
how much work it would be to implement a socket activation interface 
without systemd. Although what I read about its design it is unnecessary 
complicated. Using a tinylog component in systemd until syslogd is 
loaded is one example of such complicating solution.


Has anyone invested some time in analyzing systemd's  socket activation 
and mind to share it on this list or in email?


Grtz

Nick




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


Re: [DNG] Cockpit removal might make sense

2021-05-25 Thread d...@d404.nl
On 25-05-2021 17:22, g4sra via Dng wrote:
> <--snip-->
>
>>> I sympathise, but am not sure this would (currently) be the best use of 
>>> resources.
>>> There is an ever growing list of packaged applications that do not function 
>>> without SystemD.
>>> If every one were identified, then removal of all from the repos may be 
>>> justified.
>>> Who is going to volunteer to be the Devuan developer that continuously 
>>> performs this duty ?
>>> I see this as being the work for a downstream distribution, to take the 
>>> freedom that Devuan provides and tailor it (reducing choice) for a specific 
>>> target use.
>> There should be soe way of warning potential users once it has been
>> discovered that a package is useless. We're wasting their time
>> otherwise.
> Are you volunteering to collate and maintain a list of SystemD dependant 
> application packages ?
> If so, I am sure some Users would be grateful and Devuan could add it 
> alongside the release notes.
>
> Devuan is not a distribution for 'newbie's, there is a benefit from not 
> stripping them out. Anyone who is really passionate about a particular broken 
> package will either attempt a fix and submit a patch upstream or pay someone 
> else to do so.
>
Maintaining such list is not feasible for one person. Personally I was
thinking of a wiki page with packages broken by systemd with version
number and date.

Grtz.

Nick




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


Re: [DNG] connection manager as failing dns resolver?

2021-04-29 Thread d...@d404.nl
On 29-04-2021 22:11, Hendrik Boom wrote:
> On Mon, Apr 26, 2021 at 12:53:53PM -0700, Rick Moen wrote:
>> Quoting Hendrik Boom (hend...@topoi.pooq.com):
>>
>>> Looks as if the connection manager is taking over dns.
>>>
>>> Who knew?  And whom does it talk to?  Does it contain its own recursive 
>>> DNS resolver?  Or does it just pick up on the DHCP signals it gets from 
>>> elsewhere and take over?
>> connman (which I don't use, and have only read about) does _not_ appear
>> to include a recursive nameserver.  
>> https://launchpad.net/connman
>>
>> The data you've posted so far that I've read in this thread (but I
>> haven't caught up with the full thread, yet) seem bizarre, in suggesting
>> that connman itself is hogging port 53 on localhost -- which would
>> definitely mean either it's handling any recursive requests or nothing
>> is.
>>
>> I'd have been extremely surprised if any connection management utility
>> had an integral recursive nameserver.  The latter are complicated
>> projects, which is why there have been relatively few successful ones.
> It would surprise me, too.
>
> My guess is that it gets the DHCP information and does nothing but
> relay DNS requests to the DHCP-indicated nameserver.
>
> The problem I'm having is that sometimes the network anager seems to fail
> in some unclear fashion, and when it does so, even if it manages to 
> re-establish connexions to the rest of the world, even through the same
> server, it doesn't always seem to be able to do name resolution afterward.
> So DNS requests fail.
>
> It might re-establish taht connection through a different hardware
> device on the laptop, by the way, such as switching between wired
> and wifi.  Although all these connections lead to the same server
> with the same IP number.
>
> To keep tings running, I hand-edit /etc/resolv.conf to point to an
> easily remembered nameserver, such as 8.8.8.8.
>
> Of course that's clobbered next time I boot then machine.
>
> So I'm wondering -- can I stop the connectino manager from being
> obnoxious, or if I replace it, what to I replace it with?
>
> -- hendrik
>
> P.S.  I seem to emember having a diffrent program setting up
> connections long ago on another machine.  Might it have been
> called network manager?  What such tools are available?
>
> If it weren't a single-user-at-a-time personal computer,
> having network setup be a user instead of system responsibility
> would be stupid.  As it is, when I boot up in a strange place
> I might like some control as to what to connect to, so this
> stupid policy works out OK.
>
> -- hendrik
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

I do have one stubborn laptop which has a similar behavior and to keep
it going i have entered the dns in /etc/resolv.conf and made the file
readonly. So far this works fine.

Grtz.

Nick

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


Re: [DNG] strange mutt pauses

2021-04-14 Thread d...@d404.nl
On 14-04-2021 16:19, Hendrik Boom wrote:
> I have an unreliable connection between my server and the rest of the 
> world.
> Yes, I'm going to have to deal with that; it's not what I'm asking about.
>
> I have a reliable wired connection from my laptop to my server.
> And I run mutt on my server, connecting to it by ssh.
>
> What puzzles me is that every now and then, communication from my laptop to 
> mutt mysteriously pauses.  After a while, it resumes.
>
> Using a separate ssh connection to root on the server (which I use to 
> monitor my unreliable connectino to the rest of the world), I've noticed:
>
> That separate ssh connection stays up when mutt blocks.  But using 
> ifconfig on that separate ssh connection tells me that pppoe connection to 
> the rest of the world is off when mutt blocks.
>
> Why does mutt block, not even letting me type into the editor for an email 
> I plan to send, when the ppp connection is down?  What does mutt have to do 
> with an internet connection?  Isn't that postfix/s job?
>
> -- hendrik
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Most likely it does do a domain name lookup which times out by lack of a
ppp connection.

Grtz

Nick




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


[DNG] Fwd: adding raspi to sources.list

2021-03-31 Thread d...@d404.nl

On 31-03-2021 00:46, Gregory Nowak wrote:
> On Tue, Mar 30, 2021 at 09:44:24PM +0200, d...@d404.nl wrote:
>> For my regular Pi's i just have the following in my apt sources
>>
>> deb http://deb.devuan.org/merged beowulf main
>> deb-src http://deb.devuan.org/merged beowulf main
>> deb http://deb.devuan.org/merged beowulf-security main
>>
>> and this just works.
> So, I see there is a linux-image-4.19.0-16-armmp package, which just
> provides the kernel in /boot. I also see there is a raspi-firmware
> package, which seems to work with the kernel and initramfs-tools to provide
> firmware in /boot/firmware. It looks like /boot should be in the root
> file system, and /dev/mmcblk0p1 should now be mounted as
> /boot/firmware, correct? Does installing linux-image-4.19.0-16-armmp
> and raspi-firmware in Beowulf provide the necessary kernel and
> firmware to boot a raspberry pi, or are there more packages I need?
> For completeness, I'm upgrading to Beowulf on a raspberry pi 2b. Thanks.
>
> Greg
>
>

Edit: list.dyne.org was not added automatically.

I did not keep notes when I installed it but /dev/mmcblk0p1 has been
mounted as /boot. Booting from a Pi 2b depends on bootcode.bin, dtb's
and kernel being present on /dev/mmcblk0p1. If I remember correctly I
kept the whole install from a Raspbian sd-card and changed the
apt/sources.list first to ascii updated and after that to beowulf. And I
cloned and builded https://github.com/raspberrypi/userland for the
typical Raspberry Pi userland software.

I could not find the raspi-firmware package you mentioned. After adding
the non-free repo the raspi3-firmware was present which indeed contains
bootcode.bin etc. But apt tries to install this in /boot/firmware which
does not exist on my Pi. So maybe you need to copy the contents of
/usr/lib/raspi3-firmware/ manually to the mounted /boot directory. From
experimenting with booting from NFS I remember that bootcode.bin must be
present in the root of the first partition. Which after booting is
mounted under /boot

Remember this only works for Rpi 2 and higher. In the past I have been
bitten by updating a Pi 1b to Devuan Jessie because of the arm v7
instruction set being used in Devuan/Debian while Pi 1 and Zero are arm
v6 with hard float instructions.

Grt.

Nick





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


Re: [DNG] adding raspi to sources.list

2021-03-30 Thread d...@d404.nl
On 30-03-2021 00:20, Gregory Nowak via Dng wrote:
> On Mon, Mar 29, 2021 at 11:42:00AM +0300, Dimitris via Dng wrote:
>> this package is ascii (not beowulf), so you probably need :
>>
>> deb http://deb.devuan.org/merged ascii raspi
>>
>> d.
> I guess that would explain why it's not indexed in Beowulf. When I add
> the above to my sources.list and apt-get update, I get:
>
> W: Failed to fetch http://deb.devuan.org/merged/dists/ascii/InRelease
> Unable to find expected entry 'raspi/binary-armhf/Packages' in Release
> file (Wrong sources.list entry or malformed file)
>  
> Since this isn't a Beowulf package, I'm probably better off just
> fetching the latest firmware from Raspberry Pi's github repo, or cross
> compile my own from linux stable, since I seem to recall that the
> Raspberry Pi code made it into the main kernel.org source tree a while
> ago. Thanks to everyone for your help.
>
> Greg
>
>
For my regular Pi's i just have the following in my apt sources

deb http://deb.devuan.org/merged beowulf main
deb-src http://deb.devuan.org/merged beowulf main
deb http://deb.devuan.org/merged beowulf-security main

and this just works.

For my Pi 1's and Zero's i have to specify the armel architecture
because apparently Debian arm v6 does not exist.


Grtz.

Nick




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


Re: [DNG] FSF and human rights

2021-03-27 Thread d...@d404.nl
On 26-03-2021 20:46, Steve Litt wrote:
> Alessandro Vesely via Dng said on Fri, 26 Mar 2021 13:07:08 +0100
>
>> Hi All,
>>
>> Debian is engaging in a disgusting attack against RMS:
>> https://www.debian.org/vote/2021/vote_002
>>
>> Does Devuan have resolutions to sign open letters?
>> I'd propose to sign this one instead:
>> https://rms-support-letter.github.io/
> I'd suggest nobody sign anything, and nobody respond to this email.
>
> If you believe that Stallman was removed, shunned and criticized
> because of guilt by association, then it's not much of a stretch to
> believe that you will suffer the same fate if you defend him. And then
> any who defends *you* will suffer the same fate, ad infinitum. 
>
> Before you sign anything or do anything, ask yourself if this is of top
> importance to you. Are you willing to risk your career, your position
> in your community, perhaps the positions of your family, to defend
> Richard Stallman? Unless the answer is an unmitigated "yes", I'd advise
> you to stay as far from this issue as you can.
>
> My response in no way implies my (very private) position on Stallman.
> I'm just pointing out that unless you're willing to pay the freight,
> and the payment may be a costly and may be immediate or delayed for
> years, getting involved "for the principle of the thing" may cause you
> later regret.
>
> SteveT
>
> Steve Litt 
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques

Well, i do not live in the USA and chances of being fired or risking my
career for defending Stallman are not existent. So privately I most
likely will sign this open letter.

But I would like to keep politics *any politics except init freedom* as
far as possible from Devuan so I will not in any way connect my signing
to the Devuan project. And I suggest others to do the same.

Grtz.

Nick




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


Re: [DNG] apparmor? (was Re: What does this remind you of?)

2021-03-07 Thread d...@d404.nl
On 07-03-2021 19:39, al3xu5 wrote:
> Sun, 7 Mar 2021 19:11:18 +0100 - "d...@d404.nl" :
>
>> On 07-03-2021 18:20, tito via Dng wrote:
> [...] I personally would scrap:
> [..]
>>> apparmor
> [...]
>>> Tito  
>> Mostly agree with you and in its current state apparmor belongs to this
>> list. In the same time I like the idea of apparmor in limiting apps
>> behavior. It could be most useful if implemented correctly.
>> Nick
>
> Hi
>
> I have:
>
> ~~~
> $ sudo service apparmor status
>
> apparmor module is loaded.
> 17 profiles are loaded.
> 17 profiles are in enforce mode.
>/usr/bin/man
>/usr/lib/cups/backend/cups-pdf
>/usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session
>/usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session//chromium
>/usr/sbin/cups-browsed
>/usr/sbin/cupsd
>/usr/sbin/cupsd//third_party
>/usr/sbin/libvirtd
>/usr/sbin/libvirtd//qemu_bridge_helper
>/usr/sbin/ntpd
>/usr/sbin/tcpdump
>man_filter
>man_groff
>nvidia_modprobe
>nvidia_modprobe//kmod
>system_tor
>virt-aa-helper
> 0 profiles are in complain mode.
> 6 processes have profiles defined.
> 6 processes are in enforce mode.
>/usr/sbin/cups-browsed (2446) 
>/usr/sbin/cupsd (12205) 
>/usr/lib/cups/notifier/dbus (12208) /usr/sbin/cupsd
>/usr/sbin/libvirtd (3278) 
>/usr/sbin/ntpd (3030) 
>/usr/bin/tor (3200) system_tor
> 0 processes are in complain mode.
> 0 processes are unconfined but have a profile defined.
> ~~~
>
> I have done nothing (I can remember) about apparmor configuration and
> profiles...
>
> Maybe it was installed by default or maybe I had installed it ages ago and
> it hasremained over time, a dist-upgrade after the other.
>
> So, I would like your advice: is there any sense that I keep it on the
> system? Or can I do without quietly? 
>
> Thanks in advance.
>
> Regards
> al3xu5
>
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

In its current state (with little updated profiles working with enforce)
it does not add much to your daily use imo. According to
https://wiki.debian.org/AppArmor/HowToUse#Disable_AppArmor it is enabled
by default in Debian 10. And you can disable it with a kernel parameter
in grub.

Grtz.

Nick



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


Re: [DNG] What does this remind you of?

2021-03-07 Thread d...@d404.nl
On 07-03-2021 19:22, Marc Shapiro via Dng wrote:
>
> What does apparmor actually do?  It was installed on my system as a
> Recommends for my kernel (linux-image-4.19.0-14-amd64), but I get
> warnings of some type every time I reboot (which I don't do often, so
> I can't say just what the warnings are).  Is there any reason to keep
> it installed?  Or can I just uninstall it?
>
> Marc
>
> On 3/7/21 10:11 AM, d...@d404.nl wrote:
>> On 07-03-2021 18:20, tito via Dng wrote:
>>> On Sun, 7 Mar 2021 18:03:30 +0100
>>> Antony Stone  wrote:
>>>
>>>> On Sunday 07 March 2021 at 17:59:22, Steve Litt wrote:
>>>>
>>>>> See this web page:
>>>>>
>>>>> https://en.wikipedia.org/wiki/Anti-pattern
>>>>>
>>>>> I'd say at least half of the listed anti-patterns are used by
>>>>> systemd.
>>>> Very nice.
>>>>
>>>> Antony.
>>>>
>>> Hi,
>>> this makes me think of the times when you could startx
>>> with IceWM on a 1.44 floppy disk. That was simplicity
>>> and to a certain extent poetry. I personally would scrap:
>>> dbus
>>> consolekit
>>> packagekit
>>> policykit
>>> systemd
>>> apparmor
>>> selinux
>>> I am sure I've forgot some other garbage.
>>>
>>> P.S.: I'm open to new technologies..
>>> when they follow a simple rule: less code is better
>>> as I can understand only as much code as fits
>>> onto my screen.
>>>
>>> Ciao,
>>> Tito
>> Hi,
>>
>> Mostly agree with you and in its current state apparmor belongs to this
>> list. In the same time I like the idea of apparmor in limiting apps
>> behavior. It could be most useful if implemented correctly.
>>
>> Grtz.
>>
>> Nick
>>
>>
See https://wiki.ubuntu.com/AppArmor for a explanation.

Grz.

Nick




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


Re: [DNG] What does this remind you of?

2021-03-07 Thread d...@d404.nl
On 07-03-2021 18:20, tito via Dng wrote:
> On Sun, 7 Mar 2021 18:03:30 +0100
> Antony Stone  wrote:
>
>> On Sunday 07 March 2021 at 17:59:22, Steve Litt wrote:
>>
>>> See this web page:
>>>
>>> https://en.wikipedia.org/wiki/Anti-pattern
>>>
>>> I'd say at least half of the listed anti-patterns are used by
>>> systemd.
>> Very nice.
>>
>> Antony.
>>
> Hi,
> this makes me think of the times when you could startx
> with IceWM on a 1.44 floppy disk. That was simplicity
> and to a certain extent poetry. I personally would scrap:
> dbus
> consolekit
> packagekit
> policykit
> systemd
> apparmor
> selinux
> I am sure I've forgot some other garbage.
>
> P.S.: I'm open to new technologies..
> when they follow a simple rule: less code is better
> as I can understand only as much code as fits
> onto my screen.
>
> Ciao,
> Tito

Hi,

Mostly agree with you and in its current state apparmor belongs to this
list. In the same time I like the idea of apparmor in limiting apps
behavior. It could be most useful if implemented correctly.

Grtz.

Nick




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


Re: [DNG] ZFS NFS

2021-02-11 Thread d...@d404.nl
On 11-02-2021 16:31, Jackman via Dng wrote:
> I searched the mailing list archives, and I didn't find anything
> obviously relating to ZFS, so I apologize if this is redundant.
>
> I successfully created a ZFS filesystem, which I'm really
> excited about. I followed the steps in the Debian documentation, here:
>
> https://wiki.debian.org/ZFS
>
> ➜  ~ zpool list -v
> NAME   SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
> tank  2.72T  1.01T  1.70T         -     0%    37%  1.00x  ONLINE  -
>   mirror  2.72T  1.01T  1.70T         -     0%    37%
>     ata-Hitachi_HUA723030ALA641_YVG8GB7A      -      -      -        
> -      -      -
>     ata-Hitachi_HUA723030ALA641_YHKRZLSD      -      -      -        
> -      -      -
>
> ➜  ~ zfs list
> NAME         USED  AVAIL  REFER  MOUNTPOINT
> tank        1.01T  1.62T    24K  /tank
> tank/data   1.01T  1.62T  1.01T  /mnt/zfs
> tank/media    24K  1.62T    24K  /srv/media
>
> The problem I'm having is on executing commands such as the following:
>
> ➜  ~ zfs set sharenfs="on" tank/media
> ➜  ~ zfs share tank/media
> ➜  ~ showmount -e localhost
> clnt_create: RPC: Program not registered
>
> According to the documentation, that last 'showmount' command should
> tell me that I have successfully exported an NFS share of my ZFS volume.
>
> Fumbling around, I tried restarting the NFS-related services:
>
> ➜  ~ service nfs-common restart
> [ ok ] Stopping NFS common utilities: idmapd statd.
> [ ok ] Starting NFS common utilities: statd idmapd.
> ➜  ~ service nfs-kernel-server restart
> [ ok ] Stopping NFS kernel daemon: mountd nfsd.
> [ ok ] Unexporting directories for NFS kernel daemon
> [warn] Not starting NFS kernel daemon: no exports. ... (warning).
>
> Still, I'm not showing anything with 'showmount':
>
> ➜  ~ showmount -e localhost
> clnt_create: RPC: Program not registered
>
> I'm just not sure where to go from here. According to everything I've
> read, it sounds like NFS sharing via ZFS tooling makes everything
> pretty much automatic. I shouldn't have to modify my exports file or
> any other ordinary NFS-specific configuration.
>
> Any help would be appreciated. I'd be willing to put a reasonable
> amount into someone's preferred-vice fund in exchange. Thank you!
>
> Andrew Jackman
> kd7...@gmail.com 


Did you try

    zfs sharenfs=on tank


and

    showmount -e

or

    exportfs

and if both don't work

    zfs share -a


Grtz

Nick



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


Re: [DNG] Synaptics Touchpad Fn+F9

2021-02-05 Thread d...@d404.nl
On 05-02-2021 12:12, Florian Zieboll via Dng wrote:
> Am 4. Februar 2021 20:13:49 MEZ schrieb g4sra :
>> ‐‐‐ Original Message ‐‐‐
>> On Thursday, February 4, 2021 6:59 PM, Florian Zieboll via Dng 
>>  wrote:
>>
>> Thanks for the reply Florian
>>
>>> Am 4. Februar 2021 18:15:06 MEZ schrieb g4sra via Dng dng@lists.dyne.org:
>>>
 Does anyone know how to re-enable a Synaptics Touchpad in Linux after it 
 has been turned off in Windows using Fn+F9 ?
>>> If this key combo really changed something "in hardware", i assume that a 
>>> "hard reset" of the notebook(?!) should solve the issue...
>>>
>>> Usually, this is accomplished by removing all power sources and periphery, 
>>> and then holding down the power button for 15-20 seconds. The idea is to 
>>> remove any stored electricity (from ac adapter, battery, capacitors) to 
>>> clear all non-persistent storage.
>> That is what googling said too, unfortunately it didn't work.
>>
>>> Your devices miles may vary, the manual should mention it.
>> The manual is not much use at all, being digital it won't even serve purpose 
>> in the WC.
>>> libre grüße,
>>> Florian
>>>
>> By first installing Windows 7 and then the Synaptic drivers on an old HDD I 
>> was able to restore touchpad functionality with the Fn+F9 switching. This is 
>> a programmable multi-gesture touchpad which I guess may have flash memory.
>>
>> There has got to be a better way
>
>  Hallo g4sra,
>
> as you replied off-list and I don't know of any better way, I bring the issue 
> back to the list: Perhaps someone has a hint on resetting the device, if 
> you'd reveal its make and model?
>
> Another idea out of thin air: Did you remove the CMOS battery - or does the 
> notebook provide a button (or pins) to reset the bios password?
>
> libre Grüße,
> Florian
>
>
It depends how it is governed in Windows but you could try to load a WIN
PE iso and press  Fn+F9.

Grtz.

Nick

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


Re: [DNG] motherboard BIOS update

2021-01-08 Thread d...@d404.nl
On 08-01-2021 22:08, Fred wrote:
> On 1/8/21 1:08 PM, d...@d404.nl wrote:
>> On 08-01-2021 20:52, Fred wrote:
>>> On 1/8/21 8:09 AM, Antony Stone wrote:
>>>> On Friday 08 January 2021 at 15:43:37, Fred wrote:
>>>>
>>>>> Is there a Devuan program that can update the motherboard BIOS?  I
>>>>> don't
>>>>> do Windows.
>>>>
>>>> I can't imagine there being anything Devuan-specific for this sort of
>>>> thing
>>>> (ie: it'll either be standard Debian, or generic Linux), but to get a
>>>> meaningful answer to the question the main bit of information you
>>>> need to
>>>> supply is "what make / model of motherboard".
>>>>
>>>>
>>>> Antony.
>>>>
>>> I don't understand what you mean.  As far as I know one has to use
>>> Windows to update a BIOS.
>>>
>>> I bought a Gigabyte GA-H170-HD3 mb and an Intel i5-7500 CPU which is
>>> listed as compatible with that mb.  Unfortunately that CPU requires
>>> F20 version BIOS and the mb came with F3.  It will not run at all
>>> without F20.  I will need to buy an older CPU that will work with F3
>>> which will allow the computer to power up.  If there is a Linux
>>> program to update the BIOS then I can install Devuan and then update.
>>> Otherwise I will still have to buy the old CPU and find someone that
>>> has a bootable Windows HD useable on the mb and have them update the
>>> BIOS.
>>>
>>> Best regards,
>>> Fred
>>> ___
>>> Dng mailing list
>>> Dng@lists.dyne.org
>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>
>> You do not need Windows to update a BIOS on a Gigabyte mb but can use
>> Q-Flash from BIOS instead. Too bad you still need a working processor
>> and memory to make this work. Your motherboard does not support Q-Flash
>> Plus with which you even do not need a processor to update the BIOS.
>>
>> Grtz.
>>
>> Nick
>>
>>
>>
>> ___
>> Dng mailing list
>> Dng@lists.dyne.org
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>
> Hi Nick,
> The Gigabyte web site Q-Flash instructions say it needs a USB-floppy
> device.  Do you know if it will work with a USB flash drive instead?
> And which USB port is to be used?  The update is a zip file.  Does it
> need to be unzipped first?  I have ordered a CPU that supposedly will
> work with the existing F3 BIOS.  Unfortunately it cost $120.
>
> Best regards,
> Fred
>
>
Hi Fred,

Any USB disk device should work. As a precaution you could use a USB2
port. You have to unzip the file to the USB device to let the BIOS find
the file with the new version. $120 is a lot of money hopefully you can
sell it after the upgrade.

Grtz.

Nick




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


Re: [DNG] motherboard BIOS update

2021-01-08 Thread d...@d404.nl
On 08-01-2021 20:52, Fred wrote:
> On 1/8/21 8:09 AM, Antony Stone wrote:
>> On Friday 08 January 2021 at 15:43:37, Fred wrote:
>>
>>> Is there a Devuan program that can update the motherboard BIOS?  I
>>> don't
>>> do Windows.
>>
>> I can't imagine there being anything Devuan-specific for this sort of
>> thing
>> (ie: it'll either be standard Debian, or generic Linux), but to get a
>> meaningful answer to the question the main bit of information you
>> need to
>> supply is "what make / model of motherboard".
>>
>>
>> Antony.
>>
> I don't understand what you mean.  As far as I know one has to use
> Windows to update a BIOS.
>
> I bought a Gigabyte GA-H170-HD3 mb and an Intel i5-7500 CPU which is
> listed as compatible with that mb.  Unfortunately that CPU requires
> F20 version BIOS and the mb came with F3.  It will not run at all
> without F20.  I will need to buy an older CPU that will work with F3
> which will allow the computer to power up.  If there is a Linux
> program to update the BIOS then I can install Devuan and then update. 
> Otherwise I will still have to buy the old CPU and find someone that
> has a bootable Windows HD useable on the mb and have them update the
> BIOS.
>
> Best regards,
> Fred
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

You do not need Windows to update a BIOS on a Gigabyte mb but can use
Q-Flash from BIOS instead. Too bad you still need a working processor
and memory to make this work. Your motherboard does not support Q-Flash
Plus with which you even do not need a processor to update the BIOS.

Grtz.

Nick




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


Re: [DNG] Disabling touchpad

2020-12-28 Thread d...@d404.nl
On 28-12-2020 12:42, Hendrik Boom wrote:
> On Mon, Dec 28, 2020 at 09:39:04AM +0100, Didier Kryn wrote:
>> Le 27/12/2020 à 21:55, Steve Litt a écrit :
>>> On Sun, 27 Dec 2020 10:20:04 -0500
>>> Hendrik Boom  wrote:
>>>
 My touchpad is absurdly sensitive, and I keep brushing against it by
 accident. I don't feel the touch at all, but the computer sure does.
 It can hapen while I'm typing and suddenly my text edit turns into a 
 shell command in a newsly chosen window.
 I suspect even a few beard hairs can activate it.

 Now I usually use a wireless mouse on this computer though
 occasionally the mouse fails (usually low battery) an then I do want
 the touchpad.

 Is there any way to disable the touchpad normally, but to reactivate
 it easily when the mouse fails?
>>> Yes!
>>>
>>> The attached touchtoggle.sh should fulfill your exact needs. Just
>>> associate it with a convenient hotkey.
>>>
>>> For convenience I'm also putting it in the body, but use it from the
>>> attachment: I have no idea what email clients do to the characters in
>>> the file:
>>>
>>> ==
>>> #!/bin/sh
>>>
>>> # touchtoggle.sh Copyright (C) 2019 by Steve Litt
>>> # All rights reserved.
>>> # Licensed via the 
>>> # Expat license: https://directory.fsf.org/wiki/License:Expat
>>>
>>> # FIRST GET DEVICE'S DEVICE ID CONTAINING CASE INSENSITIVE "TOUCHPAD"
>>> devid=`xinput | grep -i touchpad | \
>>>   sed -e"s/.*id=//" | sed -e"s/\s.*//"`
>>>
>>> # WITH THAT DEVICE ID, FIND EVERYTING ABOUT PROPERTY
>>> # CONTAINING CASE INSENSITIVE "DEVICE ENABLED"
>>> scratchline=`xinput --list-props 11 | \
>>>   grep -i "device enabled" | \
>>>   sed -e"s/^\s*//" | sed -e"s/\s*$//"`
>>> proptext=`echo $scratchline | sed -e"s/\s*(.*//"`
>>> propid=`echo $scratchline | sed -e"s/.*(//" | sed -e"s/).*//"`
>>> currstate=`echo $scratchline | sed -e"s/.*):\s*//"`
>>>
>>> # DIAGNOSTICS, COMMENT OUT WHEN FULLY FUNCTIONAL
>>> echo diagnostic devid  =$devid
>>> echo diagnostic scratchline=$scratchline
>>> echo diagnostic proptext   =$proptext#
>>> echo diagnostic propid =$propid
>>>
>>> # TOGGLE CURRSTATE VARIABLE
>>> echo -n "Current state of $currstate "
>>> if test "$currstate" = "1"; then
>>> currstate=0
>>> else
>>> currstate=1
>>> fi
>>> echo has been changed to $currstate.
>>>
>>> # IMPLEMENT THE PROPERTY VALUE CHANGE
>>> xinput set-prop $devid $propid $currstate
>>>
>>> # UNCOMMENT FOLLOWING LINE IF PROPERTY ID STOPS WORKING
>>> #xinput set-prop $devid "$proptext" $currstate
>>>
>>> ==
>>>
>>> I've had several versions of this shellscript, so please let me know
>>> whether it works for you.
>>     Note you might as well open your laptop and unplug the touchpad.
>> Just search for a tutorial on how to change it.
>>
>> --         Didier
> Yes, in principle.  The times I need my touchpad are
>   * when my mouse battery runs out and I don't have a new one at hand
>   * when my mouse mysteriously fails
>   * when I'm travelling and I've forgotten my mouse
>   etc.
> In few of these cases is it practical to take my computer apart and 
> reconnect the touchpad, 
> but it can be easy to run a shell command after hitting control-alt-F1 
> and logging in.
>
> -- hendrik

Depending on your hardware and driver the easiest solution is to
blacklist the synaptics driver and modprobe it by hand whenever necessary.

Grtz

Nick




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


Re: [DNG] beowulf-security (armhf)

2020-12-21 Thread d...@d404.nl
On 21-12-2020 13:50, Florian Zieboll via Dng wrote:
> On Mon, 21 Dec 2020 11:49:47 +0100
> "d...@d404.nl"  wrote:
>
>> On 21-12-2020 11:41, Florian Zieboll via Dng wrote:
>>> Hallo,
>>>
>>> since yesterday, on /one/ of my two 'armhf' SBCs running Beowulf,
>>> updating the available packages from the 'beowulf-security' repo at
>>> 'http://deb.devuan.org/merged/' fails with a hash sum mismatch:
>>>
>>> E: Failed to fetch
>>> 
>>> http://deb.devuan.org/merged/dists/beowulf-security/main/binary-armhf/Packages.gz
>>> Hash Sum mismatch Hashes of expected file:
>>> - Filesize:313442 [weak]
>>> -
>>> SHA256:8bb364c5751d0f71cec2b6f62e460430dc10255dbdaa04824f8b4f4bfdb4056d
>>> Hashes of received file:
>>> -
>>> SHA256:e88fc4cfd052a1eab057ff1c61fbaa31e00d926bd513e9f629a9def18492bcc9
>>> - Filesize:313442 [weak]
>>>Last modification reported: Mon, 21 Dec 2020 03:21:07 +
>>>Release file created at: Mon, 21 Dec 2020 03:30:03 +
>>>
>>> I tried to update using TLS, but then I get a cert error:
>>>
>>> Err:4 https://deb.devuan.org/merged beowulf-security
>>> Release Certificate verification failed: The certificate is NOT
>>> trusted. The name in the certificate does not match the
>>> expected. Could not handshake: Error in the certificate
>>> verification. [IP: 195.85.215.180 443]
>>>
>>> The served certificate had been issued for 'devuan.packet-gain.de':
>>>
>>> Serial Number
>>> 03:BD:C3:B7:3A:5C:21:6F:C2:AE:E3:EE:7F:EB:25:C6:64:0B
>>>
>>> SHA-256
>>> 
>>> 24:8E:31:3C:3D:41:98:FC:CC:33:5A:D1:5A:70:4E:43:84:19:FF:9E:7E:B9:51:D6:49:A2:95:86:A4:9B:7B:AB
>>>
>>> SHA-1
>>> D9:91:FF:59:E0:0E:86:1C:81:57:C0:EF:C2:71:72:04:8C:33:D8:5E
>>>
>>> The same happens with 'http://pkgmaster.devuan.org/merged' - as
>>> already mentioned only with one device, the other one updates fine.
>>>
>>> Is there any spare light to be shed on this issue?
>>>
>>> Thanks and best regards,
>>> Florian
>>>
>> You could try to use https://devuan.packet-gain.de temporary instead
>> of http://deb.devuan.org/merged/.
>
> Hallo Nick, 
>
> thank you for the suggestion, but this solves the server certificate
> problem only: The hash sum mismatch for the release file afterwards
> remains. I suspect(ed, see below) a local issue on my side, as my other
> armhf beowulf device with the identical 'beowulf-security' line in the
> 'sources.list' updates (updated) fine. 
>
> I tried with two suggestions from a websearch:
>
> After running
>
> $ apt-get clean
> $ rm -rf /var/lib/apt/lists/*
> $ apt-get clean
>
> 'apt update' came up with a second hashsum mismatch, for the
> 'beowulf/main' repository. Now I get
>
> E: Failed to fetch 
> http://deb.devuan.org/merged/dists/beowulf/main/binary-armhf/Packages.gz  
> Hash Sum mismatch
>Hashes of expected file:
> - Filesize:10453353 [weak]
> - 
> SHA256:82e4bb0928025f1aa75bdb03eab02ff23c213531feb135a418f17c3c70e59e41
>Hashes of received file:
> - 
> SHA256:80faa01ad41a6b626c699919112b8d5800db448f1237a5bdd3196f05b71a2f2d
> - Filesize:10453353 [weak]
>Last modification reported: Mon, 21 Dec 2020 03:21:00 +
>Release file created at: Mon, 21 Dec 2020 03:30:02 +
> E: Failed to fetch 
> http://deb.devuan.org/merged/dists/beowulf/main/Contents-armhf.gz  
> E: Failed to fetch 
> http://deb.devuan.org/merged/dists/beowulf-security/main/binary-armhf/Packages.gz
>   Hash Sum mismatch
>Hashes of expected file:
> - Filesize:313442 [weak]
> - 
> SHA256:8bb364c5751d0f71cec2b6f62e460430dc10255dbdaa04824f8b4f4bfdb4056d
>Hashes of received file:
> - 
> SHA256:e88fc4cfd052a1eab057ff1c61fbaa31e00d926bd513e9f629a9def18492bcc9
> - Filesize:313442 [weak]
>Last modification reported: Mon, 21 Dec 2020 03:21:07 +
>Release file created at: Mon, 21 Dec 2020 03:30:03 +
> E: Failed to fetch 
> http://deb.devuan.org/merged/dists/beowulf-security/main/Contents-armhf.gz  
>
>
> Running
>
> $ apt-get -o Acquire::BrokenProxy="true" -o 
> Acquire::http::No-Cache="true" -o Acquire::http::Pipeline-Depth="0" update
>
> did not result in any further changes, also aft

Re: [DNG] beowulf-security (armhf)

2020-12-21 Thread d...@d404.nl
On 21-12-2020 11:41, Florian Zieboll via Dng wrote:
> Hallo,
>
> since yesterday, on /one/ of my two 'armhf' SBCs running Beowulf,
> updating the available packages from the 'beowulf-security' repo at
> 'http://deb.devuan.org/merged/' fails with a hash sum mismatch:
>
> E: Failed to fetch
> 
> http://deb.devuan.org/merged/dists/beowulf-security/main/binary-armhf/Packages.gz
> Hash Sum mismatch Hashes of expected file:
> - Filesize:313442 [weak]
> -
> SHA256:8bb364c5751d0f71cec2b6f62e460430dc10255dbdaa04824f8b4f4bfdb4056d
> Hashes of received file:
> -
> SHA256:e88fc4cfd052a1eab057ff1c61fbaa31e00d926bd513e9f629a9def18492bcc9
> - Filesize:313442 [weak]
>Last modification reported: Mon, 21 Dec 2020 03:21:07 +
>Release file created at: Mon, 21 Dec 2020 03:30:03 +
>
> I tried to update using TLS, but then I get a cert error:
>
> Err:4 https://deb.devuan.org/merged beowulf-security
> Release Certificate verification failed: The certificate is NOT
> trusted. The name in the certificate does not match the expected.
> Could not handshake: Error in the certificate verification. [IP:
> 195.85.215.180 443]
>
> The served certificate had been issued for 'devuan.packet-gain.de':
>
> Serial Number
> 03:BD:C3:B7:3A:5C:21:6F:C2:AE:E3:EE:7F:EB:25:C6:64:0B
>
> SHA-256
> 
> 24:8E:31:3C:3D:41:98:FC:CC:33:5A:D1:5A:70:4E:43:84:19:FF:9E:7E:B9:51:D6:49:A2:95:86:A4:9B:7B:AB
>
> SHA-1
> D9:91:FF:59:E0:0E:86:1C:81:57:C0:EF:C2:71:72:04:8C:33:D8:5E
>
> The same happens with 'http://pkgmaster.devuan.org/merged' - as already
> mentioned only with one device, the other one updates fine.
>
> Is there any spare light to be shed on this issue?
>
> Thanks and best regards,
> Florian
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

You could try to use https://devuan.packet-gain.de temporary instead of
http://deb.devuan.org/merged/.

Grtz

Nick




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


Re: [DNG] if2mac init.d service for persistent network interface names

2020-12-18 Thread d...@d404.nl
On 18-12-2020 14:41, tito via Dng wrote:
> On Fri, 18 Dec 2020 10:36:01 +0100
> Didier Kryn  wrote:
>
>> Le 18/12/2020 à 00:17, tito via Dng a écrit :
>>> Hi,
>>> a few days ago I was able to complete may new router
>>> with 12 nics and 1 wifi. I moved the devuan drive from
>>> my previous defunct box to the new one and experienced
>>> all the problems reported in the "Ethernet names revisited"
>>> thread.
>>> I tried all the wise advice of the thread included my own
>>> just to discover that nothing really works reliably.
>>>
>>> Things I've tried in various combinations:
>>>
>>> 1) 70-persistent-net.rules with mac
>>> 2) 70-persistent-net.rules with pci bus numbers
>>> 3) 60-persistent-net.rules with mac
>>> 4) 60-persistent-net.rules with pci bus numbers
>>> 5) net.ifnames=0 / net.ifnames=1 in grub
>>> 6) biosdevname=0 in grub
>>> 7) renaming the interfaces in /etc/network/interfaces
>>> 8) using ifrename
>>>
>>> Always the 12 nics came up with different names,
>>> or some of them were missing due to collisions
>>> during the rename process and the router was 
>>> borked with me yelling.
>>> Especially sarcastic I've found the definition of
>>> the new "predictable names" because there is
>>> nothing really predictable about them and at every
>>> reboot they can be totally different, one time being
>>> enp5s0 and next time enp8s0f1 depending on
>>> the BIOS initialization process ( I suppose).
>>> At the end I started thinking about a KISS way to get
>>> my persistent interface names back without
>>> using udev/eudev or other non cooperative software. 
>>> I've come up with a init script that I've called
>>> if2mac that matches interfaces to mac addresses
>>> early in the boot process before networking is set up,
>>> that for me works reliably (after a night of reboots).
>>> I post it here so that If some bold beta testers on the list
>>> are interested they can try it out in the hope that
>>> it works for them (and AT THEIR OWN RISK!!!).
>>> To use it copy the script to /etc/init.d/:
>>>
>>> cp if2mac /etc/init.d/
>>> chmod +x /etc/init.d/if2mac
>>> insserv if2mac
>>>
>>> and the configuration file to /etc/if2mac.conf.
>>>
>>> ## Sample configuration file for if2mac.
>>> ##
>>> ## WIRED_MAC_LIST and WIRELESS_MAC_LIST contain a list of MAC
>>> ## addresses in the desired order top to down starting at
>>> ## position 0. For example:
>>> ## WIRED_MAC_LIST="\
>>> ## 00:11:22:33:44:54 \ <= The space is needed!!!
>>> ## 00:11:22:33:44:55 \
>>> ## 00:11:22:33:44:56"
>>> ## The WIRED_PREFIX and WIRELESS_PREFIX variables can be changed
>>> ## at your liking (opt, port, whatever).
>>>
>>> WIRED_PREFIX="eth"
>>>
>>> WIRED_MAC_LIST="\
>>> 00:12:21:c4:56:68 \
>>> 00:12:21:c4:56:69 \
>>> 00:13:21:c4:56:6a \
>>> 00:13:21:c4:56:6b \
>>> 00:33:18:04:a3:46 \
>>> 00:34:18:04:a3:47 \
>>> 00:35:18:04:a3:48 \
>>> 00:36:18:04:a3:49 \
>>> 00:36:18:04:a3:4a \
>>> 00:36:18:04:a3:4b \
>>> 00:36:18:04:a3:4c \
>>> 00:56:18:04:a3:4d"
>>>
>>> WIRELESS_PREFIX="wlan"
>>>
>>> WIRELESS_MAC_LIST="\
>>> 54:2a:a2:2b:b3:55"
>>>
>>> Attached you will find the init script and a sample
>>> configuration file. Multiple configuration files
>>> to allow more prefixes are not supported because
>>> this kind of renaming could be done in /etc/network/interfaces
>>> once the interfaces came up with predictable and persistent names. 
>>> At this time only 
>>>
>>> en  Ethernet wired
>>> et Ethernet wired old
>>> wl Wireless local area network (WLAN)
>>>
>>> interfaces are supported with both old style
>>> and new "predictable" names.
>>>
>>> Prerequisites are:
>>> /bin/cat
>>> /sbin/ip
>>> and a mounted /sysfs.
>>>
>>> Hints improvements and critics are welcome.
>>> Eventually if there is some interest this could be packaged 
>>> (with the help of some devuan packaging gurus).
>>>
>>> Hope this helps. Enjoy.
>>> Ciao,
>>> farmatito
>>     Looks like the cleanest thing to do to workaround non-cooperative
>> software, as you write. I'ts a pitty to be forced to that, but, at
>> first read it looks well done. I didn't try it because nowadays I
>> only use computers with ar most one eth and one wifi. Just found
>> typos in a comment:
>>
>> # We need to passes to allow interface swappin
>>
>> should be
>>
>> # We need two passes to allow interface swapping
>>
>> Well done.
>>
>> --         Didier
>>
> Hi,
> Thanks, typo fixed.
>
> Ciao,
> Tito
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Workarounds are great of course but I found that default eudev does not
compile with --enable-rule-generator anymore and that is likely the
reason this problem has appeared now.

>
>   # rule-generator - persistent network and optical device rule generator
>
>   #
> --
>
>
>   AC_ARG_ENABLE([rule-generator],
>
>   AS_HELP_STRING([--enable-rule-generator], 

Re: [DNG] Ethernet names revisited

2020-12-13 Thread d...@d404.nl
On 13-12-2020 14:20, Antony Stone wrote:
> On Sunday 13 December 2020 at 13:02:45, Florian Zieboll via Dng wrote:
>
>> Am 13. Dezember 2020 12:01:39 MEZ schrieb Antony Stone 
> :
>>> Well, here's the output from "dmesg | grep eth".  It shows the r8169
>>> interfaces being given names eth0, eth1 (the ones I want as eth1 and
>>> eth2), then the tg3 interface gets called eth2 (which I want as eth0).
>>>
>>> At 6 seconds in, you can see my 70-persistent-net.rules file kicking in
>>> and renaming then to xeth2, xeth1 and xeth0; then finally at 12 seconds,
>>> the second rename in /etc/network/interfaces sets them back to eth0,
>>> eth1 and eth2 in the order I want them.
>> So have you tried with 'ifnames=1'?
> I hadn't, but I've just done so now - it makes no difference - here's dmesg:
>
> [0.00] Linux version 4.19.0-10-amd64 (debian-ker...@lists.debian.org) 
> (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.132-1 (2020-07-24)
> [0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-10-amd64 
> root=UUID=9cbc8bd3-4cb8-4ae1-92c5-5a3659e9aed6 ro net.ifnames=1 quiet
>
> [3.394364] r8169 :04:00.0 eth0: RTL8168e/8111e, 00:e0:4c:80:21:6b, 
> XID 
> 2c20, IRQ 30
> [3.394368] r8169 :04:00.0 eth0: jumbo features [frames: 9200 bytes, 
> tx 
> checksumming: ko]
> [3.450174] r8169 :05:00.0 eth1: RTL8168e/8111e, 00:e0:4c:80:21:6c, 
> XID 
> 2c20, IRQ 31
> [3.450177] r8169 :05:00.0 eth1: jumbo features [frames: 9200 bytes, 
> tx 
> checksumming: ko]
> [3.489342] tg3 :07:00.0 eth2: Tigon3 [partno(BCM95723) rev 5784100] 
> (PCI Express) MAC address 78:ac:c0:f7:89:f7
> [3.489347] tg3 :07:00.0 eth2: attached PHY is 5784 (10/100/1000Base-T 
> Ethernet) (WireSpeed[1], EEE[0])
> [3.489350] tg3 :07:00.0 eth2: RXcsums[1] LinkChgREG[0] MIirq[0] 
> ASF[0] 
> TSOcap[1]
> [3.489352] tg3 :07:00.0 eth2: dma_rwctrl[7618] dma_mask[64-bit]
> [6.187233] tg3 :07:00.0 xeth0: renamed from eth2
> [6.231916] r8169 :05:00.0 xeth2: renamed from eth1
> [6.246745] r8169 :04:00.0 xeth1: renamed from eth0
>
>> And are you sure, that the 'hwaddress' lines in your
>> '/etc/network/interfaces' really define which NIC to use?
> I'm not using hwaddress in that file - that was a suggestion from terryc, and 
> I 
> think it's the wrong idea for exactly the following reason:
>
>> AFAICT this option just changes ("spoofs") the MAC address of the NIC for
>> which it is defined. Although the log confirms that finally eth0 is the tg3
>> NIC, this seems unusual (and very counterintuitive) to me.
>
> Thanks,
>
>
> Antony.
>
It looks like systemd again is responsible for this mess. From what I
understand uses eudev the same files as systemd with udev. If so you
should do

ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules

to make sure (e)udev does not mess with the network devices. (/etc/udev
seems to have priority above /lib/udev)

After that it is somewhat unclear to me. Or
/etc/udev/rules.d/70-persistent-net.rules should work again. Or you
should add a 70-net-name-slot.rules with the syntax of
80-net-name-slot.rules like

SUBSYSTEM!="net", GOTO="net_setup_link_end"
IMPORT{builtin}="path_id"
ACTION!="add", GOTO="net_setup_link_end"
IMPORT{builtin}="net_setup_link"

NAME=="eth0", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
NAME=="eth0", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
NAME=="eth0", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"

LABEL="net_setup_link_end"


After adding net.ifnames=0 and biosdevname=0 your system should work as
intended but I do not have the time to test it, hopes it helps in the
right direction.

Grtz.

Nick



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


Re: [DNG] Ethernet names revisited

2020-12-12 Thread d...@d404.nl
On 12-12-2020 14:15, Antony Stone wrote:
> Hi.
>
> I've just installed a couple of Beowulf systems, each of which has three 
> ethernet interfaces; one on the motherboard, and two on a PCI card.
>
> I'm trying to work out how to give those interfaces the names I want; the 
> motherboard as eth0, and the PCI card as eth1 / eth2.
>
> Historically, I've been used to udev and /etc/udev/rules.d/70-persistent-
> net.rules doing this, where I can specify the name I want for each interface 
> according to its MAC address.
>
> The file didn't exist (although the directory did) on my Beowulf system, so I 
> created one with the appropriate contents, and I now get messages while the 
> kernel is booting:
>
> udevd[441]: Error changing net interface name eth2 to eth0: File exists
> udevd[441]: could not rename interface '4' from 'eth2' to 'eth0': File exists
> udevd[438]: Error changing net interface name eth1 to eth2: File exists
> udevd[438]: could not rename interface '3' from 'eth1' to 'eth2': File exists
> udevd[445]: Error changing net interface name eth0 to eth1: File exists
> udevd[445]: could not rename interface '2' from 'eth0' to 'eth1': File exists
>
> I've followed the entire thread on this list from July 2018 about this, which 
> I've found _some_ of in the archives at 
> https://lists.dyne.org/lurker/message/20180715.200323.7a2473a2.en.html 
> however 
> that link shows only a very small proportion of the emails in the discussion 
> for some reason (I have my own local copy in my mail client).
>
> According to https://wiki.debian.org/NetworkInterfaceNames the old 70-
> persistent-net.rules system _should_ still work in Buster / Beowulf, but I 
> can't work out how to get it to do so.
>
> I _have_ tried adding "net.ifnames=0" to the kernel boot line; this makes no 
> difference.
>
> So:
>
> 1. how can I get 70-persistent-net.rules to carry on working under Beowulf?
>
> 2. what's the "correct" way to get my interfaces named the way I want, 
> according to their MAC addresses, under Beowulf?
>
> (The above Debian wiki document indicates that Buster is the last release 
> which will continue to support this, so I'm assuming I'll need to do 
> something 
> else for Chimaera; what is it?)
>
>
> Thanks,
>
>
> Antony.
>
From what I understand after some research you need a additional
/etc/udev/rules.d/10-network.rules as follow:

|SUBSYSTEM=="net", ATTR{address}=="90:e6:ba:01:00:01", NAME="eth0"
SUBSYSTEM=="net", ATTR{address}=="90:e6:ba:01:00:02", NAME="eth1"|
||SUBSYSTEM=="net", ATTR{address}=="90:e6:ba:01:20:01", NAME="eth2" Hope
this helps. Grtz Nick | |



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


Re: [DNG] Linux's sucky cut and paste: was: problematic mouse driver?

2020-11-17 Thread d...@d404.nl
On 18-11-2020 01:07, Steve Litt wrote:
> On Tue, 17 Nov 2020 08:16:11 -0500
> Hendrik Boom  wrote:
>
>
>> A wild guess.  Linux has over the ages acquired (at least) two cut
>> and paste mechanisms -- one from the underlying X system, and another
>> from the desktop systems put on top.  They don't always agree as to
>> what has to be cut and pasted; I suspect each has its own paste
>> buffer.  They oftern communicate but not always.  There have been
>> occasions where I have had to cut in one pieve of software, paste
>> into emacs, and then cut from emacs with the other mechanism and
>> paste where I intended originally.
> Other than deliberate exclusion of Linux users by Microsoft and their
> henchmen, the only area I've seen where Windows is better than Linux is
> cut and paste. On Windows, it's Ctrl+C, Ctrl+V, and IIRC that works
> seamlessly on both CLI and GUI. On Linux, it can be Ctrl+C and Ctrl+V,
> or highlight and middle mouse button (be sure to press and not turn at
> all), or menu edit and paste, or who knows what else. I hate, hate,
> HATE it: It deeply cuts into my daily workflow.
>
> I've tried pastebin managers in the past, but they seemed to make
> things worse.
>
> If anybody knows of a pastebin manager (but not associated with KDE)
> that makes cut and paste on any Linux X (not associated with a specific
> wm/de (Window Manager/Desktop Environment)), please let me know.
>
>  
>> Also:  a lot of mouses have a middle scroll button that doubles as a 
>> middle clickable button.  There can be a mechanical problem here;
>> when I click on my middle button, I sometimes get a click, sometimes
>> one step of a scroll (usually upwards), and sometimes both.
>> Annoying.  It takes come carefulness to get the signal I want.
> Yes. You need to press straight down, with absolutely no hint of
> pressure up or down, left or right. Cutting and pasting shouldn't be
> this hard.
>  
> SteveT
>
> Steve Litt 
> Autumn 2020 featured book: Thriving in Tough Times
> http://www.troubleshooters.com/thrive
> ___

In my XFCE environment I use Ctrl+Ins to copy and Shift+Ins to paste
most of the time instead of Ctrl+C and Ctlr+V.

Grtz

Nick

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


Re: [DNG] Configuring cron and exim4 to send e-mail after running cronjob

2020-11-14 Thread d...@d404.nl
On 15-11-2020 01:03, Marc Shapiro via Dng wrote:
> I use Thunderbird for e-mail, so I have never bothered with
> configuring an MTA.
>
> I have a few lines in root's crontab to do periodic backups and I
> would like to receive an e-mail when the job is completed.  I have
> added a MAILTO line to my crontab with my gmail address.  The job
> runs, the backup is created, but I do not receive any e-mail from
> cron.  I am assuming that I need to run dpkg-reconfigure on
> exim4-config, but I don't want to mess up my e-mail that is going
> through Thunderbird.
>
> Can anyone tell me how to configure exim4-config to do this, or
> provide a link that will rpovide this information?
>
>
> Marc
>
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Are you sure that your exim4 mta has not been simply denied access by
Google because it has no static ip, spf, dkim etcetera? An alternative
would be to use your isp smtp-server by configuring it as a smarthost
like in this example
https://www.4armed.com/blog/install-and-configure-exim-4-smtp-relay-via-smarthost-on-ubuntu/

Grtz

Nick

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


Re: [DNG] Jessie to Ascii upgrade

2020-11-14 Thread d...@d404.nl
On 14-11-2020 22:36, Fred wrote:
> Hello,
>
> I want to upgrade from Debian Jessie to Devuan.  Apparently all I need
> to do is change the sources list and do a dist-upgrade.
>
> Is this likely to go smoothly?  If there are any problems I would
> probably not have Internet to ask for help.
>
> How does the upgrade get rid of systemd and everything associated with
> it?  Or how does one do that?
>
> Best regards,
> Fred
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Coming from Debian you maybe should change your sources list first to

deb http://deb.devuan.org/merged jessie main

and install the devuan-keyring and sysvinit-core before you move over to
devuan ascii.

Grtz

Nick


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


Re: [DNG] HPLIP issues

2020-11-13 Thread d...@d404.nl
On 13-11-2020 07:21, Marc Shapiro via Dng wrote:
> Has anyone managed to get HPLIP isnstalled and fully running on Beowulf?
>
> hp-info works, with a gui interface.
>
> hp-levels works on the command-line from a terminal.
>
> hp-testpage brings up a gui and prints the testpage from there.
>
> hp-toolbox is missing its soft link to /usr/share/hplip/toolbox.py. 
> When I create the link and try to run it, I get the following output:
>
> --
>
>
> HP Linux Imaging and Printing System (ver. 3.18.12)
> HP Device Manager ver. 15.0
>
> Copyright (c) 2001-15 HP Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
>
> error: Unable to load DBus libraries. Please check your installation
> and try again.
> error: Please upgrade your python installation to the latest available
> version.
>
> --
>
>
> I have Python v3.7 installed, which should be fine since the script
> calls for python3 (which links to python3.7 on my machine).  I don't
> know what it wants installed as far as DBus is concerned.
>
> Primarily, what I need is to check ink levels and general status, and
> that does work from the command line, but it would be more convenient
> if hp-toolbox worked, giving me GUI access to all of its functionality.
>
> Any help will be appreciated.
>
>
> Marc
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Most likely you have to install python3-dbus 1.2.8-3 (see
https://packages.debian.org/search?keywords=python3-dbus)

Grtz

Nick

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


Re: [DNG] Self-hosted SMTP (was: TB and Enigmail)

2020-10-29 Thread d...@d404.nl
On 29-10-2020 04:34, Rick Moen wrote:
> Quoting Bernard Rosset via Dng (dng@lists.dyne.org):
>
>> It seems we're drifting away from the main subject.
>> Count me in!
> Roger that!  Subject header tweaked.
>
>> ?
>> If your emails are being refused by others, including major email
>> hosters, I would kindly suggest you check you got at least correct
>> SPF + DKIM entries. You can throw DMARC into the mix if you wish so,
>> too.
> Umm...
>
> As I already mentioned upthread, my domains' e-mail continue to have
> very high deliverability.  Those domains feature strongly asserted SPF
> RRs in their auth DNS.
>
> However, by carefully considered local policy, I decline to also
> implement DKIM/DMARC, considering those extensions to have been botched
> in design and implementation by Yahoo, Inc.  (DKIM seems to be the
> keystone problem, there, particularly its hapless hostility to
> MLM-mediated forwarding.)  Empirically, I so far perceive no measurable
> loss of host reputation from declining to implement DKIM/DMARC.
>
> I _do_ publish, in each of my domains' DNS, deliberately non-compliant
> DMARC RRs, just to make my stance quite clear, e.g.:
>
> :r! dig -t txt _dmarc.linuxmafia.com @ns1.linuxmafia.com +short
> "DMARC: tragically misdesigned since 2012.  Check our SPF RR, instead."
>
>
>> It's saddening to assess how little is known by the general public
>> (including people who actually work on technical matters in IT) about
>> key technologies, like DNS (the mother/father of all) or email.
> True datum:  When I began hosting my own SMTP smarthosts, I was still a
> staff accountant (UK: chartered accountant) for a living, not a
> sysadmin.  Fortunately, nobody told me I couldn't do it, so it worked.

I do administer 3 different mailservers from which 1 does have the full
package from spf, dkim and dmarc. In my experience dmarc does not add
much of value but spf does. Dkim is much liked by isp's with strict spam
policies. But those are still reachable without after some waiting time
as long as you are not on a spam blocklist. A reverse dns record does
help too.

To ease the maintenance of those servers i intend to migrate them to
docker containers. I wonder people on this list have experience on this
subject?

Grtz.

Nick




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


Re: [DNG] Zoom via Firefox

2020-10-28 Thread d...@d404.nl
On 28-10-2020 12:10, Jim Jackson wrote:
> Hi,
>
> I'm on Devuan Beowulf, running  lightdm, openbox and lxpanel.
> I don't run pulseaudio, I just use ALSA for sound.
>
> Firefox sound works for showing videos etc. I have set mixer values so that 
> I can record
>
>   arecord -vvv -f dat -d 4 /tmp/a.wav
>
> and it plays back. So speakers and microphone working.
>
> I want to run Zoom via Firefox (not via external app), sound only - I don't 
> have a webcam. I join the zoom meeting, click allow firefox access to mic.,
> and am in the meeting, except no sound and no one can hear me. There are 
> also no images within the Zoom session. If I start a new tab in firefox I 
> can view a youtube video with sound just fine. But nothing from the Zoom 
> tab.
>
> Anyone any ideas? I have done some googling but not discovered how to 
> eliminate the 1001 pointers to fixing sound in windows etc. 
>
> cheers
> jim
>
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

I do not have experience with Zoom but with Jitsi and discovered that
disabling WebRTC leakage in Firefox because of WebRTC leaking ip
addresses also crippled Jitsi.

Grtz.

Nick





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


Re: [DNG] OT: uBlock origin on Firefox: where's the data?

2020-10-12 Thread d...@d404.nl
On 12-10-2020 07:06, Ian Zimmerman wrote:
> I would like to regularly back up my uBlock settings, and do it in an
> automated way. That is, I want to avoid clicking through the "Export to
> file" dialog every time, because I always forget to do it, and because
> it is dumb.
>
> So where is the data in fact stored? Let's start with the subscription
> filters. Surely uBlock doesn't download them from the Web every time,
> right? So they must be somewhere on my drive, but I can't figure out
> where. 'locate EasyList' and 'locate easylist' come up with nothing.
>
> Goog^H^H^H^HDuck is also pretty useless this time :-(
>
In my installation I found this:

/home/user/.mozilla/firefox/6jlfbwix.default/extension-data/ublock0.sqlite


Grtz.

Nick




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


Re: [DNG] ..devuan to the rescue? Easiest possible newbie email server setup, ideas?

2020-09-24 Thread d...@d404.nl
On 24-09-2020 14:43, Jim Jackson wrote:
> On Thu, 24 Sep 2020, Mark Rousell wrote:
>
>> On 24/09/2020 07:30, Dimitris via Dng wrote:
>>> in my opinion a home connection server smtp+imap/pop will not be very
>>> usable.  most rbl's block dynamic addresses so you won't be able to
>>> deliver much...
>> In some areas (e.g. the UK), the better ISPs provide static IPs so this
>> issue is bypassed.
> Mostly. Somemail servers do a reverse IP lookup and see if it matches your 
> envelope From domain. 
>
> ntlworld.com and the big german mail provider gmx.com both refuse to
> accept email from my server - UK based with ISP provded fixed IP.
> It's pain, but I resort to my gmail account for mail to these.
> I use sendmail, so I suppose I could use some magic to reroute such 
> traffic.
>

My ISP hand out static ip (4 and 6) and allows me to change rDNS too. So
i do run one of my mail servers from my home FTTH connection.

It also helps if you configure SPF and DKIM for your domain. Rejected
mails almost never happen, mostly only random by Microsoft O365 servers.

For those who ISP blocks port 25 you can configure your mailserver and
client to use port 465 (SSL) or 587 ((START)TLS) both with authentication.

Grtz

Nick





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


Re: [DNG] Shutdown/halt versus WiFi and NFS

2020-09-23 Thread d...@d404.nl
On 23-09-2020 21:55, Michael S. Keller via Dng wrote:
> My desktop is running Chimaera, and I saw this with Beowulf, but
> didn't spend much time on it then.
>
> My network connection is via WiFi, and I have permanent NFS mounts in
> place. I run SysV init.
>
> During halt or shutdown via init scripts, NetworkManager is terminated
> before the NFS unmount, which brings down the active NIC, and usually
> the unmount hangs forever, so I have to do a hard reset or power-off.
>
> After futzing with it for a while, trying to find a more elegant
> solution, I ended up just renaming K01network-manager and K02sendsigs
> in rc0.d and rc6.d. Now shutdown and reboot run reliably.
>
> Before that, I tried renaming K01network-manager to
> K06network-manager, to place it after the NFS unmount, but it ran
> earlier anyway.
>
> I also tried shielding NetworkManager from sendsigs, and I think it
> would have worked if I could make K0.network-manager run later, but
> that was about the point I gave up and took a virtual hammer to the
> issue.
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

I am still on ascii but have in /etc/dhcpcd.conf a line with

persistent

for exactly this reason, otherwise nfs hangs with reboot/shutdown.


grtz

Nick




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


Re: [DNG] Danger: Debian POSIX hostility

2020-09-17 Thread d...@d404.nl
On 17-09-2020 09:02, Dr. Nikolaus Klepp wrote:
> Anno domini 2020 Wed, 16 Sep 22:15:42 +
>  aitor scripsit:
>> Hi,
>>
>> On 16/9/20 20:30, Steve Litt wrote:
>>> On Wed, 16 Sep 2020 09:53:14 +0200
>>> "Dr. Nikolaus Klepp"  wrote:
>>>
 Anno domini 2020 Wed, 16 Sep 02:11:57 -0400
   Steve Litt scripsit:
> In addition, I don't see why Unix design isn't a good fit for modern
> demands. Edward and Aitor have already made
> do-one-thing-and-do-it-well graphical automounters that, as far as
> I know, depend on neither systemd nor dbus. I once posted, on this
> list, a thumb drive plugin detector/mounter, and somebody else on
> the list improved on it.
 Sorry, I must have missed that. Do you have a link to the software?

 nik
>>>   
>>> No, sorry. Best way to find it is to search posts from Steve Litt
>>> body-containing the string "inotify". Once you've found the right one,
>>> look at that tree to find the improvement by the other DNG inhabitant,
>>> whose name I've forgotten.
>>>
>>> Please do me a favor if you find it, and repost it here. I apparently
>>> have lost the software (probably a small shellscript).
>>>
>>> SteveT
>> Amounter, maybe?
>>
>> https://github.com/stevelitt/amounter
>>
>> Aitor.
>>
>>
>>
> Steves hint to "inotify" made it. To sum it up, it's just "inotifywait 
> --monitor /dev| ..." - didn't search the archives, it's so simple :)
>
>
> Nik
>
Steve's original announcement with the title 'Preferred automounter
behavior?' dates back from 2015 archived at
https://lists.dyne.org/lurker/thread/20151227.073016.5fc97e4f.en.html#20151227.073016.5fc97e4f.

In this thread it is mentioned that for use as a daemon you better user
the python-inotify module because just piping inotify does have
unexpected behavior like with runinit and s6.

grtz

Nick




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


Re: [DNG] After 10m the sceen is dark

2020-08-30 Thread d...@d404.nl
On 30-08-2020 12:03, Frank Streitz wrote:
>
> Am 30.08.20 um 11:24 wrote Ludovic Bellière:
>> First thing that comes to mind is that your screen saver isn't hindered
>> and triggers because no user action has taken place.
> My screen saver isn't the problem. I configured it to 2 Hours.
>
>> For mplayer, you can create a .mplayer/config file and insert the
>> following line in it :
> I use VLC and here is the screen after 10 minutes dark. I think it has
> something to do with the energy configuration. But I found no place
> where I can configure this in mate.
>
> If I use a stream in chrome the screen doesn't become dark but if I use
> a stream in Firefox the screen becomes dark after 10 minutes.
>
> So does somebody know where I can configure that? At the Control center
> I can only configure the screensaver but not the energy of the screen
> like I can do it with KDE.
>
> Of course I tried it with a search engine to solve my problem. But I
> found nothing about mate. The most results came for Ubuntu or Android.
>
>
> Greetings Frank
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

You can install dconf-editor and then choose org -> mate ->
powermanagement -> sleep-display-ac


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


Re: [DNG] history

2020-08-07 Thread d...@d404.nl
On 07-08-2020 22:11, John Morris wrote:
> On Fri, 2020-08-07 at 09:53 +0300, Dimitris via Dng wrote:
>> On 8/7/20 12:36 AM, marc wrote:
>>> People being easily identified and
>>> tracked in real life is something that strengthens authoritarian
>>> regimes 
>>> (whether fascist or communist) as well coercive corporate
>>> interests. 
>> there were no communist authoritarian regimes in history.. communist
>> by
>> name perhaps, but in reality, authoritarian = fascist..
> Oh, how original.  The "real Communism has never been tried" defense. 
> How many have now tried it and got exactly the same end result?  Just
> how many more bodies need to lie in shallow mass graves before you give
> up on your beautiful theory?
>
> I know it is offtopic but this needs to be called out each and every
> time, lest another hundred million (or more) die.  Whether stupid or
> knowingly evil doesn't matter, these people will get us all killed if
> they aren't firmly put down.  Especially relevant since most of the
> Western World is in the grip of Color Revolutions at the moment.
>
It is indeed off topic so i will keep it short: show me a philosophy of
life or religion which has not been abused by a power hungry
totalitarian dictator or political system.

Grtz

Nick

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


Re: [DNG] Free faces?

2020-08-06 Thread d...@d404.nl
On 06-08-2020 01:08, Hendrik Boom wrote:
> On Thu, Aug 06, 2020 at 01:00:02AM +0200, marc...@welz.org.za wrote:
>> Recall a while ago some company called clearview.ai made the
>> news - given a picture of a person it finds all the other
>> photos of that person online, and does a good job of it too.
> Is there any free/libre software that can look at two photos and provide a 
> reasonable guess as to whether the two are photos of the same person?
>
> -- hendrik
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

With enough python skills: https://pypi.org/project/face-recgnition/


Grtz.

Nick

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


Re: [DNG] Upgrade to Beowulf borks SSH. how to recover.

2020-07-20 Thread d...@d404.nl
On 20-07-2020 08:55, terryc wrote:
> As per subject, an Devuan-ascii headless server has been(?) upgraded to
> Devuan-beowuff. After reboot I am unable to ssh to the server.
>
> It seems the old password option has now been disable and only a
> public-key option is available
> ..
>
> user@system: ssh remote-server
> user@system: Permission denied (publickey).
>
> ...
> A problem is that non of the SSH installations have anything setup to
> use public keys.
>
> So even though I can generate public keys and disperse them, there is
> currently no way I know off to remotely access the remote server,
> except by *BRS, to fix ths problem(place keys in correct location).
>
> Hence my asking if there is any other way.
> *BRS = bigh red switch; drag out boxen(which is actually local), turn
> off, then plug in Kbd & screen.
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Actually i would plugin kbd & screen before pushing that big red switch.
Once logged in scp or sftp the public key from yourworkstation and move on.

Grtz

Nick




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


Re: [DNG] Configuration of boot drives

2020-06-29 Thread d...@d404.nl
On 29-06-2020 17:53, Hendrik Boom wrote:
> On Mon, Jun 29, 2020 at 05:24:57PM +0200, d...@d404.nl wrote:
>> On 29-06-2020 17:13, Hendrik Boom wrote:
>>> On Mon, Jun 29, 2020 at 12:44:05PM +, dal wrote:
>>>>> From: Dng [mailto:dng-boun...@lists.dyne.org] On Behalf Of Hendrik Boom
>>>>> Sent: den 29 juni 2020 14:18
>>>>> What I want to know is:
>>>>>What determines which disks' MBRs get written to during a 
>>>>>normal kernel upgrade initiated by aptitude.
>>>> A normal kernel upgrade does not, nor needs to  rewrite MBRs.
>>> Grub stage 1 resides within 446 bytes of the MBR.
>>> Grub stage 1.5 resides in the spae between the MBR and the first partition.
>>> Grub stage 2 resides in the /boot within a partition.
>>>
>>> It's entirely plausible that some of stage 1 and stage 1.5 may need changes.
>>>
>>> In any case, the last upgrade I did tried to write in the space between 
>>> the MBR and the first partition of on of my hard drives. 
>>>
>>> I'd like it to stop trying that, letting it write to my other drives and 
>>> never boot from this one again, which I plan to remove when I find my 
>>> screwdriver.
>>>
>>> -- hendrik
>>>
>>>> /D
>>>>
>>>> ___
>>>> 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
>> According to grub documentation you can make grub-mkconfig skip a drive
>> with one of these options in /etc/default/grub
>>
>> 'GRUB_DISABLE_OS_PROBER'
>>  Normally, 'grub-mkconfig' will try to use the external 'os-prober'
>>  program, if installed, to discover other operating systems
>>  installed on the same system and generate appropriate menu entries
>>  for them.  Set this option to 'true' to disable this.
>>
>> 'GRUB_OS_PROBER_SKIP_LIST'
>>  List of space-separated FS UUIDs of filesystems to be ignored from
>>  os-prober output.  For efi chainloaders it's @
> That tells it to ignore particular partitions.  My partitions are fine,
> I have problems with the first few sectors of one hard drive containing 
> the first few stages of the boot process before it even looks at a 
> partition.   These sectors are not in a partition.  I want it to ignore 
> that entire *drive*, not a partition.
>
> -- hendrik
The first option disables the check of drives for the presence of
(other) filesystems. The second has indeed to do with partitions only
and you can ignore that one.



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


Re: [DNG] Configuration of boot drives

2020-06-29 Thread d...@d404.nl
On 29-06-2020 17:13, Hendrik Boom wrote:
> On Mon, Jun 29, 2020 at 12:44:05PM +, dal wrote:
>>> From: Dng [mailto:dng-boun...@lists.dyne.org] On Behalf Of Hendrik Boom
>>> Sent: den 29 juni 2020 14:18
>>> What I want to know is:
>>>What determines which disks' MBRs get written to during a 
>>>normal kernel upgrade initiated by aptitude.
>> A normal kernel upgrade does not, nor needs to  rewrite MBRs.
> Grub stage 1 resides within 446 bytes of the MBR.
> Grub stage 1.5 resides in the spae between the MBR and the first partition.
> Grub stage 2 resides in the /boot within a partition.
>
> It's entirely plausible that some of stage 1 and stage 1.5 may need changes.
>
> In any case, the last upgrade I did tried to write in the space between 
> the MBR and the first partition of on of my hard drives. 
>
> I'd like it to stop trying that, letting it write to my other drives and 
> never boot from this one again, which I plan to remove when I find my 
> screwdriver.
>
> -- hendrik
>
>> /D
>>
>> ___
>> 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

According to grub documentation you can make grub-mkconfig skip a drive
with one of these options in /etc/default/grub

'GRUB_DISABLE_OS_PROBER'
 Normally, 'grub-mkconfig' will try to use the external 'os-prober'
 program, if installed, to discover other operating systems
 installed on the same system and generate appropriate menu entries
 for them.  Set this option to 'true' to disable this.

'GRUB_OS_PROBER_SKIP_LIST'
 List of space-separated FS UUIDs of filesystems to be ignored from
 os-prober output.  For efi chainloaders it's @




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


Re: [DNG] 'apt-get update' fails on Devuan Boewulf.

2020-06-15 Thread d...@d404.nl
On 15-06-2020 15:31, Edward Bartolo via Dng wrote:
> Hi,
>
> Lately, when I attempt to update Devuan Boewulf, apt-get fails
> complaining that I should explicitly accept the repositories. Reading
> 'man apt-secure' talks about changes in Debian's security which has
> the aim to reinforce package security further. While this is good
> news, it is proving also to be a headache.
>
> What should I do to allow Devuan upgrade itself while at the same time
> using the new more stringent security model?
>
> Finally, a word of thanks to BOTH Debian and Devuan for working hard
> to improve security.
>
> Thanks for taking your time to read and answer this question.
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Hi Edward,

By using apt instead of apt-get you get the question if you want to
accept the change. Answering yes will make apt or apt-get update work again.


Grtz.

Nick




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


Re: [DNG] Boot hangs with usb disk active in fstab

2020-06-14 Thread d...@d404.nl
On 14-06-2020 19:46, J. Fahrner via Dng wrote:
> Am 2020-06-14 19:39, schrieb d...@d404.nl:
>> Most likely the usb_storage module is compiled in the kernel.
>
> How can I set its parameters in this case?
> sysctl -a lists nothing about storage or usb. 


From what i am able to find the kernel parameter:

    usb-storage.delay_use=

[UMS] The delay in seconds before a new device is scanned for Logical
Units (default 5).


Grtz.

Nick




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


Re: [DNG] Boot hangs with usb disk active in fstab

2020-06-14 Thread d...@d404.nl
On 14-06-2020 19:36, J. Fahrner via Dng wrote:
> Am 2020-06-14 19:30, schrieb richard lucassen:
>> What tells "modinfo g_mass_storage"?
>
> $ sudo modinfo g_mass_storage
> filename:  
> /lib/modules/3.16.82+/kernel/drivers/usb/gadget/g_mass_storage.ko
> license:    GPL
> author: Michal Nazarewicz
> description:    Mass Storage Gadget
> depends:    usb_f_mass_storage,libcomposite
> intree: Y
> vermagic:   3.16.82+ SMP preempt mod_unload aarch64
> parm:   idVendor:USB Vendor ID (ushort)
> parm:   idProduct:USB Product ID (ushort)
> parm:   bcdDevice:USB Device version (BCD) (ushort)
> parm:   iSerialNumber:SerialNumber string (charp)
> parm:   iManufacturer:USB Manufacturer string (charp)
> parm:   iProduct:USB Product string (charp)
> parm:   file:names of backing files or devices (array of charp)
> parm:   ro:true to force read-only (array of bool)
> parm:   removable:true to simulate removable media (array of
> bool)
> parm:   cdrom:true to simulate CD-ROM instead of disk (array
> of bool)
> parm:   nofua:true to ignore SCSI WRITE(10,12) FUA bit (array
> of bool)
> parm:   luns:number of LUNs (uint)
> parm:   stall:false to prevent bulk stalls (bool)
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

g_mass_storage is used in usb otg mode where the system mimicks a usb
gadget. Most likely the usb_storage module is compiled in the kernel.


Grtz.

Nick



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


Re: [DNG] Devuan 3 running hot

2020-06-14 Thread d...@d404.nl
On 14-06-2020 14:14, Lars Noodén via Dng wrote:
> On 6/14/20 2:03 PM, d...@d404.nl wrote:
>> On 14-06-2020 12:53, Lars Noodén via Dng wrote:
>>> On 6/14/20 1:47 PM, d...@d404.nl wrote:
>>>> On 14-06-2020 12:38, Lars Noodén via Dng wrote:
>>>>> An upgrade to Beowulf went very smoothly but since upgrading I notice
>>>>> that the fans are always running.  Although the air temperature is about
>>>>> 25°C the cores seem to run much hotter than necessary, pushing 70°C or
>>>>> hotter.  The system is not really under any load.  What should I be
>>>>> looking at to make corrections?
>>>>>
>>>>> -
>>>>>
>>>>> $ grep -i pretty /etc/os-release ; uname -sr
>>>>> PRETTY_NAME="Devuan GNU/Linux 3 (beowulf)"
>>>>> Linux 4.19.0-9-amd64
>>>>>
>>>>>
>>>> You can try to add  intel_pstate=disable to your startup line.
>>> Thanks.  It may already be disabled¹ though:
>>>
>>> # cat /sys/kernel/debug/tracing/events/power/pstate_sample/enable
>>> 0
>>>
>>> # cat /sys/kernel/debug/tracing/events/power/cpu_frequency/enable
>>> 0
>>>
>>> However, this is all an area I know nothing about.
>>>
>>> ¹ https://www.kernel.org/doc/html/v4.12/admin-guide/pm/intel_pstate.html
>>> ___
>> It is not my daily job either but what i understand when intel_pstate is
>> disabled acpi-cpufreq takes it over. (And most likely did in ASCII.)
>>
>> Give it a try and if it works add it to grub.
>>
> Seems to have made a difference of over 20°C.
>
>
> /Lars

Which is still quiet high. I would advise to renew the thermal paste on
your processor. I can recommend Arctic Silver 5 AS5-3.5G Thermal Paste.
Made a difference of another 20°C on idle on my old i5.

Grtz.

Nick




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


Re: [DNG] Devuan 3 running hot

2020-06-14 Thread d...@d404.nl
On 14-06-2020 12:53, Lars Noodén via Dng wrote:
> On 6/14/20 1:47 PM, d...@d404.nl wrote:
>> On 14-06-2020 12:38, Lars Noodén via Dng wrote:
>>> An upgrade to Beowulf went very smoothly but since upgrading I notice
>>> that the fans are always running.  Although the air temperature is about
>>> 25°C the cores seem to run much hotter than necessary, pushing 70°C or
>>> hotter.  The system is not really under any load.  What should I be
>>> looking at to make corrections?
>>>
>>> -
>>>
>>> $ grep -i pretty /etc/os-release ; uname -sr
>>> PRETTY_NAME="Devuan GNU/Linux 3 (beowulf)"
>>> Linux 4.19.0-9-amd64
>>>
>>>
>> You can try to add  intel_pstate=disable to your startup line.
> Thanks.  It may already be disabled¹ though:
>
> # cat /sys/kernel/debug/tracing/events/power/pstate_sample/enable
> 0
>
> # cat /sys/kernel/debug/tracing/events/power/cpu_frequency/enable
> 0
>
> However, this is all an area I know nothing about.
>
> ¹ https://www.kernel.org/doc/html/v4.12/admin-guide/pm/intel_pstate.html
> ___

It is not my daily job either but what i understand when intel_pstate is
disabled acpi-cpufreq takes it over. (And most likely did in ASCII.)

Give it a try and if it works add it to grub.


Grtz.


Nick




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


Re: [DNG] Devuan 3 running hot

2020-06-14 Thread d...@d404.nl
On 14-06-2020 12:38, Lars Noodén via Dng wrote:
> An upgrade to Beowulf went very smoothly but since upgrading I notice
> that the fans are always running.  Although the air temperature is about
> 25°C the cores seem to run much hotter than necessary, pushing 70°C or
> hotter.  The system is not really under any load.  What should I be
> looking at to make corrections?
>
> -
>
> $ grep -i pretty /etc/os-release ; uname -sr
> PRETTY_NAME="Devuan GNU/Linux 3 (beowulf)"
> Linux 4.19.0-9-amd64
>
>
You can try to add  intel_pstate=disable to your startup line.

Grtz.


Nick





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


Re: [DNG] Boot hangs with usb disk active in fstab

2020-06-13 Thread d...@d404.nl
On 13-06-2020 10:53, J. Fahrner via Dng wrote:
> Am 2020-06-13 10:31, schrieb richard lucassen:
>> The nofail means that it wil mount automatically, but if the disk
>> is absent it won't give errors. But it does not wait for the device!
>
> The disk has itś own power supply and is always connected. I think
> there is something missing at the boot stage (driver?).
>
>> ok, I assume it's u-boot? In that case you can easily try to boot from
>> another disk. But apparently you do not have access to the device?
>
> I don't know the boot process. I think it's like a Raspberry Pi. There
> is a little FAT partion and a EXT4 root partition on emmc. Since it is
> headless, I only can access it through ssh. When it does not boot I
> have to open it, remove the emmc card, insert it into an adapter and
> reverse my changes on pc.This is very elaborate. So I need a
> straightforward method to isolate the problem.
> ___ 


I did have a similar problem with a Raspberry Pi caused by fsck taking
to long to end. If you can add a keyboard giving a CTL D it maybe continues.

Because i only do have data on it I entered a mount in rc.local.

But maybe if you fsck the drive on another system?


Grtz.

Nick




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


Re: [DNG] Boot hangs with usb disk active in fstab

2020-06-12 Thread d...@d404.nl
On 12-06-2020 17:01, J. Fahrner via Dng wrote:
> Hi,
> I'm running Devuan Beowulf on an Odroid C2 mini computer. Since it's
> internal flash disk is limited, I run it with an external usb drive
> attached.
> When this disk is active in /etc/fstab the boot process hangs forever.
> I can ping it, so networking is started, but I cannot login, because
> sshd is not running. Since this is a headless system, I cannot see
> boot messages to find out where it hangs. I cannot attach a monitor
> because I have no suitable cable.
>
> Any ideas how to debug this problem?
>
> This is the fstab entry:
>
> LABEL=Elements /hdd ext4 defaults  0 2
>
> Booting with this entry commented out works fine, and I can mount the
> disk as normal after boot. But this way many daemons are missing its
> data and have to be restarted after mount.
>
> Jochen 


Because with usb chances are that you have more than one labeled with
the same name I mount a (partition on a) usb drive by his UUID.

Grtz.

Nick




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


Re: [DNG] Ascii to Beowulf upgrade - 32% slowdown !

2020-06-12 Thread d...@d404.nl
On 12-06-2020 12:49, Riccardo Mottola via Dng wrote:
> Hi all!
>
> I just upgraded from ascii to beowulf a pretty decent laptop, equipped
> with a core i7 and 8GB of RAM.
>
> I upgraded everything in place: so same desktop environment, same
> applications, same hard disk... just "apt-get dist-upgrade" essentially.
>
> I even kept gcc6 because I had it before and I need it.
>
> My test case is compiling ArcticFox, thus something in the realm of
> Firefox: lots of compiler activity, make, disk access, make and python.
> But, of course, predominant factor is compilation and linking.
>
> With ascii, I was consistently (= not just one build) doing a clean
> build in about 31 minutes! Quite fast for this small beast and I was happy.
>
> With beowulf, this number is consistently about 41 minutes.
>
> I say this is a very significant slowdown! Can I gain some speed back?
> Some setting? some spectre/meltdown mitigation? Having latest ascii, I
> think I had at least some of the backports.
>
>
> I am wary thus updating to beowulf on slower machines.
>
> Any ideas?
>
>
> Riccardo
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

According Geekbench
https://browser.geekbench.com/v4/cpu/compare/12415873?baseline=12415673
removing mitigation mainly makes a difference on single core performance.

But i recently did see some Intel firmware update passing at my system.
So maybe Ascii has not yet received the same updates as Beowulf.

Grtz.

Nick




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


Re: [DNG] Error when trying to update beowulf from a local repository

2020-06-05 Thread d...@d404.nl
On 05-06-2020 17:00, Ismael L. Donis Garcia wrote:
> Until now I had updated my system without any problem, now it is
> giving me this error.
>  
> root@clt-iyc-03:/mnt/datos/sistemas/linux
> # apt-get update
> Des:1 file:/mnt/datos/sistemas/linux/devuan/beowulf beowulf InRelease
> [25,6 kB]
> Des:1 file:/mnt/datos/sistemas/linux/devuan/beowulf beowulf InRelease
> [25,6 kB]
> Leyendo lista de paquetes... Hecho  
> E: Repository 'file:/mnt/datos/sistemas/linux/devuan/beowulf beowulf
> InRelease' changed its 'Suite' value from 'testing' to 'stable'
> N: This must be accepted explicitly before updates for this repository
> can be applied. See apt-secure(8) manpage for details.
> root@clt-iyc-03:/mnt/datos/sistemas/linux
> #
>
> How can I solve it?
>  
> I have tried in the source.list, but the problem persists
> deb [allow-insecure=yes]
> file:///mnt/datos/sistemas/linux/devuan/beowulf/ beowulf main contrib
> non-free
>  
> Best Regards
> --
> Ismael
> Devuan User: http://distrowatch.com/table.php?distribution=devuan
> Web Site: http://www.sisconge.byethost15.com/
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

As seen earlier on this list you must use

apt update

instead of

apt-get update

Because apt will ask if you agree and after answering Y go on

Grtz.

Nick



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


Re: [DNG] release status, was: Re: Devuan Beowulf 3.0.0 released.

2020-06-03 Thread d...@d404.nl
On 03-06-2020 21:51, fsmithred via Dng wrote:
> On 6/3/20 3:43 PM, Gregory Nowak wrote:
>> Since this topic came up, I have a couple non critical machines
>> running jessie, and they still get updates. Is this a fluke, or is
>> jessie still being supported. If jessie is still being supported, then
>> how long is that planned to continue as of now? Thanks.
>>
>> Greg
>>
>>
> Jessie will be supported until June 2020, or any minute now.
>
> fsmithred
>
>
Well, at last I 'll have to reboot this one:

$ uptime
 22:11:18 up 1263 days,  3:19,  1 user,  load average: 0.07, 0.08, 0.13

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


Re: [DNG] Out of data ca-certificates causing problems with wget and curl now...

2020-06-01 Thread d...@d404.nl
On 01-06-2020 01:31, Andrew McGlashan via Dng wrote:
> Hi,
>
> ca-certificates
>
> /usr/bin/aptitude show -t stretch-backports ca-certificates:
> E: Unable to locate package ca-certificates:
>
>
>
> https://packages.debian.org/search?suite=stretch-backports=ca-certificates
>
>
> Is there any chance of getting a backport of the package in buster without 
> migrating to beowulf now?
>
> Thanks
>
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

It is downloadable, does most likely not have executable code. Just
download it and install it with dkpg.

Grtz

Nick

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


Re: [DNG] supported ways to control user access to audio/video devices

2020-05-27 Thread d...@d404.nl
On 26-05-2020 03:22, terryc wrote:
> On Mon, 25 May 2020 13:31:49 +
> dal  wrote:
>
>> Dear list,
>>
>> A round of searching and reading did not give me any usable
>> explanation of Subj on Devuan.
>>
>> More specifically, static assignment of users to the "audio"/"video"
>> groups is not applicable (on shared, remotely accessible computers).
>>
>> It looks like ConsoleKit used to be the answer in Debian,
>> but in my testing on Beowulf the consolekit package is not compatible
>> with any desktop environment besides xfce.
>>
>> Is this an inherent limitation somewhere, a packaging bug
>> or otherwise a misunderstanding on my part?
>>
>> Regards,
>> /D
>
> My understanding is that it is a inherent limitation of *nix.
> Based on  the permissions of a user are defined on login and can
> not be changed unless the use logs in again in after they gain the
> desired permission(s) and thus access to devices and  which they can
> only do if they are already defined as a user on that particular system.
>
> Depending on your particular needs, the simple way around this is to
> define each user on all systems and the user can then ssh, or
> whatever and run the application. As our SOHO is small, this is what
> we do, although I'm the only one sometimes inclined to ssh;aplay
> test.wav or such to determine a user problem.
>
>
>
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

You probably will need a LDAP based solution for this. In mixed
environments you could use Samba 4 as a PDC and LDAP provider.

It is still on my (long) todo list.


Grtz

Nick




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