Re: Default route and laptop suspend

Paul de Weerd <[email protected]> Tue, 17 May 2005 17:27:02 +0200
Newsgroups gmane.os.openbsd.ipv6
Message-ID <[email protected]>
On Tue, May 17, 2005 at 02:40:47PM +0000, Christian Weisgerber wrote:
| You have a station that uses IPv6 autoconfiguration to obtain its
| address and the default route.  Now you temporarily stop that
| station, e.g. it's a laptop and you put it into suspend mode.  When
| you reawaken it some time later, the default route is gone and you
| either have to explicitly call rtsol(8) or wait some minutes for
| the next regular router advertisement to fly by.
|
| This is somewhat annoying and I don't understand why the route
| disappears in the first place.

You could try running rtsold(8) on the interface. From the manpage :

     o   The interface is up after a temporary interface failure.  rtsold de-
         tects such failures by periodically probing to see if the status of
         the interface is active or not.  Note that some network cards and
         drivers do not allow the extraction of link state.  In such cases,
         rtsold cannot detect the change of the interface status.

Although I'm not sure what suspending your machine does to the link
state, I think this should do what you want.

Cheers,

Paul 'WEiRD' de Weerd

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]