debug¶
ibox.debug in the library, ibox debug in the CLI.
Access debug and diagnostic information.
status ¶
Get the log file's status: "FileStatus" is "Ready" once save_log_file() has saved one, "Idle" before.
save_log_file ¶
Save a log file on the router for technical support, like "Save the log data on the Internet-Box" in the web UI's troubleshooting page. Once it's saved, status() shows "FileStatus": "Ready".
The file stays on the router: on regular firmware it can't be downloaded (the web UI's download link, /debug, only works on developer firmware; otherwise the router answers 503). It can't be deleted either: the router refuses DeleteFile for the admin account. Saving another log file replaces it.
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
response content |
save_wifi_logs ¶
Save the current Wi-Fi debug information on the router, like the web UI's WLAN debugging option. Run it before save_log_file() to add it to the log file.
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
response content |