I'm running LEDE Reboot r1442 on a BT Home Hub V5 and my ISP is Sky Fibre, I am running it as a combined VDSL modem and router. Everything is working as expected apart from when using Android Lollipop devices that connect over Wi-Fi (Nexus 4, Amazon Fire Tablet and Amazon Fire Stick). The problem is related to DNS and I am unable to browse the web without using some kind of DNS setting application. I can ping and traceroute, it's just DNS that is giving me hell.
When using this DNS setting application I can manually set Google, OpenDNS and my router IP (192.168.0.1) and it works, this leads me to believe either something is not being passed with the DHCP info or something is not being set on the Android devices properly.
I have multiple devices that work perfectly well, Mac OS, Windows, iOS and even Android 4. I have an Amazon Fire TV that runs the same OS as the Fire Stick but is connected over Ethernet, this works as expected too.
I don't have any such problems using the ISP supplied combined VDSL mode + router which leads me to believe there is either something I am not setting correctly, some kind of compatibility issue or a bug somewhere in LEDE/dnsmasq/Android 5.
Things I've tried:
Assigning a static IP and DNS on the Android devices, I feel like this should work because the 'Set DNS' application works but I still can't resolve this way.
Various different Wi-Fi settings - N-mode on/off, WMM mode on/off, all different security types and disabling it.
Sending DHCP option 6 with various DNS addresses (Google, OpenDNS, etc).
Disconnecting all wired clients from the router.
Removing all wireless networks and creating from scratch with different SSID.
Toggling Wi-Fi on/off, rebooting device, forgetting and reconnecting to wireless networks.
I also had this same problem using a trunk version of OpenWrt r49230 which is what prompted me to try LEDE in the hope it may have been some kind of regression that got fixed.
I guess what I am looking for is some pointers on how I can diagnose what might be the problem. I don't have root access on any of the Android devices but am happy to set it up on the Nexus 4 if needed.
Can anyone point me in any kind of direction here please? Thanks!
/etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv6 'server'
option ra 'server'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
/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 'fd9d:16ee:b240::/48'
config atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'
config dsl 'dsl'
option annex 'a'
option tone 'av'
option xfer_mode 'ptm'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.0.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'ptm0.101'
option ipv6 'auto'
option proto 'dhcp'
option hostname 'Sky'
option clientid 'my-client-id-here'
option vendorid ''my-vendor-id-here'
option macaddr ''my-macaddr-id-here'
config device 'wan_dev'
option name 'ptm0'
option macaddr 'a0:1b:29:71:c8:47'
config interface 'wan6'
option ifname 'pppoe-wan'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 4 6t'
/etc/config/wireless
config wifi-device radio0
option type mac80211
option channel 36
option hwmode 11a
option path 'pci0000:01/0000:01:00.0/0000:02:00.0'
option htmode VHT80
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid LEDE
option encryption none
config wifi-device radio1
option type mac80211
option channel 11
option hwmode 11g
option path 'pci0000:00/0000:00:0e.0'
option htmode HT20
config wifi-iface
option device radio1
option network lan
option mode ap
option ssid LEDE
option encryption none
(Last edited by alexstan on 29 Aug 2016, 11:07)