GL-SFT1200便携式智能无线路由器,GL-iNet路由器 2022-8-17

段落1、需求

买了一台GL-iNet品牌的,型号为GL-SFT1200的路由器,它的特点是很小巧,适合随身携带,且它原生为一个openwrt的系统,故而可以便携安装一些常用的工具

原版固件,直接安装插件的尝试

段落2、环境

GL-SFT1200路由器,含充电器,一个

段落3、实施

使用某个浏览器,比如Chrome,登录它的管理页面 http://192.168.8.1

初始,选择中文

进入后,

选择[应用程序],选择[软件包],搜索 luci-i18n-base-zh-cn ,安装

选择[更多设置],选择[高级功能],点击[安装Luci]

测试一下,能否正常,访问 http://192.168.8.1/cgi-bin/luci 到 Luci的管理页面

进入[系统]/[管理权],设置SSH访问,接口位置,仅选择 LAN,保存并应用。如下图。

段落4、插件安装

参考 https://www.right.com.cn/forum/thread-8005940-1-1.html 页面里的脚本

wget -qO- https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/install.sh | sh -s ssr-plus

脚本内容

#!/bin/sh
sed -i '/sft1200_buddha/d' /etc/opkg/customfeeds.conf
echo "src/gz sft1200_buddha https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha" >>/etc/opkg/customfeeds.conf
opkg update
action="$1"
case "${action}" in
ssr-plus)
opkg install luci luci-i18n-base-zh-cn luci-app-ssr-plus luci-i18n-ssr-plus-zh-cn
;;
passwall)
opkg install luci luci-i18n-base-zh-cn luci-app-passwall luci-i18n-passwall-zh-cn
;;
*)
opkg install luci luci-i18n-base-zh-cn luci-app-passwall luci-i18n-passwall-zh-cn luci-app-ssr-plus luci-i18n-ssr-plus-zh-cn
;;
esac
wget -O /tmp/libsodium.ipk https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/libsodium_1.0.18-2021-09-17-64129657_mips_siflower.ipk
opkg install /tmp/libsodium.ipk

简单来说,就是添加了一个自定义的源,同时进行插件的安装。

为了避免报错,尽量在一个有不错网络的环境下进行如上的操作。

使用Windows里面的powershell或者其他类似的,使用SSH登录到路由器

增加特殊的源,并更新,安装需要的软件,并安装加密库

echo "src/gz sft1200_buddha https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha" >>/etc/opkg/customfeeds.conf

opkg update

opkg install luci-app-passwall luci-i18n-passwall-zh-cn

wget -O /tmp/libsodium.ipk https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/libsodium_1.0.18-2021-09-17-64129657_mips_siflower.ipk
opkg install /tmp/libsodium.ipk

安装过程明细,可不看

