From owner-freebsd-current@FreeBSD.ORG Sat Aug 13 10:10: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 BE7BB16A41F for ; Sat, 13 Aug 2005 10:10: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 42F4443D45 for ; Sat, 13 Aug 2005 10:10:06 +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 049AC45159 for ; Sat, 13 Aug 2005 14:10:05 +0400 (MSD) Received: from neva.vlink.ru (neva.vlink.ru [217.107.252.29]) by smtp.smtp.vlink.ru (Postfix) with ESMTP id B3A9F450FF for ; Sat, 13 Aug 2005 14:10:04 +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 j7DAA273050259 for ; Sat, 13 Aug 2005 14:10:02 +0400 (MSD) (envelope-from dsh@vlink.ru) Received: (from dsh@localhost) by neva.vlink.ru (8.13.4/8.13.4/Submit) id j7DAA2oO050256; Sat, 13 Aug 2005 14:10:02 +0400 (MSD) (envelope-from dsh@vlink.ru) To: freebsd-current@freebsd.org From: Denis Shaposhnikov Date: Sat, 13 Aug 2005 14:10:02 +0400 Message-ID: <877jeqno5h.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: still can't get working ipw(4) with adhoc 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: Sat, 13 Aug 2005 10:10:27 -0000 System: FreeBSD localhost.my.domain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Aug 12 22:53:24 MSD 2005 dsh@localhost.my.domain:/var/FreeBSD/obj/var/FreeBSD/src/sys/WIZARD i386 and 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 too. >Description: Can't get working ipw(4) association in adhoc mode with FreeBSD's ipw. Before, I'vi been using ipw-1.7.1 from damien's site but can't use it now because API change. >How-To-Repeat: # kldload if_ipw # ifconfig ipw0 name wifi0 # ipwcontrol -i wifi0 -f /usr/local/share/ipw-firmware/ipw2100-1.3-i.fw # ifconfig wifi0 wifi0: flags=8802 mtu 1500 ether 00:04:23:a0:55:1f media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 1 authmode OPEN privacy OFF txpowmax 100 # ifconfig wifi0 mediaopt adhoc ssid betty up # ifconfig wifi0 wifi0: flags=8843 mtu 1500 ether 00:04:23:a0:55:1f media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: associated ssid "" channel 2 authmode OPEN privacy OFF txpowmax 100 As you see SSID is "". But # ifconfig wifi0 ssid betty scan SSID BSSID CHAN RATE S:N INT CAPS betty 2e:83:12:9a:21:a1 2 11M 58:0 100 I # ifconfig wifi0 down # ifconfig wifi0 wifi0: flags=8802 mtu 1500 ether 00:04:23:a0:55:1f media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: no carrier ssid betty channel 2 authmode OPEN privacy OFF txpowmax 100 >Fix: Please, take a look to ipw-1.7.1. For example, this is for ipw-1.7.1 on CURRENT from Fri Jun 10 21:52:01 MSD 2005: # 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 autoselect (autoselect ) status: associated ssid betty channel 1 bssid 5a:80:44:bb:91:1c authmode OPEN privacy OFF txpowmax 100 rtsthreshold 2312 -- DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/