News for hackers. Stuff that matters.
Re:Introducing the LEDE project – A reboot of the OpenWrt co... by grandalf on Tuesday May 03, 2016 @06:07PM (#11624645)
While I'm excited about OpenWrt, why wouldn't the ecosystem move to Raspberry Pi at this point, considering that a Pi and multiple wireless NICs can be purchased for much less than a typical access point?
Re:Introducing the LEDE project – A reboot of the OpenWrt co... by malcolmputer on Tuesday May 03, 2016 @06:18PM (#11624703)
They are really completely different ecosystems, each with their own use cases, but off the top of my head:

1. Raspberry Pi boards (and rpi-similars) don't typically break out the ethernet interfaces, and require a USB>Ethernet.

2. Raspberry Pi boards (and rpi-similars) don't typically have onboard wifi, this means you will be putting all of your traffic over USB, which as AC rollout happens you don't have enough bandwidth/latency with USB 2.0

3. Raspberry Pi boards (and rpi-similars) don't typically have multiple ethernet interfaces.

A "Standard" OpenWRT router has between 2 and 5 onboard ethernet interfaces, a small power efficient processor, and between 1 and 6 onboard high power Wifi interfaces.

Now, Monowall/pfsense can be a great route to go, but even then you don't use an Rpi because you want your interfaces hanging off of PCIe instead of USB.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by ae_keji on Tuesday May 03, 2016 @06:46PM (#11624863)
What about the Pi 3?
Re:Introducing the LEDE project – A reboot of the OpenWrt co... by malcolmputer on Tuesday May 03, 2016 @07:35PM (#11625080)
Looks like the rpi3 may have onboard ethernet and wifi, but it's still just one ethernet (100Mbit to boot) and single band wifi.

The point still stands that a $30 router blows away a rpi in terms of network connectivity (which should matter for a router).

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by scottlamb on Tuesday May 03, 2016 @08:18PM (#11625293)
Sadly, no, the Raspberry Pi 3 still seems to do everything over the USB bus. It'd make an awful router. See https://www.raspberrypi.org/magpi/raspberry-pi-3-specs-bench...:

> The Raspberry Pi 3 shares the same SMSC LAN9514 chip as its predecessor, the Raspberry Pi 2, adding 10/100 Ethernet connectivity and four USB channels to the board. As before, the SMSC chip connects to the SoC via a single USB channel, acting as a USB-to-Ethernet adaptor and USB hub.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by mschuster91 on Wednesday May 04, 2016 @03:44AM (#11626837)
> Sadly, no, the Raspberry Pi 3 still seems to do everything over the USB bus. It'd make an awful router

Not exactly, the BT/WiFi chip is apparently running via SDIO.

But yes, that doesn't help with the Ethernet situation. I don't get why Broadcom, when they already do a custom SoC, didn't include one or two MII lines and use a real Ethernet PHY instead.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by rjsw on Wednesday May 04, 2016 @06:18AM (#11627335)
They wouldn't even need to buy in IP for the Ethernet MAC, they already have their own.
Re:Introducing the LEDE project – A reboot of the OpenWrt co... by voltagex_ on Tuesday May 03, 2016 @06:15PM (#11624681)
Throughput. The single Ethernet port on the Pi only gets somewhere between 30 and 40 megabits. Some smartphones can exceed this on WiFi and higher end Internet connections will definitely exceed this.

That's for a single connection before you even get to NAT/firewalls/IPv6 and VPNs.

Note that I haven't put the Pi3 through its paces yet but the extra CPU and RAM won't completely compensate for the USB/Ethernet limitations.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by __jal on Tuesday May 03, 2016 @07:36PM (#11625085)
In addition to what other folks said, a big part of the user base for OpenWrt and similar use standard hardware from the big consumer electronics firms. I can imagine someone maintaining a port for random experimental platforms (assuming the codebase is amenable that sort of thing; I have no idea), a large part of the point of it for a lot of users would be gone.

But as others said, I can't imagine a Pi having anywhere near the throughput of the commodity AC APs I use at home at this time.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by easp on Thursday May 05, 2016 @05:16AM (#11634772)
The RPi is tied to the 12-24 month product cycles of consumer electronics devices.

That's great in that it means relatively frequent upgrades. Though at this point, the RPi3 is a very unbalanced system. Particlarly, as others have noted, with regards to network I/O.

Router platforms are tied to the lifecycles of networking standards. The underlying standards change much more slowly, roughly ~5-10 years for major changes. The router SoCs and WiFi chips change somewhat more quickly, but not as quickly as consumer electronics SoCs.

This slow rate of change is probably a good thing for OpenWRT/LEDE, because it means that there is more time for software support to mature for each hardware generation.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by revelation on Tuesday May 03, 2016 @06:33PM (#11624791)
OpenWRT is an embedded linux distribution that works similarly to something like the Yocto project.

I don't see how it relates at all to one hardware vendor, with rather terrible track record on all things networking to boot.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by tyingq on Tuesday May 03, 2016 @07:42PM (#11625118)
OpenWRT does run on the Rpi (https://wiki.openwrt.org/toh/raspberry_pi_foundation/raspber...)

But, the idea that it can run on a variety of platforms is one of the benefits. Rpi, for example, would be an odd choice as a base for a commercial hardware product, due to availability in volume, form factor, etc.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by newman314 on Tuesday May 03, 2016 @09:20PM (#11625506)
Different projects and goals as someone else mentioned.

However, it would be great if the *wrt projects could adopt the standardized update mechanism that OSMC has leveraged. It's made upgrading so much less painful.

Personally, I use ddwrt and would like to see that project take the charge up on this.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by grandalf on Wednesday May 04, 2016 @01:50AM (#11626492)
My comment is getting lots of downvotes. I'd argue:

- All the routers (buffalo, linksys) I've installed OpenWRT on have ended up being fairly unstable and have required reboots. The only consumer grade wifi router I've tried that seems stable is the Apple Airport Extreme.

- Most home users never come close to maxing out the throughput a pi can offer.

- If not a pi, perhaps another open hardware device -- seems like one could be sold for under $50 with nic support that addresses all the max USB bandwidth concerns (it may already exist).

- All the complexity of installing on random wifi router hardware (version maintenance, minimal storage space, etc.) seems prohibitive compared to the simplicity of a pi, risk of bricking the router, etc.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by wtallis on Wednesday May 04, 2016 @02:12AM (#11626558)
Throughput is hardly the only meaningful performance limitation the Pi has, but it's already enough of a limitation to disqualify it. The RPi really just doesn't come close to being suitable as a router.

Any open hardware device that is suitable for wireless router duty and fits within a $50 budget would have to be essentially a standardized PCB for a single-band Atheros ath9k SoC. It would provide almost no benefit over the dozens of commercial off the shelf products that use those chips and almost universally run OpenWRT flawlessly.

The complexity of installing on any random device is almost entirely with determining what exactly is inside that device, since basically every vendor routinely changes everything inside the product without changing the model number. OpenWRT already has the infrastructure that solves the version maintenance problem, since they do automated builds of the OS and packages for all the various supported hardware platforms. Automatic updates have been implemented by at least a few sub-projects and are being held back mostly by the storage space problem. The hardware vendors are in the process of transitioning from NOR flash to NAND flash, so that problem will take care of itself over the next few years.

The risk of bricking a router is probably a lot lower than you think it is. With almost everything, it's truly hard to screw up to an extent that flashing over TFTP won't fix. A lot of mainstream hardware is significantly more robust that that; I have a bottom of the barrel D-Link that provides a web interface in its bootloader for rescue flashing.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by easp on Thursday May 05, 2016 @05:29AM (#11634798)
"Most home users" are never going to install OpenWRT on anything, RPi, or otherwise. Of those that do, it seems likely that they will max out the throughput of a RPi, especially now that >100Mbps internet is common place is some countries, and is becoming increasingly available in others (like the US).

There are some RPi like boards with a single GigE, but they suffer from having smaller developer communities, and still come up short on IO when compared to a networking platform, which will typically have 1-2GigE lanes to the SoC, integrated 2 or 3 stream 2.4 GHz WiFi and a 1-2x miniPCIe interfaces.

Right now, probably the cheapest most capable router is the Ubiqti EdgeRouterX for $50 (no wifi though). It has a 2 core/4 thread MIPS CPU that can do ~1Gbps NAT/ROuting with hardware offloads and ~500Mbps just using the CPU and DMA hardware.

Re:Introducing the LEDE project – A reboot of the OpenWrt co... by grandalf on Thursday May 05, 2016 @01:50PM (#11638256)
> It has a 2 core/4 thread MIPS CPU that can do ~1Gbps NAT/ROuting with hardware offloads and ~500Mbps just using the CPU and DMA hardware.

Wow! What do you think is the best one that does do wifi?