wget does not work anymore

Post new topic   Reply to topic    DD-WRT Forum 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: 4402
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 46974 BS AP,NAT
TP-Link WR740Nv4 -----DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ---DD-WRT 46885 BS AP,NAT,AP Isolation,Ad-Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---DD-WRT 46974 BS AP,NAT,AD/Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -----DD-WRT 46979 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -----DD-WRT 46979 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,VLAN's,DoT,VPN
-----------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 9060
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

_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum. ---------------------- 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: 1583
Location: WCentral Indiana USA

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: 5432
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: 1583
Location: WCentral Indiana USA

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 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