r/freebsd • • 21d ago

AI [Fix] Blackwell GPU passthrough: "No devices were found" / "WPR2 already up" after a guest reboot. For headless Linux guests, blacklist nvidia_drm + nvidia_modeset (RTX PRO 4000, FreeBSD bhyve host)

2 Upvotes

TL;DR: the fix

**Symptom:** an NVIDIA Blackwell card passed through to a Linux VM works on the first VM boot after the host boots. Any **guest** reboot or shutdown then hangs. After that, the card is dead inside the VM (`nvidia-smi`: "No devices were found"; dmesg: `unexpected WPR2 already up, cannot proceed with booting GSP`) until the **whole host** is rebooted. FLR and PCIe link resets from the host don't bring it back.

**Cause (in our case):** NVIDIA's *display* modules (`nvidia_modeset`, `nvidia_drm`) hang while unloading in a VM that has no display (stuck in `nvRmVTSwitch`). So the driver never gets to shut the GPU's GSP firmware down. Its protected memory region (WPR2) stays up, and the next driver start refuses the card.

**Fix (headless / compute guests):** never load those two modules:

```

# /etc/modprobe.d/nvidia-headless.conf

blacklist nvidia_drm

blacklist nvidia_modeset

install nvidia_drm /bin/false

install nvidia_modeset /bin/false

```

```

sudo update-initramfs -u

```

Then reboot the **host** once, to get a clean card.

After that only `nvidia` and `nvidia_uvm` load (all that CUDA needs). Guest reboot, guest poweroff and an ACPI shutdown from the host all work, and the card comes back every time without a host reboot, including when the VM autostarts after a host reboot.

**What it does NOT fix:** hard-killing the VM while the driver is loaded (`vm poweroff -f`, `virsh destroy`, and so on) still leaves WPR2 up, and only a host reboot clears that. Shut the guest down properly.

---

## Setup

- **Host:** FreeBSD 15.1-RELEASE, **stock bhyve (no patches)**, vm-bhyve, UEFI guest firmware (`BHYVE_UEFI.fd`). Intel i7-7700T (Kaby Lake), B250 chipset, VT-d enabled, 64 GB RAM.

- **GPU:** NVIDIA RTX PRO 4000 Blackwell SFF Edition, 24 GB (`10de:2c33`, GB203GL), plus its audio function (`10de:22e9`), in the CPU's x16 slot.

- **Guest:** Ubuntu Server 24.04.5, kernel 6.8.0-147-generic, 4 vCPU, 32 GB (wired), headless.

- **Guest driver:** 615.71.09, open kernel module (`nvidia-headless-no-dkms-615-server-open`, `linux-modules-nvidia-615-server-open-generic`, `nvidia-utils-615-server`), CUDA 13.4.

## Passthrough config

Host, `/boot/loader.conf`:

```

vmm_load="YES"

pptdevs="1/0/0 1/0/1"

```

vm-bhyve guest config:

```

passthru0="1/0/0"

passthru1="1/0/1"

wired_memory="yes"

```

That gives bhyve `-S` (wired memory) and `-s 0:6:0,passthru,1/0/0 -s 0:6:1,passthru,1/0/1`.

Host after a reboot:

```

$ pciconf -l | grep ppt

ppt0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x2c33 subvendor=0x10de subdevice=0x2053

ppt1@pci0:1:0:1: class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de device=0x22e9 subvendor=0x10de subdevice=0x0000

```

Guest:

```

$ lspci | grep -i nvidia

00:06.0 VGA compatible controller: NVIDIA Corporation Device 2c33 (rev a1)

00:06.1 Audio device: NVIDIA Corporation Device 22e9 (rev a1)

```

Driver install (Blackwell needs the **open** driver):

```

sudo apt update

ubuntu-drivers list --gpgpu

sudo ubuntu-drivers install --gpgpu nvidia:615-server-open

sudo apt install nvidia-utils-615-server # --gpgpu leaves out nvidia-smi

```

The first boot with the driver works:

