Date: Fri, 27 Mar 2009 18:59:44 -0700 From: "Kevin Oberman" <oberman@es.net> To: Jason Nordwick <jnordwick@gmail.com> Cc: freebsd-mobile@freebsd.org Subject: Re: Switching from wired to wireless getting "network down" Message-ID: <20090328015944.D382F1CC09@ptavv.es.net> In-Reply-To: Your message of "Fri, 27 Mar 2009 10:04:29 PDT." <e5e3f0880903271004l6e557401gc2e0468d809e623b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Fri, 27 Mar 2009 10:04:29 -0700 > From: Jason Nordwick <jnordwick@gmail.com> > Sender: owner-freebsd-mobile@freebsd.org > > This appears to be the case. "route get 192.168.1.1" (my netgear wireless) > shows that it still wants to use bfe0 instead of the wpi0 interface. How do > I get it so that when I unplug my cable and my wireless is up, it changes > the routing table? > > -j > > > On Fri, Mar 27, 2009 at 9:31 AM, Jason Nordwick <jnordwick@gmail.com> wrote: > > > I just updated to the current -STABLE (7.2-PRERELEASE is the same thing? > > hopefully). > > > > When I boot with the network cable plugged in, but then try to unplug it > > and up my wireless, it doesn't seem to work although the ifconfig shows I am > > joined to my wireless network. Is there some magic I need to do to reset the > > routing tables or something? It make it really hard to follow a thread. > Why not? > > Please don't top post. Depends on your configuration. Do you use DHCP or static network configurations? If it is DHCP, I suspect /etc/rc.d/dhclient restart would do the trick. If it is status: route add default abc.def.gh.ij should do the trick. Going the other way can be a tiny bit more involved. 'ifconfig wlan0 down' first or 'route delete default' to get rid of the current static. (Note: wlan0 on stable needs to be replaced with the name of your wireless interface.) -- 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 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090328015944.D382F1CC09>