The officially official Devuan Forum!

You are not logged in.

#176 Re: Hardware & System Configuration » [SOLVED] How to get hardware info » 2022-12-10 17:21:54

Please post output from:
uname -a
lspci -v -s nn (replace nn with the address of the nic).

Also check in /var/log/messages and /var/log/syslog for messages relating to the nic.

And are you sure the device the nic is connected to is OK? And the cable connecting it? With troubleshooting the most annoying problem is when the component you never thought to check is the faulty one.

#177 Re: Off-topic » Google in trouble again » 2022-11-25 17:22:08

Can you set ublock to *pretend* to allow ads, but not actually show them on your screen? It's an option I would like to have if I need to use a site that blocks access to people who are using ad blockers. The idea is that ads get downloaded but not shown, so the advertisers can't tell they are paying for nothing.

#178 Re: Other Issues » [SOLVED] update problems » 2022-11-21 17:47:51

Can you temporarily connect it to your network with an ethernet cable? That would help if you need to load firmware for the wifi card onto the laptop. Or just copy any error messages into your favourite search engine.

#179 Re: Desktop and Multimedia » [SOLVED] shell script to restart Xorg » 2022-11-21 17:29:54

On one system I resorted to ctrl-alt-F3 and logging on as root, ready to restart the desktop if it hung (I think the system has hardware problems that cause the desktop to lock up intermittently). So if the desktop suddenly hangs I just press ctrl-alt-F3 and restart it, even if it's ignoring the keyboard. And if that fails I can reboot the system as a last resort.

#180 Re: Devuan » [SOLVED] Umlauts (Ä Ö Ü ß) keys are not written in Steam. » 2022-11-16 17:07:49

Rainbow Sun wrote:

The man su was new to me.

One of the first things to know with any UNIX variant such as Linux is that man pages are the first place to go when you have problems. Whenever you see a recommendation to use a command you are not familiar with you should always start by reading the man page for it to see what it will do. Man itself has a man page (enter man man to see it).

Also try:

echo $PATH
su
echo $PATH
exit # or press control-d
su -
echo $PATH

Trying things out is a good way to learn how Linux works under the hood.

#181 Re: Devuan » [SOLVED] Umlauts (Ä Ö Ü ß) keys are not written in Steam. » 2022-11-15 18:14:53

man su would also be worth reading. The man pages are always worth checking if you are having probelms with a command.

And try comparing output from echo $PATH after su and su - (also output from env and set, preferably piped into less).

#182 Re: DIY » [SOLVED] make xstarfish randomize the names, » 2022-11-09 17:21:31

I've just fixed a bug in the above script (I had a do missing) and tested it after replacing "starfish -d duration" with "sleep 5". So it might work now.

#183 Re: DIY » [SOLVED] make xstarfish randomize the names, » 2022-11-08 17:05:53

Try the following (WARNING - untested code- WARNING):

#!/bin/bash
FLAG=0
until [[ $FLAG = "1" ]]
do
DIR=$(date +%N)
mkdir $DIR
if  (($?>0)) ;then exit;fi
cd $DIR
if  (($?>0)) ;then exit;fi
starfish -d duration
# Tidy up anything if you want here
cd ..
if  (($?>0)) ;then exit;fi
rmdir $DIR # Optional
if  (($?>0)) ;then exit;fi
done

date +%N returns the current time in nanoseconds, so will very rarely repeat.

But I don't have starfish, so I can't test this. Use at your own risk.

#184 Re: Other Issues » Recovery after a badly failed update » 2022-11-07 17:20:29

The first thing I'd try is to boot a live DVD/USB, mount the SSD and scp everything I want to save to another system (plugging in an ethernet cable if necessary). Then mount the nVME drive and save anything I wanted or what might show what went wrong.

Then I would check the data looks OK on the destination system. After that I'd be happy to start trying to repair the broken system.

#185 Re: Hardware & System Configuration » [SOLVED] Devuan Raid 1 Install Steps » 2022-11-06 17:00:26

ralph.ronnquist wrote:

One option would be that something is outdated elsewhere in the "certificate chain" on the failing systems.

I.e., the "leaf level" certificate of www.devuan.org is fine, but in your environment some "parent" certificate in the certificate chain it stands on is outdated.

E.g., check your ca-certificates package.

That's probably why some of my systems got an error. I temporarily powered up a recently updated system (it's shut down to save power now) and it worked OK:

wget 'https://www.devuan.org/get-devuan'
--2022-11-06 12:07:55--  https://www.devuan.org/get-devuan
Resolving www.devuan.org (www.devuan.org)... 54.36.142.179, 2001:41d0:8:732b::3624:8eb3
Connecting to www.devuan.org (www.devuan.org)|54.36.142.179|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25326 (25K) [text/html]
Saving to: ‘get-devuan’

