wget does not work anymore

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
robert-e
DD-WRT User


Joined: 19 Feb 2007
Posts: 227

PostPosted: Fri May 07, 2021 11:27    Post subject: wget does not work anymore Reply with quote
Hi,
I used to use wget to download a flash to /tmp on an ea6400, but that does not work anymore. I used this command:

Quote:
wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/04-24-2021/r46446/linksys-ea6400/linksys-ea6400-webflash.bin


How do I now do this?

Regards,
Bob
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6435
Location: UK, London, just across the river..

PostPosted: Fri May 07, 2021 12:15    Post subject: Reply with quote
what router / witch build number ?
wget is not working when you dont have connectivity... Rolling Eyes Laughing

_________________
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 55779 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
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14207
Location: Texas, USA

PostPosted: Fri May 07, 2021 15:13    Post subject: Reply with quote
It is possible that there is now a redirect to https via the link that will not work with wget since ssl support is not configured or compiled into busybox wget. You can try using the ftp link instead:

ftp://ftp.dd-wrt.com/betas//2021/04-24-2021/r46446/linksys-ea6400/linksys-ea6400-webflash.bin

BUT you also used a bad link Rolling Eyes :

http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/04-24-2021-r46446/linksys-ea6400/linksys-ea6400-webflash.bin

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
robert-e
DD-WRT User


Joined: 19 Feb 2007
Posts: 227

PostPosted: Fri May 07, 2021 16:41    Post subject: still not working Reply with quote
re...conectivity/router ...web browser sees the file; read the command I posted.

I tried using ftp and got this:

Quote:
bob@thinkpad:~$ wget ftp://ftp.dd-wrt.com/betas//2021/04-24-2021/r46446/linksys-ea6400/linksys-ea6400-webflash.bin
--2021-05-07 10:29:16-- ftp://ftp.dd-wrt.com/betas//2021/04-24-2021/r46446/linksys-ea6400/linksys-ea6400-webflash.bin
=> ‘linksys-ea6400-webflash.bin’
Resolving ftp.dd-wrt.com (ftp.dd-wrt.com)... 185.84.6.100, 2a05:a1c0:0:dd::100
Connecting to ftp.dd-wrt.com (ftp.dd-wrt.com)|185.84.6.100|:21... failed: Connection timed out.
Connecting to ftp.dd-wrt.com (ftp.dd-wrt.com)|2a05:a1c0:0:dd::100|:21... failed: Network is unreachable.
bob@thinkpad:~$


Something is new and strange; I have done this dozens of times in past years, mostly using the browser to get the path, and then using wget and ftp in a terminal.

Very odd state of affairs. Perhaps you could try it from your end.

I want to use an up-to-date router since the isp is not doing security updates to their supplied router.

Thanks,
Best regards,
Bob
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2036

PostPosted: Fri May 07, 2021 17:27    Post subject: Reply with quote
Try this
wget ftp://ftp.dd-wrt.com/betas//2021/04-24-2021-r46446/linksys-ea6400/linksys-ea6400-webflash.bin

or
wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/04-24-2021-r46446/linksys-ea6400/linksys-ea6400-webflash.bin
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6285
Location: Texas

PostPosted: Fri May 07, 2021 19:07    Post subject: Reply with quote
Works for me .... of course I have absolutely no reason for a 'linksys-ea6400-webflash.bin' on the EA8500
Twisted Evil
Code:
mrjcd@Fat-Deb:~$ ssh root@ea8500.mrjcd.com
DD-WRT v3.0-r46380 std (c) 2021 NewMedia-NET GmbH
Release: 04/17/21
Board: Linksys EA8500
==========================================================
 
     ___  ___     _      _____  ______       ____  ___
    / _ \/ _ \___| | /| / / _ \/_  __/ _  __|_  / / _ \
   / // / // /___/ |/ |/ / , _/ / /   | |/ //_ <_/ // /
  /____/____/    |__/|__/_/|_| /_/    |___/____(_)___/
                                                     
                       DD-WRT v3.0
                   https://www.dd-wrt.com


==========================================================


BusyBox v1.33.0 (2021-04-17 00:33:21 +07) built-in shell (ash)

root@EA8500:~# cd /tmp
root@EA8500:/tmp# ls
TZ                cron.d            etc               mnt               openvpnserver     smb.conf          www
ath10k-board.bin  disk              hosts             nvram             openvpnsrv_fw.sh  smb.db
board1.bin        disktype.dump     ksmbd.lock        nvstate           resolv.conf       var
board2.bin        dnsmasq.conf      ksmbd.subauth     oet               root              wlan0_configured
bw.db             eap_identities    loginprompt       openvpn           services          wlan1_configured
root@EA8500:/tmp#  wget ftp://ftp.dd-wrt.com/betas//2021/04-24-2021-r46446/linksys-ea6400/linksys-ea6400-webflash.bin
Connecting to ftp.dd-wrt.com (185.84.6.100:21)
saving to 'linksys-ea6400-webflash.bin'
linksys-ea6400-webfl 100% |************************************************************************************| 24.8M  0:00:00 ETA
'linksys-ea6400-webflash.bin' saved
root@EA8500:/tmp# ls
TZ                           dnsmasq.conf                 mnt                          root
ath10k-board.bin             eap_identities               nvram                        services
board1.bin                   etc                          nvstate                      smb.conf
board2.bin                   hosts                        oet                          smb.db
bw.db                        ksmbd.lock                   openvpn                      var
cron.d                       ksmbd.subauth                openvpnserver                wlan0_configured
disk                         linksys-ea6400-webflash.bin  openvpnsrv_fw.sh             wlan1_configured
disktype.dump                loginprompt                  resolv.conf                  www
root@EA8500:/tmp# rm linksys-ea6400-webflash.bin
root@EA8500:/tmp# ls
TZ                cron.d            etc               mnt               openvpnserver     smb.conf          www
ath10k-board.bin  disk              hosts             nvram             openvpnsrv_fw.sh  smb.db
board1.bin        disktype.dump     ksmbd.lock        nvstate           resolv.conf       var
board2.bin        dnsmasq.conf      ksmbd.subauth     oet               root              wlan0_configured
bw.db             eap_identities    loginprompt       openvpn           services          wlan1_configured
root@EA8500:/tmp# cd
root@EA8500:~# uptime
 14:04:06 up 2 days, 57 min,  load average: 0.06, 0.01, 0.00
root@EA8500:~# date
Fri May  7 14:04:08 CDT 2021
root@EA8500:~# exit
Connection to ea8500.mrjcd.com closed.
mrjcd@Fat-Deb:~$
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2036

PostPosted: Fri May 07, 2021 19:50    Post subject: Reply with quote
His link has a flaw, slash vs dash.
/04-24-2021/r46446/
/04-24-2021-r46446/
robert-e
DD-WRT User


Joined: 19 Feb 2007
Posts: 227

PostPosted: Fri May 07, 2021 21:00    Post subject: ea6400 wget flashing worked Reply with quote
The http version does work:

wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/04-24-2021-r46446/linksys-ea6400/linksys-ea6400-webflash.bin

The ftp version does not work, even if I change the addressing to match the http version..ie:

wget ftp://ftp.dd-wrt.com/betas/2021/04-24-2021-r46446/linksys-ea6400/linksys-ea6400-webflash.bin


Thanks for the help. I did get the ea6400 flashed and working. I sure wish the web updating worked on this router.

Regards,
Bob
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware 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