Raspberry Pi Based Serial Console Server, with PushBullet Notification of IP changes, Automatic VPN termination, custom menu, Power Outlet Control, and a lot more
MIT License
✨ Large update!!
The release of Raspberry Pi OS 12 (bookworm) included a change to use NetworkManager to manage the network.
That broke all network based automations (PushBullet notifications of IP change, cloud sync after IP change, Automatic VPN, Auto fallback to hotspot, ZTP (fallback to static wired w/ DHCP))
Here is a summary of what's in this release:
✨ Restore all network based automations.
✨ Various improvements in network automation/dispatcher script.
✨ Dynamically determine interface names throughout. (primarily of benefit for non rpi systems)
✨ Various installer improvements.
🐛 Fix optional utilities part of installer / consolepi-extras . Specifically speed-test (already merged) and ansible/ansible collections.
✨ Change method of installing ansible, new method provides more recent version of ansible.
➖ Strip requirements.txt to only direct dependencies
✨ handle deletion of ser2net.conf file after consolepi daemons have started (typically in favor of ser2net.yaml)
✨ Add proc_ids to identify rpi 5
✨ Improve logic that determines if speed-test should be hidden in utilities/consolepi-extras menu.
speedtest is hidden for platforms it doesn't make sense on, i.e. everything prior to rpi4 when the eth NIC would be the limitting factor in any speedtest
✨ Improve consolepi-btconnect Now shows "not found error" when device isn't found and has --list and --help command line options.
🧑💻 Add --no-user option to consolepi-installer primarily to speed repeated testing during development.
✨ Add --branch option to installer (to install from a branch other than master)
✨ Various improvements to consolepi-image
✨ Deprecate/remove ConsolePi_cleanup sysv script, and deploy consolepi-cleanup systemd (consistency)
✨ Updated consolepi-autohotspt to work with NetworkManager (now works with both legacy or bookworm+ installed
Published by Pack3tL0ss 10 months ago
🔖 v2024-2.1 Installer v71
Published by Pack3tL0ss over 1 year ago
Releases are just archived milestone releases the current master branch should be used for new installs
rn
) option in the menu, and the consolepi-addconsole
.consolepi-convert
command, which will parse an existing ser2netv3 config (/etc/ser2net.conf
) and create/update a ser2netv4 config (/etc/ser2net.yaml
)top
and the like) vs generically python3
ssh -t <consolepi address> -p 2202 <device name>
ssh -t consolepi4 -p 2202 r1-8360-TOP
will connect to the defined udev alias /dev/r1-8360-TOP
connected to remote ConsolePi ConsolePi4 (you could use ip vs hostname)The examples uses a predictable device name (
r1-8360-TOP
) vs. the default /dev/ttyUSB# Use consolepi-addconsole or the rename(rn
) option inconsolepi-menu
to discover and apply predictable names to connected serial adapters.
r1-8360-TOP
has an outlet linked to it, connecting to the device will automatically verify the outlet is on, and turn it on if not. See Power Control Setup for more details.systemctl restart ssh
Port 22
Port 2202
AddressFamily any
ListenAddress 0.0.0.0
Match LocalPort 2202
ForceCommand /etc/ConsolePi/src/remote_launcher.py $SSH_ORIGINAL_COMMAND
ssh -t <consolepi address> -p 2202 <device name> [any flags picocom supports]
-t
option is crucial, otherwise there is no tty which causes strange behavior in the terminal (tab completion via the connected device among other things break). Will research if there is a way to attach it on the server side.Published by Pack3tL0ss over 3 years ago
Releases are just archived milestone releases the current master branch should be used for new installs
Menu Paging Release
Published by Pack3tL0ss about 4 years ago
ConsolePi ZTP
Installer & Image Creator Improvements
Published by Pack3tL0ss over 4 years ago
Most Significant Change is addition of support for espHome flashed outlets
Added Support for local UARTs. The Pi4 actually has 6 UARTs (5 are useable), ConsolePi now supports those onboard UARTS (they will show in the menu). See the Local UART support (GPIO) section for details.
Fixed minor issue with keyboard update to US when regulatory domain for hotspot for WLAN is set to US, issue was if user opted to not enable AutoHotSpot (a new option in last release), reg domain wasn't used but was defaulted to US.
Fixed Show/Hide Linked devices toggle in Power Menu for dli and espHome. Now correctly displays just what is linked to that specific port (was showing all linked to any port on that dli/espHome device). Also fixed display of locally defined hosts (TELNET/SSH hosts defined in ConsolePi.yaml), so they appear if linked as well.
Enhanced the Show/Hide Linked devices toggle to show any adapters defined, vs. previously only showing if the adapter was actually connected. If your terminal client is configured to honor ASCII coloring linked adapters that are disconnected will appear in red (Only applies to adapters, connevtivity is not verified for TELNET/SSH hosts configured in ConsolePi.yaml).
Fixed issue with rename function for adapters that don't present a serial #
Lots of other minor fixes and tweaks
Published by Pack3tL0ss over 4 years ago
This is the final release with support for Rasbian stretch (Python versions prior to 3.6)
Releases beyond this will require Python 3.6 or greater.
Suggest Imaging a ConsolePi with Buster the newer release has numerous improvements.
Published by Pack3tL0ss almost 5 years ago
The installer script will still reach out and pull the current Master. No reason to install a particular release, however it's possible by specifying the tag via git, (may have to tweak the install script, as well re it's interaction with git, not sure)