WDS: something missing

Jonnas project.manager
Tue Sep 2 23:50:09 PDT 2003


Hi, thanks for the tips ...

  > Have you done:
  > iwconfig wlan0 mode repeater before?

Yes, just modified (changing mode to *repeater*) my WDS/Bridge setup
script to the following.

Ap-A:

#!/bin/bash

WDS_PEER_MAC="00:02:6F:04:90:BE"

iwconfig wlan0 mode repeater essid onex
iwpriv wlan0 wds_add $WDS_PEER_MAC
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 wlan0wds0
ifconfig wlan0 0.0.0.0
ifconfig wlan0wds0 0.0.0.0
ifconfig br0 10.0.0.2 up

Ap-B:

#!/bin/bash

WDS_PEER_MAC="00:04:E2:0E:D1:57"

iwconfig wlan0 mode repeater essid onex
iwpriv wlan0 wds_add $WDS_PEER_MAC
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 wlan0wds0
ifconfig wlan0 0.0.0.0
ifconfig wlan0wds0 0.0.0.0
ifconfig br0 10.0.0.1 up

This didn't seem to change things.  Infact, I now cannot ping the AP
from the client (after assigning a static IP).

  > If no, try that.
  >
  > If yes, you might want to tell us which cards you are using and what
  > firmware version.

My firmware versions on the 2 WDS boxes are as follows:

onexap-mesh0:~# hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x800c v1.0.0 (PRISM II (2.5) PCMCIA (SST parallel flash))
PRIID: id=0x0015 v1.1.0
STAID: id=0x001f v1.4.9 (station firmware)

wetpebble:~# hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x8003 v1.0.0 (HWB3163 Rev B, Samsung PC Card Rev. B)
PRIID: id=0x0015 v0.3.0
STAID: id=0x001f v0.8.3 (station firmware)

Are the firmwares too old?

tia, Jonnas

Christian Mautner wrote:
 >>
 >>Ap-A:
 >>
 >>#!/bin/bash
 >>
 >>WDS_PEER_MAC="00:02:6F:04:90:BE"
 >>
 >>iwpriv wlan0 wds_add $WDS_PEER_MAC
 >>brctl addbr br0
 >>brctl addif br0 wlan0
 >>brctl addif br0 wlan0wds0
 >>ifconfig wlan0 0.0.0.0
 >>ifconfig wlan0wds0 0.0.0.0
 >>ifconfig br0 10.0.0.2 up

-- 
http://www.desilinux.com






More information about the Hostap mailing list