DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 21st January 2009
gull gull is offline
New User
 
Join Date: Dec 2008
Posts: 1
Default Problem with pptp

Hi! I've Openbsd 4.4 with default kernel and connection to Internet by pptp. Problem is sometimes it connects but sometimes doesn't. But in most cases when it connects it pings any host with message:

ping: sendto: No buffer space available
ping: wrote ya.ru 64 chars, ret=-1

Here some files:

1. hostname.fxp0

dhcp NONE NONE NONE
!route add -host vpn.provider.net 10.129.0.17
!route add 85.21/16 10.129.0.17
!route add 195.14.32/19 10.129.0.17
!route add 10/8 10.129.0.17

2. hostname.tun0

!/usr/sbin/ppp -ddial corbina >/dev/null 2>&1

3. ppp.conf

default:
set log Phase Chat LCP IPCP CCP tun command
disable ipv6cp
corbina:
set device "!/usr/sbin/pptp vpn.provider.net --nolaunchpppd"
set timeout 0
set authname <login>
set authkey <password>
set login
set ifaddr 85.81.225.18 10.129.0.17/0
add! default HISADDR

4. /var/log/daemon

Jan 20 23:29:48 gullabs ppp[17136]: tun0: Chat: deflink: Redial timer expired.
Jan 20 23:29:48 gullabs ppp[17136]: tun0: Phase: deflink: Connected!
Jan 20 23:29:48 gullabs ppp[17136]: tun0: Phase: deflink: opening -> dial
Jan 20 23:29:48 gullabs ppp[17136]: tun0: Phase: deflink: dial -> carrier
Jan 20 23:29:48 gullabs ppp[17136]: tun0: Phase: deflink: carrier -> login
Jan 20 23:29:48 gullabs ppp[17136]: tun0: Phase: deflink: login -> lcp
Jan 20 23:29:48 gullabs ppp[17136]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 20 23:29:48 gullabs ppp[17136]: tun0: LCP: deflink: State change Initial --> Closed
Jan 20 23:29:48 gullabs ppp[17136]: tun0: LCP: deflink: State change Closed --> Stopped
Jan 20 23:29:49 gullabs ppp[17136]: tun0: LCP: deflink: LayerStart
Jan 20 23:29:49 gullabs ppp[17136]: tun0: LCP: deflink: SendConfigReq(22) state = Stopped
Jan 20 23:29:49 gullabs ppp[17136]: tun0: LCP: ACFCOMP[2]
Jan 20 23:29:49 gullabs ppp[17136]: tun0: LCP: PROTOCOMP[2]
Jan 20 23:29:49 gullabs ppp[17136]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 20 23:29:49 gullabs ppp[17136]: tun0: LCP: MRU[4] 1500
Jan 20 23:29:49 gullabs ppp[17136]: tun0: LCP: MAGICNUM[6] 0x02bcea78
Jan 20 23:29:49 gullabs ppp[17136]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Jan 20 23:29:52 gullabs ppp[17136]: tun0: LCP: deflink: SendConfigReq(22) state = Req-Sent
Jan 20 23:29:52 gullabs ppp[17136]: tun0: LCP: ACFCOMP[2]
Jan 20 23:29:52 gullabs ppp[17136]: tun0: LCP: PROTOCOMP[2]
Jan 20 23:29:52 gullabs ppp[17136]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 20 23:29:52 gullabs ppp[17136]: tun0: LCP: MRU[4] 1500
Jan 20 23:29:52 gullabs ppp[17136]: tun0: LCP: MAGICNUM[6] 0x02bcea78
Jan 20 23:29:55 gullabs ppp[17136]: tun0: LCP: deflink: SendConfigReq(22) state = Req-Sent
Jan 20 23:29:55 gullabs ppp[17136]: tun0: LCP: ACFCOMP[2]
Jan 20 23:29:55 gullabs ppp[17136]: tun0: LCP: PROTOCOMP[2]
Jan 20 23:29:55 gullabs ppp[17136]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 20 23:29:55 gullabs ppp[17136]: tun0: LCP: MRU[4] 1500
Jan 20 23:29:55 gullabs ppp[17136]: tun0: LCP: MAGICNUM[6] 0x02bcea78
Jan 20 23:29:58 gullabs ppp[17136]: tun0: LCP: deflink: SendConfigReq(22) state = Req-Sent
Jan 20 23:29:58 gullabs ppp[17136]: tun0: LCP: ACFCOMP[2]
Jan 20 23:29:58 gullabs ppp[17136]: tun0: LCP: PROTOCOMP[2]
Jan 20 23:29:58 gullabs ppp[17136]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 20 23:29:58 gullabs ppp[17136]: tun0: LCP: MRU[4] 1500
Jan 20 23:29:58 gullabs ppp[17136]: tun0: LCP: MAGICNUM[6] 0x02bcea78
Jan 20 23:30:01 gullabs ppp[17136]: tun0: LCP: deflink: SendConfigReq(22) state = Req-Sent
Jan 20 23:30:01 gullabs ppp[17136]: tun0: LCP: ACFCOMP[2]
Jan 20 23:30:01 gullabs ppp[17136]: tun0: LCP: PROTOCOMP[2]
Jan 20 23:30:01 gullabs ppp[17136]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 20 23:30:01 gullabs ppp[17136]: tun0: LCP: MRU[4] 1500
Jan 20 23:30:01 gullabs ppp[17136]: tun0: LCP: MAGICNUM[6] 0x02bcea78
Jan 20 23:30:04 gullabs ppp[17136]: tun0: LCP: deflink: LayerFinish
Jan 20 23:30:04 gullabs ppp[17136]: tun0: LCP: deflink: State change Req-Sent --> Stopped
Jan 20 23:30:04 gullabs ppp[17136]: tun0: LCP: deflink: State change Stopped --> Closed
Jan 20 23:30:04 gullabs ppp[17136]: tun0: LCP: deflink: State change Closed --> Initial
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: Disconnected!
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: lcp -> logout
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: logout -> hangup
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: Disconnected!
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: Connect time: 16 secs: 0 octets in, 270 octets out
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: 102 packets in, 3629 packets out
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: total 16 bytes/sec, peak 21 bytes/sec on Tue Jan 20 23:29:52 2009
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: HUPing 25768
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: hangup -> opening
Jan 20 23:30:04 gullabs ppp[17136]: tun0: Phase: deflink: Enter pause (3) for redialing.




