[ previous ] [ next ] [ threads ]
 
 From:  Scott Newell <newell at n5tnl dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Delay reconnect attempts after WAN drops?
 Date:  Wed, 14 Sep 2011 09:53:32 -0500
Is there any way to delay the WAN reconnect?

We're running 1.3b4 on a Soekris 4521, behind the ISP provided DSL 
modem (an ancient Westel).  They've got us on a dynamic IP using 
PPPoE.  It's been great for a year or so, unless the telco has 
trouble and lets the connection drop.  In that case, it appears that 
the m0n0wall box is trying to reconnect too quickly.  I've had it sit 
all weekend long, reconnecting over and over again.  If I power off 
the DSL modem or unplug the phone line for a minute or so, the next 
reconnect works and we're good for a few more weeks.

Thoughts?

Here's a piece of the logfile showing the retries:

Sep 12 09:42:42	mpd: [pppoe] PPPoE connection timeout after 9 seconds
Sep 12 09:42:42	mpd: [pppoe] device: DOWN event in state OPENING
Sep 12 09:42:42	mpd: [pppoe] device is now in state DOWN
Sep 12 09:42:42	mpd: [pppoe] link: DOWN event
Sep 12 09:42:42	mpd: [pppoe] LCP: Down event
Sep 12 09:42:42	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:42:42	mpd: [pppoe] pausing 4 seconds before open
Sep 12 09:42:42	mpd: [pppoe] device is now in state DOWN
Sep 12 09:42:46	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:42:46	mpd: [pppoe] pausing 1 seconds before open
Sep 12 09:42:46	mpd: [pppoe] device is now in state DOWN
Sep 12 09:42:47	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:42:47	mpd: [pppoe] device is now in state OPENING
Sep 12 09:42:56	mpd: [pppoe] PPPoE connection timeout after 9 seconds
Sep 12 09:42:56	mpd: [pppoe] device: DOWN event in state OPENING
Sep 12 09:42:56	mpd: [pppoe] device is now in state DOWN
Sep 12 09:42:56	mpd: [pppoe] link: DOWN event
Sep 12 09:42:56	mpd: [pppoe] LCP: Down event
Sep 12 09:42:56	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:42:56	mpd: [pppoe] pausing 4 seconds before open
Sep 12 09:42:56	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:00	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:00	mpd: [pppoe] pausing 1 seconds before open
Sep 12 09:43:00	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:01	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:01	mpd: [pppoe] device is now in state OPENING
Sep 12 09:43:10	mpd: [pppoe] PPPoE connection timeout after 9 seconds
Sep 12 09:43:10	mpd: [pppoe] device: DOWN event in state OPENING
Sep 12 09:43:10	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:10	mpd: [pppoe] link: DOWN event
Sep 12 09:43:10	mpd: [pppoe] LCP: Down event
Sep 12 09:43:10	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:10	mpd: [pppoe] pausing 4 seconds before open
Sep 12 09:43:10	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:14	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:14	mpd: [pppoe] pausing 2 seconds before open
Sep 12 09:43:14	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:16	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:16	mpd: [pppoe] device is now in state OPENING
Sep 12 09:43:25	mpd: [pppoe] PPPoE connection timeout after 9 seconds
Sep 12 09:43:25	mpd: [pppoe] device: DOWN event in state OPENING
Sep 12 09:43:25	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:25	mpd: [pppoe] link: DOWN event
Sep 12 09:43:25	mpd: [pppoe] LCP: Down event
Sep 12 09:43:25	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:25	mpd: [pppoe] pausing 4 seconds before open
Sep 12 09:43:25	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:29	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:29	mpd: [pppoe] pausing 1 seconds before open
Sep 12 09:43:29	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:30	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:30	mpd: [pppoe] device is now in state OPENING
Sep 12 09:43:39	mpd: [pppoe] PPPoE connection timeout after 9 seconds
Sep 12 09:43:39	mpd: [pppoe] device: DOWN event in state OPENING
Sep 12 09:43:39	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:39	mpd: [pppoe] link: DOWN event
Sep 12 09:43:39	mpd: [pppoe] LCP: Down event
Sep 12 09:43:39	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:39	mpd: [pppoe] pausing 6 seconds before open
Sep 12 09:43:39	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:45	mpd: [pppoe] device: OPEN event in state DOWN
Sep 12 09:43:45	mpd: [pppoe] device is now in state OPENING
Sep 12 09:43:54	mpd: [pppoe] PPPoE connection timeout after 9 seconds
Sep 12 09:43:54	mpd: [pppoe] device: DOWN event in state OPENING
Sep 12 09:43:54	mpd: [pppoe] device is now in state DOWN
Sep 12 09:43:54	mpd: [pppoe] link: DOWN event
Sep 12 09:43:54	mpd: [pppoe] LCP: Down event

thanks,
newell