The officially official Devuan Forum!

You are not logged in.

#26 Installation » Issue with libsystemd0 » 2023-11-20 14:59:31

Danielsan
Replies: 5

Hi folks,

I installed Devuan on SBC bootstrapping before Debain and then migrating on Devuan following the instruction but I didn't realize that package libsystemd0 was still there, now if I want to install elogind or packages that require it, it ask to remove cryptsetup, cryptsetup-initramfs and dropbear, perhaps I need to downgrades those packages...

What's your thoughts?

Thanks! 🙏

#27 Re: Documentation » A Gemini guide to install Devuan Daedalus on the ROC-RK3328-CC SBC » 2023-11-19 06:56:30

soren wrote:

Thankyou. Im debating if i should get a Pi 4 or this Rockchip board for a media player ive been wanting to put together , think i might try the Rockchip first.

I can't tell you. I use this board for another different purpose that I will disclose within a couple of days.

Anyway this is my last ARM board, I won't buy any ARM board anymore, they are a constant headache; next time I have money/need to buy another SBC I'll go directly on a X86 system like this one:

https://www.hardkernel.com/shop/odroid-h3-plus/

#28 Documentation » A Gemini guide to install Devuan Daedalus on the ROC-RK3328-CC SBC » 2023-11-19 00:52:45

Danielsan
Replies: 4

Dear Friends,

I prepared a Gemini guide in three tiers to install Devuan Daedalus on the Libre Computer ROC-RK3328 starting from Debian.

1. Bootstrapping Debian Bookworm into an encrypted LVM:
Gemini: gemini://omg.pebcak.club/~freezr/gemlog/2023-11-15-install-debian-on-libre-computer-renegade-with-encrypted-lvm.gmi
Http: https://portal.mozz.us/gemini/omg.pebca … ed-lvm.gmi

2. Setup Dropbear to unlock the board on a local network headless
Gemini: gemini://omg.pebcak.club/~freezr/gemlog/2023-11-18-setup-dropbear-to-unlock-debian-on-libre-computer-renegade-over-your-local-network.gmi
Http: https://portal.mozz.us/gemini/omg.pebca … etwork.gmi

3. Finally migrating from Debian Bookworm to Devuan Daedalus
Gemini: gemini://omg.pebcak.club/~freezr/gemlog/2023-11-19-migrate-debian-to-devuan-on-libre-computer-renegade.gmi
Http: https://portal.mozz.us/gemini/omg.pebca … negade.gmi

Thanks 🙏

#29 Hardware & System Configuration » Dropbear-initramfs: criptroot-unlock: another workaround » 2023-11-17 06:10:54

Danielsan
Replies: 1

Dear Devuanized

based on a friend of mine, that happens to be also an OpenBSD dev, I got a tip to make the script criptroot-unlock working!

As others already spotted out, the issue is in this block:

Original block

if [ ! -f "$TABFILE" ] || [ "$TABFILE" -ot "/proc/1" ]; then
	# Too early, init-top/cryptroot hasn't finished yet
	echo "Try again later" >&2
	exit 1
fi

My friend took a look briefly and suggested me to remove this section: || [ "$TABFILE" -ot "/proc/1" ]
And it actually worked! With the options -p 222 -c cryptroot-unlock in /etc/dropbear/initramfs/dropbear.conf, when you connect through SSH it will ask directly the passphrase:

Modified block

if [ ! -f "$TABFILE" ] ; then
	# Too early, init-top/cryptroot hasn't finished yet
	echo "Try again later" >&2
	exit 1
fi

The script is located in:
/usr/share/cryptsetup/initramfs/bin/cryptroot-unlock

👍

#30 Re: Hardware & System Configuration » [SOLVED] cryptroot-unlock in dropbear aborts with "Try again later" » 2023-11-16 23:23:30

Thank you for finding a workaround.

I wonder if using a script from the sysv era would fix it. The fact that is working on Debian but not on Devuan let me think only one thing: systemd... 🤦

#31 Re: Hardware & System Configuration » Dropbear-initramfs: cryptroot-unlock says "Try again later" forever » 2023-11-16 00:53:01

kuleszdl wrote:

Hi,

if [ ! -f "$TABFILE" ] || [ "$TABFILE" -ot "/proc/1" ]; then
        # Too early, init-top/cryptroot hasn't finished yet
        echo "Try again later" >&2
        exit 1
fi

Workaround: Uncomment the line with "exit 1", then everything should work.

Is this check systemd-related?

Commenting exit 1 did not solve the issue, unless I misunderstood the fix!

#32 Re: Hardware & System Configuration » Dropbear-initramfs: cryptroot-unlock says "Try again later" forever » 2023-11-15 18:21:39

