Re: Cron job for inxi -i reports WAN IP: <filter>
Andy Smith composed on 2025-09-06 18:47 (UTC):
> It's a pity that there's no way to do it without consulting some remote
> device — I assume inxi is also doing it this way. I can think of some
> ways to do it but they all depend too much on how your network is
> working
Inxi is a heavily commented perl script:
$ inxi --vs
inxi 3.3.39-00 (2025-08-29)
$ grep -i wan /usr/local/bin/inxi | wc
147 1675 9507
$ grep -i wan /usr/local/bin/inxi | grep -v \# | wc
42 241 2101
$
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata
Reply to: