This is a discussion on Setting time in Slackware within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I need to set the time on my Slackware system (9.1) and wonder how we do it. What I ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I need to set the time on my Slackware system (9.1) and wonder how we do it. What I had been doing was using an alias as follows: alias netdate='netdate 132.163.135.130' This no longer works. Maybe a new site would be helpful. Or is there a better way? Anyone please.. --- Here about the young Chinese woman who just won the lottery? One fortunate cookie... Ted Gervais Coldbrook Nova Scotia Canada B4R1A7 |
| |||
| On 2003-12-10, Ted Gervais <ve1drg@av.eastlink.ca> wrote: > > I need to set the time on my Slackware system (9.1) and wonder how we do > it. > > What I had been doing was using an alias as follows: > > alias netdate='netdate 132.163.135.130' > > This no longer works. Maybe a new site would be helpful. > Or is there a better way? > > Anyone please.. > > > --- > Here about the young Chinese woman who just won the lottery? > One fortunate cookie... > > Ted Gervais > Coldbrook Nova Scotia > Canada B4R1A7 Try to change netdate to ntpdate |
| |||
| On Wed, 10 Dec 2003 10:08:04 -0400, Ted Gervais wrote: > I need to set the time on my Slackware system (9.1) and wonder how we do > it. > > What I had been doing was using an alias as follows: > > alias netdate='netdate 132.163.135.130' > > This no longer works. Maybe a new site would be helpful. > Or is there a better way? > > Anyone please.. I generally use: ntpdate <insert time site> where a time site is one of listed on http://www.eecis.udel.edu/~mills/ntp/servers.html |
| |||
| On Wednesday 10 December 2003 14:08 Ted Gervais, ve1drg@av.eastlink.ca, wrote: > I need to set the time on my Slackware system (9.1) and wonder how we > do it. > > What I had been doing was using an alias as follows: > > alias netdate='netdate 132.163.135.130' > > This no longer works.**Maybe*a*new*site*would*be*helpful. > Or is there a better way? > > Anyone please.. As root, date && ntpdate -s atime.server && date The date commands will display the time so you can see the difference. Will only work if ntpd isn't running! -- del 8-) |
| |||
| Ted Gervais wrote: > I need to set the time on my Slackware system (9.1) and wonder how we do > it. > If you just want to set it every so ofter, use /usr/sbin/ntpdate -v 140.221.9.6 198.147.38.140 (Those servers are stratum 2 servers you ought to be able to get to.) Better, set up NTP if you're connected all the time, say with DSL, T1, T10, etc. |
| |||
| Thanks everyone for your input on this time issue. I am on line all the time so maybe I should set up something to run through CRON or something like that. But for now - I just needed to know how to get the time set up correctly. I did it with the help of the other two who responded. I will look further into NTP maybe to see if this will help. Thanks again everyone for your help and patience.. "Thomas Ronayne" <tronaREMOVETHIS@ameritech.net> wrote in message news:G%FBb.15340$P%1.14210014@newssvr28.news.prodi gy.com... > > > Ted Gervais wrote: > > I need to set the time on my Slackware system (9.1) and wonder how we do > > it. > > > > If you just want to set it every so ofter, use > > /usr/sbin/ntpdate -v 140.221.9.6 198.147.38.140 > > (Those servers are stratum 2 servers you ought to be able to get to.) > > Better, set up NTP if you're connected all the time, say with DSL, T1, > T10, etc. > |
| |||
| Ted Gervais <ve1drg@av.eastlink.ca> wrote: > Thanks everyone for your input on this time issue. I am on line all the > time so maybe I should set up something to run through CRON or something > like that. > But for now - I just needed to know how to get the time set up correctly. I > did it with the help of the other two who responded. I will look further > into NTP maybe to see if this will help. > > Thanks again everyone for your help and patience.. You should be aware that using NIST (stratum 1) is frowned upon. You should use stratum 2 or 3. -- William Park, Open Geometry Consulting, <opengeometry@yahoo.ca> Linux solution for data management and processing. |
| |||
| Thomas Ronayne <tronaREMOVETHIS@ameritech.net> wrote in message news:<G%FBb.15340$P%1.14210014@newssvr28.news.prod igy.com>... > Ted Gervais wrote: > > I need to set the time on my Slackware system (9.1) and wonder how we do > > it. > > > > If you just want to set it every so ofter, use > > /usr/sbin/ntpdate -v 140.221.9.6 198.147.38.140 > > (Those servers are stratum 2 servers you ought to be able to get to.) > > Better, set up NTP if you're connected all the time, say with DSL, T1, > T10, etc. Setting up a time server client under slackware looks from the above post simple enough but is there really any reason for it on a home computer? I do have a small network and it would be nice to sync all my boxs with the same time. I'm sure slackware is capable to do this so would I just direct my windows boxs at my linux box for the time server and voila?? |
| |||
| > > Setting up a time server client under slackware looks from the above > post simple enough but is there really any reason for it on a home > computer? I do have a small network and it would be nice to sync all > my boxs with the same time. I'm sure slackware is capable to do this > so would I just direct my windows boxs at my linux box for the time > server and voila. Yes, it is easy -- you set one of them up to the outside world (with NTP) going to a stratum 2 time server (or group of stratum 2 servers), and you set the others up to use your outside world connected machine (which magically became a stratum 3 server). The line, /usr/sbin/ntpdate -v server_address is only to set the time on boot, you should not use it in any kind of a loop -- that's what ntpd is for. It takes a little reading in the HOWTO; you need to understand what to put in your ntp.conf file for both your outside world machine (so it will serve time to your other machines) and the ntp.conf file(s) on your inside world machines. |
| ||||
| Thomas Ronayne <tronaREMOVETHIS@ameritech.net> wrote: > Yes, it is easy -- you set one of them up to the outside world (with > NTP) going to a stratum 2 time server (or group of stratum 2 servers), > and you set the others up to use your outside world connected machine > (which magically became a stratum 3 server). > > The line, > > /usr/sbin/ntpdate -v server_address > > is only to set the time on boot, you should not use it in any kind of a > loop -- that's what ntpd is for. > > It takes a little reading in the HOWTO; you need to understand what to > put in your ntp.conf file for both your outside world machine (so it > will serve time to your other machines) and the ntp.conf file(s) on your > inside world machines. For home situation, it's much easier to set time using 'netdate' or 'ntpdate' on one machine, and have all other machines set from that machine using 'netdate' (port 37, Time). -- William Park, Open Geometry Consulting, <opengeometry@yahoo.ca> Linux solution for data management and processing. |