Skip to content
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

Refine remote.it operations, now that connectd systemd service is gone, and considering 3 valid states for /etc/remoteit/registration #3395

Merged
merged 12 commits into from
Oct 9, 2022

Conversation

holta
Copy link
Member

@holta holta commented Oct 9, 2022

remote.it Device Packages 4.15.2 removed their connectd "parent" systemd service as of 2022-09-07. So instead of bouncing their connectd service, going forward, we'll instead run /usr/share/remoteit/refresh.sh which should generally do the exact same thing.

This PR aims for a cleaner all-around solution to remote.it frailties.

Recognizing that /etc/remoteit/config.json may or may not exist a priori (with or without a claim code) and that /etc/remoteif/registration can be in any one of 3 states {doesn't exist, is empty to block registration handshake, OR contains a [presumably valid!] remoteit_license_key} ...until remote.it is enabled by either...

  • sudo /usr/bin/iiab-remoteit

Or...

  • ./runrole remoteit which runs roles/remoteit/tasks/enable-or-disable.yml (after you set remoteit_enabled: True in /etc/iiab/local_vars.yml)

Needs testing in coming days!

Building on:

@holta
Copy link
Member Author

holta commented Oct 9, 2022

Tested quite thoroughly on 64-bit RasPiOS Lite on RPi 4.

Thanks if others can test this on other OS's and other hardware in coming days and weeks!

@holta holta merged commit 65dcf0c into iiab:master Oct 9, 2022
@holta holta changed the title Refine remote.it operations, now that connectd system service is gone, and considering 3 valid states for /etc/remoteit/registration Refine remote.it operations, now that connectd systemd service is gone, and considering 3 valid states for /etc/remoteit/registration Oct 10, 2022
@holta holta added this to the 8.0 milestone Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant