- Version.......: 0.3.8 (Feb 2016)
- By............: Mun ~ Cameron Munroe
- Website.......: https://www.cameronmunroe.com/
- Git...........: https://git.enjen.net/Munzy/custom_motd
- GitHub........: https://github.com/Munroenet/custom_motd
Custom MOTD is a addition to the regular MOTD system built into most Linux servers / Desktops. It was built by myself to show valuable information right at login, things that the inital MOTD in most system seem to lack.
- vnstat
- wget
- Download custom_motd to /usr/bin/custom_motd
- apt-get install ca-certificates
- apt-get install vnstat
- Edit /etc/vnstat.conf
- Change 'Interface "eth0"' to your default interface
- chmod +x /usr/bin/custom_motd
- Edit /etc/profile
- Add custom_motd to the EOF (End of file)
- Download custom_motd to /usr/bin/custom_motd
- apt-get install ca-certificates
- apt-get install vnstat
- Edit /etc/vnstat.conf
- Change 'Interface "eth0"' to your default interface
- chmod +x /usr/bin/custom_motd
- Login into user you wish to have custom_motd installed on
- Edit ~/.profile
- Add custom_motd to the EOF (End of file)
- Repeats steps (7 - 9) as needed for each user.
Example installers can be found under the inst folder.
The IP info shown in the MOTD is your systems default IPs. If you have multiple IPs of the same version it will only show the dafault sytem IP and no others.
We use wget to pull the IP info as it is generally installed by default on all platforms, at least as far as I know.
We pull the IP info from an external source that I run called enjen.net. All connections made to enjen.net are over HTTPS so your data is secure and encrypted. As of current, Feb 2016, it has a A+ rating as per ssllabs.com.
The bandwidth info comes from vnstat. Vnstat is an amazing little tool and will show this months usage.
- Total Project...: Cameron Munroe ~ Mun
- OS Code.........: Observium https://github.com/tomzx/observium/blob/svn-trunk/scripts/distro
- ASCII Welcome...: http://patorjk.com/software/taag/
- ASCII Cat.......: http://www.asciiworld.com/-Cats-.html
- Etc.............: http://stackoverflow.com/ For being amazing....
- Ubuntu 14.04
- Debian 8.3
- Debian 7.0
- Debian 6.0
- Centos 7.1
- Centos 6
- Centos 5 (Minor compatability issue with Act. Logins)
- VestaCP: Breaks some cron functions. (Use single user install to resolve)
https://tl.munroenet.com/b/qFvPa8PxWYGkcBLku/custom_motd#
If you find a bug please post on this forum: https://qwdsa.com/c/forums/bug-reports.18/
Give me as much detail as possible so I can diagnose the issue quicker and faster.