India Broadband Forum


Renew Ip for UT300R2

This is a discussion on Renew Ip for UT300R2 within the BSNL broadband forums, part of the Broadband Internet Service Providers category; Is there any command for renewing the IP address while using UT 300R2 Modem ? I tried the BusyBox method, ...

Go Back   India Broadband Forum > Indian Broadband Forums > Broadband Internet Service Providers > BSNL broadband

India Broadband Forum


BSNL broadband Bsnl broadband internet connection and modems, routers and other bsnl dataone related issues can be discussed here.

                      

Reply

 

LinkBack Thread Tools Display Modes
Old 08-16-09, 02:14 PM   #1
newprouser
Guest
 
Posts: n/a
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 ?
  Reply With Quote
Old 08-17-09, 08:53 PM   #2
newprouser
Guest
 
Posts: n/a
Default

strange , nobody's got a solution ?
  Reply With Quote
Old 08-17-09, 09:29 PM   #3
Platinum Member
 
Join Date: Aug 2007
Location: Chennai
Posts: 4,246
Rep Power: 12
essbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of light
Default

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

Also available in SMC barricade 7400.

Ip release renew.jpg

Usually not available in any ADSL modem.
Have not come across this option so far.
( checked Beetel 110Bx1 )
essbebe is offline   Reply With Quote
Old 08-17-09, 09:34 PM   #4
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
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.
just4kix is offline   Reply With Quote
Old 08-17-09, 09:44 PM   #5
newprouser
Guest
 
Posts: n/a
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.
  Reply With Quote
Old 08-17-09, 10:18 PM   #6
Silver Member
 
Join Date: May 2008
Age: 27
Posts: 314
Rep Power: 2
Indranil will become famous soon enough
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.
Indranil is offline   Reply With Quote
Old 08-18-09, 02:41 PM   #7
Junior Member
 
Karamjeet's Avatar
 
Join Date: Aug 2008
Posts: 80
Rep Power: 2
Karamjeet will become famous soon enough
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
Karamjeet is offline   Reply With Quote
Old 08-18-09, 02:58 PM   #8
Silver Member
 
Join Date: May 2008
Age: 27
Posts: 314
Rep Power: 2
Indranil will become famous soon enough
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.
Indranil is offline   Reply With Quote
Old 08-18-09, 03:09 PM   #9
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

Good method but this is very much same as rebooting the router.
just4kix is offline   Reply With Quote
Old 08-18-09, 03:17 PM   #10
Junior Member
 
Karamjeet's Avatar
 
Join Date: Aug 2008
Posts: 80
Rep Power: 2
Karamjeet will become famous soon enough
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.
Karamjeet is offline   Reply With Quote
Old 08-18-09, 03:18 PM   #11
newprouser
Guest
 
Posts: n/a
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

Quote:
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
  Reply With Quote
Old 08-18-09, 04:52 PM   #12
Junior Member
 
Karamjeet's Avatar
 
Join Date: Aug 2008
Posts: 80
Rep Power: 2
Karamjeet will become famous soon enough
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
Karamjeet is offline   Reply With Quote
Old 08-18-09, 07:31 PM   #13
newprouser
Guest
 
Posts: n/a
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
  Reply With Quote
Old 08-18-09, 07:51 PM   #14
Junior Member
 
Karamjeet's Avatar
 
Join Date: Aug 2008
Posts: 80
Rep Power: 2
Karamjeet will become famous soon enough
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 ?
Karamjeet is offline   Reply With Quote
Old 08-18-09, 08:35 PM   #15
newprouser
Guest
 
Posts: n/a
Default

Quote:
# 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 ?
  Reply With Quote
Old 08-18-09, 08:43 PM   #16
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
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.
just4kix is offline   Reply With Quote
Old 08-18-09, 08:51 PM   #17
Platinum Member
 
Join Date: Aug 2007
Location: Chennai
Posts: 4,246
Rep Power: 12
essbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of lightessbebe is a glorious beacon of light
Default

Quote:
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
essbebe is offline   Reply With Quote
Old 08-18-09, 10:01 PM   #18
newprouser
Guest
 
Posts: n/a
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.
  Reply With Quote
Old 08-18-09, 10:57 PM   #19
Alligator
 
itsmemad's Avatar
 
Join Date: Sep 2008
Location: Pleasure drome
Posts: 3,514
Rep Power: 10
itsmemad is a glorious beacon of lightitsmemad is a glorious beacon of lightitsmemad is a glorious beacon of lightitsmemad is a glorious beacon of lightitsmemad is a glorious beacon of lightitsmemad is a glorious beacon of light
Default

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

Code:
ipconfig /renew
itsmemad is offline   Reply With Quote
Old 08-18-09, 11:18 PM   #20
newprouser
Guest
 
Posts: n/a
Default

@madz
not working bro
  Reply With Quote
Reply

Tags
renew

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Setup of ut300r2 modem with linksys wtr54g wifi router knaresh89 BSNL broadband 2 08-07-09 08:52 AM
Motorola W233 Renew Admin Motorola 4 02-16-09 03:46 PM
UT300R2 Problem hotty007 BSNL broadband 22 05-23-08 10:27 PM


All times are GMT +5.5. The time now is 09:37 PM.


India Broadband Forum