I got:
phone len: '0'
phone num: 'RELAY_PPP1"
subaddress: ''
error code 3, cause code 0.
- Aviram
----- Original Message -----
From: "mulix" <[EMAIL PROTECTED]>
To: "Aviram Jenik" <[EMAIL PROTECTED]>
Cc: "linux ILUG" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 12:53 AM
Subject: Re: ADSL problems
> Aviram Jenik wrote:
> > I'm trying to get ADSL to work on my system (RH6.2 with kernel 2.2.16).
I
> > followed the HOW-TO instructions, but I get:
> >
> > (unknown)[2169]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:533]: Client
> > connection established.
> > (unknown)[2169]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:628]: Error
> > opening call. [callid 0]
> > Terminated
> > (unknown)[2169]: log[pptp_conn_close:pptp_ctrl.c:277]: Closing PPTP
> > connection
> >
> > When I run the pptp command. I can connect normally using Windows
machines.
>
> Hi aviram,
>
> this is the exact same error that I get.
> i have traced the problem to the pptp protocol negotiations between the
> client and bezeq's server.
> the client sends a pptp_out_call_request packet, requesting an outgoing
> call (in pptp_call_open()).
> the server responds with pptp_out_call_reply, with an error, see my
> previous email to linux-il for the exact error.
>
> apply the following patch to pptp to get some more debug output, and
> maybe we'll figure the problem.
> can anyone send me a binary or the complete source of a WORKING pptp?
>
> --- pptp-linux-1.0.2.orig/pptp_ctrl.c Thu Feb 19 00:42:14 1998
> +++ pptp-linux-1.0.2.patched/pptp_ctrl.c Fri Jan 12 00:52:23 2001
> @@ -209,13 +209,18 @@
> hton16(call->call_id), hton16(call->sernum),
> hton32(PPTP_BPS_MIN), hton32(PPTP_BPS_MAX),
> hton32(PPTP_BEARER_CAP), hton32(PPTP_FRAME_CAP),
> - hton16(PPTP_WINDOW), 0, 0, 0, {0}, {0}
> + hton16(PPTP_WINDOW), 0, 0, 0, {"RELAY_PPP1"}, {0}
> };
> if (pptp_send_ctrl_packet(conn, &packet, sizeof(packet))) {
> pptp_reset_timer();
> call->state.pns = PNS_WAIT_REPLY;
> /* and add it to the call vector */
> vector_insert(conn->call, i, call);
> + log("Call Request Packet:\n"
> + "phone len: '%d'\n"
> + "phone num: '%s'\n"
> + "subaddress: '%s'\n",
> + packet.phone_len, packet.phone_num, packet.subaddress);
> return call;
> } else { /* oops, unsuccessful. Deallocate. */
> free(call);
> @@ -624,6 +629,7 @@
> if (packet->result_code!=1) {
> /* An error. Log it. */
> log("Error opening call. [callid %d]", (int) callid);
> + log("Error code is '%d', Cause code is '%d'", packet->error_code,
> pack
> et->cause_code);
> call->state.pns = PNS_IDLE;
> if (call->callback!=NULL) call->callback(conn, call,
> CALL_OPEN_FAIL);
> pptp_call_destroy(conn, call);
>
> --
> mulix
>
> linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]