Re: Enable to negotiate with the ISP - PPP

This is a discussion on Re: Enable to negotiate with the ISP - PPP ; I would check the RFCs and see if this is valid. It may be that you may HAVE to support certain configuration options, I can't remember. Anyway most of the basic LCP options are easy to implement... and you do ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: Enable to negotiate with the ISP

  1. Re: Enable to negotiate with the ISP

    I would check the RFCs and see if this is valid. It may be that you may
    HAVE to support certain configuration options, I can't remember. Anyway
    most of the basic LCP options are easy to implement... and you do want to
    implement the various things that would allow you to send less bytes over
    the serial link...

    David

    Lawrie Kurian wrote:

    > Hi all ,
    >
    > Again in need of your help....group.
    > Established a connection with the ISP....
    > Initiated LCP negotiation by sending void LCP packet....
    > ISP sends LCP REQ packets........
    > So far so good.
    >
    > I am facing problems in negotiating the options....
    > I want only PAP option so I REJ all other options..
    > But the peer keeps sending me the same REQ packets (ID incremented)
    >
    > Packet Received: LCP:REQ:
    > ff 3 c0 21 1 35 0 18 2 6 0 a 0 0 3 4 c0 23 5 6 21 15 40 ac 7 2 8 2 81 2d
    >
    > Send:
    > ff 3 c0 21 4 35 0 14 2 6 0 a 0 0 5 6 21 15 40 ac 7 2 8 2 0 0
    > //checksum calculated later and send...see below
    >
    > 7e
    > ff 7d 23 c0 21 //ff 3 c0 21
    > 7d 24 35 7d 20 7d 34 //4 35 0 14
    > 7d 22 7d 26 7d 20 7d 2a 7d 20 7d 20 //2 6 0 a 0 0
    > 7d 25 7d 26 21 7d 35 40 ac //5 6 21 15 40 ac
    > 7d 27 7d 22 //7 2
    > 7d 28 7d 22 //8 2
    > 3d b9 //check sum added
    > 7e
    >
    > Packet Received: LCP:REQ:
    > ff 3 c0 21 1 36 0 18 2 6 0 a 0 0 3 4 c0 23 5 6 21 15 40 ac 7 2 8 2 cb bf
    > Send:
    > ff 3 c0 21 4 36 0 14 2 6 0 a 0 0 5 6 21 15 40 ac 7 2 8 2 0 0
    >
    > 7e
    > ff 7d 23 c0 21
    > 7d 24 36 7d 20
    > 7d 34 7d 22 7d 26 7d 20 7d 2a 7d 20 7d 20
    > 7d 25 7d 26 21 7d 35 40 ac
    > 7d 27 7d 22
    > 7d 28 7d 22
    > f7 7d 24
    > 7e
    >
    > Packet Received: LCP:REQ:
    > ff 3 c0 21 1 37 0 18 2 6 0 a 0 0 3 4 c0 23 5 6 21 15 40 ac 7 2 8 2 2 36
    > Send:
    > ff 3 c0 21 4 37 0 14 2 6 0 a 0 0 5 6 21 15 40 ac 7 2 8 2 0 0
    >
    > 7e
    > ff 7d 23 c0 21
    > 7d 24 37 7d 20 7d 34
    > 7d 22 7d 26 7d 20 7d 2a 7d 20 7d 20
    > 7d 25 7d 26 21 7d 35 40 ac
    > 7d 27 7d 22
    > 7d 28 7d 22
    > be 97
    > 7e
    >
    > I am stuck at this point....why is the ISP not negotiating?
    > Implementing for an embedded device.
    > Pls help me out.
    >
    > Regards,
    > Lawrie.



  2. Re: Enable to negotiate with the ISP

    david lindauer writes:
    > I would check the RFCs and see if this is valid. It may be that you may
    > HAVE to support certain configuration options, I can't remember.


    That would be incorrect. All of the options are *options.*

    Of course, the peer is under no obligation at all to speak to you, and
    can refuse for any reason -- including lack of desired options,
    unwanted options, bugs, design flaws, or just whim.

    > Lawrie Kurian wrote:

    [...]
    > > I am facing problems in negotiating the options....
    > > I want only PAP option so I REJ all other options..
    > > But the peer keeps sending me the same REQ packets (ID incremented)


    This is not unusual.

    > > I am stuck at this point....why is the ISP not negotiating?


    It is ... it's insisting that it wants those options. You need to
    pick among these:

    1. Find a different peer to talk to instead of this one.

    2. Implement the options the peer wants.

    > > Implementing for an embedded device.


    As I've noted many times in this group: it's much easier to start with
    known-good sources and trim them down for some embedded use than to
    start from scratch and attempt to produce an interoperable
    implementation.

    --
    James Carlson, Solaris Networking
    Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
    MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677

+ Reply to Thread