summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone <26844016+simonebortolin@users.noreply.github.com>2023-02-12 13:33:11 +0100
committerGitHub <noreply@github.com>2023-02-12 13:33:11 +0100
commit721c08b18520fa629acede05e87e108f3ac30cd5 (patch)
treee566eac796230d6009c5a377fb8b8b1e723c51f6
parentSome Fix on Huawei, FS, Broadcom (#146) (diff)
downloadhack-gpon.github.io-721c08b18520fa629acede05e87e108f3ac30cd5.tar
hack-gpon.github.io-721c08b18520fa629acede05e87e108f3ac30cd5.tar.gz
hack-gpon.github.io-721c08b18520fa629acede05e87e108f3ac30cd5.tar.bz2
hack-gpon.github.io-721c08b18520fa629acede05e87e108f3ac30cd5.tar.lz
hack-gpon.github.io-721c08b18520fa629acede05e87e108f3ac30cd5.tar.xz
hack-gpon.github.io-721c08b18520fa629acede05e87e108f3ac30cd5.tar.zst
hack-gpon.github.io-721c08b18520fa629acede05e87e108f3ac30cd5.zip
-rw-r--r--_ont/ont-huawei-ma5671a-root.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/_ont/ont-huawei-ma5671a-root.md b/_ont/ont-huawei-ma5671a-root.md
index ad4115c..0fbf987 100644
--- a/_ont/ont-huawei-ma5671a-root.md
+++ b/_ont/ont-huawei-ma5671a-root.md
@@ -84,8 +84,7 @@ try:
ser.write('setenv asc0 0\n'.encode())
time.sleep(1)
print('[+] Transfer command sequence 4')
- ser.write(
- 'gpio set 3;gpio input 2;gpio input 105;gpio input 106;gpio input 107;gpio input 108"\n'.encode())
+ ser.write('setenv preboot "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())