WGET not working

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
Schmengie
DD-WRT Novice


Joined: 14 Oct 2018
Posts: 19

PostPosted: Fri Oct 19, 2018 5:47    Post subject: WGET not working Reply with quote
Trying to install Entware. Doesn't work because WGET doesn't work.

Code:
root@Penny:~# cd /opt
root@Penny:/opt# wget http://bin.entware.net/mipssf-k3.4/installer/generic.sh
Connecting to bin.entware.net (81.4.123.217:80)
root@Penny:/opt#


Did some searching and some have stated that WGET echoes nothing when called these days. If that's the case, how do I know that it worked or that it didn't?

Otherwise, nobody seems to know what the issue is.

Running v3.0-r36168 std.
Sponsor
Alozaros
DD-WRT Guru


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

PostPosted: Fri Oct 19, 2018 7:08    Post subject: Reply with quote
i do suspect this too as my adblockers are not working as intended but for some reason its very random not
on all my routers

_________________
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
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1415

PostPosted: Fri Oct 19, 2018 14:51    Post subject: Reply with quote
Not sure but do the routers have the curl command? You could try it instead of wget.
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Fri Oct 19, 2018 15:58    Post subject: Re: WGET not working Reply with quote
Schmengie wrote:
Trying to install Entware. Doesn't work because WGET doesn't work.

Code:
root@Penny:~# cd /opt
root@Penny:/opt# wget http://bin.entware.net/mipssf-k3.4/installer/generic.sh
Connecting to bin.entware.net (81.4.123.217:80)
root@Penny:/opt#


Did some searching and some have stated that WGET echoes nothing when called these days. If that's the case, how do I know that it worked or that it didn't?

Otherwise, nobody seems to know what the issue is.

Running v3.0-r36168 std.


Wget was broken a while ago in BS build current builds should be fine.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Mr Routy
DD-WRT Novice


Joined: 19 Oct 2018
Posts: 1

PostPosted: Fri Oct 19, 2018 20:04    Post subject: Reply with quote
Having a similar issue, but no response from WGET.

Code:

root@Mr Routy:~# cd /opt
root@Mr Routy:/opt# wget http://bin.entware.net/mipssf-k3.4/installer/generic.sh
root@Mr Routy:/opt# sh generic.sh
sh: can't open 'generic.sh': No such file or directory



According to this old thread: https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=881372 WGET does not work when WAN is disabled. I am using a client bridge which disables WAN. Maybe this is still an issue?

Just updated firmware to v3.0-r37442, was having the same issue on older firmeware.
Schmengie
DD-WRT Novice


Joined: 14 Oct 2018
Posts: 19

PostPosted: Sat Oct 20, 2018 15:36    Post subject: Reply with quote
I fixed it on my end. As it turned out, there was either something wrong with the ext2 formatting on my USB volume or with the way it was mounted. I'm not sure which. I used my old Lubuntu build to reformat it again before plugging it back in to the router and ensuring that it mounted properly to /opt. WGET started to work again.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum