# Default IP and no dewaling DHCP adresses

**URL:** <https://forum.legato.io/t/default-ip-and-no-dewaling-dhcp-adresses/6655>\
**Category:** Uncategorized\
**Created:** [December 3, 2023, 8:59am UTC](https://forum.legato.io/t/default-ip-and-no-dewaling-dhcp-adresses/6655 "2023-12-03T08:59:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [December 3, 2023, 9:24am UTC](https://forum.legato.io/t/default-ip-and-no-dewaling-dhcp-adresses/6655/4 "2023-12-03T09:24:47Z")

</div>

you might need to see what this script /mnt/legato/system/bin/configEcm is doing:

> <https://github.com/legatoproject/legato-af/blob/master/framework/tools/target/linux/bin/configEcm>

Or you can modify the init script:

> [@Adding scripts to run at startup](https://forum.legato.io/t/adding-scripts-to-run-at-startup/2412/7):
>
> I just tried on WP76 R9, I found that modifying mount\_early is not working. Instead I modify /etc/init.d/startlegato.sh, and I can add my command there. case “$1” in start) echo “Legato start sequence 123” echo 123 \> /tmp/123.txt You can have a try there.

you can also run script in legato application

> [@Invoking shell scripts from Legato app](https://forum.legato.io/t/invoking-shell-scripts-from-legato-app/5575/4):
>
> I don’t see problem on WP76 FW R13. You can use my hello6.tar.gz. [hello6.tar.gz](https://forum.legato.io/uploads/short-url/czj2K4NaAp4M02tLAjqZGY8p95w.gz) (314.7 KB) root@swi-mdm9x28-wp:~# chmod 777 /tmp/test.sh root@swi-mdm9x28-wp:~# /tmp/test.sh root@swi-mdm9x28-wp:~# ls /tmp/123.txt /tmp/123.txt root@swi-mdm9x28-wp:~# cat /tmp/123.txt 123 root@swi-mdm9x28-wp:~# rm /tmp/123.txt root@swi-mdm9x28-wp:~# ls /tmp/ hello6.wp76xx.update legato test.sh hosts pkgdwl thermal\_engi\_ipc ld.so.cache psm\_socket …

---

_[View the full topic](https://forum.legato.io/t/default-ip-and-no-dewaling-dhcp-adresses/6655)._
