5 ms·
I am not an expert, this is my opinion based on casual observation and some experience with the death-roll that one encounters in maintaining a wifi-based Linux
by ibisum 12y ago
I am not an expert, this is my opinion based on casual observation and some experience with the death-roll that one encounters in maintaining a wifi-based Linux machine, but the 'reason for this', for those asking, or "why is this needed?", is this: because there isn't an open source stack all the way from http:// http:// to wifi0:, all the way, for a lot of the available chipsets. Wifi radios are little ARM machines surrounded by a black box, which somewhere depends on a binary blob to do the radio control/communication. So I think the answer is that the radio is where the open-source is needed; everything else is just a Distro War/-solution.
tldr; consumer wifi stacks that allow open network bonding/pairing/ad-hoc connections, are dependent on the vendor-provided firmware blob having control over these features at the radio level. Thus, we need a fully open radio component to be truly, 'safe'.
</opinion>
- wmf 12y agoAFAIK the Atheros drivers are open which is why this project is using Atheros hardware. The problem is solved as long as you are willing to buy specific hardware. It does appear that 90% of the effort in the router firmware community goes to dealing with blobs and diverse hardware support; whether that effort is wasted is a matter of opinion.
- toomuchtodo 12y agoIs a Raspberry Pi powerful enough to do the job? Could a customer version be made with wifi chipset onboard?
- wtallis 12y agoThe Raspberry Pi doesn't have any high-bandwidth peripheral connections, and the CPU is too weak to do high-speed routing with QoS. What's needed is an open source board with a modern CPU, a mini-PCIe slot or two for the wifi, and at least one or two GigE NICs. In other words, this: http://www.pcengines.ch/apu.htm http://www.pcengines.ch/apu.htm Although once you add the wifi, case, power supply, and SD card or mSATA SSD, it's a bit on the expensive side.
- deleted 12y ago[deleted]
- nerdtalker 12y agoI'm a huge fan of ALIX and its successor, APU. I've built dozens of ALIX boxes and most have years of uninterrupted uptime running either m0n0 or pfsense. I've never gotten anywhere close to that with any of the Broadcom or Atheros based embedded platforms which are essentially what you get with a consumer router. People definitely need to be more aware of the x86 BSD based routing platforms like m0n0wall: http://m0n0.ch/wall/ http://m0n0.ch/wall/ and its fork pfsense: https://www.pfsense.org/ https://www.pfsense.org/ I'm surprised the EFF isn't championing some fork of those platforms, or just those two themselves. Trying to fix the problem by adding yet another platform is just going to cause problems. I'm a huge fan of the EFF but it seems to be championing rather strange initiatives lately like the open WiFi and now this.
- samcrawford 12y agoAn alternative, if you want to truly get it manufactured yourself (the schematics and materials list are all open source): https://www.turris.cz/en/hardware https://www.turris.cz/en/hardware This device is a lot more powerful than the PC Engines APU. As nice as the APU is, its CPU cannot support 1Gbps throughput over the NICs.
- wtallis 12y agoGot any references for the relative performance of that over the APU board? They're not using the AMD Geode processors anymore. What you linked is a dual-core 1.2GHz 32-bit PPC built on a 45nm process. The APU used on the board I linked to is a dual-core 1GHz x86_64 built on a 40nm process. There's no way the PPC core is dramatically faster than the x86 core that was shown to have better IPC than Intel's Atom. The PPC SoC might be able to offload a lot of network stuff to fixed-function hardware, but one of the primary lessons learned from the CeroWRT project is that you can't trust any of the offload stuff to be well-behaved with respect to things like queue length management.
- 12y ago
- Nanzikambe 12y agoI setup a PI with 2 NIC (1 WAN, 1 LAN) + 1 WLAN to act as a router + AP, and I have to tell you its network performance is pathetic. The bottleneck for total network bandwidth was somewhere about 37mb/sec. That's not per interface that's total across all. With WLAN and cheap WAN (Fibre or DSL) far exceeding that -- it's a terrible platform to use for this. Especially if you're anything other than a casual user. The raspi's arm CPU left me with a probably undeserved but less than favourable impression; using qemu to build remotely was also a time consuming annoyance. I ended up building a dual core 3ghz router based on shuttle's XH61V as it integrates dual gigabit NICs + an atheros USB WLAN for AP. Uses 90w of power and boots in < ~4s from SSD, running Linux.
- pmjordan 12y ago90W is rather a lot. I'm looking at the Intel NUCs, which are a lot more compact and power efficient. Downside is that they only come with a single Ethernet port so you need to add any additional ones via USB3.
- andreasvc 12y ago3GHz and 90W is ridiculous for a router. A good NIC does not rely on the CPU, so clock speed should be irrelevant. A Mini-ITX board or a router with OpenWRT would be a much more economic alternative.
- wtallis 12y agoA good NIC won't require much CPU power to drive, but in order to have reasonable real-world performance with the networking equipment that actually exists, you need every packet to be handled by the QoS and AQM systems running on the CPU. Doing that at near-gigabit speeds really does require a beefy CPU, though not a full desktop-class wattage.
- Nanzikambe 12y agoWell once I decided to go this route I figured take advantage of the opportunity to put a good CPU in it and allow it to take over a number of services that I'd previously hosted on another machine (since retired). It host several services in VMs(dns, transparent HTTP proxy, torrent client running in X11 open via VNC). I also use VPNs quite extensively and seeing as the Intel chip-set doesn't support AES natively, I opted to up the clock speed of the CPU to the highest I could get it without exceeding my budget.
- krasin 12y ago>AFAIK the Atheros drivers are open (as corrected by many people, the statement below is not true) the author of the post you reply to says it's not the drivers closed (yes, there're WiFi chips with open source drivers), but the radio firmware that runs on the chip. There's no open radio firmware for WiFi, and that's a big issue.
- delroth 12y agoSome of the Atheros Wi-Fi firmwares are open: https://github.com/qca/open-ath9k-htc-firmware https://github.com/qca/open-ath9k-htc-firmware Unfortunately ath9k_htc is mostly found in USB devices.
- krasin 12y agoThanks for the pointer. I didn't know about this. That's very cool.
- voltagex_ 12y agoIf you can point me towards some of the USB devices that have ath9k inside I'd be grateful - I seem to get ralink or realtek every time I buy one.
- dobbsbob 12y agohttp://goo.gl/LEp8kK http://goo.gl/LEp8kK wikidevi list
- wmf 12y agoAFAIK Atheros radios are softmac which moves most of the work into the driver, which is open. Complaining about "big issues" that no one has the resources/will to fix always sounds like martyrdom to me.
- wtallis 12y agoThe firmware for many older Atheros chips is open source, but as far as I know they haven't yet released the source for any of their 802.11ac firmware. The availability of open firmware for the wifi chipsets is one of the main reasons that CeroWRT is still targeting a router model that's now out of production: the next big problem they want to tackle is wifi performance, and there's no point attempting that if you can't hack the whole wifi stack. CeroWRT is still primarily a research testbed, even though almost all of it is stable and ready to be integrated upstream (which is why it's not entirely crazy for a new project like this to be based on CeroWRT rather than upstream OpenWRT).
- stepstep 12y agoActually, I think this comment highlights the real motivation for this project: https://news.ycombinator.com/item?id=8061355 https://news.ycombinator.com/item?id=8061355 It is open source, but that's not the point. The point is "open wireless." More info: https://openwireless.org/ https://openwireless.org/