The officially official Devuan Forum!

You are not logged in.

#951 Re: Devuan » setnet.sh script depreciated? » 2022-04-17 22:41:09

Good idea. The next steps towards that would be to

  1. get the software held as a project at the Devuan Git Store, https://git.devuan.org, and

  2. enjoy and digest https://git.devuan.org/devuan/documenta … aintainers

The old devuan/setnet project is still there but it hasn't been touched for some 3 years and it sure needs a new, active maintainer. I would suggest you discuss details with LeePen over IRC at #devuan-dev on libera.chat.

#952 Re: Off-topic » Is wayland the new systemd ? » 2022-04-16 00:31:51

IMO Wayland is not at all an improvement over X.

E.g: https://en.wikipedia.org/wiki/Wayland_( … land_and_X

I thought the language in that comparison is quite balanced although with a hint of the author(s) "favouring Wayland".

In my reading it makes the point that the functional overlap between Wayland and X11 is small, but generally they are ideas based on rather different understandings of the computational platform/architecture.

So I'm thinking that any competition between them would be more in whether and which of those understandings better serves the purpose of end users benefiting of FOSS, and that's a political rather than technical discussion.

#953 Re: Desktop and Multimedia » help me please install FVWM95 on Ceres » 2022-04-13 00:04:13

Firstly, when building you should use "make |& tee LOG" so that all output is captured in LOG. That makes it possible to review it all in more details.

In this case you will need to find the "error: ..." lines to figure out what the main problems are. All the warnings should really be tended to as well, but they doesn't stop the compilation.

I mostly got missing include files and needed to install:

# apt-get install libx11-dev libxpm-dev libxext-dev libxt-dev xbitmaps libxmu-headers

plus a light manual touch to remove some misplaced "##", and

now it looks like the link recipe of the Makefile needs polishing as well.

#954 Re: Desktop and Multimedia » Running a VPN from normal user privilege » 2022-04-06 21:27:51

The networking part of the client, i.e. creating a tap interface and manipulating the routing set up, requires root, so the client must run as root anyhow.

#955 Re: Other Issues » Android studio real in Devuan? » 2022-04-04 06:19:15

Yes.
You download that linux tar.gz, android-studio-2021.1.1.22-linux.tar.gz
un-tar it at your favourite place, then follow its instruction (to run studio.sh)
You can do all this as "normal user", i.e. you don't need to be root.
And then it'll keep downloading stuff .. some 6G maybe.
Seems to work fine (on chimaera).

#956 Re: Other Issues » Android studio real in Devuan? » 2022-04-03 22:51:04

Normal downloading and installation works fine.
Which part is tainted with badness?

#957 Re: Devuan Derivatives » Could we use the signature "D" in Devuan » 2022-03-29 20:45:00

Yes I think there was a mistake on that link;
the OP had this link: https://imgur.com/8MA5SQK which does include the "swosh"

#958 Re: Installation » Chimaera: xfce4 and changing to another window manager » 2022-03-16 21:44:59

Note that libelogind0 provides and replaces libsystemd0, but libsystemd0 is not similarly declared to provide libsystemd0 (it is libsystemd0 and thereby incidentally provides it) so apt gets slightly confused about that "mixed messaging" until libelogind0 gets installed.

#959 Re: Hardware & System Configuration » [SOLVED] Dual monitor configuration » 2022-03-08 05:49:27

Well, it operates on the current display, as known in the DISPLAY variable or given as command parameter, and it's typically run as the logged in user (not root) in a terminal window. I.e., open your terminal window and type the command there.

#961 Re: Hardware & System Configuration » [SOLVED] Dual monitor configuration » 2022-03-07 21:30:26

The program is xrandr, on the command line.

First just

$ xrandr

so you can see what your monitor outlets are called.

Second some configuration adjustment, e.g. like:

$ xrandr --output $mon2 --auto --right-of $mon1

which would enable $mon2 in its default resolution and logically place it top aligned to the right of $mon1.

Use man xrandr for information.

#962 Re: Documentation » Devuan GNU+Linux Command-line Installation Guide (In progress) » 2022-03-06 08:25:50

It all depends on what you include in your sysvinit concept.

The core level for sysvinit is the configuration expressed in /etc/inittab, which declares a range of different configuration of "managed services" depending on the runlevel.

The operational runlevels typically include running /etc/rc which technicaly is a core level one-shot service for starting other self-managed services via their control programs or scripts typically residing in /etc/init.d. Those control programs or scripts are expected to implement some few command line commands such as "start", "status" and "stop".

If you have sysvinit installed, this is well documented in e.g. man init, man runlevel and man insserv and their related man pages.

It may be worth to point out that the service control at runlevel transitions nowadays uses dependency driven parallelism, and the sequential boot of early millenium is abandoned. See e.g. man startpar for details.

#965 Re: Installation » [SOLVED] Installing Devuan via command line » 2022-02-18 23:12:11

It's not unusal to get all sort of such problem if you happen to omit or forget to set up the virtual filesystems (esp. proc, sysfs and devpts) and device nodes in the chroot.

grub, for instance, will want to access both the disk device as a whole as well as the boot partition on that device, and it also wants that boot directory to be present on that disk device.

