# Device Offline after installing Ubuntu Deb

**URL:** <https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809>\
**Category:** Troubleshooting\
**Created:** [May 17, 2023, 4:51pm UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809 "2023-05-17T16:51:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/miguel/32/325_2.png) [@miguel](https://forum.remote.it/u/miguel)\
**Post date:** [May 17, 2023, 4:51pm UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/1 "2023-05-17T16:51:26Z")

</div>

I installed remote.it perfectly in 3 devices. 2 Jetsons and 1 Ubuntu. All of them using the Linux agent:

`R3_REGISTRATION_CODE="ABCDEFGHI-1234-5678-9012-ABCDEFGHILM" sh -c "$(curl -L https://downloads.remote.it/remoteit/install_agent.sh)"`

The registration Code I just modified for security reasons.

However I having problems with a new install on Ubuntu Desktop (Laptop) . I just see the device offline.

Here are the logs:

 ![Captura de pantalla de 2023-05-17 11-50-14](https://canada1.discourse-cdn.com/flex030/uploads/remote/original/1X/86a2bce50a9034c8c27ee1ab71c6751722bdae78.png)

Thanks for any help.

---

<div class="post-metadata">

**Author:** ![bstrech](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/bstrech/32/266_2.png) [@bstrech](https://forum.remote.it/u/bstrech)\
**Post date:** [May 18, 2023, 12:33am UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/2 "2023-05-18T00:33:00Z")

</div>

Is there anything else below the output you showed? It doesn’t look complete.  
Did you install anything else from Remote.It on this device such as the Remote.It CLI, Remote.It Desktop or connectd?

Can you run the following and provide the output?

```auto
sh -c "$(curl -sL https://downloads.remote.it/remoteit/distributiontest.sh)"

```

And just to get some general information about the system:

```auto
uname -a

```

---

<div class="post-metadata">

**Author:** ![bstrech](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/bstrech/32/266_2.png) [@bstrech](https://forum.remote.it/u/bstrech)\
**Post date:** [May 18, 2023, 12:34am UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/3 "2023-05-18T00:34:47Z")

</div>

I think you mentioned another post where it seems like you may have installed more than one Remote.It product on your device.

---

<div class="post-metadata">

**Author:** ![miguel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/miguel/32/325_2.png) [@miguel](https://forum.remote.it/u/miguel)\
**Post date:** [May 19, 2023, 12:28am UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/4 "2023-05-19T00:28:30Z")

</div>

Thanks!! Here the output of the command:

```auto
~~~~~~OS INFO~~~~~~
LSB_RELEASE = ubuntu
ETC_ISSUE = ubuntu
ETC_EOS_RELEASE = 
ETC_OS_RELEASE = ubuntu
OPENWRT_RELEASE = 
UNAME_S = linux

* Distribution: ubuntu

* OS: Debian

UNAME_A = Linux tcadmin0-ThinkPad-E490 5.4.0-148-generic #165~18.04.1-Ubuntu SMP Thu Apr 20 01:14:06 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
UNAME_N = tcadmin0-ThinkPad-E490
UNAME_R = 5.4.0-148-generic
UNAME_V = #165~18.04.1-Ubuntu SMP Thu Apr 20 01:14:06 UTC 2023
UNAME_M = x86_64
UNAME_P = x86_64
UNAME_I = x86_64
UNAME_O = GNU/Linux

* ARCH: amd64

* Package Manager(s)
------------
apk=
apt=/usr/bin/apt
apt-get=/usr/bin/apt-get
dnf=
dpkg=/usr/bin/dpkg
ipkg=
opkg=
smart=
yum=
zypper=
------------

* Docker
------------
docker=
------------

* LSB-RELEASE
------------
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"
------------

* OS-RELEASE
------------
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
------------

* EOS-RELEASE
------------
No /etc/Eos-release file
------------

* OPENWRT_RELEASE
------------
No /etc/openwrt_release file
------------

* ISSUE
------------
Ubuntu 18.04.6 LTS \n \l

------------

~~~~~~OS INFO~~~~~~

```

And about the system:

`Linux tcadmin0-ThinkPad-E490 5.4.0-148-generic #165~18.04.1-Ubuntu SMP Thu Apr 20 01:14:06 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux`

Thanks for your help!. I still trying to install the remote.it but using the Linux Agent still not working. Thanks for helping me.

---

<div class="post-metadata">

**Author:** ![bstrech](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/bstrech/32/266_2.png) [@bstrech](https://forum.remote.it/u/bstrech)\
**Post date:** [May 23, 2023, 12:44am UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/5 "2023-05-23T00:44:52Z")

</div>

The output doesn’t show that you have an incompatible device.

Can you please confirm if you had tried to install any other Remote.It product before such as the Remote.It CLI or Desktop? These are incompatible with the device package. If you have we will likely need to start over.  
You can run the following command line to verify that there is not CLI installed:

```auto
sudo remoteit status

```

If you get any other output other than something that indicates it doesn’t know remoteit, then you did install the Desktop or CLI and you shouldn’t need to install the device package as well. You can just register the device to accept connections.

Let me know what the output is.

---

<div class="post-metadata">

**Author:** ![miguel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/miguel/32/325_2.png) [@miguel](https://forum.remote.it/u/miguel)\
**Post date:** [June 3, 2023, 2:57am UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/6 "2023-06-03T02:57:56Z")

</div>

> [@bstrech](#):
>
> `sudo remoteit status`

Thanks. I not getting more info about remoteit status:

`sudo: remoteit: command not found`

How Can I install Remote.it CLI in a Ubuntu Desktop?

---

<div class="post-metadata">

**Author:** ![bstrech](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/bstrech/32/266_2.png) [@bstrech](https://forum.remote.it/u/bstrech)\
**Post date:** [June 5, 2023, 9:13pm UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/7 "2023-06-05T21:13:45Z")

</div>

You should remove the device package before installing the CLI even though it looks like it might have failed.  
Please refer to this documentation:

> **[Removing/Uninstalling the remoteit package or Desktop application](https://support.remote.it/hc/en-us/articles/360054866351-Removing-Uninstalling-the-remoteit-package-or-Desktop-application)**
>
> You can't remove remote.it software while using a remote.it connection, so for this you'll need to have either LAN or hardware console access to your device (which typically involves sitting in fro...

Then instructions can be found here:  
[https://link.remote.it/docs/cli/installation](https://link.remote.it/docs/cli/installation)

---

<div class="post-metadata">

**Author:** ![Clod](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@Clod](https://forum.remote.it/u/Clod)\
**Post date:** [June 6, 2023, 11:38am UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/8 "2023-06-06T11:38:42Z")

</div>

Hello ,  
noticed Miguel’s issue and realised I’m going through the same problem ! I tried installing both the Ubuntu and Rasberry Pi version using the command from the dashboard, but the device never comes alive. I also created a 3rd Ubuntu instance and installed the CLI version and went through the steps ( logging in, registerding device, adding service etc ) but when looking at the device, it is still in ‘connecting’ state ( it also shows offline on the dashboard ).

---

<div class="post-metadata">

**Author:** ![bstrech](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/bstrech/32/266_2.png) [@bstrech](https://forum.remote.it/u/bstrech)\
**Post date:** [June 7, 2023, 9:38pm UTC](https://forum.remote.it/t/device-offline-after-installing-ubuntu-deb/809/9 "2023-06-07T21:38:08Z")

</div>

If you need to only support inbound connections, then you only need the device package and not the CLI.  
If you have installed both you should uninstall both and start over since they are not compatible.

To uninstall the device package you can use the package manager on the device to do so, below is the apt version:

```auto
sudo apt purge remoteit

```

If you also installed connectd you should remove that too

```auto
sudo apt purge connectd

```

Then finally to uninstall the CLI,

```auto
sudo remoteit uninstall

```

Once you have uninstalled then you should choose the right product and install that.

> **[Remote.It Download](https://www.remote.it/download)**
>
> Download links and instructions for Remote.It products for Windows, Mac, and Linux, as well as device packages for Raspberry PI, NAS, cameras, and more.

If you still are having issues with the device coming online, do you have a super restrictive firewall that blocks outbound traffic?
