Tshunsh
10.12.04, 13:35
Hallo Leute!
Ich bin ein wenig ratlos, was pptpd unter suse 9.1 eingeht.
Mein Hauptserver läuft mit suse 9.0 und hat mit vpn mittels pptpd kein Problem.
Nun bin ich dabei auf Kernel 2.6 zu migrieren, also suse 9.1 und da hapats noch am pptpd.
Alle Infos hier bezüglich pptpd passen nur für suse 9.0. Ich habe schon etwas raus gefunden, dass für
Kernel 2.6 relevant ist. Und zwar:
Die Datei /etc/pptpd.conf kann man weitgeend übernemen.
In /etc/modules.conf muss folgendes rein:
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias net-pf-47 ip_gre
In /etc/ppp/options.ppp0 (Dateiname abhenig von /etc/pptpd.conf)
lock
# debug
# name tuxsrv
auth
require-mppe-128 (neu!)
nobsdcomp
nodeflate
require-mschap-v2 (neu!)
# mtu 1000
# mru 1000
lcp-echo-failure 10
lcp-echo-interval 10
Damit solte es funktioniren, tut es aber nicht! Wenn ich die Verschluselung auskomenture, dann Ja!
Im log bekome ich folgendes:
Dec 10 14:16:46 tuxsrv pptpd[6175]: MGR: Launching /usr/sbin/pptpctrl to handle client
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: local address = 192.168.2.1
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: remote address = 192.168.3.101
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: pppd speed = 115200
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: pppd options file = /etc/ppp/options.ppp0
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Client 85.72.163.24 control connection started
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Received PPTP Control Message (type: 1)
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Made a START CTRL CONN RPLY packet
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: I wrote 156 bytes to the client.
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Sent packet to client
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Received PPTP Control Message (type: 7)
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Made a OUT CALL RPLY packet
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Starting call (launching pppd, opening GRE)
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: pty_fd = 5
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: tty_fd = 6
Dec 10 14:16:46 tuxsrv pptpd[6176]: CTRL (PPPD Launcher): Connection speed = 115200
Dec 10 14:16:46 tuxsrv pptpd[6176]: CTRL (PPPD Launcher): local address = 192.168.2.1
Dec 10 14:16:46 tuxsrv pptpd[6176]: CTRL (PPPD Launcher): remote address = 192.168.3.101
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: I wrote 32 bytes to the client.
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Sent packet to client
Dec 10 14:16:46 tuxsrv pppd[6176]: The remote system is required to authenticate itself
Dec 10 14:16:46 tuxsrv pppd[6176]: but I couldn't find any suitable secret (password) for it to use to do so.
Dec 10 14:16:46 tuxsrv pppd[6176]: (None of the available passwords would let it use an IP address.)
Dec 10 14:16:46 tuxsrv pptpd[6175]: Error reading from pppd: Input/output error
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Client 85.72.163.24 control connection finished
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Exiting now
Dec 10 14:16:46 tuxsrv pptpd[5327]: MGR: Reaped child 6175
Die Fehlermeldung besagt dass das Password irgent wie unbrauchbar ist.
Da stehe ich leider auf dem Schlauch.
Für jeden Tipp bin ich euch dankbar.
mfg Tshunsh :cool:
Ich bin ein wenig ratlos, was pptpd unter suse 9.1 eingeht.
Mein Hauptserver läuft mit suse 9.0 und hat mit vpn mittels pptpd kein Problem.
Nun bin ich dabei auf Kernel 2.6 zu migrieren, also suse 9.1 und da hapats noch am pptpd.
Alle Infos hier bezüglich pptpd passen nur für suse 9.0. Ich habe schon etwas raus gefunden, dass für
Kernel 2.6 relevant ist. Und zwar:
Die Datei /etc/pptpd.conf kann man weitgeend übernemen.
In /etc/modules.conf muss folgendes rein:
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias net-pf-47 ip_gre
In /etc/ppp/options.ppp0 (Dateiname abhenig von /etc/pptpd.conf)
lock
# debug
# name tuxsrv
auth
require-mppe-128 (neu!)
nobsdcomp
nodeflate
require-mschap-v2 (neu!)
# mtu 1000
# mru 1000
lcp-echo-failure 10
lcp-echo-interval 10
Damit solte es funktioniren, tut es aber nicht! Wenn ich die Verschluselung auskomenture, dann Ja!
Im log bekome ich folgendes:
Dec 10 14:16:46 tuxsrv pptpd[6175]: MGR: Launching /usr/sbin/pptpctrl to handle client
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: local address = 192.168.2.1
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: remote address = 192.168.3.101
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: pppd speed = 115200
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: pppd options file = /etc/ppp/options.ppp0
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Client 85.72.163.24 control connection started
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Received PPTP Control Message (type: 1)
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Made a START CTRL CONN RPLY packet
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: I wrote 156 bytes to the client.
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Sent packet to client
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Received PPTP Control Message (type: 7)
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Made a OUT CALL RPLY packet
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Starting call (launching pppd, opening GRE)
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: pty_fd = 5
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: tty_fd = 6
Dec 10 14:16:46 tuxsrv pptpd[6176]: CTRL (PPPD Launcher): Connection speed = 115200
Dec 10 14:16:46 tuxsrv pptpd[6176]: CTRL (PPPD Launcher): local address = 192.168.2.1
Dec 10 14:16:46 tuxsrv pptpd[6176]: CTRL (PPPD Launcher): remote address = 192.168.3.101
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: I wrote 32 bytes to the client.
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Sent packet to client
Dec 10 14:16:46 tuxsrv pppd[6176]: The remote system is required to authenticate itself
Dec 10 14:16:46 tuxsrv pppd[6176]: but I couldn't find any suitable secret (password) for it to use to do so.
Dec 10 14:16:46 tuxsrv pppd[6176]: (None of the available passwords would let it use an IP address.)
Dec 10 14:16:46 tuxsrv pptpd[6175]: Error reading from pppd: Input/output error
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Client 85.72.163.24 control connection finished
Dec 10 14:16:46 tuxsrv pptpd[6175]: CTRL: Exiting now
Dec 10 14:16:46 tuxsrv pptpd[5327]: MGR: Reaped child 6175
Die Fehlermeldung besagt dass das Password irgent wie unbrauchbar ist.
Da stehe ich leider auf dem Schlauch.
Für jeden Tipp bin ich euch dankbar.
mfg Tshunsh :cool: