The officially official Devuan Forum!

You are not logged in.

#901 Re: Other Issues » Can I share a "data" LVM logical volume in a multi-boot linux setup? » 2021-08-18 18:09:15

entropyagent wrote:

Interesting, thanks. Are these 'parts' logical volumes?

In my case, no. I have 3 encrypted partitions for the fixed data, volatile Beowulf and volatile Chimaera.

The main system is an encrypted LVM for / and swap.

As fsmithred I have opened LVM shares to fix problems with live systems like Knoppix or the rescue mode of a boot medium often enough to say that I never had any issues.

rolfie

#902 Re: Other Issues » Can I share a "data" LVM logical volume in a multi-boot linux setup? » 2021-08-17 16:33:46

Sharing a LVM logical volume should work fine without any problems as long as its not used for distribution specific configuration data. LVM2 is mature, and there should be no major difference in the LVM implementation between distributions. Booting into one or the other should not matter for a data storage, and as long as you use a mature file system like ext4 on the share.

I have split my /home for my multiboot setup with Beowulf and Chimaera into a partition that holds all office data like pictures, LO files etc, and a distribution specific part that holds all the hidden config and cache files. The office share is linked into the distribution specific part during boot.

rolfie

#903 Re: Installation » [SOLVED] http vs https » 2021-08-08 14:00:44

There are https mirrors available, refer to https://www.devuan.org/get-devuan.

Nevertheless, the sources.list should look like described in https://www.devuan.org/os/packages.

No matter if you use http or https, the checksums of the individual packages ensure that they are safe.

rolfie

#904 Re: Hardware & System Configuration » how do I set the default directory to / when I use su? » 2021-08-01 08:51:17

I have created my own root terminal according to this description: https://dev1galaxy.org/viewtopic.php?id=2717. This ends up in /root as working directory. The example is for Mate, but it also works with Cinnamon/Gnome terminal.

I guess you can easily set the path to /.

rolfie

#905 Re: Installation » My Chimaera install issues #1: Forced manual choice of LXQt WM » 2021-07-22 18:30:18

Very strange problem. What was your intention? Just install Chimaera with XFCE as desktop? Or did you want to install several DEs?

I have done various Chimaera installations by now, and have not experienced such problems. Well, I usually do a cli install and then after a reboot do install either Mate or Cinnamon manually. Nevertheless, to do that I have to untick the default selections.

On page https://www.devuan.org/os/documentation … all-devuan there is a nice guide including screenshots of all the relevant installer pages. Please refer to topic 17. I think the screenshot misses the tick for XFCE as default. I usually just leave the standard system utilities ticked and do the rest manually.

My guess: you may have ticked more than one DE. This may go along with several Window Managers. There is a list somewhere which DE per default uses which WM. For Mate and Cinnamon I happily use LightDM.

rolfie

#906 Re: Desktop and Multimedia » chimaera: no more icons in xfce-panel application menu » 2021-07-17 07:15:07

The problem isn't related to the Deepsea theme, it has something to do with that grub starts before / is being decrypted/available for access.

Fix: please read this thread https://dev1galaxy.org/viewtopic.php?id=3679

rolfie

#907 Re: Desktop and Multimedia » chimaera: no more icons in xfce-panel application menu » 2021-07-16 06:09:19

Chimaera and Cinnamon/Lightdm with Deepsea: no issues.

rolfie

#909 Re: Hardware & System Configuration » Questions on Setting Up Hardware/Software on a New Devuan System » 2021-05-12 18:57:13

Please also post your sources.list. The wifi chip may need non-free firmware. Please execute and post here.

cat /etc/apt/sources.list

rolfie

#911 Re: Other Issues » [SOLVED] Security update delays (again) » 2021-05-05 18:58:53

Altoid wrote:
Tim Anderson @TheRegister wrote:

At the time of writing*, the packages for Debian 9 (Stretch), which is end of life but in long term support, had not yet been updated.

