Shadowsocks on DD-WRT?

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


Joined: 11 Jun 2015
Posts: 37
Location: Germany/Mexico/China

PostPosted: Tue Apr 23, 2019 13:35    Post subject: Shadowsocks on DD-WRT? Reply with quote
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.

Wickiman

_________________
Netgear AC1900/R7000 DD-WRT v3.0-r37015M (09/23/18 ) kongac
Sponsor
Wickiman
DD-WRT Novice


Joined: 11 Jun 2015
Posts: 37
Location: Germany/Mexico/China

PostPosted: Fri Apr 26, 2019 4:57    Post subject: Reply with quote
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
CEGN
DD-WRT User


Joined: 05 Nov 2010
Posts: 61
Location: Mx

PostPosted: Fri Apr 26, 2019 6:25    Post subject: Reply with quote
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.

I assume you are using https://wiki.dd-wrt.com/wiki/index.php/Installing_Entware.

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.

_________________

  • Linksys EA6900 + Vortex CFE
  • Linksys E900
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Fri Apr 26, 2019 7:23    Post subject: Reply with quote
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)



DDWRT USB storage support Public.doc
 Description:

Download
 Filename:  DDWRT USB storage support Public.doc
 Filesize:  393.5 KB
 Downloaded:  414 Time(s)


_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Wickiman
DD-WRT Novice


Joined: 11 Jun 2015
Posts: 37
Location: Germany/Mexico/China

PostPosted: Fri Apr 26, 2019 13:53    Post subject: Reply with quote
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.

Now I will go for the next steps Smile

Wickiman

_________________
Netgear AC1900/R7000 DD-WRT v3.0-r37015M (09/23/18 ) kongac
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT 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