-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2023-6.0 #168
Merged
Merged
v2023-6.0 #168
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User would just `ssh -t <consolepi address> -p 2202 <device name>` The `-t` is key or picocom launches without a tty and tab completion and some other things break. `<device name>` is the name of the adapter. Which should be an alias like `r1-6300M-sw` but could also be `ttyUSB0` currently extract the baud and connection settings from ser2net config.
Used for mdns_browse which never updates cloud anyway
Previous push to dev converted the remote verification from threading to async. Some references needed to be adjusted to call a couroutine vs a method. (await / asyncio.run())
Prior to this change the spin text was unpredictable given it's set by multiple async tasks at once
Will still default to ser2netv3 file if it exists regardless of ser2net ver
In testing was always a fraction of a second.
No impactful change
Also parse any `TRACEFILE:` definitions and convert to v4 compatible `define` line. These are stored in the dict key `_v4_tracefiles`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
rn
) option in the menu, and theconsolepi-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 genericallypython3
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)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.