The officially official Devuan Forum!

You are not logged in.

#976 Re: Installation » Network Issue With Devuan » 2021-08-27 13:34:54

@Jakoline I checked it out, and the rfkill package is actually in the ISO pool although not installed without DE. So the easier path would be to mount the ISO on, say, /mnt and then run

# dpkg -i $(find /mnt/pool -name \*rfkill\* )

(as root) to install it.

Thereafter you may follow the above good advice as to how to use it.

#977 Re: Installation » Network Issue With Devuan » 2021-08-26 12:27:32

Assuming the installer brought up the network, one way forward for you would be to start another installation but stop before partitioning; i.e., DON'T partition and instead use ctrl-alt-f2 to gain a shell.

In that shell, you first mount the previously installed file system partition, then chroot into that, and then install rfkill.

After the successful installation of rfkill, you should exit the chroot, unmount the partition, and then reboot into the previously installed system, now with rfkill installed.

#978 Re: ARM Builds » DHCP client problems after upgrade to Chimaera » 2021-08-23 11:53:52

I think you should comment out that second eth0 configuration; if you need both ipv4 and ipv6 you'll need to combine them into a single configuration block, e.g. with "up" statements dealing with ipv6.

Do you have files in /etc/network/interfaces.d/ ? Where do the vlan adapters come from .. or what they are? Eg wan@eth0

EDIT: it looks like some kind of "openwrt" setup; could you post /etc/config/network if you have one?

#979 Re: ARM Builds » DHCP client problems after upgrade to Chimaera » 2021-08-23 10:28:10

Is there a cable on eth0?

please post your /etc/network/interfaces

#981 Re: Installation » My chimaera install issues #6: lxqt-pm shouldn't be autorun on desktop » 2021-07-22 23:22:19

Yes, someone has to do the work to figure that out. Why not you?
.. that's not meant to be aggressive in any way, but rather it's a suggestion that you shouldn't feel obstructed by imagined limitations and instead see it as an opportunity to learn as well as to actively contribute to the collaborative effort that Devuan is.

#982 Re: Installation » My chimaera install issues #6: lxqt-pm shouldn't be autorun on desktop » 2021-07-22 22:38:59

This is just a meta level note, that the way to capture bugs and user experience comments is by lodging "bugs", typically by email to the "bugs system".

The expectation is then that the lodger first tries to isolate which package is involved or seemingly involved and then lodge a "bug" against that package. If the package is "pure debian" the email target is "submit" at "bugs.debian.org, and if it's a devuan forked package, the email target is "submit" at "bugs.devuan.org,".

In both cases, the email should be a pure text email with the first two lines styled as

Package: packagename
Version: version

and then the description with details added.

It's of course fine to also note them at this forum, especially when it comes to more opinion based issues. However rather few of the package maintainers are at this forum.

#984 Re: Installation » [SOLVED] System mail notifications script » 2021-07-02 23:41:44

mmm you omitted the -e... the last part of the line should read

-geometry 120x15-300+150 -e mail"

at least that's what the man xterm page says. I don't really know what the significant difference is between nominating a shell at the end (without -e) and nominating a program via the -e option. The man page has some discussion about it, but the authors' idea of clarity is different from mine.

#985 Re: Installation » [SOLVED] System mail notifications script » 2021-07-02 13:27:14

yes; add the -e mail option for xterm as its last argument within the double-quoted string. Then that will be run instead of a command shell.

#986 Re: Installation » [SOLVED] System mail notifications script » 2021-07-02 02:03:40

To use double-quotes within a double-quoted string, they must be back-slashed... ie

coolmail -e "xterm -xrm 'XTerm.vt100.allowTitleOps: false' -T \"System mail notification\"" -geometry 120x15-300+150

An alternative is to use single-quotes, as in the -xrm detail.

#987 Re: Off-topic » Today I Learned » 2021-07-01 05:05:25