```

$ nvidia-smi

+-----------------------------------------------------------------------------------------+

| NVIDIA-SMI 615.71.09 KMD Version: 615.71.09 CUDA UMD Version: 13.4 |

+-----------------------------------------+------------------------+----------------------+

| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |

| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |

|=========================================+========================+======================|

| 0 NVIDIA RTX PRO 4000 Blac... Off | 00000000:00:06.0 Off | Off |

| 30% 36C P8 9W / 70W | 1MiB / 24467MiB | 0% Default |

+-----------------------------------------+------------------------+----------------------+

```

## The problem: what we saw

  1. **`sudo reboot` inside the guest:** the guest never finishes going down. The bhyve process stays alive, there's no network, and vm-bhyve logs no exit.
  2. **ACPI shutdown from the host (`vm stop`):** the same. Still "Running" after several minutes.
  3. A guest reboot **before the NVIDIA driver had ever loaded** (right after installing it) worked fine. That was the first hint that the driver was involved.
  4. **`vm poweroff -f`, then `vm start` right away:** `bhyve exited with status 4`. This one turned out to be a red herring: `vm list` still showed "Locked" because the old instance was still being torn down. Wait for "Stopped" before starting again.
  5. **`vm poweroff -f`, wait for "Stopped", `vm start`:** the guest boots, but

```

$ nvidia-smi

No devices were found

```

```

$ sudo dmesg | grep -i -e nvrm -e wpr -e gsp | head -15

NVRM: GPU0 objClInitPcieChipset: *** Unable to get PCI port handles

NVRM: Xid (PCI:0000:00:06): 62, 324f892d 0002e740 00000000 2067ede2 2067f180 2067f0c2 20680598 20680a06

NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x1022 (RECOVERY_ACTION) during bootup without API lock

NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event from GPU0: 0x1029 (PMU_HALTED) during bootup without API lock

NVRM: GPU0 kgspSendInitRpcs_IMPL: GMCAPI_CMD_GSP_INIT failed: 0x65

NVRM: GPU0 nvAssertOkFailedNoLog: Assertion failed: Call timed out [NV_ERR_TIMEOUT] (0x00000065) returned from kgspSendInitRpcs(pGpu, pKernelGsp) @ kernel_gsp_gh100.c:1091

NVRM: GPU0 _kgspBootGspRm: unexpected WPR2 already up, cannot proceed with booting GSP

NVRM: GPU0 _kgspBootGspRm: (the GPU is likely in a bad state and may need to be reset)

NVRM: GPU0 RmInitAdapter: Cannot initialize GSP firmware RM

NVRM: GPU 0000:00:06.0: RmInitAdapter failed! (0x62:0x40:2130)

NVRM: GPU 0000:00:06.0: rm_init_adapter failed, device minor number 0

NVRM: GPU 0000:00:06.0 init failed during probe (ret=-5).

```

Only a full host reboot brought the card back.

