How to disconnect/connect ADSL modem connection to ISP by command? (Windows 7 SP1 x64)is it possible to wake...

Why I don't get the wanted width of tcbox?

How to read string as hex number in bash?

Pre-Employment Background Check With Consent For Future Checks

What (if any) is the reason to buy in small local stores?

Writing in a Christian voice

What are the rules for concealing thieves' tools (or items in general)?

Is there any common country to visit for uk and schengen visa?

Is xar preinstalled on macOS?

Exposing a company lying about themselves in a tightly knit industry: Is my career at risk on the long run?

Extraneous elements in "Europe countries" list

Is a square zero matrix positive semidefinite?

Would mining huge amounts of resources on the Moon change its orbit?

Why is indicated airspeed rather than ground speed used during the takeoff roll?

Should a narrator ever describe things based on a characters view instead of fact?

Turning a hard to access nut?

label a part of commutative diagram

How are passwords stolen from companies if they only store hashes?

Homology of the fiber

Nested Dynamic SOQL Query

Print last inputted byte

What is the tangent at a sharp point on a curve?

Imaginary part of expression too difficult to calculate

Do native speakers use "ultima" and "proxima" frequently in spoken English?

How can a new country break out from a developed country without war?



How to disconnect/connect ADSL modem connection to ISP by command? (Windows 7 SP1 x64)


is it possible to wake up a Linux device at a specific timeDouble ADSL modem connection problemHow to limit DSL connection speed on Thomson TG585 v7 router?Internet connection with ADSL modem in bridged modeHow does Internet link bonding work?How to use an ADSL modem/router only as a router?How is LAN diagram/schematic where my cable modem is connected to?Using Motorola NVG510 as wireless router via connecting it to Motorola SB5101 Cable ModemHow to enable Internet connection sharing using the command line in Windows 7How to figure out whether existing DSL modem can connect to my ~50 Mbit/s internet connection?Dropped internet connection but not LAN













1















I want to write that command in a .bat file and run it by windows scheduler at certain times of night and morning.



(for example: open connection at 23:00 and close it again next day at 9:00 automatically)



Already I am doing same procedure with using netsh command (in below) that can disable/enable my "Local Area Connection" and cause Ethernet light of my modem to be turned off (that is one of 4 lights of modem including: Power, Ethernet, DSL, Internet)



netsh interface set interface name="Local Area Connection" admin=disabled/enabled


And now I want to find a way to close the connection to the ISP (which cause DSL and Internet lights of the modem to be turned off) or a way to disconnect it (which cause Internet light of the modem to be changed from Green to Red).



My modem: ZyXEL "P-650R-T1v3"



--



Update 1:
What about DSL connection and turning off its light or in other word closing connection to the ISP?



--



Update 2: In response to the good and detailed answer of MR. @Michael_Kjörling, I changed my question and now I think my ultimate goal as mentioned in update 1 is terminating/closing my connection to the ISP and vice versa.



