Giter VIP home page Giter VIP logo

merlin.php's Introduction

Merlin.PHP

面向 ASUS﹣MERLIN 的 SS Web 管理面板。

只支持 http://koolshare.io 下的固件版本。

Dribbble

If u love this, please 'LOVE' on Dribbble.

https://dribbble.com/shots/2786309-Merlin-WEB-Tools

Github

And don't forget get me a STAR on github.

Thx ❤️

User interface

iPhone-Safari

功能

為了便捷查看網絡狀態的目的而開發,支持 SS 的重開、以及切換服務器等功能。

  • 網絡測試和監視。
  • 重新連接網絡(WLAN)。
  • 快速重新連接 SS。
  • Game-Mode 以及 Game-V2 支持。
  • 切換 SS 服務器。

開發描述

  1. ASUS 的路由器很傻,每次都需要一個難看的後臺,並且輸入賬戶密碼,很煩;
  2. Koolshare 的 ASUS 固件的確很好,不過從 UI、操作還是不夠便利;
  3. Koolshare 的 SS 重啟速度太慢了。

基於以上三點,故之而個人開發了這個 SS 管理後臺。

很多時候,當國外連線「Problem Detected」的情況下,一般都是 DNSMASQ 服務出了問題。簡單來說,就是你平時能上 QQ 不能打開網頁一樣。我們只需要啟動一下 DNSMASQ 服務就應該可以了。

又有些時候,我們玩 PS4 當和朋友遇到 NAT 限制錯誤時候,這個就需要進行 PPPOE 重新撥號了。

所以,在我的 Web 控制板上,提供了「Network」和「ShadowSocks」兩個重啟按鈕。

**Network:**將會重新連線 WAN,并重啟 DNSMASQ;

**ShadowSocks:**將會重新連接 SS,并重啟 DNSMAQS;

安裝

開發環境

OS: ASUS-MERLIN

Firmware 固件: 380.59_X6.6.1

硬件: RT-AC68U

安裝步驟

在 admin 後臺面板,激活 SSH 功能;

step1

在 admin 後臺面板,安裝「Download Master」;
  1. 打開 'http://192.168.1.1',
  2. select 'USB 相關應用',
  3. Download Master and click 'install' link.

step2

使用你熟悉的工具,登入 SSH

運行安裝腳本
wget --no-check-certificate https://github.com/qoli/Merlin.PHP/raw/master/bin/install/install.sh -O install.sh
chmod +x install.sh
./install.sh

THANK

過期內容

INSTALL CODE

IPKG 更新

ipkg update

ipkg upgrade

安裝 PHP 環境

ipkg install lighttpd nano http://www.llqoli.com/ipks/gdbm_1.8.3-4_arm.ipk php-fcgi php-curl

修改端口

打開「/opt/etc/lighttpd/lighttpd.conf」把 server.port 修改為 81,或運行下方代碼也可以。

sed -i 's/server.port                = 8081/server.port                = 81/g' "/opt/etc/lighttpd/lighttpd.conf"

重啟 Web

/opt/etc/init.d/S80lighttpd restart

加入自動運行

app_set_enabled.sh lighttpd yes

推薦安裝目錄: /opt/share/www/

cd ~
wget https://github.com/qoli/Merlin.PHP/archive/master.zip --no-check-certificate
unzip master.zip
cd Merlin.PHP-master
cp * /opt/share/www/ -R

STEP

運行上方「INSTALL CODE」,以安裝 PHP、Web 服務器相關組件;
打開 http://192.168.1.1:81 ,檢查是否已經成功安裝 Web;
釋放源碼到「/opt/share/www/」,記得先清空原來目錄;
刷新 http://192.168.1.1:81 ,看到界面即可成功運行。

merlin.php's People

Contributors

qoli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.