savely | wg-quick is a simple literally simple script, full log: https://gist.github.com/L11R/f3d3541f5d073eaad1551a267b7d342d | 00:00 |
---|---|---|
chartreuse | Yeah I'm looking through it | 00:00 |
chartreuse | Not sure why the cmd is being passed as a file descriptor to nft though | 00:01 |
savely | afaik iptables now uses nftables backend | 00:01 |
chartreuse | https://github.com/WireGuard/wireguard-tools/blob/master/src/wg-quick/linux.bash | 00:02 |
chartreuse | Line 242 is where that nft -f command is called | 00:02 |
savely | hm, maybe root has not enougth rights to access this fd? | 00:03 |
chartreuse | It should though, afaik that file descriptor is being created by bash in that command | 00:03 |
savely | sounds stange but in my case some commands run only with sudo | 00:03 |
chartreuse | `cmd nft -f <(echo -n "$nftcmd")` | 00:03 |
chartreuse | Seems like something is breaking with the process substitution there | 00:05 |
chartreuse | https://en.wikipedia.org/wiki/Process_substitution | 00:05 |
chartreuse | Maybe /dev/fd is disabled in the kernel? | 00:05 |
chartreuse | Though if it was bash should just use mkfifo instead | 00:06 |
savely | i have some fd's in /dev/fd | 00:08 |
savely | root has strange default PATH btw: # echo $PATH /home/savely/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin | 00:08 |
savely | there is no /usr/sbin | 00:10 |
chartreuse | How did you become root? | 00:18 |
chartreuse | `sudo su` will keep your own users environment | 00:18 |
chartreuse | `sudo su -` will give you roots environment | 00:18 |
chartreuse | Or just `su -` | 00:18 |
savely | yep, thanks, i have used just su; sudo -i also helped | 00:20 |
savely | read about process substitution, seems so... but don't have an idea what to do | 00:24 |
chartreuse | Yeah I'm not sure why that'd be failing either. Doesn't really make any sense | 00:29 |
savely | well 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 |
chartreuse | The 'file' /dev/fd/63 is created by the process substitution | 00:37 |
chartreuse | nft -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 -f | 00:38 |
savely | oh got it | 00:42 |
- blast007 (QUIT: Remote host closed the connection) (~blast@user/blast007) | 00:44 | |
+ blast007 (~blast@user/blast007) | 00:45 | |
chartreuse | Something 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 name | 01:12 |
chartreuse | See 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 | |
savely | well, 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 |
savely | CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set | 02: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 -> mjw | 13: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 | |
savely | can 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 |
mntmn | savely: https://community.mnt.re/t/notes-on-building-ffmpeg-and-mpv-to-use-the-hardware-h-264-decoder/305 | 14:43 |
mntmn | savely: the necessary support code never got merged into ffmpeg | 14:44 |
savely | okay, 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 | |
vkoskiv | Do recent orders ship from Mouser in germany or the US? If I ordered in the EU | 17:20 |
vkoskiv | I went back when I asked and mntmn said Mouser ships 'em, but I'm not sure from where | 17:20 |
mntmn | vkoskiv: mouser US | 17:42 |
vkoskiv | Shouldn't change things too much, since they already handled the VAT for me | 17:45 |
vkoskiv | Part of me wants to forget about this for 3 months so the time goes by faster | 17:46 |
vkoskiv | But I can't stop perusing all the reform related materials :D | 17:46 |
vkoskiv | So built in germany, shipped to mouser or do they build them in the US? | 18:32 |
mtm | built iin Germany | 18:33 |
mtm | mntmn ships batches of 25 every two weeks (roughly) to mouser | 18:33 |
vkoskiv | And then they handle the logistics from there, got it. | 18:34 |
chartreuse | I'd imagine they do a fairly quick job, maybe better than UPS did for me XD | 18:36 |
chartreuse | Mousers pretty quick, but at least for canada no where near as quick as digikey who does next day fedex for us | 18:37 |
sknebel | mouser also has gotten stuff to berlin within 2-3 days, during early corona panic times | 18:37 |
vkoskiv | I just hope chip shortages won't push delivery back too much on mine | 18:38 |
vkoskiv | I'm imagining that the reform doesn't contain any super rare/exotic chips, but I don't know anything about supply chains. | 18:38 |
mntmn | we have all parts/electronics in stock | 18:53 |
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2487:f800:9e5c:8eff:fe8f:a440) | 18:56 | |
vkoskiv | Very cool. I imagine you are very busy assembling the things these days | 18:57 |
vkoskiv | How many units in total shipped + backlog? I'd imagine the recent HN posting caused a few more orders | 18:59 |
vkoskiv | I'm here from HN, at least. | 18:59 |
technomancy | lol you're not supposed to admit that =D | 19:02 |
mntmn | which hn posting? | 19:05 |
mntmn | i was not aware of one :3 | 19:05 |
vkoskiv | mntmn: This one: https://news.ycombinator.com/item?id=28473061 | 19:11 |
mntmn | ohh technomancy's review :) | 19:12 |
vkoskiv | Yep | 19:12 |
vkoskiv | Send them some stickers or something maybe :D | 19: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 | |
vkoskiv | Wonder 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 |
verx | I used a 660P which works fine, though not sure about a 600P | 19:35 |
vkoskiv | Good info to have. I wonder if there's a big page where all the known good hardware is listed? | 19:36 |
vkoskiv | Could maybe put that in a repo | 19: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 | |
chartreuse | There's a thread for compatible ssds, but not all that many posts in it | 19:43 |
vkoskiv | Yeah, just one big ol' page of markdown with compatibilities for the different categories might be useful | 19:44 |
chartreuse | The closest for that is a list of nvme ssds that people have used with the pinebook pro | 19:44 |
chartreuse | Curious 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 model | 19:45 |
+ rasmus (~rasmus@c80-217-132-63.bredband.tele2.se) | 19:48 | |
mntmn | vkoskiv: the community is markdown, you can also edit a post at any time, so all the tools are there... | 19:53 |
vkoskiv | Ah, I was just imagining a git repository with that info | 19:54 |
vkoskiv | I shall make a page on the community forum then | 19: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 | |
technomancy | wow 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 Wrong | 20:36 |
technomancy | how is it possible for a web site to be SO predictable | 20:36 |
vkoskiv | Yeah everyone in HN comments is always a subject matter expert | 20:36 |
vkoskiv | No matter the subject | 20:36 |
mntmn | yeah. | 20:38 |
mntmn | pretty hilarious | 20:38 |
vkoskiv | It's like Reddit arm-chair people, only amplified. | 20:38 |
vkoskiv | Goes with the demographic, I suppose. | 20:38 |
vkoskiv | Oof owie my wallet, a SUN workstation has popped up on a finnish auction site. | 20:42 |
vkoskiv | I 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 | |
jackhill | vkoskiv: haha, for some reason I don't understand, I have a soft spot for sun workstations. I recently acquired a SunBlade 2000 | 21:27 |
jackhill | (sorry, I'm not helping :þ) | 21:28 |
vkoskiv | I have a soft spot for most older hardware, but I don't own any Sun gear yet | 21:28 |
mntmn | i wish someone could explain the appeal of sun machines to me :3 | 21:28 |
vkoskiv | It's an Ultra 5 | 21:28 |
mntmn | did you own sun machines back in the day? | 21:29 |
vkoskiv | No, too young for that - I've just collected old computer hardware since I was a wee lad. | 21:31 |
vkoskiv | My collection takes up too much room, and ranges from the late 70s to today. | 21:31 |
vkoskiv | I'm most fond of old Macs, but I'll collect anything interesting and reasonably priced. | 21:32 |
vkoskiv | The vintage computer market in Finland is a seller's market, though, so I buy what I can get. | 21:32 |
vkoskiv | My only Unix workstations from back then is my Mac IIcx and my SGI O2 | 21:33 |
vkoskiv | IIcx is running A/UX, which is amazing. O2 runs Irix 6.5 | 21:33 |
mntmn | i see | 21:34 |
mntmn | irix looks pretty cool i must say | 21:34 |
mntmn | i 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 |
vkoskiv | It's quite lovely. I loaded up one of the super early versions of Blender on there. | 21:35 |
mntmn | ah, cool | 21:35 |
vkoskiv | Yeah 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 |
vkoskiv | But I've been collecting vintage computer stuff regularly since 2010 | 21:36 |
vkoskiv | I have a stack of IBM PCs, a bunch of compact Macs, and Apple ][+, more laptops than i can count... | 21:36 |
vkoskiv | Nice old Osborne CP/M luggable. Brought that to a demoparty once. | 21:37 |
vkoskiv | I brought the ][+ to summer Assembly 2019 :D | 21:37 |
vkoskiv | Amazed 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 |
vkoskiv | All the chips in the Apple are socketed. And slightly oxidized. Percussive maintenance reliably fixes issues with it. | 21:38 |
vkoskiv | I love that machine dearly, oldest system I own. Imported it from northern ireland a few years ago. | 21:38 |
jackhill | mntmn: 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 |
jackhill | The 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 |
jackhill | part 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 |
mntmn | i see! | 21:46 |
technomancy | they 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/!