summaryrefslogtreecommitdiffstats
path: root/_ont/ont-huawei-ma5671a-root.md
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 /_ont/ont-huawei-ma5671a-root.md
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
Diffstat (limited to '_ont/ont-huawei-ma5671a-root.md')
-rw-r--r--_ont/ont-huawei-ma5671a-root.md2
1 files changed, 1 insertions, 1 deletions
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())