User Profile
hafizullah
Newbie Caller
Joined 9 days ago
User Widgets
Contribuciones
Re: I wish the T-Mobile Home Internet Gateway was JUST a modem!!!
It's been two years, and the brand-new Fast_5688W gateways are still locked down. I'm still in the try-before-you-buy period - but unless I can find a workaround to disable NAT and DHCP, I may bail and tell them that provisioning with such a dumbed-down device is a deal-breaker. Here is a PowerShell script for disabling WiFi on the 5688W, in case it's helpful. $ErrorActionPreference = 'SilentlyContinue' #disables error reporting function token { $Pass = Read-Host "Enter Password For The Gateway" #admin passphrase for the gateway, not WiFi $body = @" { "username": "admin", "password": "$Pass" } "@ $login = Invoke-RestMethod -Method POST -Uri "http://192.168.12.1/TMI/v1/auth/login" -Body $body $token = $login.auth.token $global:header = @{Authorization="Bearer $token"} } function Show-Menu { param ( [string]$Title = 'My Menu' ) Clear-Host Write-Host "Options for Gateway" Write-Host "1: Press '1' to Turn Off 2.4G Wifi." Write-Host "2: Press '2' to Turn On 2.4G Wifi." Write-Host "3: Press '3' to Turn Off 5G Wifi." Write-Host "4: Press '4' to Turn On 5G Wifi." Write-Host "5: Press '5' to Reboot Gateway." Write-Host "6: Press '6' to Download Config to Verify Changes." Write-Host "Q: Press 'Q' to Quit." } function wifi-off-24 { $response = Invoke-RestMethod -Uri "http://192.168.12.1/TMI/v1/network/configuration?get=ap" -headers $global:header -o .\config.txt ((Get-Content -path .\config.txt -Raw) -Replace '"2.4ghz":{"isRadioEnabled":true','"2.4ghz":{"isRadioEnabled":false') | Set-Content -Path .\config.txt $response = Invoke-RestMethod -TimeoutSec 1 -Method POST -Uri "http://192.168.12.1/TMI/v1/network/configuration?set=ap" -headers $global:header -body (Get-Content .\config.txt) -ContentType "application/json" } function wifi-on-24 { $response = Invoke-RestMethod -Uri "http://192.168.12.1/TMI/v1/network/configuration?get=ap" -headers $global:header -o .\config.txt ((Get-Content -path .\config.txt -Raw) -Replace '"2.4ghz":{"isRadioEnabled":false','"2.4ghz":{"isRadioEnabled":true') | Set-Content -Path .\config.txt $response = Invoke-RestMethod -TimeoutSec 1 -Method POST -Uri "http://192.168.12.1/TMI/v1/network/configuration?set=ap" -headers $global:header -body (Get-Content .\config.txt) -ContentType "application/json" } function wifi-off-5 { $response = Invoke-RestMethod -Uri "http://192.168.12.1/TMI/v1/network/configuration?get=ap" -headers $global:header -o .\config.txt ((Get-Content -path .\config.txt -Raw) -Replace '"5.0ghz":{"isRadioEnabled":true','"5.0ghz":{"isRadioEnabled":false') | Set-Content -Path .\config.txt $response = Invoke-RestMethod -TimeoutSec 1 -Method POST -Uri "http://192.168.12.1/TMI/v1/network/configuration?set=ap" -headers $global:header -body (Get-Content .\config.txt) -ContentType "application/json" } function wifi-on-5 { $response = Invoke-RestMethod -Uri "http://192.168.12.1/TMI/v1/network/configuration?get=ap" -headers $global:header -o .\config.txt ((Get-Content -path .\config.txt -Raw) -Replace '"5.0ghz":{"isRadioEnabled":false','"5.0ghz":{"isRadioEnabled":true') | Set-Content -Path .\config.txt $response = Invoke-RestMethod -TimeoutSec 1 -Method POST -Uri "http://192.168.12.1/TMI/v1/network/configuration?set=ap" -headers $global:header -body (Get-Content .\config.txt) -ContentType "application/json" } function config { $response = Invoke-RestMethod -Uri "http://192.168.12.1/TMI/v1/network/configuration?get=ap" -headers $global:header -o .\config.txt } function reboot { $response = Invoke-RestMethod -TimeoutSec 1 -Method POST -Uri "http://192.168.12.1/TMI/v1/gateway/reset?set=reboot" -headers $global:header } function menu { Show-Menu -Title 'My Menu' $selection = Read-Host "Please make a selection" switch ($selection) { '1' { 'Turning off 2.4G Wifi' wifi-off-24 'Returning to Menu' Start-Sleep -s 1 menu } '2' { 'Turning on 2.4G Wifi' wifi-on-24 'Returning to Menu' Start-Sleep -s 1 menu }'3' { 'Turning off 5G Wifi' wifi-off-5 'Returning to Menu' Start-Sleep -s 1 menu } '4' { 'Turning on 5G Wifi' wifi-on-5 'Returning to Menu' Start-Sleep -s 1 menu } '5' { 'Rebooting Gateway' Start-Sleep -s 1 reboot return } '6' { 'Downloading config' config 'Returning to Menu' Start-Sleep -s 1 menu } 'q' { return } } } token menu $response3Visto0likes0ComentariosRe: I wish the T-Mobile Home Internet Gateway was JUST a modem!!!
Some of us have more elaborate needs than a dumbed-down consumer device will provide. In my case, I have a >$200 Asus router with much better WiFi than the T-Mobil gateway and the kinds of customization that I want for my own LAN - things like multiple devices behind the Internet gateway with fixed IP addresses for each of them. It also reboots itself every Sunday in the middle of the night (to clear the RAM) and has a provision for embedding my Proton VPN right into the router instead of running an app on all of my connected devices. And so on. When I was using residential DSL, the DSL "modem" had a setting for "Bridge Mode," i.e., its WiFi was disabled, it did not provide Network Address Translation and did not give IP addresses to connected devices; it became a simple signal passthrough to the extremely-capable - and fast - Asus router. That's what I want to do with T-Mobile's supplied 5688W gateway, except that it's locked-down for reasons known only to God and Her angels.46Visto0likes0Comentarios