Skip to content

v2023-6.0

Compare
Choose a tag to compare
@Pack3tL0ss Pack3tL0ss released this 19 Jul 05:07
· 247 commits to master since this release

Releases are just archived milestone releases the current master branch should be used for new installs

  • ✨ Add full support for ser2netv4 add/change/rename via rename(rn) option in the menu, and the consolepi-addconsole.
  • ✨ Add consolepi-convert command, which will parse an existing ser2netv3 config (/etc/ser2net.conf) and create/update a ser2netv4 config (/etc/ser2net.yaml)
  • ⚡ Convert remote ConsolePi updates to async (they were already using threading)
  • ⚡ Convert remote ConsolePi updates to async (they were already using threading)
  • 🔊 Update Spinner with the name of the remote as reachability is being check for remote ConsolePis. Make failures persistent (spinner shows what failed and continues one line down.)
  • The various consolepi-services that run as daemons (for remote discovery) now display a descriptive process name (i.e. when running top and the like) vs generically python3
  • 🚧 (Requires manual setup for now see issue #119) Add ability to ssh directly to an adapter specifying adapter by name
    • i.e. ssh -t <consolepi address> -p 2202 <device name>
    • real example 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 in consolepi-menu to discover and apply predictable names to connected serial adapters.

    • This feature retains power-control, so if 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.
    • This is a work in progress. The sshd config still needs to be automated but can be manually created. Just place the following in a new file /etc/ssh/sshd_config.d/consolepi.conf and restart ssh 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
    • In future release additional flags will be passed on to picocom i.e. ssh -t <consolepi address> -p 2202 <device name> [any flags picocom supports]
    • ‼️ The -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.