LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-01-2003, 11:33 AM   #1
agoltz
LQ Newbie
 
Registered: Mar 2003
Distribution: suse 8.1
Posts: 2

Rep: Reputation: 0
PPTP config question


Hi

Im trying to get pptp configured correctly. Im trying to connect to a server 192.168.1.3 from 192.168.1.50 - all a local network. The server is a windows 2k server running RAS. Im not sure if I am connecting or not - does anyone know to interpret the log messages below?

THanks!

Following is the logfile that im getting. Config files below

Apr 1 12:13:30 linuxagoltz pptp[3266]: log[pptp_dispatch_ctrl_packetptp_ctrl.c:580]: Client connection established.
Apr 1 12:13:31 linuxagoltz pptp[3266]: log[pptp_dispatch_ctrl_packetptp_ctrl.c:708]: Outgoing call established (call ID 0, peer's call ID 17383).
Apr 1 12:13:31 linuxagoltz pppd[3263]: pppd 2.4.1 started by root, uid 0
Apr 1 12:13:31 linuxagoltz pppd[3263]: using channel 15
Apr 1 12:13:31 linuxagoltz pppd[3263]: Using interface ppp0
Apr 1 12:13:31 linuxagoltz pppd[3263]: Connect: ppp0 <--> /dev/pts/2
Apr 1 12:13:31 linuxagoltz pppd[3263]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x50d4c15c> <pcomp> <accomp>]
Apr 1 12:13:33 linuxagoltz pppd[3263]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x50d4c15c> <pcomp> <accomp>]
Apr 1 12:13:33 linuxagoltz pppd[3263]: rcvd [LCP ConfReq id=0x0 <auth chap 81> <magic 0x25ab0166> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:36.46.92.18.2e.d8.49.3d.a5.68.e4.d9.94.7b.27.94.00.00.00.00]> < 17 04 00 1c>]
Apr 1 12:13:33 linuxagoltz pppd[3263]: sent [LCP ConfRej id=0x0 <auth chap 81> <mrru 1614> < 17 04 00 1c>]
Apr 1 12:13:33 linuxagoltz pppd[3263]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x50d4c15c> <pcomp> <accomp>]
Apr 1 12:13:33 linuxagoltz pppd[3263]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x50d4c15c> <pcomp> <accomp>]
Apr 1 12:13:33 linuxagoltz pppd[3263]: rcvd [LCP TermReq id=0x1 "%\37777777653\001f\000<\37777777715t\000\000\003\37777777627"]
Apr 1 12:13:33 linuxagoltz pppd[3263]: sent [LCP TermAck id=0x1]
Apr 1 12:13:35 linuxagoltz pppd[3263]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x50d4c15c> <pcomp> <accomp>]
Apr 1 12:14:07 linuxagoltz last message repeated 16 times
Apr 1 12:14:29 linuxagoltz last message repeated 11 times
Apr 1 12:14:31 linuxagoltz pptp[3266]: log[pptp_write_someptp_ctrl.c:376]: write error: Broken pipe
Apr 1 12:14:31 linuxagoltz pptp[3266]: log[call_callbackptp_callmgr.c:88]: Closing connection
Apr 1 12:14:31 linuxagoltz pppd[3263]: Terminating on signal 15.
Apr 1 12:14:31 linuxagoltz pppd[3263]: sent [LCP TermReq id=0x2 "User request"]
Apr 1 12:14:31 linuxagoltz pppd[3263]: Terminating on signal 15.
Apr 1 12:14:31 linuxagoltz pppd[3263]: Modem hangup
Apr 1 12:14:31 linuxagoltz pppd[3263]: Connection terminated.
Apr 1 12:14:33 linuxagoltz pppd[3263]: Exit.

/etc/ppp/peers/internal

#
# PPTP Tunnel configuration for tunnel internal
# Server IP: 192.168.1.3
#

#
# Tags for CHAP secret selection
#
name DOMAIN\\user
remotename PPTP

require-chapms-v2

#
# Include the main PPTP configuration file
#
file /etc/ppp/options.pptp

ipparam internal

debug
logfd 2
nodetach

************** /etc/ppp/chapsecrets

# Secrets for authentication using CHAP
# client server secret IP addresses
DOMAIN\\user PPTP *****
PPTP DOMAIN\\user *****

# OUTBOUND CONNECTIONS
# Here you should add your PPP Login and PPP password to connect to your
# provider via pap. The * means that the entry(login and passoword may be
# used for ANY host you connect to.
# Thus you do not have to worry about the foreign machine name. Just
# replace password with your password.
#hostname * password

# PREDIFINED CONNECTIONS
# These are user and password entries for publically accessible call-by-call
# Internet providers in Germany. If they confict with your config, remove them.
# READ_IN_CALLBYCALL_SECRETS

# INBOUND CONNECTIONS
#client hostname <password> 192.168.1.1
 
Old 03-04-2004, 03:01 PM   #2
tuxx
LQ Newbie
 
Registered: Oct 2003
Location: Germany
Distribution: Red Hat +++ LR101
Posts: 3

Rep: Reputation: 0
hi !

As mentioned in the man-page of the pptp-client (man pptp) you've wrong settings in your peers-file ... Use DOMAIN\\\\Username - or "DOMAIN\\Username" ;-) ... and try again ..
... hope it helps ...

-Alex

Linux VPN Router :: http://lr101.linux-it-solutions.de
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PPTP Question bahramcho Linux - Networking 0 05-14-2005 12:04 PM
Pptp Question! buboleck Linux - Networking 0 10-13-2004 12:11 PM
PPTP VPN Setup Question gauge73 Linux - Networking 5 07-06-2004 11:19 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
pptp vpn configuration question agoltz Linux - Networking 0 03-29-2003 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration