Update configuration and documentation for 5G modem setup

- Added entries to .gitignore for sensitive/generated files.
- Enhanced troubleshooting documentation in 5G_MODEM_TROUBLESHOOTING.md, including clearer instructions for DHCP issues and AT command responses.
- Improved configure_fm350_5g.sh script with additional logging and configuration options.
- Updated README.md to include new documentation links and a quick start guide for new devices.
This commit is contained in:
nearxos
2026-02-02 09:41:57 +02:00
parent 160ad641ce
commit 78f7ccc6db
2 changed files with 8 additions and 2 deletions

View File

@@ -41,8 +41,8 @@ for d in /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3 /dev/ttyUSB4 /dev/t
[ -e "$d" ] || continue
ls -la "$d" 2>/dev/null
if [ -f "$d" ] && [ ! -c "$d" ]; then
_n="${d#/dev/ttyUSB}"; _n="${_n#/dev/ttyACM}"
echo " -> BAD: $d is a regular file. Fix: rm $d && mknod $d c 188 $_n && chmod 660 $d && chown root:dialout $d"
case "$d" in /dev/ttyUSB*) _m=188; _n="${d#/dev/ttyUSB}";; /dev/ttyACM*) _m=166; _n="${d#/dev/ttyACM}";; *) _m=188; _n=0;; esac
echo " -> BAD: $d is a regular file. Fix: rm $d && mknod $d c $_m $_n && chmod 660 $d && chown root:dialout $d"
fi
done
if ! ls /dev/ttyUSB[0-9]* /dev/ttyACM[0-9]* 2>/dev/null | grep -q .; then