Extension on http://davidgrundmann.blogspot.com/2009/03/router-project.html
So I got the router up an running but not without flaws. Apparently there is a serious worm going around targeting openwrt project based routers. While the security risk is limited to bad passwords and open ports I decided not to take the chance so it's not going to be a gateway.
My main server is now off and sitting quietly while I have 2 routers up an running for our network. One is a wireless router that hosts the gateway (generic wifi router) and the other is the print server (WGT6534u).
The print server portion of this is a bit tricky, I'm lucky that my other printer has a network port on it (HPCL3600N)... If it didn't then I would potentially get a confusing mixture of devices if the router reboots. The mapping to /dev/lp[0-9] is dymaic and the print server (p910nd) points to each dev directly. I could make a dynamic script to scope the device ID and bind it accordingly but I didn't really need to since only 1 port is used.
The p910nd driver for the print server is interesting... typically I would use cups but the wiki for openwrt used p910nd which is a non buffering version of a server (basically it just pushes the raw data directly to the printer where cups spools it locally then prints). The bad side to this is that if the printer is off the job will be lost right away where cups could store it till the printer is back on.
Since my requirements became less by not using as a direct gateway I removed the usb key and loaded the small set of utils on ROM (ssh/p910nd/usb-drivers). Now I have an extra key :) The router now boots slightly faster than before (maybe 1-2 seconds) because it doesn't need to change the root system to the usb key and that the usb port is somewhat slow (despite being usb2)
Since my goal was to reduce power, the 2 routers (gateway + print) consume 12w combined without many compromises. This is 10x less and with $/kwH around $0.17 I will save quite a bit!
Now the real test: will they last? The reason why I used a server (PC/linux) was that I had 3 routers crash constantly or be flaky and burn up (not flames, though that would be cool)! I got tired of rebooting them every day so I built one. I guess if these routers dont work I'll buy an n270 atom chip + mobo and build my system that way :)
So what to do with the 2nd WGT634u? Hmm, maybe a security cam to take place of a $200+ one?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment