Try adding a ifconfig down statement to your delroute script. -

ifconfig $1 down

this will ensure that the device is brought down




On Wed, 24 May 2000, Neil Johnson wrote:
> I have noticed recently that after my diald machine has been running for
> a few days, it starts to create multiple PPP interfaces.  It has
> currently been up for 40 days and now has ppp6, it obviously started at
> ppp0.  I cannot seem to figure out how to force it to keep re-using the
> same interface ??
> 
> My machine is RH6.0, kernel 2.2.14 running diald-0.99.  Anyone have any
> ideas ?
> 
> 
> eth0      Link encap:Ethernet  HWaddr 00:A0:CC:53:BA:4C  
> lo        Link encap:Local Loopback  
> ppp0      Link encap:Point-to-Point Protocol  
> ppp1      Link encap:Point-to-Point Protocol  
> ppp2      Link encap:Point-to-Point Protocol  
> ppp3      Link encap:Point-to-Point Protocol  
> ppp4      Link encap:Point-to-Point Protocol  
> ppp5      Link encap:Point-to-Point Protocol  
> ppp6      Link encap:Point-to-Point Protocol  
> sl0       Link encap:Serial Line IP  
> 
> More Information...
> 
> root@router:/etc]# cat diald.conf 
> mode ppp
> connect /etc/ppp/connect
> device /dev/ttyS1
> speed 57600
> modem
> lock
> crtscts
> local 127.0.0.2
> remote 127.0.0.3
> dynamic
> defaultroute
> connect-timeout 60
> include /usr/lib/diald/standard.filter
> redial-timeout 1
> redial-backoff-start 50
> redial-backoff-limit 300
> dial-fail-limit 50
> up
> 
> 
> [root@router:/etc/ppp]# cat options
> bsdcomp 15,15
> deflate 15,15
> predictor1
> lock
> defaultroute
> noipdefault
> modem
> /dev/ttyS1
> 57600
> crtscts
> debug
> passive
> asyncmap 0
> 
> 
> 
> -----------------------------------------------------------
> Mediocrity requires aloofness to preserve it's dignity
> Tuesday, May 23, 2000
> http://www.suicidal.org
> IRC jonno[republica.xnet.org]
> Jonno's Workstation Uptime : 163 (Hours)
> ==========================================================
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
--
Mr Cornish Rex
 [EMAIL PROTECTED]

   Ignore Microsoft
    Get a real OS 

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to