News for hackers. Stuff that matters.
Re:OpenBSD: Hibernate Time Reduced by nix23 on Wednesday September 01, 2021 @05:11AM (#28377731)
Look being a great fan of BSD (especially FreeBSD), i have one big problem with all of them on my laptop....and it is Wireless! A max speed of ~650kb/s is just not a usable one today.

Well and on the workstation that you cannot change fanspeed on a AMD-GPU, those are my 2 big-points.

Re:OpenBSD: Hibernate Time Reduced by messe on Wednesday September 01, 2021 @05:30AM (#28377851)
> A max speed of ~650kb/s is just not a usable one today

What card model, how do you have it configured, and how far from the router are you? 650kb/s is not an inherent limit on any BSD, and much higher speeds are easily possible if you have supported hardware.

Re:OpenBSD: Hibernate Time Reduced by juped on Wednesday September 01, 2021 @07:15AM (#28378411)
OpenBSD is well known to have a weak 802.11 stack that only supports a/b/g/sorta n modes on the most common drivers (Intel).

This is not because OpenBSD somehow sucks, it's because there's approximately two people doing all the wireless development in their spare time. But it's very understandable that someone would find it to be an issue.

FreeBSD probably doesn't have this issue, but it's not exactly trivial to port a device driver.

Re:OpenBSD: Hibernate Time Reduced by MisterTea on Wednesday September 01, 2021 @08:31AM (#28379011)
I've been on cat-v when devs were discussing developing wireless drivers for 9front (plan 9 fork) and most of these problems are due to lack of documentation. These cards are software driven so the driver isn't interacting with hardware registers or memory like an ethernet card but a protocol between the running firmware blob and the kernel. And you are responsible for loading that proprietary firmware into the card as well. You're essentially interacting with a black box. Its almost voodoo.

Some cards work perfectly by copying OpenBSD drivers or have some documentation. Though many cards require cargo culting by copying undocumented behavior from undocumented Linux drivers in order to get the cards working. The big problem with that approach are issues which arise cant be debuged. Best they can do is poke around and guess.

This whole thing is the fault of hardware manufactures.

Re:OpenBSD: Hibernate Time Reduced by juped on Wednesday September 01, 2021 @09:27AM (#28379530)
OpenBSD gets hit the hardest because the devs are the most hardline about never signing an NDA or otherwise impairing the freeness of the drivers.
Re:OpenBSD: Hibernate Time Reduced by MisterTea on Wednesday September 01, 2021 @10:02AM (#28379939)
I agree with never signing an NDA because it leads to code which can not be reliably maintained as the only person who can maintain it is the person who signed the NDA. How do you perform code audits on those drivers?

I have to assume most Linux WiFi drivers are written by people working for companies who get to see documentation via NDA as part of a company project OR the driver was written by the manufacturer who already knows how to talk to the card.

So everyone else has to cargo cult those drivers by blindly copying the voodoo code and hope it initializes the card the same way it does in Linux. Someone suggested adding a driver compatibility layer to allow using FreeBSD drivers in 9front but the devs shot it down with "that layer would be bigger than the kernel itself" So now you're now responsible for maintaining that HUGE mess plus you're still dealing with black box drivers you hope someone else fixes when they don't work. No one wins.

Again, the damn hardware manufactures have to give us proper hardware documentation. Until then they can go suck an egg.

Re:OpenBSD: Hibernate Time Reduced by nix23 on Wednesday September 01, 2021 @02:26PM (#28383764)
>Until then they can go suck an egg.

No, we suck an egg...that's the problem.

Re:OpenBSD: Hibernate Time Reduced by messe on Wednesday September 01, 2021 @07:42AM (#28378574)
As a user, I'm well aware of the state of OpenBSD's wireless stack. It's slower than the competition, but it's not 650kb/s slow.
Re:OpenBSD: Hibernate Time Reduced by nix23 on Wednesday September 01, 2021 @08:23AM (#28378923)
Its a Intel Dual Band Wireless-AC 7265NGW (ThinkPad x250) running with 802.11/g (the maximum), with the right driver and firmware. Sitting about 5m from the hotspot.

BTW: The hardware is supported:

https://www.freebsd.org/cgi/man.cgi?iwm(4)

>device iwm7265fw

>Currently, iwm only supports 802.11b and 802.11g modes.

https://www.freebsd.org/cgi/man.cgi?query=iwmfw&sektion=4&ap...

>iwm7265Dfw_load="YES" -> This one works

>iwm7265fw_load="YES" -> This one is not working

I would say OpenBSD is as behind as every single BSD is...from the Wireless standpoint.

Re:OpenBSD: Hibernate Time Reduced by morpheos137 on Wednesday September 01, 2021 @09:50AM (#28379780)
It is really easy to just purchase a better supported wifi card.
Re:OpenBSD: Hibernate Time Reduced by nix23 on Wednesday September 01, 2021 @11:37AM (#28381147)
It is supported as you can read for yourself:

https://www.freebsd.org/cgi/man.cgi?iwm(4)

>Intel Dual Band Wireless AC 7265

Yeah please tell me what is "better" supported?

Re:OpenBSD: Hibernate Time Reduced by morpheos137 on Wednesday September 01, 2021 @02:31PM (#28383818)
I don't know much about the current state of freebsd wifi drivers or drivers for modern cards but I can say for certain the OpenBSD has excellent support particularly for the Atheros cards, under the ath and athn drivers for 802.11a/b/g/n.

Never had an issue with link speed in the past 10 years.

In my experience on OpenBSD at least Intel cards are not as well supported as Atheros.

For example the iwn driver for some intel cards seems buggy / flawed at times.

As I said I have not used FreeBSD recently but might be worth trying an Atheros card.

As far as I know FreeBSD does not offer many advantages over OpenBSD besides ZFS support abd maybe linux comparibility if that still exists. I started with FreeBSD but switched to OpenBSD about a decade ago and found that the hardware support for Thinkpads was excellent. I heard at one time not sure if this is true anymore but I heard that many FreeBSD developers are MacOS users while OpenBSD developers actually develop from OpenBSD on thinkpads thus Thinkpad hardware support is usually excellent.

If your ac card is slower than a/b/g/n then downgrade obviously.

Re:OpenBSD: Hibernate Time Reduced by nix23 on Wednesday September 01, 2021 @03:18PM (#28384396)
Yeah, tell me what card is good, and not that others have a problem...you know that would be some real help.

>As I said I have not used FreeBSD recently but might be worth trying an Atheros card.

Yeah NO, i don't buy a card just to try out.

>As far as I know FreeBSD does not offer many advantages over OpenBSD besides ZFS support abd maybe linux comparibility if that still exists

Stop with that, i used FreeBSD since over 5 years, i know why i use FreeBSD and not Net or Open-BSD

Re:OpenBSD: Hibernate Time Reduced by morpheos137 on Wednesday September 01, 2021 @06:56PM (#28386557)
Chances are you don't need an ac card.

see

https://www.freebsd.org/cgi/man.cgi?query=ath&apropos=0&sekt...

Man you can get an atheros card off of ebay probably for less than $15 shipping included. If your OS does not support your card you could try using a card that is supported, a different OS, or a wired link. What I don't get is somebody complaining about wifi speed in 2021 when a replacement card is $15. Anyway only trying to be helpful.

If you are doing almost anything over the internet there is no advantage of ac over abgn. The wifi lan is not the bottleneck. If you are doing something local that requires superfast data transfer then just run gigabit ethernet or whatever the the cool kids are doing these days.