Subject: Re: *PPP HELP!* well.. I'm kinda stuck :(
To: Andy Sinesio <andy@imaginet.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 07/14/1997 11:27:38
> 
> >Hi, I've used netbsd before..got this group helped me get my ppp to work,
> >with the ppp.setup.tgz files..which well very helpfull. I just installed
> >netbsd 1.2 on a mac IIvx, including the pppsetup archive. I've set up all
> >the ppp files, including my pap secrets file ( which has * * mypasswd)
> >inside it, edited the resolv.conf.down file, copied it into /etc, edited
> >options, ppp-chat, ppp-numbers, and everything, and when I do ./ppp-up in
> >my /etc/ppp i get something like:
> > connecting...  pppd: command not found
> >done.
> >
> >I installed all of netbsd, and i know pppd is installed because i found it
> >in sbin. Guys, can anyone here help me :) ?
> >
> >Thanks!
> 
> Ok, I had the same problem.
> 
> The scripts look for "pppd" in the same folder (/etc/ppp/) as ppp. To fix 
> this, i made a link to the real pppd and put it in the ppp directory.  
> For a fix, do:

Assuming you're using one of the two pppd kits off of puma, this isn't
correct. The scripts assume that pppd is in root's path. They'd have to
say "/etc/ppp/pppd" to be assuming that pppd is in /etc/ppp (you don't
have to have cd'd to /etc/ppp to fire up ppp).

Check out how root's path is set up. Root usually has /usr/sbin (where
pppd lives) in its path.

> ln /etc/ppp/pppd /sbin/pppd

Uhm, pppd lives in /usr/sbin. And shouldn't the two files be reversed
(as otherwise you're creating the /sbin/pppd file)? I'd recomend a
symbolic link if you choose to do this.

> That should* fix the problem.  I still couldn't get ppp to work 
> correctly, it would connect but then nothing would happen... anyway, try 
> that.

What exactly does it do? The modem connects, but ppp never really fires
up? Check out the chat script, and make sure you're using PAP or CHAP or
a login prompt as appropriate. Also, some places which use the username
password login sequence don't need the "ppp" at the command prompt.

Take care,

Bill