[pptp-server] NEWBIE problems: configuration label not found

irezumi at avalon.net irezumi at avalon.net
Tue Jan 25 16:58:40 CST 2000


Greetings, I have been working to implement pptpd for a couple of weeks 
now, and can't seem to get past this problem.
Any insights y'all can give would be tremendously appreciated!
The pptpd daemon seems to start with no problems, but connecting causes 
this to show up in the logs:
I've pasted in some logs and conf. files for your enjoyment. ;)


Jan 24 17:28:45 DSP63 pptpd[264]: GRE: read(fd=5,buffer=804d000,len=8196) 
from PTY failed: status = 0
error = No error

Jan 24 17:28:45 DSP63 pptpd[264]: CTRL: PTY read or GRE write failed 
(pty,gre)=(5,4)

Jan 24 17:28:47 DSP63 ppp[267]: Warning: Label pptp rejected -direct 
connection: Configuration label not found

And on the client side, I'm getting "error 619: The specified Port is not 
connected"

Ok, so I'm running pptpd 1.0 on FreeBSD 3.4 with no encryption as yet 
(first I'd just like to get the actual connection to work).  I have ppp 
compiled PPP into my kernel.
Is PPPD supposed to start up in addition to pptpd? Because for me it 
doesn't....I suspect a problem with my ppp configuration, but I'm not sure. 
Here's my ppp.conf file:

#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself at cdrom.com
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.1.2.2 1999/08/29 14:19:56 peter Exp $
#################################################################

default:

  #
  # Make sure that "device" references the correct serial port
  # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
  #
  set device /dev/cuaa1

  set log Phase Chat LCP IPCP CCP tun command
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 
OK \\dATDT\\T TIMEOUT 40 CO
NNECT"

  set timeout 120
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  add default HISADDR
  enable dns

papchap:

  #
  # edit the next three lines and replace the items in caps with
  # the values which have been assigned by your ISP.
  #

  set phone PHONE_NUM
  set authname USERNAME
  set authkey PASSWORD


Also, here is my pptpd.conf file:
##########################################################################
#
#                                                                 PoPToP 
configuration file
#
#                                                                 for 
PoPToP version 1.0.0
#
##########################################################################

# TAG: speed
#
#       Specifies the speed for the PPP daemon to talk at.
#       Some PPP daemons will ignore this value.
#
speed 115200

# TAG: option
#
#       Specifies the location of the PPP options file.
#       By default PPP looks in '/etc/ppp/options'
#
#option /this/is/the/options/file

# TAG: debug
#
#       Turns on (more) debugging to syslog.
#
debug

# TAG: localip
# TAG: remoteip
#
#       Specifies the local and remote IP address ranges.
#
#       You can specify single IP addresses seperated by commas or you can
#       specify ranges, or both. For example:
#
#               192.168.0.234,192.168.0.245-249,192.168.0.254
#
#       IMPORTANT RESTRICTIONS:
#
#       1. No spaces are permitted between commas or within addresses.
#
#       2. If you give more IP addresses than MAX_CONNECTIONS, it will
#          start at the beginning of the list and go until it gets
#          MAX_CONNECTIONS IPs. Others will be ignored.
#
#       3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
#          you must type 234-238 if you mean this.
#
#       4. If you give a single localIP, that's ok - all local IPs will
#          be set to the given one. You MUST still give at least one remote
#          IP for each simultaneous client.
#
localip      192.168.0.20
remoteip  192.168.0.40-80

# TAG: ipxnets
#
#       This gives the range of IPX networks to allocate to clients.  By
#       default IPX network number allocation is not handled internally.
#       By putting a low and high network number here a pool of IPX networks
#       can be defined.  If this is done then there must be one IPX network
#       per client.
#
#       The format is a pair of hex numbers without any 0x prefix separated
#       by a hyphen.
#
#ipxnets 00001000-00001FFF

# TAG: listen
#
#       Defines the IP address of the local interface on which pptpd
#       should listen for connections.  The default is to listen on all
#       local interfaces (even ones brought up by pptp connections, thus
#       permitting pptp tunnels inside the pptp tunnels).
#
listen  192.168.0.20

# TAG: pidfile
#
#       This defines the file name in which pptpd should store its process
#       ID (or pid).  The default is /var/run/pptpd.pid.
#
pidfile /var/run/pptpd.pid







TIA
Naomi





More information about the pptp-server mailing list