本帖最後由 ksng 於 2011-9-3 13:40 編輯
I flashed my tp-link wr741nd to dd-wrt a few days ago, but found upnp not working and also it's difficult to install openvpn for wr741nd. So I switched to openwrt yesterday and is so far so good.
- I flashed back to tp-link firmware from dd-wrt and then flashed the openwrt XXX-factory.bin for my 741.
- to have upnp feature, I need to manually install luci-app-upnp. miniupnpd will then be automatically installed. upnp may then be configured from the GUI (192.168.1.1) by 'service' -> 'UPNP'.
- found that openwrt wifi does not allow use of channels 12 & 13, but in my environment, channel 13 is the only channel that works OK due to interference. This problem is resolved by replacing /usr/lib/crda/regulatory.bin. My procedure is (need to do it under linux):
1. Download wireless-regdb from here: http://wireless.kernel.org/download/wireless-regdb/
2. unpack and cd to the source subdirectory
3. edit db.txt
4. replace 'country 00' & 'country HK' as follows:
country 00:
(2402.000 - 2494.000 @ 40.000), (N/A, 30.00)
(4910.000 - 5835.000 @ 40.000), (N/A, 30.00)
country HK:
(2402 - 2494 @ 40), (N/A, 35)
(4910 - 5835 @ 40), (N/A, 35)
5. run 'make' to compile. A file regulatory.bin is generated.
6. ssh to your openwrt router, cd to /usr/lib/crda, then run,
cp regulatory.bin regulatory.bin.bkup
scp <userid>@<host IP that has updated regulatory.bin>:<directory>/regulatory.bin .
7. reboot router
8. remember to select 'HK' as the country under the wifi configuration page.
Comparing dd-wrt & openwrt, dd-wrt has a more user friendly GUI, and configuration is easier. openwrt is more flexible as you may install the packages you require. For dd-wrt I've installed v24-preSP2 but found that there's no room to install openvpn (since router has only 4MB flash memory), unless I can find and install mini version of dd-wrt but this is not certified and can easily brick my router if I've flashed the wrong version. |