Posted: Thu Jul 29, 2021 12:23 Post subject: [SOLVED] Asus RT-N12_D1 r33215M mega NTP issue
Hi, I have installed dd-wrt v3.0-r33215M mega (08/25/17) on this AP (Asus RT-N12_D1), but time setting/NTP client is not working. I tried set time manually by Commands, command: date 072921182021, but Apply its show this viz.image.
Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Thu Jul 29, 2021 14:43 Post subject:
Some configuration details might help. We have no idea what specific mode(s) you have configured on this device. Is it set up as a wireless client, wireless client bridge, repeater, repeater bridge, or standard gateway mode? It would also be a good idea to upgrade at some point. That is an old, pre-KRACK fix build; also pre-Fragattack fix. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 26 Mar 2013 Posts: 1855 Location: Hung Hom, Hong Kong
Posted: Thu Jul 29, 2021 15:38 Post subject: Re: Asus RT-N12_D1 r33215M mega NTP issue
davidasis wrote:
Hi, I have installed dd-wrt v3.0-r33215M mega (08/25/17) on this AP (Asus RT-N12_D1), but time setting/NTP client is not working. I tried set time manually by Commands, command: date 072921182021, but Apply its show this viz.image.
That error screen looked like as if the WEBUI had crashed....
When you typed that 'date 07291182021' into the textbox, did you have an extra new line at the end?
Do you have recursive DNS enabled?
Did you enter a time server by DNS name?
I got the following error when trying your command:
Code:
date: invalid date '07291182021'
Please type 'date --help' to learn about the proper syntax.
BTW, my router's WEBUI also crashed when I was about to test your command-line ...
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Hi,
mode is wifi AP, WAN enabled, Operating Mode is gateway,
I tried new commnad, this: 'date 07291182021' its same and wrote sh: eval: line 1: date 07291182021: not found.
With command date: invalid date '07291182021' is same and wrote sh: eval: line 1: date:: not found.
But I did not have set correctly Network Setup in Setup/Basic setup. After Apply I have now time automatically from NTP Client. But these commands still not working.
Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Thu Jul 29, 2021 17:06 Post subject:
Again, that build is old and has issues; most likely especially with the commands input box via the webUI. You should always test such commands via telnet / ssh. And again, please consider upgrading; flash and report in the appropriate build thread; do not use the router database for "latest release" information, look in the Broadcom forum for build release threads. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
The wiki states to use the generic dd-wrt.v24-XXXXX_NEWD-2_K3.x_mega.bin file for upgrades, as evidenced in the report in the thread linked above. Please flash and report so that others can see your post. Unfortunately, we don't constantly update recommended build information on every device; it is up to the user to figure this out. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 26 Mar 2013 Posts: 1855 Location: Hung Hom, Hong Kong
Posted: Fri Jul 30, 2021 11:56 Post subject:
davidasis wrote:
Hi,
mode is wifi AP, WAN enabled, Operating Mode is gateway,
I tried new commnad, this: 'date 07291182021' its same and wrote sh: eval: line 1: date 07291182021: not found.
With command date: invalid date '07291182021' is same and wrote sh: eval: line 1: date:: not found..... But these commands still not working.
Code:
date --help
Usage: date [OPTIONS] [+FMT] [[-s] TIME]
Display time (using +FMT), or set time
-u Work in UTC (don't convert to local time)
[-s] TIME Set time to TIME
-d TIME Display TIME, not 'now'
-D FMT FMT (strptime format) for -s/-d TIME conversion
-r FILE Display last modification time of FILE
-R Output RFC-2822 date
-I[SPEC] Output ISO-8601 date
SPEC=date (default), hours, minutes, seconds or ns
Recognized TIME formats:
@seconds_since_1970
hh:mm[:ss]
[YYYY.]MM.DD-hh:mm[:ss]
YYYY-MM-DD hh:mm[:ss]
[[[[[YY]YY]MM]DD]hh]mm[.ss]
You should use "-s" to set time, I believe. And I'm not sure whether your time string was in correct format... no harm trying other formats.
What is your Setup -> Basic Setup -> Time Settings -> Server IP/Name? Is it Blank? Or did you input a non-reachable NTP server? If you are just not sure, leave it blank! Then reboot router to see whether it works.
Per kernel-panic69 said, you are using a really old build (33xxx). That build's date command might be different from the one I am using though unlikely.
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
kernel-panic69: thanks for links, but I have a other questions:
which specific file is for my device Asus RT-N12_D1 (because version D1 is not in the list of links)?
Can I upload this new version via the web interface (Administration/Firmware upgrade)?
Joined: 26 Mar 2013 Posts: 1855 Location: Hung Hom, Hong Kong
Posted: Fri Jul 30, 2021 13:20 Post subject:
davidasis wrote:
Hi,
mode is wifi AP, WAN enabled, Operating Mode is gateway,
I tried new commnad, this: 'date 07291182021' its same and wrote sh: eval: line 1: date 07291182021: not found.
With command date: invalid date '07291182021' is same and wrote sh: eval: line 1: date:: not found.
I found an old thread... its build is much more older than yours!