I hope any of you can help me here...

I have the same issue, I'd like to try your workaround but I can't find the cryptroot-script in the first place!

find: ‘cryptroot’: No such file or directory

Thanks!

#33 Re: Hardware & System Configuration » [SOLVED] allow-hotplug not working properly on ifupdown » 2023-10-25 03:44:07

Did you customize the default script?

My WiFi dongle is stuck in a endless loop with your script...

#35 Re: Hardware & System Configuration » [SOLVED] allow-hotplug not working properly on ifupdown » 2023-10-23 05:22:16

tf wrote:

I fixed this by using ifplugd and not using ifupdown's built-in allow-hotplug.

Can you explain a little bit better what you did?

Thanks!

#37 Re: Hardware & System Configuration » Which is the correct network stack for Devuan? » 2023-10-21 18:33:13

steve_v wrote:

Mandatory?

You were right... What I would say was "essentials" or "recommended"; so basically if I don't block IPv6 I can't get an IPv4 address to ssh into the SBC, and I wonder which packages I might have missing.

#38 Re: Hardware & System Configuration » [SOLVED] allow-hotplug not working properly on ifupdown » 2023-10-21 14:58:29

tf wrote:

I fixed this by using ifplugd and not using ifupdown's built-in allow-hotplug.

Did you read where ifplugd come from?

apt show ifplugd
Package: ifplugd
Version: 0.28-19.5
Priority: optional
Section: net
Maintainer: Walter Franzini <walter.franzini@gmail.com>
Installed-Size: 222 kB
Depends: libc6 (>= 2.15), libdaemon0 (>= 0.10), debconf (>= 0.5) | debconf-2.0, lsb-base (>= 3.0-6)
Recommends: ifupdown (>= 0.6.4-4.2)
Suggests: wpasupplicant
Homepage: http://0pointer.de/lennart/projects/ifplugd/
Tag: hardware::laptop, implemented-in::c, interface::daemon,
 network::configuration, protocol::ethernet, role::program,
 scope::application, use::configuring, use::monitor
Download-Size: 65.5 kB
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: configuration daemon for ethernet devices

😱

#39 Hardware & System Configuration » Which is the correct network stack for Devuan? » 2023-10-21 14:55:11

Danielsan
Replies: 5

Hi there,

I upgrade Debian for the ROC-RK3328-CC into Devuan but I feel I missed some important network packages, since, personally, the Debian image provided by Libre.Computer was very opinionated.

On my Devuan desktop installation I have these packages installed:

