OpenWrt Forum Archive

Topic: BCM4704 CPU router with atheros miniPCI on kamikaze 2.6 Problems

The content of this topic has been archived on 4 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

My router is BCM4704 CPU  with atheros miniPCI  .  flashed kamikaze 2.6 .

When wifi is working sta mode , ath0 cann't bridged with ethX  . 
root@OpenWrt:~/root/etc/config# vi wi*


config wifi-device  wifi0
        option type     atheros
#       option channel  5

        # REMOVE THIS LINE TO ENABLE WIFI:
#       option disabled 1

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     sta
        option ssid     GMCC
        option encryption none
~


#### Loopback configuration           
config interface loopback             
        option ifname   "lo"          
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0
                                 
                                 
#### LAN configuration           
config interface lan             
        option type     bridge   
        option ifname   "eth0"
        option macaddr  "00:0D:0B:0D:06:A6"
        option proto    dhcp               
#       option ipaddr   192.168.1.1        
#       option netmask  255.255.255.0      
                                           
                                           
#### WAN configuration               
config interface        wan          
        option ifname   "eth1"       
        option macaddr  "00:0d:0b:0d:06:a7"
        option proto    dhcp

Frequently output this msg from conlose  :

br-lan: port 2(ath0) entering disabled state
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
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
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
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state

wifi is working in wds mode ,the route frequently output from console :

ath0: received packet with  own address as source address
ath0: received packet with  own address as source address
ath0: received packet with  own address as source address
ath0: received packet with  own address as source address
ath0: received packet with  own address as source address
ath0: received packet with  own address as source address
ath0: received packet with  own address as source address
ath0: received packet with  own address as source address
ath0: received packet with  own address as source address

(Last edited by hgnan on 24 Aug 2007, 09:01)

I have turn on STP and delif ethX ,but it is no use

root@OpenWrt:/etc/config# brctl stp br-lan on
root@OpenWrt:/etc/config# brctl show
bridge name    bridge id        STP enabled    interfaces
br-lan        8000.000d0b0d06a6    yes        eth0
                        ath0
root@OpenWrt:/#brctl delif br-lan eth0
root@OpenWrt:/# brctl showstp br-lan
 bridge id        8000.0014a46c665e
 designated root    8000.0014a46c665e
 root port           0            path cost           0
 max age          20.00            bridge max age          50.00
 hello time           2.00            bridge hello time       5.00
 forward delay           0.00            bridge forward delay       0.00
 ageing time         300.00
 hello timer           0.02            tcn timer           0.00
 topology change timer      16.14            gc timer         291.96
 flags            TOPOLOGY_CHANGE TOPOLOGY_CHANGE_DETECTED 


ath0 (2)
 port id        8002            state             forwarding
 designated root    8000.0014a46c665e    path cost         100
 designated bridge    8000.0014a46c665e    message age timer       0.00
 designated port    8002            forward delay timer       0.00
 designated cost       0            hold timer           0.00
 flags

The discussion might have continued from here.