# How can I start session mdc?

**URL:** <https://forum.legato.io/t/how-can-i-start-session-mdc/5616>\
**Category:** Legato Application Framework\
**Created:** [February 17, 2021, 5:56pm UTC](https://forum.legato.io/t/how-can-i-start-session-mdc/5616 "2021-02-17T17:56:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![anderson](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@anderson](https://forum.legato.io/u/anderson)\
**Post date:** [February 23, 2021, 11:40am UTC](https://forum.legato.io/t/how-can-i-start-session-mdc/5616/5 "2021-02-23T11:40:24Z")

</div>

Using le\_mdc\_StartSession I get the following ping return

```
root@fx30s:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network is unreachable

```

I changed one implementation per system (“cm data connect”); disabling the sandbox, but the cm command was not recognized:

`Feb 23 08:35:05 fx30s user.err Legato: =ERR= | mqttPublisher[2788] | cm: not found`

But it worked out using the full path to the cm.

` system("/legato/systems/current/bin/cm data connect");`

Thank you for your help!

---

_[View the full topic](https://forum.legato.io/t/how-can-i-start-session-mdc/5616)._
