From owner-freebsd-mobile@FreeBSD.ORG Thu Feb 19 08:59:13 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34F4916A4CE for ; Thu, 19 Feb 2004 08:59:13 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1779643D1D for ; Thu, 19 Feb 2004 08:59:13 -0800 (PST) (envelope-from llewelly@xmission.com) Received: from [198.60.22.201] (helo=mgr1.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AtrW2-0000Lv-02; Thu, 19 Feb 2004 09:59:10 -0700 Received: from [198.60.22.20] (helo=xmission.xmission.com) by mgr1.xmission.com with esmtp (Exim 4.30) id 1AtrW1-0001Yw-Sf; Thu, 19 Feb 2004 09:59:09 -0700 Received: from llewelly by xmission.xmission.com with local (Exim 3.35 #1 (Debian)) id 1AtrW1-0004wm-00; Thu, 19 Feb 2004 09:59:09 -0700 To: "James A. Feister" References: <20040218034636.94404.qmail@web60504.mail.yahoo.com> From: llewelly@xmission.com Date: 19 Feb 2004 09:59:09 -0700 In-Reply-To: <20040218034636.94404.qmail@web60504.mail.yahoo.com> Message-ID: Lines: 82 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Sender: Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mgr1.xmission.com X-Spam-Level: X-Spam-Status: No, hits=0.3 required=8.0 tests=NO_REAL_NAME autolearn=no version=2.63 X-SA-Exim-Mail-From: llewelly@xmission.com X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003) X-SA-Exim-Scanned: Yes cc: freebsd-mobile@freebsd.org Subject: Re: wifi X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 16:59:13 -0000 "James A. Feister" writes: > I have a netgear WG511t wireless card on a dell > inspiron 1550. I am using the current freebsd > release. I don't understand what you mean by 'the current release' - do you mean 4.9, 5.2, 5.2.1, 5.2-current cvsupped whenever ... 4.9 is the most recent production release. 5.2 is the most recent development relase. I believe there are 5.2.1 release cannidate iso images availible. Could you post the output of 'uname -a' ? > When inserted on boot-up the card dose not get > recognized. I do have > the ath and ath_hal in my kernel. > On first insertion after boot up a message comes back: > cbb0: CardBus card activation failed > When reinserted the second time I get the following: > ath0: mem 0xf6010000-0xf601ffff irq 16 > at device 0.0 on cardbus0 > ath0: mac 5.6 phy 4.1 5ghz radio 4.6 > ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps > 9Mbps 12Mbps 18Mbps 24Mbps 36M > bps 48Mbps 54Mbps > ath0: 802.11 address: 00:09:5b:95:16:fa > > I then run ifconfig: > ifconfig ath0 ssid wepmode on wepkey > 0x<26char wep key here> > > then again with the following output: > ath0: flags=8802 mtu 1500 > ether 00:09:5b:95:16:fa > media: IEEE 802.11 Wireless Ethernet > autoselect > status: no carrier 'no carrier' usually means you are too far from the access point or other antenna. Sometimes walls and furniture can block transmissions, so don't just assume you are close enough, make sure you are close enough. Additionally, double check the configuration of the other end. > ssid MCNET2002 1:MCNET2002 > channel -1 authmode OPEN powersavemode OFF You may be missing a channel option (channel -1 is not a valid channel): # ifconfig ath0 channel 11 > powersavesleep 100 > wepmode MIXED weptxkey 1 > wepkey 1:104-bit > > from there I've got nothing. can not ping, no ip. Is > there something I am missing. If you do not plan on bridging the wireless nic to another nic, you are missing an ip address. You can set it like this: # ifconfig ath0 192.168.0.20 And test to see if you can ping the interface: $ ping -c5 192.168.0.20 If you wish to DHCP your box, see the appropriate handbook section: http://xrl.us/bhoq If you are trying to configure your box as a wireless access point, you are missing 'mediaopt hostap' : # ifconfig ath0 mediaopt hostap There is an example in the handbook: http://xrl.us/bhom , and one in the ath(4) man page. Note that your wireless nic does not need an ip address if you are setting up a bridged access point.