The officially official Devuan Forum!

You are not logged in.

#1126 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-12 22:07:11

If you can come to the (initramfs) you're doing well: that prompt comes from having loaded the boot kernel and set up the initrd. That means that the machine has booted from the USB but it now runs into problems for "pivoting", i.e., on the attempt to transition the root file system point.

So at that prompt, you might be able to do soome "machine inspection" to figure out what is wrong. You might even create a fatter boot initrd to have more tools, eventually if necessary.

The first thing to do is to get an idea of the boot kernel's picture of the disks. Use df and fdisk -l for that.

Btw, you should be able to inspect that initrd init script on the system before (or when) writing the USB. It should be originating from the file /usr/share/initramfs-tools/init (or similar, if different with live-tools installed; @fsmithred might know)

#1127 Re: Installation » [SOLVED] Permissions for script in cron » 2021-03-08 20:18:43

Normally you'd need root permissions to put scripts there, and it will, if executable, run by cron as root.

However, the PATH is a common cause of issues, see e.g. man 5 crontab.

#1128 Re: Off-topic » A problem on my monitor » 2021-02-27 05:41:42

Have you tried replacing the monitor cable?

#1129 Re: Installation » Converting from Buster and usr merge » 2021-02-24 23:56:23

1. I'm assuming there's probably no way to change that...or at least nothing I'd want to attempt(?).

It's not too hard. You start by copying /usr/bin into a new drectory /A, then make that become /bin by a careful juggle

rm /bin && /usr/bin/mv /A /bin

