You are not logged in.
This config is designed to specifically work with IWD. It should work like the original script if you are using ethernet (I made it detect if the interface is wireless or not.)
Needless to say that with the default script it doesn't work either.
Are you using IWD?
Hi,
I don't use IWD only interfaces config file.
Did you remove allow-hotplug?
Both auto and allow-hotplug, should I restore auto instead?
Did you make sure not to use IWD's built-in DHCP client?
IWD is not installed!
Did you modify /etc/netplug/netplug?
Yes I did, using the configuration you shared!
I don't actually need the wifi I need it for the eth0, but I guess that if doesn't work is the same for the others, isn't it?
Thanks!
Hi guys,
Is there available any boot process analyzer that is not systemd-bootchart?
thanks 🙏
Oh my gosh it is very resilient! 🤨
apt list --installed | grep systemd
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libsystemd-shared/stable,now 252.17-1~deb12u1 arm64 [installed]
apt purge libsystemd-shared -s
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libsystemd-shared*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Purg libsystemd-shared [252.17-1~deb12u1]It can be removed without fear! 💪
In your last command you have > where a | should be...
Thanks you're right... Now I am scared... 😫
Apparently this workaround resolved the issue:
sudo aptitude install elogind libpam-elogind policykit-1 --without-recommends
The following NEW packages will be installed:
elogind libduktape207{a} libelogind0{a} libpam-elogind{b}
libpolkit-agent-1-0{a} libpolkit-gobject-1-0{a}
libpolkit-gobject-elogind-1-0{a} pkexec{a} policykit-1
polkitd{a} sgml-base{a} xml-core{a}
The following packages are RECOMMENDED but will NOT be installed:
gnome-flashback gnome-shell lxpolkit lxqt-policykit
mate-polkit phosh policykit-1-gnome polkit-kde-agent-1
polkitd-pkla ukui-polkit
0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,418 kB of archives. After unpacking 5,246 kB will be used.
The following packages have unmet dependencies:
dummy-logind : Conflicts: logind which is a virtual package, provided by:
- libpam-elogind (246.10-5), but 246.10-5 is to be installed
- dummy-logind (246.10-5), but 246.10-5 is installed
libpam-elogind : Depends: libelogind-compat but it is not going to be installed
The following actions will resolve these dependencies:
Remove the following packages:
1) dummy-logind [246.10-5 (now, stable)]
2) libsystemd0 [252.17-1~deb12u1 (now, stable)]
Install the following packages:
3) libelogind-compat [246.10-5 (stable)]
Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
elogind libduktape207{a} libelogind-compat{a} libelogind0{a}
libpam-elogind libpolkit-agent-1-0{a}
libpolkit-gobject-1-0{a} libpolkit-gobject-elogind-1-0{a}
pkexec{a} policykit-1 polkitd{a} sgml-base{a} xml-core{a}
The following packages will be REMOVED:
dummy-logind{a} libsystemd0{a}
The following packages are RECOMMENDED but will NOT be installed:
gnome-flashback gnome-shell lxpolkit lxqt-policykit
mate-polkit phosh policykit-1-gnome polkit-kde-agent-1
polkitd-pkla ukui-polkit
0 packages upgraded, 13 newly installed, 2 to remove and 0 not upgraded.
Need to get 1,425 kB of archives. After unpacking 4,307 kB will be used.
Do you want to continue? [Y/n/?] yBut:
util-linux depends on libsystemd0.
ppp depends on libsystemd0.
lvm2 depends on libsystemd0 (>= 233).
libwebkit2gtk-4.1-0:arm64 depends on libsystemd0.
libwebkit2gtk-4.0-37:arm64 depends on libsystemd0.
libvte-2.91-0:arm64 depends on libsystemd0 (>= 220).
libseat1:arm64 depends on libsystemd0 (>= 238).
libpulse0:arm64 depends on libsystemd0.
liblvm2cmd2.03:arm64 depends on libsystemd0 (>= 233).
libjavascriptcoregtk-4.1-0:arm64 depends on libsystemd0.
libjavascriptcoregtk-4.0-18:arm64 depends on libsystemd0.
libgnome-desktop-3-20:arm64 depends on libsystemd0.
gnome-keyring depends on libsystemd0.
gcr depends on libsystemd0.
bsdutils depends on libsystemd0.
at-spi2-core depends on libsystemd0.Thus:
sudo aptitude reinstall ppp lvm2 libwebkit2gtk-4.1-0 libwebkit2gtk-4.0-37 libvte-2.91-0 libseat1 libpulse0 liblvm2cmd2.03 libjavascriptcoregtk-4.1-0 libjavascriptcoregtk-4.0-18 libgnome-desktop-3-20 gnome-keyring gcr at-spi2-core cryptsetup cryptsetup-initramfs dropbear-initramfsutil-linux and bsd-utils are currently missing on devuan:
sudo apt reinstall util-linux bsdutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reinstallation of util-linux is not possible, it cannot be downloaded.
Reinstallation of bsdutils is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt-cache policy util-linux bsdutils
util-linux:
Installed: 2.38.1-5+b1
Candidate: 2.38.1-5+b1
Version table:
*** 2.38.1-5+b1 100
100 /var/lib/dpkg/status
2.38.1-5devuan1+b1 500
500 http://deb.devuan.org/merged daedalus/main arm64 Packages
bsdutils:
Installed: 1:2.38.1-5+b1
Candidate: 1:2.38.1-5+b1
Version table:
*** 1:2.38.1-5+b1 100
100 /var/lib/dpkg/status
1:2.38.1-5devuan1+b1 500
500 http://deb.devuan.org/merged daedalus/main arm64 PackagesAnyway:
sudo apt install -f -s
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[UPDATE] And still there 😑
apt list --installed | grep systemd
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libsystemd-shared/stable,now 252.17-1~deb12u1 arm64 [installed]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! 🙏
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:
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 🙏
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
fiMy 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
fiThe script is located in:
/usr/share/cryptsetup/initramfs/bin/cryptroot-unlock
👍
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... 🤦
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 fiWorkaround: 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!
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 directoryThanks!
Did you customize the default script?
My WiFi dongle is stuck in a endless loop with your script...
Thank you!
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!
Thank you!
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.
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😱
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 iscBut which are the mandatory ones?
Thanks 🙏
@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! 😁
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 = 1updated initramfs and rebooted, but still ipv6.
Any suggestions?
Thanks! 🙏
You should also add as first line auto wlan0
Thank you!
Based on your insight looks like the package to reinstall is BASE-FILES
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! 🙏