From nobody@FreeBSD.org  Wed Mar  1 11:52:39 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 50C1B16A420
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Mar 2006 11:52:39 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 04A9743D46
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Mar 2006 11:52:39 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k21BqcrB062830
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 1 Mar 2006 11:52:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k21Bqclm062829;
	Wed, 1 Mar 2006 11:52:38 GMT
	(envelope-from nobody)
Message-Id: <200603011152.k21Bqclm062829@www.freebsd.org>
Date: Wed, 1 Mar 2006 11:52:38 GMT
From: Ruijiang li <0419052@fudan.edu.cn>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wireless card  can not work in adhoc mode
X-Send-Pr-Version: www-2.3

>Number:         93978
>Category:       kern
>Synopsis:       [ipw] wireless card can not work in adhoc mode
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 01 12:00:18 GMT 2006
>Closed-Date:    Fri Sep 01 22:22:00 GMT 2006
>Last-Modified:  Fri Sep 01 22:22:00 GMT 2006
>Originator:     Ruijiang li
>Release:        FreeBSD 6.0
>Organization:
Fudan university
>Environment:
FreeBSD lith.3322.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Feb 14 11:41:03 CST 2006     root@lith.3322.org:/usr/obj/usr/src/sys/CUSTOM_6  i386
>Description:
    The machine running windows is set to adhoc mode. 
    ssid is cat

    On FreeBSD machine, I type:
    ----------------------------------
    ipwcontrol -f /usr/local/share/ipw-firmware/ipw-i.fw
    ifconfig ipw0 mediaopt adhoc
    ifconfig ipw0 ssid cat
    ifconfig ipw0 192.168.0.1 netmask 255.255.255.0
    ifconfig ipw0 up
    -------------------------------------
    the led of wireless is on. 

    then the windows machine says that it has detected a wireless network..
    I choose join..and it said that the signal is very good.

    But the windows machine can not receive any packet...and it was sending packet continually. 

    when I
    ---------------------
    sysctl net.wlan.debug=-1
    sysctl net.wlan.0.debug=-1
    --------------------
    the first tty said that:

    "discard frame, not to bss"

    continually
    -------------------------------------
    I am sure that my wireless card is good, and the windows machine's
    setting is right, because the wireless worked when I run Windows.

    My machine is 

    IBM thinkpad T42
    and my wireless card is 

    ipw0: <Intel(R) PRO/Wireless 2100 MiniPCI> mem 0xc0210000-0xc0210fff irq 11 at device 2.0 on pci2
    ipw0: Ethernet address:xxxxxxxxxx



>How-To-Repeat:
    The machine running windows is set to adhoc mode. 
    ssid is cat

    On FreeBSD machine, I type:
    ----------------------------------
    ipwcontrol -f /usr/local/share/ipw-firmware/ipw-i.fw
    ifconfig ipw0 mediaopt adhoc
    ifconfig ipw0 ssid cat
    ifconfig ipw0 192.168.0.1 netmask 255.255.255.0
    ifconfig ipw0 up
    -------------------------------------
    the led of wireless is on. 

    then the windows machine says that it has detected a wireless network..
    I choose join..and it said that the signal is very good.

    But the windows machine can not receive any packet...and it was sending
    packet continually. 

    when I
    ---------------------
    sysctl net.wlan.debug=-1
    sysctl net.wlan.0.debug=-1
    --------------------
    the first tty said that:"discard frame, not to bss"continually

     

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Mar 21 00:29:41 UTC 2006 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93978 
State-Changed-From-To: open->closed 
State-Changed-By: sam 
State-Changed-When: Fri Sep 1 22:21:41 UTC 2006 
State-Changed-Why:  
this is a dup of kern/84861; consolidate 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93978 
>Unformatted:
