Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everybody! I have a problem with gprs connection establishment. It seems server terminates connection on earlier stage, and I have no reason why. I use latest pppd, wvdial, kernel ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    3

    gprs connection setup


    Hi everybody!

    I have a problem with gprs connection establishment. It seems server terminates connection on earlier stage, and I have no reason why. I use latest pppd, wvdial, kernel 2.6.17 with ppp modules, latest bluetooth utils.
    My linux is Slackware 10.0, phone is LG G1610 with modem onboard.
    Here is my config files and debug log:

    /etc/wvdial.conf
    Code:
    [Dialer Defaults]
    Modem = /dev/rfcomm0
    Baud = 38400
    Init = ATZ
    Init2 = AT+CGDCONT=1,"IP","internet.usi.ru"
    Phone = *99***1#
    Username = *
    Password = *
    PPPD Path = /usr/local/sbin/pppd
    /etc/ppp/peers/wvdial
    Code:
    noauth
    usepeerdns
    debug
    crtscts
    novj
    novjccomp
    nopcomp
    noaccomp
    nodeflate
    nobsdcomp
    default-asyncmap
    ipcp-accept-local
    ipcp-accept-remote
    /var/log/debug
    Code:
    Jul 23 14:38:39 localhost pppd[3180]: using channel 37
    Jul 23 14:38:39 localhost pppd[3180]: sent [LCP ConfReq id=0x1 <magic 0xd4736e45>]
    Jul 23 14:38:39 localhost pppd[3180]: rcvd [LCP ConfAck id=0x1 <magic 0xd4736e45>]
    Jul 23 14:38:39 localhost pppd[3180]: rcvd [LCP TermReq id=0x25 "Normal Termination by NCP"]
    Jul 23 14:38:39 localhost pppd[3180]: sent [LCP TermAck id=0x25]
    Jul 23 14:38:42 localhost pppd[3180]: sent [LCP ConfReq id=0x1 <magic 0xd4736e45>]
    Jul 23 14:38:45 localhost pppd[3180]: sent [LCP ConfReq id=0x1 <magic 0xd4736e45>]
    Jul 23 14:38:45 localhost pppd[3180]: sent [LCP TermReq id=0x2 "User request"]
    what actually wvdial output
    Code:
    root@Portsmouth:/etc# wvdial
    --> WvDial: Internet dialer version 1.56 (root@Portsmouth)
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    OK
    --> Sending: AT+CGDCONT=1,"IP","internet.usi.ru"
    OK
    --> Modem initialized.
    --> Sending: ATDT*99***1#
    --> Waiting for carrier.
    CONNECT
    ~~
    --> Carrier detected.  Waiting for prompt.
    ~[7f]}#@!}!}0} }<}!}$}&@}#}$@#}%}&_8^G}"}&} } } } }'}"}(}"xg~
    --> PPP negotiation detected.
    --> Starting pppd at Sun Jul 23 17:54:45 2006
    --> Pid of pppd: 1107
    --> Using interface ppp0
    --> Terminate Request (Message: "Normal Termination by NCP" )
    Caught signal 2:  Attempting to exit gracefully...
    --> Terminating on signal 15
    --> Terminate Request (Message: "User request" )
    --> Disconnecting at Sun Jul 23 17:54:58 2006
    
    root@Portsmouth:/etc#
    and minicom dialin procedure
    Code:
    AT
    
    OK
    ATZ
    
    OK
    AT+CGDCONT=1,"IP","internet.usi.ru"
    
    OK
    ATD*99***1#
    
    CONNECT
    ~~~я}#А!}!}*} }<}!}$}&@}#}$А#}%}&_ёЮЗ}"}&} } } } }'}"}(}"ЯM~~я}#А!}!}+} }<}!}$}&@}#}$А#}%}&_ёЮЗ}"}&} } } } }'}"}(}"—}?~+++ 
    
    OK
    After 'Normal Termination by NCP' appears I stop wvdial.
    I have to say that it works good under winxp.

    Please, send any comments

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    hi _al_ !!!

    check this section...

    --> Sending: AT+CGDCONT=1,"IP","internet.usi.ru"
    OK
    --> Modem initialized.
    --> Sending: ATDT*99***1# <------------------- [ it should be ATD*99***1# .... remove "T" ]
    --> Waiting for carrier.
    CONNECT

    check your wvdial file and look forATDT and remove "T"






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    3
    no use.
    I have tried a lot of options for pppd (compressions, even nomagic and silent), but ISP just says 'Normal Termination'

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    why dont you try KPPP? actually i am using GPRS connection through KPPP. in starting i got the same error then i looked in modem's section in KPPP. by default it was ATDT and i changed it to ATD. now my GPRS is working fine.






    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Jul 2006
    Posts
    3
    I tried KPPP.
    Error is 'loopback detected' but it's because earlier connection was terminated,
    so it's the same error, and dial prefix is ATD.

Posting Permissions

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