# Avoid using ModemManager

**URL:** <https://forums.balena.io/t/avoid-using-modemmanager/277753>\
**Category:** balenaOS\
**Tags:** network\
**Created:** [March 25, 2021, 4:49pm UTC](https://forums.balena.io/t/avoid-using-modemmanager/277753 "2021-03-25T16:49:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunter](https://avatars.discourse-cdn.com/v4/letter/h/ba9def/32.png) [@hunter](https://forums.balena.io/u/hunter)\
**Post date:** [March 25, 2021, 4:49pm UTC](https://forums.balena.io/t/avoid-using-modemmanager/277753/1 "2021-03-25T16:49:10Z")

</div>

Hello, I would like to avoid using ModemManager on HostOS. Is there a way to disable it on boot and connect to cellular via custom AT commands on boot?

Thanks

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [March 25, 2021, 6:43pm UTC](https://forums.balena.io/t/avoid-using-modemmanager/277753/3 "2021-03-25T18:43:23Z")

</div>

Hey there, I think you can accomplish most of what you need by running D-Bus commands in your service. Here’s the related documentation to expose the host D-Bus to the container, and how to run some example networking commands:

- [Communicate outside the container - Balena Documentation](https://www.balena.io/docs/learn/develop/runtime/#d-bus-communication-with-host-os)
- [Network Setup on balenaOS 2.x - Balena Documentation](https://www.balena.io/docs/reference/OS/network/2.x/#changing-the-network-at-runtime)

I hope this helps, feel free to share your solution!