root@GL-SFT1200:~# opkg install luci-app-passwall luci-i18n-passwall-zh-cn
Installing luci-app-passwall (4.43-2) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/luci-app-passwall_4.43-2_all.ipk
Installing coreutils (8.23-3) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/packages-3.6/siflower/packages/coreutils_8.23-3_mips_siflower.ipk
Installing coreutils-base64 (8.23-3) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/packages-3.6/siflower/packages/coreutils-base64_8.23-3_mips_siflower.ipk
Installing coreutils-nohup (8.23-3) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/packages-3.6/siflower/packages/coreutils-nohup_8.23-3_mips_siflower.ipk
Installing dns2socks (2.1-2) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/dns2socks_2.1-2_mips_siflower.ipk
Installing libuv (1.19.2-1) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/packages-3.6/siflower/packages/libuv_1.19.2-1_mips_siflower.ipk
Installing ipt2socks (1.1.3-2) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/ipt2socks_1.1.3-2_mips_siflower.ipk
Installing kmod-ipt-tproxy (4.14.90-1) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/kmod-3.8/siflower/sf19a28_nand/kmod-ipt-tproxy_4.14.90-1_mips_siflower.ipk
Installing iptables-mod-tproxy (1.8.2-2) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/kmod-3.8/siflower/sf19a28_nand/iptables-mod-tproxy_1.8.2-2_mips_siflower.ipk
Installing kmod-ipt-iprange (4.14.90-1) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/kmod-3.8/siflower/sf19a28_nand/kmod-ipt-iprange_4.14.90-1_mips_siflower.ipk
Installing iptables-mod-iprange (1.8.2-2) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/kmod-3.8/siflower/sf19a28_nand/iptables-mod-iprange_1.8.2-2_mips_siflower.ipk
Installing libuci-lua (2018-08-11-4c8b4d6e-1) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/packages-3.6/siflower/packages/libuci-lua_2018-08-11-4c8b4d6e-1_mips_siflower.ipk
Installing microsocks (1.0.2-2) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/microsocks_1.0.2-2_mips_siflower.ipk
Installing tcping (0.3) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/tcping_0.3_mips_siflower.ipk
Installing chinadns-ng (1.0-beta.25) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/chinadns-ng_1.0-beta.25_mips_siflower.ipk
Installing hysteria (0.9.0) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/hysteria_0.9.0_mips_siflower.ipk
Installing kcptun-client (20210922) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/kcptun-client_20210922_mips_siflower.ipk
Installing pdnsd-alt (1.2.9b-par-2) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/pdnsd-alt_1.2.9b-par-2_mips_siflower.ipk
Installing shadowsocks-libev-config (3.3.5-1) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/shadowsocks-libev-config_3.3.5-1_mips_siflower.ipk
Installing shadowsocks-libev-ss-local (3.3.5-1) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/shadowsocks-libev-ss-local_3.3.5-1_mips_siflower.ipk
Installing shadowsocks-libev-ss-redir (3.3.5-1) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/shadowsocks-libev-ss-redir_3.3.5-1_mips_siflower.ipk
Installing libudns (0.4-1) to root...
Downloading https://fw.gl-inet.cn/releases/v18.06.5/packages-3.6/siflower/packages/libudns_0.4-1_mips_siflower.ipk
Installing shadowsocksr-libev-ssr-local (2.5.6-9) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/shadowsocksr-libev-ssr-local_2.5.6-9_mips_siflower.ipk
Installing shadowsocksr-libev-ssr-redir (2.5.6-9) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/shadowsocksr-libev-ssr-redir_2.5.6-9_mips_siflower.ipk
Installing simple-obfs-client (0.0.5) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/simple-obfs-client_0.0.5_mips_siflower.ipk
Installing trojan-go (0.10.6) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/trojan-go_0.10.6_mips_siflower.ipk
Installing xray-core (1.4.5) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/xray-core_1.4.5_mips_siflower.ipk
Installing xray-plugin (1.4.5) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/xray-plugin_1.4.5_mips_siflower.ipk
Installing luci-i18n-passwall-zh-cn (4.43-2) to root...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/luci-i18n-passwall-zh-cn_4.43-2_all.ipk
Configuring libuci-lua.
Configuring kmod-ipt-tproxy.
Configuring hysteria.
Configuring chinadns-ng.
Configuring pdnsd-alt.
Configuring libuv.
Configuring ipt2socks.
Configuring coreutils.
Configuring coreutils-base64.
Configuring shadowsocks-libev-config.
Configuring dns2socks.
Configuring trojan-go.
Configuring kmod-ipt-iprange.
Configuring iptables-mod-iprange.
Configuring microsocks.
Configuring xray-plugin.
Configuring iptables-mod-tproxy.
Configuring shadowsocks-libev-ss-local.
Configuring simple-obfs-client.
Configuring libudns.
Configuring shadowsocksr-libev-ssr-local.
Configuring kcptun-client.
Configuring shadowsocks-libev-ss-redir.
Configuring coreutils-nohup.
Configuring tcping.
Configuring shadowsocksr-libev-ssr-redir.
Configuring xray-core.
Configuring luci-app-passwall.
Configuring luci-i18n-passwall-zh-cn.
root@GL-SFT1200:~# 



root@GL-SFT1200:~# wget -O /tmp/libsodium.ipk https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/libsodium_1.0.18-2021-09-17-64129657_mips_siflower.ipk
Downloading 'https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/libsodium_1.0.18-2021-09-17-64129657_mips_siflower.ipk'
Connecting to 151.101.109.229:443
Writing to '/tmp/libsodium.ipk'
/tmp/libsodium.ipk   100% |*******************************|   151k  0:00:00 ETA
Download completed (155196 bytes)
root@GL-SFT1200:~# opkg install /tmp/libsodium.ipk
Upgrading libsodium on root from 1.0.16-1 to 1.0.18-2021-09-17-64129657...
Downloading https://cdn.jsdelivr.net/gh/ericwang2006/sft1200_buddha/libsodium_1.0.18-2021-09-17-64129657_mips_siflower.ipk
Removing obsolete file /usr/lib/libsodium.so.23.
Removing obsolete file /usr/lib/libsodium.so.23.1.0.
Configuring libsodium.
root@GL-SFT1200:~# 

只要网络没问题,基本上,可以稳稳安装成功。在服务中可见安装的passwall

GL-SFT1200便携式智能无线路由器,GL-iNet路由器 2022-8-17》有1个想法

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注