Use sudo dmidecode -s system-product-name for model
[sudo] password for glenn: Generated by: rpi-info-1.0.sh on 2024-01-17 Hostname : Macmini Local IP : 192.168.5.22 10.8.0.1 MAC : a8:60:b6:0b:6e:2a 1 enp3s0f0 MAC : 1 tun0 MAC : 2c:f0:a2:f1:cc:c8 1 wlp2s0 Hardware : Revision : Tot Memory : 3874104kB Serial : Model : cat: /sys/firmware/devicetree/base/model: No such file or directory Hardware : Intel(R)Core(TM)i5-4260UCPU@1.40GHz Architecture: x86_64 Debian Vers : bookworm/sid Codename : jammy jammy No of Pkgs : 1956 Max Freq : 2700000:width