2021-09-21.log

savelywg-quick is a simple literally simple script, full log: https://gist.github.com/L11R/f3d3541f5d073eaad1551a267b7d342d00:00
chartreuseYeah I'm looking through it00:00
chartreuseNot sure why the cmd is being passed as a file descriptor to nft though00:01
savelyafaik iptables now uses nftables backend00:01
chartreusehttps://github.com/WireGuard/wireguard-tools/blob/master/src/wg-quick/linux.bash00:02
chartreuseLine 242 is where that nft -f command is called00:02
savelyhm, maybe root has not enougth rights to access this fd?00:03
chartreuseIt should though, afaik that file descriptor is being created by bash in that command00:03
savelysounds stange but in my case some commands run only with sudo00:03
chartreuse`cmd nft -f <(echo -n "$nftcmd")`00:03
chartreuseSeems like something is breaking with the process substitution there00:05
chartreusehttps://en.wikipedia.org/wiki/Process_substitution00:05
chartreuseMaybe /dev/fd is disabled in the kernel?00:05
chartreuseThough if it was bash should just use mkfifo instead00:06
savelyi have some fd's in /dev/fd00:08
savelyroot has strange default PATH btw: # echo $PATH /home/savely/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin00:08
savelythere is no /usr/sbin00:10
chartreuseHow did you become root?00:18
chartreuse`sudo su` will keep your own users environment00:18
chartreuse`sudo su -` will give you roots environment00:18
chartreuseOr just `su -`00:18
savelyyep, thanks, i have used just su; sudo -i also helped00:20
savelyread about process substitution, seems so... but don't have an idea what to do00:24
chartreuseYeah I'm not sure why that'd be failing either. Doesn't really make any sense00:29
savelywell if the log produced by wg-quick is just a log of executed commands, then i don't see /dev/fd/63 created after "ip link add wg0 type wireguard"00:34
chartreuseThe 'file' /dev/fd/63 is created by the process substitution00:37
chartreusenft -f <(echo -n "$sometext")    creates a temporary file with the output of the command echo -n "$sometext" and passes that as an argument to nft -f00:38
savelyoh got it00:42
- blast007 (QUIT: Remote host closed the connection) (~blast@user/blast007)00:44
+ blast007 (~blast@user/blast007)00:45
chartreuseSomething you could try is modify the script to write that to a generic file in /tmp before that command, then run the command with the fixed name01:12
chartreuseSee if the issue is something with nft or the process substitution 01:12
- savely (QUIT: Remote host closed the connection) (~savely@2a02:2698:2807:52e4:6f0:21ff:fe91:3da)02:04
- mark__ (QUIT: Ping timeout: 252 seconds) (~mark@herd.wildebeest.org)02:05
+ savely (~savely@62.113.119.217)02:23
savelywell, it seems like i found a man with almost the same problem: https://www.reddit.com/r/bashonubuntuonwindows/comments/jk4x24/is_there_a_way_to_run_wireguard_within_wsl2/02:23
savelyCONFIG_NETFILTER_XT_MATCH_CONNMARK is not set02:24
+ mjw (~mark@herd.wildebeest.org)03:16
- mjw (QUIT: Remote host closed the connection) (~mark@herd.wildebeest.org)03:18
+ mjw (~mark@herd.wildebeest.org)03:18
- chartreuse (QUIT: Ping timeout: 265 seconds) (~chartreus@S0106f0f249dfd9c3.cg.shawcable.net)03:38
+ freakazoid12345 (~matt@2603:9000:cf0f:80e3:3d44:b4b4:9588:c922)05:17
- freakazoid343 (QUIT: Ping timeout: 264 seconds) (~matt@2603:9000:cf0f:80e3:3d44:b4b4:9588:c922)05:20
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)08:47
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)08:47
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)09:26
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)09:26
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)12:00
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)12:02
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)12:05
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)12:07
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)12:13
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)12:14
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)12:17
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)12:18
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)12:18
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)12:24
+ wielaard (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)12:49
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)13:06
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)13:08
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)13:08
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)13:09
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)13:09
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)13:11
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)13:11
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)13:13
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)13:13
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)13:18
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)13:24
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)13:25
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)13:26
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)13:26
- mjw (QUIT: Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440))) (~mark@herd.wildebeest.org)13:29
* wielaard -> mjw13:29
+ mark__ (~mark@herd.wildebeest.org)13:30
- Kooda (QUIT: Quit: WeeChat 2.8) (~kooda@natsu.upyum.com)13:51
+ Kooda (~kooda@natsu.upyum.com)13:56
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)14:04
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)14:05
savelycan someone clarify situation around video decoder hardware acceleration? as far as i got linux kernel supports handro g1 which can decode h.264, also linux 5.14 has support for handro g2. so why browsers like firefox with ffmpeg backend cannot handle it?14:32
mntmnsavely: https://community.mnt.re/t/notes-on-building-ffmpeg-and-mpv-to-use-the-hardware-h-264-decoder/30514:43
mntmnsavely: the necessary support code never got merged into ffmpeg14:44
savelyokay, but can we point somehow firefox to use patched ffmpeg?14:45
+ chartreuse (~chartreus@S0106f0f249dfd9c3.cg.shawcable.net)15:21
- swivel (QUIT: Ping timeout: 240 seconds) (~swivel@shells.gnugeneration.com)16:11
+ swivel (~swivel@shells.gnugeneration.com)16:11
+ joeyh_ (~joeyh@kitenet.net)16:13
- joeyh (QUIT: Ping timeout: 252 seconds) (~joeyh@kitenet.net)16:13
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)16:31
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)16:33
+ freakazoid343 (~matt@2603:9000:cf0f:80e3:3d44:b4b4:9588:c922)16:40
- freakazoid12345 (QUIT: Ping timeout: 268 seconds) (~matt@2603:9000:cf0f:80e3:3d44:b4b4:9588:c922)16:43
vkoskivDo recent orders ship from Mouser in germany or the US? If I ordered in the EU17:20
vkoskivI went back when I asked and mntmn said Mouser ships 'em, but I'm not sure from where17:20
mntmnvkoskiv: mouser US17:42
vkoskivShouldn't change things too much, since they already handled the VAT for me17:45
vkoskivPart of me wants to forget about this for 3 months so the time goes by faster17:46
vkoskivBut I can't stop perusing all the reform related materials :D17:46
vkoskivSo built in germany, shipped to mouser or do they build them in the US?18:32
mtmbuilt iin Germany18:33
mtmmntmn ships batches of 25 every two weeks (roughly) to mouser18:33
vkoskivAnd then they handle the logistics from there, got it.18:34
chartreuseI'd imagine they do a fairly quick job, maybe better than UPS did for me XD18:36
chartreuseMousers pretty quick, but at least for canada no where near as quick as digikey who does next day fedex for us18:37
sknebelmouser also has gotten stuff to berlin within 2-3 days, during early corona panic times18:37
vkoskivI just hope chip shortages won't push delivery back too much on mine18:38
vkoskivI'm imagining that the reform doesn't contain any super rare/exotic chips, but I don't know anything about supply chains.18:38
mntmnwe have all parts/electronics in stock18:53
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440)18:56
vkoskivVery cool. I imagine you are very busy assembling the things these days18:57
vkoskivHow many units in total shipped + backlog? I'd imagine the recent HN posting caused a few more orders18:59
vkoskivI'm here from HN, at least.18:59
technomancylol you're not supposed to admit that =D19:02
mntmnwhich hn posting?19:05
mntmni was not aware of one :319:05
vkoskivmntmn: This one: https://news.ycombinator.com/item?id=2847306119:11
mntmnohh technomancy's review :)19:12
vkoskivYep19:12
vkoskivSend them some stickers or something maybe :D19:12
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)19:28
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)19:28
vkoskivWonder if anyone's tried using an Intel 600P SSD yet. That's what I've got laying around, and was planning on sticking in there.19:31
verxI used a 660P which works fine, though not sure about a 600P19:35
vkoskivGood info to have. I wonder if there's a big page where all the known good hardware is listed?19:36
vkoskivCould maybe put that in a repo19:36
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)19:39
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)19:41
chartreuseThere's a thread for compatible ssds, but not all that many posts in it19:43
vkoskivYeah, just one big ol' page of markdown with compatibilities for the different categories might be useful19:44
chartreuseThe closest for that is a list of nvme ssds that people have used with the pinebook pro19:44
chartreuseCurious as to what the ratio of kits to non-kits is/was. Wonder how many people with nvme are just using the provided transcend one from the max model19:45
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)19:48
mntmnvkoskiv: the community is markdown, you can also edit a post at any time, so all the tools are there...19:53
vkoskivAh, I was just imagining a git repository with that info19:54
vkoskivI shall make a page on the community forum then19:55
- rasmus (PART: !!unknown attribute: msg!!) (~rasmus@c80-217-132-63.bredband.tele2.se)19:58
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se)19:59
technomancywow this HN thread is like the most HN possible kind of discussion; a bunch of people talking about how glossy screens are Good Actually and how apparently I'm Holding it Wrong20:36
technomancyhow is it possible for a web site to be SO predictable20:36
vkoskivYeah everyone in HN comments is always a subject matter expert20:36
vkoskivNo matter the subject20:36
mntmnyeah.20:38
mntmnpretty hilarious20:38
vkoskivIt's like Reddit arm-chair people, only amplified.20:38
vkoskivGoes with the demographic, I suppose.20:38
vkoskivOof owie my wallet, a SUN workstation has popped up on a finnish auction site.20:42
vkoskivI don't need it. I don't need it. I DON'T need it.20:42
- savely (QUIT: Ping timeout: 256 seconds) (~savely@62.113.119.217)21:18
jackhillvkoskiv: haha, for some reason I don't understand, I have a soft spot for sun workstations. I recently acquired a SunBlade 200021:27
jackhill(sorry, I'm not helping :þ)21:28
vkoskivI have a soft spot for most older hardware, but I don't own any Sun gear yet21:28
mntmni wish someone could explain the appeal of sun machines to me :321:28
vkoskivIt's an Ultra 521:28
mntmndid you own sun machines back in the day?21:29
vkoskivNo, too young for that - I've just collected old computer hardware since I was a wee lad.21:31
vkoskivMy collection takes up too much room, and ranges from the late 70s to today.21:31
vkoskivI'm most fond of old Macs, but I'll collect anything interesting and reasonably priced.21:32
vkoskivThe vintage computer market in Finland is a seller's market, though, so I buy what I can get.21:32
vkoskivMy only Unix workstations from back then is my Mac IIcx and my SGI O221:33
vkoskivIIcx is running A/UX, which is amazing. O2 runs Irix 6.521:33
mntmni see21:34
mntmnirix looks pretty cool i must say21:34
mntmni only have a bunch of amigas and commodore 64/SX/128 and so on, and zx81/spectrum, but i grew up with all of these.21:35
vkoskivIt's quite lovely. I loaded up one of the super early versions of Blender on there.21:35
mntmnah, cool21:35
vkoskivYeah I grew up with mid/late 90s generic white box PCs and old Win9X laptops that were passed down to me. Already largely obsolete at that time.21:35
vkoskivBut I've been collecting vintage computer stuff regularly since 201021:36
vkoskivI have a stack of IBM PCs, a bunch of compact Macs, and Apple ][+, more laptops than i can count...21:36
vkoskivNice old Osborne CP/M luggable. Brought that to a demoparty once.21:37
vkoskivI brought the ][+ to summer Assembly 2019 :D21:37
vkoskivAmazed that thing didn't develop contact issues with all that vibration from the sound systems. We were right in front of the main stage.21:37
vkoskivAll the chips in the Apple are socketed. And slightly oxidized. Percussive maintenance reliably fixes issues with it.21:38
vkoskivI love that machine dearly, oldest system I own. Imported it from northern ireland a few years ago.21:38
jackhillmntmn: I assume for part of it is that the university had some. Also, I find the sparc register window thing interesting. The Sun logo is one of my favorite corporate logos of all time.21:38
jackhillThe olive branches they were offering to open soruce folks with opensolaris, opensparc, the relicensing of Java were interesting. I kind of would like to have seen how that would have continued had it not been for the Oracle acquisition. Perhaps they would have just run out of money though :(21:40
jackhillpart of me just likes less popular, but still capable things. I could equally be into hppa, alpha, itanium, etc machines, but have narrowed it to just sparc. 🤷21:41
mntmni see!21:46
technomancythey basically did run out of money I think?22:15
- rasmus (PART: Disconnected: closed) (~rasmus@c80-217-132-63.bredband.tele2.se)22:23

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