The main reason is to be able to use the latest NodeJs for Linksys WRT (the default NodeJs is old) UPnP and the crypto accelerator.
Also, a docker container with all the firmwares and packages are in /build/source/bin
@
https://hub.docker.com/r/patrikx3/openwrt-insomnia
The default UPnP is using (about since OpenWrt v18) IGDV2 which is not compatible with consoles and Windows, so, installed UPnP IGDV1 in the firmware. So, now, all consoles are working with UPnP.
Since OpenWrt 19, the crypto accelerator is enabled by default.
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 ]
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.
There are at least about 9000 packages built for Linksys WRT.
See what is in create from scratch.
If you want to install right away with LUCI: https://cdn.corifeus.com/openwrt/
/cgi-bin/luci/admin/system/packages/ipkg
What is very useful is (many NodeJs built packages as well as binary builds):
src/gz openwrt_node http://cdn.corifeus.com/openwrt/21.02.5/packages/arm_cortex-a9_vfpv3-d16/node
The rest, you can find on OpenWrt as well, so you do not need it:
src/gz openwrt_core http://cdn.corifeus.com/openwrt/21.02.5/targets/mvebu/cortexa9/packages
src/gz openwrt_base http://cdn.corifeus.com/openwrt/21.02.5/packages/arm_cortex-a9_vfpv3-d16/base
src/gz openwrt_luci http://cdn.corifeus.com/openwrt/21.02.5/packages/arm_cortex-a9_vfpv3-d16/luci
src/gz openwrt_packages http://cdn.corifeus.com/openwrt/21.02.5/packages/arm_cortex-a9_vfpv3-d16/packages
src/gz openwrt_routing http://cdn.corifeus.com/openwrt/21.02.5/packages/arm_cortex-a9_vfpv3-d16/routing
src/gz openwrt_telephony http://cdn.corifeus.com/openwrt/21.02.5/packages/arm_cortex-a9_vfpv3-d16/telephony
If you use an insomnia
firmware, then you are done, but if you want one or more feeds from a non insomnia
firmware, your router still needs a verified signature.
You can enable foreign keys from this directory:
https://github.com/patrikx3/openwrt-insomnia/tree/master/image-builder-files/etc/opkg/keys to
/etc/opkg/keys
If you see something like untrusted comment: OpenWrt usign key of Patrik Laszlo / patrikx3
as it says, you do not have to be afraid. It means, that the comment itself is not verified.
The easiest solution I know is via LUCI :
http://192.168.1.1/cgi-bin/luci/admin/system/packages/ipkg
In the Configuration tab, comment like this:#option check_signature 1
You can also set it up via SSH as:
root@digi:~# cat /etc/opkg.conf
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
#option check_signature 1
Just edit there, nano
is installed, just comment the option check_signature 1
as it shows above.
Based on the OpenWrt forum discussions, after sysupgrade, the ext-root has to be re-built, no other solution.
It is only working, if only these are built in the firmware: hostapd-common wpad-mini
, nothing other like that. If not, it will not work. WPS info.
insomnia
worth trying, because you can use latest NodeJs.The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.
, you have to do it via SSH with sysupgrade -F FIRMWARE
, then it works.Docker CE
For your workstation, you don't really NodeJs, but GitHub actions and auto generated websites are required...
This is a OpenWrt Docker builder and a living Docker repo as well, ready to build, a lot already built. (A big image / full firmware, the most important packages are built. Ready to use.)
All the latest stable OpenWrt versions.
You run them, but these here, the built is in: http://cdn.corifeus.com/openwrt/21.02.5 , all the built packages and firmwares in /build/source/bin
, you move to a host, install the firmware and you are done, because in the insomnia
firmwares there is a lot in, but this is the default, so you need to change your own hostname here:
http://192.168.1.1/cgi-bin/luci/admin/system/packages/ipkg at Configuration
tab. If you do not want to build at all you can choose to your host
All built packages and firmwares including the insomnia
firmwares are in /build/source/bin
.
README about how I build the firmwares in order
https://hub.docker.com/r/patrikx3/openwrt-insomnia/tags/
https://cdn.corifeus.com/openwrt/
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