06:09:19 <_xor> Is there a way to get /usr/bin/file to test for and dump out whether the given file is an ELF executable or not? (or am I going to have to utilize cut?) 06:10:09 <_xor> I'm whipping up a quick script that scans a dir tree for executable files (executables + *.so basically) and generates a recursive tree of dependencies. 06:11:02 <_xor> I'm using fd-find and just noticed that it lists /usr/local/bin/bdftogd as an executable, but it's a perl script. So obviously ldd fails on it. 06:22:26 Try "--brief --mime-type" options? https://termbin.com/jjjk0 06:24:08 Or, see "--mime" option for bit more verbose output than "--mime-type" 06:29:10 technically it is executable 06:35:58 So perhaps match on "application/x-(.+?)?executable$" (with "--mime-type" option) 06:40:00 "file" has "--exclude" option to exclude a test but failed to see any option to supply a (list of) specific test(s) 06:51:17 si there not a better way to do this? 06:51:28 like take a snapshot and diff it to before you install 06:56:46 if i got fbsd 13.1 p3, why does freebsd-update fetch say no updates needed to update system to ... 13.1 p5? 07:02:12 The FAQ does not have the answer to abov e FAQ. 07:02:52 (The FAQ: https://docs.freebsd.org/en/books/faq/ ) 07:02:53 Title: Frequently Asked Questions for FreeBSD 12.X and 13.X | FreeBSD Documentation Portal 07:24:46 *sigh* 07:26:13 When there are no updates in the kernel, kernel version is not changed. If there are changes in user land, there version is bumped up. See manual page of "freebsd-version"; run it with "-rku" options 07:30:14 For longer term reference, see https://forums.freebsd.org/threads/kernel-userland-mismatch-version.62948/ 07:30:15 Title: Solved - Kernel/userland mismatch version | The FreeBSD Forums 07:30:47 (... very likely one of many) 07:32:17 tyvm! 07:33:10 The FreeBSD project really should just bump up all the damn versions to the same string already :-| 07:33:33 ya or make the output text more clear 07:39:44 parv, I believe the reasoning behind that is that unless the kernel version changed, you don't need to reload the kernel (and thus, reboot). You just need to go single-user and back to multi-user. IMO that's misguided because 1- for ease, many would reboot anyway; and 2- some configurations require rebooting for non-kernel reasons, eg ZFS-on-root if the ZFS module changed. But that's very much an 07:39:50 uphill fight. 07:40:47 (IOW, I agree.) 07:47:31 * parv nods 07:56:31 What really gets me is that a security advisory does not (explicitly) mentions to check the user land version e.g. in case of https://www.freebsd.org/security/advisories/FreeBSD-SA-22:15.ping.asc 07:57:58 In that regard life is simpler, less stressful due to source (install & then later) upgrade 08:01:25 afk 11:35:34 Happy New Year 2023! 11:37:24 Are you in fucking Japan? 11:40:09 W000W I have to be in Japan!? 11:42:51 Yeah 11:44:23 lol 11:44:33 Not yet! But I can move with freebsd! ;) 11:46:05 xD 11:46:15 it's 2023 in NZ 11:46:39 wooow 11:46:45 I still have somewhat 11 hours left till new year xD 11:47:03 still 3 and a quarter hours to go in Japan 11:47:10 xD 11:47:18 xD 11:54:32 oh 11:55:38 what 12:52:20 Hey, does anyone know how to make a subtitle compatible with an TV receiver? What it seems to reject: subtitles with BOM or that are LF line-terminated, but should be CRLF line-terminated 12:52:29 Those 2 seemed to be the problem 12:52:40 (and seems that it needs to be UTF-8) 12:52:53 and now it seems that even that doesn't fix the problem for every title 12:53:28 file SUBTITLE.srt - it's, for example, 'Unicode text, UTF-8 text, with CRLF line terminators', but it still doesn't work in the TV 12:53:41 PredatorONormies: sounds like you might need unix2dos or dos2unix 12:53:44 it's recognized, but it does not work (works in my PC, but not TV receiver trough USB) 12:53:52 :( what's that? 12:54:06 I fear it's some hidden characters in the file that are shit 12:54:15 a program to convert text files from unix carriage returns to dos carriage returns and vice-versa 12:54:52 oh, really? but if `file` shows 'CRLF', then it should work, no? 12:55:03 it should yes 12:55:05 or perhaps it's not on every line and somehow not up to the standard expected? 12:56:08 would unix2dos fix subtitles with such problem? 12:56:09 In any case - I've seen unix2dos mentioned a lot.. I just thought I could do it on my own.. I probably could but.. 12:56:49 lol initial release 1989 12:58:43 Thanks 13:29:02 PredatorONormies: you might want to check out what features subtitlecomposer and/or subtools in ports/multimedia do. 14:33:28 zykotick9, good fucking idea ;-; I am so stupid, I never thought to do that 15:23:24 some TVs can't deal with external subtitles no matter what the format 15:34:09 and by TV, i mean firmware. (if you could do anything about it, I'd call it software) 16:53:32 3 17:22:04 meena, Hmmm interesting 17:22:15 No wait waht no 17:22:19 what* no, it can 17:22:37 Like I said - lots of subtitles work with the file specification that I mentioned 17:22:44 just a few didn't 17:23:08 and I somehow managed to turn LF to CR/LF, but even that didn't help for all of them 18:19:21 Heey, is there a way for 2 computers to connect DIRECTLY to each other trough a switch? 18:19:37 I came to believe it's a faulty switch. 18:20:03 isn't there something like ARP or something? 18:20:27 meena 18:25:09 connect directly? arp is only one layer 18:25:31 usually they connect with 'tcp' but obviously, both would need an ip address 18:26:26 are you trying to connect to your tv? 18:30:26 IP address? don't they got a MAC address and shit? 18:30:27 nah 18:30:29 I got a switch 18:30:46 and I want 2 computers to talk directly trough the switch without an router/modem 18:31:02 PredatorONormies: you need an ethernet cable. not sure if it needs to be a special one, or if ethernet NICs these days can deal with whatever 18:31:03 Or should I have bought a separate router just for my little network? 18:31:10 the name "router" makes more sense xD 18:31:22 I got a ethernet cable 18:31:27 Like I said - all connected trough switch 18:31:45 cannot I just like `ssh SOME-MAC-ADDRESS`? 18:33:02 No. 18:33:54 Is there anything that I can do with this switch? 18:34:03 I should have got another router :( 18:34:13 I want shit to be routed without internet access 18:35:53 You can use private (RFC1918) IPv4 addresses, or the IPv6 equivalents, but you need IP addresses for any IP network, whether there's a router on it or not. 18:37:52 remember the network before IP and TCP? 18:39:00 Arpanet? Cyclades? 18:44:01 bacl 18:44:03 back* 18:44:23 I do have a laptop that has some sort of modem port on it.. and it's similar to an ethernet port, but it has 2 wires, and the ethernet plug doesn't go in it.. 18:46:35 Hmmm out 18:47:58 V_PauAmma_V: I was thinking… other things, but i can't remember. I thought OS/2 implemented them, but it looks like it was just doing standard (BSD;) TCP/IP 18:48:18 Is the connector smaller but with the same shape as Ethernet? 18:48:53 IPX/SPX 18:49:26 Oh, XNS. I *hated* that. 18:50:24 somehow, i confused OS/2 with Novell Netware 18:55:29 and who could forget NetBIOS? (I could, easily) 18:56:21 I wish I could. 19:02:20 back 19:12:35 is 'bridging' what I'm looking for? 19:16:13 no 19:23:14 PredatorONormies: you want to setup a compatible IP on each end 19:23:48 I am confused ;( I cannot think because my eyes hurt 19:24:07 how do I do that? with arp or ifconfig? 19:24:09 or dchp? 19:24:22 PredatorONormies: DHCP can do that for you, yes 19:26:12 0.o really? 19:27:02 Do you know of any guide/tutorial? 19:35:31 basically, you setup dhcpd or dnsmasq on one of the computers, and you plug the ethernet into both. 19:36:43 same thing if I have a switch in-between the two? 19:38:59 PredatorONormies: switches are no routing boundaries, so, yes 19:40:00 o.o 19:40:04 h-hoy 19:40:06 h-hot 19:40:22 thenks, ill report back 20:03:14 meena: Banyan Vines? :D 20:08:47 pertho: ethernet over token ring 20:23:34 I worked at a place that had token ring (late 90s).. sometimes I would set one of the machines to 4 MB/s so it'd bring the entire ring down to 4 MB/s from 16 MB/s.. just for the heck of it :P 20:32:18 when we didn't wanna do lab work, we'd just remove the terminator. and then they switched to ethernet… 20:35:04 haha 20:35:43 i was the vip at a lan party because i had the only hub with both ethernet and bnc; before i arrived there were two networks 20:39:13 * zykotick9 remembers a friend showing up with a 50 port switch, borrowed from an office, to a LAN party he was having... nostalgia. 20:44:50 * meena only ever helped with the network setup at LAN parties, cuz she always sucked at games 20:48:30 I also remember, years later, while working for Dell tech support. A co-worker was someone who had been to several of my LAN parties, one of the first words out of their mouth to me - Do you still have LAN parties!? heh, the answer was no. It was actually Compaq people at my LAN parties. Ahhh, old OEMs... nostalgia. 20:50:40 rtprio: lan parties.. wow.. I miss those 20:51:26 bring beer and pizza.. gaming all night. and sharing files.. and in one case in January driving home in a snowstorm at 3am 20:51:43 * zykotick9 actually still plays Quake 3, ut2003 (demo), and ut2004 (demo) on his freebsd workstation currently 20:53:55 The CRT monitors at the time where hell to move, I don't miss those! 20:54:02 zykotick9: how do you play ut2004 on freebsd? With the linux-u-lator? or WINE? 20:54:13 pertho: linuxulator 20:54:26 I tried getting ut2004 working on my void linux box but.. you can't get libstdc++.so.5 any more :( 20:54:40 but getting it running on FreeBSD would be better 20:54:46 ironically, it installs in Debian but won't run - copy the folder to FreeBSD and it runs great 20:54:59 LOL - that's the debian issue as well ;) 20:55:36 Quake 3 has workarounds nowadays like: https://ioquake3.org/ (which I've played on OpenBSD.. I'm sure FreeBSD may have a port of it) 20:55:40 Title: ioquake3 – Play Quake 3 and make new games 20:55:56 i use ioquake3 20:57:24 I still host quakeworld and quake 2 servers (and xonotic) on occasion for the folks in #openbsd-gaming :D 20:57:46 i've also got quake2(linux port)/doomsday for doom and doom2/dhewm3 for doom3 installed, but rarely play them. 20:58:47 the quake4-demo part runs on a freebsd box with an AMD video card, but freezes the graphics system during play :( on my freebsd/nvidia box it doesn't run :( 20:59:11 s/part/port/ 20:59:13 I have two 12.3 hosts, everything else is on 13.1 - time to update those two hosts. 20:59:37 I did get nvidia optimus working on FreeBSD 13.1.. but I gave up because a game I wanted to play kept disconnecting from the network every 2-5 minutes randomly.. 21:00:23 my two workstations are almost identical (except for RAM) both run FreeBSD 13.1 but I use ports (directly) on one, and the other I stick to using pkg for everything. 21:04:21 pertho: i miss 'em too 21:04:45 i have 2 13 hosts and the rest are 14 21:06:13 when is 13.0 going EOL? almost all of my jails are 13.0, and… i feel like i need to do something radical to upgrade them… like… switching to buildah + podman. 21:07:22 i saw that peter wemm was doing that too 21:09:34 I just need to teach buildah how to build jails with PkgBase… 21:10:41 rtprio: where? https://blog.crashed.org/ 21:10:42 Title: Stuff and things - Peter Wemm's personal blog 21:12:03 @karinjiri⊙sco/109604238075550550 21:13:04 meena: Take care to get snapshots and such when you upgrade them. I've had point releases break services in the past. 21:27:10 meena, 13.0 reached EOL end of August 2022 IIRC. 21:29:57 I've installed bind-tools-9.18.7. The manpage for dnssec-keygen tells me: "In prior releases, HMAC algorithms could be generated for use as TSIG keys, but that feature was removed in BIND 9.13.0. Use tsig-keygen to generate TSIG keys." Where do I find tsig-keygen? 21:32:01 * ghoti waves to dvl 21:32:13 In dns/bind918. 21:33:11 yo.. Upgrade done. 21:33:32 (Answer courtesy of pkg-provides.) 21:33:39 V_PauAmma_V: I was hoping it might be shoved off in a corner like bind-tools, so I could avoid installing all the parts of bind I don't need. Like, every other part besides nsupdate. 21:34:00 Ah, thanks for the reference, that will reduce my noise in the future. 21:35:04 freshports can search pkg-plists too 21:35:15 Yes, yes, it can. 21:48:39 V_PauAmma_V: oooof 21:50:52 3 month after the 13.1 release so yes about august 21:52:04 see also https://www.freebsd.org/security/#sup 21:52:05 Title: FreeBSD Security Information | The FreeBSD Project 22:21:23 Also in retro-gaming-FreeBSD-news, for the last two months the FreeBSD ports tree has had the "current" version of MAME! Me and three other people rejoice! It's a different situatation than usual, for a while OpenBSD had a more recent version. MAME's newest version came out a couple of days ago, nothin' in Freshports yet - but if the FreeBSD port gets upgraded again - it would be 2 versions ahead of 22:21:29 Debian's development branch sid. <- something I never dreampt would happen 22:24:29 Yaay Mame 22:24:36 been a while since I looked at it tho 22:33:24 pertho: LAN parties and MAME, you're my kinda people ;) Happy new year. 22:35:06 ^ UT / LAN parties / MAME actually 22:36:01 :) 22:56:24 Happy New Year everyone!!! 23:09:26 happy new year folks 23:09:42 gmt+1, then 23:09:46 west europe 23:10:29 Isn't UTC+1 central europe? 23:10:55 ixmpp: if you're trying to figure out where I'm from, you can just ask.. 23:11:02 ..though it's not exactly a secret. :P 23:12:36 i know, i just like the minigame 23:12:45 thats my new years fun 23:13:34 xtile, there's that misbegotten thing called DST. :-) 23:14:09 same thing though, otherwise 23:14:15 True, unfortunately, though often not in this month over there.