News for hackers. Stuff that matters.
Re:How much total throughput can your wi-fi router really pr... by ronnier on Friday March 26, 2021 @03:17PM (#26595830)
I've stopped buying consumer routers for my home and instead buy small dual gig network x86 boards and put OpenWRT on it. OpenWRT is super nice now. Clean simple UI. Does everything I need, is open source and I have access to the entire system. Extremely happy with it.

I graph my data in/out with grafana. When a new IP or MAC shows up on my network I get a push notification on my phone (I wrote a small script to do this). Really great to have options to do what I want. Also it runs wireguard.

Re:How much total throughput can your wi-fi router really pr... by rektide on Friday March 26, 2021 @05:35PM (#26597238)
> I've stopped buying consumer routers for my home and instead buy small dual gig network x86 boards and put OpenWRT on it.

I hugely support the idea (or just using Debian), but what a sad sad sad sad sad state of affairs there is with trying to do this!

There's the most limited, tiny, miniscule amount of wifi add-on cards one can buy with decent chipsets. Consumer offerings with consumer-targetting chips have never worked well for me (terrible performance with multiple clients, huge multi-second drop outs, low max client limits), and I spent years trying hard to make something work. The market feels basically reduced to one company, Compex, making PCIe & m.2 addons[1] one can maybe perhaps buy, that do a decent job, and their availability is somewhat scarce, and prices are pretty high.

Imo DIY ought be such a commonsense straightforward alternative to these fancy routers. Alas it seems almost impossible to do, short of scrounging for some expensive, demanding Compex chips, and hoping the open source drivers are up to snuff (they're not always). And Compex prices have gone up and up and up. Their modern 4x4 m.2 card is $400[2], but hey, at least it's possible to buy something: without this card, we'd have nothing. Oh, and that card doesn't have x86 drivers available for it, only drivers for Qualcomm platforms.

[1] https://compex.com.sg/wifi-module/

[2] https://www.arrow.com/en/products/pn02.7/compex-systems-pte-...

Re:How much total throughput can your wi-fi router really pr... by sliken on Friday March 26, 2021 @05:43PM (#26597318)
Hrm, I need a few more ports. I want at least four ports.

Think OpenWRT would work well on something like this: https://www.hardkernel.com/shop/odroid-h2plus/

It's pretty low power (TDP 10 watts or so for the CPU), pretty fast (for a router), max 32GB ram, and has an expansion board for 2.5Gbit x 4 on top of the 2.5Gbit x 2 on board.

Was hoping to hook up two desktops and a NAS with 2.5Gbit, then run GigE for cameras, Roku, etc.

Re:How much total throughput can your wi-fi router really pr... by boring_twenties on Friday March 26, 2021 @07:13PM (#26598111)
May I ask for more details about your graphing setup?

I'm just using darkstat, which has the benefit of being dead simple and available via opkg. But, it's fairly limited. I already have a Grafana dashboard elsewhere on the network, so I'd be curious as to how you feed it with network stats from OpenWRT.

Re:How much total throughput can your wi-fi router really pr... by ronnier on Friday March 26, 2021 @09:50PM (#26599129)
I can respond more later… but In short I publish the metrics to influxdb and then point grafana at inflixdb. There’s good articles out there that I followed.
Re:How much total throughput can your wi-fi router really pr... by boring_twenties on Saturday March 27, 2021 @11:58AM (#26603205)
I see a number of articles talking about running collectd on the OpenWRT, is that what you're using?
Re:How much total throughput can your wi-fi router really pr... by ronnier on Saturday March 27, 2021 @11:59AM (#26603215)
Yup. That’s it. Sorry haven’t had a chance to see down at my computer yet and get the details. But that’s what I’m using
Re:How much total throughput can your wi-fi router really pr... by boring_twenties on Saturday March 27, 2021 @12:09PM (#26603299)
No worries, looks like there are plenty of articles on the topic. Thanks for getting me started!
Re:How much total throughput can your wi-fi router really pr... by ronnier on Sunday March 28, 2021 @12:19PM (#26611551)
No problem. Looked again and I can't find the exact article. Let me know if you need any specific configuration from me.
Re:How much total throughput can your wi-fi router really pr... by dmos62 on Friday March 26, 2021 @03:48PM (#26596159)
Initial investment and ongoing energy costs are probably quite different though, right?
Re:How much total throughput can your wi-fi router really pr... by yjftsjthsd-h on Friday March 26, 2021 @03:55PM (#26596230)
Initial investment sure, but ongoing maintenance shouldn't be any worse; you just run updates every now and again.
Re:How much total throughput can your wi-fi router really pr... by sigjuice on Friday March 26, 2021 @03:22PM (#26595877)
Which x86 boards would you recommend for this? Thanks!
Re:How much total throughput can your wi-fi router really pr... by c0l0 on Friday March 26, 2021 @03:45PM (#26596124)
I recently reviewed my (imho absolutely recommendable) pick here: https://johannes.truschnigg.info/reviews/2021-01_fwbox/

Hth :)

Re:How much total throughput can your wi-fi router really pr... by sliken on Friday March 26, 2021 @06:17PM (#26597663)
Looks pretty awesome, was hoping for at least three 2.5 Gbit ports though. Know of a variation with 2.5Gbit ports?

Hardkernel has a J4115 Celeron (10 watt max tdp) board with max 32GB ram (two sodimm slots), and 2 x 2.5Gbit ports. They also have a 4 x 2.5Gbit board you can add. So relatively low power, 6 x 2.5Gbit ports, plenty of ram for running any network services you want.

No idea how well OpenWRT or similar would be supported though.

Re:How much total throughput can your wi-fi router really pr... by c0l0 on Saturday March 27, 2021 @05:47AM (#26601165)
I've not seen such a design yet, but if you don't need that kind of bandwidth for your WAN link (and I guess you won't - but tell me otherwise, and I will certainly be a wee bit jealous ;)), you can always just attach a switch with 2.5Gbps port speed to one of the 1Gbps ports of such a box. (Just be careful what you buy if you need VLAN support for those ports/that segment). You probably won't need a six-port variant in that case, which makes cheaper and more compact designs an option.

As for 2.5Gbps Ethernet NICs with OpenWrt - I guess it depends on the particular component/NIC. People I know have had rather bad results with 2.5Gbps Realtek NICs on Windows, and I don't know if the Linux drivers fare any better. Unless you really need the additional bandwidth, I'm pretty certain that you will have the all-around better experience when sticking to 1Gbps hardware for now.

Re:How much total throughput can your wi-fi router really pr... by ronnier on Friday March 26, 2021 @03:23PM (#26595896)
There's a ton of options. But I'm using this one ...

https://www.amazon.com/gp/product/B086MK4YB8

It also has a SIM slot so you can fallback to LTE if your main internet goes down.

I should mention. This doesn't have wifi. I buy distinct access points that are POE powered. For those, i use the WAX-610.

Re:How much total throughput can your wi-fi router really pr... by zokier on Friday March 26, 2021 @04:04PM (#26596302)
Wifi is the Achilles heel here. For example as far as I can google, that device has quite old Intel Wifi chipset which means 802.11AC only and no AX, firmware blobs, and worst of all apparently no AP mode support on 5GHz(!!!??). So not the best choice as a (wireless) router.

That being said, I don't know what Wifi chipset would be really good option right now.

Re:How much total throughput can your wi-fi router really pr... by sliken on Friday March 26, 2021 @06:20PM (#26597693)
Would just handle routing and wifi separately. Ubiquiti has a wifi-6 AP for $99 (2x2) and a "LR" version with 4x4 for $179. Then you can add whatever router you want and not have to worry about what next years wifi standard is.
Re:How much total throughput can your wi-fi router really pr... by alyandon on Friday March 26, 2021 @08:01PM (#26598449)
Pretty much the route I went when I finally got fed up with brick and mortar store routers - Mikrotik router + Ubiquiti AP.
Re:How much total throughput can your wi-fi router really pr... by ksec on Saturday March 27, 2021 @02:29PM (#26604312)
One thing I never got round to figure out, these AP are still on 1Gbps Ethernet, but the LE WiFi 6 support 2.5Gbps on 5Ghz alone?
Re:How much total throughput can your wi-fi router really pr... by KozmoNau7 on Saturday March 27, 2021 @05:25PM (#26605779)
I absolutely see your point and understand the confusion.

The thing is that those kinds of speeds are not realistically possible.

Ubiquiti claims "2.4Gbps" on 5Ghz in the specs, but it's one of those marketing things, like how TP-Link claims to sell a "11Gbps" router, which is just them adding together all the absolute peak data rates together times how many simultaneous streams it can support. It's marketing nonsense, just like those wall wart-powered PC surround speaker systems that promise "3000 WATTS OF POWER".

No client device will ever get near those promised ultimate maximum speeds, because most client hardware is 2x2 streams (two receive, two transmit) or rarely 3x3 for high-end devices. The client is the limiting factor, it doesn't matter if the router is 4x4 or 8x8.

If you look at the matrix of possible data rates, 802.11ax can do up to 1.2Gbps per stream, and can obviously use two simultaneous streams, that's where they get the claimed 2.4Gbps figure. But you can only get that bandwidth if you use 160MHz wide channels, which severely cuts down on the number of available channels.

If you can detect any other 5Ghz networks from where you want to set up your AP, I would strongly advise against trying to use 160MHz wide channels, and even 80MHz wide channels can be troublesome in apartment buildings. For an enterprise deployment with multiple APs to cover entire floors and buildings, forget it. 40MHz wide channels are the realistic choice in that scenario. That's why Wifi 6E with the additional new 6GHz spectrum is much more interesting than 802.11ax.

But let's say you can run 160MHz wide channels with no interference, your client device can support it and you're close enough to the AP so your connection is strong enough to actually get that promised 2.4Gbps PHY speed. It's theoretically possible, at least.

Well, then you go ahead and subtract 40% for combined overhead in the wireless communication and protocols.

That puts us at 1.4Gbps throughput. For a single device under 100% optimal conditions.

I'm sure Ubiquiti crunched the numbers and figured it wasn't worth it to put 2.5Gbps ports on their APs, especially considering 99.9% of them will be end up plugged into corporate 1Gbps PoE switches. Can you even get reasonably priced 24/48-port 2.5Gbps PoE switches?

Re:How much total throughput can your wi-fi router really pr... by maccard on Friday March 26, 2021 @03:46PM (#26596136)
That's $450, plus tax plus labour for a wifi setup. It's a really hard sell compared to google mesh wifi pick for anyone other than a die hard fan
Re:How much total throughput can your wi-fi router really pr... by ronnier on Friday March 26, 2021 @03:55PM (#26596233)
There are definitely cheaper ways. But it's a hobby and I enjoy it.
Re:How much total throughput can your wi-fi router really pr... by maccard on Friday March 26, 2021 @04:16PM (#26596423)
Cant argue with the hobby aspect!
Re:How much total throughput can your wi-fi router really pr... by amarshall on Friday March 26, 2021 @03:32PM (#26595995)
I don’t use OpenWRT (just a plain-old Linux distro), but PCEngines APU2 is pretty cheap and fast enough to run on a 1 Gbps WAN connection.

https://pcengines.ch/apu2.htm

Re:How much total throughput can your wi-fi router really pr... by DrPhish on Friday March 26, 2021 @05:43PM (#26597310)
Also chiming in on this: I've been running OpenBSD on dozens of PC-Engines boxes for over a decade (first Alix and then APU2), usually as a full-on firewall HA pair with CARP/pfsync. The APU2 is VERY capable, hardware-wise, and a bargain at the price they sell it. I've had flash memory die, but never had hardware fail otherwise.

I've also done wireless deployments with APU2 and a wifi card, and the range was not great. Things also might be better with better antennas, or under Linux where drivers are likely more mature. I've never run anything but OpenBSD on them.

Re:How much total throughput can your wi-fi router really pr... by jacob019 on Friday March 26, 2021 @03:47PM (#26596148)
I second this recommendation. Using one for a business. Added an LTE card to it for backup. Running Debian, very stable, low energy usage, more than enough power for gigabit routing, VPN, and some server proceses. Booting off of a real mSATA SSD, much better than eMMC.
Re:How much total throughput can your wi-fi router really pr... by minimaul on Friday March 26, 2021 @04:07PM (#26596331)
You may struggle if your ISP requires PPPoE, but otherwise this is a great pick :)
Re:How much total throughput can your wi-fi router really pr... by bentcorner on Friday March 26, 2021 @03:53PM (#26596199)
Depending on your bandwidth needs an old laptop + switch can suffice (using vlans and a one-armed router approach).

I currently have an EdgeRouter-X running openwrt and are relatively happy with it. I think I could eek more bandwidth out of it but honestly I'd rather not fiddle with it.

I have some Unifi AC-Pro access points and am pretty happy with those.

Combined router/access points devices are the networking equivalent of TV/VCR combo devices.

Re:How much total throughput can your wi-fi router really pr... by artificialLimbs on Friday March 26, 2021 @03:45PM (#26596126)
"...push notification..." Using Twilio?
Re:How much total throughput can your wi-fi router really pr... by kevindong on Friday March 26, 2021 @03:54PM (#26596209)
Not OP, but my preferred push notification provider is IFTTT. Their API for sending a push notification to my iPhone is just amazingly simple.

Basically set the trigger (the "if this") to an incoming webhook and set the action (the "then that") to be sending a notification.

https://ifttt.com/maker_webhooks

https://ifttt.com/if_notifications

Re:How much total throughput can your wi-fi router really pr... by ronnier on Friday March 26, 2021 @03:54PM (#26596212)
I use "Home Assistant" as my home automation hub and I send an HTTP request to its API (this is local on my network) and it has native push notification support.

https://www.home-assistant.io

https://companion.home-assistant.io/docs/notifications/notif...

Re:How much total throughput can your wi-fi router really pr... by joshspankit on Saturday March 27, 2021 @08:32AM (#26601845)
Once you have the systems set up, you can do almost anything. Telegram, Slack, IFTTT, Email, SMS, Whatsapp, Instagram, Signal, even a custom command that connects to an SSH server on your phone through a VPN connection (eg Tailscale) and changes your lockscreen wallpaper to “new device connected with MAC 1E:AT:DE:AD:BE:EF”

It’s all software

Re:How much total throughput can your wi-fi router really pr... by jjeaff on Friday March 26, 2021 @03:47PM (#26596142)
Probably something like pushbullet or pushover.
Re:How much total throughput can your wi-fi router really pr... by mr_woozy on Tuesday March 30, 2021 @08:45PM (#26642302)
>When a new IP or MAC shows up on my network I get a push notification on my phone (I wrote a small script to do this).

You should think about putting it online via github or similar. Probably many others would be interested in that functionality.