| Creating a reconnect.bat file | |
|
+53fulzio abat-lm Nemernic Freez huzzz trh GC.XVZ Hades Aurion101 YaniS Feno kenichiro alex0113 Eumigen Gavy™ davidloko210 fake underestimated09 Aleodor121 wooloomooloo trx ag Rippraff mpadosouza moyjoy123 bad4eva Stsin silverx123 vollaufdienuesse tackebong inflames SlapSlap bamb@m alex_abc alizera guncan StileQ34 1of2neper7 curentatu Death Str1ke sowdarkman Spider Kisuke baarker182 CiceX BobTheBear jonathanvadney Bruzaholman Crator kristian08 apemaia ShadoFlame disappoint^ heroinmonkey 57 posters |
|
Author | Message |
---|
tackebong * * * * * * *
Posts : 177 Join date : 2009-08-07
| Subject: Re: Creating a reconnect.bat file Wed 09 Sep 2009, 02:24 | |
| can any1 make me 1 working for the router 2wire? :-/ | |
|
| |
moyjoy123 * * * * * * *
Posts : 161 Join date : 2009-09-06 Age : 28 Location : Philippines
| Subject: Re: Creating a reconnect.bat file Wed 16 Sep 2009, 08:43 | |
| hello ^_^ i followed the last alternate method(which is the easiest) but i dont know my router username and password
my dad changed it but wont tell me cause its for games is there a way to find my router username and password? | |
|
| |
Death Str1ke * * * * * * * * *
Posts : 518 Join date : 2009-04-16
| Subject: Re: Creating a reconnect.bat file Sat 19 Sep 2009, 01:33 | |
| So I went ahead and got a new ISP: (www.clear.com) Its dynamic IP, but upon speaking with them, they said in order to reset the IP I would have to restart my computer. I know there's and easier way, but which method would be best???
The modem is a Motorola CPEi 150 Series Something "new" called WiMAX, all wireless. | |
|
| |
Kisuke * * * * * * * * * *
Posts : 1398 Join date : 2009-05-07
| Subject: Re: Creating a reconnect.bat file Sat 19 Sep 2009, 02:57 | |
| @moyjoy
i think its admin then dont put password | |
|
| |
moyjoy123 * * * * * * *
Posts : 161 Join date : 2009-09-06 Age : 28 Location : Philippines
| Subject: Re: Creating a reconnect.bat file Sat 19 Sep 2009, 03:27 | |
| like this?
192.168.1.1 WAIT "login" SEND "admin\m" WAIT "password" SEND "\m" WAIT "\m" SEND "reboot\m" WAIT "\m" | |
|
| |
mpadosouza * * * * * *
Posts : 133 Join date : 2009-09-18
| Subject: Re: Creating a reconnect.bat file Mon 21 Sep 2009, 14:52 | |
| I'm using cURL to reset my router and these commands: - Code:
-
@echo off Echo Router reset: Netgear DG834GB FW: V5.01.01 curl "http://admin:xxxxxx@192.168.0.1/setup.cgi" -d "todo=disconnect&this_file=st_poe.htm&next_file=st_poe.htm" curl "http://admin:xxxxxx@192.168.0.1/setup.cgi" -d "todo=connect&this_file=st_poe.htm&next_file=st_poe.htm" echo Created with: Curl Router Reconnect (c) by Dirk Paehl (www.paehl.de) What would be the .bat commands if I wanted to use WGET? Thanks in advance! | |
|
| |
mpadosouza * * * * * *
Posts : 133 Join date : 2009-09-18
| Subject: Re: Creating a reconnect.bat file Mon 21 Sep 2009, 15:05 | |
| Well I've created the reconnect.bat using wget.exe and it seems to work fine when I run it manually. Here's the code: - Code:
-
@echo echo %time% wget.exe --delete-after http://admin:xxxxxx@192.168.0.1/setup.cgi?todo=disconnect&this_file=st_poe.htm&next_file=st_poe.htm ping 127.0.0.1 -n 1 > NUL wget.exe --delete-after http://admin:xxxxxx@192.168.0.1/setup.cgi?todo=connect&this_file=st_poe.htm&next_file=st_poe.htm ping 127.0.0.1 -n 18 > NUL But when I run the bot it only disconnects the router and does not connect it again... :S | |
|
| |
Rippraff * * * * * * * * * *
Posts : 1352 Join date : 2009-05-24 Age : 58
| Subject: Re: Creating a reconnect.bat file Mon 21 Sep 2009, 16:54 | |
| - mpadosouza wrote:
- I'm using cURL to reset my router and these commands:
- Code:
-
@echo off Echo Router reset: Netgear DG834GB FW: V5.01.01 curl "http://admin:xxxxxx@192.168.0.1/setup.cgi" -d "todo=disconnect&this_file=st_poe.htm&next_file=st_poe.htm" curl "http://admin:xxxxxx@192.168.0.1/setup.cgi" -d "todo=connect&this_file=st_poe.htm&next_file=st_poe.htm" echo Created with: Curl Router Reconnect (c) by Dirk Paehl (www.paehl.de) Try it with the -s option: - Code:
-
curl -s "http://admin:xxxxxx@192.168.0.1/setup.cgi" -d "todo=disconnect&this_file=st_poe.htm&next_file=st_poe.htm" | |
|
| |
trx ag * * * * *
Posts : 87 Join date : 2009-07-24
| Subject: Re: Creating a reconnect.bat file Tue 22 Sep 2009, 18:22 | |
| Ive got a problem. When ive run the file. it stops on password. I dont f+cking understand it! can you plz help me :?: | |
|
| |
wooloomooloo * * * * *
Posts : 75 Join date : 2009-09-27 Age : 35 Location : PL
| Subject: Re: Creating a reconnect.bat file Mon 05 Oct 2009, 19:00 | |
| Im trying to use last method
what does it mean? Extract it to your C:\ drive so it's in C:\tst10 where is C:\tst10 ( I have vista)
when Im trying to run reboot.bat it says: cant fing path C:\tst10
help me, plz :)
EDIT: I did it....its working for a few seconds then closing...but doesnt reset my router. what am I doing wrong?! | |
|
| |
Aleodor121 Banned
Posts : 197 Join date : 2009-07-18 Location : Spam Land
| Subject: Re: Creating a reconnect.bat file Wed 07 Oct 2009, 15:25 | |
| Umm i have rds i dont know where i can do the settings on Reconnect prog. for me "Reconecct" work just with ".exe" and no automatic i need disc, and connect my internet manually with "ReConnect" so... who can help me? | |
|
| |
underestimated09 * * * * * * *
Posts : 164 Join date : 2009-09-02 Location : New Zealand
| Subject: Re: Creating a reconnect.bat file Tue 27 Oct 2009, 17:41 | |
| ive got a Router called D-Link G604T
when i make the reconnect.bat the username and paswrd....are they the admin/admin ones you use to login into ur router settings? or are you talking about the user/pswrd for your acutal internet connection?
aslo i see that you say to use ur default gateway address as ur ip. mine is 10.1.1.1 when i go cmd-ipconfig does that sound right? i tried for a couple hours laSt nite to make it work , no luck...but i know im just doing something little wrong.
also...after making the reconnect.bat, ur supposed to put it in the same folder as curl.exe....i do that....the curl folder has a few files in it.....yet i dont recall being insturcted to do anything with the curl files....am i supposed to alter something somewhere in curl....or anywhere else to point to curl?
so close yet so far =o
if someone could just paste for me exactly what my stuff should look like that would be sweet! if u can make it work for me ill bot you for a WHOLE NITE!
thx =) | |
|
| |
fake * * *
Posts : 23 Join date : 2009-10-23
| Subject: resetting IP Wed 28 Oct 2009, 10:41 | |
| HELL-o! i have a problem with my ip resetter. i'm using SAMSUNG SWC-U200 usb modem. my IP is dynamic for sure, BUT!.. as i disable/enable my connection i obtain new IP but not every single time. ip changes like 1 of 5 times, that really sucks! and if it changes there's a high chance it to become the same as it was 2 or 3 times before. so, did anyone face this connection before and could possibly help me out? now i'm using resetIP.bat which is: - Code:
-
ipconfig /release netsh int ip set address "local area connection" static 192.168.137.1 255.255.255.0 192.168.0.254 1 netsh int ip set address "local area connection 2" dhcp ipconfig /renew exit this is the faster way to restart my connection and SOMETIMES get new IP, but it doesn't work on BC. When i run BC with this *.bat it creates pupils only when it first started. then BC only runs resetIP.bat and doesn't create new pupils automatically even if the ip changes. so i must create my pupils manually by clicking resetIP.bat and restarting BC client. THAT REALLY SUCKS!!! So, if anyone can help me or suggest a sollution - YOU ARE WELCOME! Post here, or PM me ASAP. Thanks for your time! | |
|
| |
Stsin * * * * * * * * *
Posts : 889 Join date : 2009-07-18
| Subject: Re: Creating a reconnect.bat file Wed 28 Oct 2009, 12:22 | |
| - fake wrote:
- ...
so, did anyone face this connection before and could possibly help me out? now i'm using resetIP.bat which is:
- Code:
-
ipconfig /release netsh int ip set address "local area connection" static 192.168.137.1 255.255.255.0 192.168.0.254 1 netsh int ip set address "local area connection 2" dhcp ipconfig /renew exit You are changing different connections. One is "local area connection", while the other is "local area connection 2". Setting the same connection that you are actually using to static and back to DHCP should force it to get a new IP. Also the ipconfig /renew may be redundant since setting back to DHCP will get a new address. Can try without. Some people also add a delay in between, by pinging or running an executable that pauses, like one listed in that Reset IP thread..forgot name. - Quote :
- this is the faster way to restart my connection and SOMETIMES get new IP, but it doesn't work on BC. When i run BC with this *.bat it creates pupils only when it first started. then BC only runs resetIP.bat and doesn't create new pupils automatically even if the ip changes. so i must create my pupils manually by clicking resetIP.bat and restarting BC client.
Does BC give any error? If so, what is it? If not, may want to try setting the delay longer in config.xml btw, the reason why it seems to sometimes work, is because of the ipconfig /renew. But like already said, you need to properly set it to static and back to dhcp to force an IP change. If this helps, feel free to give some pupils to http://stsin-vi.mybrute.com/cellule | |
|
| |
fake * * *
Posts : 23 Join date : 2009-10-23
| Subject: Re: Creating a reconnect.bat file Wed 28 Oct 2009, 13:11 | |
| seems things are getting better.. but tell me one more thing: why am i getting pupils only the first time i run BC? then only resetip.bat runs and no more pupils until i restart BC. btw i set delay 60s is this crap fixable? or i should do it manually over and over again? | |
|
| |
davidloko210 * * * * * * * * *
Posts : 523 Join date : 2009-09-23 Location : España
| Subject: zyxel660.bat Thu 29 Oct 2009, 06:53 | |
| I leave it. zyxel660 bat the case someone needs it
STEPS FOR THE .BAT
1º open notepad.
2ºand write this : rem Comprobado para Zyxel 660HW-61 y Zyxel 660R-61
wscript zyxel660.js
3ºsave the file with this name :zyxel660.bat
STEPS FOR THE .JS
1ºopen a notepad
2ºand write this: // Configuración
URL_REBOTAR="http://192.168.1.1/Forms/DiagADSL_1"; // Completar la URL de desconección ContentTypeREBOTAR="application/x-www-form-urlencoded"; ContentLengthREBOTAR="98"; POSTDATAREBOTAR="LineInfoDisplay=Start+to+reset+ADSL%0D%0ALoading+ADSL+modem+F%2FW...&DiagResetADSL=Reset+ADSL+Line";
admin="1234"; //Opcional, si el router pide login, completar los datos, sinó dejarlo como está pass="1234"; //Opcional, si el router pide login, completar los datos, sinó dejarlo como está
// Fin de la parte de configuración
var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
function send(URL_POST,CT,CL,CD) { HTTPREQUEST_SETCREDENTIALS_FOR_SERVER = 0; WinHttpReq.open( "POST", URL_POST , false ); if (admin!="modificarEsto" || pass!="modificarEsto") { WinHttpReq.SetCredentials( admin, pass, HTTPREQUEST_SETCREDENTIALS_FOR_SERVER); } WinHttpReq.SetRequestHeader("Content-Type", CT); WinHttpReq.SetRequestHeader("Content-Length", CL); WinHttpReq.send(CD);
};
function REBOTAR() { send(URL_REBOTAR,ContentTypeREBOTAR,ContentLengthREBOTAR,POSTDATAREBOTAR) };
3º then save the file with zyxel660.js
Greetings | |
|
| |
Gavy™ * * * * * * * * * *
Posts : 1133 Join date : 2009-08-05 Location : Thousand Islands
| Subject: WIRELESS BROADBAND Thu 29 Oct 2009, 10:42 | |
| anyone knows how to change IP when you are in a wireless broadband? | |
|
| |
Eumigen VIP
Posts : 487 Join date : 2009-09-25 Location : somewhere in Germany
| Subject: Re: Creating a reconnect.bat file Fri 30 Oct 2009, 11:56 | |
| - gaviel wrote:
- anyone knows how to change IP when you are in a wireless broadband?
I'm inteested in this topic too, anybody here who knows how we could this running? greetz Eumigen | |
|
| |
Gavy™ * * * * * * * * * *
Posts : 1133 Join date : 2009-08-05 Location : Thousand Islands
| Subject: Re: Creating a reconnect.bat file Mon 02 Nov 2009, 11:32 | |
| anyone knows a reconnect tool for RDS ? it has no router. My friend told me its Optic Fiber | |
|
| |
alex0113 * * * * * * *
Posts : 239 Join date : 2009-08-25 Age : 30 Location : Romania
| Subject: Re: Creating a reconnect.bat file Mon 02 Nov 2009, 22:18 | |
| - gaviel wrote:
- anyone knows a reconnect tool for RDS ? it has no router. My friend told me its Optic Fiber
u mean this rds http://mybrute.forumhit.ro/coduri-si-scripturi-f17/rds-reconectbat-t23.htm ??? who is that friend? he's romanian no? | |
|
| |
Gavy™ * * * * * * * * * *
Posts : 1133 Join date : 2009-08-05 Location : Thousand Islands
| Subject: Re: Creating a reconnect.bat file Tue 03 Nov 2009, 10:37 | |
| yup.. he's romanian .. | |
|
| |
kenichiro * * * * * * * *
Posts : 431 Join date : 2009-05-23
| Subject: Re: Creating a reconnect.bat file Wed 04 Nov 2009, 21:31 | |
| - Eumigen wrote:
- gaviel wrote:
- anyone knows how to change IP when you are in a wireless broadband?
I'm inteested in this topic too, anybody here who knows how we could this running?
greetz Eumigen I have two wireless modems and I macspoof to change IPs. It's different with every ISP. I had another wireless modem that didn't work with macshift or anything else I tried. | |
|
| |
mpadosouza * * * * * *
Posts : 133 Join date : 2009-09-18
| Subject: Sagem router reconnect? Wed 11 Nov 2009, 12:00 | |
| Hi there people :)
Does anyone here has a Sagem router and knows the commands to reconnect it? I've searched a lot on the web and I can't find it...
Model: Sagem Fast 1201 v2
thanks all! | |
|
| |
Feno * * * *
Posts : 48 Join date : 2009-05-23 Age : 33 Location : Argentina
| Subject: Help Please {reconnect} Thu 19 Nov 2009, 17:58 | |
| I am trying to run a .js to change my ip but I have an alert message - Code:
-
DisConnect="http://192.168.1.1/Action?ex_param1=10000&id=62&cmdStop=Stop"; Connect="http://192.168.1.1/Action?ex_param1=10000&id=61&loopstart=1&cmdStart=Start"; admin="root"; pass="root"; var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1") ; function send(URL_GET) { HTTPREQUEST_SETCREDENTIALS_FOR_SERVER = 0; WinHttpReq.open( "GET",URL_GET, false ); if (admin!="asd" || pass!="asd") { WinHttpReq.SetCredentials(admin,pass, HTTPREQUEST_SETCREDENTIALS_FOR_SERVER); } WinHttpReq.send( ); }; send(DisConnect); WScript.Sleep(3000); send(Connect); WScript.Sleep(1000); send(Connect); WScript.Sleep(1000);
Any ideas? Thx :) EDIT! Working fine now! | |
|
| |
YaniS * * * * * *
Posts : 105 Join date : 2009-11-22 Age : 39 Location : Romania
| Subject: Re: Creating a reconnect.bat file Thu 03 Dec 2009, 14:12 | |
| for me it´s not working script for .bat file...i don´t know what can i write on the path to disable or enable : - Code:
-
@echo echo %time% wget.exe --delete-after http://login:password@router IP/path to disable ping 127.0.0.1 -n 1 > NUL wget.exe --delete-after http://login:password@router IP/path to enable ping 127.0.0.1 -n 18 > NUL my router is a Comtrend CT-5611...i didn´t find any specifications about how can I make a reconnect.bat for this type of router ! If somebody knows how can i make it please answer me ! Thx in advance ! | |
|
| |
Sponsored content
| Subject: Re: Creating a reconnect.bat file | |
| |
|
| |
| Creating a reconnect.bat file | |
|