Skip to content

Instantly share code, notes, and snippets.

@sfiorini
Forked from 1mike12/Fast tethering.md
Last active May 14, 2022 19:33
Show Gist options
  • Select an option

  • Save sfiorini/f4f943693cd766dea8c6125f603ded77 to your computer and use it in GitHub Desktop.

Select an option

Save sfiorini/f4f943693cd766dea8c6125f603ded77 to your computer and use it in GitHub Desktop.

Revisions

  1. sfiorini revised this gist May 14, 2022. No changes.
  2. @1mike12 1mike12 revised this gist Sep 17, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Fast tethering.md
    Original file line number Diff line number Diff line change
    @@ -40,6 +40,7 @@ bearer UMTS,LTE
    MVNO type GID
    MVNO value 544D
    ```
    source https://forum.xda-developers.com/t/looking-to-bypass-t-mobile-hotspot-throttling.4037543/
    # Changing TTL
    ### MacOS
    My OS on high sierra didn't have the file needed so create it first. Otherwise just add the line
  3. @1mike12 1mike12 revised this gist Sep 17, 2021. 1 changed file with 25 additions and 0 deletions.
    25 changes: 25 additions & 0 deletions Fast tethering.md
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,31 @@ cat /system/build.prop
    ```
    restart device

    ## editing APN
    `wifi & network> sim1> Access Point Names`

    ```
    Name test
    APN fast.t-mobile.com
    proxy
    port
    username
    password
    server
    mmsc http://mms.msg.eng.t-mobile.com/mms/wapenc
    mms proxy
    mms port
    mcc 310
    mnc 260
    authentication type not set
    apn type
    default,tether,supl,mms,admin,hipri
    apn protocol IPv4
    APN enable/disable APN enabled (forced on)
    bearer UMTS,LTE
    MVNO type GID
    MVNO value 544D
    ```
    # Changing TTL
    ### MacOS
    My OS on high sierra didn't have the file needed so create it first. Otherwise just add the line
  4. @1mike12 1mike12 revised this gist Aug 9, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Fast tethering.md
    Original file line number Diff line number Diff line change
    @@ -28,3 +28,5 @@ I think restart is needed. Or, temporarily change TTL
    `sudo sysctl -w net.inet.ip.ttl=65`

    ### Windows

    https://shevchenko.cc/10-how-to-change-ttl-in-windows-10.html
  5. @1mike12 1mike12 revised this gist Aug 9, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Fast tethering.md
    Original file line number Diff line number Diff line change
    @@ -3,14 +3,14 @@

    `settings put global tether_dun_required 0`
    #### with root permsission and running as SU
    ```
    ```sh
    # makes the build.prop file editable
    mount -o rw,remount /

    # adds a line in build.props
    echo "net.tethering.noprovisioning=true" >> /system/build.prop

    #check correctly written with
    # check correctly written with
    cat /system/build.prop
    ```
    restart device
  6. @1mike12 1mike12 revised this gist Aug 9, 2020. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions Fast tethering.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,9 @@ mount -o rw,remount /
    # adds a line in build.props
    echo "net.tethering.noprovisioning=true" >> /system/build.prop
    #check correctly written with
    cat /system/build.prop
    ```
    restart device

  7. @1mike12 1mike12 revised this gist Aug 9, 2020. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions Fast tethering.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,14 @@
    `adb shell`

    `settings put global tether_dun_required 0`
    #### with root permsission and running as SU
    ```
    # makes the build.prop file editable
    mount -o rw,remount /
    # adds a line in build.props
    echo "net.tethering.noprovisioning=true" >> /system/build.prop
    ```
    restart device

    # Changing TTL
  8. @1mike12 1mike12 renamed this gist Feb 13, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  9. @1mike12 1mike12 revised this gist Oct 6, 2018. 1 changed file with 6 additions and 3 deletions.
    9 changes: 6 additions & 3 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,14 @@
    ### on android
    `adb shell`
    `settings put global tether_dun_required 0`
    `adb shell`

    `settings put global tether_dun_required 0`

    restart device

    # Changing TTL
    ### MacOS
    My OS on high sierra didn't have the file needed so create it first. Otherwise just add the line
    My OS on high sierra didn't have the file needed so create it first. Otherwise just add the line

    `touch /etc/sysctl.conf`

    In sysctl.conf
  10. @1mike12 1mike12 renamed this gist Oct 6, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  11. @1mike12 1mike12 created this gist Oct 6, 2018.
    17 changes: 17 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    ### on android
    `adb shell`
    `settings put global tether_dun_required 0`
    restart device

    # Changing TTL
    ### MacOS
    My OS on high sierra didn't have the file needed so create it first. Otherwise just add the line
    `touch /etc/sysctl.conf`

    In sysctl.conf
    `net.inet.ip.ttl=65`

    I think restart is needed. Or, temporarily change TTL
    `sudo sysctl -w net.inet.ip.ttl=65`

    ### Windows