Skip to content

existence, refactored

With kindness comes naïveté. Courage becomes foolhardiness. And dedication has no reward.

Archive

Tag: router

pfsense

Dealing with old computers after an upgrade is very a common problem. Sure, there are the obvious solutions like selling them or giving them away, but these approaches carry some problems (e.g. personal warranty, recipient not happy to receive a very outdated unit, red tape, etc.) that make them somewhat impractical.

There is another option: turn them into a firewall/router using pfsense.

Tech-savvy readers might ask what’s the difference between doing this instead of just upgrading your router’s firmware using DD-WRT or the like. Well, for starters, most of the routers sold in the Philippines are nerfed versions of those sold outside the country and don’t support custom firmwares. This simply means that it’s much easier to setup a pfsense server in this country than to setup DD-WRT.

In terms of features, pfsense and DD-WRT have features to distinguish themselves from the other. Obviously, you can’t control wireless signal strength in pfsense, and DD-WRT has some firewall features that are missing in the former. On the other hand, pfsense allows packages to be added to it like squid and nmap. It also has these funky RRD graphs:

RRD graph

The one feature that really caught my eye is support for load balancing. This allows you to consolidate two or more internet connections on your router, whether it’s for simple load balancing (bandwidth usage is spread between the ISPs) or for failover (when one ISP fails, the connections are routed to the other ISPs). With this, you could subscribe to two crappy DSL providers like, say, PLDT and Globe, and still have a relatively higher uptime than you would normally have.

You could buy a dedicated load balancing router, but the cost difference between that (PhP 4,000+) and an extra lan card (PhP 100-PhP 150 in surplus shops) and the thought that your old PC would probably be much more powerful than the puny chip inside that router make pfsense a more logical choice.

The biggest downside to using pfsense instead of dedicated router devices is the power usage, which can be anywhere from 5 to 20 times that of a typical router. Expect a slight increase in your power bill, especially if your “old” PC is one of those power guzzling Pentium 4s or Athlon XPs. You can try to underclock them, but I don’t expect to see much of a difference.

With all that talk out of the way, let’s move on to the actual installation.

continue reading…

upgraded firmware

Some of you might realize that while the modem works properly after following my previous post, you can’t upgrade it using the original firmware from ZyXEL. Repeating what I said in the original post, you can’t upgrade the firmware to use the official ZyXEL version because of the built in firmware.

For those of you who have some electronics experience a lot of time to spare, I’ve summarized the steps on how to change Telefonica’s P-660HW-61 firmware to ZyXEL’s original version.

Note that in the steps below, you will void your warranty and you may brick your device. I am not liable for the damages caused by this post.

FYI, I bricked my modem in my first try. You have been warned.

continue reading…

CD-R King's ADSL Kit

At PhP 880, CD-R King’s ADSL kit is the cheapest modem/wifi router you can find in any store right now. Problem is, it won’t work out of the box for most people.

This post will explain how I replaced my PLDT DSL modem + D-Link wifi router setup with this unbelievably cheap device.

continue reading…

Bork! Bork! Bork!

Spent most of the day trying to overwrite the Telefonica firmware in the router I bought last Sunday. In the end, I bricked the device. D:

It’s cheap so it’s no big deal. Maybe later I’d build a USB to JTAG cable and try to unbrick it.

Anyway, I was supposed to write about the steps for overwriting the firmware (effectively turning an P880 router into a 3k modem/router) in this post but since I didn’t get to finish the whole thing, I’m going to have to cheat.

Ako Mismo rant below the cut.

continue reading…

Lately, I’ve been exhausting all of the possibilities why I’m constantly getting disconnected in my expensive DSL connection. The main problem it seems is that I’m getting a low signal noise margin and high attenuation from my DSL line (noise margin downstream: 6 db – normal > 12; attenuation downstream: 57 db – normal < 42).

I've installed microfilters on all of our phones and the attenuation is still high. I've already called tech support and they've sent in a technician to check the line: the guy didn't see any problem with our wiring.

This leaves only a few possibilities, one of which is a faulty modem.

continue reading…