disable enable internet connexion through modem?

sandrine10

Power Member
Joined
Apr 14, 2010
Messages
779
Reaction score
88
I need a code for internet enable, disable either it may be dial-up or through modem.
How it is Possible?
 
not through modem, but command line
enable/disable the internet connection: http://computerstepbystep.com/internet_options_windows_7.html
renew the ip address: http://www.tp-link.us/faq-96.html

The renew ip address didn't work for me(tried it many times ) coz didn't use local area network,i'm connected through adsl!!
Hust tried the first method enable/disable the internet connection: http://computerstepbystep.com/intern...windows_7.html with no success

Anyway thanks HoNeYBiRD
 
Last edited:
not sure what your main goal is, but if you want to change the ip address, that may not work at all if you have a static ip, in this case most of the time even resetting the modem/router doesn't work to get a new ip

if you want to get a new ip in a given time frame automatically, you need to look into proxy services, backconnect proxies to be more precise
 
Problem solved after 2days of search...etc anyway happy that i did it at my own :)
 
It would be nice if you shared your solution :-), meanwhile I'll share mine.
For some ADSL modems there is possibility of shell access. Then you can control modem to do some things like reset/renew ip address. Soft/hard reset usually takes some time, but you can quickly renew ip address within a few seconds without putting much stress on your modem. It can be scripted and used by bot on any OS. For example my script for Huawei modems and Win OS platform (probably can work with other type of modems with some modifications):

Code:
192.168.1.1 23
WAIT "login:"
SEND "YOUR_USERNAME\m"
WAIT "password:"
SEND "YOUR_PASSWORD\m"
WAIT "$"
SEND "modify ppp intf stop ifname ppp-0\m"
WAIT "$"
SEND "modify ppp intf start ifname ppp-0\m"

I use this script with Telnet Scripting Tool application. Basically it connects to modem through telenet on ip 192.168.1.1 port 23 and sends your username and password, and then stops and starts ppp interface.
 
Back
Top