upvote
Step one is not to buy TP-Link routers.

I know people have limited budgets, but having seen the code that sits on these devices and how poor quality and easily exploited it is, time and time again, I'll never buy TP-Link (amongst others) again.

For a while I collected a graveyard of routers that had been abandoned by the manufacturers (and contained serious vulnerabilities), with the intention of writing them all up one day; next thing you know I have two children rapidly reaching double-digit ages, and much better things to do with my life than write about how shitty the code is on actual products we buy every day.

I switched, about 7-8 years ago to a Protectli box running Coreboot and OPNSense and haven't looked back; I use Ubiquiti APs and switches. I'm not saying they're the best, but anything used in corporate/enterprise is going to have better support (if not better code quality).

The great thing about Ubiquiti APs for me is that each new WiFi generation (or two) I can just buy a few more, snap the existing APs off of the various ceilings they're attached to, snap on the new ones, adopt them, and away we go.

reply
Or, buy a TP-Link router and flash it with OpenWrt. Best of both worlds.
reply
Then every upgrade flash becomes an ass-clenching experience. I’ve been down this path.

It’s a lifestyle choice… until you’re up at 3 AM rebuilding everything because you bricked your AP by flashing openwrt-24.10.0-ath79-generic-tplink_archer-c7-v2-squashfs-factory-FOR-C7-V5-EU-NOT-V2-US.bin and not openwrt-24.10.0-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin.

reply
There is a one click update in the WebUI now, no need to flash random bins
reply
This is good news then. I divested from the OpenWRT ecosystem about 7 years ago because of an experience similar to my example.

Case in point was an Asus RT-56N router that I had to replace with ISP wifi.

reply
I mean, these days you can just let Claude do it if you don't care for such minutiae... I was skeptical, but it got it done perfectly.

It also discovered my fast roaming settings were incompletely setup and that I was using a 5GHz channel that needed 60s to turn on due to regulations (DFS channels).

reply
I'm at a loss why you would put a random number generator in front of such a sensitive operation. It's literally a matter of time before the output sampler chooses a somewhat-less-probable string like the one xatt posted. Or just deletes your stuff.
reply
Because I've done it a million times and wanted to see what the "random number generator" is capable of? Because I have config backups/know how to unbrick?

You should try it, you might be surprised how thorough it is. It certainly checked more things pre/during/post-upgrade than I did to make sure everything goes smoothly. And definitely more than xattt, apparently ;)

reply
I understand that it works most of the time. I just want to be clear about what the stakes are.

"Because I have config backups/know how to unbrick?" This is the important part for me. I'm not going to gamble with more than I can afford to lose.

reply
The same recovery paths and risk boundaries apply as always.

