pppd Troubles – what to dododoo?

Home Forums MultiConnect OCG pppd Troubles – what to dododoo?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2749
    Conrad Ljungström
    Participant

    I can’t seem to establish a connection using pppd. My interface goes up only for a short time before it disappears again. Here’s what it looks like if I do “ip a”

    18: ppp0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 3 link/ppp

    And this is what it says in /var/log/messages:


    Jun 19 16:58:59 mtcdp daemon.info pppd[11342]: Serial connection established.

    Jun 19 16:58:59 mtcdp daemon.info pppd[11342]: Using interface ppp0

    Jun 19 16:58:59 mtcdp daemon.notice pppd[11342]: Connect: ppp0 <–> /dev/ttyUSB3

    Jun 19 16:59:19 mtcdp daemon.info pppd[11342]: CHAP authentication succeeded

    Jun 19 16:59:19 mtcdp daemon.notice pppd[11342]: CHAP authentication succeeded

    Jun 19 16:59:19 mtcdp daemon.warn pppd[11342]: kernel does not support PPP filtering

    Jun 19 16:59:21 mtcdp daemon.info pppd[11342]: Hangup (SIGHUP)

    Jun 19 16:59:21 mtcdp daemon.notice pppd[11342]: Modem hangup

    Jun 19 16:59:21 mtcdp daemon.notice pppd[11342]: Connection terminated.

    Jun 19 16:59:22 mtcdp daemon.info pppd[11342]: Exit.


    Here’s my “3g” file (equivalent to gsm or cdma)


    /dev/ttyUSB3

    230400

    idle 7200

    lock

    crtscts

    modem

    noauth

    replacedefaultroute

    defaultroute

    user Anyname

    password Anypassword

    connect “/usr/sbin/chat -V -f /etc/ppp/telenor.chat”

    connect-delay 20000

    noipdefault

    usepeerdns

    nobsdcomp

    novj

    persist


    And here’s my “telenor.chat”


    ABORT BUSY

    ABORT “NO CARRIER”

    ABORT ERROR

    REPORT CONNECT

    TIMEOUT 10

    “” “AT&F”

    OK “ATE1”

    OK “AT+CGDCONT=1,42IP42,42internet.telenor.se42”

    SAY “Calling Telenorn”

    TIMEOUT 60

    OK “ATD*99***1#”

    CONNECT c


    The only reason I can think of as to why it’s not connecting properly is that there is something wrong with the connection settings. Will continue looking but if someone has any ideas that would be lovely ^_^

    #3990
    Lonny Knudson
    Blocked

    Hi Conrad,

    Try using this chat script:

    ABORT BUSY

    ABORT “NO CARRIER”

    ABORT ERROR

    REPORT CONNECT

    TIMEOUT 10

    “” “ATE1”

    OK ‘AT+CGDCONT=1,”IP”,”internet.telenor.se”‘

    SAY “Calling Telenorn”

    TIMEOUT 60

    OK “ATD*99***1#”

    CONNECT c

    Please let us know if it corrects the problem.

    #3991
    Conrad Ljungström
    Participant

    Hi!

    I exchanged my telenor.chat for the one your provided. I got no feedback in the console (am i supposed to?) but ip a gives:


    ppp0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 3 link/ppp


    like before. So no change there. excerpt from /var/log/messages


    Jun 19 18:58:00 mtcdp daemon.info pppd[15605]: Serial connection established.

    Jun 19 18:58:00 mtcdp daemon.info pppd[15605]: Using interface ppp0

    Jun 19 18:58:00 mtcdp daemon.notice pppd[15605]: Connect: ppp0 <–> /dev/ttyUSB3

    Jun 19 18:58:20 mtcdp daemon.info pppd[15605]: CHAP authentication succeeded

    Jun 19 18:58:20 mtcdp daemon.notice pppd[15605]: CHAP authentication succeeded

    Jun 19 18:58:20 mtcdp daemon.warn pppd[15605]: kernel does not support PPP filtering

    Jun 19 18:58:22 mtcdp daemon.info pppd[15605]: Hangup (SIGHUP)

    Jun 19 18:58:22 mtcdp daemon.notice pppd[15605]: Modem hangup

    Jun 19 18:58:22 mtcdp daemon.notice pppd[15605]: Connection terminated.


    The SIM I have is Telenor connexion, I don’t know for sure but could they be a separate provider and have a different address?

    #3992
    Bryan Tran
    Moderator

    Hi ConRad,

    Can you try to dial the number as follow:

    *99#

    If it is still not working, try this number:

    *99*1#

    And see if it helps

    Regards,

    BT

    #3993
    Conrad Ljungström
    Participant

    Hiya Bryan!

    Sorry it didn’t work with either of those.. I’m assuming I was to switch out

    OK “ATD*99***1#” for

    OK “ATD*99#” and

    OK “ATD*99*1#”

    same thing logged in messages. :/

    #3994
    Lonny Knudson
    Blocked

    Hi Conrad,

    When we see the connection hang up shortly after the authentication phase, the most common cause is incorrect APN/username/password. Have you verified that your account has access to the “internet.telenor.se” APN ? Do you know if this APN requires a username and password? I’m assuming that the username and password referenced in your peer file are just placeholders, this shouldn’t cause a problem if the APN doesn’t require a specific username and password. However, if this APN does require specific credentials you need to configure pppd to use them. Please let us know if this helps.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.