找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: 无线无极限

[N1盒子] 【已解决】关于N1刷机后mac地址变化问题的修复

 火... [复制链接]
发表于 2021-3-21 01:12 | 显示全部楼层
感谢分享!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-4 18:03 | 显示全部楼层
大佬,麻烦看下ttl后,还是没改过来
  1. gxl_p230_v1#keyman write mac str FC:7C:02:D2:44:48
  2. [KM]Msg:isEncrypt=
  3. [KM]Msg:keyAttr is 0x00000000
  4. gxl_p230_v1#keyman write mac_wifi str fc:7c:02:d2:44:47
  5. [KM]Msg:isEncrypt=
  6. [KM]Msg:keyAttr is 0x00000000
  7. gxl_p230_v1#keyman write mac_bt str fc:7c:02:d2:44:46
  8. [KM]Msg:isEncrypt=
  9. [KM]Msg:keyAttr is 0x00000000
  10. gxl_p230_v1#keyman write deviceid str CAQDB3075330099
  11. [KM]Msg:isEncrypt=
  12. [KM]Msg:keyAttr is 0x00000000
  13. gxl_p230_v1#reboot</font>
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-11 23:48 | 显示全部楼层
mac可以改,序列号改了N遍了,始终改不了。求教!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-20 13:47 来自手机 | 显示全部楼层
有个简便的方法,Linux下可以用mkimage命令直接给脚本加头信息
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-4-24 14:25 | 显示全部楼层
本帖最后由 无线无极限 于 2021-4-24 14:31 编辑
lfm 发表于 2021-4-20 13:47
有个简便的方法,Linux下可以用mkimage命令直接给脚本加头信息

是的呢,有Linux环境,用mkimage更简单。
以ubuntu为例:
  • vscode新建文件aml_autoscript_tmp,内容如下
  1. keyman write mac str FC:7C:02:AA:BB:CC
  2. keyman write mac_wifi str fc:7c:02:aa:bb:cb
  3. keyman write mac_bt str fc:7c:02:aa:bb:ca
  4. keyman write deviceid str CAQDB3250000000
  5. sleep 1
  6. reboot
复制代码
  • 安装u-boot-tools
  1. apt install u-boot-tools
复制代码
  • 复制aml_autoscript_tmp到当前目录,用mkimage命令为文件添加头信息
  1. mkimage  -A arm -O linux -T script -C none  -d aml_autoscript_tmp aml_autoscript
复制代码
在当前目录下会生成aml_autoscript,这个文件复制到启动U盘,替换掉同名文件就OK了。



点评

非常实用!  详情 回复 发表于 2023-10-17 09:31
armbian写入emmc了,没有aml_autoscript,有emmc_autoscript文件,但修改无效 [hr]神奇的 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safa  详情 回复 发表于 2021-10-21 17:24
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-27 20:53 | 显示全部楼层
本帖最后由 ck9360 于 2021-5-9 17:16 编辑

搞了几天,终于搞定了!原来是文中写ID的命令不适合我的白色N1.
方法:原是keyman write deviceid str xxxxxxxxxxxxx     这里是SN码是15位。
        我的N1为:keyman write usid str xxxxxxxxxxxxxxx0    这里是SN码是16位,一定要16位。最后一位是0,或许不为0也行。
两个命令差别在deviceid改为usid即可。keyman query size usid这个是查询命令,就是在这条命令启发下成功的。注意,sn只能写一次。反正我是不会改。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-6-28 20:39 | 显示全部楼层
无线无极限 发表于 2021-4-24 14:25
是的呢,有Linux环境,用mkimage更简单。
以ubuntu为例:

我用这个方法在coreELEC下改了好几次都不成功,重启回来还是FF:FF:FF的mac,问下大佬uboot执行命令的log不接ttl线的情况下有办法获取吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-7-12 17:28 | 显示全部楼层
无线无极限 发表于 2021-4-24 14:25
是的呢,有Linux环境,用mkimage更简单。
以ubuntu为例:

可以给个成品吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-8-6 23:07 | 显示全部楼层
用方法二试了,mac修改成功但是sn没有成功
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-10-21 17:24 | 显示全部楼层
无线无极限 发表于 2021-4-24 14:25
是的呢,有Linux环境,用mkimage更简单。
以ubuntu为例:

armbian写入emmc了,没有aml_autoscript,有emmc_autoscript文件,但修改无效







    神奇的 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
    我的恩山、我的无线 The best wifi forum is right here.
    回复

    使用道具 举报

    发表于 2021-11-20 16:48 | 显示全部楼层
    openwrt怎么启动改aml_autoscript这个
    我的恩山、我的无线 The best wifi forum is right here.
    回复

    使用道具 举报

    发表于 2022-1-22 22:38 | 显示全部楼层
    收藏了。正要用到。
    我的恩山、我的无线 The best wifi forum is right here.
    回复

    使用道具 举报

    发表于 2022-3-25 12:31 | 显示全部楼层
    改固件河南拔智齿
    我的恩山、我的无线 The best wifi forum is right here.
    回复

    使用道具 举报

    发表于 2022-3-25 18:27 | 显示全部楼层
    谢谢分享教程,收藏备用。
    我的恩山、我的无线 The best wifi forum is right here.
    回复

    使用道具 举报

    发表于 2022-3-26 11:24 | 显示全部楼层
    感谢分享
    我的恩山、我的无线 The best wifi forum is right here.
    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-4-25 08:25

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

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

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