Script to get MMS(!)
#5
Using RedPocket a mvno on the US T-mobile network I was able to get messages while the wifi was on by change the wget command to include --bind-address=<wwan0_IPv6>. T-Mobile's network seems to prefer IPv6 connections. wget also has a flag for IP v4 or V6 only.

https://git.sr.ht/~amindfv/janky-mms/tre...mms.hs#L89

Code:
(shell $ "cd "++mmsDir++" && wget --bind-address=<wwan0_IPv6> "++BS8.unpack url)

Next I'll try to add some code to get the IPv6 address and add it dynamically. Or switch to curl using the --interface wwan0 command like argument. Curl's output of binary is a little different but using the --interface wwan0 did download the MMS message while on wifi.


Messages In This Thread
Script to get MMS(!) - by amindfv - 10-30-2020, 06:26 PM
RE: Script to get MMS(!) - by sundog - 10-30-2020, 09:08 PM
RE: Script to get MMS(!) - by dukla2000 - 10-31-2020, 05:38 AM
RE: Script to get MMS(!) - by amindfv - 10-31-2020, 10:57 AM
RE: Script to get MMS(!) - by puffchumpy - 10-31-2020, 01:29 PM
RE: Script to get MMS(!) - by amindfv - 10-31-2020, 02:22 PM
RE: Script to get MMS(!) - by amindfv - 10-31-2020, 10:09 PM
RE: Script to get MMS(!) - by saba - 11-02-2020, 02:57 AM
RE: Script to get MMS(!) - by Subsentient - 11-11-2020, 05:36 AM
RE: Script to get MMS(!) - by kop316 - 04-08-2021, 05:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Flat-file database script for pinephone terminal cabbie001 0 1,226 11-21-2021, 06:17 PM
Last Post: cabbie001
  phosh proximity sensor toggle script D4rkh0rs3 2 2,789 06-10-2021, 06:42 AM
Last Post: Trbl
  Silly Kali Linux script for Mobian SD card sergio.pantalone 0 3,374 03-08-2021, 10:08 PM
Last Post: sergio.pantalone

Forum Jump:


Users browsing this thread: 1 Guest(s)