Site Tools


admin-debug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
admin-debug [2022/01/07 08:36] rs232admin-debug [2023/09/09 02:34] (current) – -condense hogwild
Line 1: Line 1:
 ===== Debugging ===== ===== Debugging =====
  
-The Debugging page helps you tweaking some parameter to allow you to better troubleshoot any issue you might be experiencing with your router.\\+The Debugging page helps you tweak some parameters to allow better troubleshooting of any issues with your router.
  
-{{:pasted:20220107-075831.png}}\\ +\\ {{:pasted:20220107-075831.png}}\\  \\ 
-**Avoid performing an NVRAM commit**: This option prevents any nvram (configuration) modificationEssentially any modified value + save would not be permanent.\\ + 
-**Enable cprintf output to console**:FIXME\\ +**Avoid performing an NVRAM commit** - Checking this stops configuration settings from being permanently saved to NVRAM until this setting is disabled againThis makes it easy to safely experiment with settings, since changes reset at reboot. 
-**Enable cprintf output to /tmp/cprintf**:FIXME\\ + 
-**Enable DDNS output to /tmp/mdu-***:This option allows the diagnostic of the DDNS client to be fully logged under /tmp/\\ +**Enable cprintf output to console** - Enabling this sets cprintf to output to the console so it will be visible within your web browser. 
-**Enable segfault logging**:By default segfault errors are not logged into syslog facility, enabling this option you make this happen.\\ + 
-**Count cache memory and buffers as free memory**:On by default, it has to do with the way Linux handles RAM allocation which is split in Used+cache+buffer. Enabling this option cache and buffer are counted as free.\\ +**Enable cprintf output to /tmp/cprintf **- Enabling this redirects cprintf output to a file in the /tmp/cprintf directory. 
-**Avoid displaying LAN to router connections**:Enabling this option will prevent LAN connections from the CONNTRACK related info e.g. QoS/View Details.\\+ 
 +**Enable DDNS output to /tmp/mdu - **This option allows the DDNS diagnostics to be fully logged in the "/tmp/" directory. 
 + 
 +**Enable segfault logging **By defaultsegfault errors are not logged via the syslog functiony. Enabling this option causes them to be loggedSegfaults 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 allocationwhich 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///[[qos-detailed|View Details]] menu.\\   \\   \\  {{:pasted:20220107-082615.png}} \\ 
 + 
 +\\ **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. [[https://en.wikipedia.org/wiki/Common_Firmware_Environment|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. 
 + 
 + \\ 
 + 
 + \\ \\
  
-{{:pasted:20220107-082615.png}}:\\ 
-**Kernel printk log level**:FIXME\\ 
-**Do not restart the following process if they die**: crond/dnsmasq/hotplug2/igmprt: Usually dying processes are automatically restarted in FreshTomato. In some exceptional case you might want to prevent this from happening.\\ 
-**Set "no-cache" in httpd header**:One of the most common issue especially after upgrading the firmware is cached browser content that creates errors/issues on the GUI. Usually reloading the interface via CTRL+F5 forces a cache-flush but an alternative is to set this parameter and instruct the browser not to perform any caching while on the FT's administration pages.\\ 
  
admin-debug.1641544569.txt.gz · Last modified: 2022/01/07 08:36 by rs232