# 1. Pull the existing file scp root@"$DEVICE_IP":/etc/cp/CP_T33N.txt "$TMPFILE"
| Pitfall | Symptom | Fix | |---------|----------|-----| | ( CRLF on Linux) | Parser throws “Invalid token” errors. | Save the file with Unix LF endings ( dos2unix CP_T33N.txt ). | | Missing required key (e.g., DeviceID ) | Device fails to start, logs show “Missing mandatory parameter”. | Ensure all mandatory keys listed in the vendor’s reference guide are present. | | Incorrect boolean syntax ( True vs true ) | The system treats it as a string, ignoring the setting. | Follow the case convention the firmware expects (usually lower‑case true / false ). | | Trailing whitespace after a key ( IPMode = DHCP ) | Some parsers treat the whitespace as part of the value, resulting in “unknown mode”. | Trim spaces; most editors have a “Trim trailing whitespace” feature. | | Duplicate keys in the same section | The later entry silently overrides the earlier one, leading to unexpected behavior. | Keep the file tidy; run grep -n "KeyName" CP_T33N.txt to spot duplicates. | CP T33n txt
Do you have a or a log entry from a CP file that you need help interpreting? | | Missing required key (e
