LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   3g dongle connected via ppp daemon unable to send AT commnads to the dongle (https://www.linuxquestions.org/questions/linux-networking-3/3g-dongle-connected-via-ppp-daemon-unable-to-send-at-commnads-to-the-dongle-4175550110/)

jarzi 08-07-2015 03:37 AM

3g dongle connected via ppp daemon unable to send AT commnads to the dongle
 
I have connected a 3g USB dongle to my system and is able to get data connectivity using ppp protocol, but due to my requirement I also need to send messages via the dongle but I am unable to send the AT commands to it, as it is not responding. But when I disconnect the data connectivity I am able to send sms and again, I have to connect for net and this process continues.

Is there any way to send sms(or any AT commands) even while the data connection is on??
I have searched a lot but haven't got any meaningful solutions.

ferrari 08-07-2015 04:25 AM

AFAIU, some of these broadband modem devices present more than one tty interface - one for data, and one for control etc. For example, my own device shows up with 3
Code:

ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Aug  7 19:42 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Aug  7 19:42 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 Aug  7 19:42 /dev/ttyUSB2

What is the case with yours?

ferrari 08-07-2015 04:29 AM

This page might be of interest to you (with respect to internet and SMS messaging)

http://www.techytalk.info/send-recei...-phone-ubuntu/

jarzi 08-07-2015 04:44 AM

Quote:

Originally Posted by ferrari (Post 5402311)
AFAIU, some of these broadband modem devices present more than one tty interface - one for data, and one for control etc. For example, my own device shows up with 3
Code:

ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Aug  7 19:42 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Aug  7 19:42 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 Aug  7 19:42 /dev/ttyUSB2

What is the case with yours?

I am able to get get the following:
[18063.667700] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[18063.715500] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[18063.715800] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2

ppp is running on USB0(on other two ports ppp is not working) and this port is also responding to AT commands only if the data connectivity is off.
And on USB1 I am getting only:
AT
OK
other than that no other AT commands are working.

jarzi 08-07-2015 04:45 AM

Quote:

Originally Posted by ferrari (Post 5402312)
This page might be of interest to you (with respect to internet and SMS messaging)

http://www.techytalk.info/send-recei...-phone-ubuntu/

Thanks for the link. I also tried gammu but again same problem working only with ppp off.


All times are GMT -5. The time now is 11:02 AM.