1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
iiab/roles/remoteit/README.md

62 lines
3.2 KiB
Markdown
Raw Normal View History

# Remote support for Internet-in-a-Box
2021-10-27 22:53:09 +00:00
A great to remotely support an Internet-in-a-box (IIAB) is to install and config [remote.it offical website](https://remote.it), for other approaches, please see [FAQ](http://wiki.laptop.org/go/IIAB/FAQ#How_can_I_remotely_manage_my_Internet-in-a-Box.3F) under the topic 31 "How can I remotely manage my Internet-in-a-Box?"
2021-10-27 22:53:09 +00:00
## Getting started
2021-10-27 22:53:09 +00:00
### Create a remote.it account
1. Go to [remote.it offical website](https://remote.it) and sign up for an account
2. Download the desktop verison (optional)
### Install remote.it onto an IIAB
2021-10-27 22:53:09 +00:00
1. Set `remoteit_install` and `remoteit_enabled` to `True` in your IIAB's [/etc/iiab/local_vars.yml](http://wiki.laptop.org/go/IIAB/FAQ#What_is_local_vars.yml_and_how_do_I_customize_it.3F)
2. Install and enable it (remote.it) on your IIAB, by running:
2021-10-27 21:54:39 +00:00
```
2021-10-27 22:53:09 +00:00
cd /opt/iiab/iiab
sudo ./runrole remoteit
2021-10-27 21:54:39 +00:00
```
<!--EXPLANATION: The above installs remote.it, in a way that was originally designed to be interactive, and provide you the claim code needed to make a remote connection to this IIAB. The claim code is further explained below.-->
2021-10-27 22:53:09 +00:00
2021-10-29 04:11:56 +00:00
3. To obtain this IIAB's 8-character remote.it claim code, allowing you to make a remote connection to this IIAB, run:
```
sudo grep claim /etc/remoteit/config.json
```
*The claim code must be used within 24 hours, per:* <https://docs.remote.it/device-package/installation#2.-update-your-package-manager-and-install>
2021-10-28 13:18:21 +00:00
If not used before then, here is an *example (version & architecture can change in the .deb filename below!)* to re-run this installation command, to get a new claim code:
2021-10-27 21:54:39 +00:00
```
2021-10-27 22:53:09 +00:00
sudo apt reinstall /opt/iiab/downloads/remoteit-4.13.5.armhf.rpi.deb
2021-10-27 21:54:39 +00:00
```
4. After you've installed the <https://remote.it> client software onto a separate computer or device (e.g. your own laptop) click on the '+' icon, then enter the remote.it claim code (for the IIAB that you need to connect to).
As shown in the screenshot here: <https://docs.remote.it/device-package/installation#3.-claim-and-register-the-device>
### Usage
1. Log into your remote.it account or open the desktop version
2. Add devices
3. Create http services to access the devices in your browser
For more information [remote.it Getting started](https://support.remote.it/hc/en-us/categories/360003417511-Getting-Started)
## Advanced
For "auto-registration" of remote.it, and other more advanced configuration options, please review:
- <https://docs.remote.it>
- <https://support.remote.it>
- <https://support.remote.it/hc/en-us/articles/360044424612-1-Create-an-Auto-Registration>
- <https://support.remote.it/hc/en-us/articles/360044424672-1-Device-Setup-for-Auto-Bulk-Registration>
## Known Issues
- 2021-10-27: This needs to be enhanced rather urgently, so remote.it also works when IIAB is installed on Raspberry Pi OS 11 (Bullseye), Ubuntu, Mint and Debian: [#3006](https://github.com/iiab/iiab/issues/3006)
2021-10-29 04:11:56 +00:00
- 2021-10-29: The above OS issues should be resolved by [PR #3007](https://github.com/iiab/iiab/pull/3007), [PR #3009](https://github.com/iiab/iiab/pull/3009) and [PR #3010](https://github.com/iiab/iiab/pull/3010) &mdash; but this needs final testing! (Initial testing occurred on [1] 32-bit Raspberry Pi OS Lite on Raspberry Pi 4 and [2] Ubuntu Server 20.04 on x86_64 VM.)