Slashdot Mirror


Benefits of a Homebrew Router (arstechnica.com)

An anonymous reader writes: Jim Salter has posted an article explaining why it can be a good idea to build your own router, and how he put his together. Quoting: "In the consumer world, routers mostly have itty-bitty little MIPS CPUs under the hood without a whole lot of RAM (to put it mildly). These routers largely differentiate themselves from one another based on the interface: How shiny is it? ... I wanted to go a different route. A lot of interesting and reasonably inexpensive little x86-64 fanless machines have started showing up on the market lately. The trick for building a router is finding one with multiple NICs." Once assembled, the homebrew router blows away even high-end SOHO routers for throughput and performance. "Given that nobody's offering any Internet connections over 200mbps in my area yet, that makes my inner crypto nerd dance with glee. I could literally encrypt every single byte of my Internet traffic, in either direction, without a performance penalty." Of course, it won't do wireless, but you can get separate wireless access points to handle that.

13 of 247 comments (clear)

  1. raspberry pi about 50$ does just fine. by anon+mouse-cow-aard · · Score: 5, Informative

    raspberry pi, usb ethernet dongle, power supply... about 40$. does 30 mbps with full iptables, NAT, dual stack ipv4 and ipv6, speed test is 30 mbps flat out. my isp rate is 30 mbps ... If you have access to > 100mbps great, but outside of google cities isn't that kind of rare? Don't see the point of a 300$ homebrew router. been using a pi for years. have two spares. no moving parts, no fan, low power consumption...

    1. Re:raspberry pi about 50$ does just fine. by Anonymous Coward · · Score: 5, Informative

      100Mbps at home isn't that rare if you don't live in some backwater country.

    2. Re: raspberry pi about 50$ does just fine. by DuckDodgers · · Score: 3, Informative

      yeah, me too

    3. Re:raspberry pi about 50$ does just fine. by Anonymous Coward · · Score: 3, Interesting

      Quad Core RasPi, 1 Gb RAM : $35.00 - $25.00 on SALE
      Power Supply: Scavenged : FREE 5V @ 2A
      100Mbps USB NIC : $5.00
      Wireless b/g/n USB Dongle: $10.00
      USB Hard Drive @ 750Gb: $45.00
      8 Port unmanaged Switch: $15.00

      OpenWRT: FREE / DDWRT: FREE

      So, I have a router, a NAS, an FTP server, bittorrent, SSH Server, WEB Server, WiFiAP, TimeMachine, RSYNC, all running on a single box, with a power consumption of less than 10W under FULL LOAD.

      I've got 4 CPUs, 1 Gb of RAM, a 30Mbps/6Mbps uncapped network connection, a hatred of Comcast, and tons of legal torrents to seed, and the Pi is hardly breaking a sweat.

      Sure, it doesn't come in a nice pretty case, but I can replace individual failed components, and even upgrade.

  2. Homebrew used to be about doing better. by Anonymous Coward · · Score: 4, Interesting

    Homebrew used to be about doing better than what you could could get off-the-shelf.

    In this case it sounds like it's better in some small, useless way, while being far worse in so many others. Now he's got throughput he can't actually use, but is missing critical functionality like wireless support.

    I think this decline in the quality of homebrew reflects what has happened to the Linux community as a whole lately. The quality has dropped like a rock. So much Linux software has gotten worse. GNOME 3 looks awful. Systemd and PulseAudio still have caused me nothing but trouble. Firefox gets worse with each release. Wayland is nowhere to be found.

    We need to restore the glory of homebrew projects. We need our homebrew projects to be better than the commercial off-the-shelf offerings. We need to not build something that's slightly better, but also far worse. We need to build something that's better in every way.

    We need to restore the glory of homebrew projects!

    1. Re:Homebrew used to be about doing better. by PvtVoid · · Score: 4, Funny

      I think this decline in the quality of homebrew reflects what has happened to the Linux community as a whole lately. The quality has dropped like a rock. So much Linux software has gotten worse. GNOME 3 looks awful. Systemd and PulseAudio still have caused me nothing but trouble. Firefox gets worse with each release. Wayland is nowhere to be found.

      Yeah, Dude. I would never build a homebrew router because GNOME 3 / PulseAudio / Firefox. Those things make Linux routers totally worthless.

    2. Re:Homebrew used to be about doing better. by LordKronos · · Score: 3, Interesting

      Now he's got throughput he can't actually use, but is missing critical functionality like wireless support.

      I personally gave up on wireless support in my router. First problem I was always having was finding a router that had all the features I want. DDWRT is a priority for me, but finding a single device that
      1) supports DDWRT easily (ie: doesn't rely on me finding a specific outdated revision of the hardware)
      2) is cheap
      3) has gigabit ethernet
      4) good wireless
      5) has a good amount of memory

      Getting all of these in one device is difficult. The next problem is that I'd periodically end up with wifi issues. I had issues now and then with different device. Then I got my OnePlus One and the problems got worse. For some reason that device always has connection issues. It would continually get disconnected (so often that I couldn't even backup the videos from my phone via smb...it would always lose connection in the middle and I'd have to start over. It might take 10 tries before a video successfully copied over). I tried 4 different DDWRT routers I had access to (4 different device models from 3 different brands) and had the same issues

      The last issue is dealing with power outages. All of my networking equipment is in the basement on a battery backup. When power goes down, I'm able to maintain connectivity and continue working from a laptop without issue. However, locating everything in the basement means I have OK signal on the first floor, and terrible to no signal on the 2nd floor and front/back porch. To resolve this issue I put a 2nd DDWRT device (running as a wireless access point) on the first floor, but unfortunately it has no battery backup.

      About a year ago, I decided to change my strategy. I ditched the 2nd device, turned off wireless on the router itself, and bought myself a Ubiquiti wireless access point. This solves a lot of issues
      1) Wireless is now one less feature I need to concern myself with on a router
      2) It's reliability has been impeccable. In 1 year, it has been rock solid, not requiring a single reset, and it's worked flawlessly (and performed well) with every device I connected it to
      3) It's designed to use power over ethernet. It's power supply is plugged in to the UPS in the basement, then the ethernet is patched between the powersupply and my patch panel and through the regular house networking.
      4) It looks really nice, so I can actually put it in a very central place in the house without it looking ugly. And at this location, the one device provides exceptional coverage for my entire house and the front/back yard.

  3. EdgeRouter is exactly this! by UberLord · · Score: 4, Informative

    Ubiqiti EdgeRouter is exactly this: dual core MIPS64 @ 1Ghz, 512Mb memory and a removable USB flash stick for storage.
    https://www.ubnt.com/edgemax/e...
    This is ample for my needs. I bought the 3 port version about a year ago for £80.

    https://blog.netbsd.org/tnf/en...

    As of today, NetBSD-current has an uptime of about 6 months - which is when I made the last kernel modifications to support the NPF firewall.
    This is more uptime than any other SOHO gear I have and the performance of the unit is exceptional.

  4. OpenWRT for $25 by GlobalEcho · · Score: 3, Informative

    These guys sell a tiny "travel router" (or just the board if you like) that goes for $25 on Amazon. Crucially it has 2 ethernet ports (albeit only 100Mbits), along with Wifi. It ships with their modified version of OpenWRT but takes only a couple minutes to flash to the latest fully open-source version. From there, going further into homebrew is trivially easy. I find it a better starting point than a raw Linux distro, and the low power consumption just cannot be beat. If you want to go Linux and don't have a fat pipe, I recommend it.

  5. Re:net6501 by alantus · · Score: 5, Interesting

    Overall I've had a positive experience with Soekris devices. However, let me tell you why I won't be buying any more of them:

    1. Cases badly designed for cooling. Unless you add a fan, you will have to put the case vertically in summer.

    2. Disregard for OS support/integration. These things are supposed to work on Linux and BSD, but when something goes wrong (ie: the device hangs) or the hardware doesn't work as well as it should, they just blame the OS and don't even investigate. They might offer an RMA if its under warranty, but the issues will continue for sure.

    3. As soon as their latest device comes out, support for the older ones stops. For example, they promised to add USB boot support for the net5501, but as soon as the net6501 came out, they just forgot about it.

    Other minor ones: closed BIOS and the price is not great.

  6. The Unifi USG ain't bad either by zerofoo · · Score: 4, Interesting

    For those of us who want quality, but don't want the hassle of complicated configs, the Unifi USG is pretty nice as well - and it's cheap.

    https://www.ubnt.com/unifi-swi...

    So far, I'm a big fan of what Ubiquiti is doing these days.

  7. refurb Cisco Liquid-8 by raymorris · · Score: 3, Informative

    I don't pay any attention to fanless, but refurb Cisco and other high-end gear can often be had for a song.
    Liquid-8 Technology has some deals. http://stores.ebay.com/Liquid-...

  8. Re: net6501 by joao.cordeiro · · Score: 3, Interesting

    Net6501 is crap. I have a 5501 and it was already crap. And here is why: It is largely overpriced. It has only 1 core and low frequency, and no special functions from good i5 or i7. Ram is always low for a x86. Every ethernet is its own device.. So, vlan and bridging happens on the kernel side AKA cpu. You can easly buy 2 or 3 arm based custom routers for its price, all 4 cores and all with switch chip with vlan support.