12-06-2020, 11:19 PM
Thank you for sharing this, its my favorite solution for downloading mms out of the ones I've seen.
If anyone has a problem downloading the files try adding the following the curl command in the donwload_messages function. This is definitely required for t-mobile and setting the dns-interface might be useful for other carriers.
Also if the modem number keeps increasing due to crust you can use this line
If anyone has a problem downloading the files try adding the following the curl command in the donwload_messages function. This is definitely required for t-mobile and setting the dns-interface might be useful for other carriers.
Code:
-6 --dns-interface $INTERFACE
Also if the modem number keeps increasing due to crust you can use this line
Code:
MODEM_NUM=$(mmcli --list-modems | grep -oP "(?<=Modem/)[0-9]+")