TP-Link TL-WR1043ND v2 Dumb AP

I already have a DNS, DHCP, router and firewall on my network, all I want to do is use my TP-Link TL-WR1043ND v2 router as access point.
I am running OpenWrt 18.06.0 r7. I have got it mostly setup and almost everything works the way I wanted it, clients connecting to the AP are able to access LAN and internet. The only problem I have that the TP-Link router is unable to access internet itself. When I run
opkg update I get
opkg_download: Check your network settings and connectivity error msgs.

I am also unable to ping addresses on the internet. Pinging LAN addresses is fine

# ping google.com
PING google.com (216.58.198.238): 56 data bytes
^C
--- google.com ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
# ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254): 56 data bytes
64 bytes from 192.168.1.254: seq=0 ttl=255 time=0.733 ms
64 bytes from 192.168.1.254: seq=1 ttl=255 time=0.669 ms
^C
--- 192.168.1.254 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.669/0.701/0.733 ms

Routing table:

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.254   0.0.0.0         UG    0      0        0 br-lan
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan

Here is my /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd95:5c0c:af32::/48'

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option gateway '192.168.1.254'
        option dns '192.168.1.70'
        option ip6assign '64'
        option igmp_snooping '1'
        option multicast_querier '1'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option vid '1'
        option ports '0 1 2 3 4 5 6'

Any suggestions ? Thanks in advance

Any specific reason your DNS points to 192.168.1.70 and not 192.168.1.254 (assuming that is the address of the router connected to the Internet)?

DNS is running on that IP address

Is 192.168.1.254 already getting it from that address? You might want to try to point the DNS on the dumb AP to 192.168.1.254 and see if that works. Try pinging 8.8.8.8 from the switch. If the pings reply it's most likely a DNS error.

192.168.1.254 only acts as a router/firewall there is no DNS on that IP

besides DNS resolution is not a problem here

I'd run tcpdump or wireshark on your router and see if the packets are making it to your router, as well as out of your router to the target, as well as for the return packets.

Your setup is similar to my switch, except I do not have the lines "option ip6assign '64'", option igmp_snooping '1', option multicast_querier '1'. The last two are more specific to what kind of network and devices you use. I do have an "option delegate '0'" which I believe ignores DHCP on the interface. Also, my DNS points directly to the same address as my Gateway, because that's my router that connects to the Internet.

@alf13
Could you solve the problem? I think i have a similiar problem with my 1043ND V1?
I also have a problem with the IPv6 configuration of the AP. Maybe you can help me?
My Post: LuCi OpenWrt 18.06 on TP-Link WR1043ND V1.x as Access Point

1 Like

Hi @alf13
Did you get it working in the end?
I'm considering trying this on no less than three TL-WR1043ND v2's in the same building.
It would be great to know if you got a stable setup sorted...
Cheers, :slight_smile: