# One Raspberry Pi overriding another Pi

**URL:** <https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87>\
**Category:** Uncategorized\
**Created:** [August 23, 2019, 9:42am UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87 "2019-08-23T09:42:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wjs](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wjs](https://forum.remote.it/u/wjs)\
**Post date:** [August 23, 2019, 9:42am UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/1 "2019-08-23T09:42:02Z")

</div>

I have an intermittent issue where one of the Raspberry Pi’s that I use (Pi 2) temporarily overrides another one on my account (Pi 1).

Pi 1 was added to the account long before Pi 2. Later, I created Pi 2 from a backup image of Pi 1, uninstalled remot3.it, reinstalled it, configured the connections (with a different name for the device) and everything worked fine for several weeks, until about 16 August 2019. For a while on the 16th, attempting to connect via SSH to Pi 1 would actually connect to Pi 2, while HTTP connections to Pi 1 worked normally. The remote IP address for the two Pi’s was even the same for a while. Then the problem resolved itself, for a while.

Today, the problem is back and also affects HTTP connections. This means that I can’t connect to Pi 1 at all as every attempt ends up at Pi 2.

Any advice is welcome.

---

<div class="post-metadata">

**Author:** ![wjs](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@wjs](https://forum.remote.it/u/wjs)\
**Post date:** [August 23, 2019, 12:28pm UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/2 "2019-08-23T12:28:42Z")

</div>

Never mind, the problem was that Pi 2 has an old installation of `weavedconnectd` that came to life and still had the settings from Pi 1, so in effect I had `weavedconnectd` and `connectd` running on the same Pi, with `weavedconnectd` on Pi 2 interfering with the connection to `weavedconnectd` on Pi 1.

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [August 23, 2019, 4:41pm UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/3 "2019-08-23T16:41:52Z")

</div>

Thanks for letting us know you got it sorted out. Having a cloned configuration will cause that sort of problem.

---

<div class="post-metadata">

**Author:** ![neilld](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@neilld](https://forum.remote.it/u/neilld)\
**Post date:** [March 9, 2020, 2:24pm UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/4 "2020-03-09T14:24:39Z")

</div>

I.m about to have the same issue having just cloned an SD card which already has an instance of Remote.it on it. What is the correct procedure to assign a new identity to the cloned Pi

thanks

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [March 9, 2020, 2:33pm UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/5 "2020-03-09T14:33:18Z")

</div>

If the services have already been registered, you will have a problem if you clone that image. We have several approaches to mass production of device with remote.it. Please see:

[https://link.remote.it/docs/oem-overview](https://link.remote.it/docs/oem-overview)

Let me know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![neilld](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@neilld](https://forum.remote.it/u/neilld)\
**Post date:** [March 9, 2020, 2:56pm UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/6 "2020-03-09T14:56:13Z")

</div>

Gary,  
Thanks for prompt reply. Would it be easier to uninstall/reinstall Remote.it on the cloned device with a new identity?

thx

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [March 9, 2020, 3:04pm UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/7 "2020-03-09T15:04:20Z")

</div>

Assuming you are using the connectd package, you can wipe out the existing configuration on the device by running:

sudo rm /etc/connectd/services/\*.conf

---

<div class="post-metadata">

**Author:** ![kawitt](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kawitt](https://forum.remote.it/u/kawitt)\
**Post date:** [November 8, 2020, 9:14pm UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/8 "2020-11-08T21:14:18Z")

</div>

Hello, I’ve cloned the sd card of a rpi that is added to remote.it. Is there a way to simply re-register the clone as a new HWID in remote.it? Can I just re-run the command ‘remoteit register’?

I’m not intending to do mass production so bulk registration seems unnecessary.

I’m concerned if I delete the remote.it config on the rpi clone, uninstall remote.it on the rpi clone, or unregister the rpi clone, that the original rpi will be removed from remote.it. I can’t have the original rpi unregister as it’s installed remotely with remote.it being the only method of access.

Thanks.

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [November 9, 2020, 1:49pm UTC](https://forum.remote.it/t/one-raspberry-pi-overriding-another-pi/87/9 "2020-11-09T13:49:48Z")

</div>

Ok, you’ve discovered one thing you shouldn’t do, which is to clone SD cards after registering services.

I’d suggest the following, on the device you have access to:

`sudo rm /etc/remoteit/config.json`

This will remove the local configuration on the device without affecting anything in your account.

Next,

`sudo reboot`

After the device reboots, you can use find.remote.it to configure it from scratch.
