diff options
author | Simone <26844016+simonebortolin@users.noreply.github.com> | 2023-02-12 13:33:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 13:33:11 +0100 |
commit | 721c08b18520fa629acede05e87e108f3ac30cd5 (patch) | |
tree | e566eac796230d6009c5a377fb8b8b1e723c51f6 | |
parent | Some Fix on Huawei, FS, Broadcom (#146) (diff) | |
download | hack-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.md | 3 |
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()) |