WDS bridging - kernel freeze

Project Manager projekt.manager
Sun Mar 16 04:05:17 PST 2003


Hi all,

Sorry about this long one, but thought I'd supply all data at once...

Trying to:
	setup WDS using bridging tools following
	instructions in the README.prism2 doc and have consistently 	
	faced a kernel freeze problem.  It just freezes.

My WLAN NIC's are:

	Node-A. DWL-650
	Node-B. Proxim RangeLAN-DS (f/w 0.8.3)

I use these small scripts to setup the WDS on each of my HostAP laptops, 
so any faults can be spotted in this.

on Node-A:

	#!/bin/bash

	OTHER_END_MAC="00:60:b3:67:35:ab"

	iwconfig wlan0 mode repeater essid nextgen
	iwpriv wlan0 wds_add $OTHER_END_MAC

	brctl addbr br0
	brctl addif br0 eth0
	brctl addif br0 wlan0
	brctl addif br0 wlan0wds0

	ifconfig eth0 0.0.0.0
	ifconfig wlan0 0.0.0.0
	ifconfig wlan0wds0 0.0.0.0
	ifconfig br0 192.168.15.254 up

on Node-B:

	#!/bin/bash

	OTHER_END_MAC="00:05:5d:f3:0f:88"

	iwconfig wlan0 mode repeater essid nextgen
	iwpriv wlan0 wds_add $OTHER_END_MAC

	brctl addbr br0
	brctl addif br0 eth0
	# brctl addif br0 wlan0
	brctl addif br0 wlan0wds0

	ifconfig eth0 0.0.0.0
	# ifconfig wlan0 0.0.0.0
	ifconfig wlan0wds0 0.0.0.0
	ifconfig br0 192.168.15.253 up


It seems like the sticking point is the bridging part as indicated by
the syslog messages:

on Node-A

Mar 16 03:35:20 bonsai kernel: wlan0: received WDS[4 addr] frame from
unknown TA=00:60:b3:67:35:ab
Mar 16 03:35:21 bonsai kernel: prism2: wlan0: operating mode changed 3 -> 4
Mar 16 03:35:21 bonsai kernel: wlan0: LinkStatus=2 (Disconnected)
Mar 16 03:35:21 bonsai kernel: wlan0: LinkStatus: BSSID=00:05:5d:f3:0f:88
Mar 16 03:35:21 bonsai kernel: wlan0: LinkStatus=1 (Connected)
Mar 16 03:35:21 bonsai kernel: wlan0: LinkStatus: BSSID=00:00:00:00:00:00
Mar 16 03:35:21 bonsai kernel: wlan0: LinkStatus=2 (Disconnected)
Mar 16 03:35:21 bonsai kernel: wlan0: LinkStatus: BSSID=00:00:00:00:00:00
Mar 16 03:35:21 bonsai kernel: wlan0: LinkStatus=1 (Connected)
Mar 16 03:35:21 bonsai kernel: wlan0: LinkStatus: BSSID=00:00:00:00:00:00
Mar 16 03:35:21 bonsai kernel: wlan0: registered WDS netdevice wlan0wds0
Mar 16 03:35:21 bonsai kernel: NET4: Ethernet Bridge 008 for NET4.0
Mar 16 03:35:21 bonsai kernel: device eth0 entered promiscuous mode
Mar 16 03:35:21 bonsai kernel: device wlan0 entered promiscuous mode
Mar 16 03:35:21 bonsai kernel: device wlan0wds0 entered promiscuous mode
Mar 16 03:35:21 bonsai kernel: wlan0: prism2_open
Mar 16 03:35:21 bonsai kernel: wlan0wds0: prism2_open
Mar 16 03:35:21 bonsai kernel: br0: port 3(wlan0wds0) entering listening
state
Mar 16 03:35:21 bonsai kernel: br0: port 2(wlan0) entering listening state
Mar 16 03:35:21 bonsai kernel: br0: port 1(eth0) entering listening state
Mar 16 03:35:21 bonsai kernel: wlan0: prism2_tx: trying to use non-WDS
link in Repeater mode
Mar 16 03:35:22 bonsai last message repeated 2 times
Mar 16 03:35:22 bonsai kernel: br0: port 3(wlan0wds0) entering blocking
state
Mar 16 03:35:24 bonsai kernel: wlan0: prism2_tx: trying to use non-WDS
link in Repeater mode
Mar 16 03:35:28 bonsai last message repeated 3 times
Mar 16 03:35:29 bonsai /etc/hotplug/net.agent[1332]: No HW description
found ... exiting
Mar 16 03:35:29 bonsai /etc/hotplug/net.agent[1356]: No HW description
found ... exiting
Mar 16 03:35:30 bonsai kernel: wlan0: prism2_tx: trying to use non-WDS
link in Repeater mode
Mar 16 03:35:30 bonsai kernel: wlan0: prism2_tx: trying to use non-WDS
link in Repeater mode
Mar 16 03:35:31 bonsai kernel: wlan0: no IPv6 routers present
Mar 16 03:35:32 bonsai kernel: wlan0wds0: no IPv6 routers present
Mar 16 03:35:32 bonsai kernel: br0: no IPv6 routers present
Mar 16 03:35:32 bonsai kernel: wlan0: prism2_tx: trying to use non-WDS
link in Repeater mode
Mar 16 03:35:34 bonsai kernel: wlan0: prism2_tx: trying to use non-WDS
link in Repeater mode
Mar 16 03:35:36 bonsai kernel: br0: port 2(wlan0) entering learning state
Mar 16 03:35:36 bonsai kernel: br0: port 1(eth0) entering learning state
Mar 16 03:35:36 bonsai kernel: wlan0: prism2_tx: trying to use non-WDS
link in Repeater mode
Mar 16 03:35:50 bonsai last message repeated 7 times
Mar 16 03:35:51 bonsai kernel: br0: port 2(wlan0) entering forwarding state
Mar 16 03:35:51 bonsai kernel: br0: topology change detected, sending
tcn bpdu
Mar 16 03:35:51 bonsai kernel: br0: port 1(eth0) entering forwarding state
Mar 16 03:35:51 bonsai kernel: br0: topology change detected
Mar 16 03:35:51 bonsai kernel: wlan0: prism2_tx: trying to use non-WDS
link in Repeater mode
Mar 16 03:38:25 bonsai syslogd 1.4.1: restart.

	Node-A freeze occurs at this point.

