#1
|
|||
|
|||
[How to] UPNP reconnect scripts
If your modem/router has support to UPNP reconnect, it's easy to create a reconnect script.
Test it running the .class file in attachment, and post the result when you ask for help for a script to reconnect. Linux: run the file run_linux.sh Windows: run the file run_windows.bat Last edited by fcpt; 11.12.2011 at 15:33. |
#2
|
|||
|
|||
Thanks for your contribution!
|
#3
|
|||
|
|||
Hi,
I'm running windows 7 x64, with a Meo Thomson TG787. When I run run_windows.bat, the prompt indicates a TIMEOUT error... Any ideias? Thanks. |
#4
|
|||
|
|||
You have to allow upnp net framework (network discovery) through the system, on windows xp has to be enabled through firewall. Note that the upnp reconnection will not work with all of the routers. If thats the case then create your own reconnection script with JDownloaders recorder.
For Windows xp instructions visit here Windows vista Quote:
Quote:
Last edited by Freeloader; 09.12.2011 at 17:24. |
#5
|
|||
|
|||
Quote:
Quote:
- Check if the router upnp is enabled. - If it still doesn't work, temporarily disable any firewall you have running. Image(not mine) that should help you enable upnp: Good luck. |
#6
|
|||
|
|||
I'll look into the firewall and see if it's the origin of my situation.
Thanks Obrigado. |
#7
|
|||
|
|||
so your saying it will give access to the the upnp framework through windows firewall automatically on windows systems ? On windows xp this can only be done manually. Isn't your tool similar to the router reconnect.exe on JD wiki? or is it more advanced? routerreconnect.exe doesnt work if upnp isnt enabled thouh system firewall. That's why I ask.
I thought enabling the discovery on windows 7 and windows vista meant giving access to it through firewall too? Anyway on windows 7 and vista I think u have to disable the firewall and if your on windows xp you can enable the upnp framework. On windows xp systems theres no upnp enable feature its on by default and needs access through firewall. What I mean is this? Last edited by Freeloader; 09.12.2011 at 23:24. |
#8
|
|||
|
|||
Still no luck.
Tried with firewall off an this is the outcome: Quote:
|
#9
|
|||
|
|||
then use the recorder and create your own script if you cant figure it out then contact Jsupport chat. The upnp will only cover up %2 of the reconnection problems. Its still a nice tool to have because if u get it to work you can get a new IP within 10 secs. But this can also be done with scripts too.
|
#10
|
|||
|
|||
I didn't understood, I thought you were referring to the SSDP Discovery Service.
But enabling the "UPnP Framework" can be included. I will add to the file run_windows.bat the command Code:
netsh firewall set service type=upnp mode=enable |
#11
|
|||
|
|||
nice job. I will test this with users when I have time. Will also add it on the wiki if you don't mind? Just tested the command, works just fine
|
#12
|
|||
|
|||
command workes but when I tested it with the bat file it gave me a timout after enabling upnp. Normally upnp reconnection will not work with my router anyway so I was wondering if this behavior is normal? If this is a normal behavior it would be nice if you can add a warning system ex: "Sorry but it might be that your router is not supported or you haven't enabled upnp through your firewall"
|
#13
|
|||
|
|||
nice
|
#14
|
|||
|
|||
I want to file (new_UPNP_test.zip)
Error.... help me |
#15
|
||||
|
||||
JDownloader has working UPNP reconnect in Settings-Reconnect, select UPNP
__________________
JD-Dev & Server-Admin |
#16
|
|||
|
|||
I want to file (new_UPNP_test.zip) too
|
#17
|
|||
|
|||
new_UPNP_test.zip
|
Thread Tools | |
Display Modes | |
|
|