Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 4.32 KB

File metadata and controls

81 lines (61 loc) · 4.32 KB

Tiny-Avitus build config for OpenWRT 19.07.11

This is NOT and official OpenWRT release. I am just a user, who wants to keep some of his devices usable.

  • Built on: Ubuntu 20.04.4
  • Tested on: TPLink TL-WR740N v4; Past problems: WR941ND v3;
  • Firmware version: Cyrus 19.07.11 r11435-15432053ab / LuCI openwrt-19.07 branch git-22.264.46202-f25285a
  • Kernel version: 4.14.275

0. Notes

I wasn't able to ssh into some of my old 19.07.10 devices after switching to Ubuntu 22.04 because the rsa host keys were not supported anymore. I tried cherry-picking some fixes however at that time I did not realize that the openwrt-19.07 branch is end-of-life and closed.

At the end I decided to cherry-pick 5 dropbear commits and create my own tagged release. And again, just to emphasize:

This is NOT and official OpenWRT release. I am just a user, who wants to keep some of his devices usable.

Note: Ubuntu 22.04.5 is the last LTS version that can build the openwrt-19.07. branch.*

0.1. Changelog

Changes from v19.07.10..v19.07.11:

  • openwrt: Cherry-picked dropbear fixes and changes from the openwrt-21.03 branch to support new hostkeys.
  • packages: Cherry-picked muinlite changes from master to support new features.
  • feeds: changed feeds from git.openwrt.org to github.com. Removed telephony and freifunk.
  • other contributions.

0.2. Errata

  • Due to a change in openssh you cannot connect to this version of dropbear. The error message is: no matching host key type found. Their offer: ssh-rsa To fix this add HostKeyAlgorithms +ssh-rsa to the /etc/ssh/ssh_config on your client (Ubuntu, Fedora, ...)
    • This is fixed by cherry-picked dropbear commits.
  • A possible WiFi instability on a TL-WR941ND v3 device.
    • Maybe it is related to a channel collision. I don't know how to fix it.
    • After switching the device to tiny-avitus-21.03 there was no error.

0.3. Accessing old version

1. How to clone the openwrt repository to build v19.07.11

git clone git@github.com:gajdipajti/openwrt.git --branch v19.07.11 --single-branch

2. Selected devices

3. Changes from default (but compare it yourself)

  • Target: ath79 + subtarget: tiny
  • Target Images: squashfs with 1024 Block size
  • Global build settings: small changes, mostly stripping and removing IPv6
    • If you need ~100K more space remove printtk support. I left it in for testing.
  • Image configuration:
    • Version configuration options: Release distribution: Avitus; Support URL: this GitHub repository
  • Base: -opkg, +dropbear:ecc, full_ecc, chacha20poly1305, curve25519, ed25519
  • Administration: +muninlite
  • Kernel modules:
    • Network Support: -kmod-ppp, +kmod-wireguard
    • Other modules: -kmod-gpio-button-hotplug
    • W1-support: +kmod-w1, +kmod-w1-gpio-custom, +kmod-w1-master-gpio, +kmod-w1-slave-therm
    • Wireless Drivers: -ath-dfs, -mac80211-mesh
  • Libraries: +libqrencode
  • Luci:
    • Modules: +luci-base, +minify*, Translations: {hungarian, english}, +luci-mod-admin-full, +luci-mod-network, +luci-mod-status, +luci-mod-system
    • Applications: +luci-app-firewall, +luci-app-wireguard
    • Themes: +luci-theme-bootstrap
    • Protocols: +luci-proto-wireguard
  • Network:
    • -wpad-mini, +wpad-basic
    • VPN: +wireguard, +wireguard-tools
    • Webservers: +uhttpd, +uhttpd-mod-ubus
  • Utilities:
    • -wifitoggle
    • +qrencode