diff --git a/doc/uz801.md b/doc/uz801.md index e891fe5..25a011a 100644 --- a/doc/uz801.md +++ b/doc/uz801.md @@ -32,10 +32,10 @@ Connect to the UZ801's network over WiFi or USB tethering. The UZ801 uses a unique installation process that activates a hidden USB debugging backdoor: ```sh -./installer uz801 --admin-ip 192.168.100.1 +./installer uz801 ``` -Note: The default admin IP for UZ801 is typically `192.168.100.1` instead of `192.168.0.1`. +Note: The default IP for UZ801 is typically `192.168.100.1`; if yours differs, use the `--admin-ip` argument to specify it. The installation process works as follows: 1. Activates the USB debugging backdoor via HTTP request to `/usbdebug.html` diff --git a/installer/src/main.rs b/installer/src/main.rs index cad01e3..2b418cc 100644 --- a/installer/src/main.rs +++ b/installer/src/main.rs @@ -123,12 +123,8 @@ struct TmobileArgs { #[derive(Parser, Debug)] struct Uz801Args { /// IP address for Uz801 admin interface, if custom. - #[arg(long, default_value = "192.168.0.1")] - admin_ip: String, - - /// Web portal admin password. - #[arg(long)] - admin_password: String, + #[arg(long, default_value = "192.168.100.1")] + admin_ip: String } #[derive(Parser, Debug)] diff --git a/installer/src/uz801.rs b/installer/src/uz801.rs index e43cdf5..f612cca 100644 --- a/installer/src/uz801.rs +++ b/installer/src/uz801.rs @@ -18,7 +18,6 @@ use crate::util::echo; pub async fn install( Args { admin_ip, - admin_password: _, // Not used for Uz801 }: Args, ) -> Result<()> { run_install(admin_ip).await