找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 78798|回复: 314

[2020-09-30] AC9华硕固件3.0.0.4.382.52272,改好GPIO、增加User scripts

 火... [复制链接]
发表于 2020-9-30 14:30 | 显示全部楼层 |阅读模式
本帖最后由 111123124 于 2020-10-2 17:22 编辑

国庆节放假回家,发现华硕固件更新。论坛有老哥编译了52272固件,但是没有User script。
我又不想安装entware,所以花了半天时间照着教程移植了部分User script。

下载地址:
链接: https://pan.baidu.com/s/1F2lgePCqQ1wInIySWLStZg 提取码: 36c2

编译教程:
https://www.right.com.cn/forum/thread-212232-1-1.html


三年前楼主写的,哈哈哈。

这次遇到的问题:
1. autopoint not found
解决:
  1. sudo apt-get install autopoint
复制代码

2. /usr/bin/install: cannot stat './xmllint.1': No such file or directory
/usr/bin/install: cannot stat './xmlcatalog.1': No such file or directory

解决:
  1. sudo apt-get install gtk-doc-tools
复制代码

3. Your intltool is too old, you need intltool 0.35 or later.
解决:
  1. sudo apt-get install intltool
复制代码

关于User script:
https://www.right.com.cn/forum/thread-689724-1-1.html


支持以下阶段的script:
wan-start
firewall-start
nat-start
init-start
services-start

开启User script:
  1. nvram set jffs2_on=1
  2. nvram set jffs2_enable=1
  3. nvram set jffs2_format=1
  4. nvram set jffs2_scripts=1
  5. nvram commit
  6. reboot
复制代码


创建脚本:
在目录/jffs/scripts/下,创建以wan-start、nat-start等等为文件名的脚本,一定要在脚本中加入环境变量,否则很可能脚本起不来。
这里给一个wan-start的示例,如果开机后成功执行,将在log文件里面打印出一行User script:wan-start script start


  1. #!/bin/sh
  2. export PATH='/usr/sbin:/usr/bin:/sbin:/bin'
  3. logger -t "User script" "wan-start script start"
复制代码

创建完成之后,记得,赋予可执行权限和提交nvram更改。
  1. chmod +x /jffs/scripts/wan-start
复制代码
  1. nvram commit
复制代码
否则对于jffs的修改不被保存。



评分

参与人数 2恩山币 +2 收起 理由
loudong + 1 恩山全体路由党向你学习!
懒懒猪 + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-9-30 14:48 | 显示全部楼层
学习一下。。最近翻出来吃灰的ac9准备玩玩
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 15:01 | 显示全部楼层
AC9已经吃灰了N久了。翻出来看看支持KOOP吗。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 15:02 | 显示全部楼层
AC9已经吃灰了N久了。翻出来看看支持KOOP吗。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 15:06 | 显示全部楼层
顶楼主啦..希望楼主多发精品好帖啦.....
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 15:11 | 显示全部楼层
我也有一个
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 15:13 | 显示全部楼层
谢谢楼主分享啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 15:23 | 显示全部楼层
厉害啊  AC9看来要回暖了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 15:51 | 显示全部楼层
看看这个好用不
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 18:34 | 显示全部楼层
感谢,正好试一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-9-30 22:43 | 显示全部楼层
看看瞧瞧。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-1 02:19 | 显示全部楼层
前来支持。ac9春天好像来了哈哈哈
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-1 07:19 | 显示全部楼层
AC9华硕固件3.0.0.4.382.52272,改好GPIO、增加User scripts
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-1 09:46 | 显示全部楼层
谢谢分享!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-1 15:47 | 显示全部楼层
华硕(ASUS) R
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 21:21

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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