Xref: utzoo comp.dcom.modems:9320 comp.protocols.tcp-ip:15741 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!emx.utexas.edu!mclay From: mclay@zoyd.ae.utexas.edu (Robert McLay) Newsgroups: comp.dcom.modems,comp.protocols.tcp-ip Subject: PPP: Can't get PPP to work with sunOS 4.1.1 on SS2 (worked with 4.1) Message-ID: Date: 20 Apr 91 02:39:11 GMT Sender: news@ut-emx.uucp Followup-To: comp.dcom.modems Distribution: comp Organization: CFD Lab, Dept ASE-EM, University of Texas at Austin Lines: 84 I have been using PPP between a sun 4/330 and a sun SLC (4/20) connected with 2 T2500 modems. Both systems are running sunOS 4.1 I want to get PPP to work now with a SPARCstation 2 (4/75) running 4.1.1 and it won't work (for me). What happens is that ppp0 won't come UP a) I have the source from tut.cis.ohio-state.edu:pub/ppp/ppp-sparc4.1.tar.Z (patchlevel 4) b) I installed the bug fix from ftphost.cs.athabascau.ca: sun-patches/100149-03.tar.Z c) I have ppp.c which has the following at the remote end (work) if ((pgrpid = setsid()) < 0) pgrpid = getpgrp(0); if (tcsetpgrp(fd, pgrpid) < 0) { perror("ppp: tcsetpgrp()"); exit(1); } and the following code in the ppp.c at the local end if (setsid() < 0) { perror("ppp: setsid()"); exit(1); } I had to do this strange thing at home to avoid the "ppp: tcsetpgrp ..." error. What happen now when I try to connect to the SS2 running 4.1.1 is nothing ( there are no errors). Running ifconfig -a: (local end) vato(10)$ ifconfig -a le0: flags=63 inet 128.83.152.135 netmask ffff0000 broadcast 128.83.0.0 ppp0: flags=51 inet 128.83.152.135 --> 128.83.152.200 netmask ffffff00 lo0: flags=49 inet 127.0.0.1 netmask ff000000 *vato(11)$ netstat -rn Routing tables Destination Gateway Flags Refcnt Use Interface 127.0.0.1 127.0.0.1 UH 26 4647 lo0 128.83.152.200 128.83.152.135 UH 0 0 ppp0 128.83.152.135 128.83.152.135 UH 0 0 le0 default 128.83.152.200 UG 2 0 ppp0 As you can see ppp0 is not UP. The same is true at the other end (remote end) zoyd(1)$ ifconfig -a le0: flags=63 inet 128.83.152.200 netmask ffff0000 broadcast 128.83.0.0 ppp0: flags=10 inet 128.83.152.200 --> 128.83.152.135 netmask ffffff00 lo0: flags=49 inet 127.0.0.1 netmask ff000000 *zoyd(2)$ netstat -rn Routing tables Destination Gateway Flags Refcnt Use Interface 128.83.152.200 128.83.152.200 UH 21 22535 le0 127.0.0.1 127.0.0.1 UH 7 81 lo0 128.83.152.135 128.83.152.200 UH 0 0 ppp0 default 128.83.1.250 UG 0 35 le0 128.83.0.0 128.83.152.200 U 34 5496 le0 Anybody have any clues??? -- ______________________________________________________________________________ Robert McLay | When you have a problem, put NO in front of Manager CFD Lab | it and you have: NO PROBLEM. Dept ASE-EM | University of Texas at Austin | -- Eric Beckman's 2nd Law | mclay@wilbur.ae.utexas.edu |