home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / protocol / ppp / 888 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  3.6 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!bclcl1.im.battelle.org!dst!babb
  2. Newsgroups: comp.protocols.ppp
  3. Subject: PPP Between 2 Suns (ppp-sunos4.1.pl6) - IOCTL problem
  4. Message-ID: <1992Nov10.172917.7851@malibu.dst.battelle.org>
  5. From: babb@malibu.dst.battelle.org (Larry Babb (Dayton office))
  6. Date: Tue, 10 Nov 1992 17:29:17 GMT
  7. Organization: Battelle Defense Systems and Technology
  8. Lines: 90
  9.  
  10. Hi -
  11.  
  12. I'm trying to install PPP to connect two Sun's and I have a few questions.
  13. I'm using the ppp-sunos4.1.pl6 version, and I have applied the mem_leak patch.
  14. Please let me know if there's a better version of PPP that I can use to connect
  15. two suns via 9.6 modems (telebit T2500).
  16.  
  17. I can get the modems to talk to each other as I can use tip from one machine
  18. to dial and login to the other.  I'm having a problem getting ppp to start
  19. up and make the connection.  Here's the error message I get on the _calling_
  20. end:
  21.  
  22.          ppp: quit ioctl(I_FLUSH,FLUSHRW): Invalid argument
  23.  
  24. I know that this message is coming from the calling in because I changed the
  25. printf statements to print the hostname.
  26.  
  27. I get this message after running ppp-on.  I think chat is making the connection
  28. because I fooled around with the username and password in the ppp-on script
  29. and got it to tell me "PPP call failed".  I then fixed the password & 
  30. username and got the error above.  
  31.  
  32. Here's some background info on the current setup:
  33.  
  34. sparc2 is a SparcStation2 running SunOS4.1.1.  I am using it as the calling
  35. machine.
  36.  
  37. batcave is a Sun 4/110 running SunOS 4.1.  I am using it as the answering
  38. machine (ppp "server").
  39.  
  40.  
  41.          sparc2                                 batcave
  42.     -------------------                        ----------------
  43. ip:  131.167.242.39       le0/ethernet         131.167.242.41
  44. ppp: 131.167.151.1        ppp0/9600 Modem      131.167.152.1
  45.  
  46.  
  47. --> ppp-on - on sparc2
  48.  
  49. Here's the important part of the ppp-on command. The rest of the file is
  50. the same as in your distribution.
  51.  
  52. if chat -l LCK..cua0 ABORT "NO CARRIER" ABORT BUSY "" ATZ OK ATDT6767 CONNECT "" ogin: pppuser assword: \\qpppuser
  53.  
  54.  ppp mru 1500 131.167.151.1: /dev/cua0 &
  55.  
  56.  
  57.  
  58. --> netstat -rn on sparc2
  59.  
  60. This is the relevant output from netstat -rn:
  61. Routing tables
  62. Destination          Gateway              Flags    Refcnt Use        Interface
  63. 131.167.151.1        131.167.151.1        UH       0      0          ppp0
  64. 131.167.152.1        131.167.151.1        UH       0      0          ppp0
  65. 127.0.0.1            127.0.0.1            UH       6      168485     lo0
  66. default              131.167.152.1        UG       0      0          ppp0
  67. default              131.167.242.20       UG       0      159        le0
  68. 131.167.0.0          131.167.242.39       U        17     271195     le0
  69.  
  70. I'm not sure why both 152.1 and 242.20 (our router) both show up as default.
  71.  
  72. -->  ifconfig ppp0 on sparc2
  73. Here's the ifconfig command for the ppp0 interface:
  74. ifconfig ppp0 131.167.151.1 131.167.152.1 netmask 0xffffff00 down
  75.  
  76. Here's the output of ifconfig ppp0:
  77. ppp0: flags=10<POINTOPOINT>
  78.         inet 131.167.151.1 --> 131.167.152.1 netmask ffffff00 
  79.  
  80. --> This is the pppstart script on batcave
  81. #!/bin/sh
  82. /usr/bin/mesg n
  83. echo "ppp user login attempted `date`" >> /var/adm/ppp_log
  84. stty -tostop
  85. exec /usr/local/bin/ppp 131.167.152.1:
  86.  
  87. I know that a connection is being established between the modems and that the
  88. pppstart script is getting started because of the logging message that appears
  89. in the log file on the "called" end.
  90.  
  91. If you have any comments or suggestions, or need more info, please send mail.
  92.  
  93.  
  94. Thanks,
  95.  
  96.             - Larry Babb
  97.               Battelle Memorial Institute
  98.               lbabb@ucoc1.is.battelle.org
  99.  
  100.