-
_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?)
-
_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.
-
_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.
-
parv
Try "--brief --mime-type" options?
termbin.com/jjjk0
-
parv
Or, see "--mime" option for bit more verbose output than "--mime-type"
-
rtprio
technically it is executable
-
parv
So perhaps match on "application/x-(.+?)?executable$" (with "--mime-type" option)
-
parv
"file" has "--exclude" option to exclude a test but failed to see any option to supply a (list of) specific test(s)
-
rtprio
si there not a better way to do this?
-
rtprio
like take a snapshot and diff it to before you install
-
polyex
if i got fbsd 13.1 p3, why does freebsd-update fetch say no updates needed to update system to ... 13.1 p5?
-
parv
The FAQ does not have the answer to abov e FAQ.
-
parv
-
VimDiesel
Title: Frequently Asked Questions for FreeBSD 12.X and 13.X | FreeBSD Documentation Portal
-
parv
*sigh*
-
parv
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
-
parv
-
VimDiesel
Title: Solved - Kernel/userland mismatch version | The FreeBSD Forums
-
parv
(... very likely one of many)
-
polyex
tyvm!
-
parv
The FreeBSD project really should just bump up all the damn versions to the same string already :-|
-
polyex
ya or make the output text more clear
-
V_PauAmma_V
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
-
V_PauAmma_V
uphill fight.
-
V_PauAmma_V
(IOW, I agree.)
-
» parv nods
-
parv
What really gets me is that a security advisory does not (explicitly) mentions to check the user land version e.g. in case of
freebsd.org/security/advisories/FreeBSD-SA-22:15.ping.asc
-
parv
In that regard life is simpler, less stressful due to source (install & then later) upgrade
-
parv
afk
-
yo9fah
Happy New Year 2023!
-
PredatorONormies
Are you in fucking Japan?
-
yo9fah
W000W I have to be in Japan!?
-
PredatorONormies
Yeah
-
yo9fah
lol
-
yo9fah
Not yet! But I can move with freebsd! ;)
-
PredatorONormies
xD
-
pertho
it's 2023 in NZ
-
yo9fah
wooow
-
souji
I still have somewhat 11 hours left till new year xD
-
pertho
still 3 and a quarter hours to go in Japan
-
souji
xD
-
yo9fah
xD
-
PredatorONormies
oh
-
souji
what
-
PredatorONormies
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
-
PredatorONormies
Those 2 seemed to be the problem
-
PredatorONormies
(and seems that it needs to be UTF-8)
-
PredatorONormies
and now it seems that even that doesn't fix the problem for every title
-
PredatorONormies
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
-
vortexx
PredatorONormies: sounds like you might need unix2dos or dos2unix
-
PredatorONormies
it's recognized, but it does not work (works in my PC, but not TV receiver trough USB)
-
PredatorONormies
:( what's that?
-
PredatorONormies
I fear it's some hidden characters in the file that are shit
-
vortexx
a program to convert text files from unix carriage returns to dos carriage returns and vice-versa
-
PredatorONormies
oh, really? but if `file` shows 'CRLF', then it should work, no?
-
vortexx
it should yes
-
PredatorONormies
or perhaps it's not on every line and somehow not up to the standard expected?
-
PredatorONormies
would unix2dos fix subtitles with such problem?
-
PredatorONormies
In any case - I've seen unix2dos mentioned a lot.. I just thought I could do it on my own.. I probably could but..
-
PredatorONormies
lol initial release 1989
-
PredatorONormies
Thanks
-
zykotick9
PredatorONormies: you might want to check out what features subtitlecomposer and/or subtools in ports/multimedia do.
-
PredatorONormies
zykotick9, good fucking idea ;-; I am so stupid, I never thought to do that
-
meena
some TVs can't deal with external subtitles no matter what the format
-
meena
and by TV, i mean firmware. (if you could do anything about it, I'd call it software)
-
rtprio
3
-
PredatorONormies
meena, Hmmm interesting
-
PredatorONormies
No wait waht no
-
PredatorONormies
what* no, it can
-
PredatorONormies
Like I said - lots of subtitles work with the file specification that I mentioned
-
PredatorONormies
just a few didn't
-
PredatorONormies
and I somehow managed to turn LF to CR/LF, but even that didn't help for all of them
-
PredatorONormies
Heey, is there a way for 2 computers to connect DIRECTLY to each other trough a switch?
-
PredatorONormies
I came to believe it's a faulty switch.
-
PredatorONormies
isn't there something like ARP or something?
-
PredatorONormies
meena
-
rtprio
connect directly? arp is only one layer
-
rtprio
usually they connect with 'tcp' but obviously, both would need an ip address
-
rtprio
are you trying to connect to your tv?
-
PredatorONormies
IP address? don't they got a MAC address and shit?
-
PredatorONormies
nah
-
PredatorONormies
I got a switch
-
PredatorONormies
and I want 2 computers to talk directly trough the switch without an router/modem
-
meena
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
-
PredatorONormies
Or should I have bought a separate router just for my little network?
-
PredatorONormies
the name "router" makes more sense xD
-
PredatorONormies
I got a ethernet cable
-
PredatorONormies
Like I said - all connected trough switch
-
PredatorONormies
cannot I just like `ssh SOME-MAC-ADDRESS`?
-
V_PauAmma_V
No.
-
PredatorONormies
Is there anything that I can do with this switch?
-
PredatorONormies
I should have got another router :(
-
PredatorONormies
I want shit to be routed without internet access
-
V_PauAmma_V
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.
-
meena
remember the network before IP and TCP?
-
V_PauAmma_V
Arpanet? Cyclades?
-
PredatorONormies
bacl
-
PredatorONormies
back*
-
PredatorONormies
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..
-
PredatorONormies
Hmmm out
-
meena
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
-
V_PauAmma_V
Is the connector smaller but with the same shape as Ethernet?
-
meena
IPX/SPX
-
V_PauAmma_V
Oh, XNS. I *hated* that.
-
meena
somehow, i confused OS/2 with Novell Netware
-
meena
and who could forget NetBIOS? (I could, easily)
-
V_PauAmma_V
I wish I could.
-
PredatorONormies
back
-
PredatorONormies
is 'bridging' what I'm looking for?
-
PredatorONormies
no
-
meena
PredatorONormies: you want to setup a compatible IP on each end
-
PredatorONormies
I am confused ;( I cannot think because my eyes hurt
-
PredatorONormies
how do I do that? with arp or ifconfig?
-
PredatorONormies
or dchp?
-
meena
PredatorONormies: DHCP can do that for you, yes
-
PredatorONormies
0.o really?
-
PredatorONormies
Do you know of any guide/tutorial?
-
meena
basically, you setup dhcpd or dnsmasq on one of the computers, and you plug the ethernet into both.
-
PredatorONormies
same thing if I have a switch in-between the two?
-
meena
PredatorONormies: switches are no routing boundaries, so, yes
-
PredatorONormies
o.o
-
PredatorONormies
h-hoy
-
PredatorONormies
h-hot
-
PredatorONormies
thenks, ill report back
-
pertho
meena: Banyan Vines? :D
-
meena
pertho: ethernet over token ring
-
pertho
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
-
meena
when we didn't wanna do lab work, we'd just remove the terminator. and then they switched to ethernet…
-
rtprio
haha
-
rtprio
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
-
» zykotick9 remembers a friend showing up with a 50 port switch, borrowed from an office, to a LAN party he was having... nostalgia.
-
» meena only ever helped with the network setup at LAN parties, cuz she always sucked at games
-
zykotick9
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.
-
pertho
rtprio: lan parties.. wow.. I miss those
-
pertho
bring beer and pizza.. gaming all night. and sharing files.. and in one case in January driving home in a snowstorm at 3am
-
» zykotick9 actually still plays Quake 3, ut2003 (demo), and ut2004 (demo) on his freebsd workstation currently
-
zykotick9
The CRT monitors at the time where hell to move, I don't miss those!
-
pertho
zykotick9: how do you play ut2004 on freebsd? With the linux-u-lator? or WINE?
-
zykotick9
pertho: linuxulator
-
pertho
I tried getting ut2004 working on my void linux box but.. you can't get libstdc++.so.5 any more :(
-
pertho
but getting it running on FreeBSD would be better
-
zykotick9
ironically, it installs in Debian but won't run - copy the folder to FreeBSD and it runs great
-
zykotick9
LOL - that's the debian issue as well ;)
-
pertho
Quake 3 has workarounds nowadays like:
ioquake3.org (which I've played on OpenBSD.. I'm sure FreeBSD may have a port of it)
-
VimDiesel
Title: ioquake3 – Play Quake 3 and make new games
-
zykotick9
i use ioquake3
-
pertho
I still host quakeworld and quake 2 servers (and xonotic) on occasion for the folks in #openbsd-gaming :D
-
zykotick9
i've also got quake2(linux port)/doomsday for doom and doom2/dhewm3 for doom3 installed, but rarely play them.
-
zykotick9
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 :(
-
zykotick9
s/part/port/
-
dvl
I have two 12.3 hosts, everything else is on 13.1 - time to update those two hosts.
-
pertho
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..
-
zykotick9
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.
-
rtprio
pertho: i miss 'em too
-
rtprio
i have 2 13 hosts and the rest are 14
-
meena
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.
-
rtprio
i saw that peter wemm was doing that too
-
meena
I just need to teach buildah how to build jails with PkgBase…
-
meena
-
VimDiesel
Title: Stuff and things - Peter Wemm's personal blog
-
rtprio
@karinjiri⊙sco/109604238075550550
-
mason
meena: Take care to get snapshots and such when you upgrade them. I've had point releases break services in the past.
-
V_PauAmma_V
meena, 13.0 reached EOL end of August 2022 IIRC.
-
ghoti
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?
-
» ghoti waves to dvl
-
V_PauAmma_V
In dns/bind918.
-
dvl
yo.. Upgrade done.
-
V_PauAmma_V
(Answer courtesy of pkg-provides.)
-
ghoti
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.
-
ghoti
Ah, thanks for the reference, that will reduce my noise in the future.
-
nimaje
freshports can search pkg-plists too
-
dvl
Yes, yes, it can.
-
meena
V_PauAmma_V: oooof
-
nimaje
3 month after the 13.1 release so yes about august
-
nimaje
-
VimDiesel
Title: FreeBSD Security Information | The FreeBSD Project
-
zykotick9
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
-
zykotick9
Debian's development branch sid. <- something I never dreampt would happen
-
pertho
Yaay Mame
-
pertho
been a while since I looked at it tho
-
zykotick9
pertho: LAN parties and MAME, you're my kinda people ;) Happy new year.
-
zykotick9
^ UT / LAN parties / MAME actually
-
pertho
:)
-
ngortheone
Happy New Year everyone!!!
-
debdrup
happy new year folks
-
ixmpp
gmt+1, then
-
ixmpp
west europe
-
xtile
Isn't UTC+1 central europe?
-
debdrup
ixmpp: if you're trying to figure out where I'm from, you can just ask..
-
debdrup
..though it's not exactly a secret. :P
-
ixmpp
i know, i just like the minigame
-
ixmpp
thats my new years fun
-
V_PauAmma_V
xtile, there's that misbegotten thing called DST. :-)
-
ixmpp
same thing though, otherwise
-
xtile
True, unfortunately, though often not in this month over there.