libera/#devuan/ Sunday, 2021-03-14

man_in_shackwhat do you peeps use for managing your wifi connection?01:42
man_in_shackgnome-network-manager crap?01:43
man_in_shackor something good? (:01:43
buZzwicd is nice01:45
man_in_shackwicd is no longer in deb/devuan unstable it seems01:47
* jonadab uses a wired network.02:10
DHEif it's a fixed workstation, definitely. but you can install devuan on a laptop.02:18
DHEat least I hope so. plan to do it next week or so...02:18
fsmithredthere's also connman or ceni02:23
DHEI should write this down02:24
fsmithredyes you can install devuan on a laptop02:24
fsmithredI'm using network-manager now to see if I like it. It work. I miss wicd.02:25
* tuxd3v uses wired connection, but for terminal 'ceni' works great02:26
fsmithredDHE, how new is the laptop?02:26
DHEcrap.  I think it's a year old HP with an i502:40
DHE4 year old02:40
* tuxd3v time flies02:49
fsmithredthat's good. Sometimes new stuff is not yet supported.02:52
fsmithredif you want to test it out, try the desktop-live iso02:52
fsmithredit has most of the wireless firmwares installed02:53
DHEI'm not worried about hardware compatibility. I got centos 6 working on it.03:06
fsmithredhave you used the debian/devuan installer before?03:06
DHEyeah, on a server VM03:06
daimonhaha getting centos6 working on anything is a miracle03:07
DHE4 years ago? it was adequate03:07
daimonI have never had so much pain as CentOS6 installs have caused me03:08
daimonespecially in regards to network adapters03:08
daimonand harddisk controllers03:08
tuxd3v'ESC' key code is '\027' right?03:16
tuxd3vor I am missing something..03:16
DHEit's 27 in decimal, which sound be something else in hex03:16
DHEer, octal03:16
tuxd3vI am with some problems getting 'ESC' events with newt library..03:16
tuxd3vI will compile the library with that, many thanks :)03:18
gnarface1B in hexadecimal, 33 in octal03:49
rgh[m]man ascii06:43
mozhaaakHello, does devuan have support for linux efistub?09:19
gnarfacemozhaaak: stick around for a while, i'm not sure of the answer to that but someone will know10:05
gnarface(if debian has it, the answer is probably yes)10:05
ErRandirsee https://wiki.debian.org/EFIStub10:27
mozhaaakgnarface: Yes, I looked at it. Though I'm not able to find zz-efistub script11:43
gnarfacemozhaaak: did you try dpkg -S ?12:33
gnarfacemozhaaak: maybe check in /usr/share/doc/[package name]/12:33
gnarfaceor like /usr/share/doc/[package name]/examples/12:33
gnarfacei'm not familiar with it myself but sometimes stuff gets left in there12:33
mozhaaakgnarface: I wouldn't think locate / |grep efistub wasn't good enoug, though it is like nailing a nail with a shoe12:37
flingHow to get libappindicator3-1 on chimaera?13:07
daimonhey all how would I check the current clockrate of my cpu15:29
daimonin regards to speedstep etc15:29
debdog cat /proc/cpuinfo | grep MHz15:32
daimonah nice15:32
daimon4 cores all at totally different speeds lol15:33
daimonanyway I can find out what core an application is on and find out what speed that core is running at15:33
debdogthere are tools like htop as well15:34
daimoninstalled!15:34
daimonlets see15:34
debdogesp. when it comes to processes it's much more helpful15:34
daimonI am in and found the application I am curious about15:35
daimonhow do I find what CPU core its bound to15:35
debdoghmm, I am no expert there, but I don't think a precess is really 'bond' to any CPU15:36
debdog*process15:36
daimonah is there a way I can force one to15:36
daimonI am curious what server I need to buy to host it is all15:36
daimonits an application I developed15:36
daimonCPU: 53.3 (80.0)15:36
daimonapparently it peaked at 80% usage, but its only at 40% load15:36
daimonat the moment15:36
daimonso I would like to leave it running 24 hours and get some details on exactly how bad processor wise its going to be in production :)15:37
debdogwell, you can just monitor the process to figure out how much ressources it requires15:37
debdogthere is a highly configurable system monitor to set such things up, I just cannot recall its name :/15:38
debdogI am sure others will know. just be patient, sometimes it is rather slow in here15:38
daimoneh its not to bad :)15:40
daimonone of the nice things about devuan is that its just a small enough community to actually be friendly to most people you bump into15:41
daimonlarger distro's tend to carry a little more ... poison15:41
daimonpossible exception for gentoo15:41
Tenkawadaimon: you can try to use taskset to assign cpu/process affinity15:43
Tenkawasudo taskset -c -p 3269415:45
Tenkawapid 32694's current affinity list: 0-315:45
daimonah nice! let me give that a go15:47
daimonpid 30601's current affinity list: 0-315:48
daimon30601's15:49
daimonpid 30601's new affinity list: 315:49
Tenkawayep15:49
Tenkawaneat eh?15:49
onefangI use collectd to collect lots of system info as RRD data, then graph it.  There are LOTs of monitoring systems though, and all have some issue or another.15:49
daimonperfect! yes :)15:49
Tenkawahave to do it each time you run it but I think you can start it with that15:50
daimonthis particualr application all I care about is cpu load, its pumping 6000-8000 JSON objects through its self15:50
daimonnot much ram, nor much anything but a boat load of cpu15:50
Tenkawapossibly spawn the process with the taskset15:50
Tenkawaminimally batch it that soon as you do start it get the pid and switch it15:51
daimonI do not need to really care to much about batching15:52
daimonits a never ending task, the stream its reading is as far as it matters15:52
daimoninfinite15:52
daimonthis application will get deployed on three systems and that is all they will do for the rest of their natural life15:52
Tenkawanod..ok so you have time to start it and manually switch it then?15:52
daimonyep15:52
daimon:)15:52
Tenkawaok cool15:52
daimonthere actually just stripping the protocol from secure websocket, to standard TCP15:53
daimonanother application reads all three and 'raids' the data into a single consistent stream, there is three incase 1 or 2 fail15:53
daimonbut it is a single threaded application15:54
daimonand that is ALOT of json15:54
Tenkawaheh oh joy heheh15:54
daimonthe application that raids this lot is going to be fun!15:54
Tenkawareminds me too much of my cobol batch processing days15:54
daimon:)15:54
daimonwell its nearly cobol, its perl15:55
Tenkawano!!!! run!!!!!15:55
Tenkawalol15:55
daimonI did write it in .NET 5 as well, but it performed no better15:55
daimoninfact ... nothing performed well15:55
daimonI even had to change the way the JSON was actually handled15:55
daimonhttps://i.itsosticky.com/1yjo9o1.png15:55
Tenkawayeah been there (.net) too15:55
daimoninstead of decoding he json I am doing an index/substr to extract the important data15:55
daimonsignificantly faster15:55
daimonand I can likely squeeze a little more from it, at the moment I am outputting things to STDERR/STDOUT for debug reasons which is fairly expensive15:56
Tenkawayet another reason I stayed out of coding except when I "had" to (I'm a sysadmin/dba/network admin)15:57
daimonI set out wanting to be an infra guy (for FreeBSD), but because freebsd 4.x and earlier required perl to compile the kernel ... I picked it up15:58
Tenkawahehehe15:58
daimonthen someone said, hey I will give you some money for that knowledge!15:58
daimon:)15:58
TenkawaI started way before then15:58
* Tenkawa is an old geek15:58
daimonthe earliest system I have memory of was a spectrum with twin tape drives, but I was 9 or something insane15:59
daimonmaybe younger15:59
daimonI am 36 at the moment15:59
Tenkawayeah I started on this stuff in 7915:59
Tenkawalol15:59
daimonah so you must have a very long beard!16:00
daimon:)16:00
Tenkawayeah I occasionally will get the ZZTop going lol16:00
onefangThink you have gone #devuan_offtopic.16:01
daimonyou likely have some competition with all the covid stuff recently, I know all the remote working has made mine extend at least a few cms16:01
Tenkawasorry16:01
daimonah my apologies onefang16:01
* tuxd3v no one in #devuan_offtopic16:32
Tenkawaits -16:35
fsmithredExpert install gives you a choice of generic initrd with all available drivers or targeted with just drivers needed for the installed system. How does one undo that choice after the install?16:47
iv4nshm4k0vfsmithred: /etc/initramfs-tools/initramfs.conf ?  Mayhaps dpkg-reconfigure on the owning package as well.16:50
fsmithrediv4nshm4k0v, that's what I thought, but someone compared that file between two different initrds and saw no difference16:51
fsmithredI just did part of an install to get a targeted one to look at it myself16:52
iv4nshm4k0vfsmithred: I'm not sure I understand; what specifically do you observe and how that differs from what you expect?  Also, I'm not familiar with the installer, so if the installer somehow fails to commit the user's choice into the initramfs.conf file, I won't probably be of any help.16:55
fsmithredthere is a difference in size, but I'm trying to find the switch to undo that difference16:56
fsmithredfrom what I heard, a bunch of .ko files are missing16:56
fsmithredI'm trying to figure out how to include them in the next update-initramfs16:56
iv4nshm4k0vfsmithred: bash$ diff -du -- <(zcat < small.initrd.img | cpio -t) <(zcat < big.initrd.img | cpio -t) ?  Also, I'm not sure that update-initramfs /always/ rebuilds the initrd file.17:00
fsmithredI think I found something17:00
fsmithredfile called driver-policy inside the targeted initrd says MODULES=dep17:01
fsmithredsays it overrides whatever is set in /etc/initramfs-tools/initramfs.conf17:01
iv4nshm4k0vfsmithred: $ dpkg -S -- driver-policy ?17:02
iv4nshm4k0vI'd expect it to come from either someplace under /etc or /usr/share/initramfs-tools .17:03
fsmithredapt-file can't find it17:03
fsmithredand dpkg does not exist on that system yet17:03
iv4nshm4k0vfsmithred: No dpkg?  How so?17:04
fsmithredstill early in the install17:04
iv4nshm4k0vfsmithred: $ find /etc /usr/share/initramfs-tools -name driver-policy ?17:04
fsmithredyeah, it's in conf.d/17:05
fsmithredso I can tell him to remove that file from the host system and update-initramfs -u17:05
fsmithredcool. Thanks for help.17:05
fsmithredyeah that works. Removing that file and rebuilding caused initrd.img to grow from 6.7M to 25M17:13
aitor_hi22:04
aitor_I developed a new terminal emulator in Gtk2, i have it working on my system22:06
aitor_the right click popup menu only has the clipboard features so far (copy&paste), but it'll be quite customizable, including an additional menu associated to the middle mouse button22:11
aitor_my original idea was to develop a gui environment for live-sdk, but i ended up working on a new terminal22:13
aitor_for *the* live-sdk22:14
aitor_suggestions are welcome22:15
aitor_for example, one would be able to customize the popup menu including his/her own most common git commands...22:16
aitor_nobody here?22:18
aitor_ok, time to dinner :)22:18
jonadabDo we have !tell in here?22:39
jonadab!tell aitor_ If you're developing this for X11-based systems, users will generally expect middle-click to paste from the current-selection buffer.22:40
jonadabGuess not.22:40
jonadabWell, he'll have to actually stay connected if he wants answers, then.22:40
debdogI think there's memoserv on freenode (for registered users)22:43
debdoghttps://news.ycombinator.com/item?id=1962267122:45
debdogjonadab: ^22:46
jonadabYeah, but users who show up, ask a question, and leave, are almost never registered.22:59
golinuxjonadab: FYI, aitor is the dev who provides the Mate desktop for Devuan.  He doesn't post often and never stays long.  He has a life . . .23:02
golinuxOr is that Antofox23:03
* golinux is old and confused . . .23:03
aitor_sorry jonadab, i'm here again23:10
debdogor he might read the log :D23:11
aitor_golinux, yes, Antofox is the man who packaged mate-desktop23:11
aitor_debdog, my nickname should be guadiana: https://en.wikipedia.org/wiki/Guadiana23:13
aitor_this spanish river appeares and disappears over time23:15
debdoghehe23:16
gnarfacehey aitor_ are you also the guy behind wicd?23:17
aitor_no...23:19
aitor_*beyond :)23:19
aitor_no, no, behind simple-netaid23:19
golinuxAnd live-sdk?23:19
aitor_a little bit23:19
* golinux owes aitor an apology for being so forgetful . . .23:20
tuxd3vaitor_, you have impmenented wifi configuration of networks in  simple-netaid?23:20
* golinux sends a hug too23:20
aitor_yes23:21
tuxd3vho, so now we can use it intead of wicd, for ethernet and WIFI?23:21
tuxd3vNice! :)23:21
aitor_yes, i only use simple-netaid time ago23:22
tuxd3vwhat repos hold it?23:23
tuxd3vor it is only in guinos?23:23
tuxd3vgnuinos23:23
aitor_yes, only in gnuinos beowulf23:23
tuxd3vdoes you have pictures of the interface?23:24
tuxd3vsomewere, many thanks :923:24
tuxd3v:)23:24
aitor_the isos already have an ncurses interface; but i'm also finishing the gui in gtk23:24
tuxd3vho nice to hear that :)23:25
aitor_the code is not updated:23:25
aitor_https://gitea.devuan.dev/aitor_czr/simple-netaid-gtk23:25
aitor_recently, i did several improvements23:26
Xenguyaitor_: wicd is disappearing (unless someone ports it from python2 to python3), so folks are looking around for an alternative these days23:27
gnarfaceyea, network-manager seems to be very polarizing and we need new options23:28
Xenguynetwork-manager is rather large for me, and I would prefer something less bloated23:28
aitor_simple-netaid is quite stable23:28
gnarfacewell, i say we very loosely... i gave up on graphical network management a long time ago23:28
gnarfacebut i have faith for the childrens' future23:28
Xenguyhah23:28
Xenguy"For the children"23:29
tuxd3vaitor_, is has a simple and direct interface, seems very complete, and displays all the info we want, I mean I saw the pictures :)23:29
aitor_network-manager and conman interfere with sysadmins23:29
aitor_*connman23:29
Xenguywicd has worked fine for me, though even it seemed rather buggy at time23:29
Xenguy*times23:29
Xenguyaitor_: How does connman interfere with sysadmins?23:30
aitor_for instance, remaining in trying to connect again to the network23:30
XenguyHuh23:31
aitor_depending on the way the system has been disconnected, of course; it'll not happen if you used connman for that23:32
aitor_i'm looking for an article i read time ago in the web, saying something like "for a suckless network manager", written by a sysadmin23:33
aitor_on the other hand, all the existent network managers depend on dbus23:34
aitor_golinux: pay no attention to the man behind the curtain23:41
aitor_didn't you like nonsense gibberish?23:41
aitor_ok, it's a silly taken from the code of the live-sdk, line nÂș 284:23:42
aitor_https://github.com/parazyd/libdevuansdk/blob/7eb4f578833f4b093e224633176a12a214dec300/zlibs/helpers23:42
aitor_as you can see, everybody can contribute to the code of the live-sdk23:42
aitor_this is the most sensible part of the project...23:43
aitor_bye :)23:43
tuxd3vhehhe that was nice :)23:46
fsmithredit's actually a quote from The Wizard of Oz23:46
tuxd3vho :)23:46
tuxd3vI also liked: "A million hamsters are spinning their wheels right now"23:47
tuxd3v:D23:47

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