Re: ppp not removing address when disconnected

2010-05-05 Thread John Bayly
On 05/05/2010 17:14, Gary Palmer wrote: On Wed, May 05, 2010 at 04:55:51PM +0100, John Bayly wrote: Am I missing something in /etc/ppp/ppp.conf that tells ppp to remove the address when a connection is down? My workaround is: # cat /etc/ppp/ppp.linkdown provider: shell /bin/

Re: ppp not removing address when disconnected

2010-05-05 Thread Gary Palmer
On Wed, May 05, 2010 at 04:55:51PM +0100, John Bayly wrote: > Am I missing something in /etc/ppp/ppp.conf that tells ppp to remove the > address when a connection is down? My workaround is: # cat /etc/ppp/ppp.linkdown provider: shell /bin/sh -c "/sbin/route delete default" shell

ppp not removing address when disconnected

2010-05-05 Thread John Bayly
I'm using ppp on FreeBSD 7.2-RELEASE. Got this immensely annoying issue that when the ADSL connection drops the IP address isn't being removed from the tun interface, making it look like the connection is still up. I've tries this in interactive mode: Using interface: tun0 ppp ON router>