That would be valid for ASCII, not for Beowulf/Buster.

rolfie

#912 Re: Devuan » Unexpected - Devuan on external Nvme out-performing MX on internal » 2021-05-01 14:33:44

First of all compare data sheet read/write speeds of the NVMEs. I would guess the new large one is faster than the internal one.

I just replaced the 256G NVME WD Blue in my Aspire 5 against a 1T Crucial P5. It makes a difference.

rolfie

#913 Hardware & System Configuration » Firewall on laptop with Chimaera » 2021-05-01 13:00:12

rolfie
Replies: 5

I think I should install a firewall on my laptop, since it will be used in open networks connecting via wifi. This is a new situation for me. My desktops at home do not have a firewall installed, I rely on the one in the DSL modem and the ethernet router behind that. So far I never had any issues.

What is a recommendable firewall with an easy way to enable for wifi traffic? Is UFW/GUFW good enough and state of the art?

Thanks, rolfie

#914 Re: Desktop and Multimedia » Copy files from a playlist to a USB device » 2021-04-30 19:31:38

@HOAS: thanks for that simple bash line, it did the job. 470 files and 19G of data have been copied.

That link yyou posted looks interesting, more examples than the Advanced Scripting Guide I tried to work with. Is bookmarked.

Everybody have a nice weekend.

rolfie

#915 Re: Desktop and Multimedia » Copy files from a playlist to a USB device » 2021-04-30 16:54:12

My intention is just to copy the files listed in the playlist, and not all the CDs from the server. Simple reason being space available.

Thanks for the link to Stackexchange. At first sight rsync looks promising, at least it might allow for using the specs in the m3u file. I have started to fiddle with the example given there and tried to adapt it to my needs. But its not exactly going as I would expect.

As a start I have reduced the list of files to be copied to 3 to be able to test the options. And I have prepared an empty space on a drive on my workstation. I have left out the sed stuff, since the 3 test files just contain a lot of spaces. Thought that should work. Something still isn't right.

~/Musik$ rsync -a --include-from=/home/rolf/Musik/Test.m3u --include='*/' --exclude='*' /srv/Audio/ /mnt/Daten/rolf/Audio --progress --prune-empty-dirs
building file list ... 
403 files to consider
./
~/Musik$ rsync -a --files-from=/home/rolf/Musik/Test.m3u --include='*/' --exclude='*' /srv/Audio/ /mnt/Daten/rolf/Audio --progress --prune-empty-dirs
building file list ... 
rsync: link_stat "/srv/Audio/srv/Audio/CDs/Adele - Adele21/Adele - Rolling in the deep.wav" failed: No such file or directory (2)
rsync: link_stat "/srv/Audio/srv/Audio/CDs/Adele - Adele21/Adele - Set fire to the rain.wav" failed: No such file or directory (2)
rsync: link_stat "/srv/Audio/srv/Audio/CDs/Adele - Adele21/Adele - Someone like you.wav" failed: No such file or directory (2)
0 files to consider
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
~/Musik$ rsync -a --files-from=/home/rolf/Musik/Test.m3u --include='*/' --exclude='*' / /mnt/Daten/rolf/Audio --progress --prune-empty-dirs
building file list ... 0 files to consider
~/Musik$ rsync -a --files-from=/home/rolf/Musik/Test.m3u --include='*/' --exclude='*' // /mnt/Daten/rolf/Audio --progress --prune-empty-dirs
building file list ... 0 files to consider

Any idea what not right?

rolfie

#916 Re: Desktop and Multimedia » [SOLVED] No valid automount for USB devices » 2021-04-30 13:09:40

Well, I am a happy user of Beowulf meanwhile, Mate/Cinnamon desktops both work fine for me. In the very early ASCII days when I started with Devuan, I had some issues with permissions, one of the being the same you mention here.

