Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Sep 2005 14:26:45 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Jon Dama <jd@ugcs.caltech.edu>
Cc:        Jochen Gensch <incmc@gmx.de>, freebsd-current@freebsd.org
Subject:   Re: Default route doesn't change to wireless device (ath0) 
Message-ID:  <20050901212645.BE5615D07@ptavv.es.net>
In-Reply-To: Your message of "Thu, 01 Sep 2005 13:01:38 PDT." <Pine.LNX.4.53.0509011259170.30818@vomit.ugcs.caltech.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Thu, 1 Sep 2005 13:01:38 -0700 (PDT)
> From: Jon Dama <jd@ugcs.caltech.edu>
> Sender: owner-freebsd-current@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.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634


> On Thu, 1 Sep 2005, Jochen Gensch wrote:
> 
> > Hi!
> >
> > If I plug in my wireless nic (atheros) it comes up automatically through
> > wpa_supplicant. However the default route still points to my non wireless
> > nic (fxp0) even if remove the network cable before plugging in the wireless
> > device. I have found no way around this, the only way of getting the
> > default route changed to ath0 is setting in manually. Can't that be done
> > automatically on plugging in either?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050901212645.BE5615D07>