libera/#devuan/ Wednesday, 2024-01-24

user45788Hi06:42
user45788On a openpandora 1mhz, i have ascii  but when wpa/dhclient, it does tell me error RFKILL06:43
AzumaHazukitry "rfkill unblock" (no quotes)06:44
user45788What is that rfkill on openpandora? I ll try07:03
rwpIt's also possible there is a hardware switch on the side of the laptop that became bumped into the off position.07:05
user45788Rwp it works with debian stretch but devuan gives RFKILL13:39
buZzuser45788: rfkill is a option, have you tried just switching it?13:48
buZzoooo you're using a openpandora? nice retro hw13:48
buZznever knew people were trying devuan on that :)13:49
user45788Rfkill unblock? Is there another way?14:11
buZzuser45788: depends on the driver, not sure14:59
buZzuser45788: why not join #dragonbox-pyra ? its the biggest group of openpandora users on irc i think ;)14:59
rwpuser45788, "rfkill list" should list out the RF devices and their softblock and hardblock status.  Example: https://paste.debian.net/plain/130518118:56
rwpIf it says a device is softblocked then use rfkill unblock to un-soft-block the device.18:57
rwpIf it says a device is hardblocked then that is a hardware switch which has blocked the device in hardware and requires the hardware switch to be changed.18:58
rwpMy Thinkpad x220 laptop for example has a hardware RF kill switch on the left side of the keyboard and sometimes it will get bumped into the off position.  Sometimes people have reported rfkill problems here and did not even know their hardware had a switch.19:00
william-longI've installed Devuan into an Arm64 virtual machine, and I'm currently working on getting everything from my server working in the vm. I decided to switch to darkhttpd instead of nginx. I figured out how to make a SystemD service, but I'm not sure how to convert it to Runit. I tried the Artix wiki, but Artix uses different directories from Devuan.20:10
william-longAll it does is run darkhttpd as root with the argument `/var/www/website`, after networking is established. So I'm sure it's something easy that I haven't found.20:11
william-longHere's what I currently have in /etc/sv/darkhttpd/run :20:26
william-longHere's what I currently have in /etc/sv/darkhttpd/run:20:26
william-long#!/bin/sh20:26
william-longexport WEBDIR=/var/www/serfdom20:26
william-longexec chpst -u root:root darkhttpd $WEBDIR20:26
rustyaxesystemd service?20:28
william-longrustyaxe: I'll put it into a pastern in just a second20:42
william-longhttps://zerobin.net/?537762e8ce12a3e4#tGzk5Fgee1+5Ms9h/xgQJzUjay/xB7eeYMIPElWtK88=20:46
golinuxDid you install with one of these images? https://arm-files.devuan.org/20:48
golinuxOr something else . . .20:49
william-longI used this one: https://pkgmaster.devuan.org/devuan/dists/daedalus/main/installer-arm64/current/images/netboot/mini.iso20:50
rustyaxeim not sure a systemd service is going to do you much good on devuan unless youve done some misguided thing like installing systemd20:50
william-longNo, I don't think so either.20:52
william-longBut my issue is that I don't have a runit service for it.20:52
gnarfacerunit is low on services, but it shouldn't be hard for you to check out a package that has one and see what it's doing20:53
gnarfacethey were supposed to be easy to create, though it's possible that some of them are piggybacking on sysvinit scripts, i think (openrc is doing that for a lot of stuff too)20:54
william-longOkay. I've found an opener file darkhttpd on Alpine. Now perhaps I can use that or the systemd one to figure out the runit syntax.20:56
gnarfaceall i've got is this link, if william-long comes back someone give it to him: http://smarden.org/runit/21:01
gnarfaceyou just symlink and it works?21:18
gnarfacesomeone knows...21:18
william-longgnarface: Thank you. I've got the link from the logs. So far runit recognizes the service file, but I think it's something with the syntax, because it always times-out when I try starting it.21:31
gnarfacewilliam-long: stick around, some other people here do use runit, but there are fewer of them than the sysvinit users21:33
gnarfacewhatever the problem is, it's so simple to fix that nobody ever writes it down21:34
gnarface(ironically)21:34
william-longAlright, thank you. I'll try working out a solution, and I'll surely stick around. I use Runit because I don't know much about sysvinit, and I use Artix runit on my personal machine. Perhaps there could be value in switching. I'll worry about that later, though.21:41
rwpIf it had been me I would have been inclined to simply "cp /etc/init.d/nginx /etc/init.d/darkhttpd" and then "sed --in-place s/nginx/darkhttpd/g /etc/init.d/darkhttpd" and then had something running using the same script nginx uses.21:42
rwpBut honestly I admit that script has more "stuff" in it than it needs to have in it.21:42
rwpWhy do you need the chpst change-process-state command?  It doesn't look to me like it is adding anything.  What am I missing?21:43

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!