libera/#devuan/ Monday, 2022-11-14

FilipZHi! rrq: are you online now? That interfaces configuration that I used and somehow happened in that one time before, for some reason doesn't work mostly now.01:47
FilipZEven though it kills those broken dhclient processes, the wireless software starts again with 2 of them, and for some reason locks itself nearly immediately after it reconnects again.01:50
FilipZThen it repeatedly kills those processes and respawns 2 of them01:50
FilipZDoing ifdown, ifup manually MOSTLY helps then, but this config file doesn't01:51
FilipZSometimes I have to do ifdown ifup several times, killing those processes for it to work again correctly.01:52
rrqand /etc/network/interfaces.d/ is clean?01:52
FilipZrrq: Yes, there is nothing here.01:52
rrqand there is no other "network manager" software in play?01:52
FilipZNo. I only use wpa_gui now01:53
rrqhmm01:55
rrqyou have a /run/wpa_action.wlan0.timestamp I suppose?01:58
rrqmaybe there's also a /run/wpa_action.wlan0.ifupdown?01:59
FilipZI do01:59
FilipZThere is one number here01:59
rrqthat should be a timestamp of the last ifup01:59
rrqin .timestamp01:59
FilipZThere is no /run/wpa_action.wlan0.ifupdown, though01:59
FilipZAlright, so what is the importance of this file?02:00
rrqmmm that's a "locking file" should it would exist transiently02:01
FilipZIt is only the last timestamp, what could I do with this?02:01
rrqnothing really; you could chec it: date -d @$(cat /run/wpa_action.wlan0.timestamp)02:02
FilipZI am not in that problem state at the moment, so I don't know whether was there something, existing transiently02:02
FilipZSo what after checking the date? It is the time after I turned up my PC a moment earlier.02:05
rrqsounds right02:05
rrqas I mentioned before, a more reliable adapter might be cheapest :)02:06
FilipZI get it, but why would the interfaces file in its current state work worse than doing ifdown ifup manually?02:08
rrqprobably some timing thing; the actual commands are the same02:11
rrqwhen those commands are issued from wpa they might come to quickly in sequence especially if the adapter has locked up in  some way02:12
FilipZRight, but why would wpa_gui start 2 dhclient processes simultaneously? Also, I don't know whether it matters but one of them is of 3 times smaller size, for some reason02:15
rrqpossibly wpa starts one dhclient, and then dhclient uses its own logic to respawn; that seems more likely than that wpa spawns multiple dhclient... or does the log say that it does?02:19
FilipZI don't know. I just saw those 2 appearing at the same time in the task manager, though the refresh rate was set as 5 seconds, so I suppose that it may be like this.02:24
FilipZSo what could I try to do with it?02:25
FilipZTry to introduce a fixed delay somehow?02:32
rrqmaye a "down sleep 3" on ifdown... I have no idea really; new adapter is best/easiest.02:34
AfdalSo what's the deal with pkgmaster.devuan.org vs deb.devuan.org03:56
AfdalCan someone explain the difference03:56
debdogto quote golinux: "deb.devuan.org is a pool of mirrors that are all synced to pkgmaster." http://dev1galaxy.org/viewtopic.php?id=214003:59
AfdalWhat is preferable in sources.list?04:01
FilipZrrq: I just had this issue happen again. I didn't change the interfaces file yet. I could see that there were 3 dhclient processes, and only 2 of them were killed for some reason. One dhclient processes stayed untouched, while 2 more were repeatedly killed and created again. After a while it somehow fixed itself of its own, and then one of the 2 additional processes stayed, beside that one stat wasn't killed previously. Why could04:02
FilipZe this one process like this?04:02
debdogAfdal: deb.devuan.org or one of the mirrors directly https://pkgmaster.devuan.org/mirror_list.txt04:07
onefangAfdal: deb.devuan.org is preferable in sources.list, that way we are not all hitting the pkgmaster all the time and the mirrors get a chance te sync to it.04:07
onefangPlus what debdog said while I was typing that.04:08
Afdalyou know pkgmaster.devuan.org is the default after installation04:09
Afdalsomeone oughtta change that...04:09
debdogmaybe a better list for the mirrors: https://www.devuan.org/get-devuan04:09
onefanghttps://www.devuan.org/get-devuan is the ISO mirrors, not the package mirrors.  https://pkgmaster.devuan.org/mirror_list.txt is the package mirrors.04:10
debdogoops04:11
Afdal:o04:20
sachmy sources list is broken04:22
sachsee afdal no one responds04:24
Afdallol04:24
AfdalThey need more info than that...04:24
sachMalformed line 1 in source list /etc/apt/sources.list (type)04:24
sachE: The list of sources could not be read.04:24
Afdalsupposedly sach's sources.list looks like this https://pastebin.com/eh0mHYjE04:25
AfdalWonder if it could be a file permissions issue04:26
Afdalsince you edited it as root earlier04:26
AfdalWhat do you see next to sources.list when you type ls -al /etc/apt/ sach04:27
bb|hcbIt says line #1, so that is not a perms problem04:28
fluffywolfmalformed line does not sound like a permissions issue to me, but a typo issue.04:28
sachtotal 4004:28
sachdrwxr-xr-x   8 root root 4096 Nov 13 19:09 .04:28
sachdrwxr-xr-x 107 root root 4096 Nov 13 19:14 ..04:28
sachdrwxr-xr-x   2 root root 4096 Nov 13 18:21 apt.conf.d04:28
sachdrwxr-xr-x   2 root root 4096 Jun 21  2021 auth.conf.d04:28
sach-rw-r--r--   1 root root  150 Nov 13 18:14 listchanges.conf04:28
sachdrwxr-xr-x   2 root root 4096 Mar 28  2021 listchanges.conf.d04:28
sachdrwxr-xr-x   2 root root 4096 Jun 21  2021 preferences.d04:28
sach-rw-r--r--   1 root root  613 Nov 13 19:09 sources.list04:28
sach-rw-r--r--   1 root root    0 Nov 13 18:08 sources.list~04:28
sachdrwxr-xr-x   2 root root 4096 Jun 21  2021 sources.list.d04:28
sachdrwxr-xr-x   2 root root 4096 Nov 13 18:08 trusted.gpg.d04:28
AfdalRight, your permissions are as they should be04:29
fluffywolfpastebin the file somewhere and link it here04:29
brocashelmplease use a paste site like paste.debian.net or dpaste.org. you can easily get disconnected from the server for flooding04:29
bb|hcbsach: Please use paste.debian.net; there are bots that may kick you for long paste04:29
bb|hcb;) :P04:30
brocashelm:)04:30
Afdaly;04:30
sachhttps://pastebin.com/XFsC8yDP04:30
Afdalmight be that extra space at the start of your file lol04:31
fluffywolfhrmm, doesn't look obviously broken.04:32
sachthats not there04:32
sachalso cant edit it on my main acct04:32
Afdalthey were having trouble with sudo powers on their non-root account earlier04:32
Afdalso I think this is related to it04:33
AfdalDidn't you give your non-root user sudo access?04:33
sachi did but i dont hold up\04:33
sachi dont know how to open a txt file in terminal04:34
rrqsach: can you run the following: xxd -p -l8 /etc/apt/sources.list04:35
bb|hcbsach: Just delete the empty first line, maybe there is some special unicode there?04:35
fluffywolfif I get the raw paste, it has crlfs in it...  do they break apt?  lol04:35
sachefbbbf0a2323207004:36
bb|hcbsach: efbbbf is some unicode...04:37
sachwhat do i use to open sources in the terminal04:38
bb|hcbone way to fix is: dd if=/etc/apt/sources.list bs=1 skip=4 of=/somewhere/sources.list.fixed04:38
fluffywolflol, the blank line is some unicode crap?  surprised it's not in the raw paste, probably got filtered out somewhere.04:38
fluffywolfit appears to be...  a byte order mark?  that's a new one for me.04:39
rrqhttps://en.wikipedia.org/wiki/Byte_order_mark04:39
rrq"The UTF-8 representation of the BOM is the (hexadecimal) byte sequence 0xEF,0xBB,0xBF"04:39
fluffywolfI mean, I know such things exist, but what the heck would put one into a standard text file?04:39
bb|hcbSome windows based text editor?04:40
fluffywolfI guess I should learn a lesson from this...  always ask people to use a site where they directly upload a file, *not* copy and paste, in case of weird issues like this.04:42
fluffywolfsince that's not in the paste, even if you wget the raw version.04:42
Afdallol04:42
Afdalsneaky unicode trickery04:43
rrqhttps://stackoverflow.com/questions/60124466/how-can-i-redirect-input-in-powershell-without-a-bom04:43
fluffywolfI mean, that was the first thing I tried when they linked to the paste, wgeting the raw and running it through od, just to look for weirdness...  and other than it showing crlf instead of just newlines, it doesn't have any odd crap in it.04:43
fluffywolfso it didn't make it into the paste.04:44
bb|hcbSo the conclusion is that even editing simple text files on windows can be dangerous :)04:44
fluffywolfthey edited their sources.list on windows?04:45
sachno i did not04:45
sachwhat is the default editor for teminal04:45
fluffywolfnano04:46
AfdalI use nano like a champ04:46
bb|hcbHm, did you paste from somewhere? I doubt that paste will include BOM/CRLF but it is not impossible04:46
fluffywolf(on another thought...  should system utilities all be upgraded to handle unicode, to improve internationalization?)04:47
sachk heres a new paste https://pastebin.com/N4n9H0gx04:47
sachfrom mousepad04:47
fluffywolfdoes it work?04:47
sachno same error04:48
Afdaleh...04:48
sachi removed that line04:50
fluffywolficonv -c -f utf-8 -t ascii /etc/apt/sources.list >/tmp/sources.list && mv /tmp/sources.list /etc/apt/sources.list04:50
sachmv: replace '/etc/apt/sources.list', overriding mode 0644 (rw-r--r--)?04:51
fluffywolfare you root?04:51
sachim using sudo04:51
fluffywolfhrmm.  I don't know how sudo interacts with that line.04:52
Afdalfyi sach is doing all this from a fresh devuan installation04:52
Afdalthey can easily replace that sources.list with something else04:52
fluffywolfanswer yes and see what happens.  lol04:52
Afdalthey only pasted that because they were having problems and that's what my sources.list looks like04:52
fluffywolfI have very, very little experience with sudo.04:52
sachpermission denied?04:53
sachilet me explain04:53
AfdalI think this all stems from them forgetting to add their user to the sudoers list during installation04:53
fluffywolftry running sudo mv /tmp/sources.list /etc/apt/sources.list  instead of both on one line04:54
fluffywolfin case sudo is only applying to the first half of the &&04:54
sachthe laptop i have this installed on does not have ethernet so the installer set the sources as cdrom for the main source but as i do not have a cd rom we ere trying to redirect it elsewhere04:54
gnarfacei think you do need sudo on both sides of the &&04:54
sachi have sudo access not however well shit04:55
sachthanks04:55
fluffywolfdid that make it work?04:55
sachthe package i was looking for isnt there but i think its working04:55
sachlet me try synaptic again04:55
fluffywolfapt-get update would be the next step, if it works.04:55
fluffywolfor synaptic if you're doing it pointy-clicky, yes.04:56
sachyay its updating04:56
* gnarface claps excitedly 04:56
Afdalalso you may need to add the non-free repos to get your wifi working04:56
sachnow i just have to figue out how to get my wifi driver installed04:56
sachafdal what irc program u usin04:57
Afdalhexchat04:57
AfdalSee sach, the people in #devuan are friendly laddies ;y04:57
sachit doesnt show up in your repos04:58
Afdalehhh?04:58
Afdalit's definitely there for me04:58
gnarfacehttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=hexchat&x=submit04:58
gnarfaceshould definitely be present04:58
sachoh forgot to update synaptic04:59
fluffywolf<sach:#devuan> yay its updating04:59
fluffywolflol04:59
sachi updated apt04:59
gnarfacei thought you meant synaptic too04:59
sachok how do i add nonfree and get wifi workin05:00
gnarfaceif you add " contrib non-free" to the end of the sources.list lines then update again it should show the firmware packages, they're separated by vendor05:00
gnarfacethe intel one for example is iwlwifi-firmware05:00
sachalso the additional drivers thingy isnt there soim guessing devuan does that some other way05:00
gnarfacesorry, firmware-iwlwifi i mean05:01
gnarfacethey might all have firmware in their names05:01
sachok im confused05:03
gnarface?05:03
gnarfaceevery line in your sources.list that ends with the word "main" change it to "main contrib non-free" to see all packages05:04
gnarfacethough i'd recommend just installing the wifi firmware then removing the " contrib non-free" part again05:04
gnarfacedon't forget that after every update to the sources.list you have to update the cache again05:05
gnarfaceyou do need to figure out the vendor for your wifi firmware so you can pick the right package but it shouldn't be hard, most of them are intel or realtek05:06
sachdis realtek05:07
gnarfacewell then you should just need firmware-realtek unless you're unlucky and it's not a supported device05:08
gnarfacemost of their stuff is supported but not all of it05:08
gnarfacebut all the supported devices' firmwares are in that package05:09
gnarfaceyou might need to reboot after installing05:09
sachits already installed and no dice05:09
gnarfacehmmm05:09
sachxubuntus additional drivers found it05:10
sachso did nints05:10
gnarfaceperhaps it's in the backports version05:10
sachmints05:10
gnarfacechimaera is a bit older than everyone else's kernels05:10
fluffywolfwhat does lspci say your wireless device is?05:10
sachRTL8821CE05:11
fluffywolfsounds like you might need to install the backports kernel05:12
gnarfaceyea install the version of the kernel and that firmware-realtek package from backports, they should have newer hardware support05:13
gnarfacelike with the " contrib non-free" stuff i'd recommend removing it from your sources.list again when you're done, and not pulling anything else from there without cause05:14
fluffywolfyou need to edit your sources.list and uncomment (remove the #) "#deb http://deb.devuan.org/merged chimaera-backports main " and update again05:15
sachdoes this look right deb     http://deb.devuan.org/merged chimaera-backports main05:15
gnarfaceyou also need to add " contrib non-free" to that05:16
gnarfaceso it'll see the updated firmware-realtek package if present05:16
gnarfaceusually kernel and firmware versions are paired up05:16
fluffywolfand then apt-get install linux-image-5.14.0-0.bpo.2-amd64  (or use synaptic to install the newest kernel it shows)05:17
sachok running an upgrade05:17
sachand yes i updated first05:17
gnarfacei would NOT recommend just running a full upgrade from backports05:18
gnarfacethat would be reckless05:18
sachwell what should i run then?05:18
gnarfaceapt-get -t chimaera-backports install linux-image-amd64 firmware-realtek05:18
fluffywolfgnarface:  things from backports don't get automatically installed, from my experience.05:19
sachlol i may have to reinstall its too late its already goin05:19
gnarfacewell it might not break everything but who knows05:19
sachwe will see05:19
gnarfacejust make sure it actually got the two things you went in there for05:19
fluffywolfyou're probably upgrading everything that's been upgraded since the installer was packaged.05:19
sachim just learning anyway05:19
fluffywolfnow that it was able to get updated sources.05:19
sachlol well now i know what to do if i bork it again05:20
fluffywolfI'm not even positive the backports kernel is new enough for that wifi...  it seems linux support for it without compiling an out-of-tree module is very new.05:20
fluffywolfspeaking of new kernels, here's a question for others here:  do 6.* kernels just compile and work on chimaera?  I might need one for my usb.05:22
sachwoo wifi workin05:28
sachso i should remove all the nonfree things now right05:28
fluffywolfI leave them all in.05:29
fluffywolfdid installing the backports kernel make wifi work?05:29
sachyes im using it now05:30
fluffywolfyay.  installing the backports kernel was much easier than the options if the backports one wasn't new enough.05:30
saccharinok i got me hexchat up05:32
sachlololol ok im buggin off of this05:32
* fluffywolf is old fashioned and uses a console irc client05:33
saccharinopenbox doent have a panel05:56
saccharinoops05:56
saccharinsorry wrong chat05:56
Afdal:o06:04
saccharingasm06:21
fluffywolfI guess I'll just have to try 6 and see what happens...06:27
fluffywolfbbl06:39
saccharinok lesson learned leave the desktop environments alone08:21
saccharincan anyone help me install my wifi driver again08:22
saccharinRTL8821CE is my card08:22
AfdalDid you have to reinstall?08:22
saccharinya08:23
saccharinima dumbass08:23
Afdalyou need that realtek driver from the backports repo08:23
rrqapt-get -t chimaera-backports install linux-image-amd64 firmware-realtek08:24
saccharincan you scroll up and copy the command from the backports and the backports repo08:24
Afdaldeb     http://deb.devuan.org/merged chimaera-backports main contrib non-free08:24
saccharinthanks08:24
Afdalstick that in your sources.list08:24
saccharini did and its saying its invalid08:27
saccharinwhats that line i ad to run last time to make it work08:30
saccharineverthing looks correct08:30
saccharinafdal pastebin the chat for the last 4 hours ill look myself08:31
debdogsaccharin: there's a chanlog available, see topic08:33
saccharin.topic08:34
Afdalpastebin apparently has some stupid filter to to filter of "potentially offensive or questionable" content08:34
Afdalso long pastebin08:34
saccharinpm me?08:35
Afdaljust use the channel logs I guess08:36
Afdalhttp://reisenweber.net/irclogs/libera/_devuan/_devuan.2022-11-13.log.html08:36
saccharini dunno how08:36
saccharinoh08:36
Afdalhmm that log doesn't seem complete08:36
Afdaloh you want this one http://reisenweber.net/irclogs/libera/_devuan/_devuan.2022-11-14.log.html08:37
Afdalsilly time zones...08:37
Afdalnice and cleaned of join and quit messages too08:38
saccharingot it thanks08:39
ham5urgI'm trying to trick Gnome to hibernate instead of suspend. I changed /etc/elogind/logind.conf and for the lid-closing it works. What does not work is the suspend-button of Gnome itself https://ibb.co/jTs8cHx . I can't find an option for this button in logind.conf. Am I looking at the right file?12:24
ribcageguys, on Chimaera and XFCE, when I try to create a vpn connection, the list of VPN types is empty, it says that I don't have the right plugin installed or something like that. Do you have any clues?16:28
djphribcage: for ... network mangler?17:00
ribcageWhat is that? It's the graphical network manager that comes with XFCE17:01
ribcagewhen you click on the network icon in the system tray, and try to create a vpn connection17:02
ribcageI installed the OS from the dvd iso, the computer was not connected to any wired or wireless networks during installation. Could that have caused this?17:03
Jorilribcage: I think you have to install a VPN plugin (e.g. network-manager-openvpn-gnome)17:40
ribcagewhat about PPTP?17:56
ribcagepppd seems to be installed17:56
FilipZrrq: Are you online now? I added this fixed delay, but it didn't help when that issue happened again. I found out that there indeed was that /run/wpa_action.wlan0.ifupdown21:36
FilipZIt had the asound.state.lock text file inside, with some number in it21:37

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