OpenWrt Forum Archive

Topic: WiFi/LAN bridge not working on WR941ND

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

TP-Link WR941ND, v3
Attitude Adjustment 12.09-rc1, r34185

The bridge between wlan0 and any LAN ports is not working. After few minutes/hours it magically begins working again. This is a hard bug. I'm trying to use the router as Dumb AP http://wiki.openwrt.org/doc/recipes/dumbap

1. Boot the router on totally stock configuration (firstboot, etc).
2. Set the LAN IP to 192.168.1.99 for example, WAN unused
3. Disable DHCP for LAN.
4. Attach Ethernet cable to any LAN port (I have another gateway/DNS/DHCP server at 192.168.1.1)
5. Setup the Wifi interface

So:
Other router/DHCP server/Gateway (192.168.1.1) <----> | 941ND LAN port <-> 941ND WiFi | <----> My computer

When I connect on the Wifi interface, I receive an IP address from the DHCP server, so those packets get routed. Let's say I receive 192.168.1.3. The 941ND has static IP 192.168.1.99.

From my computer I can ping 192.168.1.99 (obviously), but I can't 192.168.1.1, or any machine connected on the LAN interface on 941ND. Logging through SSH in the router itself, I can ping 192.168.1.1.

Several minutes/hours later I receive full connectivity and I can ping 192.168.1.1 from my computer.

(Last edited by zser6666 on 1 Apr 2013, 10:24)

have you tried older AA revision like beta or beta2?

I just tried both beta and beta2. The problem is still present. I compiled myself the latest AA branch 2-3 weeks ago and the problem was still the same.

Relevant configuration:

root@OpenWrt:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br-lan          8000.647002b066a8       no              lan1
                                                        lan2
                                                        lan3
                                                        lan4
                                                        wlan0

*********************************

config interface 'eth'
        option ifname 'eth0'
        option proto 'none'

config interface 'lan'
        option ifname 'lan1 lan2 lan3 lan4'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ipaddr '192.168.1.99'

*********************************

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option macaddr '64:70:02:b0:66:a8'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'DSSS_CCK-40'
        option txpower '27'
        option country 'US'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid '*****'
        option encryption 'psk2'
        option key '********'

(Last edited by zser6666 on 1 Apr 2013, 11:42)

my posting back at gargoyle remains actual... I did not manage to find a working solution since then, but if I do that "trick" everything is working fine on every "fresh" reboot

I opened a ticket.

I put on it this vers. of DD-WRT and everything is working wonderfull, can ping every device on the network, so it's definitelly an openwrt/gargoyle bug ... HT40 is working OK with this dd-wrt vers.

ftp://ftp.dd-wrt.com/others/eko/BrainSl … wr941ndv3/

The discussion might have continued from here.