IP Modems | Search |
NowSMS Support Forums ⬆ NowSMS NextGen Support ⬆ |
◄ ► |
Author | Message | |||
Christian Sommer New member Username: Eagle Post Number: 8 Registered: 01-2021 |
Hi, Is there a list of supported IP modems? Regards Chris | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6222 Registered: 08-2008 |
Hi Chris, Our testing has focused on IP-serial gateway devices. For ethernet connectivity, we've used Startech and Global Cache. I also wanted to try a WiFi IP-serial gateway, so we purchased a device called the USR-610 which seemed to work quite well, although setting up the WiFi side was a bit confusing. When you specify the IP address on the NowSMS side, use the syntax ip.address:port If a port number is not specified, 23 is assumed, which is the default telnet port. Regards, Des NowSMS Support | |||
Christian Sommer New member Username: Eagle Post Number: 9 Registered: 01-2021 |
Hi Des So you're using IP to serial gateways and connect a serial gsm modem to this gateway. Do NowSMS use telnet to send and receive the sms? Where I put the credentials? So the idea will be to share my usb-gsm-modem via raspberry to my NowSMS server... Regards Chris | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6224 Registered: 08-2008 |
Hi Chris, It's like Telnet, but the gateway generally will have a setting for "raw", which is preferred. The actual Telnet protocol includes outdated escape sequences designed for cursor control on primitive displays, as well as Xon/XOff flow control, which should be avoided. Our old Windows version did have INI file settings to look for text strings that indicate username/password prompts (which vary by implementation), but we did not carry over any of this logic, instead assuming that authentication would be turned off. Regards, Des NowSMS Support | |||
Christian Sommer New member Username: Eagle Post Number: 10 Registered: 01-2021 |
Hi Des, Ok, it was just an idea to share the usb modem with the tiny hardware and a little linux. I'll try to get a gateway and a serial gsm modem to test is. Regards Chris | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8392 Registered: 10-2002 |
Hi Chris, There is a package called ser2net which basically listens on a TCP port, and copies all sent/received data to/from a tty device such as a serial/USB connected modem. This might be what you are looking for. I gave it a quick test, and it worked fine for me for SMS, but I could not get MMS to work, because the data connection would fail. Looking at the logs, while the data connection is active, NowSMS would send data to try to initiate a PPP data connection, but it would not receive any data from the modem until the connection dropped. We didn't experience anything like this with the dedicated devices. Maybe it's a settings or buffering issue, or maybe ser2net has a flow control problem when carrier is signaled. That needs more investigation. Basically, I just did the following: Step 1: sudo apt-get install ser2net Step 2: Edit /etc/ser2net.conf There are examples in that file. I used: 8888:raw:60:/dev/ttyUSB0:115200 NONE 1STOPBIT 8DATABITS Save the config file. Step 3: Enable the service (first time only): sudo systemctl enable ser2net Step 4: Whenever you edit the config, restart the service. (I'd sometimes get an error and repeated the command just in case.) sudo systemctl restart ser2net Step 5: From NowSMS, I defined a TCP/IP modem connection to the ip.address:8888 I just could not get MMS to work, only SMS. I took the same modem and connected it to a Startech IP-serial gateway device and both SMS and MMS work. Regards, Bryce Norwoood NowSMS Support | |||
Christian Sommer New member Username: Eagle Post Number: 12 Registered: 01-2021 |
Hi Bryce Wow, that sounds great! I'll try to test this asap! Thank you Regards Chris |