From owner-freebsd-mobile Wed Sep 19 13:39:16 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by hub.freebsd.org (Postfix) with ESMTP id 29A1C37B406 for ; Wed, 19 Sep 2001 13:39:12 -0700 (PDT) Received: from vivi.cc.vt.edu (IDENT:mirapoint@vivi.cc.vt.edu [198.82.161.183]) by lennier.cc.vt.edu (8.11.4/8.11.4) with ESMTP id f8JKd9n491308; Wed, 19 Sep 2001 16:39:09 -0400 (EDT) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by vivi.cc.vt.edu (Mirapoint) with ESMTP id ACH41591; Wed, 19 Sep 2001 16:39:08 -0400 (EDT) Received: from mail.vt.edu (gkar.cc.vt.edu [198.82.161.190]) by lennier.cc.vt.edu (8.11.4/8.11.4) with ESMTP id f8JKd7h507264; Wed, 19 Sep 2001 16:39:07 -0400 (EDT) Received: from psych.ward.vt.edu ([128.173.242.19]) by gkar.cc.vt.edu (Sun Internet Mail Server sims.3.5.2001.05.04.11.50.p10) with SMTP id <0GJX00H0VG16HV@gkar.cc.vt.edu>; Wed, 19 Sep 2001 16:39:06 -0400 (EDT) Date: Wed, 19 Sep 2001 16:39:06 -0400 From: Daniel Fisher Subject: Re: how to setup wireless card In-reply-to: <200109192002.f8JK2VR13988@ptavv.es.net> To: Kevin Oberman Cc: freebsd-mobile@FreeBSD.ORG Reply-To: daniel.fisher@vt.edu Message-id: <01091916390606.03662@psych.ward.vt.edu> Organization: Virginia Tech MIME-version: 1.0 X-Mailer: KMail [version 1.2] Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8bit References: <200109192002.f8JK2VR13988@ptavv.es.net> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 19 September 2001 16:02, you wrote: > > Date: Wed, 19 Sep 2001 15:48:18 -0400 > > From: Daniel Fisher > > Sender: owner-freebsd-mobile@FreeBSD.ORG > > > > The card appears to be working fine. > > I can ping it's IP address externally, but only when fxp0 (ethernet port) > > is UP. I just can't seem to send data from the host. > > ifconfig says: > > wi0 is UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST > > fxp0 is UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST > > > > My guess is I need to configure FreeBSD to use both network devices. > > The issue is one of routing and the answer is dependent on just what > you want to do and how. Right now I suspect you have a default > pointing to the fxp card, so most traffic will go that way. > > Try 'netstat -rnf inet' and see what routing you have. You will likely > see a default pointing at the router on the Ethernet while there will > be a single route for the wireless subnet (along with loopback and LAN > local addresses for the Ethernet). > > Do you want to use the wireless or the Ethernet for external > connectivity? If you want to use the wireless, you need to change the > default to point to that interface. If you want to act as a router, > you will need to configure that, which might means using some routing > protocol, but likely means setting up static routes using the route > command. > > Looks like your 802.11b card is up and running. Now you just have to > tell the system how to use it. Good luck! > > 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 Thanks...that appears to be the problem. It feels good to have a wireless FreeBSD laptop. I was trying to have the option to use either device once the machine was booted. Does anyone know how to change the default route without rebooting? I tried: route delete default -interface fxp0 route add default -interface wi0 route flush This appears to set the correct route in netstat -r But it doesn't work. Thanks again for all the help. -- Daniel Fisher To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message