Thereafter it's a matter of removing from /bin and /usr/bin those that are mentioned differently in the content lists of installed packages. (You must of course also make sure your PATH includes both /usr/bin and /bin)
For example, if living on the edge you would use the following command pipeline

 cat /var/lib/dpkg/info/*.list | \
    grep -E '^(/usr)?/bin/' | \
    sed 's/^/\/usr/;s/^\/usr\/usr//' | \
    xargs -r rm

i.e. from the content lists reduce to the /bin/* and /usr/bin/* pathnames and change each pathname by adding prefix /usr to it but then remove /usr/usr if it becomes that, and then give these pathnames to rm

Then do the similar for /sbin and /usr/sbin (but using /bin/mv).

I haven't looked into unmerging /usr/lib. This might involve something more since there is a cache of pathnames for finding dynamic libraries and you wouldn't want to invalidate that willy nilly.

#1130 Re: Installation » SOLVED - Is there a guide on installing Devuan through the CLI? » 2021-02-20 22:57:49

You will want to use http://deb.devuan.org/merged instead.

I.e., the protocol should be http rather than https because the FQDN deb.devuan.org resolves to the collection of repository mirrors, and the local path should be /merged so as to properly trigger the web service rewrite rules that dispatch (bmo 302 redirecs) between pure debian packages and the forked devuan packages.

#1131 Re: Installation » EFI mode in Beowulf point release working? » 2021-02-16 22:28:19

Fwiw, all devuan 3.1.0 (as well as 3.0.0) ISOs have an EFI partition as well as the CD partition. For example:

% fdisk -l devuan_beowulf_3.1.0_amd64-desktop.iso   
Disk devuan_beowulf_3.1.0_amd64-desktop.iso: 3.7 GiB, 3948937216 bytes, 7712768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5ba9ef0a

Device                                      Boot Start     End Sectors  Size Id Type
devuan_beowulf_3.1.0_amd64-desktop.iso1 *        0 7712767 7712768  3.7G  0 Empty
devuan_beowulf_3.1.0_amd64-desktop.iso2      23636   24531     896  448K ef EFI (FAT-12/16/32)

Technically the blocks of the EFI partition are among the blocks of the CD partition, which in fact spans all blocks of the ISO including the block 0 partition table.

Since the EFI partition needs to be a FAT type file system it cannot be a subdirectory on the CD which needs to be one or the other of the few CD type file systems.

#1132 Re: Desktop and Multimedia » PulseAudio always resets to mute » 2021-02-16 22:07:26

that /etc/pulse/default.pa does not look anything like the one in the mycomputertips help page.

That page shows two files where the first is "the pusleaudio configuration file" .. whatever that is, and towards the bottom the excerpt for /etc/pulse/default.pa.

This issue is down at pulseaudio level and not desktop environment level. Clearly the GUI that lets you alter the configuration should have included something to register the new configuration as persistent over reboot. For pulseaudio that "persistence" is apparently implemented via the "default.pa" file.... or files perhaps, if you can have per-user defaults.

#1133 Re: Desktop and Multimedia » PulseAudio always resets to mute » 2021-02-16 09:48:35

Here's a gratuitous web search result https://www.mycomputertips.co.uk/213
Iit's for Ubuntu but probably works here as well.

The suggestion is to

  • determine the label (XXX)  for the "active profile" by looking for that entry in the pulsaudio configuration file

  • then edit /etc/pulse/default.pa, to add a line like set-card-profile 1 XXX to it

  • and then restart pulsaudio

Probably not ideal for a pointy-clicky minded user.

#1134 Re: Desktop and Multimedia » [Solved] On-line video viewing problem with Palemoon » 2021-02-05 05:18:10

Why doesn't it surprise me that you of all who responded on this thread says that?

Please note that existential reflections are likely to serve their purpose better as separate, "off-top" threads.

#1135 Re: ARM Builds » Repartioning the SSD after flashing a Devuan Beowulf image » 2021-01-31 00:43:03

Sure.  you might then also need to edit /etc/fstab and if there's anything else have captured the old uuid.

Just in parenthesis: hardcoding the uuid is no less hardcoding than hardcoding the partition device name. At some stage in history there was that idea of partition "label" which survives partition resize, move and copy; that could be used as well.

#1136 Re: ARM Builds » Repartioning the SSD after flashing a Devuan Beowulf image » 2021-01-30 12:30:32

Note that you can set the uuid of an ext4 parition with tune2fs, i.e. you should be able to restore the uuid of the shrunk partition.

#1137 Re: ARM Builds » sshd via wlan0 only if ethernet cable is plugged - otherwise no sshd » 2021-01-28 01:07:55

I can imagine at least one scenario where the reported behaviour would be a natural consequence: namely  when there are 2 different IP networks over a single Ethernet (broadcast) network

  • the one IP network that includes your Fritz!Box as well as the eth0 interface of Pi4, and

  • another IP network for the wlan0 interface of Pi4, visible to Fritz!Box via the wireless router's routing.

  • the router bridges the networks into a single Ethernet broadcast network

That setup could explain the observations that an ssh connection targeting the wlan0 interface IP requires the eth0 cable in place, as well as that wlan0 appears for nmap from Fritz!Box but without services if the cable is disconnected.

The issue concerns the return traffic: i.e., the network packets that should go back from sshd to the Fritz!Box IP.

I'm then postulating that your wlan0 configuration does not have any route management, and that therefore Pi4 does not know how to send packets to the Fritz!Box IP unless the eth0 cable is connected.

The eth0 configuration as shown results in both a "network route" for the network of eth0 and (most likely) a "default route" as well through eth0. The wlan0 configuration (not shown) at a guess only resluts in a "network route" for the wlan0 network. Thus, without the cable, the Pi4 does not know where to send IP packets other than those of the wlan0 network.

If that's not your scenarion the issue would probably still be the routing and the way the routing table is manipulated when a cable is disconnected (and connected).

The solution would be to ensure that the routing table is managed appropriately for the 4 different setups: (with or without) * (eth0 or wlan0)

#1139 Re: Hardware & System Configuration » [SOLVED] Realtek r8153 USB-RJ45 » 2021-01-18 22:47:20

Something can intercept/block RX packet from a working usb/ethernet device fo reach the kernel ?

The DHCP set up is done by a dhcp client program, and not "the kernel". That dhcp program is typically run by a network management subsystem.

Which network managment are you using?

What's the output of pgrep -a dhcp ?

Do you have a firewall set up?

#1141 Re: Hardware & System Configuration » [SOLVED] Realtek r8153 USB-RJ45 » 2021-01-16 14:53:02

Would you mind drop the outputs of two commands:

# ls /sys/class/net
# ip link

That should provide exact information of the link level, and possibly point to where a problem might be.

#1142 Re: Installation » [SOLVED] Devuan XFCE autologin » 2021-01-13 21:36:24

Btw, are you sure you are using lightdm and not slim which is the default in Devuan ?

If the latter, you'll rather need to edit /etc/slim.conf to have default_user and auto_login set up.

#1143 Re: Installation » SOLVED: Devuan's "systemctl daemon-reload" » 2021-01-13 21:30:01

Yes, "crickets" is a meaningful outcome. The follow-on testing would be

a) try running /usr/sbin/expressvpnd as root (I failed to highlight that before). 

Then b) look into the end of the file /var/log/syslog for traces of that run; esp. if there is anything near a good statement of why it is failing. In particular, if it's an apparmor issue, then it would show up there I think.

Also b2), check whether there might be a dedicated log file for expressvpn in /var/log.

#1144 Re: Installation » [SOLVED] Devuan XFCE autologin » 2021-01-12 20:48:47

Perhaps it should say [SeatDefaults] rather than [Seat:*] ?

#1145 Re: Installation » SOLVED: Devuan's "systemctl daemon-reload" » 2021-01-11 23:33:48

The init script you installed is fine, but there is obviously a problem for the expressvpnd daemon program.

Try running /usr/sbin/expressvpnd from the command line; it may tell you why it fails to start.

Perhaps you are using apparmor restrictively and it needs some permissions set up?

#1146 Re: Other Issues » ceres is not upgrading any packages » 2021-01-11 23:06:18

Thanks. I'm not sure if or where there is a problem, but a prompt like this is useful for the repo admins. I do know that there has been some recent amprolla improvement attempts, and perhaps they have "back-fired"... Keep checking.

#1147 Re: Hardware & System Configuration » Realtek Bluetooth 5.0 usb dongle firmware » 2021-01-08 00:32:20

When setting up a bluetooth speaker it got set up as a USB device, and I had to manually chwon /dev/bus/usb/001/002  to me in order gain access to it; maybe you have the same issue?

#1149 Re: Desktop and Multimedia » E233: cannot open display » 2020-12-09 10:21:07

Yeah, I've read many threads here and still haven't worked out any regular formula for when "advice to search" is administered.

There obviosuly should be a constent rule for it as otherwise any poster might feel left out or fingered; especially those that do search first and don't get any credit for that, as well as those who don't search first and thus suffer an amount of face loss.

#1150 Re: Other Issues » dpkg database is locked, can't proceed with installation » 2020-11-09 06:41:31

Looks like an install script bug at /usr/lib/fheroes2-pkg/b-i_fheroes2.sh:20

Change that line to be

echo # dpkg -i /dev/zero 2>/dev/null

to make it build more happily.

Board footer

Forum Software