Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 12:38:20 -0600
From:      Administrator <admin@ims-1.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        info@penta-pro.com
Subject:   FreeBSD 2.2.8 - PPP dialin configuration problems
Message-ID:  <36A7741C.69CC@ims-1.com>

next in thread | raw e-mail | index | archive | help
I seem to be having a problem getting a static ppp connection
established.  I have FreeBSD 2.2.8 using Comtrol's Rocketport
with an Octicable and modem attached.
The modem answers...I can even log in.
The username is randy and the shell is set to /etc/ppp/ppp-randy
The login and password are accepted then I see a new login
prompt immediately afterwards...(millisecond delay).
Can someone tell me what I've done wrong?
I've included some relavent info.

I can be reached at rangelr@ims-1.com or info@penta-pro.com

Contents of directory /etc/ppp

lrwxrwxrwx root wheel ppp-dialup --> ppp-shell
lrwxrwxrwx root wheel ppp-randy --> /etc/ppp/ppp-shell
rwxrwxrwx root network ppp-shell
rw-r--r-- root wheel ppp.conf
rw-r--r-- root network ppp.linkup

Contents of:
======= ppp-shell =====
#!/bin/sh
IDENT=`echo $0 | sed -e's\^.*-/(.*\)$/\1/'`
CALLEADS="$IDENT"
TTY=`tty`

if [ x$IDENT=xdialup ]; then
	IDENT=`basename $TTY`
fi

echo "PPP for $CALLEDAS on $TTY"
echo "Starting PPP for $IDENT"

exec /usr/sbin/ppp -direct $IDENT

========== end of file =============
Next file 
========== ppp.conf ================
ttyR0:
	set ifaddr 209.74.161.9 209.74.161.25 255.255.255.255

 enable proxy

randy:
	set login
	set authname randy
	set authkey password
	set debug phase lcp chat connect carrier ipcp ccp command 
	accept PAP
	accept CHAP
	set ifaddr 209.74.161.9 209.74.161.25 255.255.255.255
	enable proxy

  allow users randy

default:
	set login
	enable proxy
	set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
	set timeout 0
	set debug phase lcp chat connect carrier ipcp ccp command

========== end of file =============
Next file
========== ppp.linkup ==============
MYADDR:

!bg /usr/X11R6/bin/auplay /etc/ppp/linkup.au

192.244.176.32:
add 192.244.176.0 0 HISADDR

randy:
add 209.74.161.25 netmask 255.255.255.0 HISADDR

pmdemand:
!bg /etc/ppp/ppp.etherup.pmdemand
! sh -c "cat /etc/ppp/linkup.au > /dev/audio"


min5minutes:
!bg sh -c "sleep 240;pppctl -p mypassword 3000 set timeout 60"

========== end of file =============

Contents of: /var/log/ppp.log

delta ppp [167]: warning: no available tunnel devices found (operation
not permitted).
delta ppp [167]: warning: bundle_create: no such file or directory

====================================

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36A7741C.69CC>