华硕网络产品技术交流平台

 找回密码
 立即注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

楼主: 数学大亨

[教程] 华硕路由器官方固件和梅林固件开机自动运行脚本方法

  [复制链接]

0

主题

1

回帖

5

积分

新手上路

Rank: 1

积分
5
发表于 2020-3-8 21:17:28 | 显示全部楼层
请教一下,这是U盘太大了吗?只能8G以下?谢谢
sn@GT-AC5300:/tmp# cd /tmp && wget -q -O /tmp/install_online --no-check-certific
ate "https://cdn.jsdelivr.net/gh/JACK-THINK/SCRIPTS-BOOTLOADER-FOR-ASUS-ROUTER@l
atest/script_bootloader/bin/install_online" && chmod 777 /tmp/install_online &&
/tmp/install_online
############### WARNING ###############
This program will erase ALL THE DATA on the target USB flash drive and install SCRIPTS-BOOTLOADER-FOR-ASUS-ROUTER.
Before installation, you must:
1. Back up all the data on the target USB flash drive.
2. Remove all the USB flash drives from the router except the target one.

############### 警告 ###############
本程序将清除目标U盘中全部数据并安装SCRIPTS-BOOTLOADER-FOR-ASUS-ROUTER。
开始安装前,请务必:
1. 备份目标U盘上的全部数据。
2. 除目标U盘外,移除全部连接至路由器的U盘。

Do you want to start installation right now? (YES/NO): YES
(install_online): 20571 INFO: START INSTALLATION
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2020-03-08 18:32:30--  https://cdn.jsdelivr.net/gh/JACK ... /bin/drive_modifier
Resolving cdn.jsdelivr.net... 113.96.140.113, 183.6.248.88
Connecting to cdn.jsdelivr.net|113.96.140.113|:443... connected.
WARNING: cannot verify cdn.jsdelivr.net's certificate, issued by 'CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 3270 (3.2K) [application/octet-stream]
Saving to: '/tmp/drive_modifier'

/tmp/drive_modifier 100%[===================>]   3.19K  --.-KB/s    in 0s

2020-03-08 18:32:30 (30.1 MB/s) - '/tmp/drive_modifier' saved [3270/3270]

(drive_modifier): 20937 INFO: RE-PARTITION SanDisk Cruzer Glide 3.0 1.00

The number of cylinders for this disk is set to 1905.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Changing display/entry units to sectors

Command (m for help):
Disk /dev/sda: 15.6 GB, 15669919744 bytes
255 heads, 63 sectors/track, 1905 cylinders, total 30605312 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1              32    30605311    15302640   7 HPFS/NTFS

Command (m for help): Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 1905.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First sector (63-30605311, default 63): Last sector or +size or +sizeM or +sizeK (2048-30605311, default 30605311): Using default value 30605311

Command (m for help):
Disk /dev/sda: 15.6 GB, 15669919744 bytes
255 heads, 63 sectors/track, 1905 cylinders, total 30605312 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1            2048    30605311    15301632  83 Linux

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
(drive_modifier): 20937 NOTICE: CAN'T RE-PARTITION SanDisk Cruzer Glide 3.0 1.00
(install_online): 20571 FAILURE: ONLINE-INSTALL SCRIPTS-BOOTLOADER-FOR-ASUS-ROUTER

2

主题

7

回帖

25

积分

新手上路

Rank: 1

积分
25
发表于 2020-3-13 10:40:24 | 显示全部楼层
感谢~似乎这就是我一直要找的如何在原版梅林上安装插件的方法。
发表于 2020-3-16 23:51:03 | 显示全部楼层
留个脚印。。。。
回复

使用道具 举报

 楼主| 发表于 2020-3-18 17:30:55 | 显示全部楼层
柳望道 发表于 2020-3-8 21:17
请教一下,这是U盘太大了吗?只能8G以下?谢谢
sn@GT-AC5300:/tmp# cd /tmp && wget -q -O /tmp/install_on ...

与U盘大于4G就行。你的问题是有其它程序占用U盘,导致格式化U盘失败
发表于 2020-3-18 23:31:20 | 显示全部楼层

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

(drive_modifier): 17246 SUCCESS: Kingston DT microDuo PMAP IS READY
--2020-03-18 23:25:38--  https://api.github.com/repos/JAC ... TER/releases/latest
Resolving api.github.com... 13.250.94.254
Connecting to api.github.com|13.250.94.254|:443... connected.
OpenSSL: error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version
Unable to establish SSL connection.
(install_online): 17030 NOTICE: CONNECTION FAILED
(install_online): 17030 FAILURE: ONLINE-INSTALL SCRIPTS-BOOTLOADER-FOR-ASUS-ROUTER
发表于 2020-3-19 00:14:31 | 显示全部楼层
数学大亨 发表于 2020-3-18 17:30
与U盘大于4G就行。你的问题是有其它程序占用U盘,导致格式化U盘失败

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

(drive_modifier): 20591 SUCCESS: Kingston DT microDuo PMAP IS READY
--2020-03-18 23:52:48--  https://api.github.com/repos/JAC ... TER/releases/latest
Resolving api.github.com... 54.169.195.247
Connecting to api.github.com|54.169.195.247|:443... connected.
OpenSSL: error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version
Unable to establish SSL connection.
(install_online): 20362 NOTICE: CONNECTION FAILED
(install_online): 20362 FAILURE: ONLINE-INSTALL SCRIPTS-BOOTLOADER-FOR-ASUS-ROUTER
lilibo@RT-AX88U-2A70:/tmp# timed out waiting for input: auto-logout


大佬,这个日期错误是啥?咋解决啊?

9

主题

64

回帖

224

积分

中级会员

Rank: 3Rank: 3

积分
224
发表于 2020-3-19 01:17:18 | 显示全部楼层
大神,我想问问2G的U盘行不行?正好有个不用的,又不想浪费
 楼主| 发表于 2020-3-19 20:53:57 | 显示全部楼层
nttdocomo 发表于 2020-3-19 01:17
大神,我想问问2G的U盘行不行?正好有个不用的,又不想浪费

这个取决于路由器架构。如果是arm平台+512M虚拟内存,是够的,大概占用1.5G空间。其他平台不保证。
 楼主| 发表于 2020-3-19 20:56:02 | 显示全部楼层
忧郁滴飞叶 发表于 2020-3-19 00:14
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done

回复路由器型号,固件版本。

此问题明显是由过旧的固件/已放弃支持的官方固件所导致的。
发表于 2020-3-19 21:41:33 | 显示全部楼层
本帖最后由 忧郁滴飞叶 于 2020-3-20 11:32 编辑
数学大亨 发表于 2020-3-19 20:56
回复路由器型号,固件版本。

此问题明显是由过旧的固件/已放弃支持的官方固件所导致的。 ...

大佬,路由RT-AX88U,固件版本:3.0.0.4.384_7977-g37f230a

本帖子中包含更多资源

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

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

本版积分规则

关闭

站长推荐上一条 /1 下一条

快速回复 返回列表 搜索 官方QQ群
×

秒后自动关闭

小黑屋|手机版|Archiver|华硕网络产品技术交流平台 ( 苏ICP备16010857号-1 )苏公网安备 32050502000499号

GMT+8, 2024-4-20 07:00 , Processed in 0.031281 second(s), 29 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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