Newsgroup: it.comp.aiuto
Titolo: [OT] esperti di router Asus/script (N55) (Jdownloader)

Essendomi trovato molto bene con l'Asus N55U e dovendo prendere un 
altro router per un altro luogo, sono riandato sullo stesso modello.
Una funzione che apprezzavo molto era lo script di riconnessione per 
jdownloader che in meno di dieci secondi faceva tutto:
 
[[[HSRC]]]
[[[STEP]]]
[[[DEFINE routername="Asus*DSL-N55U"/]]]
[[[/STEP]]]
[[[STEP]]]
[[[REQUEST]]]
POST /start_apply2.htm HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
 
current_page=%2Findex.asp&next_page=%2Findex.asp&flag=Internet&action_mode=apply&action_script=restart_wan_if&action_wait=5
[[[/REQUEST]]]
[[[/STEP]]]
[[[/HSRC]]]
 
 
Con il nuovo modello non funziona e l'unico che sono riuscito a trovare 
è uno script che ci impiega oltre 2 minuti:
 
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/index2.asp HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /md5.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /state.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /popup.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /disk_functions.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /help.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /client_function.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /detect.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /jquery.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/ajax_status.asp HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/device-map/router.asp HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/query_wan_status2.asp?_=1413316928654 HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /help.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /popup.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /general.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /md5.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /state.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /detect.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /help_content.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/ajax_status.asp HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/query_wan_status2.asp?_=1413316930768 HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
POST /cgi-bin/reboot.asp HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
 
next_page=&current_page=&action_mode=apply&action_script=&action_wait=5&rebootFlag=1&restoreFlag=1
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/query_wan_status2.asp?_=1413316935286 HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /help_content.js HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/query_wan_status2.asp?_=1413316937862 HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/query_wan_status2.asp?_=1413316939928 HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/query_wan_status2.asp?_=1413316942001 HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[STEP]]]
[[[REQUEST]]]
GET /cgi-bin/index2.asp HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[/STEP]]]
 
[[[/HSRC]]]
 
 
Se c'è qualche scienziato degli script che legge, magari potrebbe 
spiegarmi perchè il vecchio script non funziona e se è possibile 
modificare quello nuovo.

 Se c'è qualche scienziato degli script che legge,
 
Ti segnalo il ng specializzato it.comp.reti.locali
 

edevils (
use_reply...@devils.com
) ha scritto...

ok :)