Anyway to manually set the time?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
Flak
Posts: 30
Joined: Wed Jan 05, 2011 2:21 am

Anyway to manually set the time?

Post by Flak »

I have a TP-Link 1043, there is nothing hooked up to the WAN port as it's just primarily used as a wireless AP. The date and time are way off, and I'm assuming since the modem isn't connected via WAN it is not going out to time servers to correct itself. Is there anyway to correct the date and time manually?

T_F
Posts: 2
Joined: Wed Aug 24, 2011 5:31 pm
Location: Poland

Re: Anyway to manually set the time?

Post by T_F »

This is not the answer to your question, but I think that it might help:

I also have a 1043, working as an AP + switch. My /etc/config/network file looks like that:

Code: Select all

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'interface' 'lan'
        option 'ifname' 'eth0'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'netmask' '255.255.255.0'
        option 'ipaddr' '192.168.1.2'
        option 'gateway' '192.168.1.1'
        option 'dns' '8.8.8.8'

config 'switch'
        option 'name' 'rtl8366rb'
        option 'reset' '0'
        option 'enable_vlan' '0'
(Of course you probably have to addjust the ipaddr, netmask, gateway and dns options. Also reboot is necessary)

The time is automatically synchronized and the WAN port is working as an extra LAN port (whole switch is working as LAN, it is not divided into VLANs).

Flak
Posts: 30
Joined: Wed Jan 05, 2011 2:21 am

Re: Anyway to manually set the time?

Post by Flak »

Just wanted to say that updating to 1.4.1 the time on the router is now magically correct....

Post Reply