Uptime Robot ratio (30 days)          
v2018.9.16-2
 7

☕ Latest Stable LEDE Version with many plus packages

END OF LIFE 

As of OpenWrt stable is released since 18.06.1 of this repo. There are know new releases.

The new OpenWrt is found here:
https://github.com/patrikx3/openwrt-insomnia
https://cdn.corifeus.com/openwrt/

LEDE Latest Stable build with latest NodeJs, always the latest Kaloz mwlwifi's WIFI driver, latest Redis stable 

... 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.

BEWARE 17.01.5 

For me, it is too buggy to use, here is the description:
https://forum.lede-project.org/t/lede-17-01-5-errors-on-linksys-wrt-sit-non-ect-from-error/17463

Linksys WRT3200ACM Winbond 

The info is here:
https://cdn.corifeus.com/openwrt/

RPI-3 

It is only re-built per request, given I do not use it.

The following CPU-s are fully built 

  • arm_cortex-a9_vfpv3 (arm a9)
  • mipsel_24kc (mipsel)
  • arm_cortex-a53_neon-vfpv4 (arm a53) - per request

There are at least about 5500 packages built per target.

The packages that are pre-built in all insomnia firmwares 

  • luci-mod-admin-full
  • luci ssl
  • luci-app-firewall
  • luci-app-openvpn
  • luci-app-samba
  • luci-app-upnp
  • luci-app-wol
  • luci-theme-bootstrap
  • firewall
  • dropbear
  • ca-certificates
  • nano
  • ncdu
  • bash
  • miniupnpd
  • watch
  • whereis
  • curl
  • git
  • git-http
  • midnight commander
  • wget
  • openvpn
  • samba server
  • openssh-sftp-server
  • openvpn-easy-rsa
  • openvpn-openssl
  • rsync
  • rsyncd
  • logrotate
  • tar
  • whereis
  • wpad & hostapd-utils so you can use WPS
  • all required packages are built so you are able to create an ext-root
  • and all packages have luci settings as well

Besides, all packages are there, like:

  • samba client
  • nginx
  • apache - with http2 enabled
  • php 7
  • python 2 and 3
  • Redis stable version
  • msmtp
  • mariadb
  • nodejs latest
  • But everything is built, actually!

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

Redis stable version is here!

MariaDB 10 is here!

Routers pre-built 

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

The release 

  • Linksys WRT1900ACS-latest-mwlwifi / Linksys WRT3200ACM-latest-mwlwifi
    • For Linksys the firmwares that start with insomnia-latest-mwlwifi worth trying, because your WIFI is will be flying.
    • https://cdn.corifeus.com/lede/17.01.4/targets/mvebu/generic/
      • If you get the error 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.
      • If you have a bricked firmware, you need a USB-TTL. Linksys USB-TTL.
      • Error code: 18005
        • When trying to install a firmware image, I get the following error:
          • Error code: 18005, Upgrade unsuccessfully because the version of the upgraded file was incorrect. Please check the file name.
        • Solution: Rename the firmware image to something short, like e.g. factory.bin
  • RPI-3

If you want some of the packages 

/cgi-bin/luci/admin/system/packages/ipkg

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

src/gz insomnia_core http://cdn.corifeus.com/lede/17.01.4/targets/mvebu/generic/packages
src/gz insomnia_base http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/base
src/gz insomnia_luci http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/luci
src/gz insomnia_mariadb http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/mariadb
src/gz insomnia_node http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/node
src/gz insomnia_packages http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/packages
src/gz insomnia_redis http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/redis
src/gz insomnia_routing http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/routing
src/gz insomnia_telephony http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a9_vfpv3/telephony

R-PI 3 or compatible arm (arm_cortex-a53_neon-vfpv4) 

src/gz insomnia_core http://cdn.corifeus.com/lede/17.01.4/targets/brcm2708/bcm2710/packages
src/gz insomnia_base http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/base
src/gz insomnia_luci http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/luci
src/gz insomnia_mariadb http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/mariadb
src/gz insomnia_node http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/node
src/gz insomnia_packages http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/packages
src/gz insomnia_redis http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/redis
src/gz insomnia_routing http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/routing
src/gz insomnia_telephony http://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/telephony

Signatures 

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/lede-insomnia/tree/master/image-builder-files/etc/opkg/keys to:

 /etc/opkg/keys

Option 2 

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

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.

Generate real signatures, do not need #option check_signature 1 

Everything is verified.

I have my own GPG and USIGN. So the http://cdn.corifues.com/lede it works with signatures by now.

But if you want to build your own firwmare based on insomnia, you need to create your own GPG and USIGN, you can generate like this:
https://lede-project.org/docs/user-guide/keygen

A few small info is here info.

So to build with insomnia you need to place some files like above.

The lede-insomnia/image-builder-files/etc/opkg/keys/xxxxxxx is your USIGN actual public.key with the hash name, it builds into the firmware, the description in the link just above coming right away, says how to generate that file.
The lede-insomnia/secure/gpg/secret-signing-key.pgp and secure/usign needs the public.key and secret.key. You also need to add in lede-insomnia/secure/passphrase.txt, which is your GPG passphrase. If this is added in, you can sign everything.

Right now, it is not found to automatic use the passphrase for gpg, so you have to type it in for the passphrase.

Before it asks for the passphrase, it will show on the terminal so you copy and then just paste it. It will as twice.

They files to generate are in the same link above. So, if you want to sign, you might need to contact to me.

GPG and USIGN structure in the repo GPG and USIGN structure in the repo

If you have this signed gpg and usign data and keys, I can help you to signed firmwares and packages.

Ext-root issue 

Solution 1 

If you use for example:
https://cdn.corifeus.com/lede/version/arhitecture/target/type/file-firmware-squashfs-sysupgrade.bin

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:
https://cdn.corifeus.com/lede/version/arhitecture/target/type/file-firmware-squashfs-factory.bin

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:
https://forum.lede-project.org/t/solved-sd-card-extroot-stop-auto-mount-after-firmware-upgrade/4310/1

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 

Requirements 

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 LEDE 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 LEDE versions.

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

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

  • RAW

    • docker pull patrikx3/lede-insomnia:latest

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

My repos 

https://hub.docker.com/r/patrikx3/lede-insomnia/tags/

https://cdn.corifeus.com/lede/

Linksys WRT Radar Detection 

Tested on WRT1900ACSv2 and WRT3200ACM, works.
README

Ext-Root 

README

README

Docker commands 

README

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 LEDE with some changes, if you need info, I can give you, just it is mine private git server because of passwords.

Create from scratch 

README

Copy configs 

README

Firmware sizes 

README

WPS 

README

Packages and patches 

README

Linksys WRT 3200ACM 160 Mhz 

README

Linksys USB-TTL 

README

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" >> /etc/dnsmasq.conf
lede Insomnia
onenoteangular-compileramdiskgitlistfreenomlede-insomniaopenwrt-insomniadocker-debian-testing-mongodb-stablelede-redislede-mariadbaes-foldercorifeus-app-web-pagesgrunt-p3x-expressopenwrt-rediscorifeuscorifeus-web-materialhtml-pdffortune-cookiecorifeus-webcorifeus-builder-angularcorifeus-utilscorifeus-buildercorifeus-serverredis-ui-materialredis-ui-serversystemd-managertoolscorifeus-app-server-patrikx3redis-ui
  Bugs are evident™ - MATRIX
OK