Here is a link to this discussions, maybe they are of some help for you: https://dev1galaxy.org/viewtopic.php?id=2023

rolfie

#917 Re: Desktop and Multimedia » Copy files from a playlist to a USB device » 2021-04-30 12:59:06

The playlist is a selection of *.wav files, grown over the years from a Winamp playlist under Windows. On the server I have stored all the ripped CDs I own, one directory per CD. And yes, the paths and file names contain whitespaces and special characters all over. I don't want to copy every single file but just the ones listed in the playlist. And about 500 files manually ......

rolfie

#918 Re: Desktop and Multimedia » Copy files from a playlist to a USB device » 2021-04-30 12:38:48

Thanks for your suggestion, but the MyMusic.m3u file isn't accepted as input for the copy operation. Here are 3 lines as they appear in the file:

/srv/Audio/CDs/Adele - Adele21/Adele - Rolling in the deep.wav
/srv/Audio/CDs/Adele - Adele21/Adele - Set fire to the rain.wav
/srv/Audio/CDs/Adele - Adele21/Adele - Someone like you.wav
....

Or is is the only way to write a script that uses the file as input line by line?

rolfie

#919 Desktop and Multimedia » Copy files from a playlist to a USB device » 2021-04-30 11:20:10

rolfie
Replies: 12

Got an Audacious playlist MyMusic.m3u that lists about 500 wav files on my file server line by line. Is there an easy way to copy these wav's to a USB device?

Thanks, rolfie

#920 Re: Hardware & System Configuration » [SOLVED] Need some support for setting up wifi correctly » 2021-04-29 11:45:39

Thank you for the suggestions. Using the network manager took care of all my issues, works like a charm. No fiddeling with routing, I can fix the wifi to the 5G band ....

Also worked again this morning.

rolfie

#921 Re: Hardware & System Configuration » [SOLVED] Need some support for setting up wifi correctly » 2021-04-28 15:22:53

@Ralph: thanks for the input. I was so deep in digging into the wlan issues that I forgot that my company laptops always did ask me to shut down wifi when having a lan connection established. I probably need to start from scratch again.

Isn't there a tool that does this switching sort of automagically if configured accordingly? Or do I have to re-invent the wheel? Is any of the network managers of any use in this case?

Well, I think I need a break now for a day or so. My brain is confused by too many different posts describing differernt ways.

See you later alligator.

#922 Re: Hardware & System Configuration » [SOLVED] Need some support for setting up wifi correctly » 2021-04-28 13:20:05

This laptops wifi is causing me headaches. I thought I had a working route setting yesterday evening. Today its not working any more. In addition, the wifi is not connecting on boot as the LAN connection does.

Digging in the internet showed that routing must be the issue, and I found one or the other useful hint. I modified the /etc/network/interfaces like this:

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
	address 10.5.5.31/24
	gateway 10.5.5.1
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 10.5.5.1
	dns-search lan.atHome
	post-up ip route del default
	post-up ip route add default via 10.5.5.1 dev eth0

# WLAN @ Home
allow-hotplug wlan0
iface wlan0 inet static
	address 10.5.5.32/24
	gateway 10.5.5.1
	dns-nameservers 10.5.5.1
	dns-search lan.atHome
	wpa-ssid 	        SSID
	wpa-psk		passwd
	#up route add -net 10.5.5.0 netmask 255.255.255.0 gw 10.5.5.1 dev wlan0
	#down route delete -net 10.5.5.0 netmask 255.255.255.0 gw 10.5.5.1 dev wlan0
	post-up ip route del default
	post-up ip route add default via 10.5.5.1 dev wlan0

After a # service networking --full-restart I could ping the DSL modem and use FF to call up some pages.

Today the wifi does not really like to start up. I can get it to start up by a series of ifup wlan0 and ip link set wlan0 up, but I haven't found a clue why its not working sometimes. Also restarting the service fails, and the route always is via eth0.