(Option 2 of @Michael_Kjörling answer with a difference: I want to turn on the Internet connection during the night (from 23:00 to 09:00 o'clock of next day and also,) leave the computer on for a specific internet usage when I'm not in front of my PC to operate it manually and remember that I don't want to leave my pc with internet access before 23:00 and after 09:00)



When I use netsh command, it does not close my connection to the ISP and in connection log of my user in ISP website, I am still connected. But when I remove/unplug my telephone wire from modem or turn the modem off or using "Connect On-Demand" future of modem Web UI, then I can see the disconnection time in log page of ISP website and reach my goal physically! (However I want to reach my goal by command and scheduler or a similar way without using a timer because I don't want to pay for it if I can reach my goal without purchasing a Timer device.)



--



Update 3: What about Connect On-Demand ability?



enter image description here



It's not work fine for my goal.



And what about connect/disconnect Button in Web UI of Modem?



enter image description here



Is there anyway to handle that work by schedule? for example using a command that sends user-name and password of Web UI with a parameter to modem to tell it to be connected/disconnected.










share|improve this question
















bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 2





    Not likely. You probably could if the device had SSH access, or the webui had a power off option (which is not terribly likely). Why not just use a timer? Something like this would do the job: belkin.com/us/p/P-F7C009

    – MaQleod
    Mar 22 '14 at 23:12











  • @MaQleod Thank you, timer may be my last choice and is fine. now what about update 1?

    – Victory Hymn
    Mar 24 '14 at 12:26






  • 3





    You could perhaps build a Lego robot that unplugs and replugs the power and phone wiring going to the cable modem at appropriate intervals?

    – a CVn
    Mar 24 '14 at 12:51













  • @MaQleod ► I found that my Modem Web UI have a disconnect/connect option: i.stack.imgur.com/Rs2nz.jpg ► Is it useful?

    – Victory Hymn
    Apr 1 '14 at 10:52
















1















I want to write that command in a .bat file and run it by windows scheduler at certain times of night and morning.



(for example: open connection at 23:00 and close it again next day at 9:00 automatically)



Already I am doing same procedure with using netsh command (in below) that can disable/enable my "Local Area Connection" and cause Ethernet light of my modem to be turned off (that is one of 4 lights of modem including: Power, Ethernet, DSL, Internet)



netsh interface set interface name="Local Area Connection" admin=disabled/enabled


And now I want to find a way to close the connection to the ISP (which cause DSL and Internet lights of the modem to be turned off) or a way to disconnect it (which cause Internet light of the modem to be changed from Green to Red).



My modem: ZyXEL "P-650R-T1v3"



--



Update 1:
What about DSL connection and turning off its light or in other word closing connection to the ISP?



--



Update 2: In response to the good and detailed answer of MR. @Michael_Kjörling, I changed my question and now I think my ultimate goal as mentioned in update 1 is terminating/closing my connection to the ISP and vice versa.



(Option 2 of @Michael_Kjörling answer with a difference: I want to turn on the Internet connection during the night (from 23:00 to 09:00 o'clock of next day and also,) leave the computer on for a specific internet usage when I'm not in front of my PC to operate it manually and remember that I don't want to leave my pc with internet access before 23:00 and after 09:00)



When I use netsh command, it does not close my connection to the ISP and in connection log of my user in ISP website, I am still connected. But when I remove/unplug my telephone wire from modem or turn the modem off or using "Connect On-Demand" future of modem Web UI, then I can see the disconnection time in log page of ISP website and reach my goal physically! (However I want to reach my goal by command and scheduler or a similar way without using a timer because I don't want to pay for it if I can reach my goal without purchasing a Timer device.)



--



Update 3: What about Connect On-Demand ability?



enter image description here



It's not work fine for my goal.



And what about connect/disconnect Button in Web UI of Modem?



enter image description here



Is there anyway to handle that work by schedule? for example using a command that sends user-name and password of Web UI with a parameter to modem to tell it to be connected/disconnected.










share|improve this question
















bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 2





    Not likely. You probably could if the device had SSH access, or the webui had a power off option (which is not terribly likely). Why not just use a timer? Something like this would do the job: belkin.com/us/p/P-F7C009

    – MaQleod
    Mar 22 '14 at 23:12











  • @MaQleod Thank you, timer may be my last choice and is fine. now what about update 1?

    – Victory Hymn
    Mar 24 '14 at 12:26






  • 3





    You could perhaps build a Lego robot that unplugs and replugs the power and phone wiring going to the cable modem at appropriate intervals?

    – a CVn
    Mar 24 '14 at 12:51













  • @MaQleod ► I found that my Modem Web UI have a disconnect/connect option: i.stack.imgur.com/Rs2nz.jpg ► Is it useful?

    – Victory Hymn
    Apr 1 '14 at 10:52














1












1








1


0






I want to write that command in a .bat file and run it by windows scheduler at certain times of night and morning.



(for example: open connection at 23:00 and close it again next day at 9:00 automatically)



Already I am doing same procedure with using netsh command (in below) that can disable/enable my "Local Area Connection" and cause Ethernet light of my modem to be turned off (that is one of 4 lights of modem including: Power, Ethernet, DSL, Internet)



netsh interface set interface name="Local Area Connection" admin=disabled/enabled


And now I want to find a way to close the connection to the ISP (which cause DSL and Internet lights of the modem to be turned off) or a way to disconnect it (which cause Internet light of the modem to be changed from Green to Red).



My modem: ZyXEL "P-650R-T1v3"



--



Update 1:
What about DSL connection and turning off its light or in other word closing connection to the ISP?



--



Update 2: In response to the good and detailed answer of MR. @Michael_Kjörling, I changed my question and now I think my ultimate goal as mentioned in update 1 is terminating/closing my connection to the ISP and vice versa.



(Option 2 of @Michael_Kjörling answer with a difference: I want to turn on the Internet connection during the night (from 23:00 to 09:00 o'clock of next day and also,) leave the computer on for a specific internet usage when I'm not in front of my PC to operate it manually and remember that I don't want to leave my pc with internet access before 23:00 and after 09:00)



When I use netsh command, it does not close my connection to the ISP and in connection log of my user in ISP website, I am still connected. But when I remove/unplug my telephone wire from modem or turn the modem off or using "Connect On-Demand" future of modem Web UI, then I can see the disconnection time in log page of ISP website and reach my goal physically! (However I want to reach my goal by command and scheduler or a similar way without using a timer because I don't want to pay for it if I can reach my goal without purchasing a Timer device.)



--



Update 3: What about Connect On-Demand ability?



enter image description here



It's not work fine for my goal.



And what about connect/disconnect Button in Web UI of Modem?



enter image description here



Is there anyway to handle that work by schedule? for example using a command that sends user-name and password of Web UI with a parameter to modem to tell it to be connected/disconnected.










share|improve this question
















I want to write that command in a .bat file and run it by windows scheduler at certain times of night and morning.



(for example: open connection at 23:00 and close it again next day at 9:00 automatically)



Already I am doing same procedure with using netsh command (in below) that can disable/enable my "Local Area Connection" and cause Ethernet light of my modem to be turned off (that is one of 4 lights of modem including: Power, Ethernet, DSL, Internet)



netsh interface set interface name="Local Area Connection" admin=disabled/enabled


And now I want to find a way to close the connection to the ISP (which cause DSL and Internet lights of the modem to be turned off) or a way to disconnect it (which cause Internet light of the modem to be changed from Green to Red).



My modem: ZyXEL "P-650R-T1v3"



--



Update 1:
What about DSL connection and turning off its light or in other word closing connection to the ISP?



--



Update 2: In response to the good and detailed answer of MR. @Michael_Kjörling, I changed my question and now I think my ultimate goal as mentioned in update 1 is terminating/closing my connection to the ISP and vice versa.



(Option 2 of @Michael_Kjörling answer with a difference: I want to turn on the Internet connection during the night (from 23:00 to 09:00 o'clock of next day and also,) leave the computer on for a specific internet usage when I'm not in front of my PC to operate it manually and remember that I don't want to leave my pc with internet access before 23:00 and after 09:00)



When I use netsh command, it does not close my connection to the ISP and in connection log of my user in ISP website, I am still connected. But when I remove/unplug my telephone wire from modem or turn the modem off or using "Connect On-Demand" future of modem Web UI, then I can see the disconnection time in log page of ISP website and reach my goal physically! (However I want to reach my goal by command and scheduler or a similar way without using a timer because I don't want to pay for it if I can reach my goal without purchasing a Timer device.)



--



Update 3: What about Connect On-Demand ability?



enter image description here



It's not work fine for my goal.



And what about connect/disconnect Button in Web UI of Modem?



enter image description here



Is there anyway to handle that work by schedule? for example using a command that sends user-name and password of Web UI with a parameter to modem to tell it to be connected/disconnected.







batch connection network-adapter isp adsl-router






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 16 '17 at 12:47









Pierre.Vriens

1,24561218




1,24561218










asked Mar 22 '14 at 15:29









Victory HymnVictory Hymn

64




64





bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 2





    Not likely. You probably could if the device had SSH access, or the webui had a power off option (which is not terribly likely). Why not just use a timer? Something like this would do the job: belkin.com/us/p/P-F7C009

    – MaQleod
    Mar 22 '14 at 23:12











  • @MaQleod Thank you, timer may be my last choice and is fine. now what about update 1?

    – Victory Hymn
    Mar 24 '14 at 12:26






  • 3





    You could perhaps build a Lego robot that unplugs and replugs the power and phone wiring going to the cable modem at appropriate intervals?

    – a CVn
    Mar 24 '14 at 12:51













  • @MaQleod ► I found that my Modem Web UI have a disconnect/connect option: i.stack.imgur.com/Rs2nz.jpg ► Is it useful?

    – Victory Hymn
    Apr 1 '14 at 10:52














  • 2





    Not likely. You probably could if the device had SSH access, or the webui had a power off option (which is not terribly likely). Why not just use a timer? Something like this would do the job: belkin.com/us/p/P-F7C009

    – MaQleod
    Mar 22 '14 at 23:12











  • @MaQleod Thank you, timer may be my last choice and is fine. now what about update 1?

    – Victory Hymn
    Mar 24 '14 at 12:26






  • 3





    You could perhaps build a Lego robot that unplugs and replugs the power and phone wiring going to the cable modem at appropriate intervals?

    – a CVn
    Mar 24 '14 at 12:51













  • @MaQleod ► I found that my Modem Web UI have a disconnect/connect option: i.stack.imgur.com/Rs2nz.jpg ► Is it useful?

    – Victory Hymn
    Apr 1 '14 at 10:52








2




2





Not likely. You probably could if the device had SSH access, or the webui had a power off option (which is not terribly likely). Why not just use a timer? Something like this would do the job: belkin.com/us/p/P-F7C009

– MaQleod
Mar 22 '14 at 23:12





Not likely. You probably could if the device had SSH access, or the webui had a power off option (which is not terribly likely). Why not just use a timer? Something like this would do the job: belkin.com/us/p/P-F7C009

– MaQleod
Mar 22 '14 at 23:12













@MaQleod Thank you, timer may be my last choice and is fine. now what about update 1?

– Victory Hymn
Mar 24 '14 at 12:26





@MaQleod Thank you, timer may be my last choice and is fine. now what about update 1?

– Victory Hymn
Mar 24 '14 at 12:26




3




3





You could perhaps build a Lego robot that unplugs and replugs the power and phone wiring going to the cable modem at appropriate intervals?

– a CVn
Mar 24 '14 at 12:51







You could perhaps build a Lego robot that unplugs and replugs the power and phone wiring going to the cable modem at appropriate intervals?

– a CVn
Mar 24 '14 at 12:51















@MaQleod ► I found that my Modem Web UI have a disconnect/connect option: i.stack.imgur.com/Rs2nz.jpg ► Is it useful?

– Victory Hymn
Apr 1 '14 at 10:52





@MaQleod ► I found that my Modem Web UI have a disconnect/connect option: i.stack.imgur.com/Rs2nz.jpg ► Is it useful?

– Victory Hymn
Apr 1 '14 at 10:52










2 Answers
2






active

oldest

votes


















0














Honestly, I think you are trying to over-engineer this. I can see two obvious options, depending on what is your ultimate goal.




  1. You want to eliminate the light from the modem, because you find it distracting. In this case, just cover the lights with something, perhaps something as simple as a piece of cardboard. Make sure to not cover any ventilation holes.


  2. You want to turn off the Internet connection during the night, but leave the computer on. This is exactly what a timer (or more accurately, an electric time switch) does. Hook your modem to it, set it to turn off the power between 23:00 and 09:00, and call it a day (or night). I'd suggest caution with the cheapest models as they might not play very nicely with sensitive electronics.



Virtually any other alternative is going to basically replicate the functionality of either one of those options, likely for more effort.



Simple time switches often are 24-hours only, but there exist those that can be set to take into account the day of the week (here is one example that allows for eight on/off cycles per day for seven days, which I was able to find with a quick Google search; your local home supply store will undoubtedly be able to suggest possibilities).



Additionally, taking your question at face value:




now I want to find a way to power off/on my modem totally.




If the modem is truly powered off, how is the computer going to be able to turn it on (which implies that there's something still powered on, else there would be nothing for the computer to communicate with)? That is essentially the same question as in is it possible to wake up a Linux device at a specific time (full disclosure: the accepted answer is mine), except in this case we have much less control over the device in question.






share|improve this answer


























  • Thank you Mr. @Michael, I was in trouble. now what do you think about changes in my question?

    – Victory Hymn
    Mar 30 '14 at 12:29



















0














its rough but here is how I did it on windows 8



@echo off

rem get the name of the adapter to turn off
wmic nic get name

rem turn off adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call diable 2>nul

rem turn on adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call enable 2>nul

exit





share|improve this answer
























  • nope! it's work like netsh command that I wrote in question. It can't disconnect me from ISP.

    – Victory Hymn
    Apr 1 '14 at 11:30











  • based off of what you said, and how I understand it, I would turn the router dchp off and make it a transparent bridge, then use the computer to authenticate the internet connection. I used to do this when I wanted to simulate a static ip on a dynamic ip configuration, the down side is it by passes all the router/modem security. then if you netsh or wmic your adapter your disconnected, then you can set the batch inside the scheduler to automate the connection. other than that, I have no clear understanding as to what your trying to do.

    – Donald
    Apr 4 '14 at 2:58













  • Ok, I have done some research, to give commands directly to your adsl modem you need something called cli commands, researching the site your modem was manufactured, I found that there does not seem to be a ZyXEL "P-650R-T1v3" but there is a ZyXEL "P-660R-T1v3", and it does not have a cli commands list, so I am assuming that it can not receive direct commands, here is where I found the information. zyxel.com/us/en/support/download_library.shtml sorry if I have made this more confusing.

    – Donald
    Apr 4 '14 at 3:29











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f732210%2fhow-to-disconnect-connect-adsl-modem-connection-to-isp-by-command-windows-7-sp%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Honestly, I think you are trying to over-engineer this. I can see two obvious options, depending on what is your ultimate goal.




  1. You want to eliminate the light from the modem, because you find it distracting. In this case, just cover the lights with something, perhaps something as simple as a piece of cardboard. Make sure to not cover any ventilation holes.


  2. You want to turn off the Internet connection during the night, but leave the computer on. This is exactly what a timer (or more accurately, an electric time switch) does. Hook your modem to it, set it to turn off the power between 23:00 and 09:00, and call it a day (or night). I'd suggest caution with the cheapest models as they might not play very nicely with sensitive electronics.



Virtually any other alternative is going to basically replicate the functionality of either one of those options, likely for more effort.



Simple time switches often are 24-hours only, but there exist those that can be set to take into account the day of the week (here is one example that allows for eight on/off cycles per day for seven days, which I was able to find with a quick Google search; your local home supply store will undoubtedly be able to suggest possibilities).



Additionally, taking your question at face value:




now I want to find a way to power off/on my modem totally.




If the modem is truly powered off, how is the computer going to be able to turn it on (which implies that there's something still powered on, else there would be nothing for the computer to communicate with)? That is essentially the same question as in is it possible to wake up a Linux device at a specific time (full disclosure: the accepted answer is mine), except in this case we have much less control over the device in question.






share|improve this answer


























  • Thank you Mr. @Michael, I was in trouble. now what do you think about changes in my question?

    – Victory Hymn
    Mar 30 '14 at 12:29
















0














Honestly, I think you are trying to over-engineer this. I can see two obvious options, depending on what is your ultimate goal.




  1. You want to eliminate the light from the modem, because you find it distracting. In this case, just cover the lights with something, perhaps something as simple as a piece of cardboard. Make sure to not cover any ventilation holes.


  2. You want to turn off the Internet connection during the night, but leave the computer on. This is exactly what a timer (or more accurately, an electric time switch) does. Hook your modem to it, set it to turn off the power between 23:00 and 09:00, and call it a day (or night). I'd suggest caution with the cheapest models as they might not play very nicely with sensitive electronics.



Virtually any other alternative is going to basically replicate the functionality of either one of those options, likely for more effort.



Simple time switches often are 24-hours only, but there exist those that can be set to take into account the day of the week (here is one example that allows for eight on/off cycles per day for seven days, which I was able to find with a quick Google search; your local home supply store will undoubtedly be able to suggest possibilities).



Additionally, taking your question at face value:




now I want to find a way to power off/on my modem totally.




If the modem is truly powered off, how is the computer going to be able to turn it on (which implies that there's something still powered on, else there would be nothing for the computer to communicate with)? That is essentially the same question as in is it possible to wake up a Linux device at a specific time (full disclosure: the accepted answer is mine), except in this case we have much less control over the device in question.






share|improve this answer


























  • Thank you Mr. @Michael, I was in trouble. now what do you think about changes in my question?

    – Victory Hymn
    Mar 30 '14 at 12:29














0












0








0







Honestly, I think you are trying to over-engineer this. I can see two obvious options, depending on what is your ultimate goal.




  1. You want to eliminate the light from the modem, because you find it distracting. In this case, just cover the lights with something, perhaps something as simple as a piece of cardboard. Make sure to not cover any ventilation holes.


  2. You want to turn off the Internet connection during the night, but leave the computer on. This is exactly what a timer (or more accurately, an electric time switch) does. Hook your modem to it, set it to turn off the power between 23:00 and 09:00, and call it a day (or night). I'd suggest caution with the cheapest models as they might not play very nicely with sensitive electronics.



Virtually any other alternative is going to basically replicate the functionality of either one of those options, likely for more effort.



Simple time switches often are 24-hours only, but there exist those that can be set to take into account the day of the week (here is one example that allows for eight on/off cycles per day for seven days, which I was able to find with a quick Google search; your local home supply store will undoubtedly be able to suggest possibilities).



Additionally, taking your question at face value:




now I want to find a way to power off/on my modem totally.




If the modem is truly powered off, how is the computer going to be able to turn it on (which implies that there's something still powered on, else there would be nothing for the computer to communicate with)? That is essentially the same question as in is it possible to wake up a Linux device at a specific time (full disclosure: the accepted answer is mine), except in this case we have much less control over the device in question.






share|improve this answer















Honestly, I think you are trying to over-engineer this. I can see two obvious options, depending on what is your ultimate goal.




  1. You want to eliminate the light from the modem, because you find it distracting. In this case, just cover the lights with something, perhaps something as simple as a piece of cardboard. Make sure to not cover any ventilation holes.


  2. You want to turn off the Internet connection during the night, but leave the computer on. This is exactly what a timer (or more accurately, an electric time switch) does. Hook your modem to it, set it to turn off the power between 23:00 and 09:00, and call it a day (or night). I'd suggest caution with the cheapest models as they might not play very nicely with sensitive electronics.



Virtually any other alternative is going to basically replicate the functionality of either one of those options, likely for more effort.



Simple time switches often are 24-hours only, but there exist those that can be set to take into account the day of the week (here is one example that allows for eight on/off cycles per day for seven days, which I was able to find with a quick Google search; your local home supply store will undoubtedly be able to suggest possibilities).



Additionally, taking your question at face value:




now I want to find a way to power off/on my modem totally.




If the modem is truly powered off, how is the computer going to be able to turn it on (which implies that there's something still powered on, else there would be nothing for the computer to communicate with)? That is essentially the same question as in is it possible to wake up a Linux device at a specific time (full disclosure: the accepted answer is mine), except in this case we have much less control over the device in question.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 20 '17 at 10:17









Community

1




1










answered Mar 24 '14 at 14:06









a CVna CVn

24.5k973120




24.5k973120













  • Thank you Mr. @Michael, I was in trouble. now what do you think about changes in my question?

    – Victory Hymn
    Mar 30 '14 at 12:29



















  • Thank you Mr. @Michael, I was in trouble. now what do you think about changes in my question?

    – Victory Hymn
    Mar 30 '14 at 12:29

















Thank you Mr. @Michael, I was in trouble. now what do you think about changes in my question?

– Victory Hymn
Mar 30 '14 at 12:29





Thank you Mr. @Michael, I was in trouble. now what do you think about changes in my question?

– Victory Hymn
Mar 30 '14 at 12:29













0














its rough but here is how I did it on windows 8



@echo off

rem get the name of the adapter to turn off
wmic nic get name

rem turn off adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call diable 2>nul

rem turn on adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call enable 2>nul

exit





share|improve this answer
























  • nope! it's work like netsh command that I wrote in question. It can't disconnect me from ISP.

    – Victory Hymn
    Apr 1 '14 at 11:30











  • based off of what you said, and how I understand it, I would turn the router dchp off and make it a transparent bridge, then use the computer to authenticate the internet connection. I used to do this when I wanted to simulate a static ip on a dynamic ip configuration, the down side is it by passes all the router/modem security. then if you netsh or wmic your adapter your disconnected, then you can set the batch inside the scheduler to automate the connection. other than that, I have no clear understanding as to what your trying to do.

    – Donald
    Apr 4 '14 at 2:58













  • Ok, I have done some research, to give commands directly to your adsl modem you need something called cli commands, researching the site your modem was manufactured, I found that there does not seem to be a ZyXEL "P-650R-T1v3" but there is a ZyXEL "P-660R-T1v3", and it does not have a cli commands list, so I am assuming that it can not receive direct commands, here is where I found the information. zyxel.com/us/en/support/download_library.shtml sorry if I have made this more confusing.

    – Donald
    Apr 4 '14 at 3:29
















0














its rough but here is how I did it on windows 8



@echo off

rem get the name of the adapter to turn off
wmic nic get name

rem turn off adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call diable 2>nul

rem turn on adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call enable 2>nul

exit





share|improve this answer
























  • nope! it's work like netsh command that I wrote in question. It can't disconnect me from ISP.

    – Victory Hymn
    Apr 1 '14 at 11:30











  • based off of what you said, and how I understand it, I would turn the router dchp off and make it a transparent bridge, then use the computer to authenticate the internet connection. I used to do this when I wanted to simulate a static ip on a dynamic ip configuration, the down side is it by passes all the router/modem security. then if you netsh or wmic your adapter your disconnected, then you can set the batch inside the scheduler to automate the connection. other than that, I have no clear understanding as to what your trying to do.

    – Donald
    Apr 4 '14 at 2:58













  • Ok, I have done some research, to give commands directly to your adsl modem you need something called cli commands, researching the site your modem was manufactured, I found that there does not seem to be a ZyXEL "P-650R-T1v3" but there is a ZyXEL "P-660R-T1v3", and it does not have a cli commands list, so I am assuming that it can not receive direct commands, here is where I found the information. zyxel.com/us/en/support/download_library.shtml sorry if I have made this more confusing.

    – Donald
    Apr 4 '14 at 3:29














0












0








0







its rough but here is how I did it on windows 8



@echo off

rem get the name of the adapter to turn off
wmic nic get name

rem turn off adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call diable 2>nul

rem turn on adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call enable 2>nul

exit





share|improve this answer













its rough but here is how I did it on windows 8



@echo off

rem get the name of the adapter to turn off
wmic nic get name

rem turn off adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call diable 2>nul

rem turn on adapter
wmic path win32_networkadapter where name="SOME ADAPTER THAT NEEDS TURNED OFF" call enable 2>nul

exit






share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 1 '14 at 10:38









DonaldDonald

447




447













  • nope! it's work like netsh command that I wrote in question. It can't disconnect me from ISP.

    – Victory Hymn
    Apr 1 '14 at 11:30











  • based off of what you said, and how I understand it, I would turn the router dchp off and make it a transparent bridge, then use the computer to authenticate the internet connection. I used to do this when I wanted to simulate a static ip on a dynamic ip configuration, the down side is it by passes all the router/modem security. then if you netsh or wmic your adapter your disconnected, then you can set the batch inside the scheduler to automate the connection. other than that, I have no clear understanding as to what your trying to do.

    – Donald
    Apr 4 '14 at 2:58













  • Ok, I have done some research, to give commands directly to your adsl modem you need something called cli commands, researching the site your modem was manufactured, I found that there does not seem to be a ZyXEL "P-650R-T1v3" but there is a ZyXEL "P-660R-T1v3", and it does not have a cli commands list, so I am assuming that it can not receive direct commands, here is where I found the information. zyxel.com/us/en/support/download_library.shtml sorry if I have made this more confusing.

    – Donald
    Apr 4 '14 at 3:29



















  • nope! it's work like netsh command that I wrote in question. It can't disconnect me from ISP.

    – Victory Hymn
    Apr 1 '14 at 11:30











  • based off of what you said, and how I understand it, I would turn the router dchp off and make it a transparent bridge, then use the computer to authenticate the internet connection. I used to do this when I wanted to simulate a static ip on a dynamic ip configuration, the down side is it by passes all the router/modem security. then if you netsh or wmic your adapter your disconnected, then you can set the batch inside the scheduler to automate the connection. other than that, I have no clear understanding as to what your trying to do.

    – Donald
    Apr 4 '14 at 2:58













  • Ok, I have done some research, to give commands directly to your adsl modem you need something called cli commands, researching the site your modem was manufactured, I found that there does not seem to be a ZyXEL "P-650R-T1v3" but there is a ZyXEL "P-660R-T1v3", and it does not have a cli commands list, so I am assuming that it can not receive direct commands, here is where I found the information. zyxel.com/us/en/support/download_library.shtml sorry if I have made this more confusing.

    – Donald
    Apr 4 '14 at 3:29

















nope! it's work like netsh command that I wrote in question. It can't disconnect me from ISP.

– Victory Hymn
Apr 1 '14 at 11:30





nope! it's work like netsh command that I wrote in question. It can't disconnect me from ISP.

– Victory Hymn
Apr 1 '14 at 11:30













based off of what you said, and how I understand it, I would turn the router dchp off and make it a transparent bridge, then use the computer to authenticate the internet connection. I used to do this when I wanted to simulate a static ip on a dynamic ip configuration, the down side is it by passes all the router/modem security. then if you netsh or wmic your adapter your disconnected, then you can set the batch inside the scheduler to automate the connection. other than that, I have no clear understanding as to what your trying to do.

– Donald
Apr 4 '14 at 2:58







based off of what you said, and how I understand it, I would turn the router dchp off and make it a transparent bridge, then use the computer to authenticate the internet connection. I used to do this when I wanted to simulate a static ip on a dynamic ip configuration, the down side is it by passes all the router/modem security. then if you netsh or wmic your adapter your disconnected, then you can set the batch inside the scheduler to automate the connection. other than that, I have no clear understanding as to what your trying to do.

– Donald
Apr 4 '14 at 2:58















Ok, I have done some research, to give commands directly to your adsl modem you need something called cli commands, researching the site your modem was manufactured, I found that there does not seem to be a ZyXEL "P-650R-T1v3" but there is a ZyXEL "P-660R-T1v3", and it does not have a cli commands list, so I am assuming that it can not receive direct commands, here is where I found the information. zyxel.com/us/en/support/download_library.shtml sorry if I have made this more confusing.

– Donald
Apr 4 '14 at 3:29





Ok, I have done some research, to give commands directly to your adsl modem you need something called cli commands, researching the site your modem was manufactured, I found that there does not seem to be a ZyXEL "P-650R-T1v3" but there is a ZyXEL "P-660R-T1v3", and it does not have a cli commands list, so I am assuming that it can not receive direct commands, here is where I found the information. zyxel.com/us/en/support/download_library.shtml sorry if I have made this more confusing.

– Donald
Apr 4 '14 at 3:29


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f732210%2fhow-to-disconnect-connect-adsl-modem-connection-to-isp-by-command-windows-7-sp%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...