on Node-B

Mar 16 03:39:40 linux kernel: prism2: wlan0: operating mode changed 3 -> 4
Mar 16 03:39:40 linux kernel: wlan0: LinkStatus=2 (Disconnected)
Mar 16 03:39:40 linux kernel: wlan0: LinkStatus: BSSID=00:60:b3:67:35:ab
Mar 16 03:39:40 linux kernel: wlan0: LinkStatus=1 (Connected)
Mar 16 03:39:40 linux kernel: wlan0: hfa384x_get_rid - RID len mismatch:
rid=0xfd42, len=40 (expected 6)
Mar 16 03:39:40 linux kernel: wlan0: could not read CURRENTBSSID after
LinkStatus event
Mar 16 03:39:40 linux kernel: wlan0: LinkStatus=2 (Disconnected)
Mar 16 03:39:40 linux kernel: wlan0: LinkStatus: BSSID=00:00:00:00:00:00
Mar 16 03:39:40 linux kernel: wlan0: LinkStatus=1 (Connected)
Mar 16 03:39:40 linux kernel: wlan0: LinkStatus: BSSID=00:00:00:00:00:00
Mar 16 03:39:40 linux kernel: wlan0: registered WDS netdevice wlan0wds0
Mar 16 03:39:40 linux kernel: NET4: Ethernet Bridge 008 for NET4.0
Mar 16 03:39:40 linux kernel: device eth0 entered promiscuous mode
Mar 16 03:39:40 linux kernel: device wlan0wds0 entered promiscuous mode
Mar 16 03:39:41 linux kernel: wlan0wds0: prism2_open
Mar 16 03:39:41 linux kernel: br0: port 2(wlan0wds0) entering listening
state
Mar 16 03:39:41 linux kernel: br0: port 1(eth0) entering listening state
Mar 16 03:39:48 linux /etc/hotplug/net.agent[1987]: No HW description
found ... exiting
Mar 16 03:39:49 linux /etc/hotplug/net.agent[2007]: No HW description
found ... exiting
Mar 16 03:39:51 linux kernel: br0: no IPv6 routers present
Mar 16 03:39:51 linux kernel: wlan0wds0: no IPv6 routers present
Mar 16 03:42:17 linux syslogd 1.4.1: restart.

	Node-B the freeze occurs at this point.

Also noticed something strange that upon the freeze the *caps-lock and
scroll-lock LEDs* on the laptops (Node-A, B) kept blinking endlessly.
Wouldn't think this is a bridging or hostap problem, but it could be a
telling symbol of smthg obvious in kernel, if someone knows what it is.

One last thing - I have a Win-XP WLAN station that is supposed to obtain
access point services from this bridged network.  This XP client seems
to be associating with the *common essid* (which is 'nextgen' in this 
case) of the bridge, but cannot obtain dynamic IP from the *dhcp server 
on Node-A*.

Again, sorry for the lengthy msg.  Has anyone seens this problem? or
know from syslog what's causing the freeze?

TIA






More information about the Hostap mailing list