get-devuan                              100%[============================================================================>]  24.73K  --.-KB/s    in 0.006s  

2022-11-06 12:07:56 (4.17 MB/s) - ‘get-devuan’ saved [25326/25326]

So the www.devuan.org certificate is probably OK.

I just hope being back-level doesn't start causing real problems on this system since I can't upgrade it without probably losing support for the rather old GPU.

#186 Re: Hardware & System Configuration » [SOLVED] Devuan Raid 1 Install Steps » 2022-11-04 17:12:05

I'm still getting them. On two different systems (one Devuan ascii, one openSUSE Leap 42.3).

I also tried echo -n | openssl s_client -connect www.devuan.org:443 -servername www.devuan.org     | openssl x509 > wwwdevuanorg.cert, that gets different screen output:

On devuan:

$ echo -n | openssl s_client -connect www.devuan.org:443 -servername www.devuan.org \
>     | openssl x509 > wwwdevuanorg.cert
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = www.devuan.org
verify return:1
DONE

On openSUSE:

echo -n | openssl s_client -connect www.devuan.org:443 -servername www.devuan.org     | openssl x509 > wwwdevuanorg.cert
depth=3 O = Digital Signature Trust Co., CN = DST Root CA X3
verify error:num=10:certificate has expired
notAfter=Sep 30 14:01:15 2021 GMT
DONE
chris@vega:~/primo/progs> ll wwwdevuanorg.cert*
-rw-r--r-- 1 chris users 2025 Nov  4 16:57 wwwdevuanorg.cert

Though the certificates downloaded were identical on both systems.

I doubt it's cached, the openSUSE box isn't used for web browsing so has probably never downloaded the certificate before I first tried yesterday.

But on a web server I can log on to via ssh (I do some of the admin on it) wget is happy:

$ wget 'https://www.devuan.org/get-devuan'
--2022-11-04 17:04:43--  https://www.devuan.org/get-devuan
Resolving www.devuan.org (www.devuan.org)... 54.36.142.179, 2001:41d0:8:732b::3624:8eb3
Connecting to www.devuan.org (www.devuan.org)|54.36.142.179|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25326 (25K) [text/html]
Saving to: ‘get-devuan’

get-devuan                              100%[============================================================================>]  24.73K  --.-KB/s    in 0.005s  

2022-11-04 17:04:44 (4.50 MB/s) - ‘get-devuan’ saved [25326/25326]

And:

$ echo -n | openssl s_client -connect www.devuan.org:443 -servername www.devuan.org     | openssl x509 > wwwdevuanorg.cert
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = www.devuan.org
verify return:1
DONE

And the cert appears to be the same too.

I'm now wondering if my ISP is caching something. Have you any ideas?

#187 Re: Hardware & System Configuration » [SOLVED] Devuan Raid 1 Install Steps » 2022-11-03 17:19:48

Doing a few tests I found the certificate seems to be expired. Which Konqueror doesn't mind but wget objects to:

$ wget 'https://www.devuan.org/get-devuan/' --no-check-certificate
--2022-11-03 17:12:15--  https://www.devuan.org/get-devuan/
Resolving www.devuan.org (www.devuan.org)... 54.36.142.179, 2001:41d0:8:732b::3624:8eb3
Connecting to www.devuan.org (www.devuan.org)|54.36.142.179|:443... connected.
WARNING: The certificate of ‘www.devuan.org’ is not trusted.
WARNING: The certificate of ‘www.devuan.org’ has expired.
HTTP request sent, awaiting response... 404 Not Found
2022-11-03 17:12:17 ERROR 404: Not Found.
$ wget 'https://www.devuan.org/get-devuan' --no-check-certificate
--2022-11-03 17:12:25--  https://www.devuan.org/get-devuan
Resolving www.devuan.org (www.devuan.org)... 54.36.142.179, 2001:41d0:8:732b::3624:8eb3
Connecting to www.devuan.org (www.devuan.org)|54.36.142.179|:443... connected.
WARNING: The certificate of ‘www.devuan.org’ is not trusted.
WARNING: The certificate of ‘www.devuan.org’ has expired.
HTTP request sent, awaiting response... 200 OK
Length: 25326 (25K) [text/html]
Saving to: ‘get-devuan’

get-devuan                              100%[============================================================================>]  24.73K  --.-KB/s    in 0.003s  

