New Daylight Savings Time Schedule

Questions about Magnia hacking and administration

Moderators: anoldman, Administrator

New Daylight Savings Time Schedule

Postby nwohio » Tue Mar 13, 2007 4:23 pm

Has anyone come across a fix for the SG20 to update the new Daylight Savings Time issue?
User avatar
nwohio
Active
Active
 
Posts: 13
Joined: Thu Sep 08, 2005 7:00 pm

Postby anoldman » Tue Mar 13, 2007 5:08 pm

User avatar
anoldman
Site Admin
Site Admin
 
Posts: 93
Joined: Thu Apr 03, 2003 7:00 pm
Location: Florida

Postby nwohio » Wed Mar 14, 2007 7:12 am

I would have to say that was fast. However, I don't have the VNC program. I downloaded the free version and couldn't figure it out. Can this be done through Webmin?


User avatar
nwohio
Active
Active
 
Posts: 13
Joined: Thu Sep 08, 2005 7:00 pm

Postby anoldman » Wed Mar 14, 2007 8:45 am

You can type the command lines out in WEBMIN under "Other" "Command Shell"

You can also, as noted, log in via TELNET and execute the commands.

RealVNC requires two things: a server app running on the Magnia, and a client app running on your pc.
Instructions for installing the RealVNC server are here:
http://www.anoldman.com/modules.php?name=News&file=article&sid=15&mode=&order=0&thold=0
The client is VNCviewer.exe in windows.
User avatar
anoldman
Site Admin
Site Admin
 
Posts: 93
Joined: Thu Apr 03, 2003 7:00 pm
Location: Florida

Postby nwohio » Wed Mar 14, 2007 2:40 pm

Thanks again. Some of it worked, but the command zic -d /home/public northamerica didn't do anything. Is part of this command missing? It didn't create a new filename anywhere. Can you help out me out here again?



anoldman wrote:You can type the command lines out in WEBMIN under "Other" "Command Shell"

You can also, as noted, log in via TELNET and execute the commands.

RealVNC requires two things: a server app running on the Magnia, and a client app running on your pc.
Instructions for installing the RealVNC server are here:
http://www.anoldman.com/modules.php?name=News&file=article&sid=15&mode=&order=0&thold=0
The client is VNCviewer.exe in windows.
User avatar
nwohio
Active
Active
 
Posts: 13
Joined: Thu Sep 08, 2005 7:00 pm

Postby anoldman » Wed Mar 14, 2007 4:25 pm

# zic -d /home/public/northamerica

Try that, perhaps I missed a slash :oops:

Let me know if that fixes it so I can update the instructions :D

This command ASSUMES you have the northamerica file extracted from tzdata2007c.tar.gz into the PUBLIC directory of your magnia. The zic command will extract the data into the same directory.
User avatar
anoldman
Site Admin
Site Admin
 
Posts: 93
Joined: Thu Apr 03, 2003 7:00 pm
Location: Florida

Postby nwohio » Wed Mar 14, 2007 4:48 pm

OK, now I am really beginning to feel stupid here. I can't seem to get anything to happen. I enter the command zic -d /home/public/northamerica, but I don't see any file called EST5EDT being created. This is obviously a very easy procedure because its giving me a ton of grief. I really appreciate the help you are giving me. Any other assistance you might be able to offer, I would appreciate. Thanks!!!

Yes, I do have the northamerica file extracted and it is in the public directory on my Magnia.

anoldman wrote:# zic -d /home/public/northamerica

Try that, perhaps I missed a slash :oops:

Let me know if that fixes it so I can update the instructions :D

This command ASSUMES you have the northamerica file extracted from tzdata2007c.tar.gz into the PUBLIC directory of your magnia. The zic command will extract the data into the same directory.
User avatar
nwohio
Active
Active
 
Posts: 13
Joined: Thu Sep 08, 2005 7:00 pm

Postby anoldman » Wed Mar 14, 2007 4:55 pm

> zic -d /home/public northamerica
zic: Can't open northamerica: No such file or directory

..... I'm working on it :D
User avatar
anoldman
Site Admin
Site Admin
 
Posts: 93
Joined: Thu Apr 03, 2003 7:00 pm
Location: Florida

Postby anoldman » Wed Mar 14, 2007 6:27 pm

Do this:
Code: Select all
zic -d /home/public/Timezone /home/public/northamerica

That will put the new files in a subdirectory called Timezone.

Then use the copy command like so:
Code: Select all
cp /home/public/Timezone/EST5EDT /usr/share/zoneinfo/EST5EDT


EST5EDT = eastern
CST6CDT = central
MST7MDT = mountain
PST8PDT = pacific

THAT should get you going!
Sorry for the error, will update the instructions accordingly :oops:

I updated the cp command as well.
Since I was working from a bash prompt and moving around the directory tree, I forgot to include paths in my tutorial :?
User avatar
anoldman
Site Admin
Site Admin
 
Posts: 93
Joined: Thu Apr 03, 2003 7:00 pm
Location: Florida

Postby nwohio » Thu Mar 15, 2007 6:46 am

Hey, that worked. Thank you. You're the greatest! I appreciate your help again.

Like you, I do the same thing when it comes to doing things like that. My mind knows what it's doing, but when it comes to explaining it, especially to my boss, I tend to forget some steps. --dave

anoldman wrote:Do this:
Code: Select all
zic -d /home/public/Timezone /home/public/northamerica

That will put the new files in a subdirectory called Timezone.

Then use the copy command like so:
Code: Select all
cp /home/public/Timezone/EST5EDT /usr/share/zoneinfo/EST5EDT


EST5EDT = eastern
CST6CDT = central
MST7MDT = mountain
PST8PDT = pacific

THAT should get you going!
Sorry for the error, will update the instructions accordingly :oops:

I updated the cp command as well.
Since I was working from a bash prompt and moving around the directory tree, I forgot to include paths in my tutorial :?
User avatar
nwohio
Active
Active
 
Posts: 13
Joined: Thu Sep 08, 2005 7:00 pm


Return to Magnia SG20

Who is online

Users browsing this forum: No registered users and 5 guests

cron