Note that recently the kernel's loop module has max_part=0 by default, which means that the partitions (eg /dev/loop0p1) will not be set up. Many strands of hair have been lost due to this.

To get the good  behaviour, I've added a file /etc/modprobe.d/loop.conf with the following line:

options loop max_part=15

before the loading of the loop module. Almost any number other than 15, within bounds, is also fine.

#988 Re: Packaging for Devuan » quilt diff fails » 2021-06-26 00:07:29

There's some additional notes about quilt for debian packages in man dpkg-source, line 440++. Esp:

Any change on a binary file is not representable in a diff and will thus  lead to a failure unless the maintainer deliberately decided to include that modified binary file in the debian tarball (by listing it in debian/source/include-binaries).  The build will also fail if it finds binary files in the debian sub-directory unless they have been whitelisted through debian/source/include-binaries.

Perhaps that means both that the relative pathname for png file (probably relative the directory containing the debian sub directory) must be mentioned in that included-binaries file, and then that the included-binaries file is maintained via quilt patching.
EDIT: or that the included-binaries file is just updated (without quilt-ing).

#989 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-21 12:55:42

zapper wrote:

  $HOME/Zeal/Music*/*.{opus}

I think bash doesn't handle braces around singleton option well; it only works well when there are options. And it also has to find some * match for every option otherwise it results in the glob string itself. Though, perhaps inserting a prior

shopt -s nullglob

changes that.

Thus, in effect, all those selections ending {opus} end up as "bad pathnames" when picked for the later play command.

In other words, remove the braces for all {opus} and insert that shopt command, and then it hopefully will work consistently.

#990 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-21 04:17:36

Expanded example with some more audio paths, and also that I added "$" for "$RANDOM" just for symmetry (although it shouldn't be needed) and removed the braces for $PICK (also not needed).

#!/bin/bash
AUDIO=( 
    $HOME/folder*/*.{wav,mp3,ogg}
    $HOME/with/some/path/*.mp3
    /usr/share/sounds/alsa/*.wav
)
LENGTH=${#AUDIO[@]}
PICK=$(( $RANDOM % $LENGTH ))
play ${AUDIO[$PICK]}

In detail,

  • the AUDIO assignment is the collection of possible audio files, which in this example includes any files with extensions wav, mp3 or ogg in any home folder whose name starts with "folder", plus any mp3 file in the folder path "with/some/path" from the home folder, plus any wav file in (system) folder "/usr/share/sounds/alsa/";

  • the LENGTH assignment is the number of pathnames in the AUDIO list;

  • the PICK assignment is an integer between 0 and LENGTH-1 picked from a uniform distribution between 0 and 32767, modulo the length (which makes it favour lower numbers); and

  • the play command is of the PICK:th pathname of AUDIO list

I'm sure you can edit the audio paths to suit your needs.

But, there's something funny going on if it doesn't pick at random; perhaps a misspelling? But if you used Copy-and-Paste then that wouldn't be the case. The other option is that the audio selection doesn't find more than one file.. You might check that by inserting

echo ${AUDIO[@]}

immediately after the assignment, and review that output....

#991 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-20 23:11:48

The script could be something simple, like

#!/bin/bash
AUDIO=( $HOME/folder*/*.{wav,mp3,ogg} )
LENGTH=${#AUDIO[@]}
PICK=$(( RANDOM % $LENGTH ))
play ${AUDIO[${PICK}]}

Then it depends on which display management you are using; with xfce4 you would go to "Settings":"Session and Startup" and add a new entry for "Application Autorstart" and there point at your executable script. That would set it up so that that script gets executed upon login.

If you want it tied to console login you might add it to your ".bashlogin", or similar depending on which shell you are using.

#992 Re: Other Issues » At the shut down menu screen I choose shut down, but it reboots. » 2021-06-12 00:38:33

There's a little bit of mismatch between:

VH wrote:

I am using Beowulf on a chromebook with Xfce desktop environment.

and:

VH wrote:
 500 [url]http://us.deb.devuan.org/merged[/url] ascii-updates/main amd64 Packages
     release v=2.0.0,o=Devuan,a=oldstable-updates,n=ascii-updates,l=Devuan,c=main,b=amd64
     origin us.deb.devuan.org
 500 [url]http://us.deb.devuan.org/merged[/url] ascii-security/main amd64 Packages
     release v=2.0,o=Devuan,a=oldstable-security,n=ascii-security,l=Devuan-Security,c=main,b=amd64
     origin us.deb.devuan.org
 500 [url]http://us.deb.devuan.org/merged[/url] ascii/main amd64 Packages
     release v=2.1,o=Devuan,a=oldstable,n=ascii,l=Devuan,c=main,b=amd64
     origin us.deb.devuan.org

Perhaps it's worth to deal with that first, and then see if the problem remains.

#993 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 13:38:07

As @GlennW noted the kernel package is available in the alpha-20210503 ISO, which I could find from Devuan's backup, but that doesn't include the headers.

Possibly you could get them from the "orginal source" which I think would be
https://www.kernel.org/pub/linux/kernel … .28.tar.xz

.. but then there's the caveat that this might be well a "red herring"....

EDIT: Note that Debian has a couple of patches applied to header files. Though off the top they don't seem to concern graphics.

#994 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 11:39:58

That might be right; and the corresponding linux-headers would be at least in the server and desktop isos.
Though, the chimaera alpha ISOs are rebuilt every Monday and might now hold only the 5.10.0-7 package(s).

You find linux-image-5.10.0-0 in beowulf-backports. That's kernel version 5.10.24 (as opposed to 5.10.40 that is packaged as linux-image-5.10.0-7 and kernel version 5.10.28 that was packaged into linux-image-5.10.0-6)

Links for direct download of the .deb(s) could be:
linux-image-5.10.0-0.bpo.5-amd64=5.10.24-1~bpo10+1
and
linux-headers-5.10.0-0.bpo.5-amd64=5.10.24-1~bpo10+1

#995 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 09:13:54

Hmm that observation suggests it relates to the kernel version?
or is there some apparmor involved?

#996 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 08:18:51

Yes it appears to be fully chromium's problem... are you sure it runs with your credentials rather than some "sandbox user" ?

#997 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 07:59:35

You might try running

fuser -v /dev/snd/*

to see which if any (other) process "owns" the device.

#998 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 05:42:35

You might try running

fuser -v /dev/snd/*

to see which if any (other) process "owns" the device.

#999 Re: Hardware & System Configuration » How to properly install and use Zram » 2021-06-03 22:59:12

There is a program and package fbcat for grabbing the frame buffer into ppm format. You'd need to arrange for that to be  available to the installer and run regularly to screenshotting.

E.g., set up a special USB stick that holds that program and has space to hold the succession of snapshots. Then, at the very first dialogue you shift over to VT2 to mount that USB and start the regular repeated snapshotting (example below), and then you shift back to VT1 and continue.  Making a snapshot every 5 seconds gather 12 snapshots a minute, each being (I think) ${number of pixels}x4 bytes in size, typically < 1Mb each. I.e. 1 Gb space handles about an hour of 5-second snapshots.

while sleep 5 ; do fbcat /dev/fb0 > snap-$(date +%s) ; done

Note that this would be for screenshotting the linux frame buffer. The "graphical mode" installers run tthisheir X servers which hold their screen images in memory (without using the linux frame buffer(s)), so screenshotting them is slightly different.

#1000 Re: Other Issues » Tape drives » 2021-05-22 00:38:47

Based on a shallow look-around, it would seem you'll need to get the "st" module loaded.

Perhaps a plain

# modprobe st

is sufficient, or maybe it needs some more intricate incantation.

(Possibly it needs a tape loaded at the time)

Look up Documentation/scsi/st.rst in the kernel source for details of that module.

Board footer

Forum Software