Broadband Related > Broadband Hardware
VMG1312-B10A Question
banger:
There does not seem to be a way to set system time on this router when in bridge mode. Is there a way to get into the root shell and issue date command that way as ntp cannot connect in bridge mode?
banger:
After searching the site I found http://forum.kitz.co.uk/index.php/topic,19186.0.html and it has the very useful supervisor password so I have written a script to update time/date from the supervisor shell. Should have just searched the site in the first place.
Took me a while to work out the time and date format to set it.
kitzuser87430:
--- Quote ---Took me a while to work out the time and date format to set it.
--- End quote ---
Any chance of a little more info please ;D
banger:
--- Code: ---set oShell = CreateObject("WScript.Shell")
oShell.run("Telnet")
WScript.Sleep 1000
oShell.SendKeys("Open 192.168.2.10 ")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys"supervisor"
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("zyad1234")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("sh")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("date 201707112332")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("exit")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("quit")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("quit")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
--- End code ---
Above is a script to set the date and time on a Win 10 machine if you can follow scripts you know what it does. Time format is in yyyymmddhhmmss. I contacted ZyXEL support and they asked me why I needed the time to be correct in bridge mode. Haha, I suppose they are right only thing is log entries are incorrect time.
Any more info give me a yell?
GigabitEthernet:
Not to be rude but do we really need a new thread for each issue you have? Can't you keep it all in one thread?
Navigation
[0] Message Index
[#] Next page
Go to full version