Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2005 14:00:01 +0400 (MSD)
From:      Denis Shaposhnikov <dsh@vlink.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dsh@neva.vlink.ru, Sam Leffler <sam@errno.com>
Subject:   kern/84861: still can't get working ipw(4) with adhoc
Message-ID:  <200508131000.j7DA01iQ050130@neva.vlink.ru>
Resent-Message-ID: <200508131000.j7DA0bwr049130@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         84861
>Category:       kern
>Synopsis:       still can't get working ipw(4) with adhoc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 13 10:00:36 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Denis Shaposhnikov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
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<BROADCAST,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:04:23:a0:55:1f
        media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (autoselect <ibss>)
        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<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:04:23:a0:55:1f
        media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (autoselect <ibss>)
        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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <adhoc> (autoselect <ibss>)
        status: associated
        ssid betty channel 1 bssid 5a:80:44:bb:91:1c
        authmode OPEN privacy OFF txpowmax 100 rtsthreshold 2312

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508131000.j7DA01iQ050130>