forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 1584|回复: 2

    [经验分享] XE300 E750 官方固件扩容SD卡并安装第三方软件 分享

    [复制链接]

    4

    主题

    16

    帖子

    92

    积分

    注册会员

    Rank: 2

    积分
    92
    发表于 2023-6-23 20:45:21 | 显示全部楼层 |阅读模式
    本帖最后由 jerryrat 于 2023-6-29 12:49 编辑

    官方固件
    1. Version: 3.217
    2. This file is for local upgrade in web Admin Panel. (How?)
    3. Date Compiled: 2023-05-08 10:41:42 (UTC+08:00)
    4. SHA256: 5dab717c1b418b5da4613bce6d82949d9a3defadc53e660fef08d1febe6e93d3
    复制代码
    新增自定义软件源
    1. src/gz E750 https://op.supes.top/22.03/packages/mips_24kc
    复制代码
    升级和安装一些插件
    1. #安装必要工具,Openwrt连接上互联网,使用ssh登陆openwrt,执行一下命令:
    2. opkg update
    3. opkg install block-mount  kmod-usb-storage  kmod-fs-ext4 e2fsprogs lsblk fdisk
    复制代码

    比如主题,中文,还有磁盘管理工具 更新,别装了这2个,有BUG 原生主题和英文不影响
    1. opkg --nodeps install luci-theme-argon
    2. opkg install luci-i18n-base-zh-cn
    复制代码
    插入一张SD卡
    识别一下
    1. lsblk
    复制代码
    会得到提示
    1. NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
    2. sda           8:0    1  1.9G  0 disk
    复制代码
    建立2个分区

    1. fdisk /dev/sda
    复制代码
    选择n 新建一个分区,选 p,继续 选1 回车,默认开始删去 2048,然后继续填 +1G,此处根据sd卡大小写 你想要的分区大小
    1. Command (m for help): n
    2. Partition type
    3.    p   primary (2 primary, 0 extended, 2 free)
    4.    e   extended (container for logical partitions)
    5. Select (default p): p
    6. Partition number (1,2, default 1): 1
    7. First sector (2048-7864319, default 2048):
    8. Last sector, +/-sectors or +/-size{K,M,G,T,P} (362496-7864319, default 7864319): +1G

    9. Created a new partition 3 of type 'Linux' and of size 1 GiB.

    复制代码
    继续建一个分区,n,p, 填2,继续第二个分区,建议第二个分区1G,第一个分区无所谓

    然后 格式化 2个分区
    1. mkfs.ext4 /dev/sda1
    复制代码
    第一个分区格式化完成
    然后 格式化第二个分区,作为 SWAP 交换分区

    1. mkswap /dev/sda2
    2. swapon /dev/sda2
    复制代码
    然后去LUCI挂载分区

    1. mkdir -p /tmp/introot
    2. mkdir -p /tmp/extroot
    3. mount --bind / /tmp/introot
    4. mount /dev/sda1 /tmp/extroot
    5. tar -C /tmp/introot -cvf - . | tar -C /tmp/extroot -xf -
    6. umount /tmp/introot
    7. umount /tmp/extroot
    复制代码


    重启
    成功扩容


    开始安装第三方软件吧

    修改官方源

    1. src/gz glinet_private https://fw.gl-inet.cn/releases/v19.07.8/packages-3.0/ath79/glinet
    2. src/gz glinet_kmod https://fw.gl-inet.cn/releases/v19.07.8/kmod-3.0/ath79/nand
    3. src/gz supes https://op.supes.top/22.03/packages/mips_24kc
    4. src/gz glinet_packages https://op.supes.top/22.03/packages/mips_24kc/packages
    5. src/gz glinet_routing https://op.supes.top/22.03/packages/mips_24kc/routing
    6. src/gz glinet_luci https://op.supes.top/22.03/packages/mips_24kc/luci
    7. src/gz glinet_base https://op.supes.top/22.03/packages/mips_24kc/base
    复制代码
    安装软件

    1. opkg install luci-app-passxxx 你懂的
    复制代码
    遇到错误
    1. Collected errors:
    2. * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-:
    3. *      iptables-mod-socket
    4. *      luci-lua-runtime
    5. * opkg_install_cmd: Cannot install package luci-app-pass.
    复制代码
    安装缺失的插件
    或者换清华的源

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

    4

    主题

    16

    帖子

    92

    积分

    注册会员

    Rank: 2

    积分
    92
     楼主| 发表于 2023-6-25 17:42:53 | 显示全部楼层
    更新,安装snapshot 酸--乳成功

    1. GL-E750 Mudi
    2. snapshot
    3. Model: GL-E750 Mudi
    4. Note: There is nightly snapshot build, it's not stable, using on your own risk.
    5. Version: 4.3.2
    6. This file is for local upgrade in web Admin Panel. (How?)
    7. Date Compiled: 2023-06-25 05:12:43 (UTC+08:00)
    8. SHA256: f970610eee47e0ca4ffe2be4691773de9e41c6e45fadd35754ff28729b4f0db1
    复制代码
    回复

    使用道具 举报

    0

    主题

    4

    帖子

    30

    积分

    新手上路

    Rank: 1

    积分
    30
    发表于 2023-10-17 16:26:09 | 显示全部楼层
    感谢大佬分享,回去就试试看 太好了!!!!
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-5-3 13:35 , Processed in 0.023831 second(s), 25 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表