9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: James Cook <james.cook@utoronto.ca>
To: 9fans@cse.psu.edu
Subject: [9fans] PPP fix
Date: Thu, 10 May 2007 10:33:02 -0400	[thread overview]
Message-ID: <20070510143302.GA84426@butterfly.falsifian.afraid.org> (raw)

Plan 9's ip/ppp doesn't work with my PPPoE ISP (Sympatico).

A few years ago I investigated and figured out how to make
it work.  I think it had something to do with Plan 9's end
of the connection not preserving configuration information
when sending acknowledgements; sorry I can't remember in
more detail.

In case anyone else is having the same problem, here's the
diff.

cpu% cpu% diff /n/sources/plan9/sys/src/cmd/ip/ppp/ppp.c /sys/src/cmd/ip/ppp/ppp.c
1111c1111
< 					dropoption(p, o);
---
> /*					dropoption(p, o);*/
1129c1129
< 					dropoption(p, o);
---
> /*					dropoption(p, o);*/
1138c1138
< 				dropoption(p, o);
---
> /*				dropoption(p, o);*/
1143c1143
< 					dropoption(p, o);
---
> /*					dropoption(p, o);*/
1152c1152
< 				dropoption(p, o);
---
> /*				dropoption(p, o);*/
1157c1157
< 					dropoption(p, o);
---
> /*					dropoption(p, o);*/
1166c1166
< 				dropoption(p, o);
---
> /*				dropoption(p, o);*/
1171c1171
< 					dropoption(p, o);
---
> /*					dropoption(p, o);*/
1180c1180
< 				dropoption(p, o);
---
> /*				dropoption(p, o);*/

James


             reply	other threads:[~2007-05-10 14:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10 14:33 James Cook [this message]
2007-05-10 14:40 ` Russ Cox
2007-05-10 15:13   ` James Cook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070510143302.GA84426@butterfly.falsifian.afraid.org \
    --to=james.cook@utoronto.ca \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).