If anything, these "random number generators" (which they aren't, do not ever use them for that, obviously) are:

- even more cautious,

- more readily take, stash, test and use backups,

- check for and take recovery paths,

- do dry runs,

- consider interruptions,

- mine for more information,

- smoke-test more,

- and are better equipped to do both deeper and wider analyses when encountering problems,

than the typical person.

reply
I'm being very literal about the randomness. The language model outputs a distribution over all possible output tokens, and the chosen output is sampled from that distribution. The process intentionally includes output that is not the top-ranked token according to the model.
reply
Think about that for like two seconds.

Yes, randomness is involved, except you're destroying the snot out of it by biasing it to hell and back with those billion-trillion parameter models in front of the sampler.

Alternatively, check the difference between an arbitrary ChatGPT prompt response, and the output of the following:

  import tiktoken, secrets
  
  enc = tiktoken.get_encoding("o200k_base")
  tokens = tuple(enc._mergeable_ranks.values())
  msg_len = 128 + secrets.randbelow(2048 - 128)
  token_ids = [secrets.choice(tokens) for _ in range(msg_len)]
  print(enc.decode(token_ids))
You'll note that they're not much alike. You may also note that with LLMs you can set the "temperature" parameter to zero, in which case the sampling is no longer randomized. So much so, that given various runtime conditions, passing in the byte exact input will return the byte exact output, every time. Possibly across machines, depending on the inference engine used.

Even if you mean it on a "higher level", imbued into the language emitted, do feel free to ask a model with disabled tool calling to give you some random numbers / words. You'll find that it isn't very random. Certainly wasn't when I last tried this for entertainment.

reply
No, you’re not being even slightly literal. If language models were random number generators, their output would be gibberish. That’s literal.
reply
If I had a pseudo random number generator that somehow kept outputting winning lottery numbers a reasonable percentage of the time, I would use it to enter the lottery. Even if it seemed completely impossible and despite studying the algorithm, I did not understand how it worked—I would still use it.

That's basically how I feel about LLMs right now. I have no idea how any of this is possible but somehow it seems to be working.

reply
Didn't xatt prove you shouldn't leave this to human? I'd trust a frontier model more than a human to do it.
reply
It works, bud. It is getting to the point where I am learning new things when using my LLM to modify my home network and devices.
reply
deleted
reply
Waaaay too easy to end up a bricked router with no working recovery options.

Only do this if you rescued the router from the trash bin, not if you spent money on it

reply
I did that once or twice, but I got fed up of finding the correct hardware revision of a particular router that supports OpenWRT, and I much prefer OPNSense anyway, and it runs on commodity hardware that you have full control over.
reply
It's not a router, it's an AP, so in my mind it's just a LAN to wifi bridge, a wrapper around the chip :) People were recommending them, it has PoE, roaming works etc. I thought I could buy a consumer product and stop tinkering lol. I'll check Ubiquiti, but I somehow thought that they are overpriced af and never looked into them
reply
Your experience seems to indicate that even their APs are a mess; while I applaud your effort to solve this, "I'm too old for this shit" is where I'm at now when it come to my home network, I (and my wife and kids) just want it to work so I've spent a fair chunk of change on it.

Uniquiti APs are fine, they've been reliable for me; I have one AP that's nearly a decade old and still going strong, and I just swap them out or extend coverage when a new generation comes along, and move the older ones to where stronger/newer wifi isn't needed. If I wasn't in the Unifi ecosystem which keeps my life simple, I'd probably look at Ruckus or maybe see whether Mikrotik have anything compelling yet.

As it stands; the Unifi Server I'm self-hosting keeps them up-to-date and optimised, so I just plug in an AP, adopt it and forget about it, it gets configured automatically and away we go; that's about the amount of involvement I want these days.

Coincidentally, I need an extra AP for my Steam Frame to use it away from the dongle in an area where I currently don't have good WiFi coverage, so I'm going to pick one (probably a 7-Pro or 7-Pro-XG) up and just plug it in to an ethernet port in the room in question, wait a couple of minutes and be ready to roll.

reply
> The great thing about Ubiquiti APs for me is that each new WiFi generation (or two) I can just buy a few more, snap the existing APs off of the various ceilings they're attached to, snap on the new ones, adopt them, and away we go

Why is this exclusive to Ubiquiti? Can't you do it with any other company that has managed APs?

reply
Yes, but Ubiquiti did a good job of advertising these features and making them available to the “prosumer” segment. With most other brands you have to go through enterprise sales, a distributor, or find them second–hand. Cisco might make the best APs ever, but good luck using them in your home.
reply
TP Link's support is the worst, too.

I bought an Omada, thinking I was getting a quality product. It died in the first 2 weeks.

Support accused me of not using a surge protector (it was plugged into a UPS) and grudgingly sent me a replacement.

Even at home, I can't risk having to replace my router every 2 weeks, so I just stuffed it in a box. I did use it again later, but wasn't happy with it, and ended up with a Ubiquiti Unifi UCG-Ultra. It's better than the TP-Link Deco and Omada, Eero Pro, Google Wifi, and Asus routers I've had, though I'll admit some of the Asus were pretty decent.

reply
Mikrotik routers are cheap, very stable and highly configurable. Admittedly the learning curve is a bit rough, but in today’s age of agentic assistance, you can just have your LLM help you configure it.
reply
I bought ~15 of their cheapest 2.4ghz router to connect payment terminals ~4 years ago and it was a terrible mistake. I thought for a low bandwidth application with the router being decently close it would work fine.

Spent days trying to make it work (it would work, then lose the connection, roaming was probably an issue too) and in the end leased meraki hardware that worked fine.

I'd avoid their cheap tier of AP at least.

reply
... and kind of slow. I've recently looked at Mikrotik hAP be lite (A42G-HbeP ) [1] and noticed only 2315.1 Mbps for 25 bridge filter rules or 1430.3 Mbps for 25 ip filter rules.

I also heard a horror story about RouterOS coming with an insecure configuration by default, lots of open ports and services running which were recently affected by a vulnerability. Speaking of RouterOS do I have to also buy a license along with the hardware? How about updates?

[1]: https://mikrotik.com/product/hap_be_lite

reply
That's not really a fair comparison, since any software packet filter on that class of hardware will be slow.

If you need layer 2 or stateless layer 3 filtering at hardware speeds, Mikrotik makes 10G switches that can do it for under $200. Mikrotik APs also support port and WiFi isolation which is enough security for most home networks (e.g. isolating an IOT VLAN).

Mikrotik's "fastpath" stateful connection tracking feature is also fast in my experience; not fully wire speed but good enough for untrusted devices that you want to be fast, like a Fire stick or game console or similar.

reply
- 1430.3 Mbps for 25 ip filter rules in a 70€ Wi-Fi 7 router doesn't sound that bad to me. Also, as sibling comment says, you can enable fast tracking for certain connections.

- Mikrotik doesn't have open ports to the outside since years and years ago, IIRC. They had a CVE on their administration port (not in ssh) in 2023, but you shouldn't open that port to the outside anyway.

- All Mikrotik wireless routers include at least a level 4 license. You only need a higher license level if you need more than 200 VPN tunnels or more than 200 users in the hotspot functionality. A bigger wireless router like the hAP ax³ will already have a level 6 license, the biggest one. You might need a license if you set up a Mikrotik instance in a X86 server, or virtualized, for example to manage a bigger site or as a bigger hotspot controller. Licenses aren't expensive and are paid only once, no subscriptions (by device, I think you get a device ID or something like that).

- All the Mikrotik routers that I own still get updates. The RB750GL, that was released like 15 years ago or more, still updated.

reply
They had a pretty serious SSH auth fail recently. Lots of devices with external ssh access (non-default) compromised.

https://nvd.nist.gov/vuln/detail/cve-2026-67276

reply
I have hap ax3. They cleaned up their defaults. No extra license costs.

One issue I had was that I was affected (and many others) by wifi bug in firmware which made connections drop randomly. Took them half a year to resolve it. Wouldn't recommend Mikrotik as access point. Otherwise it's good.

reply
If you don't understand it, high chance LLM will leave with an open firewall.

The learning curve being a bit rough is massive understatement. It's not meant for not computer savy people.

reply
What router brands are producing quality?
reply
> I'll never buy TP-Link (amongst others)

Been wondering recently what the others might be. Can you give a few examples among popular brands?

reply
As in the others that I _won't_ buy (which is what I meant)?

I wouldn't buy Netgear, Asus, D-Link again. My ISP gave me Eero and I've never connected it, far too much Amazon crap going on there (but I have to keep it if I want the ISP to provide support).

Gl.iNet has been OK for the price but re-flash it with vanilla OpenWRT because their OS has some dubious phone home stuff (or did last time I looked at it).

Honestly, in terms of routers, I'm never likely to use something off-the-shelf again a decent box with Intel NICs that can run OPNSense and preferably run Coreboot (or similar). If I did go with something COTS (Commercial Off The Shelf), I'd look at Mikrotik.

I'm not a massive fan of Ubiquiti but I have their APs and I've had a bunch of their EdgeMAX switches (sadly discontinued when some of their best devs left), and their APs have been solid for me for the best part of a decade.

The advantage of using dedicated components is that each can be chosen according to your requirements.

reply
Thanks for sharing the experience.

> As in the others that I _won't_ buy (which is what I meant)?

Correct. Sorry, worded the question a bit too ambiguously :)