$ aptitude search '~i ~d network'
i A avahi-autoipd                   - Avahi IPv4LL network address configuration
i A avahi-daemon                    - Avahi mDNS/DNS-SD daemon                  
i A avahi-utils                     - Avahi browsing, publishing and discovery u
i A dbus-system-bus-common          - simple interprocess messaging system (syst
i A dirmngr                         - GNU privacy guard - network certificate ma
i A gir1.2-nm-1.0                   - GObject introspection data for the libnm l
i A glib-networking                 - network-related giomodules for GLib       
i A glib-networking-common          - network-related giomodules for GLib - data
i A glib-networking-services        - network-related giomodules for GLib - D-Bu
i A iftop                           - displays bandwidth usage information on an
i   ifupdown                        - high level tools to configure network inte
i   iproute2                        - networking and traffic control tools      
i   iputils-ping                    - Tools to test the reachability of network 
i A libaudio2                       - Network Audio System - shared libraries   
i A libavahi-client3                - Avahi client library                      
i A libavahi-common-data            - Avahi common data files                   
i A libavahi-common3                - Avahi common library                      
i A libavahi-core7                  - Avahi's embeddable mDNS/DNS-SD library    
i A libavahi-glib1                  - Avahi GLib integration library            
i A libmng1                         - Multiple-image Network Graphics library   
i A libnet-netmask-perl             - module to parse, manipulate and lookup IP 
i A libnm0                          - GObject-based client library for NetworkMa
i A libnma-common                   - NetworkManager GUI library - translations 
i A libnma0                         - NetworkManager GUI library                
i A libnss3                         - Network Security Service libraries        
i A libqt5network5                  - Qt 5 network module                       
i A libsnmp40                       - SNMP (Simple Network Management Protocol) 
i A libsodium23                     - Network communication, cryptography and si
i   libuuid1                        - Universally Unique ID library             
i   net-tools                       - NET-3 networking toolkit                  
i   netbase                         - Basic TCP/IP networking system            
i A network-manager                 - network management framework (daemon and u
i A network-manager-gnome           - network management framework (GNOME fronte
i   pngquant                        - PNG (Portable Network Graphics) image opti
i   rfkill                          - tool for enabling and disabling wireless d
i   tigervnc-viewer                 - Virtual network computing client for X    
i   traceroute                      - Traces the route taken by packets over an 
i A xfce4-netload-plugin            - network load monitor plugin for the Xfce4 
$ aptitude search '~i ~d dhcp'
i A avahi-autoipd                   - Avahi IPv4LL network address configuration
i A dnsmasq-base                    - Small caching DNS proxy and DHCP/TFTP serv
i   isc-dhcp-client                 - DHCP client for automatically obtaining an
i   isc-dhcp-common                 - common manpages relevant to all of the isc

But which are the mandatory ones?

Thanks 🙏

#40 Re: Hardware & System Configuration » How to disable IPv6? » 2023-10-17 06:01:42

@GlennW that worked, thanks!

Although it says: "ipv6 loaded but administratively disabled" ; it would be cool understand how to prevent ipv6 to be loaded.
Anyway it was enough to let dropbear able to listen in fact I was able to drop the bear into the other pc! 😁

#41 Hardware & System Configuration » How to disable IPv6? » 2023-10-15 18:44:55

Danielsan
Replies: 9

Hi guys,

I have some issues with dropbear and I believe is because ipv6 and therefore I want to disable it.
I didn't find specific documentation on the Debian wiki but this arguable tutorial I found didn't work either:

# Disabling the IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

updated initramfs and rebooted, but still ipv6.

Any suggestions?

Thanks! 🙏

#43 Re: Installation » From Debian to Devuan, but still Debian » 2023-10-10 23:21:34

Thank you!

Based on your insight looks like the package to reinstall is BASE-FILES

#44 Installation » From Debian to Devuan, but still Debian » 2023-10-10 20:24:00

Danielsan
Replies: 2

Hi folks,

I migrated Debian bookworm for LibreComputer ROC-RK3328-CC to Devuan Daedalus plus Runit, but lsb_release still shows information about bookworm! 😞

How can I fix this? 🤷

Thanks! 🙏

#45 Re: ARM Builds » From Debian to Devuan (Odroid-XU4) » 2023-10-03 14:19:08

Odroid Bookworm is on its own way...

https://forum.odroid.com/viewtopic.php?p=375557#p375557

Once released I will try to install it on the eMMC module and then to convert it in Devuan Deadalus plus runit! 😎

#46 Re: Installation » How can I replace sysv with runit? » 2023-10-01 18:10:42

fsmithred wrote:
apt install runit-init

You probably also want runit-services if that doesn't come in automatically.

Thank you, I hope Meverick from the Odroid community is going to build a bookworm ISO so I can later install Devuan on my Odroid-XU4...

A technology is a technology nor bad or good, but if at Debian don't fix units services why they continue to provide this init system which comes broken by default , this really drive me crazy!

p.s. looks like I pressed report instead of quote... 🤦♂️

#47 Re: ARM Builds » From Debian to Devuan (Odroid-XU4) » 2023-09-30 00:46:54

ralph.ronnquist wrote:

I can't help you for runit, but I'm very interested in learning how to de-brick after an attempt to move the OS onto the eMMC.

For what I read you need to flash the eMMC, and then change some files regarding uboot: https://forum.odroid.com/viewtopic.php?p=371017#p371017

Anyway I am not going that far until a bookworm image won't be available.

This was a test to check the feasibility, and it was a success!  🎊 🎊 🎊

#48 Re: ARM Builds » From Debian to Devuan (Odroid-XU4) » 2023-09-30 00:08:09

It actually worked out

907379319196e9bd.png

Now for running from the eMMC it is required further jumps on the hoops, but it looks feasible, for testing I've just installed the full DE on a SD card but it is working fine.

Even the GPU acceleration is working:

# glxinfo | grep rendering && glxinfo | grep vendor
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Mesa/X.org\

Now I would just replace sysvinit with runit!

Any wiki to follow plz?

#49 Installation » How can I replace sysv with runit? » 2023-09-29 23:29:03

Danielsan
Replies: 2

Hello,

as per the title?

I'd like to replace sysv with runit, I am doing some tests on a board so I couldn't install Devuan with the installer, thanks.

#50 ARM Builds » From Debian to Devuan (Odroid-XU4) » 2023-09-29 20:06:45

Danielsan
Replies: 4

From the Odroid Forum I read about a dude that installed a Debian iso made for this board and then he followed the standard procedure to convert Debian into Devuan, this sound pretty cool but...

Do you believe that is really feasible?

I am using Armbian right now with some very annoying issues, and guess what?
All of them are systemd service failing for unknown reasons.

I could actually testing it with a SD card, it would be very cool using Devuan instead of Armbian... 🤔

Board footer

Forum Software