King Zone - OpenWrt
type: channel
link: https://www.kingtam.win/tag/OpenWrt/
items: Deploy OpenWrt with Docker Compose
items: 2021年了, 大家還記得迅雷賺錢寶嗎? 記一次OpenWrt軟件安裝

Deploy OpenWrt with Docker Compose
type: item
date: 2023-05-17T08:22:00+08:00
description: Deploy OpenWrt with Docker ComposeUse Docker to deploy OpenWrt with Docker Compose.jpgUse Docker to deploy OpenWrt with Docker Compose, it's easy to create and manage containers, making it an ideal solution for deploying OpenWrt on embedded devices.Table of Contents FeaturesNetworking InformationThe latest ImageStart to DeployModify OpenWrt login IP Set OpenWrt to bypass mode (SideRouter)Features kiddin9's OpenWrt firmware offers customizable routers with the latest version and kernel, self-built plug-in warehouse, and easy customization.OpenWrt official OpenWrt-22.03 branch version, Kernel 5.15, synchronized with the latest official source code.The original firmware is extremely pure. It only includes basic Internet access functions by default, and plug-ins can be selected online.The self-built plug-in repository includes almost all open source plug-ins.Customize through supes.top without requiring professional knowledge, and generate it in one minute.One-click OTA firmware update in the background.One-click bypass route (SideRouter) and one-click switch IPv6.Supports online installation of all Kmod kernel modules.Replaces Uhttpd with Nginx, supporting reverse proxy, WebDAV, and more.Out-of-the-box (OOTB) feature.Networking Information Before we begin, let's find out the networking information on the Linux system we will be using to deploy OpenWrt.ip routedefault via 10.1.1.1 dev eth0 metric 20210.1.1.0/24 dev eth0 scope link src 10.1.1.97172.17.0.0/16 dev docker0 scope link src 172.17.0.1This command will display the routing table of the system, which includes the default gateway, subnet, and interface information.NameParameterInterfaceeth0Default Gateway10.1.1.1Subnet10.1.1.0/24Enable the NIC (Network Interface Controller) promiscuous mode.This is necessary for the OpenWrt container to access the internet.ip link set eth0 promisc onIf unsure which interface to use, we can run the following command to automatically detect and enable promiscuous mode:ip link set $(…

2021年了, 大家還記得迅雷賺錢寶嗎? 記一次OpenWrt軟件安裝
type: item
date: 2021-05-14T11:59:00+08:00
description: 2021年了, 大家還記得迅雷賺錢寶嗎? 記一次OpenWrt軟件安裝[shadow]_DSC6228.JPG[/shadow]前言:​ 我是接盤俠，前後入手20部1-2代的迅雷賺錢寶， 因為已經沒有賺錢能力，加上官方的風控問題,積在賬目內的幾千塊也提不出來， 一直在家吃灰。 無意中在恩山論壇找到[賺錢寶1代2代3代openwrt官網固件線刷包]貼文， 發現賺錢寶還有點折騰餘溫， 就有了這篇的記錄。2021-05-13_113036.png重要的要說三次!!!多謝大佬dybjxx適配了1,2,3代的OpenWrt官網固件!多謝大佬dybjxx適配了1,2,3代的OpenWrt官網固件!多謝大佬dybjxx適配了1,2,3代的OpenWrt官網固件!賺錢寶1代2代3代openwrt官網固件線刷包本貼分多個部份:刷機掛載外置USB硬碟SMB分享filebrowser(網頁管理介面，可用於上傳、刪除、預覽、重新命名和編輯您的文件)aria2 (強大又輕巧的下載工具)ttyd (網頁版終端機)簡單導航頁面CIFS 用戶端 (連接或掛載SAMBA伺服器)NFS 用戶端 (連接或掛載NFS伺服器)AdGuard Home (官方腳本傻瓜安裝)京東簽到插件OpenClash小猫咪插件1. 刷機[[返回目錄]]請支持原作者賺錢寶1代2代3代openwrt官網固件線刷包, [[下載刷機包及刷機軟件]].雙公USB線連接電腦及賺錢寶開啟USB_Burning_Tool刷機軟件按住復位鍵及通電賺錢寶2021-05-07_075536.png如圖示即已連線電腦及可刷機狀態2021-05-07_075706.png左上角的File導入固件及按Start開始刷機2021-05-07_080427.png當顯示100%即刷機完成, 可按Stop停止, 移除USB線及斷開電源.2021-05-07_080611.png重新通電及插上網線可以在路由器的DHCP列表找到賺錢寶的IP地址2021-05-07_080741.png瀏覽器打開賺錢寶IP網址, 免密碼登入.2021-05-07_162532.png2021-05-07_162551.png最好設定一下路由密碼方便往後SSH登入及軟件安裝2021-05-07_081122.png我是用Windows的Terminal登入到路由器. 2021-05-07_081429.png軟件安裝前這步很重要. 2021-05-07_081344.png如果是二代賺錢寶需要安裝resize2fs改一下分區表 (*一代不用)2021-05-07_081514.png未改分區表時只有206.8M可用2021-05-07_081606.png改分區表後有2.8G可用空間2. 掛載外置USB硬碟[[返回目錄]]安裝分區軟件 fdiskFDISK_01.PNG圖示我已安裝FDISK_02.PNG插入外置的USB硬碟, 用 fdisk -l 查看, 可找到外置的USB硬碟在/dev/sda 空間為465.78 GiB (即500G)FDISK_03.PNG刪除舊有分區, 建立新的分區并重新格式化為ext4mkdir -p /mnt/sda1建立掛載目錄FDISK_04.PNG用mount掛載USB硬碟, 可查看已經掛載成功最後編輯 /etc/rc.load 加入開機自啟動mount /dev/sda /mnt/sda1/ exit 0在exit 0上一行加入額外:如果想對NTFS支援讀寫，就需要安裝ntfs-3g (即可免除上面格式化為ext4的動作)，還可以很方便地轉到windows讀取。FDISK_05.PNG3. SMB分享 (Windows 共享目錄)[[返回目錄]]2021-05-07_095804.png安裝samba軟件opkg install samba36-server luci-app-samba2021-05-07_095940.png2021-05-07_100316.png2021-05-13_132107.png4. filebrowser[[返回目錄]]File Browser是網頁文件管理介面，可用於上傳、刪除、預覽、重新命名和編輯您的文件,是一種遠程文件管理器,可以安裝在大部分伺服器上,設定其路徑,然後透過一個 Web 界面可以輕鬆地存取文件。登陸SSH及安裝wget作準備opkg update && opkg upgrade wget && opkg install ca-certificates2021-05-07_092052.pngwget https://github.com/filebrowser/filebrowser/releases/download/v2.15.0/linux-a…