Old or specific routers : which sw/hw info are relevant?

hello

for an independant site of openwrt for various devices, im wondering, about devices whom are not or abandoned from openwrt's wiki : which kind of information/commands are relevant?

eg :
dmesg
logread
but also
cat /proc/meminfo
/proc/cpuinfo
lsmod
opkg -list
etc..
which hw/sw based-info might be present within the "introduction page" of a owrt router?

thank you!

Relevant for what?

An independent site?

This can be clearly seen after booting OpenWrt and browsing to the router's webpage.

I assume you've never used OpenWrt (since that answer is available for anyone running an OpenWrt device)?

Can you explain what site you're talking about and why the OpenWrt site isn't sufficient?

Are you referring to the Wiki itself, or devices for which OpenWrt support has been deprecated? Two very different things.

The commands you list are basic linux/OpenWrt commands... they are relevant on all devices. What are you hoping to learn with or about the commands?

What do you mean by "introduction page"?

somebody bought a router
it's either :
too old
not officially owrt supported
already supported but no information shared on it.
but anyway : openwrt, old or recent version, works.
i have plenty different routers (some old, some not old) which doesnt have a owrt's official wiki page, or with only very minimal information (hw only, no dmesg)

i was thinking, for a independent site (i know some openwrt members, not all of them, really dislikes -or hates- the idea of use owrt for oldies routers, even if some others member already succeed the challenge of 32/4 where all owrt-wiki's page says "dont use it!!", well it turns well with not so old releases (less than five years ago, means recent)), and for the fact of what i wrote in the parenthesis, the idea would be to avoid disturbing people allergical to 32/4 or to oldies routers to avoid putting those information on the official wiki (i did years ago, my text has been deleted [too old] ), i was thinking to put them on an unofficial owrt website (kind of blog) to let few datasheet/hw/sw information which are the most relevant, to be sure that the guy who owns the router, officially unsupported by openwrt, can see : it's officially unsupported, but anyway : with that .bin image, it works perfectly.

that's why i was asking for the most relevant hw/sw info, such as :
dmesg
logread
proc/meminfo
proc/cpuinfo
lsmod

etc etc .. but im sure im missing lot of interesting/necessary information!

thank you

So basically, you wanna support old routers that the official project deems as having too little RAM/Flash?

it's not really "want", it's "inform" that it could work
i consider owrt 19 as not old (as win8/10/11 are not old)
few years is not old
lot of 32/4MB devices are considered as "nogozone" bit several members, saying "throw it away" "it's almost a virus" with old wrties.
i dont consider it so.
i well run owrt 19 on those devices, as AP+sta
the thing, would be to offer information about : yes, this device could thus run owrt 19 even on 32/4, even if it's not that speed (20Mspeed is high enough for lot of people)

so I made it like this :

#!/bin/sh
/bin/cat /etc/banner  >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/bin/uname -a  >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/sbin/ip a >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/sbin/ifconfig >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/bin/df -h >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/bin/opkg list-installed >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/sbin/lsmod  >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/usr/sbin/iw phy0 info  >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/usr/bin/free  >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/bin/dmesg >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/sbin/logread  >> /tmp/router
/bin/cat /root/line  >> /tmp/router
/bin/cat /proc/b* >> /tmp/router
/bin/cat /proc/c* >> /tmp/router
/bin/cat /proc/d* >> /tmp/router
/bin/cat /proc/f* >> /tmp/router
/bin/cat /proc/i* >> /tmp/router
/bin/cat /proc/l* >> /tmp/router
/bin/cat /proc/m* >> /tmp/router
/bin/cat /proc/n* >> /tmp/router
/bin/cat /proc/p* >> /tmp/router
/bin/cat /proc/s* >> /tmp/router
/bin/cat /proc/t* >> /tmp/router
/bin/cat /proc/u* >> /tmp/router
/bin/cat /proc/v* >> /tmp/router
/bin/ln -s /tmp/router /root/
exit 0

have to be copied within the /root/script

(where /root/line is just few lines to separate, eg):



then to add /root/script into the /etc/rc.local
then if you want to backup the router, just backup the overlay, it will take the router file, thus all hw/sw info needed are into the backup..

for me it worth it (i understand some readers might do a heartstroke, but if i can help others lurkers/passionate/engineers interested in resurrect 32/4 devices with 19th recent release)

So you're asking if version 19 devices....support version 19?

Or to fork version 19 to make a distribution for devices that are unsupported due to moderm RAM/ROM requirements?

Where are these scripts ran if OpenWrt is unsupported?

:warning: Ummmm you are describing a dangerous and unnecessary procedure.

There's many easier ways to backup a router already running OpenWrt. And if you're referring to an unsupported device, are you describing some common procedure?

It is old, too old, as it contains known-but-unfixed security bugs of varying severity, it should not be used anymore, at all.

1 Like