This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
crash_log [2024/03/23 20:39] – grammar, punctuation hogwild | crash_log [2024/03/23 20:42] – add Heading, formatting hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Log a Crash ====== | ||
+ | |||
The crashlog feature is used to log crashes. In order to use the crashlog feature, your hardware must have an AIO firmware build installed. \\ | The crashlog feature is used to log crashes. In order to use the crashlog feature, your hardware must have an AIO firmware build installed. \\ | ||
VPN firmware build files do not include crashlog. (You can also create a custom image with CRASH_LOG=y)\\ | VPN firmware build files do not include crashlog. (You can also create a custom image with CRASH_LOG=y)\\ | ||
Line 23: | Line 25: | ||
=> mtd6 (" | => mtd6 (" | ||
- | 2. prepare | + | 2. Prepare the crashlog (needs to be done each time a new crashlog file is generated) |
Example: | Example: | ||
Line 33: | Line 35: | ||
</ | </ | ||
- | 3. let the router crash! :) | + | 3. let the router crash |
4. Get/save the crashlog file | 4. Get/save the crashlog file | ||
Line 43: | Line 45: | ||
Get the crashlog.bin file from the /tmp directory with FTP, SFTP or SCP (using for example, WinSCP)\\ | Get the crashlog.bin file from the /tmp directory with FTP, SFTP or SCP (using for example, WinSCP)\\ | ||
- | This example will save to a USB storage device: | + | Fore example, the following |
< | < | ||
root@RT-AC56U:/ | root@RT-AC56U:/ |