Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jan 2000 03:14:19 PST
From:      "charley farley" <charley_farley68@hotmail.com>
To:        questions@FreeBSD.ORG
Subject:   problems setting up ppp when dialing in.
Message-ID:  <20000103111419.50242.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help


I am trying set up a machine to allow a windows95 machine
to dial in and connect to a server. I dial in and the ppp stops
and hangs up imediately. I have tried to follow to the letter
the instructions for setting up ppp for dial in access, but there
is something missing.

I am running version 2.2.6 freeBSD.
I am running getty.
I am not a member of the mailing group so please send responces
to charley_farley68@hotmail.com

Thank you in advance.....Charley

this is the log file /var/log/ppp.log

Jan  2 18:05:22 msgserver ppp[18886]: Command: default: set device
/dev/cuaa3
Jan  2 18:05:22 msgserver ppp[18886]: Command: default: set speed 115200
Jan  2 18:05:22 msgserver ppp[18886]: Command: default: deny lqr
Jan  2 18:05:22 msgserver ppp[18886]: Command: default: set dial ABORT BUSY
ABOR
T NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40
CONNECT
Jan  2 18:05:22 msgserver ppp[18886]: Command: default: set ns 10.0.2.1
Jan  2 18:05:22 msgserver ppp[18886]: Command: default: enable msext
Jan  2 18:05:22 msgserver ppp[18886]: Command: default: enable proxy
Jan  2 18:05:22 msgserver ppp[18886]: tun0: Phase: Using interface: tun0
Jan  2 18:05:22 msgserver ppp[18886]: tun0: Warning: Destination system
(null) n
ot found in conf file.
Jan  2 18:05:23 msgserver ppp[18886]: tun0: Phase: PPP Terminated (start).

What is the Destination system? where do I set this variable?

this is my conf file:

# Default setup. Always executed when PPP is invoked.
#  This section is *not* loaded by the ``load'' or ``dial'' commands.
#
default:
  set log Phase Chat Connect Carrier LCP IPCP CCP tun command
  set device /dev/cuaa3
  set speed 115200
  deny lqr
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0
OK \\
dATDT\\T TIMEOUT 40 CONNECT"

     allow users ppp1 mwf p-mwf ian p-ian
     allow mode direct
         set ns 10.0.2.1
     enable msext
     enable proxy

p-mwf:
         allow user p-mwf
         allow mode direct
         set ifaddr 10.0.2.1 10.0.2.10 255.255.255.255
         set ns 10.0.2.1
         enable proxy

this is the directory of ppp

drwxr-xr-x  3 root  wheel   512 Jul 12 01:21 new
lrwxrwxrwx  1 root  wheel     9 Dec 29 13:36 ppp-dialup -> ppp-shell
lrwxrwxrwx  1 root  wheel    18 Dec 29 13:47 ppp-p-mwf ->
/etc/ppp/ppp-shell
-rwxrwxr-x  1 root  wheel   246 Dec 29 13:35 ppp-shell
-rw-r--r--  1 root  wheel  1474 Dec 29 19:34 ppp.conf
-rw-r--r--  1 root  wheel  2564 Jun 24  1999 ppp.conf.first_go
-rw-r--r--  1 root  wheel  9930 Mar 25  1998 ppp.conf.sample
-rw-r--r--  1 root  wheel   159 Mar 25  1998 ppp.deny
-rw-r--r--  1 root  wheel   875 Mar 25  1998 ppp.linkdown.sample
-rw-r--r--  1 root  wheel  1356 Aug 16 21:55 ppp.linkup
-rw-r--r--  1 root  wheel  1863 Mar 25  1998 ppp.linkup.sample
-rw-r--r--  1 root  wheel  1059 Jun 24  1999 ppp.secret
-rw-r--r--  1 root  wheel   858 Mar 25  1998 ppp.secret.sample
-rw-r--r--  1 root  wheel   256 Mar 25  1998 ppp.shells.sample

this is the shell script of ppp-shell

#!/bin/sh
IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'`
CALLEDAS="$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

this is the entry in the passwd file

p-mwf:*:1018:69:Charley ppp:/usr/disk3/p-mwf:/etc/ppp/ppp-dialup



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



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?20000103111419.50242.qmail>