Cannot connect to operator (Orange (France))

Hello,

1°) I have a chat script to send to my modem (MC7455), but the dial command failed…

TIMEOUT 10
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
"" ATZ
TIMEOUT 20
SAY "Connexion modem en cours... \n"
OK \d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\dAT+CGDCONT=1,"IP","orange-mib"
OK ATDT*99#\ **=> This line failed**
CONNECT ""

It works well with a simcom SIM7100E… Maybe it is not the same AT command

2°) I need to configure this modem to connect in Argentina, what I have to change (from France) ?

Thanks a lot for your help !

Pierre

Ok better, I needed to install GobiSerial and GobiNet drivers… And don’t forget to set RAWIP option to 1 in makefile before compiling :slight_smile:

=> Download GobiSerial and GobiNet drivers from sierra website
# apt-get install make linux-headers-[kernel_version]-all-amd64 
=> Set var RAWIP to 1 in the makefile
# make clean
# make
# make install

Then, you have to blacklist the actual driver : qcserial

# nano /etc/modprobe.d/blacklist.conf : add this line : blacklist qcserial
# reboot

So right now ppp0 interface is up, but just for a while :frowning: :

pppd[2969]: Serial connection established.
pppd[2969]: Using interface ppp0
pppd[2969]: Connect: ppp0 <--> /dev/modem_3g
pppd[2969]: PAP authentication succeeded
pppd[2969]: Could not determine remote IP address: defaulting to 10.64.64.64
pppd[2969]: replacing old default route to eth1 [192.168.1.1]
pppd[2969]: local  IP address 10.160.203.154
pppd[2969]: remote IP address 10.64.64.64
pppd[2969]: No response to 4 echo-requests
pppd[2969]: Serial link appears to be disconnected.
pppd[2969]: Connect time 2.5 minutes.
pppd[2969]: Sent 2025 bytes, received 1027 bytes.
pppd[2969]: restoring old default route to eth1 [192.168.1.1]
pppd[2969]: Connection terminated.
pppd[2969]: Modem hangup
pppd[2969]: Exit.

=> No ping to google.fr but seems to have the DNS resolution… ?!
EDIT : no DNS resolution actually… It works when ppp0 goes down, and default gtw is set to ETH interface…

If you can help, please :grinning:

Why do you use ppp?

After you installed GobiNet & GobiSerial make sure that the modem is attached to the NTWK.
at!gstatus? or at+creg
then establish the session use at!scact=1 (we also have QMI - checkout the QMI SDK or SDKlite)
on the host site call a dhcp client to transfer the IP address ( dhclinet)

Hello,

thanks a lot for your help !
I use ppp because it works well with my other modem (SIM7100E), and it was in place when I arrived in this company :slight_smile:

=> All these commands are sent when the modem is disconnected (because it says it’s locked when it’s connected…) : so btw is there an option to connect to with minicom while the modem is connected ?

at!gstatus?
!GSTATUS: 
Current Time:  890              Temperature: 41
Reset Counter: 2                Mode:        ONLINE         
System mode:   LTE              PS state:    Attached     
LTE band:      B7               LTE bw:      20 MHz  
LTE Rx chan:   3000             LTE Tx chan: 24400
LTE CA state:  NOT ASSIGNED
EMM state:     Registered       Normal Service 
RRC state:     RRC Idle       
IMS reg state: No Srv  

PCC RxM RSSI:  -76              RSRP (dBm):  -105
PCC RxD RSSI:  -95              RSRP (dBm):  -136
Tx Power:      0                TAC:         08C3 (2243)
RSRQ (dB):     -9.5             Cell ID:     00996A01 (10054145)
SINR (dB):      7.0

at+creg
OK
at+creg?
+CREG: 0,1

at!scact?
!SCACT: 1,0
OK

at!scact=1
+CME ERROR: no network service

at!gobiimpref?
!GOBIIMPREF: 
 preferred fw version:    02.20.03.00
 preferred carrier name:  GENERIC
 preferred config name:   GENERIC_002.017_000
 current fw version:      02.20.03.00
 current carrier name:    GENERIC
 current config name:     GENERIC_002.017_000

