3 ms·
> 9/10 > half of networking doesnt work, and it's the more important one for laptop(wifi) I think they need to revise the scoring
by PunchyHamster 7mo ago
> 9/10
> half of networking doesnt work, and it's the more important one for laptop(wifi)
I think they need to revise the scoring
- whalesalad 7mo ago[flagged]
- fullstop 7mo agoIt seems like the best way to get WiFi working in FreeBSD is to run Linux in bhyve and tunnel your connections through there.
- whalesalad 7mo agothe fact that this is a widely accepted/encouraged practice is genuinely unhinged
- mtlmtlmtlmtl 7mo agoWhy? Nothing wrong with running your network interface in a VM. There are reasons for doing so even if drivers aren't an issue. Qubes OS does this, for instance, for security reasons.
- wolvoleo 7mo agoWindows also does. Almost everything is a VM in windows these days. It's just how things work these days. If you'd say "I run my VPN client in a docker container" it would raise a lot less eyebrows. Yet it's not very different, really. Though conceptually I'd frown at having to run Linux. I'd prefer upgrading the hardware to a supported chip.
- PunchyHamster 7mo agoWindows isn't running entire fucking separate kernel to run wifi driver, the fuck you're talking about
- evanjrowley 7mo agoDefinitely not independent kernels but my guess is he's referring to Virtualization-Based Security (VBS) - it gets turned on by default if your Win10/11 system has virtualization enabled. One such example security solution is memory integrity, which protects and hardens Windows by running kernel mode code integrity within the isolated virtual environment of VBS. Kernel mode code integrity is the Windows process that checks all kernel mode drivers and binaries before they're started, and prevents unsigned or untrusted drivers or system files from being loaded into system memory. I suppose this applies to Wi-Fi drivers? Link: https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/oem-vbs https://learn.microsoft.com/en-us/windows-hardware/design/de...
- NooneAtAll3 7mo agono matter how it's implemented, it must not be a user-requiring (or even user-facing) task
- mtlmtlmtlmtl 7mo agoWhy not? FreeBSD has never been intended as a batteries included, everything "just works" out of the box OS. It's meant to have a bare minimum install and let the user choose how things are set up. You can disagree with that philosophy, but that's not an indictment of FreeBSD. Just go use something that aligns better with your preferences.
- skydhash 7mo agoNot really weird when some firmware are close to being full blown OS. An alpine VM can be run with 64 MB which is lower than a lot of software.
- fullstop 7mo agoI've used cellular modems which run Linux or ThreadX internally.
- mlfreeman 7mo agoWeren't there iPhones that had wifi chips that ran Linux?
- Hasslequest 7mo ago[dead]
- wolvoleo 7mo agoFreeBSD 15 has done a lot for WiFi apparently. I'm not sure how good it is as I don't use wifi but it's supposed to be much better.
- yabones 7mo agoThat kind of seems crazy to me, considering OpenBSD has worked perfectly fine with every wifi capable device I've tested it on. Granted, most of them were older machines. Is this just an artifact of FreeBSD primarily focusing on server hardware rather than consumer/end-user stuff?
- wpm 7mo agoBasically no one supports Broadcom SoftMAC WiFi cards very well, but OpenBSD just doesn't. I have a 2015 MacBook Air with a BCM4350 where the recommended fix is to go buy a FullMAC card from a similar vintage MacBook Pro and just cope with the fact that the card barely fits in the case and can't be secured properly.
- deleted 7mo ago[deleted]
- PunchyHamster 7mo agoIt seems the best way to get WiFi working is to run Linux and FreeBSD in a VM..
- Gud 7mo agoBut then you’re stuck running Linux as your primary OS, which is a huge drawback. FWIW, I’ve done both, FreeBSD with a virtualised OpenBSD for WiFi, and currently I run Arch so I can do gaming, with FreeBSD virtualised for development. I’m kind of looking to go back to my previous setup.
- cperciva 7mo agoI agree that 9/10 is a bit of a strange score there, but it's not all that bad: You can get a $15 wifi dongle and use that instead. It occupies a USB port and looks a bit ugly, but it's still a fairly easy workaround.
- bluedino 7mo agoIs there a cheap, common USB wifi dongle that works? In the old days I kept a couple Realtek USB adapters around that would almost always work out of the box or with ndiswrapper
- sidkshatriya 7mo agoNo need to get a USB dongle. You can use PCI passthrough to a Linux VM that has the Wifi driver. See my comment here: https://news.ycombinator.com/item?id=47704816 https://news.ycombinator.com/item?id=47704816
- justin66 7mo agoThat's insanely complicated compared to plugging in a USB dongle.
- rubatuga 7mo agoIf you've ever had to deal with usb hotplugging then no pci pass through is much simpler
- ssl-3 7mo agoIt's only complicated once, though -- at initial setup. And that setup part can be largely automated: https://github.com/pgj/freebsd-wifibox https://github.com/pgj/freebsd-wifibox (The computer itself doesn't care much about the complexity. It's a computer.)
- sidkshatriya 7mo agoMy approach costs $0 . You don't need to do the heavy lifting, Wifibox does.
- evanjrowley 7mo agoI'd like to know more about what it takes to turn on PCI pass through for laptop hardware. On desktops and servers it's typically the IOMMU setting in the BIOS. Is that also commonly available on laptops?
- guzfip 7mo agoFreeBSD WiFi is certainly fun. Some years ago, I was workig with FreeBSD on an old laptop. The laptop had a wireless adapter that ostensible should be supported, but was not. After some digging, I realized the driver was just missing some PCIe device identifiers. I added them to driver and bam my WiFi is working without issue. I tried to submit a bug report and patch, and it got positive feedback at first any changes even got committed. But then I learned why it’s better to not even try. Apparently this was a known issue, but only in the heads of the FreeBSD wireless developers. They had their reasons for not adding the device, but the reasons did not appear to be documented in mailing lists or docs until my thread. At that point I realized it’s not worth it to try and contribute to such large projects as I just lack the decades of institutional knowledge of the system. Anyway, I’m not sure it ever got released. I believe there’s an umbrella bug somewhere left after the version my patch supported went out of support.