This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| admin-debug [2023/09/09 00:36] – -clarity on Chevron points hogwild | admin-debug [2025/12/05 17:36] (current) – -Add explanation for kernel printk log level hogwild | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Debugging ===== | ===== Debugging ===== | ||
| - | The Debugging page helps you tweak some parameters to allow better troubleshooting of any issues with your router. | + | The Debugging page lets you tweak some parameters to allow better troubleshooting of 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 | + | **Avoid performing an NVRAM commit** - stops configuration settings from permanently saving to NVRAM until this is disabled again. |
| - | **Enable cprintf output to /tmp/cprintf **- Enabling this redirects cprintf output | + | This makes it easy/safe to experiment with settings, since changes reset on reboot. |
| - | **Enable DDNS output to /tmp/mdu - **This option allows the DDNS diagnostics to be fully logged in the "/ | + | \\ |
| - | **Enable | + | **Enable |
| - | **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 | + | **Enable cprintf output |
| - | \\ **Kernel printk log level**: | + | \\ |
| - | + | ||
| - | **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. | + | |
| - | | + | **Enable DDNS output to / |
| - | | + | |
| - | * hotplug2 - This option prevents FreshTomato from restarting | + | |
| - | * igmprt - This options prevents FreshTomato from restarting | + | |
| \\ | \\ | ||
| - | **Set " | + | **Enable segfault logging |
| + | |||
| + | By default, syslog doesn' | ||
| \\ | \\ | ||
| + | |||
| + | **Count cache memory and buffers as free memory** - affects how Linux handles RAM allocation, (split into Used + cache + buffer). | ||
| + | |||
| + | If enabled, this causes cache memory and buffer to be counted as free. (Default: enabled). | ||
| \\ | \\ | ||
| - | » Clear browser cookies | + | **Avoid displaying LAN to router connections |
| + | |||
| + | This includes | ||
| + | |||
| + | \\ \\ | ||
| + | |||
| + | **Kernel printk log level**: controls the detail level of kernel messages printed to the console and log buffer via the printk() function | ||
| + | |||
| + | Kernel messages use numeric levels. Lower numbers indicate higher priority: 0 (KERN_EMERG) for system crashes, 3 (KERN_ERR) for errors, 6 (KERN_INFO) for general info, and 7 (KERN_DEBUG) for detailed debugging. Setting a higher value or 7 or 8 in "/ | ||
| + | |||
| + | **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. | ||
| \\ | \\ | ||
| - | » Clear browser cache - Clicking this clears your web browser' | + | * crond - prevents FreshTomato from restarting the cron daemon, if it dies. |
| + | * dnsmasq - prevents FreshTomato from restarting dnsmasq, if it dies. \\ **This option | ||
| + | * hotplug2 - prevents FreshTomato from restarting | ||
| + | * igmprt - prevents | ||
| \\ | \\ | ||
| - | » Flush DNS (dnsmasq) | + | **Set "no-cache" in httpd header |
| \\ | \\ | ||
| - | » Commit NVRAM now - Clicking this saves current settings | + | \\ |
| + | |||
| + | » Clear browser cookies - clears the cookies in your web browser. | ||
| + | |||
| + | \\ » Clear browser cache - clears the browser cache of static content. This includes static graphics, CSS, HTML and Javascript. \\ This helps prevent incorrect/ | ||
| + | |||
| + | \\ » Flush DNS (dnsmasq) cache - Clicking this flushes the router' | ||
| \\ | \\ | ||
| - | » Reboot | + | » |
| \\ | \\ | ||
| - | » Halt - Clicking this halts the system immediately, (similar to the "Halt..." menu option). | + | » |
| \\ | \\ | ||
| - | » Download CFE - Clicking this lets you download | + | » |
| - | | + | \\ |
| - | » 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 Ip6tables Dump - downloads of the IPv6 iptables firewall rule file. |
| + | |||
| + | \\ | ||
| + | |||
| + | » Download Logs - downloads a copy of the syslog | ||
| \\ | \\ | ||
| - | » Download | + | » Download |
| \\ | \\ | ||
| - | » Download NVRAM Dump - Clicking this downloads a copy of the contents of NVRAM memory. | + | **Warning**: |
| - | \\ | + | \\ |
| + | |||
| + | | ||