I have the logs (syslog) from my debian 8 (3.16.0-7-amd64) :

May 24 09:29:13  systemd[1]: Starting mobile data connection...
May 24 09:29:13  systemd[1]: Started mobile data connection.
May 24 09:29:13  pppd[1458]: pppd 2.4.6 started by root, uid 0
May 24 09:29:14  chat[1460]: timeout set to 10 seconds
May 24 09:29:14  chat[1460]: abort on (BUSY)
May 24 09:29:14  chat[1460]: abort on (NO CARRIER)
May 24 09:29:14  chat[1460]: abort on (VOICE)
May 24 09:29:14  chat[1460]: abort on (NO DIALTONE)
May 24 09:29:14  chat[1460]: abort on (NO DIAL TONE)
May 24 09:29:14  chat[1460]: abort on (NO ANSWER)
May 24 09:29:14  chat[1460]: abort on (DELAYED)
May 24 09:29:14  chat[1460]: send (ATZ^M)
May 24 09:29:14  chat[1460]: timeout set to 20 seconds
May 24 09:29:14  chat[1460]: expect (OK)
May 24 09:29:14  chat[1460]: ATZ^M^M
May 24 09:29:14  chat[1460]: OK
May 24 09:29:14  chat[1460]:  -- got it
May 24 09:29:14  chat[1460]: send (\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\dAT+CGDCONT=1,"IP","orange-mib"^M)
May 24 09:29:33  chat[1460]: expect (OK)
May 24 09:29:33  chat[1460]: ^M
May 24 09:29:33  chat[1460]: AT+CGDCONT=1,"IP","orange-mib"^M^M
May 24 09:29:33  chat[1460]: OK
May 24 09:29:33  chat[1460]:  -- got it
May 24 09:29:33  chat[1460]: send (AT!IMPREF="GENERIC"^M)
May 24 09:29:34  chat[1460]: expect (OK)
May 24 09:29:34  chat[1460]: ^M
May 24 09:29:34  chat[1460]: AT!IMPREF="GENERIC"^M^M
May 24 09:29:34  chat[1460]: OK
May 24 09:29:34  chat[1460]:  -- got it
May 24 09:29:34  chat[1460]: send (ATDT*99#\\^M)
May 24 09:29:34  chat[1460]: expect (CONNECT)
May 24 09:29:34  chat[1460]: ^M
May 24 09:29:34  chat[1460]: ATDT*99#\^M^M
May 24 09:29:34  chat[1460]: CONNECT
May 24 09:29:34  chat[1460]:  -- got it
May 24 09:29:34  chat[1460]: send (^M)
May 24 09:29:34  pppd[1458]: Script /usr/sbin/chat -vf /etc/ppp/peers/operateur3g.chat finished (pid 1459), status = 0x0
May 24 09:29:34  pppd[1458]: Serial connection established.
May 24 09:29:34  pppd[1458]: using channel 2
May 24 09:29:34  pppd[1458]: Using interface ppp0
May 24 09:29:34  pppd[1458]: Connect: ppp0 <--> /dev/modem_3g
May 24 09:29:35  pppd[1458]: sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x3d16ffcd> <pcomp> <accomp>]
May 24 09:29:35  pppd[1458]: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x5b4193a9> <pcomp> <accomp>]
May 24 09:29:35  pppd[1458]: sent [LCP ConfNak id=0x0 <auth pap>]
May 24 09:29:35  pppd[1458]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x3d16ffcd> <pcomp> <accomp>]
May 24 09:29:35  pppd[1458]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5b4193a9> <pcomp> <accomp>]
May 24 09:29:35  pppd[1458]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5b4193a9> <pcomp> <accomp>]
May 24 09:29:35  pppd[1458]: sent [LCP EchoReq id=0x0 magic=0x3d16ffcd]
May 24 09:29:35  pppd[1458]: sent [PAP AuthReq id=0x1 user="" password=<hidden>]
May 24 09:29:35  pppd[1458]: rcvd [LCP DiscReq id=0x2 magic=0x5b4193a9]
May 24 09:29:35  pppd[1458]: rcvd [LCP EchoRep id=0x0 magic=0x5b4193a9 3d 16 ff cd]
May 24 09:29:35  pppd[1458]: rcvd [PAP AuthAck id=0x1 ""]
May 24 09:29:35  pppd[1458]: PAP authentication succeeded
May 24 09:29:35  pppd[1458]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
May 24 09:29:35  pppd[1458]: rcvd [IPCP ConfReq id=0x0]
May 24 09:29:35  pppd[1458]: sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
May 24 09:29:35  pppd[1458]: rcvd [IPCP ConfNak id=0x1 <addr 10.65.233.100> <ms-dns1 192.168.10.110> <ms-dns2 194.51.3.56>]
May 24 09:29:35  pppd[1458]: sent [IPCP ConfReq id=0x2 <addr 10.65.233.100> <ms-dns1 192.168.10.110> <ms-dns2 194.51.3.56>]
May 24 09:29:35  pppd[1458]: rcvd [IPCP ConfReq id=0x1]
May 24 09:29:35  pppd[1458]: sent [IPCP ConfAck id=0x1]
May 24 09:29:35  pppd[1458]: rcvd [IPCP ConfAck id=0x2 <addr 10.65.233.100> <ms-dns1 192.168.10.110> <ms-dns2 194.51.3.56>]
May 24 09:29:35  pppd[1458]: Could not determine remote IP address: defaulting to 10.64.64.64
May 24 09:29:35  pppd[1458]: replacing old default route to eth1 [192.168.1.1]
May 24 09:29:35  pppd[1458]: local  IP address 10.65.233.100
May 24 09:29:35  pppd[1458]: remote IP address 10.64.64.64
May 24 09:29:35  pppd[1458]: primary   DNS address 192.168.10.110
May 24 09:29:35  pppd[1458]: secondary DNS address 194.51.3.56
May 24 09:29:35  pppd[1458]: Script /etc/ppp/ip-up started (pid 1484)
May 24 09:29:35  pppd[1458]: Script /etc/ppp/ip-up finished (pid 1484), status = 0x0
May 24 09:29:37  ntpd[687]: Listen normally on 8 ppp0 10.65.233.100 UDP 123
May 24 09:29:37  ntpd[687]: 91.121.7.182 interface 192.168.1.29 -> 10.65.233.100
May 24 09:29:37  ntpd[687]: 62.210.244.146 interface 192.168.1.29 -> 10.65.233.100
May 24 09:29:37  ntpd[687]: 137.74.28.231 interface 192.168.1.29 -> 10.65.233.100
May 24 09:29:37  ntpd[687]: 92.243.6.5 interface 192.168.1.29 -> 10.65.233.100
May 24 09:29:37  ntpd[687]: peers refreshed
May 24 09:30:05  pppd[1458]: sent [LCP EchoReq id=0x1 magic=0x3d16ffcd]
May 24 09:30:35  pppd[1458]: sent [LCP EchoReq id=0x2 magic=0x3d16ffcd]
May 24 09:31:05  pppd[1458]: sent [LCP EchoReq id=0x3 magic=0x3d16ffcd]
May 24 09:31:35  pppd[1458]: sent [LCP EchoReq id=0x4 magic=0x3d16ffcd]
May 24 09:32:05  pppd[1458]: No response to 4 echo-requests
May 24 09:32:05  pppd[1458]: Serial link appears to be disconnected.
May 24 09:32:05  pppd[1458]: Connect time 2.5 minutes.
May 24 09:32:05  pppd[1458]: Sent 1986 bytes, received 879 bytes.
May 24 09:32:05  pppd[1458]: restoring old default route to eth1 [192.168.1.1]
May 24 09:32:05  pppd[1458]: Script /etc/ppp/ip-down started (pid 1544)
May 24 09:32:05  pppd[1458]: sent [LCP TermReq id=0x2 "Peer not responding"]
May 24 09:32:05  pppd[1458]: Script /etc/ppp/ip-down finished (pid 1544), status = 0x0
May 24 09:32:07  ntpd[687]: Deleting interface #8 ppp0, 10.65.233.100#123, interface stats: received=1, sent=15, dropped=0, active_time=150 secs
May 24 09:32:07  ntpd[687]: 92.243.6.5 interface 10.65.233.100 -> (none)
May 24 09:32:07  ntpd[687]: 137.74.28.231 interface 10.65.233.100 -> (none)
May 24 09:32:07  ntpd[687]: 62.210.244.146 interface 10.65.233.100 -> (none)
May 24 09:32:07  ntpd[687]: 91.121.7.182 interface 10.65.233.100 -> (none)
May 24 09:32:07  ntpd[687]: peers refreshed
May 24 09:32:08  pppd[1458]: sent [LCP TermReq id=0x3 "Peer not responding"]
May 24 09:32:11  pppd[1458]: Connection terminated.
May 24 09:32:12  pppd[1458]: Modem hangup
May 24 09:32:12  pppd[1458]: Exit.
May 24 09:32:12  systemd[1]: mobiledata.service: main process exited, code=exited, status=16/n/a
May 24 09:32:12  poff[1581]: /usr/bin/poff: No pppd is running.  None stopped.

