-
hjf
well
-
hjf
i tried enabling 8n2 mode with one usb to serial adapter and it refused to
-
hjf
so i tried with another serial adapter (the one that has been connected to the UPS for the last 10 years) and it crashes as soon as getty shows the login prompt
-
hjf
and now im trying with a usb adapter that literally costed me $2 and was giving me problems with an external modem, and it seems with 8n2 mode the terminal is very happy
-
hjf
tldr it was the fucking usb adapter
-
hjf
i hope the pcie-serial adapter will be less trouble
-
hjf
(famous last words)
-
hjf
so here i am now at 19.2kbaud no flow control yolo
-
rwp
Yay!
-
hjf
i'm gonna have to do a writeup about this on my blog
-
hjf
rwp: should i go back and rescue the other two that were left at the warehouse?
-
hjf
there is that and an extremely heavy C.Itoh printer
-
rwp
That is a question only you can answer.
-
rwp
I might say that it takes at least two terminals to play a terminal game between two people. :-)
-
hjf
i might go. could make a video about restoring them
-
hjf
this one still needs retrobright
-
hjf
im waiting for the summer to start retrobrighting things around here
-
hjf
have a commodore 128 that could use some retrobright
-
rwp
It is the end of summer for us on this side of the planet. Winter is coming.
-
hjf
i need to map colors to make better use of this terminal but im not sure how its done
-
hjf
my own nick is underlined here but that's about it
-
hjf
i see that *text* like this appears also underlined
-
deever
any hints on updating an extracted base.txz distribution with freebsd-update? neither -b nor -d seem to do the trick...
-
hjf
so i have a weird issue with the serial terminal. i can't run sudo
-
hjf
it does nothing, util i ctrl-C
-
hjf
then it prints the usage instructions
-
hjf
it works fine over ssh
-
rwp
Do you have the same problem if you try to change your password?
-
rwp
I am guessing it is asking you for a password and changing the tty to noecho for the entering of it.
-
hjf
i have it nopasswd
-
rwp
Hmm... That is weird then.
-
hjf
even truss sudo shows nothing either
-
rwp
Are you in the wheel group? Also try "su - $USER" just for additional data points.
-
rwp
"su - $USER" will stack a shell. Exit from there to return to the previous shell.
-
PawTeeGal
haro.. I found my way here from 20 yrs ago.
-
HER
nice
-
HER
we been waiting for you... now we can move on finally
-
PawTeeGal
I only remember asmodai from the user list.
-
PawTeeGal
Does saffron and blackend come by anymore?
-
rwp
Welcome PawTeeGal! I do not recognize those nicks but who knows?
-
PawTeeGal
People from probably the late 90's used to be efnet freebsd group. I know blackend is still on the official FreeBSD project. saffron used to be regular too, I think she used to work for Xi Systems.
-
rwp
Though there has been the big migration to Libera.Chat the others still also exist. Except for that one which was taken from us and we were forced to walk away from which I do not speak of now. Perhaps they are still using EFnet? (Shrug.) You might find them there.
-
rwp
Until then you have many new friends here to meet.
-
PawTeeGal
Sure I'll hang around. I looked around on efnet looks like it got turned into the internet ghettos.. shame..
-
PawTeeGal
And hi Rep, Good meeting you. I figure going down memory lanes a bit and found me way here.
-
rwp
We have been enjoying hjf's adventure down museum serial terminal lane. From hjf:
i.imgur.com/eZqPwuw.jpeg
-
PawTeeGal
now thats vintage.. alas I got rid of all my vintage stuff. back from the fbsd 2.2.8 days and my sparc 20. (good riddance honestly)
-
rwp
It's an obscure TERM=viewpoint3a+ type and how shall I say, there has been some termcap issues with it.
-
PawTeeGal
dont think I've ever seen one..
-
PawTeeGal
I did started out on a Hearthkit H19 tho
-
hjf
-
hjf
before i forget all my learnings
-
drobban
how does the package repository work. Why am I missing almost every py39- package that py311 has?
-
drobban
im running with latest right now, the same thing applies for quarterly but for other packages.
-
drobban
is it just a temporary glitch or am I doing something wrong.
-
ivy
drobban: ports only supports a single python version, which is currently 3.11 by default, so that's what the packager builders use. it's possible to configure a package to build for multiple versions, but the vast majority of python packages don't do that
-
ivy
to get a different python version you would have to build your own packages from ports with python set to 3.9 (or whatever)
-
drobban
ivy: thanks for the clarification!
-
ivy
i phrased that a little poorly, ports supports multiple python versions, but you have to choose one version as the default version, which is what the py*-* packages will build against
-
ivy
and the default default version is 3.11
-
drobban
ivy: =) think that was how I understood you the first time as well.
-
dandyn
ports named tcl9.0 and tcl9 why two?
-
ivy
dandyn: without checking, i guess tcl9 is 9.latest and tcl9.0 is fixed at 9.0. check the makefiles to be sure
-
dandyn
okok, thnx
-
uskerine
dandyn maybe you can ask in #tcl, they are pretty helpful and as per they conversations they are now fully engaged with tcl9, I think most people use 8.6
-
uskerine
Hi, where can I find a howto or tutorial to report a bug in the base system and potentially submit a correction?
forums.freebsd.org/threads/rcp-issu…commands-package.95211/#post-674568
-
ivy
uskerine: if you found a bug, you can report it at
bugs.freebsd.org. however if you have a code fix, you should not file a bug but instead send a pull request to the FreeBSD github repository,
github.com/freebsd/freebsd-src
-
ivy
uskerine: this uses the normal git workflow, if you're familiar with that
-
ivy
can someone explain how wireless works on freebsd
-
ivy
i have this network card: iwm0: <Intel(R) Dual Band Wireless AC 7260> mem 0xf0400000-0xf0401fff at device 0.0 on pci2
-
ivy
but i get this: ssid LF channel 6 (2437 MHz 11g) bssid 74:4d:28:8e:7a:8e
-
ivy
surely this card should do better than .11g?
-
ivy
according to the Intel spec sheet, it should do .11ac
-
Kalten
According to
docs.freebsd.org/en/books/handbook/network/#network-wireless “802.11ac support on FreeBSD is currently under development.”—that might mean, it does not work yet? My hardware is far too old to run into such a problem :-)
-
Kalten
But it says there: “FreeBSD supports networks that operate using 802.11a, 802.11b, 802.11g and 802.11n.”
-
ivy
even so, surely it should work as .11n
-
Kalten
Which version of FreeBSD are you on? `uname -v`
-
ivy
i'm not at that device right now but it's 14.1 from about a week ago
-
ivy
(had some weird issues with 15.0 on it, so i had to downgrade to 14.1)
-
Kalten
-
Kalten
-
Kalten
You have tried to put `iwm7260fw_load="YES"` into your `/boot/loader.conf`?
-
Kalten
Sometimes loading it after that stage results in some strange problems.
-
ivy
i will try that next, thanks
-
Kalten
I hope, it will solve your problem.
-
ivy
Kalten: unfortunately it did not
-
ivy
i tried loading all the iwl-related modules in loader.conf
-
ivy
iwm7260fw_load=YES
-
ivy
if_iwm_load=YES
-
ivy
if_iwlwifi_load=YES
-
ivy
but i'm still stuck on .11g: ssid LF channel 6 (2437 MHz 11g) bssid 74:4d:28:8e:7a:8e
-
ivy
i really hope i don't have to install wifibox to make this work, this ancient laptop only has 4GB RAM
-
uskerine
ivy well I ahve not tested, the fix is described there, but there might be more things to do
-
uskerine
so shall I just submit the bug?
-
ivy
uskerine: if you don't have a direct code fix then yes you can just submit the bug. i didn't read your link though so not sure what the specific issue is
-
ivy
brb
-
uskerine
when they removed the r commands from base, there is a header that points rsh to /usr/bin but it is no longer there, it is now at /usr/local/bin, as a result of that, rcp fails
-
uskerine
apparently the issue shall be fixed just by changing a header which has hardcoded /usr/bin/rsh
-
uskerine
and that file is in base
-
hjf
trying to rule out a power issue with a usb-serial adapter by feeding it 5V directly instead of bus power
-
ivy
ok, so wifibox sort of worked but it's put me behind some weird kind of NAT and IPv6 doesn't work
-
ivy
i assume this isn't how it's meant to work
-
ivy
maybe i configured something wrong
-
duncan
the suggestion is the networking depends on what the guest exposes
-
duncan
I have horrendous trouble with Linux wireless, let alone Linux wireless in a VM on my laptop!
-
ivy
ok seems like wifibox does work with ipv6, had to rtfm a bit
-
ivy
traceroute6 to hemlock.eden.le-fay.org (fd12:8247:3:1::5) from fd00::1, 64 hops max, 28 byte packets
-
ivy
1 fd00::ffff 0.623 ms 1.204 ms 0.921 ms
-
ivy
2 2001:8b0:aab5:c103::1 2.471 ms 2.967 ms 2.177 ms
-
ivy
3 hemlock.eden.le-fay.org 2.060 ms 2.036 ms 2.134 ms
-
ivy
i guess fd00::ffff is the NAT router
-
ivy
let's see if it's any faster
-
ivy
[ ID] Interval Transfer Bitrate Retr
-
ivy
[ 5] 0.00-10.00 sec 108 MBytes 91.0 Mbits/sec 422 sender
-
ivy
well that's pretty bad for a 2x2 .11ac connection, but i was only getting 20Mbps with FreeBSD iwlwifi, so i suppose it's an improvement
-
ivy
bit sad that i get 550Mbps on my iphone with zero effort
-
ivy
from the same AP
-
duncan
ivy: my solution to wireless issues was an M.2 ath9k card. I get 120Mbps on 5Ghz on 15.0-CURRENT (this is A b/g/n card). Is AC really significant?
-
ivy
duncan: if you only get 120Mbps i'd say ac is significant, yes
-
ivy
i don't really care enough to investigate what's going on here (at least i'm getting more than the 20Mbps i had before) but...
-
ivy
maybe this laptop only does 20MHz or something
-
duncan
I guess what I was getting at is, 108Mb might be the best the card can do
-
ivy
yeah i just rebooted with the wifibox console enabled so i can see what the card is actually negotiating
-
ivy
how on earth do you do this in linux
-
duncan
It's an Alpine Linux VM right? I'd boot that up (it's pretty well thought out) and do a speed test, preferably one run by your ISP
-
duncan
The nominal bitrate negotiated is rarely the speed you get in practice
-
ivy
i already did a speedtest, i'm trying to work out what specifically it negotiated with the AP. e.g. if it's actually using the full 80MHz channel
-
ivy
apparently iw(1) is the right command but usage is a bit cryptic
-
duncan
The interesting question would be whether the VM differs from bare metal with the same PCI device?
-
ivy
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
-
ivy
why on earth is it using 2.4GHz
-
duncan
welcome to the world of Linux/UNIX wireless
-
duncan
my response to these crazy scenes was ath9k but there mut be something in between 'workhorse decade and a half old original OSS driver' and '2020s broken WiFi 7 chipsets'
-
duncan
must*
-
ivy
do linux users just not use wifi?
-
ivy
surely there must be a way to make it prefer 5GHz
-
duncan
most users use NetworkManager - it provides a GUI (this is quite good), sugar over low level config options like power saving, preferred channels
-
duncan
you can do similar with iwconfig but it's horrible
-
duncan
but the general malaise is in terms of what drivers expose and how stable they are when interacting with e.g. IOMMU, power management
-
Kalten
ivy: maybe more luck (just for testing) to start (as root) bsdconfig, select “Networking Management” and than “Wireless Networks”. It should write to /etc/rc.conf in the end
-
Kalten
Maybe your 2.4 and 5.0 can be chosen there?
-
ivy
Kalten: i doubt it since ifconfig wouldn't even accept 'mode 11n' on freebsd
-
ivy
i'm not too bothered, 100Mbps is fine for what i use this laptop for, i just wish i could run iperf here instead of running it on my phone
-
mzar
ivy: promotion of 5GHz band is usualy done on AP side (if supported by AP)
-
Kalten
I have nothing to trie it out, but ifconfig(8) talks about something: chanlist (could be `chanlist n`) and channel (could be `channel n` or `channel nt/40` or `channel ht/40`???)
-
ivy
mzar: what do you mean by "promotion"? band steering?
-
mzar
yes
-
ivy
mzar: but shouldn't the client naturally choose 5GHz if the signal is good? that's what all our other clients do
-
mzar
I have not heard of relevant standardisation with this regard
-
Kalten
Well: 2.4G has wider range (good for moving around with your laptop)
-
ivy
but 2.4GHz is much more congested, bad if you're anywhere with your laptop
-
ivy
also much slower...
-
ivy
(at least in our case as the 5GHz SSID is 80MHz wide)
-
mzar
so your AP has to support band steering
-
mzar
and it must be turned on
-
ivy
as freebsd is the only client so far that doesn't do this properly i will probably not bother with this, tbh
-
ivy
but i will bear it in mind if it comes up in future, thanks
-
ivy
ah, our vendor doesn't support it anyway
-
mzar
interesting story, so Linux clients prefer 5 over 2.4 without band steering enabled on the AP ?
-
ivy
but it does do .11k and .11r so i would think the client could find a better frequency
-
ivy
mzar: is that a statement or a question? my client (wifibox, which is linux) seems to strongly prefer 2.4GHz
-
mzar
OK
-
ivy
maybe i'll install linux on this laptop and see if it works any better natively
-
mzar
Linux has better WiFi support, that's unquestionable
-
ivy
i agree, but i thought wifibox would make this work as well as it does under native linux
-
mzar
probably yes
-
mzar
maybe signal on 2.4 is stronger
-
ivy
but in fact no, it sticks to 2.4GHz
-
ivy
if i get 600MBps in iperf3 on my iphone and 120Mbps in iperf3 on my laptop... something is wrong somewhere, i think
-
ivy
s/MBps/Mbps
-
ivy
(600MBps on wifi would be nice, heh)
-
mzar
what OS is on that laptop ?
-
ivy
FreeBSD 14.1 amd64
-
ivy
i have a user with Steam Deck (a wifi device that runs Linux) and that does manage about 500Mbps over wifi
-
ivy
hmm... i wonder if the 5GHz SSID is configured for 80MHz, and the laptop's wifi card doesn't support that for some reason, maybe it would fall back to 2.4GHz rather than using a narrower channel?
-
mzar
ha... AFAIR FreeBSD supports only 802.11n, perhaps your phone supports 802.11ac or ax ?
-
ivy
right, i'm not using freebsd wifi stack, i'm using wifibox
-
ivy
no ax here, the AP, phone, and laptop are all .11ac
-
ivy
(well i think the phone does support .11ax, but the AP doesn't)
-
duncan
I would try and produce a minimum working example: Alpine or Debian, try and get 5G.
-
mzar
cool, but AFAIK with FreeBSD you can't use ac yet
-
ivy
no, freebsd doesn't support .11ac, but wifibox does? isn't that the whole point of using it?
-
mzar
does ifconfig show ac for this WLAN NIC ?
-
ivy
ifconfig just shows the wifibox tap interface
-
ivy
i'd have to go turn on the laptop again to see what the wifibox VM says
-
mzar
interesting
-
duncan
mzar: this is unhelpful - this is wifibox, Linux handles wireless, FreeBSD just talks to it
-
mzar
you have put a lot of work to make it working ivy, congrats
-
ivy
i really didn't, i just installed wifibox and set up /etc/rc.conf like the manpage says
-
mzar
s/work/effort
-
mzar
tap interface could be also a bottleneck
-
ivy
and it does work and tbh it works well enough that i don't really mind if i only get 100Mbps... the only reason i care about this is i was having an issue with our APs (not related to FreeBSD) where with ~500Mbps wireless traffic they would sometimes crash
-
ivy
and it felt silly that i had to use my iphone to generate such traffic with iperf instead of a laptop
-
mzar
that's sad story
-
ivy
although honestly, this laptop is old enough that my iphone probably has a faster CPU
-
duncan
You need an MWE. MWEs are good both for articulating the bug report and for (not infrequently) nailing down the problem in the process of composing it
-
mzar
try to trigger this AP failure with multiple UDP streams from your FreeBSD-driven laptop, it could work
-
ivy
i think i fixed the AP issue with a stronger PSU, but we shall see
-
duncan
If Linux proper can't do faster than 100Mbit, you'll know it's probably hardware
-
ivy
duncan: what's an MWE?
-
duncan
minimum working example
-
ivy
oh, right
-
ivy
i mean like i said i don't care enough to actually file a bug
-
ivy
at least i've improved it from 20Mbps under iwlwifi(4) :-d
-
mzar
that's not a bug, only missing feature
-
ivy
omg stop being so pedantic
-
duncan
well, you don't have to report it, but it could be helpful to you later
-
duncan
later e.g. it becomes clear how to got 5Ghz
-
mzar
-
ivy
if wifi under freebsd is really this bad i do hope the foundation spends some $$$ on improving it
-
mzar
duncan: what do you mean by "becomes clear how to got 5Ghz" ?
-
duncan
Wifi will improve over time. Thunderbolt/USB4 is a bigger issue
-
ivy
but tbh if i bought another laptop it's going to be a macbook and not run freebsd
-
ivy
(i love freebsd on servers/vms though, and it's also pretty good on desktop)
-
duncan
ivy: it is easier to work out why a simpler Alpine/Debian Linux isn't getting 5Ghz than that in a VM. Fewer variables, easier for others to reproduce. that's why its an MWE.
-
mzar
ivy: cool, same here, it works fine in all scenarios
-
ivy
mzar: well...
-
ivy
i did have to submit a patch to alc(4) to make it work on my desktop by default
-
ivy
(some motherboard have broken MSI-X for this card)
-
mzar
IMHO it's just a waste of time to try to improve this setup working thanks to ivy's effort and tap-driven duct tape
-
mzar
not offending ivy
-
ivy
but let's say "most scenarios" :-)
-
duncan
mzar: why is it a waste of time?
-
mzar
because ivy's time is important
-
ivy
i don't know what you mean by "ivy's efforts", wifibox is nothing to do with me, i did not contribute anything to that project
-
ivy
wifibox did improve my wireless performance from 20Mbps to 100MBps, so i'm certainly not complaining about that
-
mzar
cool
-
ivy
s/MBps/Mbps
-
ivy
(ffs)
-
duncan
no, I don't get it. wireless should perform similarly in a VM to bare metal given same PCIe device access. the interesting question is why not
-
duncan
wifibox is neat but belies real disinterest from manufacturers compared to Linux/embedded
-
mzar
duncan: because there are plenty of bottlenecks, and the most relevant in this case is probably tap(4)
-
ivy
very unlikely, i get 10Gbps from tap(4) in my bhyve VMs
-
mzar
so it's fast laptop
-
duncan
I agree, but I don't know enough about how these things interact to say. Narrowing it down is time-consuming, but it's still worthwhile to do so.
-
ivy
never mind
-
f0lkert
am I right that the freebsd iscsi initiator does not *verify* the header and/or data digest? I saw in the man-page that they are generated, but are they als verified for incoming PDUs?
-
f0lkert
I'm asking as my toy-iscsi-target generated invalid digest-values and yet freebsd (and linux) seem to ignore that
-
mzar
f0lkert: you have to read that code and tell us how it works
-
jmnbtsls1E
f0lkert: i think someone is more likely to know on the mailing list, though mzar's playful comment about reading the code might ultimately be true
-
f0lkert
jmnbtsls1E: I'm considering doing so :)
-
hjf
ok so i found yet another issue. the CH340 driver for FreeBSD is incomplete unfortunately
-
hjf
this is why it was causing issues. It doesn't support any modes other than 8N1
-
hackkitten
trying to compile an application with FreeBSD 14.1-RELEASE after an upgrade from 14.0, but getting 'undefined reference' on a whole heap of symbols that I know are in SOs in /usr/lib & /usr/local/lib, both with GCC and CLang. File permissions are correct too
-
hackkitten
GCC's /usr/local/bin/ld cannot find symbols in libPoco*.so files, which are in /usr/local/lib, installed with pkg
-
hackkitten
same code compiles fine under Linux (GCC), MSYS2, etc.
-
oprs
hackkitten: I'm not familiar with libPoco, but chances are you're just missing some linker flags (LDFLAGS)
-
oprs
probably -L/usr/local/lib
-
oprs
what does the compiler say ? can you post the output somewhere (pastebin, whatever)
-
oprs
compiler AND linker, just post the whole thing
-
hackkitten
I did add that library path, yes, but it doesn't make a difference. It does find the libs at least (no errors), but cannot seem to use them. Ran a pkg upgrade earlier, seeing whether that helped
-
hackkitten
oprs: here's the pastebin link command:
pastebin.com/Md3YJ18R
-
hackkitten
pkg upgrade didn't change matters, sadly
-
oprs
well there's the obious undefined reference to Poco::SystemException::SystemException
-
oprs
but I also see references to FreeBSD 14.0 in the object paths (obj/x86_64-portbld-freebsd14.0/chronotrigger.o, etc…)
-
oprs
did you properly clean your build tree before compiling on 14.1 ? (i.e. make clean)
-
hackkitten
yes, I did clean it beforehand, this is also the first time that I'm building this application on this FreeBSD system
-
hackkitten
cloned it off GitHub earlier
-
oprs
hm
-
hackkitten
though the 14.0 reference is interesting, yes
-
hackkitten
that's the output from g++ -dumpmachine
-
hackkitten
I use those strings to separate different build outputs
-
hackkitten
with uname -a I get: FreeBSD freebsd-nya 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
-
hackkitten
I can try to reinstall the system, do a clean install of 14.1, maybe
-
oprs
I just realized there's a multimedia/nymphcast port, you could just install that
-
oprs
that doesn't explain why it doesn't compile though
-
hackkitten
didn't know there was a pkg online
-
hackkitten
I'm the NymphCast developer, so that's why I want to compile it myself :)
-
oprs
lol, I guess that makes sense )
-
hackkitten
will be setting up a quick new VM with 14.1, and also GhostBSD alongside it, see whether that works better
-
hackkitten
thanks for the assistance :)
-
oprs
well, there seems to be a few FreeBSD specific patches:
cgit.freebsd.org/ports/tree/multimedia/nymphcast/files
-
hackkitten
ah, was wondering about that
-
oprs
you may want to have a look
-
hackkitten
indeed, I'd want to integrate those into the main tree
-
hackkitten
much obliged :)
-
oprs
yw :)
-
uskerine
just learn that, in the very same way that I can install python packages from the binary pkg system, I can install R packages. Who creates them?
-
uskerine
s/learn/learnt/
-
V_PauAmma_V
Do you mean who are all the port maintainers? Or who are the upstream devs?