Davidc502- wrt1200ac wrt1900acx wrt3200acm wrt32x builds

You aren't using dnscrypt-proxy version 1, so you can remove it, and test again please.

Please run the following command and share the output.

root@lede:~# netstat -lptn |grep 53

My workaround has this:

DNS forwardings
127.0.0.1#5353
/pool.ntp.org/8.8.8.8
208.67.220.220
List of DNS servers to forward requests to

The last line being the one added yesterday to get things working.
I ran the command with my workaround and got this:

/$ netstat -lptn |grep 53
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      1680/dnsmasq
tcp        0      0 :::53                   :::*    

then, I removed the added OpenDNS from the DNS forwarding and disabled dnscrypt-proxy. I ran it again and got:

/$ netstat -lptn |grep 53
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      15792/dnsmasq
tcp        0      0 :::53                   :::*       

Almost identical. Hope that helps.

Thanks shuttleman58,

So, from what I'm reading above, the clients will go to the router and are forwarded internally to port 5353. IF there is no response, it should jump down to line 3 and go directly to OpenDNS.

The issue I see in the netstat command is there should be a line for port 5353, and I don't see the router listening on that port. I see you grepped for 53, and 5353 should be included.

Thoughts?

Port 5353 is where dnscrypt should be listening. Perhaps that's where the config problem resides.

With the latest build there was a conflict with port 5353, so I changed it to 5300 to accommodate another program.

Look at the config and confirm the port it should be listening on, and make sure it is running/listening on that port.

1 Like

Checked both the DNS forwarding and dnscrypt. Changed both to port 5300. Still have problems. I'm going to go off and work on the dnscrypt settings using some of the online guides and see if I can test a few things. At least I have all devices getting DNS now. Will get back to you tomorrow after I see what I can learn.

Maybe time to split this thread into several more specific threads? It's getting a little difficult to follow everything.

1 Like

after 2 days of running the last vanilla install of your latest build, I I think I've got to the bottom of the reboots issue.

The placement of my router is on the top of a cupboard (same as my previous router which had no issues) and it seems that the linksys doesn't like this position due to it not having enough airflow. I did some investigating online and found that a potential fix for this is to edit the /sbin/fan_control.sh and modify the CPU LOW and HIGH controls, and also the fan speed for WIFI_LOW.

this seems to have brought the unit temp down a few degrees.

now it's time to find either a new placement for the router or a small fan for it to sit on.

the moral of this story is not all routers like the same placement, some need more ventilation than others.

I can't seem to get the temp display in luci to show more than 1 sensor now though, originally I remember there being 3 temp display graphs.

Hi guys,

I am using an 1900ACSv2 with David's build for some time and it is working great so far. When setting up our IP camera for the kids again, I realized that in the last months I carried on an issue with our Wifi where the connection gets lost (it was fine half a year ago). The devices loose connection for a while and then re-connect, the IP camera though somehow cannot automatically re-connect. The issue is basically that the wifi connection gets lost for a couple of seconds. I have drilled it down to the following entries in Syslog but I am not able to find the root cause and also googling was not helpful.

