New Digital
26-05-2012 , 00:45 *
Olá, Visitante. Por favor Entre ou Registe-se se ainda não for membro.
Perdeu o seu e-mail de activação?

Entrar com nome de utilizador, password e duração da sessão
 
   Início   Ajuda Arcade Pesquisa Calendário Tags Contacte-nos Entrar Registe-se Chat  
Páginas: [1]
  Adicionar Votação  |  Imprimir  
Autor Tópico: Reiniciar Router THOMSON TG787 com um Click  (Lida 1618 vezes)
0 Membros e 1 Visitante estão a ver este tópico.
Share this topic on FacebookShare this topic on GoogleShare this topic on TwitterShare this topic on Google buzz
Playdiune
Administração
*****

Agradecimentos 26
Offline Offline

Sexo: Masculino
Mensagens: 16138



WWW
« em: 11-11-2010 , 12:48 »

Quantas vezes estão à espera horas para sacar um ficheiro no rapidshare só porque têm preguiça em reiniciar o router, bem agora já não é preciso, basta um duplo click num ficheiro para o mesmo reiniciar o router automaticamente.

Isto apenas foi testado neste router, mas funcionará em qualquer router que tenha CLI em que o mesmo tenha o comando de reiniciar.

Criamos um ficheiro com o nome reboot.vbs com o codigo abaixo, no qual mudamos o que está a negrito pelos dados do nosso router, (IP, Username,Password)

Código:
'FICHEIRO REBOOT.VBS
------------------------------------------------------------------
' Script desenvolvido e testado para router THOMSON TG787
' More Info:
' -----------------------------------------------------------------------------
Set oShell = CreateObject("WScript.Shell")
oShell.run "cmd.exe"
WScript.Sleep 500
oShell.SendKeys "telnet 192.168.1.1"
oShell.SendKeys ("{Enter}")
WScript.Sleep 1000
oShell.SendKeys "Administrator"
oShell.SendKeys ("{Enter}")
WScript.Sleep 500
oShell.SendKeys "password"
oShell.SendKeys ("{Enter}")
WScript.Sleep 500
oShell.SendKeys "system"
oShell.SendKeys ("{Enter}")
WScript.Sleep 500
oShell.SendKeys "reboot"
oShell.SendKeys ("{Enter}")
WScript.Sleep 500
oShell.SendKeys "% "
  • « Última modificação: 11-11-2010 , 12:49 por Playdiune »Share this topic on FacebookShare this topic on GoogleShare this topic on TwitterShare this topic on Google buzz
    Registado
    T-R3X
    Sénior
    ***

    Agradecimentos 15
    Offline Offline

    Mensagens: 244



    « Responder #1 em: 11-11-2010 , 13:09 »

    para a Zon nao se conhece nada???
    Share this topic on FacebookShare this topic on GoogleShare this topic on TwitterShare this topic on Google buzz Registado

    Tags:
    Páginas: [1]
      Adicionar Votação  |  Imprimir  
     
    Ir para:  


    Topicos Relacionados
    Assunto Iniciado por Respostas Visualizações Última mensagem
    MEO Restarter v2 - Reiniciar o Router MEO em Apenas 1s
    Notícias Digital Satélite
    Fisicalsharing 0 971 Última mensagem 12-03-2010 , 14:09
    por Fisicalsharing
    Reiniciar a Ligação do THOMSON TG787 em 2 seg (MEO)
    Manuais
    Playdiune 1 1135 Última mensagem 11-11-2010 , 13:07
    por T-R3X
    Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006-2009, Simple Machines Sitemap XHTML 1.0 válido! CSS válido!
    ^ TOPO
    ..:: Política de Privacidade ::.. ..:: Afiliados ::.. ..:: Increase Page Rank ::..