# Ethernet IoT card disables after long periods or power cycle, How to keep it enabled when power is applied

**URL:** <https://mangoh.discourse.group/t/ethernet-iot-card-disables-after-long-periods-or-power-cycle-how-to-keep-it-enabled-when-power-is-applied/5103>\
**Category:** Uncategorized\
**Created:** [August 27, 2020, 2:35pm UTC](https://mangoh.discourse.group/t/ethernet-iot-card-disables-after-long-periods-or-power-cycle-how-to-keep-it-enabled-when-power-is-applied/5103 "2020-08-27T14:35:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christopheradams1](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@christopheradams1](https://mangoh.discourse.group/u/christopheradams1)\
**Post date:** [August 27, 2020, 2:35pm UTC](https://mangoh.discourse.group/t/ethernet-iot-card-disables-after-long-periods-or-power-cycle-how-to-keep-it-enabled-when-power-is-applied/5103/1 "2020-08-27T14:35:54Z")

</div>

I have an ethernet IoT card in my mangoh red. Every time I cycle power or go extended periods without using the board (power still applied) the board defaults back to its original state and eth0 is no longer available. How can I get the mangoh red to acknowledge there is an ethernet card attached and it is automatically enabled. I believe this should be done in the startup file the processor references, but not sure???

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [August 27, 2020, 4:02pm UTC](https://mangoh.discourse.group/t/ethernet-iot-card-disables-after-long-periods-or-power-cycle-how-to-keep-it-enabled-when-power-is-applied/5103/2 "2020-08-27T16:02:18Z")

</div>

You can modify the init script to run your script

> **[Adding scripts to run at startup](https://forum.legato.io/t/adding-scripts-to-run-at-startup/2412/6)**
>
> Hi JyiJyi, I appreciate your previous reply to my post, but I attempted to make the changes that you recommended and am still unable to launch the script on boot. I have included a screenshot of several simple shell commands that I entered into...
