Re: Default route doesn't change to wireless device (ath0)

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Thu, 1 Sep 2005 14:41:13 -0700
On Thu, Sep 01, 2005 at 02:26:45PM -0700, Kevin Oberman wrote:
> > Date: Thu, 1 Sep 2005 13:01:38 -0700 (PDT)
> > From: Jon Dama <jd_at_ugcs.caltech.edu>
> > Sender: owner-freebsd-current_at_freebsd.org
> > 
> > Flush the routing table or at least delete the default entry in a
> > start_if.ath0 script.
> 
> This is obvious, but does not answer the question: "Can't that be done
> automatically on plugging in either?"
> 
> As I recall, when the OpenSSH dhclient was added, one of the things it
> was supposed to do was flush the routing table. This never seems to have
> happened and I'm not sure I'd want it to.
> 
> Maybe devd could automate it? (I think I'm going to try that.)

devd is probably not the answer.

Right now, we refuse to modify the default route if another interface
has it, but the expected behavior is probably to modify it even if it's
on another interface if that interface is down.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Thu Sep 01 2005 - 19:41:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC