Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#170094 - 11/07/2003 10:12 set clock during emplode sync
djc
enthusiast

Registered: 08/08/2000
Posts: 351
Loc: chicago
i'd really like it if the emplode synchronize process would also set the empeg's clock. i find that the clock drifts a fair bit, and it would be very handy to have it brought back in line automatically during a sync.

--dan.

Top
#170095 - 11/07/2003 10:18 Re: set clock during emplode sync [Re: djc]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Nice touch! I like that...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#170096 - 11/07/2003 11:53 Re: set clock during emplode sync [Re: pgrzelak]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
Or perhaps an opportunistic nntp daemon that looks for a time server whenever ethernet is active? Just a thought. I like the core concept of auto-setting the time without user input.

-Zeke
_________________________
WWFSMD?

Top
#170097 - 11/07/2003 12:48 Re: set clock during emplode sync [Re: Ezekiel]
djc
enthusiast

Registered: 08/08/2000
Posts: 351
Loc: chicago
sure, that would work, too.

i suspect you mean NTP, though, as i certainly don't want to turn my empeg into a usenet hub.

--dan.

Top
#170098 - 11/07/2003 13:12 Re: set clock during emplode sync [Re: djc]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
Yes, of course. How silly of me.
-Zeke
_________________________
WWFSMD?

Top
#170099 - 11/07/2003 13:15 Re: set clock during emplode sync [Re: djc]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
as i certainly don't want to turn my empeg into a usenet hub.

Ah, but consider the joy of reading alt.sysadmin.recovery on your empeg while stuck in traffic. Or have the alt.binaries.pictures.* groups autodecoded and used in the Image Pan visual...

/Michael
_________________________
/Michael

Top
#170100 - 14/07/2003 08:40 Re: set clock during emplode sync [Re: djc]
CrackersMcCheese
pooh-bah

Registered: 14/01/2002
Posts: 2489
Hmmm... I thought it was supposed to! I've been getting frustrated that mine never did. Now I know why!

Where did I read that it did sync the time? Weird. Maybe it was in a dream!

Top
#170101 - 14/07/2003 14:36 Re: set clock during emplode sync [Re: djc]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I stole this idea and recommended it on the Pearl beta list, which will share a codebase with the next Empeg releases .... we'll see where it goes.

Top
#170102 - 14/07/2003 15:24 Re: set clock during emplode sync [Re: mschrag]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Hopefully into the code tree for the player! That is something I always wanted.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#170103 - 14/07/2003 15:46 Re: set clock during emplode sync [Re: pgrzelak]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Hopefully into the code tree for the player!

Er. When we say "shared codebase", we don't mean that every product runs the same binary.

A huge amount of code is shared between the products, but a fair amount isn't. Most of it's turned on or off by preprocessor #defines.

I guess that what I'm saying is this: The fact that Pearl supports a particular feature doesn't automatically mean that the car player will support it.

In the interim, you could just use my scripts, from here. You'll need base.tar.gz and configs.tar.gz. You'll need to edit the contents of configs.tar.gz before you can use them. Copy the .tar.gz files into /drive0, and then extract them into the root with:

# cd /
# rw ; rwm
# tar xvfz drive0/base.tar.gz
# tar xvfz drive0/configs.tar.gz
# ro ; rom ; exit

One of the configuration scripts runs ntpdate when you drop to a shell prompt. I find that it keeps my clock vaguely correct to do this periodically. You could probably wire it up to the Hijack menu or something.

It also replaces the 'rwm' script with one that passes -o nocheck to 'mount', making it faster.
_________________________
-- roger

Top
#170104 - 14/07/2003 15:50 Re: set clock during emplode sync [Re: Roger]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Cool! Thanks! Oh, I have already replaced the rwm script - waiting for an rwm (unmodified) to finish on 80GB drives is brutal!
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#170105 - 14/07/2003 19:55 Re: set clock during emplode sync [Re: Roger]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
You could probably wire it up to the Hijack menu or something.


Yeah, I have ntpdate running out of preinit (in AC mode only). I'm sure it'd run fine from hijacks @EXEC config.ini feature too, I just haven't gotten around to migrating that yet.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top