*BSD News Article 6461


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!sdd.hp.com!cs.utexas.edu!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: novice questions
Message-ID: <1992Oct13.164018.18088@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Reply-To: terry@icarus.weber.edu
Organization: Weber State University  (Ogden, UT)
References: <q26-wc+@engin.umich.edu>
Date: Tue, 13 Oct 92 16:40:18 GMT
Lines: 42

In article <q26-wc+@engin.umich.edu> krueger@engin.umich.edu (Erick Krueger) writes:
>Sorry about the upcoming 'novice' questions, but here goes:
>
>1 - I am trying to get the time set correctly.  I have used the date
>    command to set it.  Each time I do, it stays correct until I reboot
>    at which time the time is shifted ahead by an hour.

The clock setting is not stored as a relative time to the CMOS clock, and
the CMOS clock is not updated when you set the clock in 386BSD.  There is
also an assumption that your DOS clock is correct (there is a patch in the
patchkit for CMOS daylight savings time bits recognition).  The cannonical
soloution until a better hardware clock interface is arrived at is to set
your DOS clock to GMT (UTC).

>    I then found the
>    localtime link, which appeared to be pointing to the currect timezone,
>    so I changed that to Eastern.  Now it is off by 4 hours.  If I set it
>    to 3 am,  and reboot.  It now says it's 7.

Yep, that's what I'd expect if your hardware clock isn't on GMT.  Maybe if
you lied about your time zone?

>2 - I am trying to configure com1 to 9600, 7E1.  How would I do this?  I
>    have looked at stty in the man pages, and tried a number of things, but
>    am now, totally confused.

If you are refferring to incoming calls (rather than for a printer or
something on it's way out), modify /etc/gettytab and /etc/ttys to use
the modified /etc/gettytab entry.


					Terry Lambert
					terry@icarus.weber.edu
					terry_lambert@novell.com
---
Any opinions in this posting are my own and not those of my present
or previous employers.
-- 
-------------------------------------------------------------------------------
                                        "I have an 8 user poetic license" - me
 Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
-------------------------------------------------------------------------------