libera/#devuan/ Friday, 2020-10-02

HumanG33khi02:58
HumanG33ki have some issues with dns i can't resolve anymore02:58
HumanG33kany idea ?02:58
tuxd3vHumanG33k, is '/etc/resolv.conf' ok?03:00
XenguyHumanG33k: Your question may need to be a bit more specific03:00
HumanG33ki can't reach any domain name.03:04
gnarfacesome sort of dns koan03:04
HumanG33ki just edit my resolv to replace by google one03:04
gnarfaceoh, i almost thought you were making a funny word game03:04
gnarfacejust don't use google's dns03:05
HumanG33kbut i service networking restart fail03:05
gnarfaceyou know they're using that to do security research on you, right?03:05
HumanG33kgnarface, first i have other one03:05
HumanG33kReconfiguring network interfaces...RTNETLINK answers: File exists03:05
HumanG33kifup: failed to bring up eth003:05
HumanG33kRTNETLINK answers: File exists03:05
gnarfaceHumanG33k: is it someone else's, or a server you own?03:05
gnarfaceHumanG33k: that just means you didn't down eth0 right03:06
HumanG33ksomeone else03:08
HumanG33khumm strange resolvconf is not install03:09
gnarfaceHumanG33k: i think some 3rd party DNS you were using failed momentarily then you started chasing your tail.  you should run your own DNS, it saves time in the long run.03:12
HumanG33kgnarface, agree and planned but i need more money to get more time and do stuff.03:14
HumanG33kbtw i want to say thx to youuu03:14
gnarfaceHumanG33k: no problem, but i don't think i really helped.  you could check into dnsmasq, it is a nice light caching dns resolver that's much easier to set up than a fully-featured dns server03:22
gnarfaceHumanG33k: then your ISP DNS can go down and you won't notice unless it's out for more than like 3 hours03:23
rwpThe "RTNETLINK answers: File exists" is often seen when there is a state mismatch between the config file on disk and the current state.  Due to editing the file and changing it while the state is active and online.03:23
gnarfaceHumanG33k: (usually)03:23
gnarfaceyea, i get that error i think usually from forgetting to ifdown the interface before removing it from the /etc/network/interfaces file03:24
rwpI always run a local caching nameserver on every system.  And I want to recommend BIND named but actually unbound does a simpler job of DNSSEC these days.03:24
rwpAnd so I grudgingly must recommend unbound as the best and simplest choice at the moment.03:25
* Xenguy got unbound set up, but not DNSSEC yet... Is it hard to configure?03:26
gnarfacei prefer bind9 myself, but i had already invested the time into reading the entire textbook before there were simpler alternatives03:26
rwpWith unbound it should be working out of the box.03:26
rwpLet me dig up a test site that I liked...03:26
Xenguyrwp: Do you mean DNSSEC should work out of the box?03:26
rwpMeanwhile... yes, sometimes one must run "ip addr flush dev ethX" to flush out the configuration when things are mismatched.03:27
XenguyMaybe I'm confusing that with something else03:27
rwpXenguy, Yes.  With unbound I have had no problems with DNSSEC with a default installation.03:27
Xenguyhuh, are you able to locate that 'test site'?03:27
gnarfaceXenguy: you almost certainly have to run ntp too.  it fails if your clock is more than a few seconds off time03:28
rwpXenguy, Try this test site to verify functionality.  http://dnssec.vs.uni-due.de/03:28
gnarfaceXenguy: well, might actually need to be more than a couple minutes but clocks suck these days so ntp is a must03:28
XenguyThanks.  Anyone know how to kill a window in tmux?03:29
rwpgnarface is right that NTP and time being correct are critically important for DNSSEC to be functional.  And for many other things too!03:29
rwpIn tmux I usually just control-C the job and exit the shell and that kills the window.03:30
rwpBut in tmux itself use the escape prefix and then 'x' and it will ask y/n to confirm.03:31
XenguyMy shell is locked up in that window for some reason.  In Screen, I thought it was C-a K03:31
rwpI say "escape prefix" because I think C-b is an insane choice and I always change it to C-z.03:31
rwpI think it is K in screen.03:31
Xenguygnarface: Looks like I have 'ntpdate' installed, would that suffice?03:31
gnarfaceXenguy: momentarily03:32
gnarfaceXenguy: the quality of your clock could mean you only have to run it once a day or once a month even, but it's usually not worth the risk03:32
XenguyYeah, I'd probably need the whole ntp to have the clock synchronized more regularly03:33
gnarfaceXenguy: (ntpdate just sets the clock once, it isn't a persistent daemon that keeps the clock synced)03:33
rwpIn tmux use C-b ? to see the keybindings, use C-s (or whatever search binding) to search for kill and find there are two bindings. & for the full window and x for the individual pane.03:33
XenguyThanks rwp , appreciate the advice03:33
rwpI don't consider ntpdate sufficient.  That's a one-shot action.03:33
rwpI know that some people run ntpdate by cron to jump the clock every hour but that jumps the clock every hour!  Nooooooo....03:34
HumanG33kfunny hack03:34
gnarfaceon a very old machine the clock might stay regular enough you'd only need to run it yearly or so, but these days its uncommon to find a hardware clock that doesn't drift several seconds daily03:35
rwpI used screen for many, many years.  Still use it on some systems where that is the only easy available thing.  But recently converted to tmux and have been liking it.03:35
XenguyYeah, I finally decided to give tmux a try, and I like it now, but had to make a few config changes before it worked the way I wanted03:35
HumanG33kfor me tmux exist because devs don t do their job well03:35
HumanG33ki prefer a daemon / cli architecture03:36
XenguyC-a, made that the prefix, like screen...03:36
rwpI definitely needed to make my own customizations in order to like tmux because a few of the defaults were opposite of what I like.03:37
XenguyAlso had to configure a line to get 'C-a a' to work, like screen03:37
rwpAnd for me in screen I made C-z the escape character.  I use both C-a and C-b way too much just generally to need to escape them all of the time.03:37
HumanG33kpretty sure there is a config file option to have like screen config03:38
XenguyBut C-z is for suspending a job, right?03:38
HumanG33kyep03:38
rwpI use C-z for job control but when using screen/tmux the use of job control is much reduced to just creating a new window and letting it run in the foreground.03:38
rwpSo for those times when I want job control suspend inside tmux/screen I can C-z C-z easily enough.03:39
Xenguyhuh, I know C-a isn't perfect, but I imagine it's less intrusive than C-z.  To each their own of course.03:39
XenguyAha, interesting03:40
rwpFWIW here is my tmux configuration: https://paste.debian.net/1165548/03:40
XenguyNice, thanks for that03:40
rwpI thought about cleaning out the extra commented out lines but this way you can see some of the things I experimented with.03:41
* Xenguy loves comments...03:41
HumanG33kpretty sure you (maybe) love https://github.com/tmuxinator/tmuxinator03:43
fsmithredI tend to keep a lot of old, dead code in my scripts. Sometimes I need to use it again.03:43
HumanG33ki do the same03:43
HumanG33k*did03:44
fsmithredrecently fixed a bug by uncommenting one line that was added to fix a bug.03:44
rwpI have seen tmuxinator but don't feel it.  It's just not for me.  ykinmkbykiok03:44
fsmithredI think I said that wrong, but you know what I mean.03:44
HumanG33know i try to get a clean personnal conf file and a useless now one with comments and comment line03:45
fsmithredit's a good place to leave notes for yourself03:45
HumanG33kfor ie for my bash i now have a .bash.d/{aliases,functions,loaders.sh,variables}03:47
fsmithreddoes that dir get used automatically?03:48
HumanG33kyes throught my loaders.sh03:49
fsmithredoh, ok03:49
HumanG33kwhen i want to try something i put in .bashrc03:49
HumanG33kwhen its stable enought i move it03:50
HumanG33khttps://paste.debian.net/1165550/03:52
HumanG33kit can be improve03:52
HumanG33kcheck file/dir if +x03:52
HumanG33kin function i have some03:54
HumanG33kcd-something functions in a cd-.sh03:55
HumanG33kfor ie03:55
HumanG33kmy next step is auto load specify stuf automaticly on remote ssh after connection03:56
HumanG33ki go od night ;)03:59
Xenguygn04:01
fsmithredg'night04:01
rwpGood night!04:01
rwpXenguy, Just curious if https://dnssec.vs.uni-due.de/ gave you a passing or failing result? :-)04:06
XenguyLet me try that now04:09
Xenguy"No, your DNS resolver does NOT validate DNSSEC signatures."04:12
XenguyLooks like there's some documentation on that page for Unbound04:12
XenguyMaybe I'll try their suggestions, when I have time04:14
se7enLate-Breaking News: The President of the United States, Donald John Trump, has tested positive for COVID-19. This is not a joke.07:11
se7en[Amesg] Late-Breaking News: The President of the United States, Donald John Trump, has tested positive for COVID-19. This is not a joke.07:12
se7en[Amesg] Despite your views on current affairs, and the man himself, realize that the entire Executive Branch is potentially compromised at this time.07:13
se7en[Amesg] I have no further news to share at this time.07:13
golinuxThe Executive Branch has been compromised for nearly 4 years.07:14
golinuxse7en: Please take any more news to offtopic07:15
* golinux yawns . . .07:16
se7en[Amesg] https://nitter.net/realDonaldTrump/status/1311892190680014849#m07:16
golinuxTake it elsewhere se7en like the fork or offtopic.07:20
se7enIt's an amsg07:21
se7enIf I was in those channels, it'd still come here07:21
golinuxNo it wouldn;t.  This is a support channel not the Enquirer07:21
xrogaanwould it make sense to use signed kernel while I am still using legacy BIOS?08:36
gnarfacei thought other stuff checks that signature besides UEFI08:37
gnarfacebesides secure boot08:37
gnarfacenot sure really, but it also probably can't hurt anything08:37
gnarfacethe only time i've had to use the unsgined one was while there was some sort of gpg bug in the repos or the build cluster or something like that08:38
gnarfacethat only happened once08:38
gnarfaceit rendered the signed one missing or uninstallable, i forget exactly which08:39
xrogaanok, thanks09:06
ham5urg_Is it possible to create a virtual hdmi port locally which will stream to another machines hdmi-out?16:02
DPAham5urg_: You may be able to share a whole drm node using nbd, but it's probably easier and more efficent to just use something like vnc, rdp, X11 forwarding, etc.16:08
rennjdont forget nx xpra16:12
rennjnx xpra vnc rdp tmux/screen/ssh -X16:12
rennjdoes wayland do remote display16:13
rennjpulsaudio suppose to act as local lan sound server should be able to send audio wherever16:14
rennjhttps://www.freedesktop.org/wiki/Software/PulseAudio/About/16:15
rennjA sound server can serve many functions:16:15
rennjhttps://wiki.archlinux.org/index.php/PulseAudio/Examples#Simultaneous_HDMI_and_analog_output16:16
rennjPulseAudio allows for simultaneous output to multiple sources. In this example, some applications are configured to use HDMI while others are configured to use analog. Multiple applications are able to receive audio at the same time.16:17
ham5urg_I would like to have a "virtual hdmi cable" from my laptop to the TV. A little Atom or whatsovever sticking into the TV's HDMI port. I tried several casting sticks, all are insufficent. That's why I would like to go with a virtual hdmi cable...16:17
rennjhttps://askubuntu.com/questions/78174/play-sound-through-two-or-more-outputs-devices16:19
rennjonce again16:19
rennjmodule-combine-sink looks like the key16:19
rennjso pulseaudio module combine sink and 2 hdmi devices16:20
rennjgo read the forums16:20
ham5urg_I rennj, that's about pulseaudio, did I missed the hdmi?16:21
rennjaudio and display16:22
rennjyou already got answer for x11 display remote being nx rdp vnc ssh xpra16:23
rennjsome of them do audio remote some dont16:23
rennjaudio being handle by pulseaudio now on linux and alsa/asound being below that.16:23
rennjif you need audio/display on multiple hdmi devices is should be do able..16:24
rennjand you can do couple of different ways..besides resorting to VDI16:25
rennjrdp nx xpra i think all do remote audio16:26
rennjSound forwarding, printer forwarding, file transfers, webcam forwarding16:29
rennjhttps://xpra.org/trac/wiki/Enhancements16:29
rennjcoffee cam on your desk16:29
ham5urg_As far as I understand xpra, I would need to login into the TV-dongle from my laptop, start an remote-application residing on my laptop with xpra start ssh://ME@LATPOP/ --start-child=laptop-app That's right?16:33
rennjhttps://en.wikipedia.org/wiki/Xpra perhaps better read17:30
rennjtv-dongle laptop i have no clue what you are trying to do..im just telling you apps that do remote display and audio17:31
rennjserver client tech!17:31
rennjone is the server one is the client17:31
rennjdongle laptop can boot and startup rc.local launch the server for you17:31
rennjno logins needed other than on the client17:31
rennjyou want to remote whole desktop or just single apps17:32
rennjand you can reconnect17:32
rennjas long as you dont kill the remote server17:32
rennjthe server of the application probably is where you want xpra runninng, then the clients desktop,laptops,phones connect to it17:33
rennjhttps://xpra.org/trac/wiki/Clients/Android17:38
zatumilme thinks streaming is usually implemented with ffmpeg and crtmpserver17:43
masonOh, interesting. /me takes notes. That's a project I want to pick up sometime when I have free time.17:50
zatumilunfortunately I have not found a free version of jwplayer yet17:59
Junicchii'm done with devuan22:05
Junicchii'm bored of getting unknown errors22:06
Junicchilived a problem with an electron app22:06
Junicchitried to debug with 5 different virtual machines22:07
Junicchiits just gets broken anytime22:08
Junicchinow i was using another tool written in go22:08
Junicchiits also broken22:08
Junicchithe sad thing is no error, i can't even debug22:09
Junicchitl;dr some funcitons on apps in devuan doesnt work and it's a total mystery22:10
fsmithredwhat apps? what is electron?22:10
fsmithredand does it work in debian?22:11
Junicchieach of them work well in debian22:13
Junicchii meant the electron framework22:13
Junicchianother app i lived problem with was golang22:13
Junicchiworked with no problem in ubuntu and debian but dont ask devuan22:14
Junicchii mean not the golang itself, a go based app22:14
golinuxAh, a mystery app22:16
golinuxPerhaps PEBKAC?22:16
fsmithredI don't know enough about those things to try anything22:18
masonJunicchi: Go stuff shouldn't care what it's running on. It's statically linked, and Devuan ships Debian's kernel.22:20
masonYou'd have to describe what's going wrong.22:20
masonJunicchi: Also, Electron basically being Chrome, it ought to work, as Chrome does. Again, you'd need to specify the issue. Devuan isn't even vaguely exotic.22:21
Junicchihttps://github.com/Superjo149/auryo/issues/29722:22
Junicchihttps://github.com/42wim/matterbridge/issues/125322:23
Junicchii mess around with first issue day after day, tested on 4 different devuan machines with different desktop environments22:24
Junicchiafter giving up, i was sure that it's a bug with distro22:25
Junicchii don't think the problem is distro at all, some package is breaking another22:26
masonUnfortunate someone familiar with the application didn't chime in on that first bug. Some of that trace suggests that it might be an exception thrown in a place not meant to have one thrown, but it doesn't jump out at me what the exception was, beyond being disconnected from something.22:29
masonThe second one, I'd want to pair up an strace and a packet capture. See if there's traffic coming in from WhatsApp, and then see what the application does with it. The upstream folk there ought to guide this process, though.22:31
Junicchithe 2nd app simply parses the data from web.whatsapp, problem is reaeding from websocket22:36
Junicchijust noticed that all problems im living is connected to each other22:37
Junicchithe first one's problem was authentication with amazonaws library22:37
Junicchithe problem might be the ssl22:37
Junicchii'll try to build them myself22:38
Junicchialso when i tried to built python3.4 and python3.5, ssl failed22:39
Junicchii even built version 1.0.0, nothing helped22:39
Junicchimaybe a conflict on virtual packages it was22:40
Junicchissl is the center of problems22:40
Junicchinope, the websocket is the center of problems22:44
Junicchi/end schizotalk22:44

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