Repository navigation
Troubleshooting and Recovery
This guide covers emergency recovery procedures, common error diagnostics, and recovery methods for Qualcomm SDX55 modems running Fresnel.
If http://<modem-ip>:8080/ fails to load:
-
Test SSH Connectivity:
ssh root@172.16.10.1
-
Inspect Running Processes:
ps -ef | grep -E 'httpd|get_dashboard_data|simpleadmin'
-
Check Supervisor Logs:
cat /tmp/simpleadmin_daemon.log
-
Manual Restart:
pkill -f 'httpd.*8080' pkill -f 'get_dashboard_data.pl' pkill -f 'simpleadmin_daemon.sh' nohup /usrdata/simpleadmin/scripts/simpleadmin_daemon.sh >/tmp/simpleadmin_daemon.log 2>&1 &
If AT commands time out or error with Device or resource busy:
- Check for stale lock files:
ls -la /var/lock/doAT.lock
- Remove stale lock files:
rm -f /var/lock/doAT.lock
- Terminate stuck Perl or Python processes holding the serial interface:
fuser -k /dev/smd7 2>/dev/null || true
If the modem loses network registration and fails to re-attach after band switching:
-
Soft Baseband Restart (Fastest):
This reboots the cellular DSP while keeping the embedded Linux host OS running.
/usrdata/simpleadmin/scripts/doAT.pl 'AT+CFUN=1,1' -
RF Radio Toggle:
/usrdata/simpleadmin/scripts/doAT.pl 'AT+CFUN=0' sleep 3 /usrdata/simpleadmin/scripts/doAT.pl 'AT+CFUN=1'
If you locked the modem to bands not supported by the local cellular tower, the modem will disconnect and stay unregistered.
To reset band masks to factory defaults:
# Reset LTE band mask to all bands
/usrdata/simpleadmin/scripts/doAT.pl 'AT+QNWPREFCFG="lte_band",1:2:3:4:5:7:8:12:13:14:17:18:19:20:25:26:28:29:30:32:34:38:39:40:41:42:43:46:48:66:71'
# Reset 5G NR band mask to all bands
/usrdata/simpleadmin/scripts/doAT.pl 'AT+QNWPREFCFG="nr5g_band",1:2:3:5:7:8:12:20:25:28:38:40:41:48:66:71:77:78:79'
# Restore Automatic Network Mode
/usrdata/simpleadmin/scripts/doAT.pl 'AT+QNWPREFCFG="mode_pref",AUTO'If your upstream Wi-Fi router also uses 172.16.10.x or 192.168.225.x, routing conflicts will occur:
- Symptom: Host can access the modem web GUI, but internet traffic fails to route through the cellular link.
-
Solution:
- Check your host's active route table:
# Linux/Mac netstat -rn | grep default # Windows route print
- Ensure only one default gateway exists, pointing to the modem interface.
- If necessary, adjust the upstream router's LAN DHCP subnet to
192.168.1.xor10.0.0.x.
- Check your host's active route table:
If the cloud dashboard does not show incoming telemetry:
-
Verify Modem Internet Connectivity:
ping -c 3 8.8.8.8
-
Verify DNS Resolution:
nslookup api.telegram.org
-
Test Manual Push:
/usrdata/simpleadmin/scripts/telemetry_pusher.sh
-
Check Configuration:
Inspect
/usrdata/simpleadmin/config/telemetry.confto confirm:-
SERVER_URLis formatted properly (including protocolhttps://orhttp://and port8000). -
AUTH_TOKENmatches the token defined in the cloud server's.envfile.
-
Fresnel 5G Cellular Gateway Suite
Dedicated to the public domain under the Unlicense.
β οΈ Disclaimer: Low-level cellular baseband commands interact directly with modem hardware and firmware. Use at your own risk.
Main Codebase: github.com/pranabeshsingh/Fresnel