On Jan 9, 2018, at 3:20 AM, Roderick <hru...@gmail.com> wrote: > > > On Mon, 8 Jan 2018, Israel Brewster wrote: > >> Could anyone suggest a USB 4G cell modem model that will work well with >> OpenBSD, specifically SMSTools? I've looked over most of the list in "man >> umsm", but those all appear to be 3G. That said, I haven't checked every >> model on the list, so there could be one or more 4G models that I missed. >> I've also seen this thread: >> http://openbsd-archive.7691.n7.nabble.com/4g-LTE-modem-td106310.html >> <http://openbsd-archive.7691.n7.nabble.com/4g-LTE-modem-td106310.html>, but >> that is over 5 years old. There is also this thread: >> http://openbsd-archive.7691.n7.nabble.com/Anyone-experienced-with-4G-LTE-modems-td281872.html >> >> <http://openbsd-archive.7691.n7.nabble.com/Anyone-experienced-with-4G-LTE-modems-td281872.html>, >> but that doesn't appear to offer any suggestions of USB cell modems - just >> suggestions of using external cellular routers. >> >> I do need a direct USB connection for the purposes of sending SMS messages >> directly from the system, i.e. I need to be able to send a SMS even if the >> internet is down, so online cloud services or the like that can convert >> e-mail to SMS aren't an option. Thanks. > > External Router: "Globsurfer III" you can send SMS from its cofiguration > page.
Does that mean web interface? if so, that won't work - I need a scriptable command line option. I'll look into it though. Thanks! > > With a modem, you can ask someone here having a 4G modem if it has the > extended AT commands that your program need. > But what are these commands? > I do not know if they are standard. See for example here: Well, as I said I'm using SMSTools - it's in ports - comms/smstools. No special program or extended AT commands, at least not on my end. I just call the command line "sendsms" that smstools provides. Easy peasy. I haven't looked at the source to see what it does under the hood. > > http://www.smssolutions.net/tutorials/gsm/receivesmsat/ > > http://www.smssolutions.net/tutorials/gsm/sendsmsat/ > > Perhaps you can write your own script with expect: > > https://www.tcl.tk/man/expect5.31/expect.1.html > > Rodrigo. >