Skip to content

ltrace 0.7.3-git/0.8.1 (binary only)⚓︎

ltrace is
a debugging tool that can monitor library calls triggered by a program
as well as all received signals. A comparable tool is available in the
strace package.

Using ltrace to inspect ctlmgr⚓︎

From @LizenzFass78851 in Juis for devices HWR277+

  • Disable the AVM watchdog
echo disable > /dev/watchdog
  • Stop ctlmgr and let it restart
kill -9 $(pidof ctlmgr)
ctlmgr
  • Access the Web UI via HTTP only until the update screen appears

  • Create an ltrace configuration template

nano /var/mod/etc/ltrace.conf

With the following content (updated)

int avmssl_write(void*, string, int, void*);
int avmssl_read(void*, +string, int, int);
  • Start ltrace (tested with ltrace 0.8.1)
ltrace -F /var/mod/etc/ltrace.conf -s 8192 -e avmssl_write+avmssl_read -p $(pidof ctlmgr)
  • Click on "Check for updates" in the Web UI

  • The output will appear