tyggerjai: (or'lyeh)
tyggerjai ([personal profile] tyggerjai) wrote2010-11-03 04:15 pm
Entry tags:

Modern home networking.

Back in the day, of course, the cable that came out of our modem or cable modem or whatever went straight into a Linux box with various packet filtering stuff ( unless you were a rhesus monkey, and come to think of it, the original lioness was OpenBSD). These days, I suspect, no-one bothers, we just buy smarter ADSL modems in the first place. Is that the case, oh geeks? Has the wrt54g rendered the home gateway obsolete?

[personal profile] jeamland 2010-11-03 09:24 pm (UTC)(link)
I've got a Netcomm NB6Plus4W as my primary gateway now. Not only does it do everything what I need as a gateway/router device, it does dual-stack IPv4/IPv6 which Internode's currently trialling so I get to be even more nerdy than usual.

[personal profile] jeamland 2010-11-03 09:41 pm (UTC)(link)
The trick being finding an OpenWRT-capable device that supports ADSL and WiFi. The WiFi situation is pretty much sorted with the Broadcom-based units like the NB6 but there's no driver for the ADSL core in the Broadcom chips. The only units I could find that had OpenWRT support for ADSL and WiFi were the AR7-based devices but they're both no longer on the market and their WiFi support was flakey, at least according to reports.

The only FOSSgeek solution that really works at the moment is to get the cheapest ADSL-capable device you can find, whack it in bridge mode and run it into something running the OS of your choice and getting it to talk PPPoE. Given I've got the NB6 (gateway + 802.11g), an AirPort Extreme (802.11n) and a Sipura SPA3000 (VoIP) clustered around my phone point I didn't really want to add extra boxes.

The other facet is that I've grown averse to blowing spare time dicking around with things when I feel I don't need to. Part of that is reflected in me being a Mac geek these days (no more Xorg.conf, wpa_supplicant.conf, hunting specific driver sources, etc, etc, etc) but also being quite happy to use devices like the NB6 et al instead of hand-rolling kit like I used to. The potentially strange thing is that I'm not overly upset by this. I used to care about it but now I have other things I want to work on and mucking around with those things would just take time away from those.

[personal profile] jeamland 2010-11-03 10:05 pm (UTC)(link)
The problem isn't running PPPoE, it's supporting the actual ADSL controller. Most of the devices on the market at the moment are built around chipsets from either Atheros or Broadcom and from memory (may be utterly wrong) Broadcom is either the only one with a combo WiFi/ADSL set or is at least the clear leader in terms of units out there. The chipsets are all built as a MIPS core with a RAM controller, ethernet MAC, USB controller, WiFi MAC and optional ADSL controller. All the devices run Linux, generally, but Broadcom at least don't have source available for their ADSL driver module and nobody's reverse engineered it yet.

Interestingly (he said, going off on a tangent) the ADSL chipset market is utterly dominated by these router-aimed chipsets to the point where you basically can't get any other ADSL controllers at that price point. So a company I did some work for a while back who had a PCI card that did ADSL1 rolled their ADSL2 card around one of the router chipsets with the ethernet MAC wired straight into a second PCI-based ethernet MAC and the host system just sees it as an ethernet interface.

[personal profile] jeamland 2010-11-03 10:35 pm (UTC)(link)
Yep. The NB6 will even let you get to a shell prompt via telnet if you ask nicely. I have no idea how long any hand-done config tweaks will last if you frob via the web interface or reboot though. It's all fairly standard stuff under the hood.

[identity profile] http://mexico.purplecow.org/openid/andre 2010-11-03 11:29 pm (UTC)(link)
I've never been that thrilled with the little consumer routers, even running third-party firmware. They seem to strain under heavy load and as speeds go up the problem is more obvious. The key shitter seems to be the small NAT table, where upon your ssh sessions drop out when a torrent fires up.

Me? I'm using TP-Link modem, the cheapest with decent ADSL2+ Annex M support running in dumb bridged mode and an old Cisco 2651 doing the PPPoE termination. It's a pretty damn solid setup, although the 2651 has outlived _three_ ADSL modems now. The LinkSys I had went down with a model-specific outheating/dry-cap fault, the Netcomm would crash weekly (and weakly) the Speedtouch was orphaned by the manufacturer and ended up with no AnnexM and I assume the current TP-Link will probably expire in a year or so.

If I didn't have the Cisco, I'd probably do the PPPoE termination on a somewhat low-power BSD box - the old Sun V100 and T1 105 boxes run on bugger-all power and run OpenBSD nicely.

These days it ultimately boils down to what services you want and how much equipment you want to tinker with. I'm still pretty happy managing the Cisco kit and pretty happy to keep one big machine kicking around, so this is the winning move for me. Consider that if you like running a local proxy-cache, privoxy, DNS etc that you might as well just throw a box at it because no cheapie appliance is going to do a decent job on proxying.

If you have a bigger budget for the router, the Cisco 877-style boxes are rather nicely done. As are some of the Juniper SRX, which I'd switch to in a blink if one magically landed here.

(And I'd say screw Linksys and their WAG/WRT products, they're cheaply built with a shoddy reliability history)

[identity profile] http://mexico.purplecow.org/openid/andre 2010-11-04 12:03 am (UTC)(link)
If you want a low-end SPARC box or two, just let me know - I have more than I actually need and they're pretty low on power consumption. And you get the goodness of SPARC inside, ha-ha.

I didn't get an email about coffee grinders recently; might have been eaten by the etherbunnies? Send it again and I'll grep the logs if it doesn't turn up.

[identity profile] http://mexico.purplecow.org/openid/andre 2010-11-04 12:40 am (UTC)(link)
Sunbeam have a conical burr grinder on the market that's probably the best value for money in that bracket. Indeed, some people have reported it's good enough for doing espresso properly. Should run about $180.

Next step up is an Iberital Challenge, Nemox mumble, etc. Probably about $300.

Next step up is a second-hand commercial - like an old Super Jolly. These are fine instruments, although they use flat burrs, not conical (not that it really matters too much at this point). $150-500 condition dependant and remember they're two feet tall.

I've skipped a lot of options because I don't think they make good value-sense. There's a lot of expensive consumer devices but I'd rather get a second-hand commercial and potentially replace the burrs than pay a thousand bucks for consumer kit.

[identity profile] http://mexico.purplecow.org/openid/andre 2010-11-04 12:40 am (UTC)(link)
and come and see me for a SPARC when you get settled.