MOBITEK Q24 SMS MODEM Works with SMSLib in Linux

Product: MOBITEK® Q24 SMS Modem
Model: S-657f
Type: E
IMEI: 356205030009943
Expiry Date of Warranty and Support  12 Months After 26 June 2014
The modem is connected with?
  • PC
What is the Operating System (ignore if not relevant)?
  • Linux Red Hat & Ubuntu
What software are you using to communicate with the modem?
  • SMSLib Version: 3.5.0
SIM Card Used:
  • Maxis / Digi
Description of Problem:  Trouble getting it to work with Linux machines (“No such port”).But the very same java program works fine on Windows PC.813    2014-07-07 16:19:35,433 [Thread-4] INFO  com.cardzone.oneswitch.sms.smslib.modem.SerialModemDriver  – GTW: modem1: Closing: /dev/ttyS0 @115200
2040   2014-07-07 16:19:36,660 [main] INFO  com.cardzone.oneswitch.sms.smslib.modem.ModemGateway  – GTW: modem1: Stopping gateway…
2040   2014-07-07 16:19:36,660 [main] INFO  com.cardzone.oneswitch.sms.smslib.modem.SerialModemDriver  – GTW: modem1: Closing: /dev/ttyS0 @115200
2040   2014-07-07 16:19:36,660 [main] INFO  com.cardzone.oneswitch.sms.smslib.modem.ModemGateway  – GTW: modem1: Gateway stopped.
2241   2014-07-07 16:19:36,861 [main] ERROR com.cardzone.oneswitch.sms.smslib.smsserver.SMSServer  – SMSServer error!
com.cardzone.oneswitch.sms.smslib.GatewayException: Comm library exception: java.lang.RuntimeException: gnu.io.NoSuchPortException
Root Cause: Permission/privilege to use serial port is NOT assigned to current user.
Solution: grant permission — add  “tty”, “dialout” into “Groups” of the current user

Linux-Mint

Linux-Mint