A distracted driver, a motorcycle crash, and the terrifying wait to see if I would ever walk again.
https://my-notes.dragas.net/2026/02/02/the-weight-of-a-millimeter/
#MyNotes #Blogging #Life #Reflections #Memories #WiFi #Hacking
So, after I met problems with iwlwifi driver and my attempts to aggregate both em0 and wlan0 interfaces to the one lagg0 interface (https://mastodon.bsd.cafe/@evgandr/115985853500057386) — looks like I found a much (MUCH!) simpler solution 
I wanted to automatically switch between wired and wireless networks when I plug-in (or disconnect) my Ethernet cable. First, because I was a newbie in the FreeBSD world, I tried to search for some kind of NetworkManager. Thankfully, I didn't find any NetworkManager clone ported to the FreeBSD. I found some tries to port NetworkManager from Linux to FreeBSD but all of them are failed (not surprised, lol).
Then, I finally started to read documentation
. In the section about advanced networking I read about aggregation interfaces. And somehow I managed to aggregate both of em0 and wlan0 to the one lagg0 interface and it works well.
But, looks like (see https://mstdn.social/@erikarn/115986265106931691) it is not the way how the lagg interfaces should work. It is not intended to use wireless interfaces in the aggregate interfaces — so my tricky setup stopped working in the FreeBSD 15.0.
BUT, since we have a beautiful devd daemon, which listens for various system events and able to execute actions when event is happened — I just wrote 23 lines of shell script to learn my laptop how to switch between interfaces when the Ethernet cable (dis)connects, lol. Solution is very simple:
First, we already have /etc/devd/dhclient.conf, which starts dhclient when some interface appeared in the system. I modified it, so it calls the sPeCiAL script, each time when em0, or wlan0, or ue0 interface appeared in the system, or when em0 is disappeared:
notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifup";
};
notify 0 {
match "system" "IFNET";
match "type" "LINK_DOWN";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifdown";
};
notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "802.11";
action "/root/bin/unfuck_network.tcsh $subsystem";
};
notify 0 {
match "system" "ETHERNET";
match "type" "IFATTACH";
match "subsystem" "ue0";
action "/root/bin/unfuck_network.tcsh ue0";
};
Then, the main magic happens in the /root/bin/unfuck_network.tcsh:
— When Ethernet cable is connected — it destroys the wlan0 interface and starts dhclient for em0 to talk with DHCP server.
— When Ethernet cable is disconnected — it makes all to remove route using em0 from routing table (removes em0 interface completely, flush routing table, etc — somehow em0 still stays in the routing table if interface is not destroyed; btw system will create it anyway later, in some point) and recreates the wlan0 interface.
— When wlan0 device is created — it starts dhclient for it.
Script contents (for tcsh):
#!/bin/tcsh
switch ( $1 )
case "em0":
if ( $2 == "ifup" ) then
service netif quietstop wlan0
service dhclient quietstart em0
else if ( $2 == "ifdown" ) then
service dhclient quietstop em0
ifconfig em0 delete
route flush
service routing restart
service netif quietstart wlan0
endif
breaksw;
case "wlan0":
service dhclient quietstart wlan0
breaksw;
case "ue0":
service dhclient quietstart ue0
breaksw;
endsw
So, after I met problems with iwlwifi driver and my attempts to aggregate both em0 and wlan0 interfaces to the one lagg0 interface (https://mastodon.bsd.cafe/@evgandr/115985853500057386) — looks like I found a much (MUCH!) simpler solution 
I wanted to automatically switch between wired and wireless networks when I plug-in (or disconnect) my Ethernet cable. First, because I was a newbie in the FreeBSD world, I tried to search for some kind of NetworkManager. Thankfully, I didn't find any NetworkManager clone ported to the FreeBSD. I found some tries to port NetworkManager from Linux to FreeBSD but all of them are failed (not surprised, lol).
Then, I finally started to read documentation
. In the section about advanced networking I read about aggregation interfaces. And somehow I managed to aggregate both of em0 and wlan0 to the one lagg0 interface and it works well.
But, looks like (see https://mstdn.social/@erikarn/115986265106931691) it is not the way how the lagg interfaces should work. It is not intended to use wireless interfaces in the aggregate interfaces — so my tricky setup stopped working in the FreeBSD 15.0.
BUT, since we have a beautiful devd daemon, which listens for various system events and able to execute actions when event is happened — I just wrote 23 lines of shell script to learn my laptop how to switch between interfaces when the Ethernet cable (dis)connects, lol. Solution is very simple:
First, we already have /etc/devd/dhclient.conf, which starts dhclient when some interface appeared in the system. I modified it, so it calls the sPeCiAL script, each time when em0, or wlan0, or ue0 interface appeared in the system, or when em0 is disappeared:
notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifup";
};
notify 0 {
match "system" "IFNET";
match "type" "LINK_DOWN";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifdown";
};
notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "802.11";
action "/root/bin/unfuck_network.tcsh $subsystem";
};
notify 0 {
match "system" "ETHERNET";
match "type" "IFATTACH";
match "subsystem" "ue0";
action "/root/bin/unfuck_network.tcsh ue0";
};
Then, the main magic happens in the /root/bin/unfuck_network.tcsh:
— When Ethernet cable is connected — it destroys the wlan0 interface and starts dhclient for em0 to talk with DHCP server.
— When Ethernet cable is disconnected — it makes all to remove route using em0 from routing table (removes em0 interface completely, flush routing table, etc — somehow em0 still stays in the routing table if interface is not destroyed; btw system will create it anyway later, in some point) and recreates the wlan0 interface.
— When wlan0 device is created — it starts dhclient for it.
Script contents (for tcsh):
#!/bin/tcsh
switch ( $1 )
case "em0":
if ( $2 == "ifup" ) then
service netif quietstop wlan0
service dhclient quietstart em0
else if ( $2 == "ifdown" ) then
service dhclient quietstop em0
ifconfig em0 delete
route flush
service routing restart
service netif quietstart wlan0
endif
breaksw;
case "wlan0":
service dhclient quietstart wlan0
breaksw;
case "ue0":
service dhclient quietstart ue0
breaksw;
endsw
The Weight of a Millimeter
A distracted driver, a motorcycle crash, and the terrifying wait to see if I would ever walk again.
https://my-notes.dragas.net/2026/02/02/the-weight-of-a-millimeter/
#MyNotes #Blogging #Life #Reflections #Memories #Blogging #WiFi #Hacking
So it seems that one of my wifi access points on my home network has died.
Can't say it owes me much, it's about 9 years old.
What's a good brand for wifi access points these days? My old one was TP Link, which gave me 9 years of trouble-free wifi, so I would be fine with getting another one, but I'm open to other suggestions.
Briar keeps Iran connected via Bluetooth and Wi-Fi when the internet goes dark
https://briarproject.org/manual/fa/
#HackerNews #Briar #Iran #Bluetooth #WiFi #Connectivity #InternetAccess
Two new Xfinity techs are here. They took a look at the wording behind the coaxial wall plate; It was ancient and apparently there was an incredible amount of signal noise. They replaced it.
But it's still a mystery as to why rebooting the router fixed the problem about 70% of the time. So we're going to have to wait and see what happens. If it starts crashing again, it may be that the router is being interfered with by electrical noise that's not on the coax, but on the power supply. But it's plugged into a UPS, so that shouldn't be the problem.
It's also possible that one of the four devices connected to the router by Ethernet could be kicking back somehow, but again that's going to take monitoring to figure out.
Right now we're hoping that the problem is solved. They gave us two new CAT 6 cables to connect the modem to the router and the router to my desktop.
And while he was down there, Sebastian discovered several unused USB ports in the back of my computer. Don't know how I missed those before! That makes eight ports total. So now I can hook up several more SSD drives.
Here's hoping this is the end of the matter!
People who know about internets - my WiFi is still dropping (about every 15 mins on video calls for a few seconds regardless of platform).
We have a repeater thingy now that actually works so I have full strength in my room, so it's not that anymore. And the problem has changed/improved.
Do I need to upgrade the WiFi to more faster better stronger?
What is the problem?
Why does it hate me?
We're with Zen full fibre 100.
Speed test: https://www.speedtest.net/result/18705967157
People who know about internets - my WiFi is still dropping (about every 15 mins on video calls for a few seconds regardless of platform).
We have a repeater thingy now that actually works so I have full strength in my room, so it's not that anymore. And the problem has changed/improved.
Do I need to upgrade the WiFi to more faster better stronger?
What is the problem?
Why does it hate me?
We're with Zen full fibre 100.
Speed test: https://www.speedtest.net/result/18705967157
Asking the Fediverse Hive Mind About WiFi routers:
I'm moving to a home where fibre high speed internet is available.
In order to avoid the monthly fee for the service provider's router, I'd like to provide my own.
Are there brands or models you kind folks would recommend?
I'm looking for something offering a good product at a reasonable price. (WiFi 7 seems worth getting.)
Dependable would also be nice.
Thanks to those who would be kind enough to boost.
#FediverseHiveMind #FediTechSupport #FediAnswers #WiFi
I built a quantum internet that runs on your WiFi
https://github.com/mermaidnicheboutique-code/luxbin-quantum-internet
#HackerNews #quantuminternet #WiFi #technology #innovation #hackernews #coding #quantumcomputing
Asking the Fediverse Hive Mind About WiFi routers:
I'm moving to a home where fibre high speed internet is available.
In order to avoid the monthly fee for the service provider's router, I'd like to provide my own.
Are there brands or models you kind folks would recommend?
I'm looking for something offering a good product at a reasonable price. (WiFi 7 seems worth getting.)
Dependable would also be nice.
Thanks to those who would be kind enough to boost.
#FediverseHiveMind #FediTechSupport #FediAnswers #WiFi
WiFi 7 is fast, but WiFi 8 promises higher throughput and lower latency for better stability. The spec won't be finalized until 2028, but Broadcom, MediaTek, and device makers are already showing the first WiFi 8 products, set to launch later this year. https://www.theverge.com/tech/856883/ces-2026-wi-fi-8-asus-broadcom-mediatek #WiFi #WiFi8 #CES2026 #Asus
Anyone looking for an affordable home / small office mesh #network #wifi
I've been incredibly happy with the TP-Link Deco stuff.
I have it in my house, my parents house and just upgraded my coworking place with it.. and its amazing!
https://www.amazon.com/TP-Link-Deco-AXE5400-Tri-Band-XE75/dp/B0B88T5RDY/?th=1
Bad Wi-Fi at home? Try my 10 go-to ways to fix your internet this weekend https://zdnet.com/home-and-office/networking/bad-wifi-10-fixes-for-better-internet/ via @ZDNet & @sjvn
Some easy ways to improve your #WiFi on the cheap.
Bad Wi-Fi at home? Try my 10 go-to ways to fix your internet this weekend https://zdnet.com/home-and-office/networking/bad-wifi-10-fixes-for-better-internet/ via @ZDNet & @sjvn
Some easy ways to improve your #WiFi on the cheap.
If you are using #OpenBSD and #wifi and #ssh in combination, try this patch: https://marc.info/?l=openbsd-tech&m=176478017209845&w=2
🇷🇺 🦮 📶 The future is here!
In #Russia, stray #dogs are getting a side hustle as moving Wi-Fi routers, to increase their chances of getting adopted - not a joke!
https://lai-fi.com
https://meduza.io/en/feature/2025/12/04/russian-initiative-turns-stray-dogs-into-wifi-hotspots-to-keep-people-online-during-blackouts
#news #article #wifi #routers #blackout #internet #adoption #adopt #animal #animals #animalrights #animalwelfare #gear #backpack #dog #dognews #russian #russians #rus #it #tech #technology #stray #mobile #новости #вайфай #роутеры #блэкаут #интернет #усыновление #усыновить #meduza
If you are using #OpenBSD and #wifi and #ssh in combination, try this patch: https://marc.info/?l=openbsd-tech&m=176478017209845&w=2
FreeBSD Friends!
Anyone that is running 15.0-RC4 have experience with wifi 6 support via the MediaTek MT76 chipset devices?
USB, M2, other? Link to the device you've had success with?
My target is OPNSense when it goes to 15 but may spin up a dedicated mini access point with FreeBSD in the meantime.
Other Wifi6 devices that are compatible with 14 that deliver Wifi6 speeds?
TIA!