if_ipw problems

Denis Shaposhnikov dsh at neva.vlink.ru
Wed Aug 3 08:29:27 GMT 2005


>>>>> "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/


More information about the freebsd-current mailing list