Nice info. I use a ttyUSB GSM modem connected to a dedicated Home Assistant box with an automation to send me a notifications via HA of any SMS messages received. The plan is to use the GSM modem for info and control of HA when the internet is down via SMS. I already have dual WAN setup on my pfsense box (Large LTE Quad gigabit LAN modem from ISP #1 and MOCA Cable Modem from ISP #2) so using the HA connected GSM modem for backup internet has not been given priority, but this video will be used as a reference in the future. Thanks!
Thank you. BTW a SMSC is the system that processes SMS messages for the carrier, usually every carrier has one. They are all connected together globally (needs a commercial agreement) and viola the magic happens. As you can imagine they are a very busy box and built like the proverbial outhouse to meet the 99.999% availability, if not plenty of “tears at bedtime”.
This is taking me back to programming PLCs & dial up days with those AT commands. I know why you don't want to give people your number, the pc has a sms kill switch attached to it. We know you only practice the best opsec ;)
You try and find a modem that has TTY lines to do this stuff nowadays. You'd have to have something other than smstools that gets it via the web interface... which probably won't have a nice API (but maybe just might)
@@TallPaulTech Your industro spec modems generally have them, it's all for these "edge computing" IoT systems, doubt the average consumer would want one unless it's for a specific purpose.
Give me a link to some so I can check them out. Also, tell me how I can set up a power point near my pond to so I don't have to use an extension lead plug cover out in the weather
@@TallPaulTechTTY 4G modem look up: TD210 Pond light: Clipsal make a zigbee weatherproof outlet that can work with Thread/Matter, Cabac & Elsema has a 433mhz relay modules.
Damn the old 320U was hot stuff in its day and I carried an unlocked one around with me since new but I'm stuffed if I can find it now. If it turns up, I might send it over to you as a backup one if you like. Great videos by the way, thanks for sharing the knowledge.
For the web sms page, it could possibly be scripted if using http. It largely depends on how the data is formatted though and its probably less universal than smstools
How did you get those /dev/USBx ports on the Pi in the first place. When I just plugin USB SIM dongles, these ports do not appear. How did you get those ttyUSB0 through ttyUSB3? Please guide.
I knew someone would ask. I can't, as it's inside the house. Others might. I'm still not really into GPS for my time source as the network one works fine enough for me
I Combine my home ISP with my Celluar isp on my pc 1 lan card and 1 wifi 1.5gbs card for the mobil signal and it works well window11 will balance both signals fine , works great for steam or edge /chrome downloads
To add to this using the cheapest "Unlocked 4G LTE WIFI Wireless USB Dongle Mobile Broadband Modem" I could find on eBay to receive SMS I didn't know about the Linux tooling so I just wrote a C# program to send the AT commands I need to get the SMS data for my specific use case.
how does manual sending of AT command using echo utilize correct baudrate etc.? by the way, have a look at UDEV rules to fix a particular /dev/ttyUSBx to a device...
Well that's the beauty of it; you could do anything you want. You could set up a script to send what it received onwards to a different number... or email it... or just ssh in and read it
@@TallPaulTech the reason is that right now I'm o/s and was looking to do something like this. I ended up just enabling roaming on my sim card. I bust need to make certain that I don't send sms, only receive them because that's free! Definitely not make or receive calls and DEFINITELY not use mobile data. Would love to see a follow up video on how this would be done. The only downside is that a computer has to be left on. If power goes down ...
Hi. Thanks for the video For some reason the incoming messages does not work and I have to modify the code to init = at+cpms="SM"+cmgf=1 which uses the sim card storage Is this because you have an sd card in your modem? I had a look at the at commands and MT is another option which is SM+ME
I need a phone just for the B.S. Calls, I've already put a whitelist restriction up, and a voice-mail OGM advising the callers if they aren't a registered user on my phone they won't get through, not only do I get calls for previous users of the phone number (reuse is common in the USA) but I've got companies that get my info from a soft-pull of my credit report.. if I can use this kind of device for outgoing calls too, all the better, some places won't activate an account or give you an OTP without a contact able number. BTW, you need a haircut. It's not smooth enough.
It is refreshing to see some non standard application of the commonly used hardware. I really appreciate it, and you have me subscribed now.
I just added the commands that I used and more info in the description.
Nice info. I use a ttyUSB GSM modem connected to a dedicated Home Assistant box with an automation to send me a notifications via HA of any SMS messages received. The plan is to use the GSM modem for info and control of HA when the internet is down via SMS. I already have dual WAN setup on my pfsense box (Large LTE Quad gigabit LAN modem from ISP #1 and MOCA Cable Modem from ISP #2) so using the HA connected GSM modem for backup internet has not been given priority, but this video will be used as a reference in the future. Thanks!
Thank you. BTW a SMSC is the system that processes SMS messages for the carrier, usually every carrier has one. They are all connected together globally (needs a commercial agreement) and viola the magic happens. As you can imagine they are a very busy box and built like the proverbial outhouse to meet the 99.999% availability, if not plenty of “tears at bedtime”.
Thanks for this Paul. I now have smstools running on a very old Pi and Beaglebone Black (which also uses Debian). The Sierra modem is awesome.
That's what I like to hear.
This is taking me back to programming PLCs & dial up days with those AT commands. I know why you don't want to give people your number, the pc has a sms kill switch attached to it. We know you only practice the best opsec ;)
You try and find a modem that has TTY lines to do this stuff nowadays. You'd have to have something other than smstools that gets it via the web interface... which probably won't have a nice API (but maybe just might)
@@TallPaulTech Your industro spec modems generally have them, it's all for these "edge computing" IoT systems, doubt the average consumer would want one unless it's for a specific purpose.
Give me a link to some so I can check them out.
Also, tell me how I can set up a power point near my pond to so I don't have to use an extension lead plug cover out in the weather
@@TallPaulTechTTY 4G modem look up: TD210
Pond light: Clipsal make a zigbee weatherproof outlet that can work with Thread/Matter, Cabac & Elsema has a 433mhz relay modules.
A well put together video. Like being taken through the steps by a colleague. Thank you.
I love that SMS idea! maybe I should do similar.
Nice video. BTW for SMSC -> Its purpose is to store, forward, convert and deliver SMS messages.
I recommend to rename the ttyUSB device using udev rules so that reordering won't hit your configuration files.
Thank you for this. I don't know how to do this - but your comment has got me investigating.
I appreciate the video, very useful. Cheers from Texas!
Ah, so just before the NSW border
Damn the old 320U was hot stuff in its day and I carried an unlocked one around with me since new but I'm stuffed if I can find it now. If it turns up, I might send it over to you as a backup one if you like. Great videos by the way, thanks for sharing the knowledge.
For the web sms page, it could possibly be scripted if using http. It largely depends on how the data is formatted though and its probably less universal than smstools
How did you get those /dev/USBx ports on the Pi in the first place. When I just plugin USB SIM dongles, these ports do not appear. How did you get those ttyUSB0 through ttyUSB3? Please guide.
Would it help to rig up an external antenna for the modem?
Question - Can you use the Netgear's GPS for a time source for NTP?
I knew someone would ask. I can't, as it's inside the house. Others might. I'm still not really into GPS for my time source as the network one works fine enough for me
@@TallPaulTech did you think about putting an antenna outside for the 4g stick?
Love this vid mate. Been thinking of something similar recently this a big help
Great video, thanks! This bunch of ttys was created by a single dongle? Can I use one for data access and the other for making calls for example?
I Combine my home ISP with my Celluar isp on my pc 1 lan card and 1 wifi 1.5gbs card for the mobil signal and it works well window11 will balance both signals fine , works great for steam or edge /chrome downloads
For raspi use Waveshare sim800 Modem series
Usually there's a way to put the normal USB modem sticks in to a AT mode so they don't mount as a CD rom drive
To add to this using the cheapest "Unlocked 4G LTE WIFI Wireless USB Dongle Mobile Broadband Modem" I could find on eBay to receive SMS I didn't know about the Linux tooling so I just wrote a C# program to send the AT commands I need to get the SMS data for my specific use case.
how does manual sending of AT command using echo utilize correct baudrate etc.?
by the way, have a look at UDEV rules to fix a particular /dev/ttyUSBx to a device...
I was totally wondering the same thing!
You must set the baud rate, Bit number and stop bit, BEFORE you try to “talk” to it.
Where can you buy the modem?
where to buy it?
Very informative video but let me know which hardware we can use to plug simcard with rpi
If you went overseas, would you be able to forward OTPs (banks etc) to another phone you're using?
Well that's the beauty of it; you could do anything you want. You could set up a script to send what it received onwards to a different number... or email it... or just ssh in and read it
@@TallPaulTech the reason is that right now I'm o/s and was looking to do something like this. I ended up just enabling roaming on my sim card. I bust need to make certain that I don't send sms, only receive them because that's free! Definitely not make or receive calls and DEFINITELY not use mobile data.
Would love to see a follow up video on how this would be done.
The only downside is that a computer has to be left on. If power goes down ...
Very cool. Would like to do similar
Do you think you would get a cellular repeater to improve service? I’ve got one at my house so I don’t have to play the outside game with my phone.
I just don't bother with the phone at all. Simple.
@@TallPaulTech wish I had that luxury, wifi calling for calling and sms has saved my butt several times.
Hi. Thanks for the video
For some reason the incoming messages does not work and I have to modify the code to
init = at+cpms="SM"+cmgf=1 which uses the sim card storage
Is this because you have an sd card in your modem? I had a look at the at commands and MT is another option which is SM+ME
I don't use the sd card for anything. From my notes, it seems I used ME. AT+CPMS="ME","ME","ME"
This would be good to trigger sms alerts from monitoring systems
Man, your IPv4 latency is worse than what we get here in Ukraine with the power out and every dang phone switching to 4G.
Yeah we have terrible internet in Australia, it sucks.
Where can you buy this?
Nice video 👍
what are you using for your 4g stick? and telstra or an other provider ?
thats telstras old 4g device (replacedf their nextG sierra wireless dev of the same formfactor
Should do sms to email via this
What is the model of your 4G-Netgear box?
Pretty sure it's the Sierra WIreless AirCard 320U
Manufacturer: Sierra Wireless, Incorporated
Model: AirCard 320U
Revision: SWI9200X_03.05.23.09ap r5836 carmd-en-10527 2013/06/17 18:01:23
IMEI: xxxxxxxxxxxxxxx
IMEI SV: 17
FSN: xxxxxxxxxxxxx
3GPP Release 8
+GCAP: +CGSM,+DS,+ES
Has anyone had any luck getting ipv6 to work? I was able to pull an ipv6 address but cannot ping through it. Thanks
On the mobile device? I found the same thing.
Cool!
I need a phone just for the B.S. Calls, I've already put a whitelist restriction up, and a voice-mail OGM advising the callers if they aren't a registered user on my phone they won't get through, not only do I get calls for previous users of the phone number (reuse is common in the USA) but I've got companies that get my info from a soft-pull of my credit report.. if I can use this kind of device for outgoing calls too, all the better, some places won't activate an account or give you an OTP without a contact able number.
BTW, you need a haircut. It's not smooth enough.
Hi 👋