The officially official Devuan Forum!

You are not logged in.

#1 Re: Documentation » How to: Devuan 5 Daedalus an pipewire » 2024-04-23 22:30:18

@mirrortokyo: HoaS's scripting solution may be found all over the net, I wouldn't know where to start, am just the messenger.

I like your solution Steve, looks nice and tidy and repeatable from install to install.

Thank you

#2 Re: Off-topic » What are you reading/want to read ? » 2024-04-18 22:45:58

I just got a copy of Hacking Exposed, Linux 3rd edition.

600 pages, ...

I thought I should share, this book edition was published in 2008, so it's not that current...

Kernel 2.4, netfilter, iptables (no nftables) and many of the links are old as well.

just a heads-up... it's quite expensive for a history story.

#3 Re: Hardware & System Configuration » Nala, a new cli package manager replacement for dpkg and apt » 2024-04-18 22:32:41

It's sad that journalist's (feel they )have to work this way now-a-days.

It's so cheap and easy to spread mis-information by just copying words to sell add space.
It's like cheating on an exam, whatever you get wrong on the test, they can blame someone else, but still want to be paid for the copy.

Any way, I like the colours.

Nala update shows "no change" in green, "updated" in blue and "errors" in red in a tidy format.

Saves scanning all the text for important warnings.

I saw that "apt" post in the Reg as well.

#4 Re: Off-topic » Music » 2024-04-13 23:23:25

My friend bashed out Me and My Uncle, by the Grateful Dead the other day and I hooked on the vibes of this guitar and story telling.

Never really listened to them before this, although some of my friends suggested I should.
Not sure what they were referring to, my playing or writing, maybe both.

#5 Re: Off-topic » What are you reading/want to read ? » 2024-04-10 23:07:10

I just finish Ephraim Mattos' book, City Of Death.

A great story of  Humanitarian Warriors.

I found it difficult to put it down.

#6 Re: Hardware & System Configuration » Nala, a new cli package manager replacement for dpkg and apt » 2024-04-02 23:24:38

Hi, There are many more package managers available than I knew about.

BTW, I read it in a Linux Magazine April 2024. Maybe they were filling space.

#8 Hardware & System Configuration » Nala, a new cli package manager replacement for dpkg and apt » 2024-03-31 23:41:08

GlennW
Replies: 17

Hi, I came across this information yesterday (Sunday 31st of March, here in Australia)

It's a command line package manager (install, remove, purge, update, upgrade)

which is capable of displaying more info (in colour on the command line) and do more if configured (/etc/nala/nala.conf)
and it is basically, a replacement for apt, apt-get and uses very similar commands.

It's in the Daedalus repo.

