I have 2 linksys WRT54GL's that were previously running whiterussian in WDS mode without a hitch. I'm trying to migrate them to Kamikaze. The "main" router went flawlessly, but I can't seem to get the second one's wireless to enable in WDS mode, even without any encryption at all. Second router's wireless config file:
config wifi-device wl0
option type broadcom
option channel 6
config wifi-iface
option device wl0
option network lan
option mode wds
option ssid foobar
option encryption none
option bssid '00:1a:xx:xx:xx:xx' (first router's mac addr)
...when I try to run "wifi", I get:
# wifi
Command 'set up' failed: -1
It falls down when feeding commands to wlc via stdin. I hacked up the broadcom.sh script to dump the commands that it feeds to wlc:
---------[snip]-----------
down
vif 0
enabled 0
vif 1
enabled 0
vif 2
enabled 0
vif 3
enabled 0
ap 1
mssid 1
apsta 0
infra 1
802.11d 0
802.11h 0
rxant 3
txant 3
radio 0
macfilter 0
maclist none
wds none
wds 00:1a:xx:xx:xx:xx
channel 6
country IL0
maxassoc 128
slottime -1
up
---------[snip]-----------
Can anyone tell me what I'm doing wrong? I assume that "wlc" (and hence "wifi") should be returning without error here, so there must be something wrong with this stream of commands being fed to it in stdin. Any clue on how to figure out what it is that wlc doesn't like?