[comp.protocols.tcp-ip] Summary: PPP and/or SL/IP between SparcStations via v.42bis modems

aaron@UX.ACS.UMN.EDU (01/02/91)

Well, I tried (on a Sun3/160 running SunOS 4.1) both the
omnigate.clarkson.edu:pub/sun/ppp.tar.Z and the
tut.cis.ohio-state.edu:pub/ppp/* (with the patches applied)
but I consistently got

        ppp: ioctl(I_PUSH, ppp_async): Invalid argument

(then quited to system prompt) for nearly all invocations of ppp.

I tripple-checked that the kernel has been modified as directed,
and the mod seemed successful (at least ppp0 thru ppp5 exist if
I pre-attach them in the config file).  I also changed the
_sys_types_h to __sys_types_h in <pixrect/pr_impl_util.h> as
Greg suggested. No luck and same error.

Any kind souls out there willing to give me some hints?

Thanks and cheers for the happy new year.
/aaron.cheung
aaron@ux.acs.umn.edu

earle@POSEUR.JPL.NASA.GOV (Greg Earle - Sun JPL on-site Software Support) (01/02/91)

In comp.protocols.tcp-ip article <9101011904.AA20885@ucbvax.Berkeley.EDU> you write:
>Well, I tried (on a Sun3/160 running SunOS 4.1) both the
>omnigate.clarkson.edu:pub/sun/ppp.tar.Z and the
>tut.cis.ohio-state.edu:pub/ppp/* (with the patches applied)
>but I consistently got
>
>        ppp: ioctl(I_PUSH, ppp_async): Invalid argument
>
>(then quited to system prompt) for nearly all invocations of ppp.

The "ppp.h" file needs to be included in /sys/sun/str_conf.c at the end of the
#include section (before the start of the "#if	NFOO > 0" section).  Step 3
of the instructions failed to mention this.

*** Readme.streams.orig	Sun May 20 10:15:31 1990
--- Readme.streams	Wed Jan  2 01:35:20 1991
***************
*** 70,73 ****
--- 70,77 ----
  	   top of the file, where similar lines are located:
  
+ 		#include "ppp.h"
+ 
+ 		...
+ 
  		#if     NPPP > 0
  		extern struct streamtab ppp_asyncinfo;

mclay@ariel.ae.utexas.edu (Robert McLay) (01/04/91)

In article <9101011904.AA20885@ucbvax.Berkeley.EDU> aaron@UX.ACS.UMN.EDU writes:

   Path: ut-emx!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!UX.ACS.UMN.EDU!aaron
   From: aaron@UX.ACS.UMN.EDU
   Newsgroups: comp.protocols.tcp-ip
   Date: 1 Jan 91 19:03:58 GMT
   Sender: daemon@ucbvax.BERKELEY.EDU
   Lines: 21


   Well, I tried (on a Sun3/160 running SunOS 4.1) both the
   omnigate.clarkson.edu:pub/sun/ppp.tar.Z and the
   tut.cis.ohio-state.edu:pub/ppp/* (with the patches applied)
   but I consistently got

           ppp: ioctl(I_PUSH, ppp_async): Invalid argument

   (then quited to system prompt) for nearly all invocations of ppp.

   I tripple-checked that the kernel has been modified as directed,
   and the mod seemed successful (at least ppp0 thru ppp5 exist if
   I pre-attach them in the config file).  I also changed the
   _sys_types_h to __sys_types_h in <pixrect/pr_impl_util.h> as
   Greg suggested. No luck and same error.

   Any kind souls out there willing to give me some hints?

   Thanks and cheers for the happy new year.
   /aaron.cheung
   aaron@ux.acs.umn.edu


I know the solution to this problem.   The problem is that the
instruction fail to tell you that you need:

#include "ppp.h"

in /usr/sys/sun/str_conf.c

R. McLay
mclay@wilbur.ae.utexas.edu