Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 1997 09:40:54 -0600 (CST)
From:      "Jay D. Nelson" <jdn@qiv.com>
To:        Michelle Brownsworth <michelle@eugene.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: "Sorry - PPP is not available on this system" msg
Message-ID:  <Pine.NEB.3.95.970113090501.337A-100000@acp.qiv.com>
In-Reply-To: <v03007801aeff64c81afb@[207.48.96.49]>

next in thread | previous in thread | raw e-mail | index | archive | help
It looks like you're mixing user ppp (ijppp) and kernel ppp (pppd). I 
haven't had much experience with ijppp but I've used pppd for quite awile.


On Sun, 12 Jan 1997, Michelle Brownsworth wrote:

[snip]

->It seemed logical to create a ppp user account as the first order of
->business, as recommended somewhere in the docs, can't remember where:
->
->/etc/passwd
->------------
->ppp:*:2000:2000:PPP Login User:/home/ppp:/usr/local/bin/ppplogin

That's OK.

->/usr/local/bin/ppplogin
->----------------------
->#!/bin/sh:
->/usr/sbin/ppp -direct
            ^^^^^^^^^^^    
	    This is ijppp -- try (on the server):

#!/bin/sh
/usr/bin/mesg n
stty -tostop
exec /usr/sbin/pppd proxyarp

Your gettytab and ttys looks fine.

->bash# whereis pppd
->/usr/sbin/pppd
            ^^^^
	    kernel ppp!

->bash# pppd
->Sorry - PPP is not available on this system

Be sure ppp is compiled in the kernel:
	pseudo-device ppp 1 
must be in you're kernel config file.

->
->/etc/ppp/options (configuration file)
->----------------
->crtscts                         # Hardware flow control
->netmask 255.255.255.0           # netmask ( not required )
->206.100.174.68:206.100.174.69   # ip's of local and remote hosts
->                                # local ip must be different from one
->                                # you assigned to the ethernet ( or other )
->                                # interface on your machine.
->                                # remote IP is ip address that will be
->                                # assigned to the remote machine
->domain ppp.primelogic.com       # your domain
->passive                         # wait for LCP
->modem

The options are OK, though I don't use passive. The above login script
is all I use on the server.  (I, too, am only using one line on my
machine at work.)

[server scripts deleted]

I set up my modem at work for dialin. E.g. echo and reporting off
hardware flow control, reset on DTR drop, force DCD to follow carrier
and store them in profile 0. That way when I logout (carrrier drops)
the modem resets to a known state.

Good luck.

-- Jay

->
->.\\ichelle
->
->--------------------
->Michelle Brownsworth
->System Administrator
->IMS, Inc.
->
->




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970113090501.337A-100000>