-----BEGIN PGP SIGNED MESSAGE-----

Salut Markus,
On Mon, 27 Apr 1998, "Markus  Lindorfer" <[EMAIL PROTECTED]> wrote:
> when shutting down the connection, ioctl(SIOCAIFADDR, IPX_DLTITF) 22: Invalid 
>argument is logged
no problem!
You need some patches. Also you need a workaround. The problem is, that
with Linux2.0 the IP-up will clean the IPX-settings, that are set one
second arhead... If you are quick enought, you may do two ifconfig ppp0
around ipx-up.
Patches for pppd-2.3.4:
1. ipxcp.c -> accept the ack-packages from remote side for ipx
2. ipcp.h  -> enables WINS and MS-DNS
3. In the patch for the kernel -> ppp.c change to 
  #if LINUX_VERSION_CODE >= VERSION(2,1,86)
If you do not use IP with IPX you do not need other things. If you do, you
need the workaround (dirty).

1024/7A5EADED Hartwig Felger <[EMAIL PROTECTED]>
pgp-Key fingerprint = 2F 3B 34 10 00 B7 FE 10  CE 84 E2 56 1C B0 3E 07
768/CA2159D9  Hartwig Felger <[EMAIL PROTECTED]>
pgp-Key fingerprint = 18 49 5E 6E 4E 47 3D F5  28 3E 11 C9 05 26 F3 46


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1
Comment: Requires PGP version 2.6 or later.

iQCVAwUBNUTkK+g8bRR6Xq3tAQEGrQP/UlMtRYLpN52nbGEshtquCrRnulQIz6vI
bQ18Dl/v9BRs9d1ENMawV2nAFl0g+ZFWsM0UrAyH6KMLH6jiUtVmG4RArbQHDJvo
+MOvlvX/kXGjUGtq3QMT/VXHR4Po9yxnb7+WD9uQ2YuyhVpXREKpbM4HW5gE1SZk
iLIH6GeDXz0=
=9XD0
-----END PGP SIGNATURE-----
--- ipxcp.c.orig        Tue Apr  7 21:10:06 1998
+++ ipxcp.c     Tue Apr  7 22:04:04 1998
@@ -146,7 +146,7 @@
 {
     short int  external;
 
-    if (internal & IPX_NONE)
+    if (internal & BIT(IPX_NONE))
         external = IPX_NONE;
     else
         external = RIP_SAP;
@@ -532,9 +532,8 @@
        ACKCINETWORK  (IPX_NETWORK_NUMBER,  go->neg_nn,     go->our_network);
        ACKCINODE     (IPX_NODE_NUMBER,     go->neg_node,   go->our_node);
        ACKCINAME     (IPX_ROUTER_NAME,     go->neg_name,   go->name);
-       ACKCIPROTO    (IPX_ROUTER_PROTOCOL, go->neg_router, go->router);
-       ACKCIPROTO    (IPX_ROUTER_PROTOCOL, go->neg_router, go->router);
-       ACKCIPROTO    (IPX_ROUTER_PROTOCOL, go->neg_router, go->router);
+       if(len > 0)
+         ACKCIPROTO    (IPX_ROUTER_PROTOCOL, go->neg_router, go->router);
 /*
  * This is the end of the record.
  */
--- ipcp.h.orig Tue Apr  7 21:37:16 1998
+++ ipcp.h      Tue Apr  7 21:37:48 1998
@@ -26,9 +26,9 @@
 #define CI_COMPRESSTYPE        2       /* Compression Type */
 #define        CI_ADDR         3
 
-#define CI_MS_WINS1    128     /* Primary WINS value */
+#define CI_MS_WINS1    130     /* Primary WINS value */
 #define CI_MS_DNS1     129     /* Primary DNS value */
-#define CI_MS_WINS2    130     /* Secondary WINS value */
+#define CI_MS_WINS2    132     /* Secondary WINS value */
 #define CI_MS_DNS2     131     /* Secondary DNS value */
 
 #define MAX_STATES 16          /* from slcompress.h */

Reply via email to