Download file via HTTPS

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
jujo_si
DD-WRT Novice


Joined: 21 Mar 2017
Posts: 10

PostPosted: Tue Mar 21, 2017 21:26    Post subject: Download file via HTTPS Reply with quote
Hello

wget doesnt work to download files via HTTPS, how can I make it work or use another way to download via HTTPS on my router

wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

Does not download file
Sponsor
js1662
DD-WRT Guru


Joined: 23 Jul 2014
Posts: 1237
Location: BC, CA

PostPosted: Tue Mar 21, 2017 22:08    Post subject: Reply with quote
A workaround is using your PC to download the file and then use WinSCP to transfer it to the router. Another way is downgrade the firmware to an older one that use older BusyBox with version other than 1.26.2 as many said that the problem with wget is with BusyBox 1.26.2
jujo_si
DD-WRT Novice


Joined: 21 Mar 2017
Posts: 10

PostPosted: Tue Mar 21, 2017 22:49    Post subject: Reply with quote
js1662 wrote:
A workaround is using your PC to download the file and then use WinSCP to transfer it to the router. Another way is downgrade the firmware to an older one that use older BusyBox with version other than 1.26.2 as many said that the problem with wget is with BusyBox 1.26.2


I am trying to download regularly automatically so it should be from the router, so this busybox how can I find the verison that I have? Is it possible to install the full-featured wget somehow, like with optware or similar?
js1662
DD-WRT Guru


Joined: 23 Jul 2014
Posts: 1237
Location: BC, CA

PostPosted: Wed Mar 22, 2017 1:40    Post subject: Reply with quote
Use Putty and ssh to the router and login using root and you should see the Busybox version information right away. See the below for your reference.


putty login.png
 Description:
 Filesize:  11.62 KB
 Viewed:  9223 Time(s)

putty login.png


jujo_si
DD-WRT Novice


Joined: 21 Mar 2017
Posts: 10

PostPosted: Sat Mar 25, 2017 8:41    Post subject: Reply with quote
js1662 wrote:
Use Putty and ssh to the router and login using root and you should see the Busybox version information right away. See the below for your reference.


Mine is v1.24.2, I read that in v1.26.2 there is https support. is it true? does wget with https work on your ddwrt?
js1662
DD-WRT Guru


Joined: 23 Jul 2014
Posts: 1237
Location: BC, CA

PostPosted: Sat Mar 25, 2017 9:21    Post subject: Reply with quote
Oh, it seems like I misunderstood your problem. I tried wget on my build for EA6500 v1 with BusyBox 1.26.2 and https also not working for wget. Probably wget only work for http or ftp URL.
jujo_si
DD-WRT Novice


Joined: 21 Mar 2017
Posts: 10

PostPosted: Sat Mar 25, 2017 9:35    Post subject: Reply with quote
js1662 wrote:
Oh, it seems like I misunderstood your problem. I tried wget on my build for EA6500 v1 with BusyBox 1.26.2 and https also not working for wget. Probably wget only work for http or ftp URL.


Yes, so I am waiting for new BusyBox with HPPTS support then Smile
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Mon Mar 27, 2017 16:26    Post subject: Reply with quote
jujo_si wrote:
js1662 wrote:
Oh, it seems like I misunderstood your problem. I tried wget on my build for EA6500 v1 with BusyBox 1.26.2 and https also not working for wget. Probably wget only work for http or ftp URL.


Yes, so I am waiting for new BusyBox with HPPTS support then Smile


... and option "--passive-ftp", needed when playing with iPKG? Smile

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum