The officially official Devuan Forum!

You are not logged in.

#1001 Re: ARM Builds » no ip address via DHCP » 2021-12-09 10:53:52

Start the installer and at the very first dialog, use C-A-F2  and Enter so as to start a command shell in the installer.
Then set date and time with

# date -d '2021-12-09 21:47:23' 

or whatever it is for you.

If the installer has the hwclock command you may use that to reset the hardware clock from the now corrected system clock with

# hwclock -w

.

Following that, you use C-A-F1 to return to the installation, which now will work splendidly wink

#1002 Re: Hardware & System Configuration » Making Devuan more secure. » 2021-12-04 08:06:06

***
*** Yes, the 5 posts got lost due to a technical mishap; the sysadmin will be replaced as soon as possible.
*** Apologies.
***

#1003 Re: Other Issues » [SOLVED] Need to reset root password » 2021-12-01 20:10:45

Apparently passwd has built-in chroot

# passwd -R /mnt

#1004 Re: Other Issues » [SOLVED] Need to reset root password » 2021-12-01 04:09:07

You might need to run /sbin/fsck -y /dev/sda2 or /sbin/fsck.ext4 -y /dev/sda2 to mount it rw.

#1005 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-30 21:49:05

How about using backquote with echo to make use of globbing, e.g.

# `echo /?i?/mou?t` /dev/sda1 /A

EDIT: actually might not need backquoting even:

# /?i?/mou?t /dev/sda1 /A

#1006 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-30 08:46:27

I have a Devuan installation ISO, not live. (I wish I knew where I put it.)

Yes, that one you can start into "rescue"; just make sure you stop before partitioning.

And I think I have a Debian live.

A Debian live should also work if you can operate that without the broken keys; if you get a root prompt in a terminal, you might be able to do

# mkdir /A
# mou<TAB> /dev/sda1 /A
# chroot /A $(which passwd)

and then reboot into that system.
If the mou<TAB> is ambiguous a double <TAB> will yield the options for you to copy and paste from.
Note that maybe your root file system is not on /dev/sda1 of course .. you'll find out.

#1007 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-29 22:56:27

Yes, as said,  if you have a Devuan ISO (any of them), then its "Advanced -> Rescue" option is the way to go; it'll bring you all the way into a root login within your root file system without needing working b or n.

Once there, you use the command "passwd" to set a new root password.

Thereafter you have to figure out how to deal with that the username has a b. Perhaps create a new user, or perhaps work out how to remap some keypad keys (or other keys) to be b and n.

#1008 Re: Hardware & System Configuration » [SOLVED] [Beowulf] eudev upgrade failed » 2021-11-27 21:04:33

To undo the resulting badness of double newlines in those files you may use:

