still can't get working ipw(4) with adhoc

Denis Shaposhnikov dsh at neva.vlink.ru
Sat Aug 13 10:10:27 GMT 2005


System: FreeBSD localhost.my.domain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Aug 12 22:53:24 MSD 2005 dsh at 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 at 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

-- 
DSS5-RIPE DSS-RIPN 2:550/5068 at fidonet 2:550/5069 at fidonet
mailto:dsh at vlink.ru http://neva.vlink.ru/~dsh/


More information about the freebsd-current mailing list