libera/#devuan/ Friday, 2024-10-11

darwindo root and the wheel (or sudo, whatever you call it) users have different .bashrc and are originals readable on a webpage?05:23
darwinor some OS have the originals saved somewhere called 'skel(eton)'?05:23
debdog/etc/skel/.bashrc05:28
darwinthanks05:28
darwinis it same for root?05:29
debdogand yes, AFAIK root has a different .bashrc than ordinary users. the one in skel proly is for ordinary users05:29
rwpdarwin, wheel is BSD, root is all of the rest.05:30
rwpBoth are GID 0.05:30
rwpQuite typically and Devuan is typical the /root/.profile arrives from the installer copy which is different from the version installed for users copied from /etc/skel/.profile05:30
rwpHowever root only has a couple of things special such as "mesg n" should be set for root.  And PATH for root should arrive logged in okay but will include the sbin directories in addition to the rest.05:32
darwinso where's root's skel?05:51
debdogas rwp said, it prolly is generated by the installer05:54
debdogfor security reasons it is a tad stricter than a user's one. but you can still use the one from skel for your root account05:55
debdogsorry, I do not have a plain one at hand right now05:55
darwini have a different one05:57
rwpI happen to have a Devuan 4 Chimeara (Debian 11 Bullseye actually) one handy: https://paste.debian.net/plain/133194905:59
rwpI usually replace the original ones with my own because I am a picky person and like a more polished one on my own systems.06:00
darwini'm on Devuan 5 though...06:00
debdogI don't think that file changed06:01
darwini said .bashrc ... on one Devuan PC /root/.bashrc is different than /home/user/.bashrc (sudo/wheel user)06:01
rwpThere is so little changes in those from release to release that I doubt it will be different.  Don't you have one on your Devuan 5 Daedalus system?06:01
rwpNothing but comments in the installer's /root/.bashrc file: https://paste.debian.net/plain/133195006:02
darwinokay06:03
rwpI know you are doing both FreeBSD and Devuan so I will say this hint.  root:root is numbers 0:0 on Devuan and almost every System V derived system.  root:wheel is numbers 0:0 on FreeBSD and all of the BSD derived systems.  The numbers are 0:0 and that's what matters to the system.  But the names given to them are different.06:04
rwpWhy wheel?  Because if you have root then you are a Big Wheel!  Important.  That's the joke of it.  And Unix is filled with jokes.06:05
rwpThe Linux kernel does not *require* to be in a root group (aka wheel group) nor sudo group.  BSD does.  Linux kernel does not.06:06
rwpOn Devuan sudo is not even installed by default.06:06
debdogfound a VM with a plain /root/.bashrc. I confirm just commented lines. uncomment for colorized ls and some aliases06:08
darwingood06:35
avir327cousin_luigi: I don't understand, 802.11r works better than what?10:05
cousin_luigiavir327: With the clients using iwd instead of wpa_supplicant.10:12
cousin_luigiAt least that was my limited experience.10:12
buZzis 802.11r not wifi6 or something10:13
avir327cousin_luigi: it's a "roaming" extension10:13
buZzoh10:13
buZzty avir32710:14
avir327buZz ^^^10:14
cousin_luigiavir327: I know, I use two APs.10:14
buZzwe likely use that at the hackerspace , lol10:14
buZzwe have 3x aruba whatevermodel10:14
cousin_luigiIn my case it's openwrt.10:14
buZzfyi, esp8266/esp32 dont really work well with it, they're often confused when APs turn on10:14
buZzand just connect to furthest away AP :D lol10:14
buZztakes some minutes, eventually the arubas fix it themselves by handing over10:15
cousin_luigiI'm seeing that. I have to look into FT over DS instead of FT over the air that I'm using now.10:15
buZzsome clients allow tweaking those times too10:15
buZzbut i havent seen such configs on the esp's wifi stack10:15
buZzthey might exist though10:16
avir327I have focus on wired connections... WiFi is "bonus" and when wired authenticates succeeds, it works wirelessly, too.10:17
avir327authentication10:18
buZzyou're using EAP-alike for ethernet?10:19
avir327yes, EAP-TLS with machine certs10:21
avir327in a M$ environment10:21
avir327sucks.10:21
buZzgee10:21
buZzyou're making some battleground ;)10:22
buZzgood luck :)10:22
avir327:-)10:22
avir327You can't polish shit - but you can turn it in glitter.10:23
avir327nough sarcasm. gotta get to work.10:24
buZzyou can polish turds, but not without getting your hands dirty ;)10:25
avir327I have spare glitter.10:32
edsonwolfBoa tarde. Estou usando devian excalibur, quando tutto suspender el suspension mas n [] não liga tudo igual [] no devuan daedalus. Algum feedback?17:31
edsonwolfGood afternoon. I'm using devian excalibur, when tutto suspend el suspension but n [] doesn't turn on all the same [] in devuan daedalus. Any feedback?17:32
edsonwolfGood afternoon. I am using devian excalibur, when tutto suspend el suspension but n [] does not turn off all the same [] in devuan daedalus. Any feedback?17:32
edsonwolfSorry17:32
Alverstonewhat do you mean?17:33
edsonwolfWhen I check to suspend in the suspend option in xfce4, it suspends but does not turn off the source.17:36
edsonwolfAnd by command the same thing17:38
edsonwolfecho "mem" > /sys/power/state17:38
fsmithredsuspend to RAM - must have some power17:38
fsmithredhibernate to disk does not need power17:38
fsmithredand to hibernate, your swap must be bigger than your RAM17:39
wolf_https://imgur.com/a/ChJiKkv17:46
wolf_https://imgur.com/a/ChJiKkv17:47
morenonaturalhey, y'all ... I'm aware that using bluetooth with linux distros can be frustrating, but ... I've been having some issues that I'd like to research, although I don't know where to start looking17:50
morenonaturalsometimes my keyboard starts getting sticky keys and, most of the times, disconnecting and connecting the usb dongle will bring it back to normal17:51
morenonaturalI tried `service bluetooth restart`, but it doesn't have the same "reset" effect: the keys are still sticky and sometimes the keyboard will not connect back17:52
morenonaturalany suggestions? I check dmesg, but not much info other than "usb dongle connected/disconnected"17:53
AlverstoneI still have nightmares over kernel panicking because of faulty bluetooth drivers17:56
wolf_SHA-256 checksum for /home/wolf/Imagens/Captura de tela_2024-10-11_11-41-52.png (remote): f359319b3a6746b44e9ae2fb424a0a9300a4592dab3b5e86d21a22216f67e76718:27
djphmorenonatural: blame the dongle hardware.  Is this a laptop with integrated BT?19:17
Alverstonedjph, there's all and every possibility of the driver simply being bad, but debugging kernel code isn't trivial at all19:22
Alverstonethe only way is to contact developers and prepare mentally for a long run into nothingness19:23
djphAlverstone: which is why I started at "blame the hardware, try integrated bluetooth" ...19:28
djphOf course, if it's not real bluetooth (or the PC doesn't have it), well then it's a lot harder19:28
Alverstonedjph, what's integrated bluetooth19:28
djphAlverstone: the BT that lives alongside your wifi card, rather than is connected via USB dongle, as morenonatural mentioned using.19:29
AlverstoneNearly every laptop has integrated BT19:32
Alverstoneand most of them a abominably laggy19:32
Alverstoneare*19:32
Alverstoneon Linux, that is19:32
AlverstoneWindows as always works all right19:32
Alverstoneif you google, there are sites listing linux compatible hardware, BT dongles among them19:33
Alverstoneon Kali Linux wiki or forum, maybe elsewhere19:33
djphAlverstone: it's almost like you're missing the key concept of troubleshooting the issue morenonatural is having.19:33
Alverstonepretty sure Gentoo folks have a page on this subj as well19:33
Alverstonedjph, didn't he mean the dongle that goes with the keyboard?19:34
djphyes ... and I'm saying "blame the dongle for a minute and -- assuming you've got a laptop -- check the BT that's integrated into the machine"19:36
Alverstonenow it's clear thanks19:36
Alverstonedidn't understand you initially19:36
djphIf that works without issue, then morenonatural can be certain the 2 cent dongle that came with the keyboard is the problem.  If it doesn't fix it (or it's not a laptop, or it's not actually bluetooth) ... well, boo19:37
joergmove the dongle away from other similar transmitters, like WLAN etc. Also keep a minimum distance of 50cm between dongle and kbd (/mouse)20:09
joergtoo close distance between TX and RX may actually cause problems, overloading the receiver's input stage20:10
joergapplies as well for unrelated other RF signals on same frequency band, like WLAN20:11
joergso when e.g. WLAN signal overloads BT dongle's input stage, then the dongle can't receive any more BT either20:12
Alverstonedepends on quality20:12
Alverstonei remember arriving to a dorm with a very bad wifi card and i just couldn't use internet :)20:13
Alverstoneit connected, but speed was about -1b/s20:13
Alverstonesometimes -220:13
joergthe quantity of that effect's impact depends on quality of the receiver input stage. The effect as such always exists20:13
Alverstonehad to use usb adapter to lan20:14
morenonaturaldjph, it's actually a recommended usb dongle from several sites ... that assuming it's not a knock off20:14
morenonaturaldigging more deeply, it's broadcom20:14
morenonaturalso I can blame it on broadcom, mainly20:14
morenonaturaljoerg, I hear you... although that doesn't take care of the problem as unplugging-and-plugging the usb dongle erases the problem20:15
joergdid you try plugging the dongle to a different USB port, maybe even to a BT etension cable or hub?20:15
morenonaturaljoerg, ish... another port in same set-of-usb-ports from same motherboard and a port _connected_ to the motherboard (in the chasis, connected to same motherboard)20:17
morenonaturalI wouldn't be asking if unplugging-and-plugging didn't take care of the problem, but it does20:17
morenonaturalwhereas `service bluetooth restart` doesn't20:18
morenonatural😰20:18
joergmorenonatural: I don't instantly buy the "it erases the problem". The stuck keys are because the key-up message got lost due to packet-loss. THIS will get fixed with un- and re-plugging the dongle. Interference between the dongle's signal and a nearby WLAN or babyphone or whatever though is unrelated and occurs on a pseudo-random rate20:18
joergbut of course it's worth using a different make/brand of BT dongle, as well20:20
joergto test20:20
morenonaturalthis is actually the second brand, the previous one had intermitent problems (disconnects?) that made it most unusable20:21
joergthose dongles locking up and needing a hard power-cycle to recover isn't unheard of20:21
morenonaturalworth noting: I have a macbook that never has this problem, ceteris paribus20:21
morenonaturalwhich doesn't rule out the keyboard being buggy... I also use a bt mouse and bt speaker connected to the same dongle and they both work without a hitch, regardless of how good/bad the keyboard is working20:24

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