What's new

Stubby-Installer-Asuswrt-Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

I see...thank you very much!


Sent from my iPhone using Tapatalk
 
Hi, can you share how you cross compiled? I would like to try this on my RT-N16.

Thanks.
https://github.com/Entware/Entware/wiki/Using-GCC-for-native-compilation
Download getdns source and apply patch after that run configure.
Code:
wget https://getdnsapi.net/dist/getdns-1.4.2.tar.gz
tar -xvzf getdns-1.4.2.tar.gz
cd getdns-1.4.2
wget https://github.com/getdnsapi/stubby/files/2629513/0001-Bugfix-getdnsapi-stubby-140-fallback-on-getentropy-f.patch.gz
gzip -d 0001-Bugfix-getdnsapi-stubby-140-fallback-on-getentropy-f.patch.gz
patch -p1 < 0001-Bugfix-getdnsapi-stubby-140-fallback-on-getentropy-f.patch
./configure --prefix=/opt --enable-stub-only --without-libidn --without-libidn2 --with-ssl="/opt" --with-stubby
make && make install
 
https://github.com/Entware/Entware/wiki/Using-GCC-for-native-compilation
Download getdns source and apply patch after that run configure.
Code:
wget https://getdnsapi.net/dist/getdns-1.4.2.tar.gz
tar -xvzf getdns-1.4.2.tar.gz
cd getdns-1.4.2
wget https://github.com/getdnsapi/stubby/files/2629513/0001-Bugfix-getdnsapi-stubby-140-fallback-on-getentropy-f.patch.gz
gzip -d 0001-Bugfix-getdnsapi-stubby-140-fallback-on-getentropy-f.patch.gz
patch -p1 < 0001-Bugfix-getdnsapi-stubby-140-fallback-on-getentropy-f.patch
./configure --prefix=/opt --enable-stub-only --without-libidn --without-libidn2 --with-ssl="/opt" --with-stubby
make && make install

Thank you, I've compiled it from source and used the patch you mentioned and all is working now, I had an open issue on their github: https://github.com/getdnsapi/getdns/issues/409
 
mm.. Yeah I feel DoT is faster than DoH of dnscrypt-proxy2 :O!
Not to mention MUCH smaller binary than dnscrypt-proxy2. We're running in tight memory environment.
 
Is this already incorporated in the original script so it can be installed in AC86U or not? If not at what point in installation do I install this patch?
I do not believe it is in the original install. Yet. Best to run the original install then replace the original getdns with the patched one. Of coirse someone will tell me I am wrong, again...

Sent from my SM-T380 using Tapatalk
 
I do not believe it is in the original install. Yet. Best to run the original install then replace the original getdns with the patched one. Of coirse someone will tell me I am wrong, again...

Sent from my SM-T380 using Tapatalk

Ha! [emoji23] Thank you anyway!
 
Just installed this in my AC86U and everything came to a screeching halt. My VPN and internet will not work and the NTP server will not synchronize my time zone. Until I figure everything out and do some more reading about stubby, could anybody provide me with the uninstall command for Stubby via SSH?
I'm sure by now you have resolve. I have had a forced absence from the forum due to my laptop being in the shop for extended repair. For some reason, Laptops don't like power surges. :eek:

I recommend using the install_stubby.sh script to remove stubby and the other configs made during the installation. There is an option to uninstall stubby on the menu.

The SSH command to remove stubby is:
Code:
opkg remove stubby

During the development of the install script, I noticed that the SSH command to remove stubby does not remove the folders it creates. I fixed that issue in the install script. The uninstall option will configure the router to use Cloudflare DNS 1.1.1.1 servers without the DNS over TLS feature.
 
I'm sure by now you have resolve. I have had a forced absence from the forum due to my laptop being in the shop for extended repair. For some reason, Laptops don't like power surges. :eek:

I recommend using the install_stubby.sh script to remove stubby and the other configs made during the installation. There is an option to uninstall stubby on the menu.

The SSH command to remove stubby is:
Code:
opkg remove stubby

During the development of the install script, I noticed that the SSH command to remove stubby does not remove the folders it creates. I fixed that issue in the install script. The uninstall option will configure the router to use Cloudflare DNS 1.1.1.1 servers without the DNS over TLS feature.

Thank you @Xentrk and welcome back! I did try that command but for the reason you stated above I didn’t feel like it removed it completely so then I used the main install curl to get to the option of uninstall.


Sent from my iPhone using Tapatalk
 
But now that there is a patch for the AC86U I hoping to be brave again and reinstall Stubby this weekend.

I have another question: I have DNScrypt installed via AMTM menu. Will Stubby interfere with any of DNScrypt settings? Do I need to uninstall DNScrypt in order to make Stubby work?


Sent from my iPhone using Tapatalk
 
But now that there is a patch for the AC86U I hoping to be brave again and reinstall Stubby this weekend.

I have another question: I have DNScrypt installed via AMTM menu. Will Stubby interfere with any of DNScrypt settings? Do I need to uninstall DNScrypt in order to make Stubby work?


Sent from my iPhone using Tapatalk
100% Please remove Dnscrypt and reboot before starting your Stubby install.;):)
 
Are there any plans to add/merge this AC86U patch to the install script?
 
100% Please remove Dnscrypt and reboot before starting your Stubby install.;):)

That’s what I thought. Thank you!


Sent from my iPhone using Tapatalk
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top