root@host:~# route
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
default         *               0.0.0.0         U     0      0        0 ppp0
10.64.64.64     *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1

root@host:~# ip a
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether d0:4c:c1:03:0d:b0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.29/24 brd 192.168.1.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::d24c:c1ff:fe03:db0/64 scope link 
       valid_lft forever preferred_lft forever
7: wwan0: <BROADCAST,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f2:6b:23:e1:48:dc brd ff:ff:ff:ff:ff:ff
8: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 3
    link/ppp 
    inet 10.65.233.100 peer 10.64.64.64/32 scope global ppp0
       valid_lft forever preferred_lft forever

And sorry, but I don’t understand what means this sentence : “then establish the session use at!scact=1 (we also have QMI - checkout the QMI SDK or SDKlite) on the host site call a dhcp client to transfer the IP address ( dhclinet)”

Thanks again !

And I have already downloaded the SDK, to flash the modem firmware :

# ./bin/mc7xxximgmgmthostx86_64 -s ../../build/bin/hostx86_64/slqssdk
=> Option 3 : 
=> Flash with the file SWI9X30C_02.30.01.01.cwe (found on sierra website)

Hope I gave you enough informations…

Pierre

No idea ? :sweat_smile:

Hi Pierre,

PPP is obsolete, in theory it should still work, but we no longer test it.
I know some of our customers are still using it though.
The problem with PPP is throughput, the modem is capable of much higher throughput that PPP can support. (cat-6 300Mbps DL)
This could be an issue with some carrier certifications especially in the US.

Try not to program the APN and IMPREF in your PPP script.
BTW IMPREF requires a modem reset.

And sorry, but I don’t understand what means this sentence : “then establish the session use at!scact=1 (we also have QMI - checkout the QMI SDK or SDKlite) on the host site call a dhcp client to transfer the IP address ( dhclinet)

We also support QMI – a Qualcomm protocol – to control the modem. QMI is a more feature rich protocol than AT.

What I meant was, instead of PPP you have two options:

  1. AT cmds
    Make sure that the modem is attached to a NTWK
    At!scact=1 – should return with OK
    And call dhclient on the host side
    (for this option no ppp or QMI is required)

  2. QMI – we have connection manager sample applications under :
    https://source.sierrawireless.com/resources/airprime/software/linux-qmi-sdk-software-latest/

“so btw is there an option to connect to with minicom while the modem is connected ?”
No only one AT is port is supported.
Ppp doesn’t utilize the modem’s RMNET port – which is dedicated for data.

Thanks,
James