Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am having trouble getting a Sierra Wireless AirCard 860 modem to connect using PPP. Looking at the log, I think it is getting past the CHAP authentication but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    2

    Aircard 860 PPP connection problem


    Hi,

    I am having trouble getting a Sierra Wireless AirCard 860 modem to connect using PPP. Looking at the log, I think it is getting past the CHAP authentication but cannot get past the LCP/IPCP negotiation. Here are the ppp options I am using and the ppp log:

    options
    ----------
    -detach
    /dev/ac850_5
    57600
    debug
    asyncmap 0
    nodefaultroute
    usepeerdns
    noauth
    user ****
    password ****
    show-password
    crtscts
    lock
    connect '/usr/sbin/chat -v -t3 -f /etc/ppp/peers/ac850chat'

    ppp log:
    ----------
    Serial connection established.
    using channel 7
    Using interface ppp0
    Connect: ppp0 <--> /dev/ac850_5
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa7688dce> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x80c07aa> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x80c07aa> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xa7688dce> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x1 magic=0x80c07aa]
    rcvd [CHAP Challenge id=0x1 <1c5f7ab75e85fac252424acdc87e48c6>, name = "UMTS_CHAP_SRVR"]
    sent [CHAP Response id=0x1 <f716a1547aed2da03d3b4ed08282b305>, name = "ispda@cingulargprs.com"]
    rcvd [CHAP Success id=0x1 ""]
    CHAP authentication succeeded
    CHAP authentication succeeded
    sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
    sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
    rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
    Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
    rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
    sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
    Modem hangup
    Connection terminated.

    Can anyone tell me what is happening here? The modem is a Cingular AC860.

    Thanks in advance.

    Deepa

  2. #2
    Just Joined!
    Join Date
    Sep 2006
    Posts
    1

    Problem with Sierra Wireless AirCard860

    Hi,

    I am having the same problem.

    My ppp options:

    lcp-echo-failure 0
    lcp-echo-interval 0
    hide-password
    noauth
    debug
    115200
    defaultroute
    replacedefaultroute
    noipdefault
    noproxyarp
    remotename dial_up
    updetach

    I run this command to connect pppd:

    sudo pppd file /path/to/ppp_options user ISPDA@CINGULARGPRS.COM connect $'/usr/sbin/chat -v -f /etc/chatscripts/gprs -T 2,\\\"IP\\\",\\\"isp.cingular\\\"' /dev/modem

    and get the following output:

    speed 2 not supported
    Serial connection established.
    speed 2 not supported
    using channel 89
    Using interface ppp0
    Connect: ppp0 <--> /dev/modem
    sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6f01f714> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0xf <asyncmap 0x0> <auth chap MD5> <magic 0x833567f> <pcomp> <accomp>]
    sent [LCP ConfAck id=0xf <asyncmap 0x0> <auth chap MD5> <magic 0x833567f> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6f01f714> <pcomp> <accomp>]
    rcvd [LCP DiscReq id=0x10 magic=0x833567f]
    rcvd [CHAP Challenge id=0x1 <eabcf3e8201ef8d9ac368230146fd3b4>, name = "UMTS_CHAP_SRVR"]
    sent [CHAP Response id=0x1 <0d291a86574ef8844bb047f3d26a1931>, name = "ISPDA@CINGULARGPS.COM"]
    rcvd [CHAP Success id=0x1 ""]
    CHAP authentication succeeded
    sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
    sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
    rcvd [LCP ProtRej id=0x11 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
    Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
    Modem hangup
    Connection terminated.

    I'm not convinced that the "speed 2 not supported" is a problem.

    Any help would be much appreciated!

    Thanks

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Posts
    2

    Aircard 860 connection problem

    Hi davidjagoe,

    My problem was resolved recently when I realized my Access point name (APN) was not set. Once I set it to isp.cingular, the problem went away. Now I am able to connect and obtain an IP. My ppp options and chatscript are as follows.

    ppp options:
    -----------------------

    -detach
    /dev/modem
    115200
    debug
    nodefaultroute
    usepeerdns
    noauth
    user ispda@cingulargprs.com
    password CINGULAR1
    show-password
    crtscts
    lock
    lcp-echo-failure 0
    lcp-echo-interval 0
    ipcp-accept-local
    ipcp-accept-remote
    connect '/usr/sbin/chat -v -t3 -f /etc/ppp/peers/ac850chat'

    ac850 chatscript (provided by cingular):
    ---------------------------------------------------
    '' AT
    #'' ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK AT+CGDCONT=1,"IP","isp.cingular"
    TIMEOUT 30
    OK ATD*99#
    CONNECT ''

    I read the following somewhere, it may be worth trying something like this:

    # Incorrect APN or CGDCONT variable is a
    # frequent cause of peer LCP TermReqs
    # So try each setting at least once! =)

    #REG:\s1 AT+cgdcont=1,"IP","proxy"
    #OK 'AT+CGDCONT=0,"IP","proxy"'
    OK 'AT+CGDCONT=1,"IP","proxy"'
    OK 'AT+CGDCONT=2,"IP","proxy"'
    #OK 'AT+CGDCONT=0,"IP","isp.cingular"'
    #OK 'AT+CGDCONT=1,"IP","isp.cingular"'
    #OK 'AT+CGDCONT=2,"IP","isp.cingular"'

    I also noticed from your output that the chap authentication is happening with
    ISPDA@CINGULARGPS.COM. Was there a typo in the cingulargprs.com or is this also a valid username? Have you tried the non accelerated option with user name
    isp@cingulargprs.com?

    Hope this helps.

    Deepa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •