From owner-freebsd-current@FreeBSD.ORG Wed Aug 3 08:29:27 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55BA216A41F for ; Wed, 3 Aug 2005 08:29:27 +0000 (GMT) (envelope-from dsh@vlink.ru) Received: from deliver.smtp.vlink.ru (alias.rigel.internal.vlink.ru [217.23.88.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id B00F143D48 for ; Wed, 3 Aug 2005 08:29:26 +0000 (GMT) (envelope-from dsh@vlink.ru) Received: from smtp.smtp.vlink.ru (clamav.smtp.vlink.ru [192.168.4.1]) by deliver.smtp.vlink.ru (Postfix) with ESMTP id C34A9451EA for ; Wed, 3 Aug 2005 12:29:23 +0400 (MSD) Received: from neva.vlink.ru (neva.vlink.ru [217.107.252.29]) by smtp.smtp.vlink.ru (Postfix) with ESMTP id 7A13D4516B for ; Wed, 3 Aug 2005 12:29:23 +0400 (MSD) Received: from neva.vlink.ru (localhost [127.0.0.1]) by neva.vlink.ru (8.13.4/8.13.4) with ESMTP id j738TLeP008334 for ; Wed, 3 Aug 2005 12:29:21 +0400 (MSD) (envelope-from dsh@vlink.ru) Received: (from dsh@localhost) by neva.vlink.ru (8.13.4/8.13.4/Submit) id j738TLJU008331; Wed, 3 Aug 2005 12:29:21 +0400 (MSD) (envelope-from dsh@vlink.ru) X-Comment-To: Sam Leffler To: freebsd-current@freebsd.org References: <200508022252.33933.nike_d@cytexbg.com> <42F0302C.7080009@errno.com> From: Denis Shaposhnikov Date: Wed, 03 Aug 2005 12:29:21 +0400 In-Reply-To: <42F0302C.7080009@errno.com> (Sam Leffler's message of "Tue, 02 Aug 2005 19:47:08 -0700") Message-ID: <87y87jwhi6.fsf@neva.vlink.ru> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: if_ipw problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2005 08:29:27 -0000 >>>>> "Sam" == Sam Leffler writes: >> i discovered is that when i do ifconfig ipw0 scan there is always >> one 'fake network' without SSID and with zero macaddr : >> # ifconfig ipw0 scan >> SSID BSSID CHAN RATE S:N INT CAPS 00:00:00:00:00:00 11 0M 0:0 0 >> office.ss 00:0f:66:11:13:1e 11 54M 29:0 100 EP WPA This looks >> really odd, and i can't reproduce it with other wlan cards. Sam> Shouldn't matter. I have the same fake net and ipw doesn't work with adhoc: # ifconfig ipw0 name wifi0 # ipwcontrol -i wifi0 -f ipw2100-1.3-i.fw # ifconfig wifi0 ssid betty media DS/11Mbps mode 11b mediaopt adhoc # ifconfig wifi0 wifi0: flags=8802 mtu 1500 ether 00:04:23:a0:55:1f media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b (autoselect ) status: no carrier ssid betty channel 2 authmode OPEN privacy OFF txpowmax 100 rtsthreshold 2312 As you can see, ssid is here. But # ifconfig wifi0 inet 192.168.0.2/24 up # ifconfig wifi0 wifi0: flags=8843 mtu 1500 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:04:23:a0:55:1f media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b (autoselect ) status: associated ssid "" channel 2 authmode OPEN privacy OFF txpowmax 100 rtsthreshold 2312 I have no ssid after up. And I can't ping my peer. For example, that is output of "ifconfig wifi0" from ipw-freebsd-1.7.1 (from damien's site), which I used on CURRENT before API was changed: wifi0: flags=8843 mtu 1500 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:04:23:a0:55:1f media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: associated ssid betty channel 1 bssid be:92:66:95:01:5e authmode OPEN privacy OFF txpowmax 100 rtsthreshold 2312 It works OK on FreeBSD localhost.my.domain 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Jun 10 21:52:01 MSD 2005 dsh@localhost.my.domain:/var/FreeBSD/obj/var/FreeBSD/src/sys/WIZARD i386 I think something wrong with FreeBSD's net80211 layer. -- DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/