Re: poptop freebsd 4.9

From: Christian Gründemann <christian(at)gruendemann.com>
Date: Thu, 26 Feb 2004 10:18:53 +0100

Hallo Otto,

nein, rc.conf ist zwar angepasst und selbst geschrieben, aber
da dürfte nix drinstehen, was ppp beeinflussen sollte.
Beim Kernel das gleiche.

device ppp # Kernel PPP

muß rein, aber ich denke, das ist klar.

Hast Du ein Leerzeichen vor dem "set"? ppp ist zeimlich
pingelig, was das angeht.

Anonsten schicke mir nochmal dein ppp.conf file
als Attachment.

Viele Grüße,
Christian

> hallo christian!
>
> erst mal danke für deine antwort. pptp server mit mpd war keine mühe was
> ich von poptop nicht behaupten kann :(.
> ich hab deine config übernommen und bekomm immer übern syslogd folgende
> fehler zurück:
>
> Feb 25 14:24:43 ns2 pppd[2505]: In file /etc/ppp/ppp.conf: unrecognized
> option 'set'
> Feb 25 14:24:43 ns2 pptpd[2504]: GRE: read(fd=5,buffer=804d500,len=8196)
> from PTY failed: status = 0 error = No error
> Feb 25 14:24:43 ns2 pptpd[2504]: CTRL: PTY read or GRE write failed
> (pty,gre)=(5,6)
>
> hast du in der rc.conf irgendwas relewantes gesetzt? oder was im kernel
> was nicht standart ist und damit zu tun haben könnte?
>
> otto
>
> Christian Gründemann wrote:
>
> >Hallo Otto,
> >
> >die Anleitung kenne ich auch.
> >Ich erinnere mich so dunkel, dass ich genau das gleiche
> >Problem hatte wie du! Allerdings weiß ich nicht mehr
> >wie ich das Problem gelöst habe, es hatte jedenfalls nix
> >mit pptpd zu tun, sondern mit dem ppp. Ich schick dir
> >einfach mal meine funktionierenden config files. Es funktioniert
> >bei mir unter 5.1 und 5.2.
> >
> >__pptpd.conf:
> >option /etc/ppp/ppp.conf
> >debug
> >localip 192.168.0.1
> >remoteip 192.168.0.10-30
> >
> >__ppp.conf
> >loop:
> > disable ipv6cp
> > set timeout 0
> > set log phase chat connect lcp ipcp command
> > set device localhost:pptp
> > set dial
> > set login
> > set ifaddr 192.168.0.1 192.168.0.10-192.168.0.30 255.255.255.0
> > add default HISADDR
> > set server /tmp/loop "" 0177
> >
> >loop-in:
> > set timeout 0
> > set log phase lcp ipcp command
> > allow mode direct
> >
> >pptp:
> > disable ipv6cp
> > load loop
> > enable chap
> > disable pap
> > enable mschapv2 mppe
> > set mppe * *
> > accept dns
> > # DNS Servers to assign client
> > set dns 141.x..x.x
> > # NetBIOS/WINS Servers to assign client
> > set nbns 192.168.23.1
> > set device !/etc/ppp/secure
> >
> >
> >wichtig ist, dass Du die Verschlüsselung mit
> >enable mschapv2 mppe
> >set mppe * *
> >aktivierst. Bei den Windows Client mußt Du dann
> >die mschapv2 angeben.
> >
> >
> >Bei mir funktionert der pptpd daemon wirklich
> >hervorragend, auch wenn die Inbetriebnahme etwas
> >Zeit gefordert hat. Jedenfalls läuft er stabil, sowohl unter
> >Last wie auch unter vielen unterschiedlichen zeitgleichen
> >Anmeldungen.
> >
> >Ach ja, wenn Du weist woran es lag, lass es mich bitte wissen!
> >
> >Viel Erfolg,
> >Christian
> >
> >
> >
> >>hallo christian!
> >>
> >>
> >
> >
> >
> >>also erst mal danke für die antwort :)
> >>
> >>Christian Gründemann wrote:
> >>
> >>
> >>
> >>>Hallo Otto,
> >>>
> >>>was funktioniert denn nicht? Welches Howto (Windows/Unix)
> >>>meinst du?
> >>>
> >>>
> >>>
> >>>
> >>>
> >>also ich hab mir diese anleitung gefunden:
> >>http://heyer.supranet.net/pptp
> >>
> >>starten tu ich pptpd:
> >>/usr/local/sbin/pptpd --debug -l 213.225.xxx.xx --fg -c
> >>/usr/local/etc/pptpd.conf
> >>
> >>/usr/sbin/pppd: unknown host: loop
> >>Feb 24 23:37:15 gate pppd[2376]: unknown host: loop
> >>Feb 24 23:37:15 gate pptpd[2375]: GRE:
> >>read(fd=5,buffer=804da80,len=8196) from PTY failed: status = 0 error =
> >>No error
> >>Feb 24 23:37:15 gate pptpd[2375]: CTRL: PTY read or GRE write failed
> >>(pty,gre)=(5,6)
> >>
> >>meine config:
> >>also secure und ppp.secret brauchst du ja nicht :)
> >>
> >>pptpd.conf:
> >>option /etc/ppp/ppp.conf
> >>#listen 208.212.80.82
> >>localip 10.0.20.1
> >>remoteip 10.0.20.130-139
> >>pidfile /var/run/pptpd.pid
> >>
> >>ppp.conf:
> >>loop:
> >> set timeout 0
> >> set log phase chat connect lcp ipcp command
> >> set device localhost:pptp
> >> set dial
> >> set login
> >> # Server (local) IP address, Range for Clients, and Netmask
> >> set ifaddr 10.0.20.1 10.0.20.130-10.0.20.139 255.255.255.255
> >> set server /tmp/loop "" 0177
> >>
> >>loop-in:
> >> set timeout 0
> >> set log phase lcp ipcp command
> >> allow mode direct
> >>
> >>pptp:
> >> load loop
> >> enable chap
> >> disable pap
> >> # Authenticate against /etc/passwd
> >> ##enable passwdauth
> >> enable proxy
> >> accept dns
> >> # DNS Servers to assign client
> >> set dns 10.0.20.1
> >> # NetBIOS/WINS Servers to assign client
> >> set nbns 10.0.20.1
> >> set device !/etc/ppp/secure
> >>
> >>
> >>
> >>>Wenn Du es aus den Ports installiert, achte drauf, das die
> >>>--with-bsdppp Var. gesetzt ist.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>hab ich gemacht. stand auch in der anleitung so drin.
> >>
> >>
> >>
> >>>Viele Grüße,
> >>>Christian
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>otto
> >>
> >>
> >>
> >>>
> >>>
> >>>>hallo!
> >>>>
> >>>>ich ärger mich gerade über poptop. weiß jemand ein how to das auch
> >>>>funktioniert?
> >>>>
> >>>>otto
> >>>>
> >>>>--
> >>>>-----------------------------------
> >>>>Otto Kucera
> >>>>A-1020 Wien Engerthstrasse 137/6/7
> >>>>Tel: +43 699 1 942 30 91 [neue Nummer!]
> >>>>Email: ok(at)72pixel.at
> >>>>Icq: 65351173
> >>>>-----------------------------------
> >>>>
> >>>>And root said rm -rf / ......and there was nothing
> >>>>*BSD is like a wigwam: NO windows, NO gates and an Apache inside!
> >>>>
> >>>>Your mailserver MUST resolve properly (Fully Qualified Domain Name) or
> >>>>
> >>>>
> >the
> >
> >
> >>>>
> >>>>
> >>>mail will not go through!
> >>>
> >>>
> >>>
> >>>
> >>>>To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
> >>>>with "unsubscribe de-bsd-questions" in the body of the message
> >>>>
> >>>>
> >>>>
> >>>>
> >>>To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
> >>>with "unsubscribe de-bsd-questions" in the body of the message
> >>>
> >>>
> >>>
> >>>
> >>>
> >>--
> >>-----------------------------------
> >>Otto Kucera
> >>A-1020 Wien Engerthstrasse 137/6/7
> >>Tel: +43 699 1 942 30 91 [neue Nummer!]
> >>Email: ok(at)72pixel.at
> >>Icq: 65351173
> >>-----------------------------------
> >>
> >>And root said rm -rf / ......and there was nothing
> >>*BSD is like a wigwam: NO windows, NO gates and an Apache inside!
> >>
> >>Your mailserver MUST resolve properly (Fully Qualified Domain Name) or
the
> >>
> >>
> >mail will not go through!
> >
> >
> >>To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
> >>with "unsubscribe de-bsd-questions" in the body of the message
> >>
> >>
> >
> >
> >
>
>
> --
> -----------------------------------
> Otto Kucera
> A-1020 Wien Engerthstrasse 137/6/7
> Tel: +43 699 1 942 30 91 [neue Nummer!]
> Email: ok(at)72pixel.at
> Icq: 65351173
> -----------------------------------
>
> And root said rm -rf / ......and there was nothing
> *BSD is like a wigwam: NO windows, NO gates and an Apache inside!
>
> Your mailserver MUST resolve properly (Fully Qualified Domain Name) or the
mail will not go through!
>
>
> To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
> with "unsubscribe de-bsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 26 Feb 2004 - 10:27:07 CET

search this site