No SMS notifications once ppp up


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers No SMS notifications once ppp up
# 1  
Old 07-26-2018
No SMS notifications once ppp up

Hi all,

I have an Siemens IoT2020 with a Sim7000e cellular board that I connect via USB to the board and connect to Telstra Cat-M1 network.

I can send and receive SMS and do so using Node-Red but can also do with Minicom etc. When connected I get :

Code:
root@iot2000:~# dmesg | grep USB
[ 2.318030] ACPI: bus type USB registered
[ 4.649537] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.664126] ehci-pci 0000:00:14.3: new USB bus registered, assigned bus number 1
[ 4.690190] ehci-pci 0000:00:14.3: USB 2.0 started, EHCI 1.00
[ 4.697598] hub 1-0:1.0: USB hub found
[ 4.705412] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.719721] ohci-pci 0000:00:14.4: new USB bus registered, assigned bus number 2
[ 4.797125] hub 2-0:1.0: USB hub found
[ 4.821630] usbserial: USB Serial support registered for generic
[ 6.075573] usbhid: USB HID core driver
[ 306.670178] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 307.026397] usbserial: USB Serial support registered for GSM modem (1-port)
[ 307.052558] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 307.064341] qmi_wwan 1-1:1.5: cdc-wdm0: USB WDM device
[ 307.101765] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 307.128055] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 307.144944] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 307.162073] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4

I have been using /dev/ttyUSB2 for ppp connection and /dev/ttyUSB3 for AT commands in node-red. Node-Red has a serial connector that I use to publish AT Commands and another to receive responses.
I did have it running so I could bring up a ppp connection and still receive sms notifications. Now however I can't receive sms notifications unless I send an AT from node-red if ppp is up although this sometimes still doesn't receive sms and if does is in PDU format. I do note that it does appear to store on Sim and can receive as soon as I killall pppd, this however does not always happen.

It also changes some settings when I bring up connection:
Prior to ppp:
Code:
AT+CMGF=1 #text mode
AT+CSCS="GSM"
Post ppp:
AT+CMGF? returns 0 (PDU mode)
AT+CSCS? returns "IRA"
If I try to change
"AT+CNMI=2,2,0,0,0 ↵"
"+CMS ERROR: 303↵"
although it appears supported
"AT+CNMI=? ↵"
"+CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)↵"

Could it be my options file: /etc/ppp/options-mobile
/dev/ttyUSB2
115200
lock
crtscts
modem
passive
novj
defaultroute
noipdefault
usepeerdns
noauth
hide-password
persist
holdoff 10
maxfail 0
debug
logfile /var/log/ppplog

/etc/ppp/peers/provider
file /etc/ppp/options-mobile
connect "/usr/local/sbin/chat -e -r -v -V -t15 -f /etc/ppp/chatscripts/mobile-modem.chat"

/etc/ppp/chatscripts/mobile-modem.chat
TIMEOUT 5
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' 'ATZ'
'' \rAT
TIMEOUT 30
OK 'AT+CSQ'
OK 'AT+CGDCONT = 1,"IP","telstra.m2m"'
OK 'AT+CGDCONT?'
\r \d\c
'OK' 'ATD*99#'
\r \d\c
\r \d\c
'CONNECT' ''

I realise there may be some bad configurations as I haven't touched linux for over a decade and even then wasn't great. I'm wondering if my options are creating some sort of serial connection when ppp is up and node-red can't receive as it's using some sort of serial emulator or the TE-TA connection is locked by ppp.

Any ideas?
This User Gave Thanks to antc For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Not able to dial specific number using ppp

Hi all, I'm working on ppp establishment. When I tried calling a number using ppp, I could establish a PPP connection successfully. But, when I tried calling another ISP number, it is asking for authentication details whereas that is not the case with the other number. It throws an error saying... (0 Replies)
Discussion started by: sai2krishna
0 Replies

2. IP Networking

Load Balancing ppp

Hello everybody How can i Load Balance two slow ppp(gprs) connections with iptables . (4 Replies)
Discussion started by: rink
4 Replies

3. Infrastructure Monitoring

How to limit the amout of Nagios SMS notifications?

Hi all, I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04. I monitor approx. 50 hosts (mixture of Windows Servers, Switches, Firewalls) by PING only. Down hosts are notified to me via email and SMS at the moment. What I would like to so is limit the amount of SMS... (0 Replies)
Discussion started by: Yoshi17
0 Replies

4. Shell Programming and Scripting

SLIP/PPP questions

Hello all.. I need to script SLIP dial-up connections and wanted ask others about the following; - does pppd support SLIP (noticed some releases do and some don't) - if pppd doesn't support SLIP can bash variables be passed to a dip script (e.g. phone-number, ip-address) - or is another... (0 Replies)
Discussion started by: LAVco
0 Replies

5. Solaris

install PPP on Solaris 9

Background: I have been running Solaris 8 on an Ultra5 with 128MB and 4GB disk for years without upgrade. If it ain’t broke, don’t fix it. Now my ISP has upgraded their software, and no longer talks to my old (asppp!) software. Sun no longer ships newer versions of Solaris 8. So I bought Solaris... (1 Reply)
Discussion started by: sandee
1 Replies

6. UNIX for Advanced & Expert Users

ppp errror message in logs

I am getting this message in the log file. Apr 29 15:32:02 router ppp: Warning: Label COPYRIGHT rejected -direct connection: Configuration label not found This repeats every so often, the link is up however...Any ideas why i am getting this. Its freebsd 6.1 and pppoE. Frank (1 Reply)
Discussion started by: frankkahle
1 Replies

7. IP Networking

CCP In PPP

Hi, I am using linux-2.6.10 mandrake. In which i am establishing PPP sessions with the peer.During the PPP negotiations i negotiate even CCP-deflate compression option. I just wanted to know the amount of memory which is being used in kernel space by the compression algorithms,when a ccp... (0 Replies)
Discussion started by: sriram.ec
0 Replies

8. IP Networking

How to get Caller Id in PPP

hello I am workin with PPP to send data from dos machine to unix & Linux machine using FTP with help of fax & voice modem(Caller id Enabled & Exchange provides facility). i need to identify phone(number) connect with Dos machine i.e. to identify from where data is send. so i want to get the... (0 Replies)
Discussion started by: yspl
0 Replies

9. IP Networking

PPP Network through TCP/IP

I have two unix systems. One is Redhat Linux and the other is Sun Solairs. I am runing PPP on my Linux machine but not on my Solaris machine. TCP/IP connects the two machines. I want to pick up PPP on both machines simultaneously with only one dial up connection on my linux machine. ... (4 Replies)
Discussion started by: Photon_Blast
4 Replies

10. UNIX for Dummies Questions & Answers

PPP in netcfg

Hi! I'm using RedHat 7.1 and I have some prolems with connecting with ppp. I have run modemtool and told that I'm using ttyS0. Whe I then try to set up a PPP connection using netcfg the PPP option is not there. I have all the other alternativs except PPP. What have I missed? (6 Replies)
Discussion started by: <Therapy>
6 Replies
Login or Register to Ask a Question