2022-11-03 17:12:25 (7.03 MB/s) - ‘get-devuan’ saved [25326/25326]
$ wget 'https://www.devuan.org/get-devuan.html' --no-check-certificate
--2022-11-03 17:13:25--  https://www.devuan.org/get-devuan.html
Resolving www.devuan.org (www.devuan.org)... 54.36.142.179, 2001:41d0:8:732b::3624:8eb3
Connecting to www.devuan.org (www.devuan.org)|54.36.142.179|:443... connected.
WARNING: The certificate of ‘www.devuan.org’ is not trusted.
WARNING: The certificate of ‘www.devuan.org’ has expired.
HTTP request sent, awaiting response... 200 OK
Length: 25326 (25K) [text/html]
Saving to: ‘get-devuan.html’

get-devuan.html                         100%[============================================================================>]  24.73K  --.-KB/s    in 0.003s  

2022-11-03 17:13:25 (7.02 MB/s) - ‘get-devuan.html’ saved [25326/25326]

@dcolburn, what browser are you using? And does it check for expired certificates?

#188 Re: Hardware & System Configuration » apt-mark » 2022-10-03 16:28:49

sgage wrote:

When I typed 'apt-mark' yesterday, I got 'command not found'. Today it's working.

From experience the most likely explanation is that you misspelt it yesterday. I've learnt to take a hard look at what I typed if I get that error.

Have you still got the screen output? Or does your command history show you what you really typed?

If it's not that could your PATH have been altered to not include /usr/bin?

#189 Re: Other Issues » [SOLVED] boot error » 2022-10-02 16:36:07

First try ls -ld /tmp/ Output should look like

drwxrwxrwt 10 root root 16384 Oct  2 17:30 /tmp/

If it's missing then as root mkdir /tmp and chmod 1777 /tmp and see if that fixes it. If it exists but perms are not drwxrwxrwt enter the chmod.

#190 Re: Hardware & System Configuration » [SOLVED] external NVMe SSD is piggish » 2022-09-23 16:03:46

