nbd wrote:just use the regular station mode and bridge it by setting 'option network lan' in the wifi-iface section. that'll bridge the wifi to the lan.
the scripts should detect that and enable the wet mode automatically
OK, I can confirm this does work - very cool!
I tested with a Buffalo AirStation WHR-G54S and my own build of Kamikaze 7.07. What I did was:
(1) ipkg install kmod-brcm-wl wlc (these were missing on my unit, and without them "wifi up" gave odd errors about broadcom not being supported)
(2) vi /etc/config/network
...
config interface lan
option type bridge
option ifname "eth0.0"
option proto dhcp
...
(3) vi /etc/config/wireless
config wifi-device wl0
option type broadcom
option channel 5
option disabled 0
config wifi-iface
option device wl0
option network lan
option mode sta
option ssid MYSSID
option hidden 0
option encryption wep
option key 1122334455
With this, the unit itself was able to join the wireless network. Then, plugging a laptop into a LAN port, I was able to pick up an IP address from the same network. tcpdump on another machine showed the Broadcast flag had been set in the DHCP request; and looking at the ARP cache on another machine, I could see the same MAC address for both the OpenWrt box and the laptop:
$ arp -an
? (10.69.255.103) at 00:16:01:4B:6D:6D [ether] on eth0 # << the OpenWrt box
? (10.69.255.102) at 00:16:01:4B:6D:6D [ether] on eth0 # << the laptop
So all in all, this has all been implemented completely.
Question: is this just enabling the existing functionality in the closed Broadcom 2.4 driver? Which means it may not be available to Atheros users, and/or may be lost when we move to a 2.6 Broadcom driver?
Regards, Brian.