Results 1 to 24 of 24

Thread: Renew Ip for UT300R2

  1. #1
    newprouser
    Guest

    Default Renew Ip for UT300R2

    Is there any command for renewing the IP address while using UT 300R2 Modem ?

    I tried the BusyBox method, but it only has option to reboot the modem.


    Is there a way to just renew/refresh IP in PPPoE mode ?

  2. #2
    newprouser
    Guest

    Default

    strange , nobody's got a solution ? :huh:

  3. #3
    LEARNER
    Join Date
    Aug 2007
    Liked
    28 times
    Posts
    15,323

    Default

    Are you looking for an option like this ?
    seen in my Wifi router WGR614 V6.

    Also available in SMC barricade 7400.

    Attachment 5552

    Usually not available in any ADSL modem.
    Have not come across this option so far.
    ( checked Beetel 110Bx1 )
    Last edited by essbebe; 09-06-11 at 08:24 PM.

  4. #4
    Guardian Angel just4kix's Avatar
    Join Date
    Dec 2007
    Liked
    117 times
    Posts
    11,163

    Default

    Use the autoreboot method posted here:

    Automatic rebooting of router at 2 AM and 8 AM

    Run it as many times. Most of the times, the dynamic IP will be renewed and different. In rare cases, you may get the same IP.

  5. #5
    newprouser
    Guest

    Default

    Quote Originally Posted by just4kix View Post
    Use the autoreboot method posted here:

    Automatic rebooting of router at 2 AM and 8 AM

    Run it as many times. Most of the times, the dynamic IP will be renewed and different. In rare cases, you may get the same IP.
    yes uncle i'm using the same method right now, what i am looking for, is a way to do it without rebooting the modem, if it is possible.

    Quote Originally Posted by essbebe View Post
    Are you looking for an option like this ?
    seen in my Wifi router WGR614 V6.

    Also available in SMC barricade 7400.

    Attachment 5552

    Usually not available in any ADSL modem.
    Have not come across this option so far.
    ( checked Beetel 110Bx1 )
    No.

    I'm looking for method to renew IP using command line/batch file method similar to how it is done in bridge mode.

    Already using the method of rebooting the modem, i want to know if there is any command to just renew the IP instead of rebooting the modem.

  6. #6
    Gold Member
    Join Date
    May 2008
    Age
    29
    Liked
    1 times
    Posts
    773

    Default

    You can't renew the IP from BSNL like 59 or 117 untile you reconnect to the ISP or it will automatically renew the IP if you switch on the router 24hours. every 24 hours the IP from BSNL side renewed.

  7. #7
    Junior Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    80

    Lightbulb Batch File

    I dont' have this Modem so i can't tell you the exact syntax but for my Router "D-Link GLB-802C" i use the following command to renew WAN IP without rebooting the Router

    Code:
    modify ppp intf ifname ppp-0 stop
    modify ppp intf ifname ppp-0 start
    Telnet to your router and look for the similar commands.

    HTH

  8. #8
    Gold Member
    Join Date
    May 2008
    Age
    29
    Liked
    1 times
    Posts
    773

    Default

    Code:
    modify ppp intf ifname ppp-0 stop
    modify ppp intf ifname ppp-0 start
    Karamjeet this is really good
    No need to restart the Router.

  9. #9
    Guardian Angel just4kix's Avatar
    Join Date
    Dec 2007
    Liked
    117 times
    Posts
    11,163

    Default

    Good method but this is very much same as rebooting the router.

  10. #10
    Junior Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    80

    Lightbulb No Reboot

    Quote Originally Posted by just4kix View Post
    Good method but this is very much same as rebooting the router.
    Nope, this doesn't restarts the router it only reconnects the PPP interface and hardly takes 2-3 seconds as compared to more than one minute in case of Router reboot.

  11. #11
    newprouser
    Guest

    Default

    Quote Originally Posted by Karamjeet View Post
    I dont' have this Modem so i can't tell you the exact syntax but for my Router "D-Link GLB-802C" i use the following command to renew WAN IP without rebooting the Router

    Code:
    modify ppp intf ifname ppp-0 stop
    modify ppp intf ifname ppp-0 start
    Telnet to your router and look for the similar commands.

    HTH
    thanks.

    i'm not able to lookup for a equivalent command any help ?

    these are the supported commands of my modem/router

    BusyBox v0.61.pre (2004.10.22-12:27+0000) multi-call binary

    Usage: busybox [function] [arguments]...
    or: [function] [arguments]...

    Currently defined functions:
    [, ash, busybox, cat, chgrp, chmod, chown, cp, date, dd, df, echo,
    false, free, grep, hostname, id, ifconfig, init, insmod, kill,
    ln, login, ls, lsmod, mkdir, modprobe, mount, mv, passwd, ping,
    ps, pwd, reboot, rm, rmmod, route, sh, sleep, sync, tar, test,
    tftp, touch, true, tty, umount, wget, whoami, yes

  12. #12
    Junior Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    80

    Lightbulb ifconfig

    Try this

    Code:
    ifconfig ppp-0 down
    ifconfig ppp-0 up
    change ppp-0 with appropriate interface name.

    if above commands fail try
    Code:
    ifconfig --help

  13. #13
    newprouser
    Guest

    Default

    tried "ifconfig ppp0 down", the connection doesn't work after that, even if i use "ifconfig ppp0 up".

    there is no other way to make it work than to reboot the modem

  14. #14
    Junior Member
    Join Date
    Aug 2008
    Liked
    0 times
    Posts
    80

    Lightbulb "ifconfig --help" Output

    Quote Originally Posted by newprouser View Post
    tried "ifconfig ppp0 down", the connection doesn't work after that, even if i use "ifconfig ppp0 up".
    it means "ifconfig ppp0 down" successfully disconnected the PPP interface but "ifconfig ppp0 up" was unable to connect it again.

    please post output of "ifconfig --help" command ?

  15. #15
    newprouser
    Guest

    Default

    # ifconfig --help
    BusyBox v0.61.pre (2004.10.22-12:27+0000) multi-call binary

    Usage: ifconfig [-a] <interface> [<address>]
    one thing i noted was, even after the "down" command, the external Ip hadn't changed. I noted this using the "ifconfig ppp0" command.

    or is it supposed to change only if "up" command is executed properly ?

  16. #16
    Guardian Angel just4kix's Avatar
    Join Date
    Dec 2007
    Liked
    117 times
    Posts
    11,163

    Default

    Actually what is the problem is using the "reboot" command?

    Whether you use ifconfig or any other command, you still have to telnet to the router.

  17. #17
    LEARNER
    Join Date
    Aug 2007
    Liked
    28 times
    Posts
    15,323

    Default

    Say you’ve got a Ubuntu system with a DHCP address, and you want to release that address and obtain a new one. Releasing a DHCP address in Ubuntu is quite simple. Go to a Terminal window and type this command:

    sudo dhclient -r

    (Note that you must use dhclient either as root or with the sudo command for it to work.)

    This will release your current IP address. To obtain a new one, use the dhclient without any arguments:

    sudo dhclient

    Assuming that dhclient can reach a DHCP server, your system will receive a new IP address in short order.
    source : google search : linux Ip release renew

  18. #18
    newprouser
    Guest

    Default

    Quote Originally Posted by just4kix View Post
    Actually what is the problem is using the "reboot" command?

    Whether you use ifconfig or any other command, you still have to telnet to the router.
    like "Karamjeet" explained renewing Ip takes only 2-3 seconds compared to rebooting which takes a longer time.

    Quote Originally Posted by essbebe View Post
    source : google search : linux Ip release renew
    thank you very much, but i'm looking for solution in windows.

  19. #19
    Alligator itsmemad's Avatar
    Join Date
    Sep 2008
    Liked
    15 times
    Posts
    4,160

    Default

    For Windows XP Pro, try this command in Command prompt:

    Code:
    ipconfig /renew

  20. #20
    newprouser
    Guest

    Default

    @madz
    not working bro

  21. #21
    Alligator itsmemad's Avatar
    Join Date
    Sep 2008
    Liked
    15 times
    Posts
    4,160

    Default

    OK. I researched a bit and got the solution.

    The important thing to note is that the Network adapter should be configured as DHCP enabled. If you are using static IP address, this command won't work. Please configure the TCP/IP properties of the Network adapter as Obtain an IP address automatically.

    First, in Command prompt type:

    Code:
    ipconfig /release
    Then, type:

    Code:
    ipconfig /renew
    For all the commands to use with ipconfig refer:

    The Syntax and Options for Using the Ipconfig Diagnostic Utility for Network Connections
    Last edited by itsmemad; 08-19-09 at 02:41 AM. Reason: Automerged Doublepost

  22. #22
    newprouser
    Guest

    Default

    Quote Originally Posted by itsmemad View Post
    OK. I researched a bit and got the solution.

    The important thing to note is that the Network adapter should be configured as DHCP enabled. If you are using static IP address, this command won't work. Please configure the TCP/IP properties of the Network adapter as Obtain an IP address automatically.
    I have a problem with the static IP part

    because the router is assigned a static IP as it works like a gateway, so I guess this won't work either.

    when i tried the command it made the IP as 0.0.0.0 and after renewing, it was assigned the same default IP.

    Anyways thanks for all the help

  23. #23
    Platinum Member
    Join Date
    Feb 2008
    Liked
    0 times
    Posts
    2,766

    Default

    wont that command just renew your LAN ip and not your WAN Ip

  24. #24
    newprouser
    Guest

    Default

    Quote Originally Posted by superprash2003 View Post
    wont that command just renew your LAN ip and not your WAN Ip
    yes, that is what i meant too !

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)