Sat Sep 15 09:03:22 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED xx:xx:xx:xx:6d:58
Sat Sep 15 09:03:22 2018 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:6d:58 IEEE 802.11: disassociated
Sat Sep 15 09:03:23 2018 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:6d:58 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sat Sep 15 09:03:23 2018 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:6d:58 IEEE 802.11: authenticated
Sat Sep 15 09:03:23 2018 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:6d:58 IEEE 802.11: associated (aid 5)
Sat Sep 15 09:03:23 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED xx:xx:xx:xx:6d:58
Sat Sep 15 09:03:23 2018 daemon.info hostapd: wlan1: STA xx:xx:xx:xx:6d:58 WPA: pairwise key handshake completed (RSN)
Sat Sep 15 09:03:24 2018 daemon.info dnsmasq-dhcp[5220]: DHCPREQUEST(br-lan) 192.168.179.201 xx:xx:xx:xx:6d:58
Sat Sep 15 09:03:24 2018 daemon.info dnsmasq-dhcp[5220]: DHCPACK(br-lan) 192.168.179.201 xx:xx:xx:xx:6d:58 xxxxxxx
Sat Sep 15 09:03:25 2018 daemon.warn odhcpd[2546]: DHCPV6 SOLICIT IA_NA from 000100012160c76700b3625b6d58 on br-lan: ok fd8f:ce6c:ac60::410/128
Sat Sep 15 09:03:25 2018 daemon.info dnsmasq-dhcp[5220]: DHCPREQUEST(br-lan) 192.168.179.201 xx:xx:xx:xx:6d:58
Sat Sep 15 09:03:25 2018 daemon.info dnsmasq-dhcp[5220]: DHCPACK(br-lan) 192.168.179.201 xx:xx:xx:xx:6d:58 xxxxxxx
Sat Sep 15 09:03:26 2018 daemon.warn odhcpd[2546]: DHCPV6 REQUEST IA_NA from 000100012160c76700b3625b6d58 on br-lan: ok fd8f:ce6c:ac60::410/128

To me it looks like the device is disconnected due to inactivity but then re-connects again. Did someone had a similar issue and can help what to do?

Kind regards,
Aldaris

@Aldaris

The logging you see is normal and what is expected for wifi. Some time ago there was a wifi issue where devices stopped communicating (example being a phone leaves the house), and the phone was never released (disassociated), then when the phone came back it could not re-connect. Anyhow, the drivers work correctly now that it will disassociate and deauthenticate properly when there is no activity.

For a test, run a continuous ping to the IP camera having issues and see if the problem persists.

What is the "Force 40mhz" option under Advanced Settings, exactly? Is it like a built in reg-hack?

I added a pair of parenthesis to line 62 of openvpn.lua, and that immediately fixed the issue.

Thanks,

David

2 Likes

Is anyone having trouble with miniupnpd on the 2018-09-08 10:08 build (the one currently posted)?

I upgraded from the Aug 25 build and now my Xbox is showing moderate NAT. Everything was working great before the upgrade and now it isn’t working so something is off.

Any suggestions on what to check for? Keep in mind the build is all I changed.

It's equals to noscan=1 in /etc/config/wireless. No, it's not reghack.

GRE (https://en.wikipedia.org/wiki/Generic_Routing_Encapsulation) settings?

Hi David and al,

I am using David's build on a WRT3200 and loving it. I do run into an issue that I hope someone could give me a hand: GRE does not seem to work. I need GRE enabled so that I can use PPTP to create a VPN connection. I can use GRE on a Netgear router (R7800) running a community build but not on my WRT3200.

Any idea? Thanks in advance.

Thank you. It’s just that noscan 1 previously was NOT enough to get 40mhz working on my AC v1. So I’m surprised that it’s now working without reg hack.

Reghack is now outdated/broken correct?

There was a change in one of the kernel updates (can't remember which), the effectively disabled the conntrack helpers. You maybe having the same issue, try the following to see if it sorts your issue

Edit file /etc/sysctl.d/local.conf and add/update
net.netfilter.nf_conntrack_helper = 1
and then edit /etc/sysctl.conf to add/update
net.netfilter.nf_conntrack_helper = 1

then reboot your router.

This worked for me, but you could of course be experiencing a different problem :slight_smile:

1 Like

I have v1 before. noscan was always enough to enable 40, but real width depends of the other device settings and conditions. Reghack doesn't work anymore (well... i'm working to return it back), exactly, but his purpose was to remove power limits, not channel width.

Thanks for the response, I think this must be it.
I will set up my build environment and build an image that has conntrack_helper turned on.
Appreciate your help.

hi team, i am trying to configure samba i am pulling my hair out of it.
please advise and any one give me a proper tutorial for this i cant find it anywhere also i am using david build
please be patient with me i am very noob to this. i am trying to follow wiki openwrt and i lost
i have ntfs partition hdd just want to plug in to my wrt3200acm router and share and watch.
thats all i am asking nothing less

if any can one send me step by step tutorial would be much appreciated.

thanks,
regards.