# Device keeps disconnecting

**URL:** <https://forum.legato.io/t/device-keeps-disconnecting/3083>\
**Category:** Uncategorized\
**Created:** [February 9, 2018, 10:04pm UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083 "2018-02-09T22:04:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheGod](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/thegod/32/252_2.png) [@TheGod](https://forum.legato.io/u/TheGod)\
**Post date:** [February 9, 2018, 10:04pm UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/1 "2018-02-09T22:04:55Z")

</div>

Device (FX30) connects to Developer Strudio without problem. However after 10-15sec. device is disconnected automatically (WiFi icon flashing before device is disconnected). It looks like conflict with network. But I have switched off wifi and problem did not go away. I use Linux 16.04LTS

Error I have got:  
Connect target: FX30 Session.connect: java.io.InterruptedIOException: A timeout occurred connecting to host 192.168.2.2

---

<div class="post-metadata">

**Author:** ![bharath\_08](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bharath\_08](https://forum.legato.io/u/bharath_08)\
**Post date:** [February 27, 2018, 12:48pm UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/2 "2018-02-27T12:48:52Z")

</div>

Hi,  
Can you please share which legato version are you using for your fx30.

Best Regards,  
Bharath

---

<div class="post-metadata">

**Author:** ![TheGod](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/thegod/32/252_2.png) [@TheGod](https://forum.legato.io/u/TheGod)\
**Post date:** [March 5, 2018, 10:29pm UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/3 "2018-03-05T22:29:16Z")

</div>

Hi,  
Studio Ver. 5.3.0.201710230939.

---

<div class="post-metadata">

**Author:** ![bharath\_08](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bharath\_08](https://forum.legato.io/u/bharath_08)\
**Post date:** [March 6, 2018, 12:33pm UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/4 "2018-03-06T12:33:31Z")

</div>

Hi,  
Please share the legato framework version which used in your FX30, not Developer studio version.

Also can you please share which WP module(modem) which is used in the fx30, whether wp85 or some other module.

Best Regards,  
Bharath

---

<div class="post-metadata">

**Author:** ![TheGod](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/thegod/32/252_2.png) [@TheGod](https://forum.legato.io/u/TheGod)\
**Post date:** [March 6, 2018, 12:56pm UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/5 "2018-03-06T12:56:25Z")

</div>

Hi,  
Legato is 16.10.1.fx30 module WP8548.

---

<div class="post-metadata">

**Author:** ![bharath\_08](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bharath\_08](https://forum.legato.io/u/bharath_08)\
**Post date:** [March 6, 2018, 1:26pm UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/6 "2018-03-06T13:26:55Z")

</div>

Hi,  
Thanks for sharing the details.

Best Regards,  
Bharath

---

<div class="post-metadata">

**Author:** ![dylan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dylan](https://forum.legato.io/u/dylan)\
**Post date:** [March 9, 2018, 10:44am UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/7 "2018-03-09T10:44:27Z")

</div>

Hi,

I also have trouble staying connected to my FX30S since the connection keeps disconnecting every 15sec when I use the automatic ethernet connection on the linux machine.

The way to fix it is to mannually create an Ethernet connexion on the linux machine with the FX30S mac address, then the FX30S will choose this network on plug and stayed connected to it. (When I do that, my linux PC won’t take the IP I mannually set and stay on the dhcp option but at least it stay connected…).

root@fx30s:/# cm info  
Device: FX30SIMEI: 353984080034521FSN: LL629100280110  
Firmware: SWI9X15Y\_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06  
Bootloader: SWI9X15Y\_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06  
priIdPn: 9906770  
priIdRev: 01.00  
skuId: 1103232

root@fx30s:/# legato version  
16.10.1\_eea67704afa1ebc0450d230baa84ac28\_modified

I recently installed a custom image on the FX30S which is the same image as default with node.js in addition. I’ve maybe done something wrong…

BR,  
Dylan Lemasson

---

<div class="post-metadata">

**Author:** ![dylan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dylan](https://forum.legato.io/u/dylan)\
**Post date:** [March 13, 2018, 10:46am UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/8 "2018-03-13T10:46:36Z")

</div>

There is the problem with a USB driver for Linux version above 15.10.

We have to remove modemmaneger :  
sudo apt-get remove modemmanager

This fixed my problem.

Extract from the legato doc : “Currently there is an outstanding issue in Ubuntu 15.10+ with the ECMUsb driver. This bug may cause Ubuntu Connection Manager to crash. The workaround is to uninstall modemManager on your dev machine. $ sudo apt-get remove modemmanager”  
The doc is available here :[Configure SWI Target - Legato Docs](http://legato.io/legato-docs/latest/basicTarget.html#targetConnectUSB)

BR,  
Dylan Lemasson

---

<div class="post-metadata">

**Author:** ![Manukumar](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Manukumar](https://forum.legato.io/u/Manukumar)\
**Post date:** [November 19, 2018, 9:18am UTC](https://forum.legato.io/t/device-keeps-disconnecting/3083/9 "2018-11-19T09:18:25Z")

</div>

Hi @TheGod,  
Did you try to removing the modemmaneger as suggested by @dylan.  
Let us know your feedback.
