libera/#devuan/ Thursday, 2021-09-16

pts33fuck systemd07:40
* gnarface nods07:41
* gnarface points towards #devuan-offtopic 07:42
pts33bout to signoff, but nexttime07:42
onefangEw no, systemd isn't my type.08:15
sadoon_albader[mI don't suppose nm-applet getting deleted out of nowhere is normal behavior hmm13:06
sadoon_albader[mThe package that owns it was somehow removed from my system13:07
sadoon_albader[mCould be I messed up autoremove13:09
gnarfacenot sure but maybe it has been supplanted by nm-tray?13:36
fsmithrednm-applet is in the network-manager-gnome package. nm-tray is for qt destkops.14:09
sadoon_albader[m<fsmithred> "nm-applet is in the network-..." <- Yup, I just don't know how it suddenly got deleted14:42
jiefkAlso for Plasma, you can get plasma-nm14:42
fsmithreddid you upgrade to chimaera? It's not in that repo.14:42
fsmithredwould get removed either during the upgrade or later during an autoremove (or with aptitude install)14:43
fsmithredsadoon_albader[m, if it's not showing up in the system tray, check Application Autostart in the desktop settings14:44
fsmithredSession and Startup14:44
sadoon_albader[mNo I verified later that the package was not installed14:46
sadoon_albader[mEven though it was in my tray for a few days14:46
sadoon_albader[mSo most likely I messed up an autoremove or something14:46
fsmithredif you removed network-manager-gnome while it was running, the tray applet would stay there until you log out of the desktop. But it wouldn't actually work. If it came back after login/logout, then I don't know what happened.14:54
fsmithredbtw, I got ppc64el installed in a VM and booting. Thanks.14:54
sadoon_albader[m<fsmithred> "if you removed network-manager-..." <- I wasn't using the machine enough to notice haha15:14
sadoon_albader[m<fsmithred> "btw, I got ppc64el installed..." <- Glad I could help :D15:14
sadoon_albader[mI'm currently looking into webkit and if we can make it any more usable since it doesn't support JIT JavaScript15:15
keeDoes anyone know how to find wpa_supplicant.conf errors?18:11
keewpa_cli reconfigure is just returning FAIL.18:12
kee(I'm running Debian 11, not Devuan, but I was told you would know more about configuring networks without NetworkManager.)18:12
n4dirwhat i said is that i for one expect more people here to know which files of wicd are important for wpa_ ; not more18:13
keeOh, then never mind; I've solved that part. :-)18:13
rwpkee, I guess your problem is solved but... I would expect wpa_supplicant to log errors in /var/log/syslog and would look there for errors.18:17
rwpAnd if not there then errors should go to stdout/stderr of the program.  I do see there are -s -T options to control error logging locations.18:18
rwpAlso if you suspect errors in the wpa_supplicant.conf then if it were me I would create one off to the side with what I wanted and use it to compare.18:19
rwpSince the wpa_passphrase program creates those files the output of that program would be correct by construction.18:20
rwpwpa_passphrase "your_SSID" "your_key" > /tmp/wpa_supplicant.conf18:20
rwpAnd then compare that with whatever you are suspecting has an error in it.18:21
rwpAnd this also means one can do everything all in one line.  For example:18:21
rwpwpa_supplicant -D nl80211,wext -i wlan0 -c <(wpa_passphrase "your_SSID" "your_key")18:21
rwpThat's good for the command line.  But if you are configuring an RPi or something to a local WiFi Access Point then I would use /etc/network/interfaces with a conf file.18:23
rwpSuch as something like this: https://paste.debian.net/plain/121200518:23
keeI think it's not even reading my config file because systemd is being mean, which is obviously off-topic for here.18:24
rwpLook at the "ps -efHww" (or "ps auxww" BSD style) output, look for the wpa_supplicant process, look to see what args are given to it.18:25
keerwp: "18:25
kee"Use D-Bus" arguments.18:26
rwpCaution: Don't try pasting into the channel or the global IRC bot will kick you.18:26
rwpFor example my wicd system has this use: wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/000da3103f57 -Dwext18:26
rwpWhich tells me that wicd is creating a new conf file on the fly and pointing wpa_supplicant to it on the fly.18:27
Guest10Hi20:00
Guest10I was there some time before, asking for a help with the wireless interface randomly ceasing to work20:01
Guest10I was asked to restart the login manager, to  check if it helps20:02
Guest10One user recommended to use 'service "name" restart'20:04
Guest10So I did use "service slim restart", and it gave a black screen with only the terminal on it.20:05
Hydragyrumrestarting the login manager would kill your graphical session and subordinates -- possibly including the `service` command before it restarted slim20:06
Hydragyrumlogin on the terminal and `service slim start` and it should get it back up20:07
fsmithredservice slim restart fails for me whenever I try it. Start and stop separately work correctly.20:08
Guest10I used the same command again, as root from terminal, and it restarted the graphical session20:12
Guest10It didn't help...20:14
Guest10The WiFi is still "Not connected"20:14
Guest10Unlike after restarting pc completely.20:14
Guest10What should I do next?20:15
Hydragyrumif you could pastebin the (last 20-100 lines at least) of the output of dmesg, that'd be helpful20:20
HydragyrumI've had similar issues with my bluetooth adapter, it went into an error state and the kernel couldn't reset it20:22
Guest10I will restart and paste a dmesg output then.20:24
Hydragyrumif you restart it won't be in whatever problem state it is now20:26
HydragyrumThe dmesg output after a restart would still probably be useful, but the problem is getting it working again without a reboot20:27
Guest10Then I will do dmesg, and save it output before it.20:27
rwpGuest10, "slim" is a graphical login manager (along with lightdm, gdm, xdm).  Restarting those kills the X session and your login back to the graphical login start screen.20:31
rwpThe "service" command is the normal way to run /etc/init.d/foo named service but with a clean "env -i" environment and "cd /" just like at boot time.20:32
rwpBut neither of those things would be anything I would expect would affect WiFi networking.  Unrelated!20:32
Guest10So why would I have to do this? I was told, it could help.20:33
rwpI don't know why someone would suggest it.  But IRC channels are like sitting in a coffee shop and talking to people who happen to be there.20:34
rwpOver the course of a day many people will come and sit for a while.  Then get up and leave.  And all will have different ideas.20:34
rwpWiFi problems are often brought up here.  And they are difficult because there are many possible ways to use WiFi.20:34
rwpWe should write up some type of guide that walks through the many possibilities.  That might help.20:35
sadoon_albader[mrwp: That's the most accurate description I've heard20:35
rwpBut in the meantime we must ask, Are you using a connection manager?  Which one?  Or low level commands directly?20:35
fsmithredhow is the wifi connecting? wicd, network-manager, something else?20:36
rwpPlus very unfortunately the "best" (IMNHO) connection manager wicd good in Beowulf is not available in Chimaera due to Python 2 going away. :-(20:37
fsmithredbe hopeful about that20:37
Guest10rwp I use connman now.20:37
fsmithredI fight with connman now20:38
rwpfsmithred, :-) "Learn from yesterday, live for today, hope for tomorrow." --Albert Einstein20:38
fsmithredgood one20:38
Guest10rwp wicd seems to be bugged now20:39
Guest10Something is wrong with the package, I guess.20:39
rwpGuest10, Which suite are you running?  Beowulf?  Or what?20:39
Guest10Chimaera20:40
rwpFresh installation?  Or upgrade from Beowulf?20:40
Guest10I didn't read it fully untill now. Fresh installation, butif I remember well, it was in the Chimaera repo20:41
Guest10Should I reboot and then send a dmesg output from before it?20:42
Guest10Wicd is a gui ifup ifdown, right?20:43
fsmithredit does not use /etc/network/interfaces20:44
rwpI personally with WiFi am only running up through Beowulf so am not experienced with chimaera for connman use with WiFi.  Hoping others will help with those details.20:44
fsmithredifup/down does20:44
Guest10Oh, so maybe I thought about something different, then20:45
fsmithredCeni20:45
fsmithredsetnet.sh?20:45
rwpfsmithred, Are you having keyboard problems today?  Seems like messages are truncated short?20:45
fsmithrednot that I know about.20:46
fsmithredceni is just ceni20:46
fsmithredCeni if you want to run it; ceni to install it.20:46
rwpOh.  Okay.  Just outside my knowledge base and I am not familiar with it. :-/20:46
fsmithredlightweight network manager. Configure Etc Network Interfaces20:47
rwpCool.  I'll add that to my list to try after connman.20:47
fsmithreddon't think I've tried it with wireless20:47
Guest10 I have a mouse input problem too. Don't know if it could be related.20:47
Guest10The left button randomly ceases to work for some time.20:47
rwpGuest10, Mouse problem?  Those are so mature that having a problem there makes me worry something really fundamental is broken.20:48
rwpGuest10, ifup and ifdown are from the ifupdown package and continue to work.  But are an advanced alternatives due to needing to edit files and run by the command line.  Typically used in IoT devices like Raspbery Pis though.20:48
rwpGuest10, wicd as far as I know is not working yet in chimaera due to the python 2 to python 3 thrash.  fsmithred says we should not lose hope.  But that would be for tomorrow and not today.20:49
fsmithredGuest10, do you have a connman icon in the systsem tray? Two arrows in opposite directions20:49
rwpTherefore connman is the usual recommendation on chimaera.20:49
fsmithredgray or black?20:49
Guest10Yes. A mouse problem. Just with the left click though. I have a problem in one game with the mouse flickers, but it happened with just one program only, to me20:49
fsmithredold mouse?20:49
fsmithredthey get arthritis, I think20:50
rwpIt's possible the button switch is failing.  Try a different mouse.20:50
fsmithredhold down right-click on the connman icon to see what's turned on or off, especially wifi. On is blue.20:51
fsmithredhold down left-click should show you available wireless signals20:51
fsmithredat least that's what mine is doing right now. I can't verify that the behavior is consistent. I'm still trying to figure it out.20:52
Guest10fsmithred I don't have it by default, but it appears, after running it from the program list manually "connman settings"20:52
fsmithredwhich parts of connman did you install?20:52
Guest10Now that I have no connection, it looks like 2 pc screens, with an x in the down-right edge20:53
fsmithredthat sounds like network-manager20:54
fsmithredhow did you isntall the system? Did you select a desktop from the installer?20:54
Guest10rwp if I remember well it started to work again after some time or the restart, so I doubt if it is a mouse itself20:55
Guest10It is quite new. Used maybe since a month20:55
fsmithredmake sure you don't have both connman and network-manager installed20:55
Guest10I made sure I don't. I had an additional issue as those 2 mixed up somehow. I wrote about the file that was a link instead of a configuration file before20:58
Guest10I fixed it. Purged the nm, then installed the connman using the synaptic package manager, while using ifup ifdown manually20:59
fsmithredah, good20:59
Guest10Ifup ifdown set manually also failed from time to time21:00
fsmithredthat doesn't sound good21:00
fsmithredunless you still mean wireless21:00
fsmithredback in a few minutes21:01
Guest10I installed the system using the installer one, not21:01
Guest10...not the live-system.21:01
Guest10Yes. I meant wireless interface only21:02
Guest10The wired seems to work ok21:02
Guest10I want to use wireless here ofc21:03
Guest10I don't know what is it about the right-click context menu to connman system tray21:04
Guest10After the right click it shows context menu with 3 options21:05
Guest10"open app", "Wired"(grayed out), and "exit"21:06
Guest10And in the settings I get only "wired" and "bluetooth" options when it fails like this21:07
Guest10Normally there would be also a "Wi-Fi"21:07
rwpIt's very strange to hear that a mouse button sometimes works and sometimes fails to work.21:10
rwpI have never used connman (not yet, it's on my list) so am not truly able to help with the connman wifi help.  Sorry. :-(21:10
Guest10It mostly works, and sometimes it temporarily stops, or is detected as it would be pushed down all that time21:11
Guest10and after a while it is detected correctly again21:11
rwpI am good for help with wpa_supplicant on the command line.  And for help using ifupdown.21:11
Guest10Oh, right. That connection manager I mentioned is the gui to wpa_supplicant21:12
Guest10It is broken, for some reason21:13
Guest10Not just for me21:13
Guest10I rebooted. The "wireless" and "p2p" options reappeared inthe connman settings21:14
Guest10I can show the dmesg output again21:14
Guest10Would it be of any help?21:15
Guest10Not again*. I just didn't have internet a moment before on pc21:15
Guest10fsmithred would my dmesg output help?21:16
Guest11This is also me. Just that on PC.21:17
Guest11https://f.perl.bot/p/1htaqs There. A full dmesg output from before the reboot.21:20
rwpGuest11, Guest10, Looking at that output I see many things that cause me concern. But I don't know if any of them are truly "the problem".21:24
rwpIt looks like you increased the verbosity of the Linux kernel boot.  Did you?21:25
rwpThere appears to be some USB problem there with the early part of that.  But that may just be much more verbose than I am used to seeing.21:25
rwpBut then I see iwlwifi and I wonder if you have installed "firmware-iwlwifi" package to include the firmware blob for it?21:26
Guest11rwp I don't remember about that with verbosity, but I suppose, I could have done it once before.21:26
rwpAnd then I see call backtraces for reasons I know not but that looks abnormal compared to what I noramlly see.21:26
rwpcat /proc/cmdline and what does it say?21:27
Guest11rwp I did install iwlwifi.21:27
rwpGood on the firmware-iwlwifi installation.  That's good.21:27
Guest11firmware-iwlwifi package, it is.21:27
UsLto me it looks like missing firmware drivers. But, then I am not proficient with machine code errors and cpu calls/traces21:27
UsLif not missing, broken somehow21:28
rwpI am using the Intel WiFi on my laptop too and it has always worked very well for me.21:28
UsLme too.21:28
rwpSomething definitely seems broken as indicated by the call traces in that boot output paste.21:29
Guest11rwp cat /proc/cmdline output: "BOOT_IMAGE=/boot/vmlinuz-5.10.0-8-amd64 root=UUID=9e9faa54-d8bb-4dc4-bb27-691d2bb0d072 ro quiet21:29
Guest11"21:29
Guest11Is this ok?21:31
rwpThat is okay.  And it says "quiet" so there is no flag for extra verbosity.  Meaning all of those dumps in the dmesg look like problems to me.21:31
rwpSo the Linux kernel command line is okay.  But the output seems to indicate some type of problem.21:32
fsmithrediwlwifi can't start the interface? I just looked quickly. Did it ever start?21:32
Guest11I think so. The wlan interface works, until some moment, when it breaks.21:34
Guest11What else would start it?21:34
UsLGuest11: you might want to check bios/efi settings. Sometimes I've seen wifi turned off there casue a lot of problems. But, not sure if that would make all those error messages but rather say: "turned off"21:34
UsLaha, so it works sometimes??21:35
rwpAt this point I might suggest booting a live-cd boot image and running it as a test installation.  See if it is happy that way or not.21:35
Guest11UsL I don't recall wifi turned off in the efi. I don't think I ever turned off it here, and it seems to me, that if it would be turned off in the efi, then it shouldn't work at all. Should it?21:36
UsLit probably shouldn't spit out all those errors, no. Seems counterintuitive.21:37
Guest11It works normally(or at least it seems like it) since the start. Then it breaks randomly at some point. It can work many hours just fine, and it also happens to break shortly after the start, sometimes.21:37
Guest11rwp I doubt it, as I had WiFi problems on the other instalations too.21:38
UsLmaybe hardware error then.. Some glitch of sorts. I'd try rwp's suggestion and run a live ido for a while and look for errors there21:38
UsLokay, if you already tried other live isos then.. hardware error seems more likely..21:39
Guest11So to run a live-usb, and dmesg here?21:39
UsLdoesn't hurt to try.. Have you searched for some of the error codes? I'd use google for that since they're actually superior for those searches.21:41
Guest11rwp I meant, I have an usb with "installer-iso", which I used to install the system. Should I run dmesg here, and provide its output?21:44
fsmithredmight be better with a live iso. The desktop-live will have the right firmware installed21:47
Guest11Ok. So I will make a live-iso, and run dmesg on it later.21:54
Guest11I wil paste its output here later21:54
fsmithrednetwork-manager is installed, so it should be easy to connect. In theory.21:54
fsmithreda link to the output21:54
systemdleteplease DONT tell me graylog is not available on devuan due to... u-know-what23:07
systemdlete(but if you must, then do!)23:07
HydragyrumI see the same graylog packages in devuan as in debian stable23:12
systemdletegraylog-server?23:13
systemdleteis that in a special repo?23:13
systemdleteIt may be a bit high-end for my needs, but I had problems trying to use syslog-ng23:14
systemdleteHydragyrum:  Maybe it is packaged with a different name?23:19
Hydragyrumsystemdlete, perhaps, I didn't see a graylog-server package in debian stable though23:19
systemdleteIt's possible.  While it is "open source," I think the graylog software is commercial.23:20
Hydragyrumit looks like their actual packages are only on their own repo23:20
systemdletesyslog-ng looked promising, but the scripting language seemed to have problems. idr now though23:20
Hydragyrumhttps://packages.graylog2.org/debian/pool/stable/4.1/g23:21
systemdletehttps://docs.graylog.org/en/4.1/pages/installation/os/debian.html about 1/2-way down the page23:21
Hydragyrumyeah23:21
systemdletethere is a "hint" implying that graylog-server is in the debian repo.  Go figure23:21
systemdleteThat's why I thought maybe it would be available in devuan also.23:22
systemdleteAgain, probably way more than I really need. I'm just looking for a solid centralized logging tool that can send alerts.  syslog-ng can do that, but my results were not reliable.  Sometimes emails or texts did not make it to my phone or email account.23:25
systemdleteText messages were getting garbled for some reason.  And emails often did not arrive for a long time if at all.  So it was pointless.23:26
systemdleteMaybe they have updated the software and I can try it again now.23:26

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