Archive for July, 2006

WRT54G Multiple External IP Trick

To assign multiple external IP addresses to a WRT54G/S, you have to push a multiline variable into the rc_firewal nvram variable (non-volatile ram):


nvram set rc_firewal="
iptables -t nat -I PREROUTING -d x.y.z.1 -j DNAT --to-destination 192.168.1.x
iptables -t nat -I PREROUTING -d x.y.z.2 -j DNAT --to-destination 192.168.1.x
"
nvram commit

This will protect the changes against being lost when the router is reset.

Ubuntu Dapper studio patched kernel 2.6.17

I have compiled an initial 2.6.17 kernel for Ubuntu Dapper Drake, as described on ubuntustudio.com. It has the EVMS patch needed by Ubuntu as well as the realtime patch installed. This version is not usplash patched. Files : kernel-headers-2.6.17-rt7_1_i386.deb, kernel-image-2.6.17-rt7_1_i386.deb

Wordpress 2.0.3 upgrade

I have created a wordpress “diff” which can be applied to easily upgrade Wordpress 2.0.1 to Wordpress 2.0.3 instead of going through the long and involved method on the Wordpress Codex. Use diff and a grain of salt with wordpress-patch-2.0.1-to-2.0.3.gz.

loading