rdate

Posted by: leftyfb

rdate - 17/11/2002 22:30

I'm looking for a way to keep the date/time correct on the empeg seeing it likes to reset it back to 12:00am July 1 2000 every once in while for no reason I can figure out.

I guess a wishlist for (J)emplode/hijack/2.0 might be to sync the time with the pc and/or time server. But for now i'm trying to use the rdate binary found here. But it doesn't seem to be connecting and just sits there. Any ideas?
Posted by: tfabris

Re: rdate - 17/11/2002 23:17

seeing it likes to reset it back to 12:00am July 1 2000 every once in while for no reason I can figure out.

Please click here.
Posted by: butter

Re: rdate - 17/11/2002 23:40

the FAQ master strikes agian! do you mark peoples shirts with a "FAQ" with your sword when you come across them?
Posted by: tfabris

Re: rdate - 18/11/2002 01:23

ROFL
Posted by: BartDG

Re: rdate - 18/11/2002 04:29

It's possible you've got an Empeg of which the date/time function is faulty.
I've also encountered this : every time I pulled the power from my Empeg (even for one minute), the next time it booted the date and time was reset to 12:00am July 1 2000.

I contacted support and sent my player in for repairs. I ended up getting a completely new one because David also wasn't able to figure out what was wrong with it. He would've Hugo take a look at it, but he was out of the country at that time.

Player shipped and received back in the same week...impeccable service...
Posted by: leftyfb

Re: rdate - 18/11/2002 08:16

I had actually checked the FAQ and not sure it really aplies to me. The date only gets reset on random occasions. Not at every pullout from the dock/AC adapter and not every time I do a reboot through hijack or the web interface. Just randomly. Not that much of a big deal.
Posted by: mlord

Re: rdate - 20/08/2004 15:34

Does anyone have a working rdate binary for the Empeg/RioCar ?

I'd like one to add to my player as a Hijack menu extension ( ;@MENUEXEC )
Posted by: genixia

Re: rdate - 20/08/2004 15:38

I don't know about rdate, but one of Roger's tarballs contains ntpdate.
Posted by: alex25

Re: rdate - 25/08/2004 18:18

Mark,
have you found a working rdate binary? If not you can download one from my empeg at http://www.empeg.homelinux.com/rdate (It's version 1.4)
If you need some other arm/empeg binaries just ask.
Posted by: mlord

Re: rdate - 26/08/2004 03:44

Super, thanks.

I'm going to stick it onto my players, and add it to the Hijack menu so I can just run it manually whenever I feel like syncing the clock.

Eg. in config.ini:
Code:

[hijack]
;@MENUEXEC Fix_Date_and_Time exec /drive0/rdate -s myserver


Cheers
Posted by: mcomb

Re: rdate - 30/08/2004 22:31

Handy, but it doesn't work for me...

empeg:/# /drive0/bin/rdate -s 192.168.1.1
rdate: Name or service not known: 192.168.1.1


I do have a working rdate server on the local network at that IP (used by several other computers).

-Mike
Posted by: genixia

Re: rdate - 30/08/2004 22:37

You might need libresolv or one of the libnss* libraries. I know that ntpdate required a couple of those, but I can't remember which ones. They're in Roger's base tarball.
Posted by: mcomb

Re: rdate - 30/08/2004 22:45

Quote:
They're in Roger's base tarball.

Yeah, that did the trick. I'm not sure exactly what is required as I just added the whole tarball.

Thanks,
-Mike
Posted by: eliceo

Re: rdate - 31/08/2004 13:10

I had the same problem, but untarring base.tar.gz in the / of the empeg didn't seem to allow rdate to run. Where did you untar it to get it to work? I finally gave up and got ntpdate to work.
Posted by: Roger

Re: rdate - 31/08/2004 13:15

Quote:
I had the same problem, but untarring base.tar.gz in the / of the empeg didn't seem to allow rdate to run. Where did you untar it to get it to work? I finally gave up and got ntpdate to work.


You might also need to edit the content of /etc/resolv.conf. Other than that, untaring it into / is the right thing to do.
Posted by: mcomb

Re: rdate - 31/08/2004 17:05

Quote:
Other than that, untaring it into / is the right thing to do.

Yep, thats all I did and it worked for me. I didn't have to edit any of the config files.

-Mike