Advertisement
NaterTater

NaterTater T-Mobile Arcadyan KVD21 Settings

Apr 27th, 2022 (edited)
12,234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. # REMEMBER: Be careful with spacing and quotation marks when copying/pasting tokens etc. Each of these commands is a full (long) line, not multiple lines. Copy the whole line and paste into Powershell or Terminal after replacing any necessary parts.
  2.  
  3. # -- FOR WINDOWS USERS: (In Powershell app) – – Note: I added a folder called “wifi” into the path for the file because I was getting permission errors trying to save a file in the root of the C:\ directory. You need to create the folder manually first, as the command itself won’t create the folder when initially creating the file.
  4.  
  5. curl.exe -X POST http://192.168.12.1/TMI/v1/auth/login -d '{\"username\": \"admin\", \"password\": \"see_video_replace_me\" }'
  6.  
  7. # then...
  8.  
  9. curl.exe http://192.168.12.1/TMI/v1/network/configuration/v2?get=ap -H 'Authorization: Bearer see_video_replace_me' > c:\wifi\t-mobile-wifi-info.txt
  10.  
  11. # then...
  12.  
  13. cat c:\wifi\t-mobile-wifi-info.txt | curl.exe -d "@-" http://192.168.12.1/TMI/v1/network/configuration/v2?set=ap -H 'Authorization: Bearer see_video_replace_me'
  14.  
  15.  
  16. # -- FOR MACOS & LINUX.etc USERS: (In Terminal app) --
  17.  
  18. curl -X POST http://192.168.12.1/TMI/v1/auth/login -d '{"username": "admin", "password": "SEE_VIDEO_REPLACE_ME" }'
  19.  
  20. # then...
  21.  
  22. curl http://192.168.12.1//TMI/v1/network/configuration\?get\=ap -H 'Authorization: Bearer SEE_VIDEO_REPLACE_ME' > ~/Desktop/t-mobile-wifi-info.txt
  23.  
  24. # then...
  25.  
  26. cat ~/Desktop/t-mobile-wifi-info.txt | curl -d "@-" http://192.168.12.1/TMI/v1/network/configuration\?set\=ap -H 'Authorization: Bearer SEE_VIDEO_REPLACE_ME'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement