What's new

Entware installation issue

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

ToddT

Occasional Visitor
First I'd like to say thanks to RMerlin for a fantastic firmware experience. I'm sure he's heard it a million times, but one more doesn't hurt!

I have a RT-AC68U with .39 running. I'm trying to play with the "adblocking with hosts files" as detailed here http://forums.smallnetbuilder.com/showthread.php?t=15309

I run into an issue with the installation of Entware. I've been following the instructions listed here https://github.com/RMerl/asuswrt-merlin/wiki/Entware

I did have DownloadMaster installed so I went through the steps of removal as instructed, then moved onto the installation via the "old way" since I couldn't find a link to download entware-setup.sh. Tried wget http://wl500g-repo.googlecode.com/svn/ipkg/entware-setup.sh as shot in the dark but no joy.

During the execution of entware_install.sh I am greeted with an error: /opt/bin/opkg: line1: syntax error: unexpected "("

Running opkg from a command prompt generates this error as well so after some digging I found references that mention this error may be occurring due to opkg version being incompatible with the platform. Not sure if this is the case or if it's a case of me not knowing what I'm doing.

My thanks in advance for assistance and for helping beginners like me cut their teeth on this fun stuff!
 
Entware does not support the ARM architecture used in the RT-AC68U. That's why entware-setup.sh isn't present in the firmware.
 
Well, guess that answers that then. Is there any movement on an ac68u friendly version of entware or is the newest Asus router stuck with optware?
 
Well, guess that answers that then. Is there any movement on an ac68u friendly version of entware or is the newest Asus router stuck with optware?

Not for the time being. ryzhov_al (the Entware maintainer) isn't really warm to the idea of having to double the amount of work (and build time) by having to support a completely different architecture. For many package this will probably require more than just compiling for a different architecture, additional patches might be required to their respective build systems.

One alternative worth looking at is Openwrt's own ARM-based repo. DD-WRT recently switched to it for their ARM devices. No idea how complete or up-to-date it is compared to bluewave.
 
I see that I have sed, awk and wget with optware. Not brave enough yet to take off my training wheels so I'll hop over to that thread ask that question of the lonely coder, maybe he'll have pity on me :D
 
I see that I have sed, awk and wget with optware. Not brave enough yet to take off my training wheels so I'll hop over to that thread ask that question of the lonely coder, maybe he'll have pity on me :D

The only difference is that you need to delete this lines from /jffs/scripts/post-mount:

Code:
if [ $1 = "/tmp/mnt/sda1" ]
then
  ln -sf $1/entware /tmp/opt
fi
Should look like this
#!/bin/sh

sleep 12
wget "http://winhelp2002.mvps.org/hosts.txt" -O "/tmp/mnt/sda1/mvps.org.hosts"
...
...
And of corse, if your usb disk has a label, change sda1 in all scripts with your disk label
 
Question: According to the post by thelonelycoder, he's taking the ideas from a couple of others and combining them into one. Does that mean that this solution would have the performance issues ryzhov_al mentions in http://forums.smallnetbuilder.com/showthread.php?t=9449?

Looking at the script and instructions thelonelycoder provides I don't see where he's referencing or installing privoxy so I'm guessing no, but wanted to ask.
 
Question: According to the post by thelonelycoder, he's taking the ideas from a couple of others and combining them into one. Does that mean that this solution would have the performance issues ryzhov_al mentions in http://forums.smallnetbuilder.com/showthread.php?t=9449?

Looking at the script and instructions thelonelycoder provides I don't see where he's referencing or installing privoxy so I'm guessing no, but wanted to ask.

Maybe is not needed, try and see, let's continue discussion on original thread http://forums.smallnetbuilder.com/showthread.php?t=15309
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top