Site Tools


locations_of_common_log_and_configuration_files

Differences

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

Link to this comparison view

Next revision
Previous revision
locations_of_common_log_and_configuration_files [2026/11/02 17:14] – -Created page, added Heading hogwildlocations_of_common_log_and_configuration_files [2026/11/02 17:57] (current) – hogwild
Line 1: Line 1:
 ====== Log and Configuration File Locations ====== ====== Log and Configuration File Locations ======
 +
 + \\  This table contains the locations of some of the most commonly-used log and configuration files. \\  **WARNING**: Some files should not be edited unless you are very experienced. Some should never be edited. Please use caution. \\   \\
 +
 +^ Area ^ Location ^ Persistent? ^ Contents ^
 +| Adblock list | %%dnsmasq.adblock%% | No | DNS blocklist |
 +| Adblock program | %%/usr/sbin/adblock%% | Yes | Adblock script |
 +| Adblock storage | %%/mnt/usb/adblock%% | Yes | Lists and blockfiles |
 +| Crash export | %%/tmp/crashlog.bin%% | No | Extracted crash log |
 +| Crash log | %%/dev/mtdX%% | Yes | Raw crash partition |
 +| Cron jobs | %%root crontab%% | No | Scheduled tasks |
 +| Custom scripts | %%/jffs/scripts%% | Yes | User scripts |
 +| DHCP leases | %%dnsmasq.leases%% | No | Current leases |
 +| dnsmasq config | %%/tmp/etc/dnsmasq.conf%% | No | DNS, DHCP, TFTP |
 +| Firewall rules | %%iptables-save%% | No | IPv4 NAT and firewall |
 +| Flash map | %%/proc/mtd%% | No | Partition list |
 +| Hostnames | %%/etc/hosts%% | No | Static host entries |
 +| IPv6 rules | %%ip6tables-save%% | No | IPv6 firewall |
 +| JFFS storage | %%/jffs%% | Yes | Persistent flash |
 +| NVRAM | %%nvram%% | Yes | Main configuration |
 +| PPP DNS | %%/etc/ppp/resolv.conf%% | No | PPP DNS servers |
 +| Resolver | %%/etc/resolv.conf%% | No | Local resolver |
 +| Static DHCP | %%/etc/ethers%% | No | MAC-to-IP map |
 +| System log | %%/var/log/messages%% | No | Main syslog |
 +| Upstream DNS | %%/etc/resolv.dnsmasq%% | No | WAN DNS servers |
 +| USB storage | %%/tmp/mnt/LABEL%% | Yes | USB or CIFS mount |
 +
 + \\   \\  **Path notes**
 +
 +  * **%%dnsmasq.leases%%** - default: %%/tmp/var/lib/misc/dnsmasq.leases%%; \\ persistent example: %%/mnt/usb/dnsmasq/dnsmasq.leases%%
 +  * **%%root crontab%%** - inspect with: %%cru l%%
 +  * **%%/tmp/mnt/LABEL%%** - replace %%LABEL%% with the USB partition or CIFS share label
 +  * **%%/dev/mtdX%%** - replace %%X%% with the crash partition number shown by %%cat /proc/mtd%%
 +
 + \\
 +
 + \\
 +
 + \\
  
  
locations_of_common_log_and_configuration_files.1793639656.txt.gz · Last modified: by hogwild