Here is my /etc/ppp/ppp.conf:

 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device PPPoE:rl0
 set MTU 1492
 set MRU 1492
 set dial
 set crtscts off
 set speed sync
 accept lqr
 disable ipv6
 disable deflate
 disable pred1
 disable vjcomp
 disable acfcomp
 disable protocomp
 enable dns
 set ifaddr
 add default HISADDR
 set login
 set authname XXXXXXXXXX
 set authkey YYYYYYYYYY

 set MTU 1024
 set MRU 1024
 set authname XXXXXXXXXX
 set authkey YYYYYYYYYY
 set timeout 0
 set ifaddr 0 0
 alias enable yes
 disable ipv6
 disable deflate pred1
 deny deflate pred1

I don't have access to the vpn server but I'm sure it is mpd.

At boot time I'm running the dsl as:
ppp -quiet -ddial -nat dsl

after that pptp is executed as:
pptp a.b.c.d vpn &

And if, for example, I kill the pptp
both interfaces are shut (tun0 & tun1).
If something goes wrong and the connection to the vpn server dies then
again both interfaces are shut.

I forgot to mention that I'm running:
FreeBSD 4.7-STABLE #4: Sat Jan 25 16:21:48 CET 2003


On Sun, 2 Feb 2003, Bill Moran wrote:

> Alexander wrote:
> > Hello
> >
> > I'm having problems running both pppoe and pptp.
> > I'm using pppoe to connect to the internet.
> >
> > Using pppoe makes tun0 device with dynamic IP given from the ISP.
> > Also I'm using pptp to connect to a VPN. pptp creates tun1 interface with
> > the proper local addresses (i.e. ->
> >
> > When I start pptp after the pppoe connection is initialized
> > it is going well for a minute and then it disconnects resetting both
> > interfaces (tun0 and tun1) and I lose my internet connection and have to
> > start ppp again.
> That's odd.  I don't see any reason why pptp disconnecting should reset the
> tun0 interface.
> > I can't find good documentation about the pptp. The only thing I can find
> > is readme telling me what should I edit from the config file and a very short
> > example config file (about 10 lines).
> Are you using mpd?  What is the server?
> Can you send the list a copy of the mpd.conf from both machines (client & server)
> or whatever config file is relevent.
> > If You know what is or might be the problem, pls help.
> Make sure multilink is disabled at both ends of the pptp link
> --
> Bill Moran
> Potential Technologies

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to