sudo sed '/^$/d' -i /var/lib/dpkg/info/*.list

That will still leave the previously missing final newline in /var/lib/dpkg/info/console-setup.list

In addition, given the original issue, I would also

sudo apt-get install --reinstall console-setup

unless I knew that I had been hand-editing those files sometime earlier (and could thus imagine that I had removed a final newline from at least one of them). in fact, that re-installation would have been  my first point of call well before venturing into willy-nilly hand editing in the dpkg database.

#1009 Re: Other Issues » [SOLVED] serial terminal login stopped working » 2021-11-25 03:43:38

Possibly the nomodeset is missing from the boot line?

afair, Beowulf installer iso has nomodeset for the installer itself but it doesn't always get added automatically to grub's boot line.

#1010 Re: Hardware & System Configuration » VBox virtual machine error in dmesg » 2021-11-20 22:01:15

That looks fine and leads to the question whether the dbus daemon(s?), which is supposed to be the server end of that socket, is running at the time during bootup when something is expecting it.

#1011 Re: Hardware & System Configuration » VBox virtual machine error in dmesg » 2021-11-20 20:38:55

As it's looking for a pathname it may be useful to review that with namei, i.e.:

# namei -l /var/run/dbus/system_bus_socket

#1014 Re: Hardware & System Configuration » [SOLVED] What is wrong with chimaera and network » 2021-11-13 22:18:00

.. my longer story is something like the following.

Networking in chimaera is really the same as in all prior system versions; it's a kernel function to operate the interfaces that dynamically rely on their configurations, and there are some forms of user software available for the administration of those configurations.

The first and oldest unit of such software is nowadays called ifupdown in Devuan (Debian).

ifupdown implements an administration principle where the administrator documents their desired configurations using a special purpose scripting language written into one or more plain text files starting with /etc/network/interfaces. The software is modular with a core bit that offers the adminstration programs ifup, ifdown and ifstate as well as the hook-in to the boot process and the hotplug event handling. ifupdown also provides a well-documented API for extensions that allows for other software packages to be seamlessly incorporated into the networking operations as if belonging to ifupdown; e.g., handling DHCP, handling wireless connectivity, VPN setup and whatnot.

On the side of that we find a couple of network management software packages (package groups), where chimaera in particular includes the two named connman and network-manager. These implement their own ideas of the network configuration task, with a common aim to make networking configuration be administrated "more easily" than by using the special purpose scripting language and programs of ifupdown, and most importantly to provide a "security bypass" that empowers non-root users with network administration abilities.

A side effect of that is that the network management software "wants to rule the city". Then "traditional" administration via ifupdown might be in conflict with it, unless one knows enough about the management software to avoid such conflicts. The easiest way for a root administrator to avoid such conflicts  is to get rid of all and any such management software.

#1015 Re: Hardware & System Configuration » [SOLVED] What is wrong with chimaera and network » 2021-11-13 03:18:47

It sounds like you should make sure all "network manager" software except ifupdown is purged, and then edit your /etc/network/interfaces to be (exactly):

iface lo inet loopback
iface eth0 inet dhcp
auto lo eth0

#1017 Re: Desktop and Multimedia » [SOLVED] Xfburn error message » 2021-11-10 05:08:16

Not sure how quick your search was but mine told me that apparently there's a "refresh botton" just to the right of where it says "DVD+RW" that needs clicking....

#1018 Re: Desktop and Multimedia » [SOLVED] Delete track number from music file names » 2021-11-08 03:16:57

The -exec option variant for find that ends with ';' rather than + lets you use {} more freely, and then perhaps the following would work

find . -type f -name '[0-9][0-9] - *' \
    -exec sh -c "file-rename -v 's/^[0-9][0-9]\s-\s//' '{}'" ';'

or almost certainly (and with less python):

find . -type f -name '[0-9][0-9] - *' \
    -exec sh -c 'X="{}"; mv "{}" "${X#*- }"' ';'

EDIT: added the missing *

#1019 Re: Hardware & System Configuration » [SOLVED] apt and residual files » 2021-10-30 08:11:23

@Altoid, perhaps you where thinking

apt list --installed

#1020 Re: Other Issues » [SOLVED] Correct Distribution Name in Conky » 2021-10-20 22:16:47

Works with $3 rather than $2.

Another way could be:

echo '. /etc/os-release ; echo $PRETTY_NAME' | sh

#1021 Re: Desktop and Multimedia » [SOLVED] Is Ceres stable for daily use? » 2021-10-18 02:23:53

You should be able to install that package from ceres by temporarily adding the ceres sources.list line

  1. Add the line to your /etc/apt/sources.list:

    deb http://deb.devuan.org/merged ceres main contrib non-free
  2. Install the package and its dependencies an your system:

    # apt-get update
    # apt-get install -t ceres ....

    Obviously you should then refrain from installing anything more, but afaict your nvidia-legacy-340xx package should be safe to install in this way.

  3. Restore sources.list by removing or commenting out that line, and then again run:

    # apt-get update

    Or, you may configure "pinning" for ceres so as to follow upgrades to only that package, without getting other things.

#1023 Re: Other Issues » ifup wait at boot » 2021-10-11 12:31:40

It sounds like your /etc/network/interfaces should have the normal configuration setup for eth0 of

auto eth0
iface eth0 inet dhcp

Yes, you can use an installation iso as a (limited) rescue system for an installed system. Just start the installation and use ctrl-alt-f2 at the very first dialog. That brings you to a command line, where you can mount the installed root partition onto /mnt, and then chroot into that for various hands-on.

#1024 Re: Installation » Could not install under UEFI with chimera netinstall » 2021-10-11 12:19:15

Thanks for spotting and reporting the spurious "bewoulf".

I think you would also reenter the boot menu with the command menu.

That "grub_verify_string" issue needs some further exploration. Thanks.

#1025 Re: Other Issues » libguestfs dependency wants to remove runit and install sysvinit » 2021-10-11 10:29:11

Might be because libguestfs0 declares a dependency on systemd-sysv | sysvinit-core.

Generally speaking, there is no virtual "init ABI" facility for other packages to depend on (that the alternative implementations would be declared to provide exclusively). Therefore any package must declare its applicable alternatives for the ABI it requires, and in this case the libguestfs0 packager knows only systemd-sysv | sysvinit-core as alternatives. Perhaps the required dependency is only satisfied by those, or perhaps the maintainer has not investigated runit-init as a third alternative.

To pursue that further, you should lodge a bug to Debian regarding libguestfs0 about it.

For yourself, you could create and install an equivs package for, say, sysvinit-core and hope for the best.

Board footer

Forum Software