Welcome, Guest. Please login or register.

Author Topic: Genesis clocksync/daylight server  (Read 1812 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigazTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2004
  • Posts: 1959
  • Country: se
  • Gender: Male
    • Show only replies by Amigaz
Genesis clocksync/daylight server
« on: August 18, 2006, 07:05:52 PM »
Have tried a big bunch of ntp timesync servers with Genesis but none has worked.
Anyone know a site which hosts a list of working servers or a server here in Europe that works with Genesis?
My coin battery in my A4000 is kaputt and I'm too lazy to dismantle my whole tower to replace so the Genesis solution would be sweet  :-D
Have tried Facts from Aminet but Genesis is too slow to startup from WBStartup so Facts crashes because it needs a running TCP/IP stack
-------------------------------------------------------------------
Amiga 4000T - A3640 '040
Amiga 4000 - CS MKIII
Amiga 1200 - Blizzard 1230 MKIV
Amiga 1200 - Stock
Amiga CD32 - TF360
A bunch of ol' A500's
 

Offline patrik

Re: Genesis clocksync/daylight server
« Reply #1 on: August 18, 2006, 09:14:05 PM »
You can start genesis from your S:User-Startup - just put two rows: "Run <>NIL: AmiTCP:GenesisSomething...." and then "WaitForPort AMITCP". You also have to set some options in Genesis first to autoonline the interface you use and not to popup the GUI.

You can also in the Genesis preferences set to execute stuff when it goes online - for example Facts. Facts doesn't seem like a very good program though, as it crashes with no TCP/IP-stack available.


/Patrik
 

Offline golem

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 432
    • Show only replies by golem
Re: Genesis clocksync/daylight server
« Reply #2 on: August 18, 2006, 10:30:18 PM »
Sorry to jump on your thread AMIGAZ but I would also like to know if anyone knows a working daylight time server for Genesis in Europe as I have tried a few times to get it working with those listed on many sites on the net.

/Tim
                                                             
A1200 desktop, Blizzard 1260, OS3.9BB2, Indivision Mk II, SCSI Jaz, Ethernet
A1200 desktop, Blizzard 1230, OS3.1, Ethernet
A500, OS1.3
 

Offline lmclouth

  • Newbie
  • *
  • Join Date: Dec 2003
  • Posts: 7
    • Show only replies by lmclouth
Re: Genesis clocksync/daylight server
« Reply #3 on: August 19, 2006, 12:08:18 AM »
I use NTPSYNC from Aminet.  When I connect to the internet, I have this small script automatically run:

*********************************

IF "$TIMEZONE" EQ "-0400"
  set flag "-d-240"
ELSE
  set flag " "
ENDIF

ntpsync -c $flag time-b.nist.gov

unset flag

*********************************

It gets the current time and adjusts for my timezone and possible DST.  I am also running SetDST which takes care of the Daylight Savings Time part.  I don't remember for sure, but I believe SetDST creates the TIMEZONE environment variable.

Anyway, to answer your main question, time-b.nist.gov is a working time server.

Lamar
 

Offline AmigazTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2004
  • Posts: 1959
  • Country: se
  • Gender: Male
    • Show only replies by Amigaz
Re: Genesis clocksync/daylight server
« Reply #4 on: August 20, 2006, 12:58:59 PM »
Quote

patrik wrote:
You can start genesis from your S:User-Startup - just put two rows: "Run <>NIL: AmiTCP:GenesisSomething...." and then "WaitForPort AMITCP". You also have to set some options in Genesis first to autoonline the interface you use and not to popup the GUI.

You can also in the Genesis preferences set to execute stuff when it goes online - for example Facts. Facts doesn't seem like a very good program though, as it crashes with no TCP/IP-stack available.


/Patrik


Thanks Patrik, you saved my day once again  :-)
Now I can start Geneis(AmiTCP) quite early in my user-startup
Facts still crash though, have a seperate thread about it in a few secs

Edit: I was wrong, didn“t notice I was browsning cahed sites, lol
Have to work on my user-startup again :P
-------------------------------------------------------------------
Amiga 4000T - A3640 '040
Amiga 4000 - CS MKIII
Amiga 1200 - Blizzard 1230 MKIV
Amiga 1200 - Stock
Amiga CD32 - TF360
A bunch of ol' A500's
 