What kind of trouble did you have with ASUS and D-Link? Security or the lack of configuration options? Haven't bought them in a while, but I remember them being somewhat decent.

I'm quite frequently in the market for a simple home router/AP for friends and family, and they'd rather have something simpler and cheaper, so that rules out Mikrotik (which I would normally go for). Would love to hear some stories about the issues you've had with all kinds of off the shelf stuff if you have the time.

reply
I tried out quite a few products and brands. I've settled on opnsense running on a spare x86 based machine with an intel x550 T2 NIC that I got off of ebay. My only regret is not making this switch earlier.
reply
On the other end I can recommend FritzBox. Rock solid and has a lot more bells and whistles than I expected, like wireguard support, NAS-like access by attaching USB storage, and more graphs than I know what to do with. It's the happiest I've been with an electronic purchase in a long time.
reply
Well, I don't think this build quality is solid [1]. With OpenWrt you have more freedom than FritzBox. But the UI is pretty idiot-proof indeed.

[1] https://borncity.com/win/2024/07/20/fritzbox-7590-router-the...

reply
Oh, I rather meant the brands to avoid. But it's still interesting to discover new ones, thanks.
reply
Ops, bad comprehension skills on my part. I've amended the post to make the difference clearer.
reply
> I'll never buy TP-Link (amongst others) again

I've got many dumb cheap ethernet switches and I'd say as long as they're really dumb/unmanaged/not advanced: you can't go very wrong. I've got probably two TP-Link ones and they're on 24/7 and just work: zero problem since years (and they followed me in four countries). Never had any issue with big .iso files or anything.

