Here is an alias I created for the SSH client to display when the Pi-Star was last booted:
When was my Pi-Star booted
When was my Pi-Star booted
73...
Scott - N7HHI
Scott - N7HHI
Re: When was my Pi-Star booted
I just have to try that and it works.
Thank You.
Ole - OZ1CBK
Thank You.
Ole - OZ1CBK
Re: When was my Pi-Star booted
FYI;
I put all of my aliases in a file called:
And I put the following in my ~/.bashrc file:
Of course you have to do that in RW (rpi-rw) mode. Then the next time you login, your aliases will be there for your use...
I put all of my aliases in a file called:
Code: Select all
~/.bash_aliases
Code: Select all
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
73...
Scott - N7HHI
Scott - N7HHI
Re: When was my Pi-Star booted
This is awesome! Thank you for sharing!
This is what I was hoping with pi-star. With Linux, it makes it easy to configure and tailor, which will open opportunities. Thank you again for sharing!
This is what I was hoping with pi-star. With Linux, it makes it easy to configure and tailor, which will open opportunities. Thank you again for sharing!
Re: When was my Pi-Star booted
Very Nice!!! What file did you edit to get your callsign in banner for SSH?
Thanks,
KB5WCK
DMR ID: 3158487
KB5WCK
DMR ID: 3158487
Re: When was my Pi-Star booted
It is /etc/motd, be careful with it though so as not to break the update procedure.
That file changes whenever there is an update.
To get the callsign in ASCII Art use the following link:
http://patorjk.com/software/taag/#p=dis ... urCallsign
Replace "YourCallsign" with your callsign. Then use the "Select & Copy" button to copy the result to your clipboard...
That file changes whenever there is an update.
To get the callsign in ASCII Art use the following link:
http://patorjk.com/software/taag/#p=dis ... urCallsign
Replace "YourCallsign" with your callsign. Then use the "Select & Copy" button to copy the result to your clipboard...
73...
Scott - N7HHI
Scott - N7HHI
Re: When was my Pi-Star booted
Thanks for the reply. I will try that AFTER making a backup copy of file.
Thanks,
KB5WCK
DMR ID: 3158487
KB5WCK
DMR ID: 3158487
Re: When was my Pi-Star booted
One more question.... ok, two more... I tried changing colors and it doesn't work right. How do I do that? Also, how did you get the border to copy down/ Did you just copy and paste that also?
Thanks,
KB5WCK
DMR ID: 3158487
KB5WCK
DMR ID: 3158487
Re: When was my Pi-Star booted
You can't just use cut & paste for the color codes because there are control characters included in the codes and "cut & paste" can't copy control characters.
The border can be done with cut & paste.
When I get home from work, I will put together some more detailed instructions.
I use vi/vim as my text editor. I know how to enter control characters using that text editor. If you use a different text editor, I do not know how to do that. That would be beyond my ability to help you. If you do not already know how to use vim, it is not an easy editor to use/learn. I would not classify it as user friendly, rather I would say it is expert friendly. If you do already know vim, I can provide you with details about adding the control characters for the colors.
73,
~~Scott/N7HHI
The border can be done with cut & paste.
When I get home from work, I will put together some more detailed instructions.
I use vi/vim as my text editor. I know how to enter control characters using that text editor. If you use a different text editor, I do not know how to do that. That would be beyond my ability to help you. If you do not already know how to use vim, it is not an easy editor to use/learn. I would not classify it as user friendly, rather I would say it is expert friendly. If you do already know vim, I can provide you with details about adding the control characters for the colors.
73,
~~Scott/N7HHI
73...
Scott - N7HHI
Scott - N7HHI