Guys, I've prepared the new firmware version. WebCam stuff not tested, so please check it and let me know if something wrong with it.
Differences with previous: Replaced dproxy & udhcpd with dnsmasq to support both static leases and dhcp/dns integration (so you can now resolve host names based on their dhcp names); replaced kernel modules with 2.4.20 version except the printing stuff (webcam stuff not verified!)
In order to use static leases/hosts you will need to perform this steps:
1. Connect to router using telnet;
2. Write the static hosts count & entries to the flash (use /etc/hosts format)
nvram set etc_hosts=3
nvram set etc_hosts0="192.168.1.1 wl500g"
nvram set etc_hosts1="192.168.1.2 laptop"
nvram set etc_hosts2="192.168.1.3 foo"
3. Write the static leases (use /etc/ethers format)
nvram set etc_ethers=2
nvram set etc_ethers0="00:11:22:33:44:55 192.168.1.2"
nvram set etc_ethers1="00:11:22:33:44:56 192.168.1.3"
3a. Also it is a good idea to change the DHCP server settings to not include addresses specified for static leases
4. Commit the changes using
nvram commit
5. Reboot the rooter using
reboot
New custom firmware http://jaffar.cs.msu.su/wl500g/wl500g-1.6.5.3-5.trx and accompanying sources http://jaffar.cs.msu.su/wl500g/wl500g-1.6.5.3-5.tar.bz2 (10 MBytes) for building it.