DHCPv4 option 60 is provided by the client. Even if it contains udhcp and a version, this only indicates that the client used this identifier in this request; it is insufficient to identify the firmware release, patches, or hardware revision.
What conclusions can be drawn when only DHCP records are available?
On your own-managed DHCP server, correlate the arrival time, client identifier, interface, and lease for this record. First verify that the request is coming from the router's WAN interface to avoid misidentifying downstream computers or devices on another subnet. If custom Vendor Class is enabled, the string may vary with configuration; different firmware versions can still package the same BusyBox version.
With local management permissions, directly match the build number.
ubus call system board
cat /etc/openwrt_release
busybox | head -n 1
uci -q get network.wan.vendorid
The last line applies to the DHCP client on the logical interface named wan. Failure to obtain custom values only indicates that the path did not read the settings—it does not prove that the on-line packets necessarily adopt a default value. Record release.distribution, release.version, and release.revision in the asset log; note the BusyBox version in a separate column. When only lease logs are available and no local evidence exists, mark the system version as pending confirmation; no adjustment of DHCP or network restart is required to infer the version.
Reference
- OpenWrt Wiki
- Vendor-specific information in the DHCP protocol script of OpenWrt
- The Vendor Class Identifier defined in RFC 2132
Related guide · How to find a single-port OpenWrt device after switching it to DHCP
Comments