Hi, I just want to report a slight mistake - in the Installing OpenWRT tutorial there is a command
insmod _ipt_LOG
but instead, there should be
insmod ipt_LOG
In addition, I can share my experience of running the tutorials on Asus WL500b - there are a few differences:
1) To set the MAC address of WAN port, the nvram variable is et1macaddr, so you should use something like this:
nvram set et1macaddr=xx:xx:xx:xx:xx:xx
2) Before clearing the NVRAM after OpenWRT is installed over another firmware, it may be a good idea to look at it to see the old firmware settings:
nvram show
At least, you can determine the interface name variables for your router. It is also usefull to look at it after it was cleared and before performing tutorial "nvram set" commands for LAN and WAN configuration, as many of the variables are already set (strange when it was just cleared, maybe this is why they say it is not safe to reset to factory defaults or clearing the NVRAM on WL500b, anyways it works for me...).
3) On my 500b, uhci module doesn't work. To support USB, ohci must be installed instead. So you have to run
ipkg install kmod-usb-ohci
instead of
ipkg install kmod-usb2
4) When mounting an USB flash disk, it may be a good idea to disable update of atime attribute to avoid the exhausting of the flash memory write cycles:
mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt -o noatime
5) It can be usefull to have a swap partition on the USB storage, because WL500b has only 14 MB of RAM. To support swapping, the
swap-utils package:
ipkg update
ipkg install swap-utils
Now the swap partition must be activated. Consider adding something like a following command in one of your startup scripts.
swapon /dev/scsi/host0/bus0/target0/lun0/part2
6)
fdisk and
mke2fs tools
are hopefully supported in OpenWRT. You have to setup /etc/ipkg.conf for accessing the OpenWRT backport repository as described here:
http://wiki.openwrt.org/OpenWrtDocs/Packagesipkg install fdisk
ipkg install e2fsprogs