Hello, everyone.
I've been developing AP/router with Gateworks 2348-4 (IXP425) board where 3 mini-pci atheros wireless card
installed, using Kamikaze 8.09.1
I'd like to configure i/f's like this:
eth1: WAN I/F
eth0, wifi0, wifi1, wifi2: as bridge.
(eth0, eth1 is interfaces built in IXP425 and it is wired.
eth1 is connected another AP/router. And this router gives
clients dhcp addresses from 192.168.0 network.
)
I'd like to know how to:
1. bridge multiple atheros wireless mini-pci card and ethernet(eth0), say br-lan
2. put three wireless card to AP mode.
3. forwarding packet from br-lan to eth1 (wan)
Is that possible? I've actually search through howto's but I couldn't
find the related one... If anyone know the howto URL
please let me know
For you reference, the following is the message when I booted:
Please press Enter to activate this console. firmware: requesting NPE-B
NPE-B: firmware's license can be found in /usr/share/doc/LICENSE.IPL
NPE-B: firmware functionality 0x2, revision 0x2:1
eth0: link down
br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth0 entered promiscuous mode
firmware: requesting NPE-C
NPE-C: firmware's license can be found in /usr/share/doc/LICENSE.IPL
NPE-C: firmware functionality 0x5, revision 0x2:1
eth1: link down
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5
413, RF2133, RF2425, REGOPS_FUNC, XR)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: trunk
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0x48000000, irq=28
PCI: enabling device 0000:00:03.0 (0340 -> 0342)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi1: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi1: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36
Mbps 48Mbps 54Mbps
wifi1: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi1: Atheros 5212: mem=0x48020000, irq=26
PCI: enabling device 0000:00:04.0 (0340 -> 0342)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi2: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi2: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi2: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi2: Atheros 5212: mem=0x48030000, irq=25
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
/etc/config/network:
#config switch eth0
# option vlan0 "0 1 2 3 5*"
# option vlan1 "4 5"
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' 'eth1'
option 'proto' 'dhcp'
config 'interface' 'lan'
option 'ifname' 'eth0' 'wifi0' 'wifi1' 'wifi2'
# option 'ifname' "eth0.0"
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'
option 'dns' ''
option 'gateway' '192.168.0.1'
/etc/config/wireless:
config wifi-device wifi0
option type atheros
option channel auto
option country kr
# REMOVE THIS LINE TO ENABLE WIFI:
#option disabled 1
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid OpenWrt
option encryption psk, psk2
option isolate 1
config wifi-device wifi1
option type atheros
option channel auto
option country kr
# REMOVE THIS LINE TO ENABLE WIFI:
#option disabled 1
config wifi-iface
option device wifi1
option network lan
option mode ap
option ssid OpenWrt
option encryption psk, psk2
option isolate 1
config wifi-device wifi2
option type atheros
option channel auto
option country kr
# REMOVE THIS LINE TO ENABLE WIFI:
#option disabled 1
config wifi-iface
option device wifi2
option network lan
option mode ap
option ssid OpenWrt
option encryption psk, psk2
option isolate 1
'brctl' didn't allow bridge with wired and wireless i/f's..
Is that due to the i/f configuration problem with /etc/config/network, /etc/config/wirelss etc,
or should I use another package other than bridge-utility?
Thank you!..
(Last edited by dobest03 on 13 Jul 2009, 08:20)