|
|
@ -23,11 +23,12 @@ |
|
|
install python3-{version}.npk package |
|
|
install python3-{version}.npk package |
|
|
run telnet to routeros with username devel and password is same as admin |
|
|
run telnet to routeros with username devel and password is same as admin |
|
|
run python -V |
|
|
run python -V |
|
|
## How Covert x86 and Chr |
|
|
|
|
|
|
|
|
## How Covert x86 and Chr (Chr mode could auto resize disk) |
|
|
to Chr,run this command in shell |
|
|
to Chr,run this command in shell |
|
|
echo -e "\x01" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc |
|
|
echo -e "\x01" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc |
|
|
to x86,run this command in shell |
|
|
to x86,run this command in shell |
|
|
echo -e "\x00" | dd of=/dev/sda bs=1 count=1 seek=336 conv=notrunc |
|
|
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 |
|
|
### npk.py |
|
|
Sign,Verify,Create, Extract npk file. |
|
|
Sign,Verify,Create, Extract npk file. |
|
|
### patch.py |
|
|
### patch.py |
|
|
|