And I've got a little homelab: VMs and ZFS on a Xeon with ECC RAM, countless Raspberry Pi, two physical different LANs (not VLANs as all my switches are dumb) with a Pi doing the bridge/routing.

It's when things get complicated: configurable stuff, "advanced" capabilities, etc. that the cheap junk stops working properly and that you're better served with proper gear.

And of course there's the $200 or $500 vs $20 question too.

But people shouldn't underestimate how reliable good old dumb unmanaged Ethernet is for home usage.

Heck, I can go from 1 Gb/s to 100 Mbit/s to then a very old 10 Mbit/s (!) switch by daisy chaining them all switches and everything simply just works (I did that for I was thinking about playing with bounded-retrieval-model, hence physically limiting network speed on purpose).

No whether you should support or not a company selling shitty managed switches and shitty routers by buying the products that are okay from them is another question.

reply
> Step one is not to buy TP-Link routers.

What about their switches? I'm looking at buying a small 10GB SFP switch and TP-Link was one option.

I've already got Ubiquiti kit, and frankly while I don't much like it I can't deny that it works well enough and is reasonably priced for what you get.

So, it looks like I'm going to lean towards the Ubiquiti switches.

reply
It really depends on what you need from it; a cheap L2 switch will do the job, but frankly, you can get a Ubiquti Flex Mini with 5x1Gb ports for £35, I have a bunch of them around the house, and they're semi-managed so I can do VLANs on them and power them over PoE; since I'm already running Unifi, don't see the point cheaping out on switches.

I also have a bunch of EdgeMAX because I use the L3 features, they were more expensive, and that range is sadly now discontinued, but the Unifi equipment have all been workhorses, and the only think I've ever had fail in the past decade was an EdgeRouter Lite, the power circuitry failed after some dodgy mains voltage issues in my previous home.

reply
> Ubiquti Flex Mini

These are handy but I've never had one successfully be adopted by Unifi. No idea why. And since they're basic enough that they have no ssh command line access, there are limits on what you can do to debug them.

For my use case, though, powered by PoE and unmanaged is good enough.

reply
Yeah, I need 10GB though, I'm throwing very high bitrate video over them. The plan is to have a Ceph cluster storing footage and serving NFS along with Postgres server for project storage.
reply
Hardware offload bugs are bane of NICs since hardware offload was offered (and that does include pricy enterprise ones, not just your random consumer one) and it can be drivers but majority it is on hardware/firmware side so I wouldn't be too crossed on TPLink for that one.

I wonder if EU push for basically 5 years of mandatory updates will make it better. Then again this isn't security bug but functional one...

reply
> EU push for basically 5 years of mandatory updates

That only applies to smartphones and tablets, I believe.

reply
The CRA applies to every kind of device
reply
> I contacted support in June because the website only had firmware for v2. They couldn't find v1 in their database and asked for photos of the device and box

> !!

I was shocked when this happened to me. My company had a Dell switch kicking around in storage. It was a Dell Powerswitch Somethingorother_b. Big, expensive, enterprise switch. I went to set it up and found that I couldn't find the manual for that model online. Dell told me they only made a Somethingorother without any suffix. But we had records of buying it straight from them.

Apparently it happens. I have no idea how.

reply
This used to surprise me, until i saw it heppened many times and it became the new normal. There has been, and continues to be a not insignificant grey market in devices manufactured and purported to be manufactured by various companies which are in fact not on the actual company books.

The consequences of global supply chains.

Anecdotal but, I knew an original designer and owner of a Cali. based manufacturer of very high end audio equipment; the kind that gets used for tier one studios and audio reproduction reference, who had his chassis designs replicated and manufactured by unlicensed vendors. Not directly competing in the audio market, but as a very recognizable shape for some with the implied quality and appearance. He tried to make even an initial contact with them, mostly to find out of they could become a new resource as he was not fully satisfied with his present chassis manufacturer, and these unlicensed lookalikes were actually very well built. (We actually used one for his home media Slimserver) But at the very first email, they completely dissolved the organizational structure and vanished like smoke, only to have the exact same grey market devices appear under another entity within a few months.

Have seen all manner of grey-market Dell, HP, Asus, Cisco, Brocade (Silkworm), Qualcom, Foxconn, Liftmaster, ... the list goes on. I believe the terms for this are, unauthorised production, white branding, or three shift production in the cases where component subcontractors actually engage in overproduction of same or very similar devices.

In regulated markets; not being proactive about these issues can become quite risky. It really has been "buyer beware" pretty much the whole time.

reply
IF you don't accept hardware that doesn't work correctly you'll never have certain types of hardware (I've not seen an ethernet card nor storage controller that didn't have SOME weird edge-case bug).
reply
[dead]
reply