Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Maddchef

5 posts

Wannabe Geek


#19507 19-Feb-2008 21:43
Send private message

Didn't know where to put this so it went here. Does anyone know of software or any other way to disconnect and then reconnect an adsl connection automatically thereby refreshing my ip address?

Would basically make it into a rotating ip at set intervals.

I've found ADSL Autoconnect but it requires I have to enter a passy and username when I connect to the net and this isn't the case for me. Just looking for some way to constantly refresh my ip automaticlly thereby doing away with me having to sit here and  iprelease  etc or reaching over and unpluggin my modem.

Any help on this would be greatly appreciated, Thanks in advance

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
alanwright
46 posts

Geek


  #111699 19-Feb-2008 21:55
Send private message

kinda hard to read .... try to break paragrahs..

what are you wanting to do?

by default on a dsl connection you will be given an ip that "expires" after x days/hours


if you want to "phone home" try www.no-ip.com - gives you a dns to a non static ip




Maddchef

5 posts

Wannabe Geek


  #111701 19-Feb-2008 22:01
Send private message

LOL, sry bout the jumbe of words............I'm basically looking for software if it exists that would keep my ip address constantly changing within my range at a certain interval... lets say every 15 minutes or such.

Now I know I can manually release and renew my ip, or like I said just reach over and unplug my modem or run a .bat to do it but I'm wondering if it's possible to have it automatically do such? Like when I'm away from my computer


tonyhughes
Hawkes Bay
8476 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

  #111703 19-Feb-2008 22:04
Send private message

if you aware of how to do it with a batch file, then just use a scheduler to run that file every 15 mins.









Maddchef

5 posts

Wannabe Geek


  #111706 19-Feb-2008 22:07
Send private message

Not a bad idea actually, I'd have to get my hands on one though....... thanks.

So I'm guessing there's no such software out as I'd assume the demand isn't very high for people wanting to get disconnected alot haha

freitasm
BDFL - Memuneh
79253 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#111712 19-Feb-2008 22:26
Send private message

Maddchef: Not a bad idea actually, I'd have to get my hands on one though....... thanks.


All modern OS come with a scheduler built-in. And the subject of this thread is wrong. "IP Problems" does not describe what you want...




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


alanwright
46 posts

Geek


  #111715 19-Feb-2008 22:33
Send private message

Maddchef: Not a bad idea actually, I'd have to get my hands on one though....... thanks.

So I'm guessing there's no such software out as I'd assume the demand isn't very high for people wanting to get disconnected alot haha



windows has a scheduler built in ... as i type frietasm has answered  already :)

Maddchef

5 posts

Wannabe Geek


  #111724 19-Feb-2008 22:54
Send private message

Yea sorry yet again for not titleing the thread correctly. I made a bat and it still wont release my ip
I'd think it should but no dice. Am I missing something or can certain modems/dchp servers only lease you a new ip if you cycle the modem power?

@echo off
echo ipconfig /flushdns
ipconfig /flushdns
echo ipconfig /release
ipconfig /release
echo ipconfig /renew
ipconfig /renew
exit


The bat I used

 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
alanwright
46 posts

Geek


  #111727 19-Feb-2008 23:00
Send private message

ok v.tired - am almost prepared to be shot down here!

your script is fine - but it is a local script! ....

you CANT script your isp to renew your IP ..

if you can script your router to reboot then your onto something

Maddchef

5 posts

Wannabe Geek


  #111728 19-Feb-2008 23:02
Send private message

Kinda what I was thinking as my gateway appears to stay the same, no clue how to begin to go about it or if it could be done though

PenultimateHop
637 posts

Ultimate Geek

Trusted

  #111738 19-Feb-2008 23:41
Send private message

alanwright:

by default on a dsl connection you will be given an ip that "expires" after x days/hours

This isn't correct.  Unless there are session length limits (unlikely) on the PPP session, your IP address will remain the same for as long as the PPP session is up.  Some ISPs may even try to re-allocate you the same dynamic IP upon reconnection (static IP, or 'sticky' IP).

PenultimateHop
637 posts

Ultimate Geek

Trusted

  #111739 19-Feb-2008 23:44
Send private message

Maddchef: Kinda what I was thinking as my gateway appears to stay the same, no clue how to begin to go about it or if it could be done though
If you really want to do this (why?!), either:

1. buy an internal DSL modem (or bridge - you don't say what type of connection you're on, and it appears you're in the US) and have your machine schedule a job to disconnect the session or release the WAN IP.
2. buy a DSL router that can support either session length limits to drop the session and 'auto redial' when there's traffic, or supports a scheduled job to drop the session. You could probably do this with a Cisco device and SAA.
3. Use 'expect' or something similar to telnet to your dsl device and disconnect the session. Schedule a job on a host in your home.
4. Use curl to call an HTTP URI on your gateway to disconnect the session.

I'd really have to question why you want to do this, though.

freitasm
BDFL - Memuneh
79253 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#111769 20-Feb-2008 08:05
Send private message

It may not even work anyway because some DHCP servers will probably try to assign the same IP again to the MAC address if it is available.

I can't think of anything that needs constant IP address changes. In most cases people want to keep it static!




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


weblordpepe
460 posts

Ultimate Geek
Inactive user


  #111985 21-Feb-2008 02:19
Send private message

Are you using an internal ADSL modem? If so then I am at a loss, other than a script to actually disable the network interface & re-enable it.

If you've got an external modem, then you may look at using uPnP or something to configure your modem. Or. Even use a batch file / macro to SSH into the modem with the command to disable and re-enable the connection. If your modem is external you may be interested in using SSH to command it remotely.

weblordpepe
460 posts

Ultimate Geek
Inactive user


  #111986 21-Feb-2008 02:25
Send private message

Actually this might sound a bit retarded - but have you ever thought of putting an electronic timer onto the power plug? Those thingies that you get from Dicksmith or whatever that control the power. Low-tech I know, and probably retarded. But its 2am and I am allowed.

PenultimateHop
637 posts

Ultimate Geek

Trusted

  #111988 21-Feb-2008 02:35
Send private message

weblordpepe: Actually this might sound a bit retarded - but have you ever thought of putting an electronic timer onto the power plug? Those thingies that you get from Dicksmith or whatever that control the power. Low-tech I know, and probably retarded. But its 2am and I am allowed.
I was about to suggest the same thing!

Great minds, etc.

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.