R7000 Install Entware-ARM opkg succeccfully!

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
leonanu
DD-WRT Novice


Joined: 15 Jun 2015
Posts: 22
Location: Beijing, China

PostPosted: Sun Jul 19, 2015 2:57    Post subject: R7000 Install Entware-ARM opkg succeccfully! Reply with quote
I'd like to share my installation of Entware-ARM on Netgear R7000 and R6300v2. After install, it has been contained opkg package repo. And you can install software with opkg command. Also, it should work with other ARM architecture routers.

I upload the Entware-ARM installation script used by myself.

Notice: Entware and all packages will be installed in /opt!

1. Requirement
    * An USB disk mount on /opt and size greater than 64MB;
    * Recommend mount the /opt partition by UUID on the Services --> USB webpage.
    * SSHd service was enabled in DD-WRT Services --> Services --> Secure Shell webpage;
    * Login DD-WRT with SSH shell client like putty or XShell;


2. Install Entware-ARM
Put entware-arm.sh attachment in /tmp;
Code:
# cd /tmp
# chmod 755 entware-arm.sh
# ./entware-arm.sh

Wait for a minute, Entware-ARM shuold be installed succeccfully!

Others:
* The opkg config file is located in /opt/etc/opkg.conf;
* All packages will be installed in /opt partition;
* If you got error, check /opt partition is writeable;



entware-arm.zip
 Description:

Download
 Filename:  entware-arm.zip
 Filesize:  919 Bytes
 Downloaded:  862 Time(s)



Last edited by leonanu on Mon Jul 20, 2015 1:38; edited 5 times in total
Sponsor
Magnetron1.1
DD-WRT User


Joined: 21 Nov 2010
Posts: 278
Location: North America

PostPosted: Sun Jul 19, 2015 20:59    Post subject: Re: R7000 Install Entware-ARM opkg succeccfully! Reply with quote
leonanu wrote:

Code:
# cd /tmp
# chomd 755 entware-arm.sh
# ./entware-arm.sh



Should be:
chmod 755 entware-arm.sh
or
chmod +x entware-arm.sh

Other than the typo, the script works fine. (Tested on BS build 25974.)
Also, it's helpful to mount the /opt partition by uuid on the Services --> USB webpage.



- Magnetron1.1
Gameman Advanced Kid
DD-WRT Guru


Joined: 18 Nov 2012
Posts: 904

PostPosted: Sun Jul 19, 2015 22:38    Post subject: Reply with quote
please let me know if this is off topic or not but...

if i am going to use this for squid, will i need to install entware on a partition that is about 256gb big? and will i need jffs?

_________________
Is everything okay?

WDS AP - R7800
WDS STATION - R7500V2
leonanu
DD-WRT Novice


Joined: 15 Jun 2015
Posts: 22
Location: Beijing, China

PostPosted: Mon Jul 20, 2015 1:29    Post subject: Reply with quote
Gameman Advanced Kid wrote:
please let me know if this is off topic or not but...

if i am going to use this for squid, will i need to install entware on a partition that is about 256gb big? and will i need jffs?


The disk size depends on Squid cache size, if you plan to cache huge content in Squid, bigger disk is better.

All Entware packages, libs and config files will be installed in /opt. You don't need additional /jffs partition.

After installed Entware-ARM, just running:
# opkg install squid
# opkg install squid-mod-cachemgr


Last edited by leonanu on Mon Jul 20, 2015 1:45; edited 1 time in total
leonanu
DD-WRT Novice


Joined: 15 Jun 2015
Posts: 22
Location: Beijing, China

PostPosted: Mon Jul 20, 2015 1:31    Post subject: Re: R7000 Install Entware-ARM opkg succeccfully! Reply with quote
Magnetron1.1 wrote:
leonanu wrote:

Code:
# cd /tmp
# chomd 755 entware-arm.sh
# ./entware-arm.sh



Should be:
chmod 755 entware-arm.sh
or
chmod +x entware-arm.sh

Other than the typo, the script works fine. (Tested on BS build 25974.)
Also, it's helpful to mount the /opt partition by uuid on the Services --> USB webpage.



- Magnetron1.1


Thanks for notice! I got a spelling mistake. It should be "chmod". I usually type chmod to chomd and chown to chwon... Embarassed
Magnetron1.1
DD-WRT User


Joined: 21 Nov 2010
Posts: 278
Location: North America

PostPosted: Mon Jul 20, 2015 2:06    Post subject: Reply with quote
Gameman Advanced Kid wrote:

if i am going to use this for squid, will i need to install entware on a partition that is about 256gb big? and will i need jffs?


Under entware everything is stored under the /opt mount point which includes many subdirectories. So far nothing has required using the /jffs partition. I think a 256GB partition should be more than adequate for your purposes. I have a hard drive with a 1.7TB /opt partition.

The BS 25974 build has squid built-in, but unfortunately a major piece of it is missing causing squid to fail. The BS 27506 build doesn't have squid built-in. Using the OPKG package manager, I successfully installed squid on one of my R7000 routers, but haven't gotten it to do anything useful other than display a help menu and a version menu. Since I'm unfamiliar with the product, I suspect some major configuration needs to be done.

- Magnetron1.1
zyxmon
DD-WRT User


Joined: 07 Sep 2011
Posts: 139

PostPosted: Mon Jul 20, 2015 9:08    Post subject: Reply with quote
I have uploaded the script from the first post as
http://qnapware.zyxmon.org/binaries-armv7/installer/entware-arm-setup-ddwrt-forum.sh

_________________
My forum.
leonanu
DD-WRT Novice


Joined: 15 Jun 2015
Posts: 22
Location: Beijing, China

PostPosted: Mon Jul 20, 2015 9:13    Post subject: Reply with quote
zyxmon wrote:
I have uploaded the script from the first post as
http://qnapware.zyxmon.org/binaries-armv7/installer/entware-arm-setup-ddwrt-forum.sh


Thans a lot~! Your Entware.ARM opkg build is very appreciate~!
TCB13
DD-WRT User


Joined: 06 Jun 2010
Posts: 51

PostPosted: Sun Jul 26, 2015 17:24    Post subject: Reply with quote
Are you using, by any chance a 3.x kernel?

Thank you Wink
HalfBit
DD-WRT Guru


Joined: 04 Sep 2009
Posts: 741
Location: AR, USA

PostPosted: Tue Dec 06, 2016 3:48    Post subject: Reply with quote
I'm not fully familiar with how repos work. I'm using Kong's repo that is built-in to his PTBs (using the bootstrap command). Could one use Entware as well for additional package options, or would one repo overwrite the other?
_________________
R7000 Nighthawk - DD-WRT v3.0-r40270M kongac (07/11/19)
R7000 Nighthawk - DD-WRT v3.0-r40270M kongac (07/11/19)
~~~~~~~~~~Dismantled for learning opportunities~~~~~~~~~~
WRT54Gv2
WRT54Gv8.2
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