From 7290336570983fc47f00279e7c3544cea55abd48 Mon Sep 17 00:00:00 2001 From: up-n-atom Date: Fri, 17 Nov 2023 20:39:22 -0500 Subject: [PATCH] Update README.md --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1ff7f04..b392f0d 100644 --- a/README.md +++ b/README.md @@ -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` ```bash -cd sagemcom-modem-scripts source .venv/bin/activate # List available commands -python3 xmo-remote-client.py --help +xmo-remote-client --help # Dump Device tree -python3 xmo-remote-client.py get-value --path "Device" +xmo-remote-client get-value --path "Device" # 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 -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 -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 -python3 xmo-remote-client.py disable-wifi-radios +xmo-remote-client disable-wifi-radios # 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 -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 ```