Disconnection on some networks


#1

I have a M1306B (FW v6.57). The modem connects fine to the (Australian) Telstra GPRS, but not to the Vodafone GPRS network, I am using the same settings that all our other modems use for both networks, the only difference is that other networks require authentication, while the Vodafone network does not.

The bellow script work fine on Wavecom M1306B, SonyEricsson GM29 Modems and others.
/etc/ppp/options.telstra (with altered user/password)

defaultroute
ipcp-accept-remote
debug
/dev/ttyS0
9600

user user
password password

connect "chat -t 30 -f /etc/ppp/chat.telstra"

/etc/ppp/chat.teltra

ABORT "NO CARRIER"
ABORT "ERROR"
''
'+\p+\p+\pAT' 'OK'
'ATZ'  'OK'
'ATE0' 'OK'
'ATH' 'OK'
'AT+CSQ'  'OK'
'AT+CGDCONT=1,"IP","telstra.corp"' 'OK'
'AT+CGACT?' 'OK'
'ATD*99***1#' 'CONNECT'

M1306B Result…

Jun  7 11:25:46 pppd[133]: pppd 2.4.3 started by user, uid 500
Jun  7 11:25:49 pppd[133]: Serial connection established.
Jun  7 11:25:49 pppd[133]: using channel 2
Jun  7 11:25:49 pppd[133]: Using interface ppp0
Jun  7 11:25:49 pppd[133]: Connect: ppp0 <--> /dev/ttyS0
Jun  7 11:25:49 pppd[133]: rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
Jun  7 11:25:49 pppd[133]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe1b062ae> <pcomp> <accomp>]
Jun  7 11:25:49 pppd[133]: sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
Jun  7 11:25:49 pppd[133]: rcvd [LCP ConfRej id=0x1 <magic 0xe1b062ae>]
Jun  7 11:25:49 pppd[133]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
Jun  7 11:25:49 pppd[133]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
Jun  7 11:25:49 pppd[133]: sent [PAP AuthReq id=0x1 user="user" password=<hidden>]
Jun  7 11:25:52 pppd[133]: sent [PAP AuthReq id=0x2 user="user" password=<hidden>]
Jun  7 11:25:53 pppd[133]: rcvd [PAP AuthAck id=0x1 "Welcome!"]
Jun  7 11:25:53 pppd[133]: Remote message: Welcome!
Jun  7 11:25:53 pppd[133]: PAP authentication succeeded
Jun  7 11:25:53 pppd[133]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
Jun  7 11:25:53 pppd[133]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
Jun  7 11:25:53 pppd[133]: rcvd [IPCP ConfReq id=0x1 <addr 192.168.111.111>]
Jun  7 11:25:53 pppd[133]: sent [IPCP ConfAck id=0x1 <addr 192.168.111.111>]
Jun  7 11:25:53 pppd[133]: rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Jun  7 11:25:53 pppd[133]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
Jun  7 11:25:53 pppd[133]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
Jun  7 11:25:53 pppd[133]: rcvd [IPCP ConfNak id=0x2 <addr 172.16.0.21>]
Jun  7 11:25:53 pppd[133]: sent [IPCP ConfReq id=0x3 <addr 172.16.0.21>]
Jun  7 11:25:53 pppd[133]: rcvd [IPCP ConfAck id=0x3 <addr 172.16.0.21>]
Jun  7 11:25:53 pppd[133]: local  IP address 172.16.0.21
Jun  7 11:25:53 pppd[133]: remote IP address 192.168.111.111

The bellow scripts work fine on all modems other than the M1306B :frowning:
/etc/ppp/options.vodafone

defaultroute
ipcp-accept-remote
debug
/dev/ttyS0
9600

connect "chat -t 30 -f /etc/ppp/chat.telstra"

/etc/ppp/chat.vodafone

ABORT "NO CARRIER"
ABORT "ERROR"
''
'+\p+\p+\pAT' 'OK'
'ATZ'  'OK'
'ATE0' 'OK'
'ATH' 'OK'
'AT+CSQ'  'OK'
'AT+CGDCONT=1,"IP","vfinternet.au"' 'OK'
'AT+CGACT?' 'OK'
'ATD*99***1#' 'CONNECT'

M1306B Result

Jun  7 11:23:11 pppd[122]: pppd 2.4.3 started by user, uid 500
Jun  7 11:23:15 pppd[122]: Serial connection established.
Jun  7 11:23:15 pppd[122]: using channel 1
Jun  7 11:23:15 pppd[122]: Using interface ppp0
Jun  7 11:23:15 pppd[122]: Connect: ppp0 <--> /dev/ttyS0
Jun  7 11:23:15 pppd[122]: rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
Jun  7 11:23:15 pppd[122]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6e2824f4> <pcomp> <accomp>]
Jun  7 11:23:15 pppd[122]: No auth is possible
Jun  7 11:23:15 pppd[122]: sent [LCP ConfRej id=0x1 <auth pap>]
Jun  7 11:23:15 pppd[122]: rcvd [LCP ConfRej id=0x1 <magic 0x6e2824f4>]
Jun  7 11:23:15 pppd[122]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
Jun  7 11:23:15 pppd[122]: rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <pcomp> <accomp>]
Jun  7 11:23:15 pppd[122]: sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <pcomp> <accomp>]
Jun  7 11:23:15 pppd[122]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
Jun  7 11:23:15 pppd[122]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
Jun  7 11:23:15 pppd[122]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
Jun  7 11:23:15 pppd[122]: rcvd [LCP TermReq id=0x3]
Jun  7 11:23:15 pppd[122]: LCP terminated by peer
Jun  7 11:23:15 pppd[122]: sent [LCP TermAck id=0x3]
Jun  7 11:23:15 pppd[122]: Hangup (SIGHUP)
Jun  7 11:23:15 pppd[122]: Modem hangup
Jun  7 11:23:15 pppd[122]: Connection terminated.
Jun  7 11:23:16 pppd[122]: Exit.

Using minicom on the M1306B telstra and voadfone both disconnect after about 10 seconds like this… I assume becase there is no authentication???

AT
OK
AT+CGDCONT?
+CGDCONT: 1,"IP","vfinternet.au",,0,0

OK
ATD*99***1#
CONNECT 9600
~}#.!}!}!} }6}!}$}%�"}&} } } } }'}"}(}"}#}$.#&.~~}#.!}!}!} }6}!}$}%�"}&} } } } }'}"}(}"}#}$.#&.~~}#.!}!}!} }6}!}$}%�"}&} } } } }'}"}(}"}#}$.#&.~~}#.!      ~NO CARRIER

Using minicom on the Sony, telstra and voadfone connect like this…

AT
OK
AT+CGDCONT?
+CGDCONT: 1,"IP","telstra.corp",,0,0

OK
ATD*99***1#
CONNECT

So… recapping… Wavecom modem only stays connected to networks that require authentication…

I have tried passing things like user “” password “” to the pppd scripts, and changing all sorts of AT commands to no avail…