#1
|
|||
|
|||
Netgear DGN2200 Reconnect Script
See attached - just copy & paste - enjoy
|
#2
|
|||
|
|||
It doesn't work for me. Anyone has other reconnection script for dgn2200?
|
#3
|
|||
|
|||
quidam, try this one and don't forget to provide jD with correct user, password and router's IP (192.168.0.1 if you didn't change it).
Code:
see the code below You can try also built-in Reconnect Recorder, but I hope the above code will work. Regards. Last edited by UnofficialSupport; 26.12.2010 at 21:45. |
#4
|
|||
|
|||
Thanks for the above - it works. I was previously using pretty ugly script form the recorder which took around 1:30-2:00 minutes to reconnect. This one does it in ~50 sec.
I noticed one thing with this script. I have ping requests running in the background and while IP is changed by JD there's no ping for only around 20 seconds but the reconnection process in JD is still running for a while. Is this normal behavior or maybe there's way to even fasten the IP change? Screenshot: Thank you, nevertheless. Merry Christmas. Last edited by quidam; 26.12.2010 at 16:23. |
#5
|
|||
|
|||
Quote:
But, never mind, because the reconnect recorder adds a lot of irrelevant commands into script. I removed them and got script that reconnects dgn2200 in 12 seconds. Copy and paste this into reconnect settings: Code:
[[[HSRC]]] [[[STEP]]] [[[REQUEST]]] POST /st_poa.cgi HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% ConMethod=Disconnect [[[/REQUEST]]] [[[/STEP]]] [[[STEP]]] [[[REQUEST]]] POST /st_poa.cgi HTTP/1.1 Host: %%%routerip%%% Authorization: Basic %%%basicauth%%% ConMethod=++Connect++ [[[/REQUEST]]] [[[/STEP]]] [[[/HSRC]]] I don't think you'll get a script that will reconnect your connection any faster using jD commands and 'disconnect/connect' way of reconnection. But if you still get 50 seconds: 1) restart your jD after adding the code 2) restart your router 3) restart your computer if still you don't get any better 4) reinstall jD if still you don't get any better and seriously want this to work as it should 5) restore default dgn2200 settings Give some feedback on whether it helped. |
#6
|
|||
|
|||
Yep, I omitted other steps feeling this could be the issue and in fact - after fresh installation first script you've provided reconnects in 17s, and the second one in 14. Awesome!
Thank you once again! |
#7
|
|||
|
|||
Another way
Hi all, I was trying to make the script working but w/o success, so I configured JD to reconnect using and external batch with a telnet connection.
The router have not the telnet port enabled but we can open it using telnetEnable (google it). To send commands on telnet, I used TST10 (as before, google it). To avoid strange connection loss I also added a batch into the scheduled activities in windows. Here's some code: Reboot script for tst10 (file reboot.txt). Use the IP of your router! Quote:
Quote:
Quote:
Paolo Last edited by galgoog; 28.03.2011 at 21:08. |
#8
|
|||
|
|||
Both scripts works fast for me!
using it on NETGEAR Router DGN2200v2 (with ADSL).
thanks. |
#9
|
|||
|
|||
I have a Neatgear N300 DGN2200Bv3 and I have also written a script that can either get IP or Reconnect and get IP, it's a Python 3.2 script that also beeps when IP successfully changes (under Windows platform only).
I attached the file (in a .zip archive) and here is the link to the blog entry (I dump such things as scripts occasionally at an blog) with the script, I don't know if links are only visible to admins/mods: **External links are only visible to Support Staff****External links are only visible to Support Staff** The script is invoked by typing: Code:
n300_dgn2200_reconnect.py --login admin --password YOURPASSWORD --gui-address **External links are only visible to Support Staff** Code:
n300_dgn2200_reconnect.py --reconnect --login admin --password YOUPASSWORD --gui-address **External links are only visible to Support Staff** Last edited by jc_denton; 24.08.2012 at 16:27. |
#10
|
|||
|
|||
Hat jemand einen Reconnect script für NETGEAR
NETGEAR N300 Wireless ADSL2+ Modem Router DGN2200Bv4. Die bisherigen Scripte laufen nicht, es sei denn, etwas bedarf hierbei besonderer Beachtung. Befab +++ Last edited by Befab; 10.10.2013 at 21:43. |
#11
|
|||
|
|||
For me it worked like this
After downloading Netgeartool telnetenable.exe: go to command prompt (start-cmd-enter ) type "telnetenable.exe 192.168.239.1 04A151D314B3 Gearguy Geardog" (you need to use your IP)(then Comes the mac-address, you need to use yours) go to command prompt (start-cmd-enter ) type Telnet 192.168.239.1 (your IP of course) type "adsl connection --down" (this disconnect your ADSL Connection) type "adsl connection --up" (this reconnect your ADSL Connection within 30-90 seconds) now you have a new IP and you can creat a batch file & combine it with TST10 I have no clue why it take sometimes 30 seconds and sometimes 60 or 90 seconds to be re-connected Version: DGN2200Bv4 - Firmwareversion V1.0.0.20_5.0.20 Thanks to all in here - you helped me a lot to get a new IP for 8 WAR-PCs at once. I'm fighting in social networks for animal rights and you helped me fighting. Last edited by kaapo13; 11.09.2014 at 19:39. |
Thread Tools | |
Display Modes | |
|
|