am285
Discouraged One
ich schlage mich nun seit 4 tagen mit dem problem rum, mich unter openbsd-3.5 via pptp zu meinem isp zu connecten (inode xdsl - ein österreichischer provider).
ich bin nach allen anleitungen vorgegangen, die ich im www gefunden habe, und bin aber bis jetzt auf keinen grünen zweig gekommen.
in der faq auf openbsd.org schlägt man vor pptp mit pppd in verbindung zu verwenden. das soll anscheinend ganz gut funktionieren, bei mir hauts nicht hin
pppd spuckt beim starten (oder beim von pptp geforked werden) folgenden error aus:
ich hab den kernel mittlerweile über 10 mal neu kompiliert, an allen in frage kommenden optionen rumgepfuscht, aber es funktioniert einfach nicht. bei jeder konfiguration quittiert pppd den dienst mit obiger fehlermeldung.
dann bin ich auf ppp gestoßen. das startet ganz normal mit folgender konfiguration:
/etc/ppp/ppp.conf
/etc/ppp/ppp.secret:
ausgeführt wird es mit ppp -ddial pptp. es startet also und ein paar minuten lang passiert gar nichts. dann kommt ne meldung, dass tun0 up ist und ich bin wieder am CLI.
hier mal ein auszug aus dem log:
die letzten log-msgs wiederholen sich dann, bis ich ppp kille.
ich hoffe, dass mir da jemand weiterhelfen kann...
gruß,
am285
ich bin nach allen anleitungen vorgegangen, die ich im www gefunden habe, und bin aber bis jetzt auf keinen grünen zweig gekommen.
in der faq auf openbsd.org schlägt man vor pptp mit pppd in verbindung zu verwenden. das soll anscheinend ganz gut funktionieren, bei mir hauts nicht hin
pppd spuckt beim starten (oder beim von pptp geforked werden) folgenden error aus:
Code:
pppd: This system lacks kernel support for PPP. To include PPP support
in the kernel, please add a line
pseudo-device ppp 1
to your kernel config file and build a new kernel.
ich hab den kernel mittlerweile über 10 mal neu kompiliert, an allen in frage kommenden optionen rumgepfuscht, aber es funktioniert einfach nicht. bei jeder konfiguration quittiert pppd den dienst mit obiger fehlermeldung.
dann bin ich auf ppp gestoßen. das startet ganz normal mit folgender konfiguration:
/etc/ppp/ppp.conf
Code:
default:
set log Phase Chat LCP IPCP CCP tun command
pptp:
set device "!/usr/local/sbin/pptp 10.0.0.138 --nolaunchpppd"
set authname userxxx
set authkey passxxx
set mtu max 1490
set mru max 1490
set mppe 40 stateless
set mppe 128 stateless
disable pap
disable chap
accept chap81
disable ipv6cp
disable deflate pred1
deny deflate pred1
set login
/etc/ppp/ppp.secret:
Code:
userxxx passxxx
ausgeführt wird es mit ppp -ddial pptp. es startet also und ein paar minuten lang passiert gar nichts. dann kommt ne meldung, dass tun0 up ist und ich bin wieder am CLI.
hier mal ein auszug aus dem log:
Code:
Oct 1 19:49:41 centipede ppp[27323]: Phase: Using interface: tun0
Oct 1 19:49:41 centipede ppp[27323]: Phase: deflink: Created in closed state
Using interface: tun0
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: set device !/usr/local/sbin/pptp 10.0.0.138 --nolaunchpppd
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: set authname **** ZENSIERT ****
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: set authkey ********
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: set mtu max 1490
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: set mru max 1490
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: set mppe 40 stateless
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: set mppe 128 stateless
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: disable pap
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: disable chap
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: accept chap81
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: disable ipv6cp
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: disable deflate pred1
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: deny deflate pred1
Oct 1 19:52:21 centipede ppp[27323]: tun0: Command: pptp: set login
[1] + 27323 done ppp -ddial pptp
Oct 1 19:52:21 centipede ppp[17058]: tun0: Phase: PPP Started (ddial mode).
Oct 1 19:52:21 centipede ppp[17058]: tun0: Phase: bundle: Establish
Oct 1 19:52:21 centipede ppp[17058]: tun0: Phase: deflink: closed -> opening
Oct 1 19:52:21 centipede ppp[17058]: tun0: Phase: deflink: Connected!
Oct 1 19:52:21 centipede ppp[17058]: tun0: Phase: deflink: opening -> dial
Oct 1 19:52:21 centipede ppp[17058]: tun0: Phase: deflink: dial -> carrier
Oct 1 19:52:21 centipede ppp[17058]: tun0: Phase: deflink: carrier -> login
Oct 1 19:52:21 centipede ppp[17058]: tun0: Phase: deflink: login -> lcp
Oct 1 19:52:21 centipede ppp[17058]: tun0: LCP: FSM: Using "deflink" as a transport
Oct 1 19:52:21 centipede ppp[17058]: tun0: LCP: deflink: State change Initial --> Closed
Oct 1 19:52:21 centipede ppp[17058]: tun0: LCP: deflink: State change Closed --> Stopped
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: LayerStart
Oct 1 19:52:22 centipede ppp[17058]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1490
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: ACFCOMP[2]
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: PROTOCOMP[2]
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: ACCMAP[6] 0x00000000
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: MRU[4] 1490
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: MAGICNUM[6] 0x0b97fc7a
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: RecvConfigRej(1) state = Req-Sent
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: ACFCOMP[2]
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: PROTOCOMP[2]
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: ACCMAP[6] 0x00000000
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: SendConfigReq(2) state = Req-Sent
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: MRU[4] 1490
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: MAGICNUM[6] 0x0b97fc7a
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: RecvConfigAck(2) state = Req-Sent
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: MRU[4] 1490
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: MAGICNUM[6] 0x0b97fc7a
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: State change Req-Sent --> Ack-Rcvd
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: RecvConfigReq(0) state = Ack-Rcvd
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: MAGICNUM[6] 0x69fa9494
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: SendConfigAck(0) state = Ack-Rcvd
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: MAGICNUM[6] 0x69fa9494
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: State change Ack-Rcvd --> Opened
Oct 1 19:52:22 centipede ppp[17058]: tun0: LCP: deflink: LayerUp
Oct 1 19:52:22 centipede ppp[17058]: tun0: Phase: bundle: Authenticate
Oct 1 19:52:22 centipede ppp[17058]: tun0: Phase: deflink: his = PAP, mine = none
Oct 1 19:52:22 centipede ppp[17058]: tun0: Phase: Pap Output: ***** ZENSIERT ***** ********
Oct 1 19:52:24 centipede ppp[17058]: tun0: Phase: Pap Input: SUCCESS ()
Oct 1 19:52:24 centipede ppp[17058]: tun0: CCP: FSM: Using "deflink" as a transport
Oct 1 19:52:24 centipede ppp[17058]: tun0: CCP: deflink: State change Initial --> Closed
Oct 1 19:52:24 centipede ppp[17058]: tun0: CCP: deflink: LayerStart.
Oct 1 19:52:24 centipede ppp[17058]: tun0: CCP: MPPE: Not usable without CHAP81
Oct 1 19:52:24 centipede ppp[17058]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Oct 1 19:52:24 centipede ppp[17058]: tun0: CCP: [EMPTY]
Oct 1 19:52:24 centipede ppp[17058]: tun0: CCP: deflink: State change Closed --> Req-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: Phase: deflink: lcp -> open
Oct 1 19:52:24 centipede ppp[17058]: tun0: Phase: bundle: Network
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: FSM: Using "deflink" as a transport
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: State change Initial --> Closed
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: LayerStart.
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: IPADDR[6] 192.168.0.6
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: RecvConfigReq(52) state = Req-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: IPADDR[6] 62.99.171.97
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: SendConfigAck(52) state = Req-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: IPADDR[6] 62.99.171.97
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: LCP: deflink: RecvProtocolRej(16) state = Opened
Oct 1 19:52:24 centipede ppp[17058]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Oct 1 19:52:24 centipede ppp[17058]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: IPADDR[6] 192.168.0.6
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: IPADDR[6] 62.99.167.68
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: IPADDR[6] changing address: 192.168.0.6 --> 62.99.167.68
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: IPADDR[6] 62.99.167.68
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: IPADDR[6] 62.99.167.68
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: deflink: LayerUp.
Oct 1 19:52:24 centipede ppp[17058]: tun0: IPCP: myaddr 62.99.167.68 hisaddr = 62.99.171.97
Oct 1 19:52:24 centipede ppp[17058]: tun0: Command: pptp: ! sh -c /sbin/route delete default
Oct 1 19:52:24 centipede ppp[17058]: tun0: Command: pptp: ! sh -c /sbin/route add default 10.0.0.138 -gateway 172.17.153.1
Oct 1 19:52:24 centipede ppp[17058]: tun0: Warning: ff02::%tun0/32: Change route failed: errno: Undefined error: 0
Oct 1 19:52:24 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:52:27 centipede last message repeated 6 times
Oct 1 19:52:27 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(1) state = Opened
Oct 1 19:52:27 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(1) state = Opened
Oct 1 19:52:27 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:52:47 centipede last message repeated 40 times
Oct 1 19:52:47 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(2) state = Opened
Oct 1 19:52:47 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(2) state = Opened
Oct 1 19:52:47 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:52:57 centipede last message repeated 20 times
Oct 1 19:52:57 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(3) state = Opened
Oct 1 19:52:57 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(3) state = Opened
Oct 1 19:52:57 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:53:17 centipede last message repeated 43 times
Oct 1 19:53:17 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(4) state = Opened
Oct 1 19:53:17 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(4) state = Opened
Oct 1 19:53:17 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
^[[BOct 1 19:53:37 centipede last message repeated 41 times
Oct 1 19:53:37 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(5) state = Opened
Oct 1 19:53:37 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(5) state = Opened
Oct 1 19:53:37 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:53:47 centipede last message repeated 20 times
Oct 1 19:53:47 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(6) state = Opened
Oct 1 19:53:47 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(6) state = Opened
Oct 1 19:53:47 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:54:07 centipede last message repeated 44 times
Oct 1 19:54:07 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(7) state = Opened
Oct 1 19:54:07 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(7) state = Opened
Oct 1 19:54:07 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:54:27 centipede last message repeated 42 times
Oct 1 19:54:27 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(8) state = Opened
Oct 1 19:54:27 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(8) state = Opened
Oct 1 19:54:27 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:54:37 centipede last message repeated 20 times
Oct 1 19:54:37 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(9) state = Opened
Oct 1 19:54:37 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(9) state = Opened
Oct 1 19:54:37 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:54:47 centipede last message repeated 20 times
Oct 1 19:54:47 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(10) state = Opened
Oct 1 19:54:47 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(10) state = Opened
Oct 1 19:54:47 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:55:07 centipede last message repeated 41 times
Oct 1 19:55:07 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(11) state = Opened
Oct 1 19:55:07 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(11) state = Opened
Oct 1 19:55:07 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
Oct 1 19:55:17 centipede last message repeated 19 times
Oct 1 19:55:17 centipede ppp[17058]: tun0: LCP: deflink: RecvEchoRequest(12) state = Opened
Oct 1 19:55:17 centipede ppp[17058]: tun0: LCP: deflink: SendEchoReply(12) state = Opened
Oct 1 19:55:17 centipede ppp[17058]: tun0: Phase: deflink: Not transmitting... waiting for CCP
die letzten log-msgs wiederholen sich dann, bis ich ppp kille.
ich hoffe, dass mir da jemand weiterhelfen kann...
gruß,
am285