Submitted by medo_gen on Mon, 23/05/2005 - 04:54.
( categories: )

i wanna 2 change the date and time on router, how can i do that by using telnet commands??? also i need some help about using telnet command?


it depends on u router OIS, c

it depends on u router OIS, check the manual,, telnet isn't the excelent choice when u use Linux box 2 connect other devices like routers, Linux&Unix servers, cuase every thing throght it is plain text. there isn't much 2 learn about telnet itself, just h 2 connect, login , logout, disconnect,,etc..

Life maker Group ( Port Said )

hwclock

MSameer's picture

Grrr. Opera crashed after I composed the reply.

AFAIK 500t is running Linux ?

I usually use hwclock(1) on my GNU/Linux box to query/set the time/date.

you:

telnet 10.1.1.1 "your router IP"

Enter your usernet and password.

A telnet session is no more than a shell running on the other box.

There's a probability that you'll find many GNU/Linux basic commands there. but I can't be sure since this is an embedded device.

Try yourself and see.


-- I was known as Uniball!
WWW: The place for organized randoms!
Quote "c u next life time then when i come back as a mug of tea :P"

docs

Pronco's picture

read your router docs

AFAIK for the time run "date"


I used to be indecisive .. but now I'm not so sure

if it was linux

Conceptor's picture

runing date will display the time only.

to set it

date -s 20050523hhmmss
  1. e.g date -s 10:10

this will be on the fly .

if you want to set the hardware clock to read your current date/time value and write permanent run

clock -w

Diaa Radwan

my router is D-link t-500, an

my router is D-link t-500, and it has poor documentation i kill software to find how can i chang time and date, no result my router software verssion is "BusyBox v0.61.pre (2004.03.10-03:58+0000) Built-in shell (ash)" i used telnet 2 access the software, but i can't find a sutable commands to resolve this proplem. but i found the following command "times" i try 2 use it, and the result is "0m#". and i realy don't know unix command, so i realy need help. ahmed

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.