How to find out which version of OpenWRT you are running

  1. Login to your OpenWRT router using SSH, e.g. using
    ssh [email protected]
  2. Print the content of /etc/openwrt_release:
    cat /etc/openwrt_release
  3. This will print, for example
    DISTRIB_ID='OpenWrt'
    DISTRIB_RELEASE='21.02.0'
    DISTRIB_REVISION='r16279-5cc0535800'
    DISTRIB_TARGET='ipq40xx/generic'
    DISTRIB_ARCH='arm_cortex-a7_neon-vfpv4'
    DISTRIB_DESCRIPTION='OpenWrt 21.02.0 r16279-5cc0535800'
    DISTRIB_TAINTS='no-all busybox'

As you can see in the DISTRIB_RELEASE line in the output, we’re running OpenWRT 21.02.0 on this router.