Hi All,
I have the following setup. RB532 board with 2 CM9 (Atheros) minipci cards running kamikaze 7.07 and madwifi 0.9.3.
The R&D task I do requires one minipci in 11a STA mode and the other in 11g AP mode, on the same RB532 board.
The minipci card is running in 11a mode acts as my wan/internet and receives IP from its AP (11a AP, off-the-shelf router).
The minipci card running in 11g mode would assign IPs all of its clients. But I want these clients have access to the internet via 11a network.
My questions are:
Can I have two separate networks, 11a and 11g, but bridged ? Or, I have to have one network.
And, how do I setup the bridge ?
My config files, These DOES NOT WORK AS I EXPLAINED ABOVE.....plse correct them for me.
network:
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface wan
option ifname "ath1"
option proto dhcp
config interface lan
option type bridge
option ifname "eth1 eth2"
option proto dhcp
wireless:
# This is for 11g device
config wifi-device wifi0
option type atheros
option channel 9
option disabled 0
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid milton
option encryption none
option wds 1
# This is for 11a device
config wifi-device wifi1
option type atheros
option disabled 0
config wifi-iface
option device wifi1
option mode sta
option ssid milton_11a
option encryption none
option wds 1
thanks,
nathan