uz801: Fix installer defaults, fix docs for admin IP

This commit is contained in:
Andrej
2025-08-03 11:05:50 -04:00
parent f57fc611c2
commit c26ad29ffb
3 changed files with 4 additions and 9 deletions

View File

@@ -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`

View File

@@ -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)]

View File

@@ -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