and when I can't connect daemon log is like:

Jan 21 02:50:26 gullabs ppp[7913]: tun0: LCP: deflink: RecvEchoRequest(139) state = Opened
Jan 21 02:50:26 gullabs ppp[7913]: tun0: LCP: deflink: SendEchoReply(139) state = Opened
Jan 21 02:50:27 gullabs ppp[7913]: tun0: IPCP: deflink: Error: Unexpected IPCP in phase Authenticate (ignored)
Jan 21 02:50:35 gullabs last message repeated 4 times
Jan 21 02:50:36 gullabs ppp[7913]: tun0: LCP: deflink: RecvEchoRequest(140) state = Opened
Jan 21 02:50:36 gullabs ppp[7913]: tun0: LCP: deflink: SendEchoReply(140) state = Opened
Jan 21 02:50:46 gullabs ppp[7913]: tun0: LCP: deflink: RecvEchoRequest(141) state = Opened
Jan 21 02:50:46 gullabs ppp[7913]: tun0: LCP: deflink: SendEchoReply(141) state = Opened
Jan 21 02:50:56 gullabs ppp[7913]: tun0: LCP: deflink: RecvEchoRequest(142) state = Opened
Jan 21 02:50:56 gullabs ppp[7913]: tun0: LCP: deflink: SendEchoReply(142) state = Opened
Jan 21 02:50:57 gullabs ppp[7913]: tun0: IPCP: deflink: Error: Unexpected IPCP in phase Authenticate (ignored)
Jan 21 02:51:05 gullabs last message repeated 4 times
Reply With Quote
 

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRE throught OpenBSD 4.5 to 2K3 PPTP vpn There0 OpenBSD General 3 10th September 2009 12:54 PM
Boot problem. Geometry problem? gulanito FreeBSD Installation and Upgrading 0 3rd July 2009 03:03 AM
PPTP Server, no internet connectivity (routing between interfaces?) godfrank FreeBSD Ports and Packages 5 15th April 2009 04:44 PM


All times are GMT. The time now is 02:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick