Consolepi

Latest version: v0.0.5

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

20241.0

- Change how python3-virtualenv is installed (pip --> apt) per PEP 668.

20236.1

- ✨ `consolepi-menu` will now show remote ConsolePis that fail API but are reachable via SSH (in remote shell menu)
- ✨ Enhance consolepi-status now has `-R` (reload consolepi services) and `-B` (brief) options
- ✨ consolepi-showaliases now works with ser2net v3 or v4
> Will use ser2net v4 config (if found) only if ser2net v3 config doesn't exist.

20236.0

- :sparkles: Add full support for ser2netv4 add/change/rename via rename(`rn`) option in the menu, and the `consolepi-addconsole`.
- :sparkles: Add `consolepi-convert` command, which will parse an existing ser2netv3 config (`/etc/ser2net.conf`) and create/update a ser2netv4 config (`/etc/ser2net.yaml`)
- :zap: Convert remote ConsolePi updates to async (they were already using threading)
- :zap: Convert remote ConsolePi updates to async (they were already using threading)
- :loud_sound: 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`
- :construction: (Requires manual setup for now see issue [119](https://github.com/Pack3tL0ss/ConsolePi/issues/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](readme_content/power.mdpower-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`
shell
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]`
- :bangbang: 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.

20235.0

- ser2netv4 Parsing. Rename is not refactored yet, but parsing the baud rate from defined adapters now works with ser2netv3 and ser2netv4.
- Rename still functional if still using ser2netv3
- If ser2netv4 is installed but the ser2netv3 config file still exists (`/etc/ser2net.conf`). ConsolePi will continue to use the v3 config for parsing. This is to allow time for manual conversion to the v4 format (`/etc/ser2net.yaml`)
- Fix issue introduced in v2022-4.x (which should have been v2023-xx.yy). Issue relates to handling optional requirement for RPi.GPIO module.
Sep 2022 (v2022-3.0) **Breaking Change for silent installs**
- Changed cmd-line flags for `consolepi-image` and `consolepi-install`/`consolepi-upgrade`. Use `--help` with those commands to see the changes.
- This is a breaking change for silent install. If using an install.conf file refer to the new example as some varirables have changed.
- Re-worked `consolepi-image` script ([consolepi-image-creator.sh](installer/consolepi-image-creator.sh)) to configure consolepi as the default user on the image.
- This is necessary for headless installs, as there is no default pi user anymore.
- Updated installation script... worked-around some dependencies that required rust build environment.
- Various other improvements to both of the above mentioned scripts.

20211.5

- Fix: RPI.GPIO set to use 0.7.1a4+ to accommodate known issue with python3.9 (bullseye default)
- Fix: bluetooth.service template updated for bullseye (dynamically handles both bullseye where exec path changed and prev rel)
- Enhancement: New OVERRIDE `api_port` actually merged previously is now documented in ConsolePi.yaml.example
- Enhancement: New OVERRIDE `hide_legend` will hide the legend by default in the menu (`consolepi-menu`). `TL` in the menu will restore it.
- Documentation: `ConsolePi.yaml.example` Now has all of the supported OVERRIDES listed with the default value and description.

20211.2

- Fix: new menu and options from previous commit broke baud rate change during rename.
- Fix: A remote with no local adapters would fail to launch rename (to rename an adapter on a remote another remote ConsolePi)
*Next commit will add support for custom port for the API on a per ConsolePi basis.*

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.