Re: [ppp][chap]



Hi

> Why are you writing PPP from scratch anyway? There are several good
> sources to work from.

Yes, but write this in c++ to the PC is the first step. Next step will be
write
the same program to microprocesor(I want use old cellular to connect uP to
the internet, something like little monitoring)

> For what it's worth, your AHDLC unescaping routine should *ALSO* strip
> off the FCS. The design needs some improvement here.
Yes. It work's good (i negiotiate LCP before CHAP )


> First off, the 'length' is the length of the overall message, starting
> with the "Code" field. For the message above it should be:
>
> 1 - Code
> 1 - Id
> 2 - Length
> 1 - value size
> 16 - value
> 16 - name
> --
> 37

Hmmm name's length is 16?? why? login is: erainternet (11octets) and in
RFC 1996 about a name write "The name field is one or more octets...."


> Secondly, the value computed isn't right. The right value is:
>
> 3C B5 BA 1A 34 EC CE 8C 92 D4 8C DE 39 42 00 EC
What a shame:(..it's my mistake. Now MD5 work's good, but my packets are
still silently discarded.


Best Regards



.



Relevant Pages

  • All Crenelated and Scratching and Invisible as Hell
    ... Sentence structure is average, no words ... that make you stop and scratch, like 'crenelated', no grammatical loop- ... What has writing to do with memorable "words"? ... "TO THE RED COUNTRY and part of the gray country of Oklahoma the last ...
    (misc.writing)
  • Re: ListView-style column headers?
    ... writing from scratch (or modifying a CodeProject component) is probably ... articles on CodeProject on how to do this. ... Writing a Treeview/Listview control from scratch is not a trivial task. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: continued fraction
    ... That book should be burnt. ... so bad that even an inexperienced programmer is better off writing ... something from scratch. ...
    (comp.lang.fortran)
  • Re: Writing a mathematical work more efficiently
    ... I then realized that this method of writing a mathematical ... I once asked a mathematician friend of mine what he does when he ... and prove them in a paper then begin writing them in LaTeX or does he ... I would usually think the problem through, often making scratch ...
    (sci.math)