Re: if_ipw problems

From: Denis Shaposhnikov <dsh_at_neva.vlink.ru>
Date: Wed, 03 Aug 2005 12:29:21 +0400
>>>>> "Sam" == Sam Leffler <sam_at_errno.com> 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<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
	ether 00:04:23:a0:55:1f
	media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b <adhoc> (autoselect <ibss>)
	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<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 DS/11Mbps mode 11b <adhoc> (autoselect <ibss>)
	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<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 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_at_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_at_fidonet 2:550/5069_at_fidonet
mailto:dsh_at_vlink.ru http://neva.vlink.ru/~dsh/
Received on Wed Aug 03 2005 - 06:29:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC