DietPi-Banner | Proposal for stats

Created on 29 May 2016  路  4Comments  路  Source: MichaIng/DietPi

Use case is:

  • I use various locales, specifically en:US|UK|DE
  • I use various dev machines with static IPs
  • Just a proposal for how to go about adding useful login/head information?
  • Displays IPv4/6 information along with hostname, locale, and uptime -s

dietpi-login-stats-proposal

Attached is the altered code as this is - IMHO - not valid for any commit, but for review of @Fourdee to consider.

Cheers!
dietpi-banner.txt

Feature Request Priority Low Question Software Request

Most helpful comment

Just an idea, maybe we could do a dietpi-sysinfo script. Similar to cpu dietpi-cpuinfo? Instead of filling up the banner? Then we can add as much info as we want :)

All 4 comments

Yep, i think we can add some of these in. Although the banner would need cleaning up (move stuff around).

I think these should be in:

  • Uptime
  • IPv4
  • IPv6

The items i think might be useful, but not necessary:

  • Hostname

The items i personally feel shouldnt be there:

  • Locale. Maybe we could scrape the current locale and add that to dietpi-config language menu instead?

Just an idea, maybe we could do a dietpi-sysinfo script. Similar to cpu dietpi-cpuinfo? Instead of filling up the banner? Then we can add as much info as we want :)

I completely agree, @Fourdee -- I hated filling up the screen, especially when using SSH/Terminal access. Obviously I am cooking with NASA rocket fuel this weekend, so I think I can definitely cook something up -- even something with a webhook so one could poke, say:

http://myhost.mydomain:1234
(prompts for authentication and that is the only stateful bit!)

Prototypes will be sent your way after I look at the backlog I have :-)

I want to keep the banner lightweight and clean as possible. We currently have the IP address in there. Adding more stats means more processing and more mess.

We also have dietpi-cloudshell stats for those users who want it: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&start=20#p204

Marking as closed. Please reopen if required.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

and09 picture and09  路  3Comments

MichaIng picture MichaIng  路  3Comments

mok-liee picture mok-liee  路  3Comments

Fourdee picture Fourdee  路  3Comments

k-plan picture k-plan  路  3Comments