Joined: 11 Jun 2015 Posts: 37 Location: Germany/Mexico/China
Posted: Tue Apr 23, 2019 13:35 Post subject: Shadowsocks on DD-WRT?
Hello everyone,
did anyone install on DD-WRT the Shadowsocks client to connect to a VPS hosting.
I just have seen that it is available for OpenWRT and for DD-WRT via Optware or now Entware.
2nd question is, how to get a web interface to fill out the configuration. For OpenWRT I have seen screen shots, for DD-WRT nothing.
Is it actually working on DD-WRT?
If yes, any tutorial is highly appreciated.
Joined: 11 Jun 2015 Posts: 37 Location: Germany/Mexico/China
Posted: Fri Apr 26, 2019 4:57 Post subject:
I need your help in installing Entware.
Looks like that I am running into permission issues.
generic.sh: line 43: /opt/bin/opkg: Permission denied
generic.sh: line 44: /opt/bin/opkg: Permission denied
I am using currently DD-WRT v3.0-r37015M (09/23/18 ) kongac.
The USB is formatted with ext2. Might this be the problem and I need to switch to ext3?
Code:
root@DD-WRT:/opt# wget http://bin.entware.net/mipse
lsf-k3.4/installer/generic.sh
Connecting to bin.entware.net (104.27.177.50:80)
generic.sh 100% |***| 2200 0:00:00 ETA
root@DD-WRT:/opt# sh generic.sh
Info: Checking for prerequisites and creating folders...
Warning: Folder /opt exists!
Info: Opkg package manager deployment...
Connecting to bin.entware.net (104.27.176.50:80)
opkg 100% |***| 162k 0:00:00 ETA
Connecting to bin.entware.net (104.27.177.50:80)
opkg.conf 100% |***| 150 0:00:00 ETA
Connecting to bin.entware.net (104.27.176.50:80)
ld-2.27.so 100% |***| 155k 0:00:00 ETA
Connecting to bin.entware.net (104.27.177.50:80)
libc-2.27.so 100% |***| 1613k 0:00:00 ETA
Connecting to bin.entware.net (104.27.176.50:80)
libgcc_s.so.1 100% |***| 95080 0:00:00 ETA
Connecting to bin.entware.net (104.27.177.50:80)
libpthread-2.27.so 100% |***| 116k 0:00:00 ETA
Info: Basic packages installation...
generic.sh: line 43: /opt/bin/opkg: Permission denied
generic.sh: line 44: /opt/bin/opkg: Permission denied
cp: can't stat '/opt/etc/shells.1': No such file or directory
Info: Congratulations!
Info: If there are no errors above then Entware was successfully initialized.Info: Add /opt/bin & /opt/sbin to your PATH variable
Info: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware services to start
Info: Found a Bug? Please report
I cannot run update & upgrade.
Any idea how to fix this?
Thanks a lot
Wickiman _________________ Netgear AC1900/R7000 DD-WRT v3.0-r37015M (09/23/18 ) kongac
My advise is to set it to ext4 (long time ago i had issues using ext2 and ext3) and label it as "opt" so DD-WRT can mount it at boot automaticaly. Then make sure you can write at opt partition. I install entware without using wget to download the generic file, you can download it from your pc, then copy it to opt using winSCP, then just run it from cli.
Also would be better to use a HDD instead of an USB, but it will work with USB.
About your 2nd question, DD-WRT doesnt have a page in the interface for/about Entware, but nevertheless there is a way, check this https://wiki.dd-wrt.com/wiki/index.php/MyPage , i think that mypage8.sh is what you are looking for about it. I'm still trying to get it to work but without success. _________________
Joined: 18 Mar 2014 Posts: 12915 Location: Netherlands
Posted: Fri Apr 26, 2019 7:23 Post subject:
I use ext 2 and it is working, the problem can be in the mounting of opt, you have to make a partition on the USB stick which is labelled opt so that it will automount.
See my attached notes maybe they are helpfull (only visible when you are logged in)
Joined: 11 Jun 2015 Posts: 37 Location: Germany/Mexico/China
Posted: Fri Apr 26, 2019 13:53 Post subject:
Hello egc, hello CEGN,
thanks for your feedback.
I did made 3 partitions on my USB.
jffs (using it for adblocking)
swap
opt
I restarted the router again and "re-activated " the USB.
All looks good, just the /opt/bin/opkg: permission denied.
Searching for the permission denied showed me the solution of the problem.
I believed that my R7000 is a broadcom device but it isn't. I run "uname -a" and it showed me armv7 DD-WRT.
https://github.com/Entware/Entware/issues/81
I used the link for the armv7 and all the installation was going fine.