Site Tools


admin-debug

This is an old revision of the document!


Debugging

The Debugging page helps you tweak some parameters to allow better troubleshooting of any issues with your router.




Avoid performing an NVRAM commit - Checking this stops nvram (configuration) variables from being permanently saved. This makes it possible to safely experiment with settings, since changes reset at reboot.

Enable cprintf output to console - FIXME

Enable cprintf output to /tmp/cprintf - FIXME

Enable DDNS output to /tmp/mdu - This option allows the DDNS diagnostics to be fully logged in the “/tmp/” directory.

Enable segfault logging - By default, segfault errors are not logged via the syslog functiony. Enabling this option causes them to be logged. Segfaults are Linux errors caused by a program trying to read from or write to an illegal memory location.

Count cache memory and buffers as free memory - This affects how Linux handles RAM allocation, which is split into Used + cache + buffer. If enabled, this causes cache memory and buffer to be counted as free. (Default: enabled).

Avoid displaying LAN to router connections - Enabling this prevents LAN connections from being displayed in menus that show conntrack-related data, such as the QoS/View Details menu.




Kernel printk log level:FIXME

Do not restart the following process if they die - Usually FreshTomato restarts dying processes. However, in some cases, you may want to prevent this from happening.

  • crond - This option prevents FreshTomato from restarting the cron daemon, if it dies.
  • dnsmasq - This option prevents FreshTomato from restarting dnsmasq, if it dies.
    This option is currently non-functional.
  • hotplug2 - This option prevents FreshTomato from restarting the hotplug2 daemon, if it dies.
  • igmprt - This options prevents FreshTomato from restarting the IGMP routing daemon, if it dies.

    Igmprt is a simple dynamic Multicast Routing Daemon that uses only IGMP protocol for signalling.
    It's used for simple forwarding of Multicast traffic between networks.


Set “no-cache” in httpd header - A very common issue is that is cached browser content can create errors/display issues in the web interface. Usually, refreshing the page, via CTRL+F5, fixes this problem by forcing a cache flush. However, setting this parameter is an alternative solution. This instructs the browser not to perform any caching while on FreshTomato web interface pages. Both methods are particularly useful after firmware upgrades.



» Clear browser cookies - Clicking on this clears the cookies in your web browser.


» Clear browser cache - Clicking this clears your web browser's cache of static content. This includes content like static graphics, CSS, HTML and Javascript. This is helpful when incorrect or garbled content is being displayed in your browser because the browser is displaying stale, cached content instead of the most current content.


» Flush DNS (dnsmasq) cache - Clicking this flushes the router's DNS cache. This purges DNS to IP mappings/lookups, so that fresh ones can be used instead. This is useful, for example, when changing DNS server settings, so changes take effect sooner, as the system doesn't use stale DNS mappings.


» Commit NVRAM now - Clicking this saves current settings to NVRAM immediately.


» Reboot - Clicking this reboots the system immediately, (similar to the “Reboot…” menu option).


» Halt - Clicking this halts the system immediately, (similar to the “Halt…” menu option).


» Download CFE - Clicking this lets you download the Common Firmware Environment file from your router. Common Firmware Environment
Warning: The NVRAM Dump text file may contain information like WiFi encryption keys and usernames/passwords for FreshTomato, your ISP and DDNS.
Please review & edit this file before sharing it with anyone.

» Download Iptables Dump - Clicking this downloads a copy of the IPv4 iptables firewall rule file.


» Download Ip6tables Dump - Clicking this downloads of the IPv6 iptables firewall rule file.


» Download Logs - Clicking this downloads a copy of the syslog file.


» Download NVRAM Dump - Clicking this downloads a copy of the contents of NVRAM memory.


admin-debug.1692034684.txt.gz · Last modified: 2023/08/14 18:38 by hogwild