Entware / Entware-ng

Entware-ng
GNU General Public License v2.0
1.21k stars 152 forks source link

install Error on asuswrt-merlin #364

Closed barney-sch closed 8 years ago

barney-sch commented 8 years ago

Hello,

for installing, I followed the instructions on: https://github.com/RMerl/asuswrt-merlin/wiki/Entware

By installing I get a syntax error.

wget -O - http://pkg.entware.net/binaries/mipsel/installer/installer.sh | sh
...
Info: Creating folders...
Info: Deploying opkg package manager...
Downloading /opt/bin/opkg... success!
Downloading /opt/etc/opkg.conf... success!
Downloading /opt/etc/profile... success!
Downloading /opt/etc/init.d/rc.func... success!
Downloading /opt/etc/init.d/rc.unslung... success!
Info: Basic packages installation...
/opt/bin/opkg: line 1: syntax error: unexpected "("
/opt/bin/opkg: line 1: syntax error: unexpected "("

Congratulations! If there are no errors above then Entware-ng is successfully initialized.

Also I get the same error by executing opkg:

admin@RT-AC87U-7688:/tmp/home/root# opkg
/opt/bin/opkg: line 1: syntax error: unexpected "("

Any Idea, or possible solution ?

Regards, Barney

zyxmon commented 8 years ago

It looks like your router is arm and has a script for mipsel. Please check it with Merlin.