[pptp-server] pptp is not coming up

Murali K. Vemuri muralivemuri at multitech.co.in
Tue Dec 11 04:33:38 CST 2001


hi guys,

i posted this question y'day and no one responded. and as usual i kept on
trying............
and finally i got a solution.
when you are making your win98 client aware of vpn support, you should not
" right click the network neighbourhood, and add an adapter in the properties".
this will result in this error!

whereas, the same thing, if you do it by, " start -> settings -> control panel ->
add remove programs -> windows setup -> communications -> vpn support"
and this does work!

now i have one problem.............................!
on my linux pptp server, ifconfig does not show any pptp related ip at all as well
as win98 client does not
get any ip address from /etc/pptpd.conf.
i have everything in place there.
any ideas?
regds

"Murali K. Vemuri" wrote:

> hi ,
>
> I  am using the following setup  and my configuration files are
> attached.
> kernel 2.4.6 ppp 2.4.1, pptp 1.0.1 & 1.1.2 ( i tried both)
> i get the error " PTY read or GRE write failed" with pptp 1.1.2 and
> "Error with select ()" with pptp 1.0.1
> and in either case, the client (win98 ) gets this message
> " The microsoft dial-up adapter is in use or not responding properly.
> disconnect other connections and then try again
> if the problem persists, shut down and restart your computer"
>
> and the client is not at all able to connect to the server.
>
> regds
> murali
>
>   ------------------------------------------------------------------------
> debug
> #noccp
> #asyncmap 0
> name yogi
> #/dev/ttys0
> proxyarp
> notty
> lock
> auth
> login
> require-chap
> require-pap
> 10.110.2.1:10.110.2.3
> #192.168.1.240:192.168.1.241
> +chap
> +chapms
> +chapms-v2
> +mppe-40
> +mppe-128
> +mppe-stateless
> logfile /var/log/ppp.log
>
>   ------------------------------------------------------------------------
> +chap
> +chapms
> +chapms-v2
> chapms-strip-domain
> mppe-40
> #mppe-128
> require-chap
> require-mppe
>
>   ------------------------------------------------------------------------
> # Secrets for authentication using CHAP
> # client        server  secret                  IP addresses
> murali  *       murali  *
>
>   ------------------------------------------------------------------------
> ################################################################################
> #
> # Sample PoPToP configuration file
> #
> # for PoPToP version 1.0.1
> #
> ################################################################################
>
> # TAG: speed
> #
> #       Specifies the speed for the PPP daemon to talk at.
> #       Some PPP daemons will ignore this value.
> #
> speed 19200
>
> # 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
>
> localip 192.168.1.230
> remoteip 192.168.1.235-240
> logfile /var/log/pptpd.log
> # 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.234-238,192.168.0.245
> #remoteip 192.168.1.234-238,192.168.1.245
>
> # 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.1
>
> # 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

--
with thanks for your time,

Murali Krishna Vemuri

off: Multitech Software Systems,
#95, 17th'B' Main Road,
V Block, Koramangala, BANGALORE 560 095
tel: 080 5534471 xtn: 214

res: #12, 6th 'A' Cross,
Ramaswamy Palya, Vignana Nagara,
Martha Halli Post, Bangalore 560 037.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20011211/7c2f77ea/attachment.html>
-------------- next part --------------
################################################################################
#
# Sample PoPToP configuration file
#
# for PoPToP version 1.0.1
#
################################################################################

# 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.234-238,192.168.0.245
#remoteip 192.168.1.234-238,192.168.1.245

# 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.1

# 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
-------------- next part --------------
debug
proxyarp 
lock
auth
login
10.110.2.1:10.110.2.3
+pap
+chap
+chapms
+chapms-v2
+mppe-40
+mppe-128
+mppe-stateless
logfile /var/log/ppp.log
-------------- next part --------------
# Secrets for authentication using CHAP
# client	server	secret			IP addresses
#murali	*	murali	*


More information about the pptp-server mailing list