here is a generic copy of the story...(I can't remember where I saw it first, /. or "the register")

https://phoenixnap.com/kb/nala-apt

here is what the config looks like for your info...

/etc/nala/nala.conf

## Configuration file for Nala
[Nala]
# Set to false to disable scrolling text
scrolling_text = true

# Set to true for a more condensed transaction summary
simple_summary = false

# Set to false to disable auto auto-removing
auto_remove = true

# Set to false to disable auto updating the package list
# when running the upgrade command
auto_update = true

# Set to true Nala will list the upgradable packages automatically after `update`
#update_show_packages = false
update_show_packages = true

# Set to true and Nala will always assume yes
assume_yes = false

# Set to true for `MiB` false for `MB`
filesize_binary = false

# Set to true for `MegaBit` false for `MegaByte`
transfer_speed_bits = false

## Pre and Post install hooks allow you to run scripts or commands
## Before or After an install, upgrade and remove
[PreInstall]
## The `hook` key will run after every transaction
# hook = "/general/hook/pre-install.sh"

## You can use a package name to run a specific hook
## Only if that package has been altered
# nala = "apt show nala"

## Additionally you can use a wildcard*
# "linux-image-5*-amd64" = "/hook/for/pre-kernel.sh"

[PostInstall]
# hook = "/general/hook/post-install.sh"
# nala = "apt show nala"
# "linux-image-5*-amd64" = "/hook/for/post-kernel.sh"

## You can also setup Nala to pass arguments to your hook.
## It can be done inline style like so
# neofetch = { hook = "/home/username/neo-hook.sh", args = ["name", "version"] }

## You can also use the longer form
# [PostInstall.neofetch]
# hook = "/home/volitank/neo-hook.sh"

## Arguments are given to the hook in the order they exist in the array below
# args = [
# 	"name", # The name of the package. Arch is appended for non-native arches
# 	"fullname", # Full name of the package "neofetch:amd64"
# 	"architecture", # This will be the arch of the candidate version or "None"
#	"version", # This will be the version string of the candidate version or "None"

## To pick information from a specific version you can use the following syntax
# 	"candidate.version", # Version string of the candidate version or "None"
# 	"installed.version", # Version string of the installed version or "None"
# 	"installed.architecture", # Arch of the installed version or "None"
# ]

I love new stuff, and this looks good.

#9 Re: Hardware & System Configuration » [SOLVED] mtp-tool will not start » 2024-03-26 23:22:56

Hi Devur

The version symbol >= "greater than or equal to" looks correct. it maybe something else.

I do not have this installed, but as to where the packages are found on the install iso...

from a usb device...

/media/glenn/DEVUAN501/pool/DEBIAN/main/libm/libmtp/libmtp-runtime_1.1.20-1_amd64.deb
/media/glenn/DEVUAN501/pool/DEBIAN/main/libm/libmtp/libmtp9_1.1.20-1_amd64.deb
/media/glenn/DEVUAN501/pool/DEBIAN/main/libm/libmtp/libmtp-common_1.1.20-1_all.deb

I've just updated and upgraded today and libc6 was in the list of packages... But I think your versions are OK.

I hope this helps

#10 Re: Installation » [SOLVED] FAILURE to Initiate Xorg or startx and therefore no GUI for my new ins » 2024-03-26 22:55:09

Hi, when you do get to a tty, have you seen any errors about seatd? Because I found with a clean install seatd was not installed and the sddm would fail to show up and startx would not work either.

Once I installed seatd everything worked again. This was with kde/plasma desktop.

One other thing that may help... add console=tty12 to your grub line... I also add vga=794 to make the font smaller in-case the video module hasn't started, just makes it readable, for me. And may give more clues when it won't start properly.

#11 Re: Hardware & System Configuration » [SOLVED] modprobe: FATAL module not found » 2024-03-26 02:35:20

Hi, I also get similar module errors in the logs, but when I investigate further I find the system has loaded the module a bit later.

#12 Re: Off-topic » The Joke Thread » 2024-03-26 02:31:25

hahahaha! That's some good ones... thank you for the laugh.

#13 Re: Hardware & System Configuration » [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) » 2024-03-26 02:29:49

Yes, wireplumber acts as the (multimedia) server for pipewire that pulse did before.

#14 Re: Installation » Fujitsu Lifebook U728 + Devuan 4 » 2024-03-26 02:25:36

Hi, I saw this web artical on initrd and initramfs that may be informative in your case...

https://www.baeldung.com/linux/initrd-vs-initramfs

you might also check what services are running as something is probably waiting for a signal before the shutdown/reboot sequence can be finished.

btw, I usually use the login manager sddm for rebooting (I don't use sudo) or logging out and shutting down, but

when I'm stuck (with a frozen mouse), I ctrl-alt-F1-to-12 tty, depending on what is accessible and issue a ctrl-alt-del to reboot or

"shutdown -r now" if the console is already logged in. -r to reboot, or -h to halt.

imo, initramfs speeds up loading of kernel modules by not having to scan the devices before-hand, saving a few seconds.

The other thing I have come across is that after researching and configuring BT modules (and firmware) I could do

update-initramfs -u -k all

You should check this command so you know what it's doing...

and that saved a few more seconds and had the BT modules up and ready when the desktop started.

It also loaded all the module commands listed in /etc/module(s) files and directories (.d).

I gets like a custom kernel loading speed, but systems are so fast now-a-days you may not notice. Used to be I could make a cup of tea while waiting for a reboot... ymmv.

I hope this gives you something to look in to.

#15 Re: Installation » [SOLVED] Daedalus netinstall partitioning » 2024-03-26 01:56:29

Hi, I found once I wiped the mbr as well as the old partitions I had to repartition in (ms-dos primary.. extended... other partitions) mbr before I could repartition with gpt.

There must be bites there that make the drive bootable that are missing if you don't use EFI (or ESP) boot after the bios has booted.

TBH, I haven't re-partitioned that drive (on my laptop) to gpt yet... but it was the only way I could get it to boot (by repartitioning to mbr mode). I could install everything, but not boot from that device, I used a super-grub usb for a while.

ymmv, but I hope this helps.

#16 Re: Desktop and Multimedia » [SOLVED] Stupid music player tricks » 2024-03-19 22:34:36

@rankbeginner Ahh, that looks like the new quality control systems,

if someone returns an item for any reason it's put back on the shelf to test it on the next purchaser,
it's cheaper that way, the purchaser gives up, and the seller keeps the money and the seller does not have to do a return authorisation affecting reputations and sales figures.

It seems to be a corporate tactic...

Bait and switch I think it's called. I always try to be aware of tampered packets when I'm shopping live, not as much control when shopping on line.

I had a similar event with a sonic bug repellor (AC wall socket vhf emittor) was quite inexpensive, but was for a foreign country power socket and cost just as much again (plus transport) for an AC adaptor to make it work. (Bait and switch) The company offered to exchange it at my expense... Sorry for the mistake (the company was inside australia selling foreign equipment...unlawful) I try to remember those cheats.

#17 Re: Installation » Live cd unable to boot with secure boot enabled » 2024-03-19 22:19:42

Hi, I noticed on my bios settings when secureboot is switched on another menu becomes available

where I can select forbidden devices like cdrom, usb, wake on lan (or something like that)

maybe you have that setting as well.

Generally I haven't used secureboot since I found a way to turn it off, so I'm no expert.

#18 Re: Off-topic » The Joke Thread » 2024-03-18 21:57:42

@quickfur ... "saddle light navigation" rotfl

Thank you

#19 Re: Installation » [SOLVED] Want to use startx instead of slim » 2024-03-15 21:38:50

Hi, see this post...

https://dev1galaxy.org/viewtopic.php?id=5538

the talk is about having X start as a non-root init. But it is workable.

You may have to read it all to glean the most workable edits for Devuan.

I hope this helps.

ps, I had it working with open-rc init system.

## Head_on_a_Stick
The default Xfce desktop for Devuan uses SLiM or LightDM and both run X under the root user so both are vulnerable to this exploit.

Starting the desktop via GDM or startx will cause X to be run under the normal user and so avoid this vulnerability completely.

To switch to startx either remove or disable (eg, update-rc.d slim disable) the display manager and add this line to the end of ~/.profile (or ~/.bash_profile if you use bash and have that file already) to start the desktop automatically after log in at TTY1:

[ "$(tty)" = /dev/tty1 ] && exec startx

To change the default desktop for all users run this command:

# update-alternatives --config x-session-manager

To change the default desktop on a per-user basis create a file at ~/.xsession containing the commands needed to start that desktop, as per https://wiki.debian.org/Xsession.

Or just switch to Wayland :-)

#20 Re: Desktop and Multimedia » virt-manager works only when started as root. » 2024-03-15 06:14:48

Great! It's the permissions I was reffering to. But glad you got it working.

#22 Re: Hardware & System Configuration » Reliability of desktop vs enterprise drives » 2024-03-14 22:15:49

Like @rolfie said, ease of return just in case is best for me.

Like memory sticks IMHO, are far too big for general use, but fs (fat) is too small for large iso s and videos @ 4gb max... Not suited for purpose!

My new spinner is a Seagate Baracooder, 4Tb st4000DM004.

I'll never fill it the way I'm going.

#23 Re: Hardware & System Configuration » RTL8188ftv usb wlan stick driver? » 2024-03-14 22:05:01

All are Debian (or Debian based)... so it just may work.

Chase down the name of the module so you can do a more accurate search.

#24 Re: Desktop and Multimedia » virt-manager works only when started as root. » 2024-03-14 21:59:32

Hi, talking about permissions...

I used to run windows on a virtual (box) machine, and I used these changes to smooth the way...

#chown -hR vboxusers:vboxusers /opt/VirtualBox/VBox.sh
#chown -hR vboxusers:vboxusers /usr/bin/VirtualBox
#chmod -R 755 /usr/bin/VirtualBox
#chmod -R 755 /opt/VirtualBox/VBox.sh
#chgrp -h glenn /home/glenn/local/vm1/
#chmod -R 755 /home/glenn/local/vm1/

Just sharing the idea... I hope it helps.

#25 Re: Installation » [SOLVED] Can't use my Directories » 2024-03-14 21:52:26

Usually memtest is a boot option with most iso's.

I'd guess the cpu is getting too hot or you may have corrosion on the mainboard (ram or ram slots), or the ram sticks are failing.

It's a shame when hardware goes this way, oxidation is like a cancer, it slowly spreads.

I've lost expensive hardware (motherboard, graphics card and ram) this way living in a seaside paradise.

memtests, short but deep...

Test 2 [Address test, own address]

    Same as test 1 but the testing is done using multiple CPUS, if applicable. 

Test 9 [Modulo 20, Random pattern]

    Using the Modulo-X algorithm should uncover errors that are not detected by moving inversions due to cache and buffering interference with the algorithm. 

Board footer

Forum Software