Offline patrik

Re: Genesis clocksync/daylight server
« Reply #5 on: August 20, 2006, 09:45:59 PM »
@AMIGAZ:
It has to be after the AmiTCP: assign etc, which the Genesis installer puts in the User-Startup :-D. Other that and the autoonline interface part, I don't know what can go wrong really.


/Patrik
 

Offline AmigazTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2004
  • Posts: 1959
  • Country: se
  • Gender: Male
    • Show only replies by Amigaz
Re: Genesis clocksync/daylight server
« Reply #6 on: August 20, 2006, 09:59:39 PM »
Quote

patrik wrote:
@AMIGAZ:
It has to be after the AmiTCP: assign etc, which the Genesis installer puts in the User-Startup :-D. Other that and the autoonline interface part, I don't know what can go wrong really.


/Patrik


Lol, anything can go wrong here...remember, I'm a boat engine mechanic  :lol:

Anyway, I had this in my user-startup (after the AMITcp assign)

Run <>NIL: Workbench:Internet/Genesis/Genesis
WaitForPort AMITCP
-------------------------------------------------------------------
Amiga 4000T - A3640 '040
Amiga 4000 - CS MKIII
Amiga 1200 - Blizzard 1230 MKIV
Amiga 1200 - Stock
Amiga CD32 - TF360
A bunch of ol' A500's
 

Offline Chain

  • Hero Member
  • *****
  • Join Date: Jun 2005
  • Posts: 1324
    • Show only replies by Chain
    • http://chain.3dgrafika.cz/aktivity
Re: Genesis clocksync/daylight server
« Reply #7 on: August 21, 2006, 03:51:11 PM »
Quote

AMIGAZ wrote:
Have tried a big bunch of ntp timesync servers with Genesis but none has worked.


im using 129.240.12.4 with genesis, works fine
too lazy to use shift key properly...
 

Offline AmigazTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2004
  • Posts: 1959
  • Country: se
  • Gender: Male
    • Show only replies by Amigaz
Re: Genesis clocksync/daylight server
« Reply #8 on: August 21, 2006, 05:15:17 PM »
Quote

Chain wrote:
Quote

AMIGAZ wrote:
Have tried a big bunch of ntp timesync servers with Genesis but none has worked.


im using 129.240.12.4 with genesis, works fine


Thanks, will try it since the WAIT command didn't work with my script.
Genesis still waits to start AmiTCP even though my script is an online event  :evil:
Only prob now...will I get Czech time with your recommended server?

 :lol:
-------------------------------------------------------------------
Amiga 4000T - A3640 '040
Amiga 4000 - CS MKIII
Amiga 1200 - Blizzard 1230 MKIV
Amiga 1200 - Stock
Amiga CD32 - TF360
A bunch of ol' A500's
 

Offline chris

Re: Genesis clocksync/daylight server
« Reply #9 on: August 21, 2006, 05:38:28 PM »
Try cz.pool.ntp.org or check out the lists at http://www.ntp.org

NTP servers all give out UTC time, so provided everything is configured correctly for your location, it shouldn't matter which server you use - although a local one is better.

I don't know whether you saw it in the other thread, but the crashing problem with Facts is not due to the TCP/IP stack being inactive, but a bug in Installer which (non-visibly) corrupts one of the tooltypes when it updates it.  If you blank them all out and restart/reconfigure Facts the crash should no longer occur.

Chris
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline AmigazTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2004
  • Posts: 1959
  • Country: se
  • Gender: Male
    • Show only replies by Amigaz
Re: Genesis clocksync/daylight server
« Reply #10 on: August 21, 2006, 10:00:18 PM »
@Chain

The server adress worked, thanks ;)
-------------------------------------------------------------------
Amiga 4000T - A3640 '040
Amiga 4000 - CS MKIII
Amiga 1200 - Blizzard 1230 MKIV
Amiga 1200 - Stock
Amiga CD32 - TF360
A bunch of ol' A500's