I do not build the firmwares from scratch anymore, I am using the image builder. To build the firmwares:
./init-firmware.sh
The main reason is to be able to use the latest NodeJs for Linksys WRT (the default NodeJs is old) and the crypto accelerator.
Since OpenWrt 19, the crypto accelerator is enabled by default. (kmod-cryptodev libopenssl-devcrypto)
https://openwrt.org/docs/techref/hardware/cryptographic.hardware.accelerators
Not enabled:
root@hawk:~# openssl engine -t -c
(dynamic) Dynamic engine loading support
[ unavailable ]
Enabled:
root@hawk:~# openssl engine -t -c
(dynamic) Dynamic engine loading support
[ unavailable ]
(devcrypto) /dev/crypto engine
[DES-CBC, DES-EDE3-CBC, AES-128-CBC, AES-192-CBC, AES-256-CBC, AES-128-ECB, AES-192-ECB, AES-256-ECB]
[ available ]
I could only install it with opkg install miniupnpd-nftables luci-app-upnp
.
For /etc/config/upnpd
, we better to enable and setup these options:
config upnpd 'config'
option enabled '1'
option external_iface 'wan'
option internal_iface 'lan'
If you have a 3rd Radio and you have the European version of WRT and have a 3rd radio, to get it to work on DFS/Radar, create this file:
/etc/modules.d/mwifiex
with this content:
mwifiex reg_alpha2=FR
Then, set all radio 1 and 2 to be FR as well and the DTS/Radar perfectly works.
Tested on WRT1900ACSv2 and WRT3200ACM, works.
README
For some reason it needs this:
# based on this https://truica-victor.com/dhcp-packet-received-eth0-2-address/
echo "except-interface=eth1.2" >> /etc/dnsmasq.conf