LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2015, 03:37 AM   #1
jarzi
LQ Newbie
 
Registered: Aug 2015
Posts: 3

Rep: Reputation: Disabled
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.
 
Old 08-07-2015, 04:25 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,700

Rep: Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647
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?
 
Old 08-07-2015, 04:29 AM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,700

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

http://www.techytalk.info/send-recei...-phone-ubuntu/
 
Old 08-07-2015, 04:44 AM   #4
jarzi
LQ Newbie
 
Registered: Aug 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
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.
 
Old 08-07-2015, 04:45 AM   #5
jarzi
LQ Newbie
 
Registered: Aug 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help using 3G USB dongle through WWAN interface rather than PPP joenew Linux - Wireless Networking 13 04-22-2016 05:22 AM
Can't pair with bluetooth dongle - Rejected send message BrutalMusic Linux - Newbie 1 07-05-2013 06:21 AM
System got unresponsive when unplug a wifi dongle that is in connected state. thomachen Linux - Wireless Networking 3 04-29-2013 01:32 PM
how to connect to internet via usb dongle (MPS internet dongle) on Fedora 16 O.S danibhai Linux - Newbie 1 07-30-2012 11:03 AM
Unable to connect to Internet Dongle radiosgalore Linux - Hardware 7 10-07-2011 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration