Anyone here has experience doing a "Wi-Fi box" in NetBSD? I wonder how big is the overhead. Both in user effort and computer resources.

When I was younger I used to run a *very slow* virtual machine with Windows XP while daily-driving Linux. So I could interact with government webpages, banks, University software, etc. Anything that I couldn't do in Linux was done in this winXP VM.

Now I'm getting close to do something similar. A light VM with linux to do anything that I can't in NetBSD.

I still don't truly daily-drive NetBSD: I'm writing this tooth from my Linux Mint laptop, for example. To use the Wi-Fi from this machine, I still need a Linux driver, but I'm starting to pet the idea of a small VM + PCI passthrough to setup Wi-Fi, and use that VM as a router.

Something tells me that battery life will be even shorter than it is now. But it would be better to hear that from people who have actually done something like that.

#wifi #wifibox #NetBSD #runbsd

It seems like support for wifi hardware, especially the stuff built into most usb dongles, isn't that supergreat on #freeBSD .
But some nice person built a thing called #wifibox, which is "linux running in a (https://freebsdfoundation.org/our-work/journal/browser-based-edition/virtualization-2/wifibox-an-embedded-virtualized-wireless-router/) bhyve-vm and taking care of all the wifi stuff with it's better drivers". This looks definitely worth a try and might just solve my hardware-shopping problems.
Wifibox: An Embedded Virtualized Wireless Router | FreeBSD Foundation

Due to changes in life priorities, I drifted away from FreeBSD for a few years around 2017. Later I returned and started building a new FreeBSD-based workstation for myself, a Lenovo ThinkPad X220. I noticed that although it was working, the wireless support was still far from optimal, the iwm driver was neither stable nor peformant enough for daily use.

FreeBSD Foundation | A non-profit organization dedicated to supporting and building the FreeBSD Project

Huh, looks like with my Chinese copy of Intel 8260 AC (TL-8260D2W) — the iwlwifi is the good choice since the great work made by #FreeBSDFoundation Laptop Initiative  

(if I don't care about upload speed. And yes, I don't care)

Iwm driver: 10.1 Mbps / 2.6 Mbps download/upload, 29 ms jitter (1st screenshot)

Iwlwifi: 22.4 Mbps / 5.0 Mbps download/upload 0 ms jitter (2nd screenshot)

Wifibox: 17.4 Mbps / 27.8 Mbps download/upload, 0 ms jitter (3rd screenshot)

Obviously the same (shitty) AP from ISP was used.

#FreeBSD #wifibox #Wifi #networking

my WiFi performance after using WiFiBox. almost double from initial speed. I hope FreeBSD stabilizes the driver as soon as possible.

#freebsd #wifibox

テレコムスクエア、関西国際空港第1ターミナルビルに出店。Wi-Fiレンタル、eSIM販売など

 テレコムスクエアは、3月18日に関西国際空港第1ターミナルビル 4階 国際線出発フロア(大阪府泉佐野市泉州空港北)に有人店舗をオープンする。

トラベル Watch
テレコムスクエア、夢洲駅でWi-Fiレンタル「WiFiBOX」のサービス提供を決定

 テレコムスクエアはWi-Fiレンタルサービス「WiFiBOX」を、1月19日に開業予定の夢洲駅で提供することを発表した。

トラベル Watch
Virtualization | FreeBSD Foundation

Table of Contents (Now available in Both HTML and PDF)

FreeBSD Foundation | A non-profit organization dedicated to supporting and building the FreeBSD Project
テレコムスクエアの「WiFiBOX」、アミュプラザみやざき設置で47都道府県へ展開完了

 テレコムスクエアは11月1日、セルフWi-Fiレンタルサービス「WiFiBOX」を宮崎駅隣接の「アミュプラザみやざき ひむか きらめき市場」(宮崎県宮崎市錦町1-8)に設置した。

トラベル Watch

A lot of times I used i3status+i3bar to display info on i3 main panel. BUT, when I started using #wifibox on my #FreeBSD laptop, I found that i3status can't display info about WiFi, because WiFi network interface is inside #bhyve Linux VM

So, I switched to i3blocks. Now, with a little script, I can see all necessary info from wpa_cli and much more. i3 main panel becomes clickable! So now clicking on datetime opens calendar in Emacs, click on WiFi info opens wpa_gui and so on

#i3 #i3wm #freebsd

My script to get #wifibox working after waking my laptop from sleep. it works, for me.

wifibox_restart.sh
#!/bin/sh
#sudo service netif restart wifibox0
echo netif stop | lolcat
doas service netif stop
echo wifibox restart | lolcat
doas wifibox stop
doas wifibox start
echo netif start | lolcat
doas service netif start
##echo dhclient wifibox | lolcat
##doas /sbin/dhclient wifibox0
echo routing restart | lolcat
doas service routing restart
echo dns sinkhole reload | lolcat
doas bastille restart unbound_blocker
echo ping check | lolcat
ping -c 3 1.1.1.1
echo dns check 1 | lolcat
dig pfsense.xmcnetwork.com
echo dns check 2 | lolcat
sleep 1
dig apple.com
echo done | lolcat
sleep 3