LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-20-2006, 09:32 PM   #1
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 30
pptpd help


I'm trying to get a pptp VPN server working on an open SUSE10 box.

When I try to connect, I see the following messages in /var/log/messages:

Feb 21 13:56:33 popli pptpd[25510]: MGR: Launching /usr/sbin/pptpctrl to handle client
Feb 21 13:56:33 popli pptpd[25510]: CTRL: local address = 192.168.2.10
Feb 21 13:56:33 popli pptpd[25510]: CTRL: remote address = 192.168.2.12
Feb 21 13:56:33 popli pptpd[25510]: CTRL: pppd speed = 115200
Feb 21 13:56:33 popli pptpd[25510]: CTRL: pppd options file = /etc/ppp/options.pptp
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Client xxx.xxx.xxx.xxx control connection started
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Received PPTP Control Message (type: 1)
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Made a START CTRL CONN RPLY packet
Feb 21 13:56:33 popli pptpd[25510]: CTRL: I wrote 156 bytes to the client.
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Sent packet to client
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Received PPTP Control Message (type: 7)
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Made a OUT CALL RPLY packet
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Starting call (launching pppd, opening GRE)
Feb 21 13:56:33 popli pptpd[25510]: CTRL: pty_fd = 4
Feb 21 13:56:33 popli pptpd[25510]: CTRL: tty_fd = 5
Feb 21 13:56:33 popli pptpd[25511]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Feb 21 13:56:33 popli pptpd[25511]: CTRL (PPPD Launcher): local address = 192.168.2.10
Feb 21 13:56:33 popli pptpd[25511]: CTRL (PPPD Launcher): remote address = 192.168.2.12
Feb 21 13:56:33 popli pptpd[25510]: CTRL: I wrote 32 bytes to the client.
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Sent packet to client
Feb 21 13:56:33 popli pppd[25511]: pppd 2.4.3 started by root, uid 0
Feb 21 13:56:33 popli pppd[25511]: Using interface ppp0
Feb 21 13:56:33 popli pppd[25511]: Connect: ppp0 <--> /dev/pts/1
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Received PPTP Control Message (type: 15)
Feb 21 13:56:33 popli pptpd[25510]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Feb 21 13:56:38 popli ifup: No configuration found for ppp0


Here's the contents of my /etc/ppp/options.pptp

#
# Lock the port
#
name *
lock
mtu 1450
mru 1450
proxyarp
auth
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 3
lcp-echo-interval 5
deflate 0
require-mschap-v2

#
# We don't need the tunnel server to authenticate itself
#
noauth

#
# Turn off transmission protocols we know won't be used
#
nobsdcomp
nodeflate

#
# We want MPPE
#
require-mppe

#
# We want a sane mtu/mru
#
mtu 1000
mru 1000

#
# Time this thing out of it goes poof
#
lcp-echo-failure 10
lcp-echo-interval 10


I'm not sure why it's complaining about no configuration for ppp0. I thought that ppp0 would only appear when the vpn client connected succesfully?


Any help is greatly appreciated
 
Old 02-25-2006, 06:48 PM   #2
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Original Poster
Rep: Reputation: 30
I've created an empty ifcfg-ppp0 file, and I'm no longer seeing the same error.

Now I'm seeing in /var/log/messages

popli pptpd[11079]: GRE: read(fd=5,buffer=8055ee0,len=8260) from network failed: status = -1 error = Protocol not available

Any ideas?
 
  


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
VPN with pptpd m1111 Linux - Networking 0 02-07-2006 01:42 PM
Need help getting PPTPD to work Contriver Suse/Novell 1 10-10-2005 04:09 AM
pptpd carlg Linux - Newbie 0 07-05-2004 07:28 PM
Pptpd start bcdfla Linux - Networking 0 04-29-2004 03:58 PM
pptpd error leonardox Linux - Networking 0 04-28-2004 02:38 AM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration