user45788 | Hi | 06:42 |
---|---|---|
user45788 | On a openpandora 1mhz, i have ascii but when wpa/dhclient, it does tell me error RFKILL | 06:43 |
AzumaHazuki | try "rfkill unblock" (no quotes) | 06:44 |
user45788 | What is that rfkill on openpandora? I ll try | 07:03 |
rwp | It's also possible there is a hardware switch on the side of the laptop that became bumped into the off position. | 07:05 |
user45788 | Rwp it works with debian stretch but devuan gives RFKILL | 13:39 |
buZz | user45788: rfkill is a option, have you tried just switching it? | 13:48 |
buZz | oooo you're using a openpandora? nice retro hw | 13:48 |
buZz | never knew people were trying devuan on that :) | 13:49 |
user45788 | Rfkill unblock? Is there another way? | 14:11 |
buZz | user45788: depends on the driver, not sure | 14:59 |
buZz | user45788: why not join #dragonbox-pyra ? its the biggest group of openpandora users on irc i think ;) | 14:59 |
rwp | user45788, "rfkill list" should list out the RF devices and their softblock and hardblock status. Example: https://paste.debian.net/plain/1305181 | 18:56 |
rwp | If it says a device is softblocked then use rfkill unblock to un-soft-block the device. | 18:57 |
rwp | If 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 |
rwp | My 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-long | I'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-long | All 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-long | Here's what I currently have in /etc/sv/darkhttpd/run : | 20:26 |
william-long | Here's what I currently have in /etc/sv/darkhttpd/run: | 20:26 |
william-long | #!/bin/sh | 20:26 |
william-long | export WEBDIR=/var/www/serfdom | 20:26 |
william-long | exec chpst -u root:root darkhttpd $WEBDIR | 20:26 |
rustyaxe | systemd service? | 20:28 |
william-long | rustyaxe: I'll put it into a pastern in just a second | 20:42 |
william-long | https://zerobin.net/?537762e8ce12a3e4#tGzk5Fgee1+5Ms9h/xgQJzUjay/xB7eeYMIPElWtK88= | 20:46 |
golinux | Did you install with one of these images? https://arm-files.devuan.org/ | 20:48 |
golinux | Or something else . . . | 20:49 |
william-long | I used this one: https://pkgmaster.devuan.org/devuan/dists/daedalus/main/installer-arm64/current/images/netboot/mini.iso | 20:50 |
rustyaxe | im not sure a systemd service is going to do you much good on devuan unless youve done some misguided thing like installing systemd | 20:50 |
william-long | No, I don't think so either. | 20:52 |
william-long | But my issue is that I don't have a runit service for it. | 20:52 |
gnarface | runit 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 doing | 20:53 |
gnarface | they 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-long | Okay. 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 |
gnarface | all i've got is this link, if william-long comes back someone give it to him: http://smarden.org/runit/ | 21:01 |
gnarface | you just symlink and it works? | 21:18 |
gnarface | someone knows... | 21:18 |
william-long | gnarface: 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 |
gnarface | william-long: stick around, some other people here do use runit, but there are fewer of them than the sysvinit users | 21:33 |
gnarface | whatever the problem is, it's so simple to fix that nobody ever writes it down | 21:34 |
gnarface | (ironically) | 21:34 |
william-long | Alright, 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 |
rwp | If 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 |
rwp | But honestly I admit that script has more "stuff" in it than it needs to have in it. | 21:42 |
rwp | Why 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/!