What happens if you put the Toshiba SSD into the Vantec enclosure? If both SSDs run fast in the Plugable enclosure and slow in the Vantec then you might be able to return it as faulty (if it's still in warranty). Or at least scrap it with full justification.

#191 Re: Installation » name of log for error/warning messages seen during boot » 2022-09-07 16:27:01

Can you take a video of the boot messages, then play it back a frame at a time? Or post it here so someone with better eyes can try to read it?

#192 Re: Freedom Hacks » Replacing sudo. » 2022-09-03 16:03:09

Excalibur wrote:

So, to install doas do the following: aptitude purge sudo ; aptitude install doas      (use your preferred package manager)

Or better:
aptitude install doas
Check doas works and does everything you need!
aptitude purge sudo
Now check if everything still works. Eg does the menu option to shut down the system need sudo?

I've spend too many years installing software to risk cutting myself off.

#193 Re: Hardware & System Configuration » [SOLVED] lvcreate is not working as expected » 2022-09-01 16:20:50

UnixRocks wrote:

This is a brand new disk, just taken out of the factory packaging this past weekend. It was completely blank when I added it as a PV then created the VG for the first time and attempted to create the first logical volume on it using the same LVM steps at the CLI I have used hundreds of times in my job as a Unix / Linux administrator at a regional ISP. Since then I have removed all the LVM data and started from a completely blank disk more than once now. There was nothing on the disk to confuse LVM from the start.

I once overheard one of the LAN admins in our company complaining loudly about a supposedly new disk not being blank (about half of the people in the canteen could hear him). He had spent several hours trying to add the disk to a Novell Netware server and could not get it to work. Eventually he removed all the old disks from the server and booted it with just the new supposedly blank disk in it and it came up as another company's server!

So don't assume a new disk is always blank. Or that a disk you send back as faulty (or part of a faulty system) won't end up being sold to a random customer. Always wipe anything that might be sensitive first.

#194 Re: Installation » mariadb on ceres » 2022-08-25 16:15:10

mknoop wrote:

/var/lib/mysql$ stat aria_log_control
  File: aria_log_control
  Size: 52            Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d    Inode: 404111      Links: 1
Access: (0660/-rw-rw----)  Uid: (  112/   mysql)   Gid: (  120/   mysql)
Access: 2022-08-24 14:52:13.500000000 -0500
Modify: 2022-08-24 14:37:32.160000000 -0500
Change: 2022-08-24 14:37:32.160000000 -0500
Birth: 2020-09-11 16:02:07.848000000 -0500

I do not know how to interpret this.

That says the file is owned by mysql, has group mysql and can be read and written by user mysql and any user in group mysql. Which all looks OK to me.

The last 4 lines of output say when it was last accessed (ie read), modified (written to), had it's directory entry changed and when it was first created.

Unfortunately the man page for stat is not very clear. But running it against a few files with known characteristics it's fairly easy to work out what it means.

As I said I don't run mariadb, so I was just guessing from the first error message in the log extract. So kudos to rbit.

#195 Re: Installation » mariadb on ceres » 2022-08-24 16:48:20

Does /var/lib/mysql/aria_log_control exist?
Would mysqld be able to write to it? Post output from stat '/var/lib/mysql/aria_log_control' if you are not sure.
Would mysqld be able to write to /var/lib/mysql/ ?

I'm just guessing what to look at, I don't run mariadb myself.

#196 Re: Installation » mariadb on ceres » 2022-08-21 15:54:26

The interesting part looks to be:

mknoop wrote:

Starting MariaDB database server: mariadbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mariadb, action "start" failed.

What happens if you invoke the start script manually? Does that produce any interesting messages?

Was mariadb running OK before the upgrade (or is this a new install)?

If it's a new install do you need to do any first time setup steps?

#197 Re: Hardware & System Configuration » lsblk command doesn't see my usb plugged Android phone » 2022-08-11 17:10:18

At a guess the system sees the phone, but not as a block device. Try lsusb and see if that says anything (if in doubt run lsusb with the phone plugged in and again after unplugging it). Then try lsusb -v -s <whatever it's address is>

#198 Re: Installation » [SOLVED] How to INSTALL the .ISO that Refracta Snapshot creates? » 2022-08-08 16:02:17

I would *not* use --delete for restoring. It will delete any files on the target that are not in the backup. So you would lose any newly created files.

And I would be very wary of using it when backing up the system. If an important file, such as the kernel, got deleted by mistake and you didn't notice before running a backup you would lose the backup copy of it as well.

Also note it's a very good idea to test restoring things before you need to do it for real.

#199 Re: Installation » Choices during install of Chimaera not being applied » 2022-07-23 16:05:50

Perhaps the expert installer should have a note by it saying "Don't choose this for your first installation". Or other words to that effect.

#200 Re: Other Issues » "Temporary failure resolving 'deb.devuan.org' " » 2022-07-20 16:11:32

Checking a bit more:

chris@rigel:~/bin$ host deb.devuan.org
deb.devuan.org is an alias for deb.rr.devuan.org.
deb.rr.devuan.org has address 200.236.31.1
deb.rr.devuan.org has address 125.228.189.120
deb.rr.devuan.org has address 185.178.192.43
deb.rr.devuan.org has address 160.16.137.156
deb.rr.devuan.org has address 195.85.215.180
deb.rr.devuan.org has address 89.174.102.150
deb.rr.devuan.org has address 131.188.12.211
deb.rr.devuan.org has address 185.203.114.135
deb.rr.devuan.org has address 158.69.153.121
deb.rr.devuan.org has address 185.38.15.81
deb.rr.devuan.org has address 95.216.15.86
deb.rr.devuan.org has address 46.4.50.2
deb.rr.devuan.org has address 130.225.254.116
deb.rr.devuan.org has address 141.84.43.19
deb.rr.devuan.org has address 185.183.113.131
deb.rr.devuan.org has address 5.9.122.185
deb.rr.devuan.org has IPv6 address 2a0a:e5c0:2:2:400:c8ff:fe68:bef3
deb.rr.devuan.org has IPv6 address 2001:638:a000:1021:21::1
deb.rr.devuan.org has IPv6 address 2001:4190:801c:1::150
deb.rr.devuan.org has IPv6 address 2001:878:346::116
deb.rr.devuan.org has IPv6 address 2a01:4f9:2a:fa9::2
deb.rr.devuan.org has IPv6 address 2a01:4f8:162:7293::14
deb.rr.devuan.org has IPv6 address 2001:4ca0:4300::1:19
deb.rr.devuan.org has IPv6 address 2001:e42:102:1704:160:16:137:156
deb.rr.devuan.org has IPv6 address 2a01:4f8:140:1102:2b76:955d:b48f:bdf3
deb.rr.devuan.org has IPv6 address 2607:5300:61:95f:7283:11d9:f86:e691
deb.rr.devuan.org has IPv6 address 2801:82:80ff:8000::2
deb.rr.devuan.org has IPv6 address 2a01:9e40::180
deb.rr.devuan.org has IPv6 address 2a02:2a38:1:400:422a:422a:422a:422a

The first line of output is noteworthy.

So if you still have problems try ping deb.rr.devuan.org and see if that works. It's *possible* that just the alias deb.devuan.org was missing from the DNS server you were using.

If that also fails try host deb.devuan.org to see if the alias is there but not deb.rr.devuan.org.

The other thing that could happen is that one or more of the servers the load is shared over was down/inaccessible. This could cause intermittent failures which would be a pain to sort out. Especially if they are only blocked from some IP addresses.

Board footer

Forum Software