summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErnesto Castellotti <mail@ernestocastellotti.it>2022-12-12 23:05:23 +0100
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:09:26 +0100
commit43a1ed927b34403aab9a22016961d900104f07d9 (patch)
tree3b0bbd0eaed4d430242092d8ddee06d2e49c3e4b
parentUpdate ont-huawei-ma5671a-root.md (#56) (diff)
downloadhack-gpon.github.io-43a1ed927b34403aab9a22016961d900104f07d9.tar
hack-gpon.github.io-43a1ed927b34403aab9a22016961d900104f07d9.tar.gz
hack-gpon.github.io-43a1ed927b34403aab9a22016961d900104f07d9.tar.bz2
hack-gpon.github.io-43a1ed927b34403aab9a22016961d900104f07d9.tar.lz
hack-gpon.github.io-43a1ed927b34403aab9a22016961d900104f07d9.tar.xz
hack-gpon.github.io-43a1ed927b34403aab9a22016961d900104f07d9.tar.zst
hack-gpon.github.io-43a1ed927b34403aab9a22016961d900104f07d9.zip
-rw-r--r--_ont/ont-fs-com-gpon-onu-stick-with-mac.md2
-rw-r--r--_ont/ont-huawei-ma5671a-root.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
index 8784290..d4c97d0 100644
--- a/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
+++ b/_ont/ont-fs-com-gpon-onu-stick-with-mac.md
@@ -50,7 +50,7 @@ layout: default
```sh
fw_setenv bootdelay 5
fw_setenv asc0 0
-fw_setenv preboot "gpio input 105;gpio input 106;gpio input 107;gpio input 108;gpio set 3;gpio set 109;gpio set 110;gpio clear 423;gpio clear 422;gpio clear 325;gpio clear 402;gpio clear 424"
+fw_setenv preboot "gpio set 3;gpio input 2;gpio input 105;gpio input 106;gpio input 107;gpio input 108"
```
If you haven't done this and the stick doesn't work due to your changes you can follow the [Huawei MA5671A unlock guide](/ont-huawei-ma5671a-root)
diff --git a/_ont/ont-huawei-ma5671a-root.md b/_ont/ont-huawei-ma5671a-root.md
index 0812c99..88bc6a7 100644
--- a/_ont/ont-huawei-ma5671a-root.md
+++ b/_ont/ont-huawei-ma5671a-root.md
@@ -66,7 +66,7 @@ try:
time.sleep(1)
print('[+] Transfer command sequence 4')
ser.write(
- 'setenv preboot "gpio input 105;gpio input 106;gpio input 107;gpio input 108;gpio set 3;gpio set 109;gpio set 110;gpio clear 423;gpio clear 422;gpio clear 325;gpio clear 402;gpio clear 424"\n'.encode())
+ 'gpio set 3;gpio input 2;gpio input 105;gpio input 106;gpio input 107;gpio input 108"\n'.encode())
time.sleep(1)
print('[+] Transfer command sequence 5')
ser.write('saveenv\n'.encode())