Subject: Problem using Intersil Prism 2.5 based Linksys WIFI Adapter
To: None <port-i386@netbsd.org>
From: None <stevejohnson46@comcast.net>
List: port-i386
Date: 12/24/2003 07:41:44
 1   I have installed the below version of NetBSD on my desktop

     NetBSD  1.6.1 NetBSD 1.6.1 (GENERIC) #0: Tue Apr  8 12:05:52 UTC 2003     

     autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/i386/OBJ/autobuild/netbsd-1-6/src/sys/arch/i386/compile/GENERIC i386

 2   I installed a LinkSys WMP11 ver 2.7 which indeed has Intersil Prism2.5 and is 
     recognized as shown below

     Dec 22 20:12:05  /netbsd: wi0 at pci0 dev 9 function 0: Intersil Prism2.5 Wireless Lan
     Dec 22 20:12:05  /netbsd: wi0: interrupting at irq 10
     Dec 22 20:12:05  /netbsd: wi0: 802.11 address 00:06:25:a7:7d:02
     Dec 22 20:12:05  /netbsd: wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
     Dec 22 20:12:05  /netbsd: wi0: Intersil Firmware: Primary (1.0.5), Station (1.3.4)

 3   The output of ifconfig and wiconfig is as shown below ....

# wiconfig wi0 
NIC serial number:			[ 0123456789   ]
Station name:				[ JOHNSONS ]
SSID for IBSS creation:			[ JOHNSONS ]
Current netname (SSID):			[ JOHNSONS ]
Desired netname (SSID):			[ JOHNSONS ]
Current BSSID:				[ 44:44:44:44:44:44 ]
Channel list:				[ 1 2 3 4 5 6 7 8 9 10 11 ]
IBSS channel:				[ 3 ]
Current channel:			[ 11 ]
Comms quality/signal/noise:		[ 0 81 27 ]
Promiscuous mode:			[ On ]
Port type (1=BSS, 3=ad-hoc):		[ 1 ]
MAC address:				[ 00:06:25:a7:7d:02 ]
TX rate (selection):			[ 3 ]
TX rate (actual speed):			[ 2 ]
Beacon Interval (current) [msec]:	[ 100 ]
Maximum data length:			[ 2346 ]
RTS/CTS handshake threshold:		[ 2347 ]
Create IBSS:				[ Off ]
Microwave oven robustness:		[ ]
Roaming mode(1:firm,3:disable):		[ 1 ]
Access point density:			[ 1 ]
Power Mgmt (1=on, 0=off):		[ 0 ]
Max sleep time (msec):			[ 10000 ]
WEP encryption:				[ Off ]
Authentication type 
(1=OpenSys, 2=Shared Key):		[ 1 ]
TX encryption key:			[ 1 ]
Encryption keys:			[  ][  ][  ][  ]
# 

# wiconfig wi0 -o
Transmitted unicast frames:		0
Transmitted multicast frames:		0
Transmitted fragments:			26767
Transmitted unicast octets:		0
Transmitted multicast octets:		0
Single transmit retries:		0
Multiple transmit retries:		0
Transmit retry limit exceeded:		75
Transmit discards:			0
Transmit discards due to wrong SA:	0
Received unicast frames:		237
Received multicast frames:		0
Received fragments:			237
Received unicast octets:		16274
Received multicast octets:		0
Receive FCS errors:			150
Receive discards due to no buffer:	0
Can't decrypt WEP frame:		0
Received message fragments:		0
Received message bad fragments:		0
# 

# ifconfig -a
wi0: flags=8b63<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
	nwid JOHNSONS
	powersave off
	address: 00:06:25:a7:7d:02
	media: IEEE802.11 autoselect
	status: active
	inet 192.168.0.21 netmask 0xffffff00 broadcast 192.168.0.255
	inet6 fe80::206:25ff:fea7:7d02%wi0 prefixlen 64 scopeid 0x1
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
	inet 127.0.0.1 netmask 0xff000000
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
	inet6 ::1 prefixlen 128
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
strip0: flags=0<> mtu 1100
strip1: flags=0<> mtu 1100

 4   If I repeatedly try to scan for the AP (which is a NetGear WGR614) the results
     are as shown below.

# wiconfig wi0 -D
scanning ....
No APs available
# wiconfig wi0 -D
scanning ....
No APs available
# wiconfig wi0 -D
scanning ....
AP Information
ap[0]:
	ScanReason:			[ Inquiry request from host ]
	netname (SSID):			[ JOHNSONS ]
	BSSID:				[ 00:09:5b:4f:f4:9a ]
	Channel:			[ 11 ]
	Quality/Signal/Noise [signal]:	[ 62 / 62 / 0 ]
	                        [dBm]:	[ 62 / -87 / -149 ]
	BSS Beacon Interval [msec]:	[ 100 ]
	Capinfo:			[ ESS ]
	DataRate [Mbps]:		[ 1 ]
# wiconfig wi0 -D
scanning ....
AP Information
ap[0]:
	ScanReason:			[ Inquiry request from host ]
	netname (SSID):			[ JOHNSONS ]
	BSSID:				[ 00:09:5b:4f:f4:9a ]
	Channel:			[ 11 ]
	Quality/Signal/Noise [signal]:	[ 62 / 62 / 0 ]
	                        [dBm]:	[ 62 / -87 / -149 ]
	BSS Beacon Interval [msec]:	[ 100 ]
	Capinfo:			[ ESS ]
	DataRate [Mbps]:		[ 1 ]


  5  "tcpdump -i wi0" does pickup a few frames ....
   
     21:49:26.662830 2d:9:d:4b:f7:4a sap e4 > d9:9d:82:6e:34:6f sap 4c ui/F len=39
     22:34:37.019494 9a:96:40:4f:b4:b7 1a:c2:1d:b:cb:91 7777 48: 
			 1377 8ebb b66b 9693 d427 8fc5 b7ae 282e
			 41bd c0b7 b044 7674 457f fb65 af92 0625
			 bbda

  6   Ping to the access point as well as other PCs do not work.

      6.1   ping 192.168.0.1  fails
      6.2   ping 192.168.0.2  fails

  7   Tried ping after installing static arps, those too fail.



  In essence, I am unable to talk with any other machine. Any suggestions
  or help would be appreciated. Is the problem related to the below ?.


  Current BSSID:				[ 44:44:44:44:44:44 ]
 
  If so, how do I change it

  Thanks.


  -- Steve Johnson