News for hackers. Stuff that matters.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by McNutty on Monday December 26, 2022 @04:05AM (#34135994)
As a Wi-Fi networking engineer who often scratches his head at a lot of the software posts on HN, it is super fun to be on the other side and see the types of comments being thrown around by you lot.

Also FYI you can rest assured that if you've engaged a semicompetent Wi-Fi professional to design the coverage in your office/campus/warehouse/etc then you don't need to worry about "the DFS problem" as it is well known and will have been accounted for in the design.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by wheybags on Monday December 26, 2022 @04:32AM (#34136116)
As a total amateur when it comes to electronics, let alone radio, what do you think would be the consequences if one were to hack their openwrt router to ignore dfs and just use the reserved channels without checking for radar? Not on a huge corporate network, just something like a single suburban home. Would the interruptions from interference of radar be less intrusive than the drops from changing channel? And is that sort of violation the kind of thing your local regulator would be scanning for and send someone out to shut you down?

Obviously it would be illegal, and I promise I'm not gonna do it whatever your answer is :p

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by hansel_der on Monday December 26, 2022 @05:05AM (#34136305)
> Would the interruptions from interference of radar be less intrusive than the drops from changing channel?

depends, hence the checking.

> And is that sort of violation the kind of thing your local regulator would be scanning for and send someone out to shut you down?

highly doubtfull

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by andreareina on Monday December 26, 2022 @05:07AM (#34136313)
The interruption when the FCC knocks on your door would be pretty damn intrusive.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by nine_k on Monday December 26, 2022 @05:23AM (#34136394)
Radars are pretty good at locating things. So, if that rogue wifi device interferes much enough to be noticed by the radar operator on some nearby airfield, the reaction from radio authorities will likely be swift.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by wkat4242 on Monday December 26, 2022 @06:07AM (#34136653)
This is not how it works. The AP is not actually responding to or reflecting the radar ping so the range detection won't work. If it even sees it it'll show up as a line from the center of the radar screen in the direction of the AP. It won't pinpoint it. But most likely it'll just add to the noise floor.

It'll still be possible to locate it with that info but it's more work unless you manage to interfere with two radars and they can triangulate. That's pretty unlikely for an indoor access point with only a few milliwatts though.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by rini17 on Monday December 26, 2022 @06:15AM (#34136695)
I saw meteorologists publicly shame rogue APs by name. This implies they do have means (directional antenna) to probe the source of interference and get information such as AP name, MAC address and distance.

https://www.shmu.sk/sk/?page=2037

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by wkat4242 on Monday December 26, 2022 @08:01AM (#34137309)
They wouldn't get this from the actual radar though. It must have been the result of further investigation.

I was mainly referring to the 'radars are good at pinpointing things' comment from the OP :) I wanted to clarify that an AP on this frequency won't show up as a dot on a radar screen. For the distance to be captured it must have an actual reflection.

You can even see some of the lines I mentioned in that pic!

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by Jenda_ on Monday December 26, 2022 @07:59PM (#34143702)
Radar receivers have a secondary output (or at least a waveguide coupler) where you can connect arbitrary equipment. So you connect standard wifi card to it, enable monitor mode and listen to all the MAC addresses and SSIDs (if they are not hidden) - directly though the giant radar antenna. (I really need to try it with our radar, I currently only detect packets based on their wide spectrum, but I have never decoded them)

There is even a software-based wifi demodulator (https://www.nuand.com/bladerf-wiphy/) so you can try to decode it from the IQ data, but they usually don't have enough bandwidth.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by formerly_proven on Monday December 26, 2022 @07:10AM (#34137027)
The way this works is someone notices a disruption and notifies the relevant authorities, which have detector vans to track down the emission sources. And they're quite good at that, too.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by wkat4242 on Monday December 26, 2022 @08:13AM (#34137363)
Indeed, I just wanted to clarify that the radar itself won't identify you as a 2D dot just like that. It needs further investigation.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by nine_k on Monday December 26, 2022 @08:02AM (#34137314)
The comment mentions "something like a single suburban home". I suspect a line drawn on the map in the direction of the signal may give a good enough idea which few suburban homes may be the culprits, simplifying the task of locating it from a van.

I may overestimate the angular precision of that though.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by Jenda_ on Monday December 26, 2022 @08:12PM (#34143800)
The beamwidth of a standard weather radar is 1 degree. You can get to maybe 0.3° accuracy if you are pinpointing the maximum carefully. So this is 400m at 70km distance - which is not that bad. You then need to evaluate which parts of this sector are actually visible from your radar site (using a digital elevation model) and then search in them (I have never done this). Depending on the location, the entire 100km line may be visible...

But you need to specially do this scan and carefully evaluate the maximum (tricky if it's transmitting only once in a while). When you are scanning normally, you are pointing a bit above the ground (you are scanning the sky, of course) and the beam may have several degrees at the ground level.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by patrakov on Monday December 26, 2022 @05:23AM (#34136395)
No need to hack anything. There are countries where DFS does not exist. Move there, install OpenWrt, set the country code appropriately in the GUI for both radios, enjoy both the fast WiFi and the good weather.

And regarding the reasons for DFS - it is not due to the radars posing interference for access points, it is the other way round. They are supposed to be able to pick up reflections from clouds and airplanes that literally carry less than a millionth of the power that a typical AP would radiate.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by m4rtink on Monday December 26, 2022 @08:12AM (#34137357)
Here in the Czech Republic you used to be able to see clear "wedges" on meteoradar images due to these types of interference, but it seems to be mostly solved now.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by aeonik on Monday December 26, 2022 @06:31AM (#34136792)
FCC fines for violating radio spectrum rules are huge, and they are authorized to confiscate equipment as well. I wouldn't recommend it.

Here is an example: https://www.fcc.gov/document/fcc-fines-hinson-dangerous-misu...

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by machinawhite on Monday December 26, 2022 @06:39AM (#34136842)
If I didn't see the post I would never think it's illegal. Also the FCC does not exist outside the US so is this relevant elsewhere?
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by lelandfe on Monday December 26, 2022 @06:47AM (#34136892)
https://en.wikipedia.org/wiki/Ignorantia_juris_non_excusat

> the FCC does not exist outside the US so is this relevant elsewhere?

Your own country likely has an analogue. Get thee to Google. Ofcom is the UK equivalent, for instance.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by Gordonjcp on Monday December 26, 2022 @08:50AM (#34137594)
Given that 5.8GHz WiFi and 5.8GHz weather radar are both licence-exempt services within an ISM band, you literally cannot pay Ofcom to take an interest.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by richardhod on Monday December 26, 2022 @09:38AM (#34137903)
Given the level of corruption within the current UK government, I would not necessarily agree with your use of the word literally here. But at least in law and in principle yes.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by Gordonjcp on Monday December 26, 2022 @10:48AM (#34138581)
The corruption is only in the leadership of the Tory party, really. That doesn't excuse it, or make it better in any way.

It just tells you who needs shot first.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by machinawhite on Monday December 26, 2022 @10:32AM (#34138357)
> https://en.wikipedia.org/wiki/Ignorantia_juris_non_excusat

What do I care about some law student latin?

I know the analog of the FCC in my country. I have not ever heard about them knocking on anyone's door, ever so that's why I'm asking questions?

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by salawat on Monday December 26, 2022 @10:50AM (#34138595)
Ignorance of the law does not excuse one from breaking. There is no freebie.

The world is a bitch in that it is your oyster, right up until you start impacting something everyone else is counting on. In that case, it is not infrequent for one to be made an example of.

That law student Latin there is a reminder that in spite of you "not knowing" something, the world still turns, you are expected to do some level of research, and there are people whose job is to just search for violations, and dispense a Notice of Apparent Liability to the perpetrator.

Hell, Amateur radio operators run what they call foxhunts when they notice something odd going on, because spectrum misuse impacts everyone.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by machinawhite on Monday December 26, 2022 @05:33PM (#34142662)
Thank you for explaining something that's not very complicated and was not relevant to my question I guess? Just because we have analogous agencies doesn't mean they are a carbon copy of each other and the radio spectrum stuff is not exacty mainstream knowledge.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by avian on Monday December 26, 2022 @06:50AM (#34136912)
Your country very likely has a government entity that regulates radio spectrum use and has means of enforcing it.

Messing with Doppler weather radar is a usually a big thing that impacts various important services. Even in relatively backwater countries you will get someone knocking at your door if you do this.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by machinawhite on Monday December 26, 2022 @10:35AM (#34138387)
That makes sense, but I thought I'm messing with my router to have faster WiFi and not with some weather radar that I don't even know exists
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by mcpherrinm on Monday December 26, 2022 @10:45AM (#34138532)
The DFS checks exist to prevent your radio from interfering with the weather radar. You’re only allowed to own a radio that could cause such interference because it has those checks.

Here’s an example of what it can look like on the weather radar side: https://www.reddit.com/r/techsupportgore/comments/lnxdji/whe...

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by machinawhite on Monday December 26, 2022 @05:38PM (#34142697)
Is this from a consumer WiFi or from some bigger antenna?
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by kube-system on Monday December 26, 2022 @11:14AM (#34138890)
This is why spectrum in many countries requires users and/or devices to be licensed.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by sam345 on Monday December 26, 2022 @08:12AM (#34137358)
probably not the best example. the guy impersonated a first responder resulting in no one responding to a fire alarm ; https://www.arrl.org/news/fcc-fines-north-carolina-man-for-u.... https://docs.fcc.gov/public/attachments/FCC-19-82A1_Rcd.pdf
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by billatq on Monday December 26, 2022 @12:21PM (#34139629)
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by karteum on Monday December 26, 2022 @08:36AM (#34137497)
Well, you are both showing that you know it is illegal, yet asking "what would be the consequences ?". Of course if you get caught you would both have your hardware confiscated and experience a very severe fine (and possibly worse than just a fine if there were consequences in terms of interferences).

People who operate radars (in particular radars for weather forecasts) are now really upset of the recurring interferences that come from wifi devices with (illegally) disabled DFS. Keep in mind that weather forecasts is not only about consumer people watching TV to know whether tomorrow will be sunny or rainy, but is also safety-related (e.g. for flights and navigation. You don't want your flight to be caught in a storm !).

That kind of attitude (e.g. with openwrt) will at the end lead Radio administrations to require locked hardware (locked bootloader and signed firmwares) in order to ensure that DFS cannot be disabled (as required by administrations, at least in Europe). That would be a pity for any embedded linux geek...

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by stefan_ on Monday December 26, 2022 @10:26AM (#34138309)
No, there are plenty of modern weather radars now that have nothing to do with 5 GHz. This is a good example of how the FCC managing spectrum is the furthest thing possible from a good allocation; trillions of economic activity are driven by use of unlicensed bands, yet because there is nobody in particular ready to put up billions for a slice of spectrum, we end up with the FCC "design by committee" process for releasing them. That means whoever happened to be there is considered some sort of "lifetime incumbent" that must be worked around at all costs, even if their use of prime spectrum is absurdly wasteful. Challenged with the choice between "incur $ costs on few" or "incur $$$ costs on many", the FCC will consistently pick "incur $$$$ on all".
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by karteum on Monday December 26, 2022 @11:01AM (#34138727)
This comment above is a good example of someone having stereotypes about RF administrations without actually knowing their field of expertise... It's not the matter of "unlicensed application don't pay license fees so administrations don't want them" (even though whenever you want to move an application out of a band, someone has to pay for the new equipment. But that's another topic and various countries have various process for that), but a matter of the laws of physics : various frequency bands have various physical properties and this applies not only to radio propagation but also (maybe more importantly) to measurements related to the molecules you want to observe. There are reasons why some bands and not others are dedicated to radars (and even more : some bands are fully passive because they are required for calibration and scientific measurements). So yes there are weather radars in other bands than 5 Ghz... so what ? Different radars measure different things and they are complementary (just like having different low/high bands for mobile operators are complementary for them). Before saying that the use of spectrum is "absurdly wasteful", you should show your thorough knowledge of the topic...

Keep in mind that whenever a new application appears, detailed technical analysis and simulations have to be done with regards to the other applications in co-channel and adjacent channel/bands, both with regards to direct interference, aggregated interference taking into account the projected density of the new spectrum use, clutter/terrain, propagation models, geometries of antennas, filter characteristics, etc. And even then, administrations do their best to find the right balance and enable as many applications as possible (including unlicensed and SRD), but those are tradeoffs and sometimes administration take risks to foster innovation (and sometimes it proves it was too permissive for the new user, such as what is happening now with regards to wifi vs weather radars).

(N.B. I am not in the US, but I guess FCC works similarly to EU administrations - which I know very well).

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by supertrope on Monday December 26, 2022 @11:31AM (#34139107)
Ensuring pilots and air traffic control can monitor for microbursts is very important. https://www.kahuna-fi.com/post/dfs-tpc-tdwr

Following the rules (DFS) is fair ask to be able to access these additional 5 GHz channels.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by wpietri on Monday December 26, 2022 @12:04PM (#34139479)
I certainly get why the FCC would tread lightly around "lifetime incumbents". In a civilized country people would look at the overall issues, recognize it as a collective problem, and support using shared money to reorganize things to society's long-term benefit. But in the US the incumbents would squawk about government overreach and creeping socialism and how President John Wayne gave their grandpappy that spectrum and it was their god-given right to use it without communist agitators trying to take it away, using taxpayer money to boot.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by jeroenhd on Monday December 26, 2022 @10:01AM (#34138099)
Pick a channel outside the DFS range. Not every 5GHz channel is affected, only a subset of channels is.

If you do cause interference with weather radar, there's actually a chance that the authorities take action. WiFi interference isn't hard to scan for at all, even or you disable broadcasting your SSID on the channels you're interfering on.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by quetzthecoatl on Monday December 26, 2022 @10:58AM (#34138691)
even if you set a dfs channel manually (editing hostapd config or cli) if you are using qualcomm/atheros or broadcomm chipsets, they will automatically move you out once it detects radar. At least with QCA/Atheros chipsets they used to have both compiletime and runtime flags to enable/disable most features (including dfs). Also, FCC fines are huge when it comes to dfs violation - as dfs spectrum is for emergency communication (military, natural disasters etc). There are radar simulators with which you can test this.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by walrus01 on Monday December 26, 2022 @04:18AM (#34136054)
In my experience as an ISP 95% of small businesses have no money or inclination to hire someone such as yourself to architect their LAN, sadly, resulting in worse results for them. They just buy whatever has more spikey antennas at best buy and hope it works.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by yardstick on Monday December 26, 2022 @04:51AM (#34136212)
> then you don't need to worry about "the DFS problem" as it is well known and will have been accounted for in the design.

What does this mean? The DFS check doesn’t exist? Or they just reboot nearby devices several minutes apart to allow enough time for DFS to complete?

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by LevelAd8 on Monday December 26, 2022 @05:26AM (#34136410)
Some chipsets can have the main cores operating in non DFS channels while one of the cores performs the CAC and only move into DFS ISM after (they implement what's called zero-wait DFS)
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by jhartwig on Monday December 26, 2022 @05:16AM (#34136352)
I was wondering the same. What does a 'competent professional' do differently here?
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by TrueDuality on Monday December 26, 2022 @08:08AM (#34137335)
Not all 5Ghz channels are affected by the DFS requirement. The DFS channels are more country specific than other WiFi band frequency restrictions. Usually the best course of action (or at least the one my coworkers and myself take) is to simply deny the band plan the use of those channels.

A lot of consumer routers I've seen don't even expose the DFS channels as an option to avoid this problem (looking at you Motorola mesh products). It's not a problem just kind of funny to see.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by McNutty on Monday December 26, 2022 @02:56PM (#34141166)
Put simply there will be two aspects taken into account in the 5GHz Wi-Fi design.

Firstly, a coverage aspect of the design which will ensure that any given spot has a primary and secondary (and sometimes tertiary) AP radio providing appropriate RSSI.

Secondly, a channel plan that ensures that the DFS channels are not allocated to the primary and secondary radios. So if a client station's primary AP get taken offline for a minute by DFS then that station can immediately roam to the stable channel and maintain a decent RSSI.

Additionally, there may be some environments where the DFS channels are not enabled on the equipment at all. For example, many cheaper devices (think low end android phones) don't support DFS channels at all, so if there are many such devices in the area (e.g. College campus populated by poor students) then every radio running a DFS channel is effectively a coverage hole and therefore better to not use those channels at all.

obtaining the govt certifications for using DFS channels does add to the cost of the chipset so cheapest chipset simply don't do it.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by lifeisstillgood on Monday December 26, 2022 @05:00AM (#34136263)
As someone who just "plugs and hopes" what steps should one take in building a small network - from running basic scans to see what else is in the area, strengths, and simply going "screw it lay down some cable"

What's the best practise in other words

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by patrakov on Monday December 26, 2022 @08:07AM (#34137333)
The trick is to choose a list of potential noise-free channels in the 5 GHz band, instead of one channel. Ideally channels that require DFS in at least one country, because a lot of cheap customer-grade network equipment (other than wireless cards) has them hard-disabled. E.g. TP-Link Archer C7 cannot be set to channel 56 using the stock firmware, even though the hardware itself is perfectly capable of transmitting on this channel and of radar detection. In short, DFS channels are good because you know your neighbors will not be using them.

Then install OpenWrt (even on that TP-Link Archer C7 if you want), set "channels" to the list of channels that you identified (unfortunately this property is available only from the command line), and "channel" to auto. Then OpenWrt will select one of these channels after a one-minute delay, and jump away (but only to another known-good channel) if there is a radar.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by jiggawatts on Monday December 26, 2022 @05:11AM (#34136324)
In the software world we call the overall phenomenon in the article a leaky abstraction.

We all pretend that WiFi is this magic thing that allows our devices to transmit data, but in fact there are all these little details of reality "leaking through" that abstraction.

For example, it seems that instead of power cycling everything at once, WiFi should be turned on first to ensure that there is sufficient time for 5 GHz to be available. I sometime reboot my TV, Router, WiFi, and set-top-box simultaneously by simply turning the power board they're all connected to off and on. From now on I'll do them separately and in sequence...

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by codazoda on Monday December 26, 2022 @09:34AM (#34137880)
I started doing this about a year ago. Not because it takes longer to boot up, but because I was trying to see which single device was most often the solution.

In my setup there is a fiber modem (outside the house), a Wi-Fi router, and then all the connected devices.

Oddly, the one that I need to restart the most, seems to be my Mac. Realizing, of course, the problem could still be on the router side, but turning wifi on and off on the laptop usually solves my problem.

I rebooted one device at a time for about a year and made notes about each failure. I didn’t see the pattern until I had done this for a long time.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by salawat on Monday December 26, 2022 @10:38AM (#34138426)
I am not impressed with Macbooks networking, or specifically the wireless on the Intel Macs. I've gone through three and ended up with such severe wifi issues, that I inevitably ended up switching to a wired dongle for anything serious/in need of stability.

Never really had a more fickle laptop as far as wireless goes. Only a VAIO VPCZ1 after ten years of abuse as a gaming machine/daily driver started to get close. Again though, that's after 10 years. A Macbook will manifest that behavior within the first year for me.

The frustration has gotten me to the point I'm reading up on USB/PCI-E/datasheets implementation/protocol details so I can actually try figuring out WTF could be the cause.

Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by marcosdumay on Monday December 26, 2022 @10:22AM (#34138277)
Restarting everything at once can break all kinds of subsystems. Even if the radio interference wasn't an issue here, you would still get high odds of them not connecting cleanly to the network because of something else.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by drdaeman on Monday December 26, 2022 @10:46AM (#34138542)
Restarting everything should be a highly recommended test step before going to production, no matter what the system. Catches so many problems based on the assumptions that one may not fully realize. And some day it will have to be done anyway (unless the system is extremely redundant in all aspects), so best to test it sooner than later.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by topranks on Monday December 26, 2022 @03:04PM (#34141252)
I’m not really sure it’s a “leaky abstraction”. Technical detail or something, I fail to see how it’s an abstraction to have this constraint in the WiFi standard.
Re:The 5GHz “Problem” for Wi-Fi Networks: DFS (2018) by bmitc on Monday December 26, 2022 @05:49AM (#34136546)
Do you have a reference or setup guide that walks you through best practices on how to most efficiently setup a home WiFi network?