Skip to content

About

No description, website, or topics provided.

Resources

Stars

25 stars

Watchers

4 watching

Forks

Repository files navigation

Simpleadmin for Foxconn T99W175

Static web interface (HTML/JS with Bash CGI helpers) to administer Foxconn T99W175 modem. This version is heavily inspired by the work at iamromulan/quectel-rgmii-toolkit has some heavy edits to make it work with the T99W175 and some changes that i thought would make it better for us.

Credits and thanks

Quick overview

  • Responsive HTML pages (Bootstrap 5 + Alpine.js) served from the modem web partition.
  • Bash CGI scripts in www/cgi-bin/ that drive AT commands, Watchcat, TTL override, and utility actions.
  • Front-end settings via www/config/simpleadmin.conf, here you can enable or disable the login page and the esim configuration page,by default login is on , and esim is off
# SimpleAdmin configuration
# Set to 0 to completely disable login and allow open access.
# Set to 1 (default) to require user login.
SIMPLEADMIN_ENABLE_LOGIN=1

# GUI lock (maintenance mode)
# When locked, the UI redirects to SIMPLEADMIN_GUI_LOCK_PAGE and CGI endpoints
# behave as unauthenticated.
SIMPLEADMIN_GUI_LOCKED=0

# Pre-shared key required by /cgi-bin/gui_toggle?key=... (or ?k=...).
SIMPLEADMIN_GUI_TOGGLE_KEY=""

# Page shown while locked.
SIMPLEADMIN_GUI_LOCK_PAGE="/webguioff.html"

# eSIM management page (requires the intermediate euicc-client server)
# Set to 1 to show and enable the eSIM management UI, 0 to hide it.
SIMPLEADMIN_ENABLE_ESIM=0

# Base URL for the eSIM intermediate server (default: local euicc-client API)
SIMPLEADMIN_ESIM_BASE_URL="http://localhost:8080/api/v1"

Check DOCUMENTAZIONE.md for file-by-file behavior, request flows, and how each page uses the CGI helpers. For the dedicated Tailscale integration documentation, see Doc/Tailscale.md.

GUI lock (maintenance mode)

Goal: allow installers to open a "special link" from a browser to unlock the GUI, perform the work, then lock it again and show a static instruction page.

How it works:

  • When SIMPLEADMIN_GUI_LOCKED=1, the frontend redirects to SIMPLEADMIN_GUI_LOCK_PAGE (default: /webguioff.html).
  • Server-side, session_load is blocked, so all CGI endpoints that require a session behave as unauthenticated while locked.
  • No extra "delay": the lock status is returned by the existing /cgi-bin/session_status request the UI already performs.

Enable it

  1. Set a strong key in www/config/simpleadmin.conf:
    • SIMPLEADMIN_GUI_TOGGLE_KEY="use_a_long_random_string_here"
  2. Deploy files to the modem (see Installation).

Use it (the "special link")

  • Lock:
    • /cgi-bin/gui_toggle?key=YOUR_KEY&mode=lock
  • Unlock:
    • /cgi-bin/gui_toggle?key=YOUR_KEY&mode=unlock
  • Toggle (flips state):
    • /cgi-bin/gui_toggle?key=YOUR_KEY&mode=toggle

Notes:

  • The key is in the URL: it can end up in browser history, screenshots, and (depending on server setup) logs. Use a long random key and only on trusted networks.
  • If you lose the key, you can unlock by setting SIMPLEADMIN_GUI_LOCKED=0 in www/config/simpleadmin.conf (or redeploying the stock config).

📸 Screenshots

Home

Home

More screenshots

Device info

Device info

Advanced / CA

Advanced CA

Network

Network settings Network Advisor

System / User / Login

System Settings User Login

Tools

Ping Temp SMS

🛠 Installation

Simpleadmin is designed to run directly on the Foxconn T99W175 inside the modem’s web partition. Follow these steps to deploy it safely.

1 Download or clone the repository

2 Extract the ZIP and locate the www folder

3 Connect via SSH to the modem (default IP: 192.168.225.1, default user: root)

4 Locate the webserver folder and inside it find the current www directory

5 Delete or rename the existing www folder

6 Upload the freshly downloaded www folder from the repository

7 Give the www folder recursive 777 permissions:

chmod -R 777 /www

8 Either reboot the modem or restart the webserver:

systemctl restart qcmap_httpd.service

Browse to the GUI and use Simpleadmin

License

This project is licensed under the PolyForm Noncommercial License 1.0.0.

Use, modification and redistribution are allowed only for non-commercial purposes.

Commercial use, resale, paid redistribution, SaaS offering, or profit-driven modification is prohibited without prior written permission from the author.

💬 Questions, Support & Requests

For any questions, feature requests or support, feel free to reach out on Telegram:

👉 Telegram Group

Troubleshooting

Ssh password not known : connect the modem via usb and install needed driver if windows doesnt automatically , then connect to adb using adb shell and run passwd , then you can change root password , and you can use that to access ssh.

About

No description, website, or topics provided.

Resources

Stars

25 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages