1. Are you ready for the Galaxy S20? Here is everything we know so far!

Root [ROOT]Renew IP (Useful for tethering and IP ban evasion.)

Discussion in 'Android Devices' started by AlexMason, Feb 12, 2011.

  1. AlexMason

    AlexMason Well-Known Member
    Thread Starter

    I have used this method a few time to avoid a ban on IRC, I can confirm it works... anyways here is the script.

    Right Click -> Save Link As... -> File Name: renew-ip / Save Type: All -> Ok

    Now navigate to file and put on your sdcard then you are finished.

    If you ever need a new IP open "Terminal Emulator" and type in:
    Code (Text):
    1. $ $su
    2. #cd /sdcard
    3. #sh renew-ip
    And you will see this(note each line is a command[Noobs: $ and # are omitted do not enter them])
    Code (Text):
    1.  Shutting down wireless interface[rmnet0]...
    2. Bringing up wireless interface[rmnet0]...
    3. Obtaining IP Address[rmnet0]...
    4. Done...  hopefully all went well and you have a new IP.
    Credits: 99% Google, 1% me for throwing commands in shell file and writing post.


    KingOfGreen likes this.
  2. Lilg37

    Lilg37 Well-Known Member

    if ur banned from irc its possibly a good reason, not sayin there hasnt been a few mistakin bans
    but maybe use this as a new way to get multiple items that require only a single ip adress..
    nothing namable off the top of my head but i think you get the picture
    like some websites restrict multiple access from the same ip... change it and you got a whole new access
  3. AlexMason

    AlexMason Well-Known Member
    Thread Starter

    I didnt to post this to say i got banned from IRC, i was just using a scenario.
  4. Velocitier

    Velocitier Lurker

    dont think he was refering to you specifically even tho it says "ur"
    maybe he meant it as a scenerio as well
    like ppl banned
  5. AlexMason

    AlexMason Well-Known Member
    Thread Starter

    True, but this is useful since you get a new ip from verizons pool of IP's(172.*.*.*
  6. Lilg37

    Lilg37 Well-Known Member

    Yea dude nothing against you
    I think this is a great discovery and could be very helpful
  7. Mitchell4500

    Mitchell4500 Android Enthusiast

    Yeah I know from experience that a certain IRC channel bans people for fun.
  8. AlexMason

    AlexMason Well-Known Member
    Thread Starter

    Yep & Yep!
  9. netizenmt

    netizenmt Android Enthusiast

    I don't think it's always unwarranted.
  10. AlexMason

    AlexMason Well-Known Member
    Thread Starter

    No but it can be handled with a 10 minute mute, you are banning someone cause they are frustrated? makes 0(ZERO) sense.
  11. AlexMason

    AlexMason Well-Known Member
    Thread Starter

  12. KingOfGreen

    KingOfGreen Android Expert

    Worked for me! had to put it in airplane mode first, thought it wasnt working.

    -just toggling airplane mode does it! soo it doesnt work??
  13. WhyMyAlly

    WhyMyAlly Member

    Usually a problem exists on irc that they occassionally ban a host instead of a specific ip addy. This is so people on ip pools can't renew their ip addy and continue to harrass others. Its happened to me before and usually talking to a channel opper will get you back in. This is a nice script to have because some of verizons ip pools have limits in place that prevents certain services (like torrents) from running. For example; When dling a movie some of the 172.x.x.x ip bundles won't allow torrents or other high bandwidth consuming services to run. They just time out or like youtube or other streaming apps stop halfway through the stream. I can just keep running the script until it renews my ip to a 65.x.x.x network which does allow full bandwidth use. I usually have to restart my phone again and again until I get on the network I want. This neat little script does it for me thanks.
  14. AlexMason

    AlexMason Well-Known Member
    Thread Starter

    No problem.
  15. jeckel

    jeckel Member

    anyone know of a way to change the mac address also?

Share This Page