Does any one have a working pppd config they can post, I am using a MC7350 on Centos 6.6 and I am having trouble connecting.
I was able to compile and load the Gobi drivers version SierraLinuxQMIdriversS2.25N2.36 and I can see the MC7350.
[centos6.6]# uname -a
Linux centos6.6 2.6.32-573.12.1.el6.i686 #1 SMP Tue Dec 15 18:25:17 UTC 2015 i686 i686 i386 GNU/Linux
[centos6.6]# lsmod
Module Size Used by
sierra 14980 0
ppp_generic 21173 0
slhc 5201 1 ppp_generic
ipv6 270937 24
GobiSerial 9204 0
usbserial 30493 2 sierra,GobiSerial
GobiNet 50901 0
usbnet 30456 1 GobiNet
serio_raw 3530 0
sg 24006 0
snd_hda_codec_hdmi 40044 1
r8169 63274 0
snd_hda_codec_via 17812 1
snd_hda_codec_generic 54394 1 snd_hda_codec_via
mii 4476 2 usbnet,r8169
snd_hda_intel 45473 0
snd_hda_codec 114217 4 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel
snd_hwdep 5474 1 snd_hda_codec
snd_seq 49055 0
snd_seq_device 5689 1 snd_seq
snd_pcm 73758 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 17504 2 snd_seq,snd_pcm
snd 55156 10 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore 6390 2 snd_hda_codec,snd
snd_page_alloc 7236 2 snd_hda_intel,snd_pcm
ext4 339812 5
jbd2 75927 1 ext4
mbcache 6017 1 ext4
sd_mod 33249 3
crc_t10dif 836 1 sd_mod
xhci_hcd 162628 0
ahci 36204 2
video 17202 0
output 1741 1 video
dm_mirror 11969 0
dm_region_hash 9644 1 dm_mirror
dm_log 8322 2 dm_mirror,dm_region_hash
dm_mod 84711 17 dm_mirror,dm_log
[centos6.6]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1199:68c0 Sierra Wireless, Inc.
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[centos6.6]# cat /etc/ppp/peers/vzw_chat
‘’ ‘ATZ’
‘’ ‘at+cgdcont=1,“IP”,“ne01.vzwstatic”’
‘OK’ ‘ATDT#777’
‘CONNECT’ ‘’
[centos6.6]# cat /etc/ppp/peers/vzwconnect
name someusername
connect “/usr/sbin/chat -v -f /etc/ppp/peers/vzw_chat”
defaultroute
usepeerdns
ttyUSB2
local
usepeerdns
debug
-detach
I removed ATZ from my chat script since its not a command listed in the AirPrime MiniCard MC73xx/8805 AT Command Reference and it was causing an error anyway. Below is the output from running pppd again.
[centos6.6]# pppd call vzwconnect
Script /usr/sbin/chat -v -f /etc/ppp/peers/vzw_chat finished (pid 14512), status = 0x3
Connect script failed
[centos6.6]# cat /etc/ppp/peers/vzw_chat
‘’ ‘at+cgdcont=1,“IP”,“ne01.vzwstatic”’
‘OK’ ‘ATDT#777’
‘CONNECT’ ‘’
[centos6.6]# tail -n 14 /var/log/messages
Jan 20 19:50:29 avF3B1 pppd[14009]: pppd 2.4.5 started by sos, uid 0
Jan 20 19:50:29 avF3B1 chat[14010]: send (at+cgdcont=1,“IP”,“ne01.vzwstatic”^M)
Jan 20 19:50:29 avF3B1 chat[14010]: expect (OK)
Jan 20 19:50:29 avF3B1 chat[14010]: at+cgdcont=1,“IP”,“ne01.vzwstatic”^M^M
Jan 20 19:50:29 avF3B1 chat[14010]: OK
Jan 20 19:50:29 avF3B1 chat[14010]: – got it
Jan 20 19:50:29 avF3B1 chat[14010]: send (ATDT#777^M)
Jan 20 19:50:30 avF3B1 chat[14010]: expect (CONNECT)
Jan 20 19:50:30 avF3B1 chat[14010]: ^M
Jan 20 19:50:30 avF3B1 chat[14010]: ATDT#777^M^M
Jan 20 19:50:30 avF3B1 chat[14010]: NO CARRIER^M
Jan 20 19:50:47 avF3B1 chat[14010]: SIGINT
Jan 20 19:50:47 avF3B1 pppd[14009]: Connect script failed
Jan 20 19:50:47 avF3B1 pppd[14009]: Exit.
I got it working!
My chat script needed some changes. The key line was ‘OK’ ‘atdt99**3#’.
[centos6.6]# cat /etc/ppp/peers/vzw_chat
‘’ ‘ATZ’
‘’ ‘ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0’
‘’ ‘at+cgdcont=1,“IP”,“ne01.vzwstatic”’
‘OK’ ‘atdt99**3#’
‘CONNECT’ ‘’
[centos6.6]# cat /etc/ppp/chap-secrets
“<your_phone_number>@vzw3g.com” * “vzw”[root@avF3B1 sos]# ifconfig ppp0
[centos6.6]# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:<static_ip_removed> P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:30967 errors:0 dropped:0 overruns:0 frame:0
TX packets:58719 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1290095 (1.2 MiB) TX bytes:87156146 (83.1 MiB)
I also want to mention that the account we are using has a static ip assignment and our apn is allocated in the northeast.
If anyone has any questions you can email me at andrew[at]solarrigtech.com
This method may not be the best way, it appears that Sierra Wireless recommends their Linux QMI SDK.
source.sierrawireless.com/resour … 03,-d-,13/
I am getting good speeds using pppd, so it appears to be a workable solution. The issue with the provided Sierra Wireless connection manager is that it appears to only work in an interactive manor. Someone please correct me if I’m wrong and if passing cli arguments to it is possible. It is possible to write ones own connection program using the API’s but for my case if standard linux tools can handle the job that solution is fine.
Speed test info on my device while connected via the MC7350, over 2 megabytes per second.
[root@centsos6.6 tmp]# wget -O /dev/null speedtest.wdc01.softlayer.com/do … est500.zip
–2016-01-28 19:34:14-- speedtest.wdc01.softlayer.com/do … est500.zip
Resolving speedtest.wdc01.softlayer.com… 208.43.102.250, 2607:f0d0:3001:78::2
Connecting to speedtest.wdc01.softlayer.com|208.43.102.250|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 524288000 (500M) [application/zip]
Saving to: “/dev/null”
100%[============================================================================================================>] 524,288,000 2.58M/s in 3m 40s
2016-01-28 19:40:55 (2.27 MB/s) - “/dev/null” saved [524288000/524288000]
[root@centsos6.6 tmp]# tail -n 34 /var/log/signal
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Device State
EVICE CONNECTED
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Manufacture :Sierra Wireless, Incorporated
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Model Id :MC7350
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Firmware Revisions :SWI9X15C_05.05.58.01 r27044 carmd-fwbuild1 2015/03/05 00:02:40
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Boot Revisions :SWI9X15C_05.05.58.01 r27044 carmd-fwbuild1 2015/03/05 00:02:40
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: PRI Revisions :9903209 05.03
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: PRL Version :15425
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: PRL Preference :1
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: IMSI :[redacted]
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Hardware Revision :1.0
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Home Network :Verizon Wirele
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: PDP Type :UNKNOWN
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Authentication :UNKNOWN
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Profile Name :UNKNOWN
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: APN Name :UNKNOWN
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: User Name :UNKNOWN
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: ESN Number :[redacted]
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: IMEI Number :[redacted]
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: MEID Number :[redacted]
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Call Status
ISCONNECTED
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: ECIO :5
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: SINR :8
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: IO :-106
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: RSRQ :-13
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Signal Strength :-71
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: IP Address :0.0.0.0
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Primary DNS :0.0.0.0
Jan 28 19:40:47 centsos6.6 connectionmgrhosti686: Secondary DNS :0.0.0.0
Jan 28 19:40:48 centsos6.6 connectionmgrhosti686: Signal Strength :-125
Jan 28 19:40:48 centsos6.6 connectionmgrhosti686: ECIO :5
Jan 28 19:40:48 centsos6.6 connectionmgrhosti686: SINR :8
Jan 28 19:40:48 centsos6.6 connectionmgrhosti686: IO :-106
Jan 28 19:40:48 centsos6.6 connectionmgrhosti686: Signal Strength :-71
Jan 28 19:40:48 centsos6.6 connectionmgrhosti686: RSRQ :-11
[root@centsos6.6 tmp]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
0.0.0.0 10.64.64.64 0.0.0.0 UG 0 0 0 ppp0