But you probably don't want that installation to mess with your "outside" boot so you should refrain from bind-mounting /dev. Rather you set up the appropriate device node for the target disk image under an alias name within the chroot; i.e., for example, use mknod naming it "sda" but with major/minor identifying the actual device (perhaps "sdf" for a removable, or "loop0" for a  duly set up disk image file).

#966 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-13 21:32:09

Yes, good, that's better, since GPT decorates both the head and the tail of the device.

#967 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-13 21:03:23

@Altoid, to recover an DOS partition table, you clear the first 1 Mb of the device:

# dd if=/dev/zero of=/dev/sdf bs=1M count=1 conv=notrunc

NOTE THIS IS HARMFUL TO A DISK. Make sure doubly /dev/sdf is the disk at hand.

Then run fdisk to create a DOS partition table as per post #3, create a single primary partition of type 83 starting at 2048 and ending at end.

Thereafter run fsck as per superblock advice at post #7, trying some of the discovered superblocks.

Then mount sdf1.

Might work, though it doesn't recover overwritten files of course.

#968 Re: DIY » I am in need of a particular suspend+lock script » 2022-02-13 04:37:33

You could maybe you use the -killtime and -killer

Though I'm not sure what "warn for 30 minutes" means; warn repeatedly for 30 minutes?

I suppose eg a 5 minute killer could check the time since slock start, and warn or eventually call pm-suspend?

#969 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-11 01:04:15

If it was me, I would run fdisk to set up a new partition table... I would make a dos partition table starting from scratch possibly deleting whatever entries it has, then using defaults, all on my habit of normally using the defaults for my disk partitioning.

#970 Re: Off-topic » syntax highlighting » 2022-02-04 22:08:59

I need spaces to line up the clock exactly on the centreline, tabs don't quite match.

printf "%$((COLUMNS / 2))s%s%s\n" "$(date +%H%M)" "$state" "$symbols"

Then, for the OP, I think some syntax highlighting is good some really bad; especially when it's made for dark background where I use light background.

#971 Re: Hardware & System Configuration » [SOLVED] USB refusing to connect to one device » 2022-01-25 11:02:27

The directory /etc/modbrobe.d holds files that are used by the modrobe program/command to in particular use given parameters to modules as they are loaded.

If you want to give parameters when usbcore is loaded, then you would typically make a file named usbcore.conf in that directory, and in the file write a line

options usbcore use_both_schemes=y

That line tells modprobe to use that parameter setting when loading the module.

In order to take effect, the module must first be unloaded before loaded again; the parameter setting applies at loading.

Some modules allow some parameters to be changed also for a loaded module. You would do that with a command similar to

# echo y > /sys/module/usbcore/parameters/use_both_schemes

The redirection must be done as root of course.

#972 Re: Other Issues » Why debtree wont appear in some packages in Devuan Package View ? » 2022-01-16 23:25:33

Well spotted.

Specifically that happened due to a rendering bug in debtree which now has got a local patch (and a bug report lodged against debtree)

#973 Re: Installation » How can I install Devuan to RAID? » 2022-01-16 04:08:23

Yes, you may need to run an install disk but stop before partitioning, and then use Ctrl-Alt-F2 to gain an installer shell instead.
It should be raid0 capable to let you assemble your installed system, for mounting it and chroot into it.

Though this should be rather similar to using the rescue mode... did you select the "configure raid" option in the "select root filesystem" menu, and then use the md device?

I realized I tried a raid1; I should it with try raid0 instead.

EDIT: I started to wonder about which kind of raid system you are setting up.

Basically, if any of the bootstrap files end up straddling a division line between raid0 partitions there will be grief, because those are all loaded before any raid0 support is available, using disk block addressing.

To be sure about things, you might therefore want to have a separate /boot partition outside of the raided partitions.

#974 Re: Installation » How can I install Devuan to RAID? » 2022-01-13 05:58:09

I don't have any prior experience with this, but your first post inspired me to try out a raid1 setup in qemu. Easily done, and no issues, but that in itself doesn't help you a lot smile

However since the boot reaches the initramfs prompt, it indicates that grub is happy enough, and the the issues sits with the initramfs. Specifically that the block device '/dev/md0' doesn't get set up on boot.

The first of possibilities is that you have opted for "non-standard" hotplug handling.
Did you set up something else than eudev for that?

EDIT: You may refer to the scripts in /usr/share/initramfs-tools/ to figure out what is going wrong, though that might be difficult to do without getting it started. However, at the initramfs prompt, you can mount a disk read-only and then chroot into it.

#975 Re: Installation » How can I install Devuan to RAID? » 2022-01-12 05:26:53

I'm afraid I don't have a RAID setup myself, but at a quick glance I would probably first try to follow these instructions

I.e. do that on the installer command line to begin with.
And make sure to save the configuration file(s) somewhere.

EDIT: Actually, the installer includes some functions for setting up RAID. You will need to use "expert" mode, and then in particular select the "mdcfg" option as additional component. At the partitioning stage there will then be some RAID setup options. I'm not yet totally sure how these work though.

EDIT: I'll take it back: the RAID setting up is available also with "default" mode. But you need to use the Manual option for partitioning so that you first partition the physical devices, and then use the "Configure RAID" option before finishing the partitioner.

Note that grub will only install on the one disk, which should be one of the physical disks. You may later also run grub-install onto the other disk(s) to make them separately bootable.

Board footer

Forum Software