Uptime Robot ratio (30 days)      

☕ OpenWrt with latest NodeJs and Linksys WRT Wifi

Linksys WRT WIFI 

It is always a custom built using the latest Kaloz's Wifi driver.


... and many pre-built packages and firmwares, image builder, Linksys WR1900ACS/WRT3200ACM and RPI-3 is already built, but based on the READMEs, you can built a new one easy.

The following CPU-s are usually built 

  • arm_cortex-a9_vfpv3 (arm a9) - mvebu eg. Linksys WRT
  • aarch64_cortex-a53 (arm a53) - per request - R-PI 3
  • mipsel_24kc (ramips) - mt7621 eg. D-LINK DIR 860L B1

There are at least about 5500 packages built per target.

  • Enabled Apache HTTP2
  • Enabled NGINX HTTP2
  • nodejs current version

I cant's list all of it, there is enough for now. See what is in create from scratch.

Routers pre-built 

If you want to install right away with LUCI: https://cdn.corifeus.com/openwrt/

The release 

  • Linksys WRT1900ACS / Linksys WRT3200ACM

If you want some of the packages 


Linksys WRT or compatible alike mvebu / arm 9 (arm_cortex-a9_vfpv3) 

src/gz insomnia_core http://cdn.corifeus.com/openwrt/18.06.2/targets/mvebu/cortexa9/packages
src/gz insomnia_base http://cdn.corifeus.com/openwrt/18.06.2/packages/arm_cortex-a9_vfpv3/base
src/gz insomnia_luci http://cdn.corifeus.com/openwrt/18.06.2/packages/arm_cortex-a9_vfpv3/luci
src/gz insomnia_node http://cdn.corifeus.com/openwrt/18.06.2/packages/arm_cortex-a9_vfpv3/node
src/gz insomnia_packages http://cdn.corifeus.com/openwrt/18.06.2/packages/arm_cortex-a9_vfpv3/packages
src/gz insomnia_routing http://cdn.corifeus.com/openwrt/18.06.2/packages/arm_cortex-a9_vfpv3/routing
src/gz insomnia_telephony http://cdn.corifeus.com/openwrt/18.06.2/packages/arm_cortex-a9_vfpv3/telephony


If you do not want to have the hassle, there are multiple solutions below. 

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.

If you just use one or a few feeds non insomnia firmware, your router needs a signature 

You can enable foreign keys from this directory:
https://github.com/patrikx3/openwrt-insomnia/tree/master/image-builder-files/etc/opkg/keys to


Option 2 

The easiest solution I know is via LUCI :

In the Configuration tab, comment like this:
#option check_signature 1

Option 3 manual with SSH 

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.

Ext-root issue 

Solution 1 

If you use for example:

So it is a sysypgrade -F firmware. Then I can re-use the old ext-root, that I had before. Actually it only works with the Linksys WRT 3200ACM, with Linksys WRT 1200ACS it was not working, but maybe it still work, I don't know, it could be something changed that made it not work. :)

But, if you use a factory, like:

Then it doesn't work, you have to re-build to ext-root.

There is a Solution 2, but for me it didn't work, but by using a sysupgrade firmware. It will re-use the ext-root.

Solution 2 

If you have ext-root before sysupgrade you need to execute rm -f /overlay/etc/.extroot-uuid. After restart, please reboot again and it works.

Based on:

For me it is not working, I use solution 1. 

Wifi and WPS Issue 

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.



Docker CE

For your workstation you don't really NodeJs, but my Travis, Scrutinizer and my auto generated web sites 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.)

Changing the firmware pre-built, so the build will be fast!!! 

All the latest stable OpenWrt versions.

  • docker pull patrikx3/openwrt-insomnia:linksys-wrt

  • docker pull patrikx3/openwrt-insomnia:rpi-3

  • RAW

    • docker pull patrikx3/openwrt-insomnia:latest

You run them, but these here, the built is in: http://cdn.corifeus.com/openwrt/18.06.2 , 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: 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

My repos 



Linksys WRT Radar Detection 

Tested on WRT1900ACSv2 and WRT3200ACM, works.




Docker commands 


Create packages, not neeed anymore 

My first package

Use Fail2Ban on your router 

Fail2Ban though is for DDWRT, but it is the same to set it up with OpenWrt with some changes, if you need info, I can give you, just it is mine private git server because of passwords.

Create from scratch 


Copy configs 


Firmware sizes 




Packages and patches 


Linksys WRT 3200ACM 160 Mhz 


Linksys USB-TTL 


Linksys WRT 3200ACM 

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
openwrt Insomnia
onenoteGithub onenoteredis-uiGithub redis-uiangular-compileGithub angular-compilegitlistGithub gitlistramdiskGithub ramdiskfreenomGithub freenomopenwrt-insomniaGithub openwrt-insomniadocker-debian-testing-mongodb-stableGithub docker-debian-testing-mongodb-stableredis-ui-serverGithub redis-ui-servercorifeus-app-web-pagesGithub corifeus-app-web-pagesverdaccio-cliGithub verdaccio-clicorifeusGithub corifeuscorifeus-web-materialGithub corifeus-web-materialgrunt-p3x-expressGithub grunt-p3x-expresshtml-pdfGithub html-pdfsystemd-managerGithub systemd-managercorifeus-app-server-patrikx3Github corifeus-app-server-patrikx3corifeus-builderGithub corifeus-buildercorifeus-builder-angularGithub corifeus-builder-angularcorifeus-serverGithub corifeus-servercorifeus-utilsGithub corifeus-utilscorifeus-webGithub corifeus-webfortune-cookieGithub fortune-cookieredis-ui-materialGithub redis-ui-materialtoolsGithub tools