Errors I am getting:
On ifup I get RTNETLINK: file exists, failed to bring up wlan0.
On the restart of the service I get: wpa_supplicant daemon failed to start, exited with return code 1.

I am a bit exhausted in the moment.

rolfie

BTW: is there a toolkit that allows to use the functions keys of the laptop that are triggered by FN-Fx under Windows in the same way in Debian/Devuan?

#923 Re: Hardware & System Configuration » [SOLVED] Need some support for setting up wifi correctly » 2021-04-27 18:04:10

For the time being, I will stick with the static adressing. Thats not the issue. And I don't want to switch my complete home network from static to dynamic adresses right now. No time for this.

Head_on_a_Stick wrote:

I think the RTNETLINK error is because the gateway is defined twice.

Try using DHCP for the wireless interface.

Yes, can confirm this. BUUUT: when I remove the gateway definition in the wlan0 section, I can't get the interface to wake up again. Has cost me several minutes not to say hours now. So I have the message back and the wlan0 at least being recognised agaion by the router. Also I have looked a bit deeper into the routing issue and found one or the other bit of information in the internet. Unfortunatley, a lot of the stuff seems to be outdated, syntax no more correct .....

Made a little step forward by adding a route for wlan0:

route add -net 10.5.5.0 netmask 255.255.255.0 gw 10.5.5.1 dev wlan0
# route
Kernel-IP-Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
default         fritz.box       0.0.0.0         UG    0      0        0 eth0
localnet        fritz.box       255.255.255.0   UG    0      0        0 wlan0
localnet        0.0.0.0         255.255.255.0   U     0      0        0 eth0
localnet        0.0.0.0         255.255.255.0   U     0      0        0 wlan0
link-local      0.0.0.0         255.255.0.0     U     1000   0        0 eth0

Now a few pings do work:

# ping -c 3 10.5.5.1
PING 10.5.5.1 (10.5.5.1) 56(84) bytes of data.
64 bytes from 10.5.5.1: icmp_seq=1 ttl=64 time=6.15 ms
64 bytes from 10.5.5.1: icmp_seq=2 ttl=64 time=6.77 ms
64 bytes from 10.5.5.1: icmp_seq=3 ttl=64 time=4.38 ms

--- 10.5.5.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 4.384/5.768/6.770/1.010 ms
# ping -c 3 8.8.8.8 
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.5.5.31 icmp_seq=1 Destination Host Unreachable
From 10.5.5.31 icmp_seq=2 Destination Host Unreachable
From 10.5.5.31 icmp_seq=3 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2050ms
pipe 3
# ping google.com -c 3
PING google.com(fra16s56-in-x0e.1e100.net (2a00:1450:4001:82f::200e)) 56 data bytes
64 bytes from fra16s56-in-x0e.1e100.net (2a00:1450:4001:82f::200e): icmp_seq=1 ttl=119 time=19.3 ms
64 bytes from fra16s56-in-x0e.1e100.net (2a00:1450:4001:82f::200e): icmp_seq=2 ttl=119 time=18.4 ms
64 bytes from fra16s56-in-x0e.1e100.net (2a00:1450:4001:82f::200e): icmp_seq=3 ttl=119 time=20.4 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 18.355/19.366/20.437/0.850 ms
# ping www.spiegel.de -c 3
PING aacfb9d106f4.link11.de (128.65.210.180) 56(84) bytes of data.
From rh031.lan.beiHeinrichs (10.5.5.31) icmp_seq=1 Destination Host Unreachable
From rh031.lan.beiHeinrichs (10.5.5.31) icmp_seq=2 Destination Host Unreachable
From rh031.lan.beiHeinrichs (10.5.5.31) icmp_seq=3 Destination Host Unreachable

--- aacfb9d106f4.link11.de ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2056ms
pipe 3

As it looks like now I can ping the DSL router, and a few things work on the internet. Strangely enough the 8.8.8.8 did not work, while google.com was resolved. Also tried to call up the magazine Spiegel with Firefox, adress isn't resolved. No idea why not.