(`objClInitPcieChipset: *** Unable to get PCI port handles` shows on every boot, including the good ones. bhyve puts the GPU straight on the guest's bus 0, with no PCIe root port above it. It seems harmless.)

## Troubleshooting

**Does the card support FLR?** On the host:

```

$ pciconf -lc pci0:1:0:0

...

cap 10[60] = PCI-Express 2 legacy endpoint max data 256(256) FLR RO

max read 512

link x8(x16) speed 2.5(32.0) ASPM disabled(L1) ClockPM disabled

...

```

Yes, it does.

**FLR from the host, with the VM stopped:** `devctl reset ppt0` and `devctl reset ppt1` (both silent). Then `vm start`: still "No devices were found".

**A PCIe link reset from the host:** `devctl reset pci1`. That's the bus under the root port, and FreeBSD's bridge reset disables the link and retrains it (a hot reset), saving and restoring the devices' config around it. First we checked that bus 1 holds only the GPU's two functions:

```

$ pciconf -l | grep 'pci0:1:'

$ devinfo -p pci1

pci1 pcib1 pci0 pcib0 acpi0 nexus0

```

Result: no change. The guest dmesg showed `unexpected WPR2 already up` again.

**Research:** this matches the known Blackwell "reset bug" reported for the RTX 5090 and RTX PRO 6000 under Linux KVM/VFIO. GSP firmware sets up a protected region (WPR2) that survives FLR, so the next driver start refuses to boot GSP. Links at the end.

**The idea:** if the guest's driver unloaded properly, GSP would tear WPR2 down itself. On a fresh card (after a host reboot), inside the guest:

```

$ lsmod | grep nvidia

nvidia_uvm 2088960 0

nvidia_drm 155648 0

nvidia_modeset 1556480 1 nvidia_drm

nvidia 16875520 2 nvidia_uvm,nvidia_modeset

$ sudo systemctl stop nvidia-persistenced # fine

$ sudo rmmod nvidia_uvm nvidia_drm nvidia_modeset nvidia # hangs forever

```

From a second SSH session:

```

$ sudo dmesg | grep -i nvrm

NVRM: Xid (PCI:0000:00:06): 56, pid=..., name=(udev-worker), CMDre 00000000 00000000 00000400 00000001 00000000

...

nvRmApiControl+0x46/0x60 [nvidia_modeset]

? nvRmVTSwitch+0x2d/0x40 [nvidia_modeset]

```

So the unload hangs in **`nvidia_modeset`'s VT switch** (handing the console back), in a VM where nothing is attached to the GPU's outputs. The same thing happens on reboot or shutdown. GSP never shuts down, WPR2 stays up, and the next start fails. (The `Xid 56` is a display-engine error, logged as `udev-worker` loaded the display modules at boot.)

## The fix

```

f=/etc/modprobe.d/nvidia-headless.conf

echo 'blacklist nvidia_drm' | sudo tee $f

echo 'blacklist nvidia_modeset' | sudo tee -a $f

echo 'install nvidia_drm /bin/false' | sudo tee -a $f

echo 'install nvidia_modeset /bin/false' | sudo tee -a $f

sudo update-initramfs -u

sync

```

Then one host reboot for a clean card. After it:

```

$ lsmod | grep nvidia

nvidia_uvm 2088960 0

nvidia 16875520 1 nvidia_uvm

```

| Test | Before the fix | After the fix |

|---|---|---|

| `sudo poweroff` in the guest, then `vm start` | hang | card back, about 45 s from poweroff to `nvidia-smi` |

| `sudo reboot` in the guest | hang | card back, about 40 s |

| `vm stop` (ACPI) from the host, then `vm start` | hang | card back |

| host reboot, VM autostarts (`vm_list`) | n/a | card back |

## Notes and caveats

- **Headless/compute only.** No display from the passed-through GPU in the guest. If you need the display modules, this isn't your fix. We didn't test a guest with a monitor on the GPU, where the VT switch might behave differently.

- **Don't hard-kill the VM** while the driver is loaded. That still leaves WPR2 up.

- **After a guest driver upgrade,** check the modprobe file is still there and `lsmod` shows only `nvidia` and `nvidia_uvm`.

- So far this is tested with `nvidia-smi` and repeated restarts.

- **KVM/Proxmox users with Linux guests:** we haven't tested on KVM, but if your guest is headless and you hit the Blackwell reset bug, this might be the same mechanism, and it's cheap to try.

- **For FreeBSD folks:** on the same host, a Maxwell GTX 960 couldn't be initialized in a bhyve guest at all (`RmInitAdapter failed`), as others report for older NVIDIA cards without the community bhyve patches. This Blackwell card with the open/GSP driver needed **no** bhyve patches on 15.1.

## Bonus: the same card on the FreeBSD host itself

Before passing it through, we ran the card on the FreeBSD host (Vulkan, for whisper.cpp). Two gotchas:

  1. **`nvidia-driver-580` hung at the first open:** `nvidia-smi` sat in state `D`, Ctrl-C did nothing, and shutdowns hung after "All buffers synced". The port's pkg message says GSP firmware is **off by default**, and some GPUs don't work without it. We switched to `nvidia-driver` 595.104.02 and added `hw.nvidia.registry.EnableGpuFirmware="1"` to `/boot/loader.conf`, and `nvidia-smi` worked. (Both changed together; GSP is the likely one.)
  2. **Non-root processes couldn't use the card** (root could). The Vulkan loader said `Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0`, and dmesg said `firmware_get_flags: insufficient privileges to load firmware image nvidia_gsp_ga10x_fw` and `RmInitAdapter failed! (0x61:0x56:2726)`. Without persistence, the driver powers the GPU down when the last client closes and loads the GSP firmware module again on the next open, and only root may load kernel modules. The fix is to keep it loaded: `sysrc kld_list+=nvidia_gsp_ga10x_fw`.

r/freebsd • • 5d ago Bravo

news FreeBSD 15.2-BETA3 Now Available

Thumbnail lists.freebsd.org
49 Upvotes

r/freebsd • • 10h ago Heartwarming

Up to eight times faster Wi-Fi on Intel 7000, 8000 and 9000 cards

Thumbnail
hyprbsd.org
30 Upvotes

Something we've been working on as part of HyprBSD development. We've submitted the patch upstream, whether it gets accepted or not remains to be seen. :P


r/freebsd • • 19h ago

article Bringing back Planet FreeBSD as Planet BSD

50 Upvotes

I have been working with Adrian Chadd to bring back the idea behind Planet FreeBSD: one place to catch up on what BSD developers and users are writing.

We are calling it Planet BSD because it includes writing from across the BSDs.

You can browse the site or subscribe to the Atom feed. Each post has a short excerpt and links back to the original author.

Which BSD blogs do you read that we are missing ?

Reply here or open a GitHub issue.

A link to the author’s blog is enough; an RSS or Atom URL is even better.

The current address is just the temporary home for this proof of concept.

The plan is to hand the repository and production feed over to the FreeBSD Foundation after the trial.

The feed is refreshed with a daily cronjob.


r/freebsd • • 16h ago

AI FreeBSD: Virtualization with bhyve – RTFM: Linux, DevOps, and system administration

Thumbnail
rtfm.co.ua
16 Upvotes

… The problem with Ubuntu jails is that there is no systemd – so I had to start Hermes Gateway and other services with a separate shell script (a hack, basically).
 
So I decided to explore the world of virtualization on FreeBSD and just create a separate VM with a “clean” Ubuntu installation – and run regular Docker containers with Hermes in it. …


r/freebsd • • 1d ago

article Sharing Dual-Licensed Drivers between Linux and FreeBSD

Thumbnail freebsdfoundation.org
5 Upvotes

r/freebsd • • 1d ago

discussion RTL8852BE (rtw89) on FreeBSD 16 was stuck at 802.11a / ~2.3 MB/s. Four loader tunables got it to VHT 80 MHz and ~20 MB/s

6 Upvotes

Hardware is a Dell Inspiron 15 3530 with a Realtek RTL8852BE, using if_rtw89.ko on FreeBSD 16.0-CURRENT. Out of the box the link associated, then sat at 802.11a (54 Mbps) and about 2.3 MB/s. These four issues were what actually capped it. All of them are loader tunables in /boot/loader.conf.local.

  1. HT and VHT are off in the driver by default. sys/contrib/dev/rtw89/core.c ships with rtw_ht_support=false and rtw_vht_support=false, so the card falls back to 802.11a. Turning both on negotiates 802.11ac VHT 80 MHz. Upload jumped to about 18.6 MB/s immediately. Download did not.
  2. RX A-MPDU stays off unless hardware crypto is enabled. With hw_crypto=0, sys/compat/linuxkpi/common/src/linux_80211.c clears IEEE80211_FHT_AMPDU_RX (-ampdurx), so receive aggregation never starts. Upload was already fine. Download stayed around 3.5 MB/s. Setting compat.linuxkpi.80211.hw_crypto="1" brings ampdurx back. On a single stream between two WLANs, download went to 20.0 MB/s (about 8.7× the original 2.3 MB/s). A direct WAN transfer on the same setup was in the 35–45 MB/s range.
  3. Association timed out on boot. dmesg showed association timed out and AUTH -> AUTH error 95. PCIe ASPM L1 / L1.2 / CLKREQ on this NIC drops management frames during the handshake. Disabling those ASPM bits and the driver's power-save mode made association reliable.
  4. This is not Wi-Fi 6 yet. The RTL8852BE and the rtw89 sources can do 802.11ax (HE). FreeBSD net80211 does not: there is no ieee80211_he.c, and linux_80211.c has no HE bridge. ieee80211.h only has the constants. Stable ceiling right now is 802.11ac VHT 80 MHz. HE (MCS 0–11, 256-bit BlockAck, BSS color, MU-EDCA) is still to do.

Reboot after that. Worth checking ifconfig wlan0 for VHT and ampdurx, not just that the interface is up


r/freebsd • • 23h ago

help needed cosmalia-artix-dinit - modern minimal linux for old and modern computers. Under 400Mb RAM

3 Upvotes

I'd like to port Cosmalia to FreeBSD but i'm worried that some dependency is missing.. I see an outdated cosmic-comp but dinit id working fine?


r/freebsd • • 23h ago

help needed Call for Testing: Zooming daemon for wl-roots based compositors (niri, hyprland, mangowm etc)

Thumbnail
codeberg.org
2 Upvotes

Hello r/freebsd ,

I am currently developing miru, a wayland native zooming daemon which can be used on wayland compositors like niri, hyprland and MangoWM. It has been tested extensively on Linux (On all 3 compositors) and in a FreeBSD VM (niri).

I would appreciate it if someone could test this on an actual FreeBSD machine (Not a VM please). To use miru with FreeBSD support please clone the freebsd_support branch

https://codeberg.org/Vaishnav-Sabari-Girish/miru/src/branch/feat/freebsd_support

PR's and Issues are welcome

Thank you


r/freebsd • • 1d ago

video FreeBSD Introduction Course – playlist – Persian | دوره مقدماتی FreeBSD – لیست پخش – فارسی

Thumbnail
youtube.com
7 Upvotes

r/freebsd • • 18h ago

AI I was tired of PHP, so I vibecoded my own Nextcloud for FreeBSD – Mathieu Aumont

Thumbnail
aumont.fr
0 Upvotes

… Beastbox is vibecoded (what a surprise), with Opus 5.5 (and a bit of Fable and DeepSeek for reviews) and some interesting skills like Ponytails.
 
I wrote the spec, the rules and the priorities, and I tested everything on my own hardware and VM, likes dozens of times, and the model wrote the code.
 
What made it work isn't really the model though, it's the plan I wrote before the first line of code. …


r/freebsd • • 23h ago

fluff Poll: Which logo or mascot would you like to see in FreeBSD?

0 Upvotes

Vote at the following link: https://strawpoll.com/7rnzVERNxnO


r/freebsd • • 2d ago

discussion FreeBSD and EVPN

10 Upvotes

Are there any serious efforts to get EVPN running on FreeBSD?


r/freebsd • • 2d ago

discussion Want to try desktop FreeBSD

20 Upvotes

I'm a long-time Linux and macOS user and I've been thinking of running FreeBSD on my desktop for the first time, wondering what everyone's experience here is

I'd like to run it on a 2nd gen Framework 13 (Intel) which should be old enough that drivers aren't an issue.

Would like to run KDE under Wayland, maybe Niri.

I'm a huge fan of how systemd works (launchd to an extent) and I haven't poked around with FreeBSD's init, are there alternatives that behave similarly (socket activation, service dependencies, simple config)

Thanks!


r/freebsd • • 3d ago WOW

AI Netflix Serves 400 Gbit/s From One Server. It Doesn't Run Linux — Here's What Beat It

Thumbnail
youtube.com
172 Upvotes

"One Netflix server can push 400 gigabits per second of video, more than 25,000 4K streams from a single box. It doesn't run Linux. Neither does your PlayStation 5, and for years neither did WhatsApp's servers. They run FreeBSD..."


r/freebsd • • 3d ago

help needed Need help to understand FREEBSD as a daily driver.

16 Upvotes

I have a thinkpad T520 (core i5 2nd gen, 8gb ddr3 ram), I am currently on Void linux, it stopped my distrohopping and so i am thinking to try freebsd as my dailydriver. The questions I have are:
how do i install third party software apart from ports? of course, there is a packages tool management to install from source but I have no idea how to build things from source. On void linux, i install apps from the void repo or just use appimages. But there is no such thing as appimages in BSD.
Do i have to install desktop environment manually or is there any BSD distro that have prebuilt Desktop Environment, preferably XFCE as my laptop is too old.

EDIT : Thanks for everyone's help, i have found that I can install almost any app I use in my case through ports. I hope i migrate to freebsd this weekend.


r/freebsd • • 3d ago

discussion Do you think FreeBSD will ever become a popular OS?

43 Upvotes

Like, I'm a newbie FreeBSD user and I want to get an opinion from the gurus of this operating system.

And yes, this is my first post or anything like that.


r/freebsd • • 3d ago

AI WordCraft in Firefox with fjord

Thumbnail
gallery
47 Upvotes

FreeBSD 15.1-RELEASE-p6 userland, 16.0-CURRENT host.

The first two screenshots show WordCraft v0.18.1 viewing files that were exported to .docx by PdfCraft v0.21.1 for FreeBSD.

The same version of PdfCraft is in the App Store in fjord.


r/freebsd • • 3d ago

discussion Steam Big Picture on bare-metal FreeBSD 16 with Intel Xe and Gamescope

34 Upvotes

I got Steam Big Picture running on a Dell Inspiron 3530 booted directly into FreeBSD 16.0-CURRENT. The screenshot is from the live Gamescope session on the laptop’s internal 1080p panel at 120 Hz. Gamescope is using Vulkan on the Intel Iris Xe (Raptor Lake-U), and the Linux Steam client runs through Linuxulator with Xwayland.

The broader project is a Linux 7.4-based LinuxKPI and DRM port for FreeBSD. I started from Linux 7.4-rc2, including DRM core, TTM, DMA-BUF, and Xe. The 7.4 test kernel now attaches Xe on the physical laptop and starts the Gamescope display test. The Steam screenshot is from the earlier working kernel build.


r/freebsd • • 3d ago Popcorn

AI Where is FreeBSD strongest today, and what would it take to regain broader leadership?

0 Upvotes

Hi everyone,

I’d love to hear from long-time users and developers about how you view FreeBSD’s position today and its path forward:

  1. In your experience, where is FreeBSD genuinely strongest right now compared to other systems?
  2. What direction do you think the project should take over the next decade—and what would it realistically take for FreeBSD to innovate further and regain broader market share?

r/freebsd • • 4d ago

help needed Instability in sshfs

Post image
12 Upvotes

I'm having problems with sshfs, and I don't know if there's an inherent instability in the tool, or in my system, or if it's to do with my very slow internet connection — or if I'm just using it badly. Can anyone help?

fusefs-sshfs-3.7.6, FreeBSD 15.1-RELEASE-p7, on a 2013 MacBook Pro with a USB wifi dongle made out of snails.

I mount a remote file system, it works. I list the contents of the mount point, it's good. I list a sub-directory, that's good too. But as I drill down, eventually I get "No such file or directory" and at that point it's all gone! The same thing happens if I just leave it alone for more than a couple of seconds, and it's the same whether I use ls or an Xorg file manager. If I go back to the mount point then I can see the contents again, rinse and repeat. If I open a file then it will probably load, but it'll drop after a couple of seconds.

Using rclone to mount my Dropbox works perfectly, at least I haven't encountered any issues.

Here's an example of my mount command:

sshfs -oIdentityFile=[LOCAL_PATH_TO_PRIVATE_KEY] [REMOTE_USER]@[REMOTE_IPV4]:/ [LOCAL_PATH_TO_MOUNT_POINT] -oServerAliveInterval=15

I've tried a few different values of ServerAliveInterval — 15 as above, also 1, something else I think, but I don't remember any of that making any difference.

Er... so I guess I'm doing something stupid and obvious, and I'd be really grateful for any advice!

Thaks so much,

Ben


r/freebsd • • 4d ago

AI FreeBSD: How Do You Tackle CVE Security Patch Cadence? – Klara Systems

Thumbnail
klarasystems.com
6 Upvotes

… FreeBSD is in the process of modernizing how vulnerability data is published, so systems can consume it as easily as humans. …


r/freebsd • • 5d ago

fluff My awesome ultimate FreeBSD Unix workstation

Post image
146 Upvotes

r/freebsd • • 3d ago

AI Since we have powerful AI, why not use it to improve FreeBSD?

0 Upvotes

Today that question came to me: since there are currently very powerful AI tools, why don't people try using them to test things in BSD? For example, making a port of the Linux bluez (Bluetooth) stack?

Or create a Network Manager compatible implementation for BSD that allows Gnome and KDE to use their native network connection applets