Posted: Sat Aug 29, 2020 16:33 Post subject: [SOLVED]-PIA DD-WRT issues
So, I have installed DD-WRT on a TP-Link AC1750 (Archer A7) and I am attempting to enable my Private Internet Access on the router. I have not had any success up to this point. I have turned off the NTP setting and set the date/time manually through the command window as the NTP failed to pull the correct date and time, no matter how I configured it. I have included screenshots and a pastebin of my log for reference. Any assistance would be greatly appreciated:
Just to note: I followed the instructions I found on the PIA support website, as well as trying multiple fixes I found while scouring this website and a few others. I have been messing with this for a little over 3 days now and cannot even get a basic connection established with the PIA servers.
Last edited by Egotistical on Tue Sep 01, 2020 21:26; edited 1 time in total
Joined: 18 Mar 2014 Posts: 12922 Location: Netherlands
Posted: Sat Aug 29, 2020 20:15 Post subject:
Welcome to the forum.
We can help you better if you follow the forum guide lines, link in my signature at the bottom of this post
You are posting in the wrong forum and you do not tell us what build you are using for all we know you are using the crappy build 40559 from the router database
If NTP is not working you have made a setup error so the first thing to do is to get that right.
Enable NTP leave the time server field blank, the DDWRT default should work and check your DNS server.
(well actually the first thing to do is to check if you have a decent build)
Sorry for wrong location, I was tired and read "Broadcom" as "Qualcom" for some reason. As far as my build, I thought I got it in my screenshots, but I guess I missed it:
Firmware: DD-WRT v3.0-r44236 std (08/22/20)
I'll go apply the settings you suggest and give it another go. Appreciate the initial assistance and will report back my results.
-----------------------
Okay, been playing with this for a bit now, and I still can't get NTP to play nice. It still sits at startup original time, but adjusts to time zone changes if I adjust that, but never actually pulls the proper time. I should probably have noted sooner that I am using this router to receive WAN through wireless from a local "public" subscription based service. I could go in to more detail if I need to. As of right now, it receives signal from the Wireless and I can access the internet on my laptop using a LAN cable through my router. I did a little google-fu and found that the router attempts to update the time at startup and again 120 seconds later, but no more after that. Is there a way to force a refresh of the NTP? Sometimes I don't have connection to the gateway in under 120 seconds. Even when I do establish connection quickly it still fails to update the time. Would love to get this working.
Joined: 18 Mar 2014 Posts: 12922 Location: Netherlands
Posted: Sun Aug 30, 2020 17:33 Post subject:
Egotistical wrote:
Sorry for wrong location, I was tired and read "Broadcom" as "Qualcom" for some reason. As far as my build, I thought I got it in my screenshots, but I guess I missed it:
Firmware: DD-WRT v3.0-r44236 std (08/22/20)
I'll go apply the settings you suggest and give it another go. Appreciate the initial assistance and will report back my results.
-----------------------
Okay, been playing with this for a bit now, and I still can't get NTP to play nice. It still sits at startup original time, but adjusts to time zone changes if I adjust that, but never actually pulls the proper time. I should probably have noted sooner that I am using this router to receive WAN through wireless from a local "public" subscription based service. I could go in to more detail if I need to. As of right now, it receives signal from the Wireless and I can access the internet on my laptop using a LAN cable through my router. I did a little google-fu and found that the router attempts to update the time at startup and again 120 seconds later, but no more after that. Is there a way to force a refresh of the NTP? Sometimes I don't have connection to the gateway in under 120 seconds. Even when I do establish connection quickly it still fails to update the time. Would love to get this working.
That is why the forum guide lines ask you to give as much information as you can like network setup and the guides you have been using.
So the first thing to do is to get your setup working
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Sun Aug 30, 2020 18:05 Post subject:
have a look here https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=326273 , there was a recent discussion about PIA, with a lot of useful info updated
NTP time is vital, you can use the default DDWRT ntp time, just select time zone
or use an ntp time IP instead or domain name in the NTP box....
for your router use the lower settings 128 bit sha 1, 2048 cert
do not expect performance greater than 10 mbit max _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Last edited by Alozaros on Mon Aug 31, 2020 6:15; edited 2 times in total
Okay,... so, I think I figured out the issue with the NTP... and I guess I should probably start over with my descriptions... sorry.
I am trying to get a TP-Link Archer A7 V5 to connect to a wireless network that I can see and is an open network. The network in question uses a captive portal to force purchasing of internet use in time blocks from 1 hr to 30 days, and in speed options of 1-6 meg. The intended final outcome is that my router will connect as a client, and log in to the network behind a Private Internet Access OpenVPN connection.
What I've done so far:
Install DD-WRT with build: v3.0-r44236 std (08/22/20)
played with some stuff for about 3 days,... asked for help,... looked like a noob... reset router to factory and started fresh.
Followed the "Client-Mode" wiki linked above. I can connect to the host router, and send an internet signal to my computer, where I log in using the captive portal. While connected in this manner, the NTP fails to connect and update time, so I cannot connect to PIA
Factory reset, packed everything up, moved to an area with actual open free wifi. Followed the wiki again, connected to the new host wifi, NTP operates as expected, proper time is recieved. Can surf the internet normally.
Turn off VPN services and reset settings back, remove all static dns servers I put in while using the guide.
And that's where I am now. So... 2 issues remain: how to get NTP to pool properly from behind a captive portal, get VPN working.
----
Update: Got the internet going again through the VPN, had to adjust a couple settings after finding another post on here about NAT and Compression, all going good so far!
Okay, confirmed my suspicions. Back with the other WiFi that uses captive portal log in and again, the NTP servers are not connecting. Does anyone know of a way to force this to occur? I already have a package from the provider, just need to get the dd wrt to be able to see through it long enough to pull proper time so I can connect to the VPN.
I have the same problem in my summer residence but was able to track down the url which was used to login and now just execute that url form the router like:
Thank you EGC for your support so far! I have been able to set up the auto-login for my local wifi hotspot and now can connect to PIA servers. Just hoping you can assist with the final piece to my puzzle. Is there any way to force the traffic over remote port 53? I'm trying to lift the bandwidth restriction. If you aren't able to assist with this portion, I understand, but would greatly appreciate any assistance you could give me.
and of course build 40599 is the worst ever (now I am exaggerating)
Besides they have DNS problems, their normal DNS servers 209.222.18.218 and 209.222.18.222 seem no longer publicly available only through the tunnel.
This is really bad
I just today started writing a setup guide for PIA, I will PM you a first draft well actually it is not even half finished but it maybe gives you some clues how to setup.
Please elaborate how you have been able to auto login so that others can profit from your knowledge
I snagged my cell phone mac and logged in to the web portal, got the dd wrt router ready, disconnected the phone and re-connected the router with the cloned MAC address before the network timed the mac out. This option works for me as I will only have to do this about once a month as my time blocks that I am buying expire. For ISP's or WiFi's that require constant re-logs, this will get very tedious.
I will now go and start a new forum post regarding the PIA settings questions I have. Thank you all!