hard code time?

Discussion in 'Tomato Firmware' started by headstrong, May 2, 2007.

  1. headstrong

    headstrong LI Guru Member


    How can I manually set the time in my wrt54gl running tomato firmware?

  2. tievolu

    tievolu Network Guru Member

    You could telnet into it and use the "date" command:

    BusyBox v1.2.2 (2007.03.18-15:05+0000) multi-call binary
    Usage: date [OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]
    Displays the current time in the given FORMAT, or sets the system date.
            -R              Outputs RFC-822 compliant date string
            -d STRING       Displays time described by STRING, not `now'
            -I[TIMESPEC]    Outputs an ISO-8601 compliant date/time string
                            TIMESPEC=`date' (or missing) for date only,
                            `hours', `minutes', or `seconds' for date and,
                            time to the indicated precision
            -D hint         Use 'hint' as date format, via strptime()
            -s              Sets time described by STRING
            -r FILE         Displays the last modification time of FILE
            -u              Prints or sets Coordinated Universal Time
  3. headstrong

    headstrong LI Guru Member

    Ok great thanks for that

    I changed date in telnet but under // basic>time it still says that the router time is unavailable???
  4. GhaladReam

    GhaladReam Network Guru Member

    I find that the default servers listed on the Time page of Tomato don't work properly. I changed them and now tomato gets the proper time once an hour :)
  5. headstrong

    headstrong LI Guru Member

    GhaladReam, what are those servers? thanks
  6. tievolu

    tievolu Network Guru Member

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice