Skip to content
This repository was archived by the owner on Oct 18, 2019. It is now read-only.

winguse/miwifi_3_ss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shadowsocks for MiWifi 3

Mostly copy from: blademainer/miwifi-ss, thanks!

Replaced ss-redir with latest (v3.1.0, 2017-09-21) openwrt-shadowsocks.

Pre requirements

Install

cd /data
curl https://codeload.github.com/winguse/miwifi_3_ss/zip/master -o ss.zip
unzip ss.zip
rm ss.zip
cd miwifi_3_ss-master
chmod +x *.sh
./install.sh

Further Automation Tips

As you are using the dev version of the framework, each upgrade of the framework will fuck up your installation. So you may try the following script for automation:

#!/usr/bin/expect -f

spawn ssh root@192.168.31.1
match_max 100000

expect "*?assword:*"
send -- "YOUR_ROUTER_PASSWORD\r"
send -- "\r"

expect "root@XiaoQiang:~#*"

send -- "cd /data\r"
send -- "curl https://codeload.github.com/winguse/miwifi_3_ss/zip/master -o ss.zip\r"
send -- "rm -r miwifi_3_ss-master\r"
send -- "unzip ss.zip\r"
send -- "rm ss.zip\r"
send -- "cd miwifi_3_ss-master\r"
send -- "chmod +x *.sh\r"
send -- "./install.sh\r"

# Put your server address here
expect "Host:\r"
send -- "123.123.123.123\r"

# Put your server port here
expect "Port:\r"
send -- "54321\r"

# Put your password here
expect "Password:\r"
send -- "YOUR_SS_PASSWORD\r"

# Put your encrypt method here
expect "Encrypt Method:\r"
send -- "aes-128-gcm\r"

interact

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages