After installing 19.07 I can't access the internet. If I ping a website no packets go through. If I ping the ipaddress it works.
Using the diagnostics page in LuCI putting 172.217.10.68 an IP for Google ping works, traceroute works, but nslookup says connection timed out; no servers could be reached.
I have my DNS configured to 1.1.1.1 for cloudfare, if I switch it to 8.8.8.8 for Google it still doesn't work.
At first I used the upgrade file, but when I reach into issues when I checked the forum it said the ath71 to ath79 needed a full reinstall so I downloaded the full image and installed it, still no DNS.
trendy
January 10, 2020, 3:36pm
2
What is the output of the following commands?
uci show dhcp; \
ls -l /etc/resolv.* /tmp/resolv.*; head -n -0 /etc/resolv.* /tmp/resolv.*
Paste them in SSH exactly as you see them, both lines.
Use preformatted text, the </> button, to paste console output.
root@OpenWrt:~# uci show dhcp; \
> ls -l /etc/resolv.* /tmp/resolv.*; head -n -0 /etc/resolv.* /tmp/resolv.*
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
dhcp.@dnsmasq[0].localservice='0'
dhcp.@dnsmasq[0].nonwildcard='0'
dhcp.@dnsmasq[0].server='127.0.0.1#5453' '0::1#5453' '/openwrt.pool.ntp.org/1.1.1.1' '/openwrt.pool.ntp.org/'
dhcp.@dnsmasq[0].noresolv='1'
dhcp.@dnsmasq[0].localuse='1'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra='server'
dhcp.lan.ra_management='1'
dhcp.lan.leasetime='12h'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'
dhcp.odhcpd=odhcpd
dhcp.odhcpd.maindhcp='0'
dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
dhcp.@host[0]=host
dhcp.@host[0].name='samticus-compuman'
dhcp.@host[0].ip='192.168.1.2'
dhcp.@host[0].mac='b8:97:5a:eb:05:58'
dhcp.@host[1]=host
dhcp.@host[1].name='samsunticus-printuman'
dhcp.@host[1].mac='00:15:99:7E:4E:AD'
dhcp.@host[1].ip='192.168.1.3'
dhcp.@domain[0]=domain
dhcp.@domain[0].name='samticus-compuman'
dhcp.@domain[0].ip='192.168.1.2'
dhcp.@host[2]=host
dhcp.@host[2].name='TL-WR710N'
dhcp.@host[2].mac='c4:e9:84:b5:65:98'
dhcp.@host[2].ip='192.168.1.149'
dhcp.@host[3]=host
dhcp.@host[3].name='EPSON0AAD8C'
dhcp.@host[3].dns='1'
dhcp.@host[3].mac='9c:ae:d3:0a:ad:8c'
dhcp.@host[3].ip='192.168.1.120'
dhcp.@host[4]=host
dhcp.@host[4].mac='f0:9f:c2:26:c2:2f'
dhcp.@host[4].ip='192.168.1.133'
dhcp.@host[4].name='wireless-router'
dhcp.@host[4].dns='1'
dhcp.@host[5]=host
dhcp.@host[5].name='rigticus'
dhcp.@host[5].dns='1'
dhcp.@host[5].ip='192.168.1.242'
dhcp.@host[5].mac='B8:27:EB:13:81:96'
lrwxrwxrwx 1 root root 16 Jan 6 16:47 /etc/resolv.conf -> /tmp/resolv.conf
-rw-r--r-- 1 root root 32 Jan 10 14:11 /tmp/resolv.conf
-rw-r--r-- 1 root root 172 Jan 10 14:11 /tmp/resolv.conf.auto
==> /etc/resolv.conf <==
search lan
nameserver 127.0.0.1
==> /tmp/resolv.conf <==
search lan
nameserver 127.0.0.1
==> /tmp/resolv.conf.auto <==
# Interface lan
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 2606:4700:4700::1111
nameserver 2606:4700:4700::1001
# Interface wan
nameserver 1.1.1.1
nameserver 1.0.0.1
trendy
January 10, 2020, 3:43pm
4
Are you certain that this is working?
Not sure what that is, it's not something I've changed.
trendy
January 10, 2020, 3:50pm
6
Remove it and try again.
Maybe you configured at some point an alternative DNS server on the OpenWrt and the config remained.
Removed it, still no working DNS...
The only DNS changes I remember making are these ones:
trendy
January 10, 2020, 4:01pm
8
These are assigned on the LAN interface. Try to configure them on the WAN interface. Also make sure you restarted the service of dnsmasq after the changes to apply them.
1 Like
Added them to the WAN interface and restarted, do I need to remove them from the LAN?
Still no working DNS.
juppin
January 10, 2020, 4:40pm
10
You´ve updated from snapshot to 19.07, right?
You should start with a clean config if you go from snapshot -> 19.07.
jgslade
January 10, 2020, 4:43pm
11
I went from 18.06 to 19.07.
So I should reset the settings? Is there a way to do that from ssh or LuCI, or do I need to press the reset button on the router?
I saw the reset button in the backup section in LuCI. Reset the settings and it seems to be working.
2 Likes
system
Closed
January 20, 2020, 4:43pm
12
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.