mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 13:35:09 +03:00
modified: README.md
modified: README_CN.md modified: keygen.png
This commit is contained in:
parent
0a337ba242
commit
a69da7ece3
17
README.md
17
README.md
@ -8,27 +8,20 @@
|
||||
![](install.png)
|
||||
![](routeros.png)
|
||||
|
||||
### Uses keygen to generate license key.
|
||||
### Uses keygen to license RouterOS.
|
||||
![](keygen.png)
|
||||
|
||||
## How generate license key (***keygen.exe run on windows***)
|
||||
keygen.zip in iso or img root directory,for chr image it's in /flash/rw/disk/ directory,same as winbox file manager directory
|
||||
run unzip keygen.zip
|
||||
run keygen.exe
|
||||
input your software id
|
||||
## How to use shell
|
||||
install option-{version}.npk package
|
||||
run telnet to routeros with username devel and password is same as admin
|
||||
## How to license RouterOS
|
||||
telnet to routeros with username devel and password is same as admin
|
||||
run keygen
|
||||
it's over,just run keygen everything is ok.
|
||||
## How to use python3
|
||||
install python3-{version}.npk package
|
||||
run telnet to routeros with username devel and password is same as admin
|
||||
run python -V
|
||||
## How Covert x86 and Chr (Chr mode could auto resize disk)
|
||||
to Chr,run this command in shell
|
||||
echo -e "\x01" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc
|
||||
to x86,run this command in shell
|
||||
echo -e "\x00" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc
|
||||
if you want to resize disk,convert to chr first,then resize disk and convert to x86
|
||||
### npk.py
|
||||
Sign,Verify,Create, Extract npk file.
|
||||
### patch.py
|
||||
|
16
README_CN.md
16
README_CN.md
@ -9,26 +9,20 @@
|
||||
![](install.png)
|
||||
![](routeros.png)
|
||||
|
||||
### 使用ISO或IMG内的Keygen生成授权许可
|
||||
### 使用keygen授权RouterOS
|
||||
![](keygen.png)
|
||||
|
||||
## 如何生成授权许可 (Keygen.exe在windows命令行下运行)
|
||||
keygen.zip在iso或者img文件的根目录下;chr镜像文件/rw/disk/目录下,和winbox打开后files目录一致。
|
||||
解压缩 keygen.zip
|
||||
运行 keygen.exe 输入software_id
|
||||
## 如何使用Shell
|
||||
安装 option-{version}.npk 包
|
||||
telnet到RouterOS,用户名devel,密码与admin的密码相同
|
||||
## 如何授权许可
|
||||
进入shell
|
||||
运行 keygen 即可。
|
||||
参考上图。
|
||||
## 如何使用Python
|
||||
安装 python3-{version}.npk 包
|
||||
telnet到RouterOS,用户名devel,密码与admin的密码相同
|
||||
运行 python -V
|
||||
## x86和Chr如何转换(Chr模式自动扩容硬盘)
|
||||
转换到Chr,在shell中运行下面命令
|
||||
echo -e "\x01" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc
|
||||
转换到x86,在shell中运行下面命令
|
||||
echo -e "\x00" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc
|
||||
如果硬盘扩容了,需要切换到Chr启动后,硬盘才会自动扩容,然后再切换为x86模式重新启动。
|
||||
### npk.py
|
||||
对npk文件进行解包,修改,创建,签名和验证
|
||||
### patch.py
|
||||
|
BIN
keygen.png
BIN
keygen.png
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 116 KiB |
Loading…
Reference in New Issue
Block a user