The officially official Devuan Forum!

You are not logged in.

#1051 Re: Hardware & System Configuration » [SOLVED] Strange gparted situation » 2021-03-15 03:28:54

interesting.

I would have thought they would be made by udev but then it would be originating from /sys (or somwhere else?) unless something has blessed the system with some special udev rules; then likely in /etc/udev/rules.d rather than /lib/udev/rules.d.
Or possibly there's some residue from some past "journey" in /etc/fstan?

#1052 Re: Hardware & System Configuration » [SOLVED] Strange gparted situation » 2021-03-15 01:15:15

Maybe there are some dangling links in some /dev/disk/by-* directory?

#1053 Re: Installation » I just installed Devuan 3.1.0 Beowulf and it's cool » 2021-03-13 05:26:42

How do you test that your system is using TLS to connect to the DNS providers?

DNS over TLS has the standard port 853 rather than port 53 for "traditional DNS", so you might verify with tcpdump or similar.

#1054 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-13 01:34:52

Note that those are two quite different machine emulations. You should both add the -serial mon:stdio argument pair so that you can operate the qemu monitor and inspect the emulation. The monitor is then connected to stdin/out of the temrinal where you typed the qemu-system-x86_64 ... command, and you will "wake it up" by the C-A c sequence, which gives you the qemu monitor prompt.

At there, @dice would see, by the info block command, that the emulated hardware includes a disk (hd0), a cdrom (cd0) without media, a floppy reader (fd0) without media and an sd card drive (sd0) without media, whereas @fsmithred would instead not see any hard disk, but cd0 with media and fd0 and sd0 without media.

Going back to to OP case, I am guessing that the hardware seen by that boot is as per @dice, which would mean that the boot USB gets set up as the primary disk rather than as a cdrom (which the live-boot expects).

#1055 Re: Hardware & System Configuration » [SOLVED] Backup entire installed Beowulf w/software + configs + /home? » 2021-03-12 23:48:57

Ok. You'll need some disk reflection tool... mabe blkid or lsblk are included in the initrd, or I suppose an ls /dev would tell something ... all being tried at the (initramfs) prompt.

The deal is that at that time, the kernel has been loaded with the initrd as root file system, and then the init scripting cannot find the device where the "real live filesystem" is (that we know to be on the USB). This means in particular that the system has booted so far as to load the kernel and then, eventually, come to run the /bin/sh (typciallly a dash shell) of the initrd.

Since you can come that far, you should be able to recreate the USB with more utilities in the initrd; a task I'm hoping @fsmithred can guide you to...

EDIT: .. just saw the above post... you might follow @fsmithred's lead first; mine is more of fumbling in the dark.

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

Yes, that's right.

Basically I suspect that that kernel sees a slightly different device enumeation than the live-boot preparation code expected, and wrote in into the initrd boot procedure.

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

Hmm .. maybe I misunderstood, but isin't that what you refer to at post #25; it's where you come when you try to boot from your iso?

#1059 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)

#1060 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.

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

Have you tried replacing the monitor cable?

#1062 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.

#1063 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.

#1064 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.

#1065 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.

#1066 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.

#1067 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.

#1068 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.

#1069 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.

#1070 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)

#1072 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?

#1074 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.

#1075 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.

Board footer

Forum Software