OpenWrt Forum Archive

Topic: Unable to use WRT 54G as wireless bridge

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

Hi,

I'm stuck trying to use a WRT54G (version 2.2) as a wireless bridge. It's running KAMIKAZE (8.09, r13118).

Situation:

laptop <-> WRT <-> extrouter

I verified that bridging works by connecting my laptop to the WRT and the WRT to the extrouter (both by 'wire'). In that case, I'm get an ip address from my extrouter and I'm able to browse the net. However, when I disconnect the WRT <-> extrouter cable nothing works anymore. brctl shows that the wlan port is part of the bridge:

bridge name     bridge id               STP enabled     interfaces
br-lan          8000.001217d7a173       no              eth0.0
                                                                     wlan0

iwconfig shows that the wlan0 port is associated with the access point of extrouter:

wlan0     IEEE 802.11bg  ESSID:"xxxxx"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 01:E0:98:4E:B0:E6
          Bit Rate=1 Mb/s   Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality=88/100  Signal level:-45 dBm  Noise level=-71 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

The wlan0 port should be operating in client mode:

config 'wifi-device' 'wlan0'
        option 'type' 'mac80211'
        option 'disabled' '0'
        option 'channel' '11'

config 'wifi-iface'
        option 'device' 'wlan0'
        option 'network' 'lan'
        option 'encryption' 'none'
        option 'ssid' 'xxxx'
        option 'mode' 'sta'

I did flush iptables (iptables -F) but that did not help.

What am I doing wrong or what should I do to find out.

Greetings,
Wilbert.

Don't know what is wrong but I flashed an older version of openwrt in the router and now it works.

Using kamikaze 7.09, and making the appropriate configuration settings lead to the success.

So I stick to 7.09, seems that 8.09 has some problems with this.

Greetings
Wilbert.

The discussion might have continued from here.