Update README.md

This commit is contained in:
up-n-atom
2023-11-17 20:39:22 -05:00
committed by GitHub
parent a222d4aa7c
commit 7290336570
+8 -9
View File
@@ -57,23 +57,22 @@ Commands:
> The **Home Hub 4000** uses `MD5` authentication, which can be enabled using either `-a` _or_ `--auth-method` option, eg. `-a MD5` > The **Home Hub 4000** uses `MD5` authentication, which can be enabled using either `-a` _or_ `--auth-method` option, eg. `-a MD5`
```bash ```bash
cd sagemcom-modem-scripts
source .venv/bin/activate source .venv/bin/activate
# List available commands # List available commands
python3 xmo-remote-client.py --help xmo-remote-client --help
# Dump Device tree # Dump Device tree
python3 xmo-remote-client.py get-value --path "Device" xmo-remote-client get-value --path "Device"
# Get WAN mode # Get WAN mode
python3 xmo-remote-client.py get-value --path "Device/Services/BellNetworkCfg/WanMode" xmo-remote-client get-value --path "Device/Services/BellNetworkCfg/WanMode"
# Enable local DNS server ie. Pi-hole # Enable local DNS server ie. Pi-hole
python3 xmo-remote-client.py set-dns-servers -s 192.168.2.254 192.168.2.254 xmo-remote-client set-dns-servers -s 192.168.2.254 192.168.2.254
# Disable 5G and 2.4G radios # Disable 5G and 2.4G radios
python3 xmo-remote-client.py disable-wifi-radios -r RADIO5G -r RADIO2G4 xmo-remote-client disable-wifi-radios -r RADIO5G -r RADIO2G4
# Disable radio w/ radio prompt # Disable radio w/ radio prompt
python3 xmo-remote-client.py disable-wifi-radios xmo-remote-client disable-wifi-radios
# Enable advanced DMZ w/ MAC address prompt # Enable advanced DMZ w/ MAC address prompt
python3 xmo-remote-client.py enable-advanced-dmz xmo-remote-client enable-advanced-dmz
# Get multiple values ie. OLT info # Get multiple values ie. OLT info
python3 xmo-remote-client.py get-value --path "Device/Optical/G988/General/OltG/OltVendorId" --path "Device/Optical/G988/General/OltG/Version" xmo-remote-client get-value --path "Device/Optical/G988/General/OltG/OltVendorId" --path "Device/Optical/G988/General/OltG/Version"
deactivate deactivate
``` ```