> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> On Behalf Of Arnaud Bergeron
> Sent: Wednesday, 19 April 2006 9:57 AM
> To: misc@openbsd.org
> Cc: Brendan Grossman
> Subject: Re: pppoe
> 
> On Tue, Apr 18, 2006 at 11:52:47AM +0930, Brendan Grossman wrote:
> > Hi everyone
> >
> > To bring up a pppoe connection, I use ppp -ddial provider
> >
> > But how do I take it down?
> >
> > Also how do I remove old tunx devices?
> >
> > # ifconfig
> > tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
> >         inet 219.90.xxx.xxx --> 203.2.124.224 netmask 0xffffffff
> >         Opened by PID 71830
> > tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> > tun2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> >         inet 219.90.xxx.xxx --> 219.90.174.215 netmask 0xffffffff
> >
> > What the? How do I get rid of the others? tun0 seems to be 
> only in use 
> > there.
> 
> It seems strange to me that you have this problem because I 
> once had a setup similar to yours (under 3.4-3.5-3.6) and 
> never had this problem.
>  Maybe you did not do something right, maybe it's a bug but 
> without showing more info one can only guess.
> 
> The info required here would be the version you are running, 
> your ppp.conf file (sanitized to remove passwords, of course) 
> and your linkup and linkdown script if they contain anything.
> 
> On another topic, if you are running 3.7 or higher, you could 
> give the in-kernel pppoe a try, unless, of course, you have 
> already tried and some wierd thing your provider is doing 
> prevents it from working.

Hi Arnaud,

Running 3.8-stable

# linkup
MYADDR:
 ! sh -c "/sbin/pfctl -e -F all -f /etc/pf.conf"

No linkdown

# ppp.conf
default:
 set log Phase Chat IPCP CCP tun command
 set redial 15 0
 set reconnect 15 10000
isp:
 set device "!/usr/sbin/pppoe -i bce0"
 disable acfcomp protocomp
 deny acfcomp
 set mtu max 1492
 set speed sync
 enable lqr
 set lqrperiod 5
 set cd 5
 set dial
 set login
 set timeout 0
 set authname [EMAIL PROTECTED]
 set authkey xxxx
 add! default HISADDR
 #enable dns
 enable mssfixup

Cheers
Brendan

Reply via email to