Site Tools


admin-debug

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 configuration settings from being permanently saved to NVRAM until this setting is disabled again. This makes it easy to safely experiment with settings, since changes reset at reboot.

Enable cprintf output to console - Enabling this sets cprintf to output to the console so it will be visible within your web browser.

Enable cprintf output to /tmp/cprintf - Enabling this redirects cprintf output to a file in the /tmp/cprintf directory.

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 this clears the cookies in your web browser.


» Clear browser cache - Clicking this clears your browser's cache of static content. This includes static graphics, CSS, HTML and Javascript.
This helps prevent incorrect or garbled content from being displayed in FreshTomato's web interface when the browser is displaying stale, cached, outdated content.


» Flush DNS (dnsmasq) cache - Clicking this flushes the router's DNS cache. This purges DNS to IP mappings, so only fresh ones are used. This is useful when changing DNS server or other settings affecting DNS mappings, so the system uses only current 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).


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


» Download CFE - Clicking this downloads the Common Firmware Environment file from your router. Common Firmware Environment



» 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.

Warning: This file may contain information like WiFi encryption keys, usernames/passwords for FreshTomato, your ISP and DDNS.
Please review and edit this file accordingly before sharing it with anyone.




admin-debug.txt · Last modified: 2023/09/09 02:34 by hogwild