Something still isn't right.

Also tried to add some routing ruies to the interfaces file, does not seem to work as expected.

up route add -net 10.5.5.0 netmask 255.255.255.0 gw 10.5.5.1
down route delete -net 10.5.5.0 netmask 255.255.255.0 gw 10.5.5.1

Where do I need to go from here?

rolfie

#924 Re: Hardware & System Configuration » [SOLVED] Need some support for setting up wifi correctly » 2021-04-27 15:46:10

Head_on_a_Stick wrote:

EDIT: I presume wpa-sssid & wpa-psk have the actual SSID & password filled in (rather than SSID & passwd)?

Yes, I have removed the real contents and replaced it with dummy data. As I mentioned, the DSL router (a AVM Fritzbox 7580) sees my laptop (after some struggle) and also tells me which frequency the laptop is using. Also the IP is present.

rolfie

#925 Re: Hardware & System Configuration » [SOLVED] Need some support for setting up wifi correctly » 2021-04-27 15:43:27

rfkill tells me now:

# rfkill list all
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: acer-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Seems I am also having issues with powersave, and I have no idea how to wake up the wifi when its sleeping. After a fresh reboot:

# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether b4:a9:fc:f0:49:e9 brd ff:ff:ff:ff:ff:ff
    inet 10.5.5.31/24 brd 10.5.5.255 scope global eth0
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 94:08:53:88:fe:3f brd ff:ff:ff:ff:ff:ff
    inet 10.5.5.32/24 brd 10.5.5.255 scope global wlan0
       valid_lft forever preferred_lft forever
# ip link set wlan0 up
# ifup wlan0
RTNETLINK answers: File exists
ifup: failed to bring up wlan0
# ip link set wlan0 up
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether b4:a9:fc:f0:49:e9 brd ff:ff:ff:ff:ff:ff
    inet 10.5.5.31/24 brd 10.5.5.255 scope global eth0
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 94:08:53:88:fe:3f brd ff:ff:ff:ff:ff:ff
    inet 10.5.5.32/24 brd 10.5.5.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::9608:53ff:fe88:fe3f/64 scope link tentative 
       valid_lft forever preferred_lft forever
# ip r
default via 10.5.5.1 dev eth0 onlink linkdown 
10.5.5.0/24 dev eth0 proto kernel scope link src 10.5.5.31 linkdown 
10.5.5.0/24 dev wlan0 proto kernel scope link src 10.5.5.32 
169.254.0.0/16 dev eth0 scope link metric 1000 linkdown 
# ping -c 3 10.5.5.1
PING 10.5.5.1 (10.5.5.1) 56(84) bytes of data.
From 10.5.5.31 icmp_seq=1 Destination Host Unreachable
From 10.5.5.31 icmp_seq=2 Destination Host Unreachable
From 10.5.5.31 icmp_seq=3 Destination Host Unreachable

--- 10.5.5.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2054ms
pipe 3
# ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.5.5.31 icmp_seq=1 Destination Host Unreachable
From 10.5.5.31 icmp_seq=2 Destination Host Unreachable
From 10.5.5.31 icmp_seq=3 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2034ms
pipe 2
# ping -c 3 google.com
ping: google.com: Temporärer Fehler bei der Namensauflösung

Directly after the reboot the wifi is down. I have to wake it up, then the 5G connection is opened.

The if r brings an interesting fact to daylight:

169.254.0.0/16 dev eth0 scope link metric 1000 linkdown

What is that? I am sure I never set this anywhere.

Edit: found an entry in the /etc/networks file: link-local 169.254.0.0. There are also some entries in /etc/network/-subdirs that refer to avahi. The scripts also contain a reference to these adresses.

Somewhere a route is specified that does only work with eth0.

Suggestions?

Rolf

Board footer

Forum Software