Linux-Misc Digest #602, Volume #25 Mon, 28 Aug 00 22:13:04 EDT
Contents:
Re: LILO Died - Partition Not Found ([EMAIL PROTECTED])
Re: Headless X86 Linux system ("William Alexander Segraves")
Re: Firewall for Linux (Simon Brooke)
Linux spontaneously changes time (Christopher Wong)
Re: Moving a Linux installed distrib to other partitions on same drive (Leonard
Evens)
Re: LILO Died - Partition Not Found (Leonard Evens)
print control ([EMAIL PROTECTED])
Linux <--> MS VPN? (No User)
Re: Linux spontaneously changes time (David Rysdam)
Re: Linux <--> MS VPN? (Hal Burgiss)
Re: Linux spontaneously changes time (Prasanth A. Kumar)
Re: Visio for linux (Christopher Browne)
Re: X-Window must die! What's alternative? ("Bob Fahey")
Re: Linux, XML, and assalting Windows (Christopher Browne)
Re: dump win98 partition (Robert Jones)
Re: dump win98 partition (Dances With Crows)
Re: Finding files (Garry Knight)
Re: print control (David Rysdam)
Re: Linux spontaneously changes time (Coredump)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: LILO Died - Partition Not Found
Date: Mon, 28 Aug 2000 22:00:35 GMT
It is possible that your linux primary (root ) partition is on disk
sectors above 1024. I think that Lilo has a bug that it does not allow
Linux to boot up if the primary AND the swap partition is above 1024
sectors.
Sandy
In article <[EMAIL PROTECTED]>,
Brian Smith <[EMAIL PROTECTED]> wrote:
> Phil wrote:
>
> > Best thing to do is make the Linux partition bootable.
> > You can use Linux fdisk to do this
> > Typing 'a' at the command prompt and then entering the partition
number (1 if
> > it's /dev/hda1), should do it.
> > Phil.
>
> Thanks Phil but after doing that and writing the table, it still
looks the same.
>
> fdisk shows /dev/hda1 to be bootable.
>
> If I look at hda1 under Diskdrake, it shows
> Mount point: /
> Device: hda1
> Type: Linux native
> Size: 2992 MB(97%)
> Formatted
> Mounted
> Partition booted by default
> (for MS-DOS boot, not for lilo)
>
> It's the last line that worries me. Attempting to boot the hard drive
gets as
> far as LI and stalls.
> Do you have any other advice.
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "William Alexander Segraves" <[EMAIL PROTECTED]>
Subject: Re: Headless X86 Linux system
Date: Mon, 28 Aug 2000 17:02:28 -0500
Reply-To: "William Alexander Segraves" <[EMAIL PROTECTED]>
"Peter Mitchell" <[EMAIL PROTECTED]> wrote
in message news:[EMAIL PROTECTED]...
***snipped***>
> Another problem - unless you make changes (I've forgotten to
> which file, but it might be /etc/hosts.allow), you can't run
> halt, shutdown, reboot etc except from the keyboard. This
> includes running them from the serial terminal.
>
***snipped***
I thought I had the same problem. Found all I had to do was telenet to the
machine, login with my userid, make myself root, cd to /sbin, and execute,
e.g., shutdown -h now, in order to shut down the remote system.
Bill Segraves
Auburn, AL
------------------------------
Crossposted-To:
alt.os.linux,comp.os.linux.networking,comp.os.linux.setup,uk.comp.os.linux
Subject: Re: Firewall for Linux
From: Simon Brooke <[EMAIL PROTECTED]>
Date: Mon, 28 Aug 2000 22:32:14 GMT
[EMAIL PROTECTED] (Tim Haynes) writes:
> Simon Brooke <[EMAIL PROTECTED]> writes:
>
> []
> > > What's wrong with ipchains either in a script of your own design - you
> > > know, you, keyboard, vim or (X)emacs, DIY - or something concocted in
> > > e.g. gfcc?
> >
> > If it's useful, my firewall script is here:
> >
><URL:http://www.jasmine.org.uk/~simon/bookshelf/papers/instant-firewall/instant-firewall.html>
>
> It's interesting - a good example of generalisation although I'd have to
> think a little about non-3-way firewalling with it.
As to that, I'm a great believer in Rusty's Three-line Guide to
Firewalling:
<URL:http://www.linuxdoc.org/HOWTO/IPCHAINS-HOWTO-3.html#ss3.1>
--
[EMAIL PROTECTED] (Simon Brooke) http://www.jasmine.org.uk/~simon/
;; Woz: 'All the best people in life seem to like LINUX.'
;; <URL:http://www.woz.org/woz/cresponses/response03.html>
------------------------------
From: [EMAIL PROTECTED] (Christopher Wong)
Crossposted-To: comp.os.linux.questions
Subject: Linux spontaneously changes time
Reply-To: [EMAIL PROTECTED]
Date: Mon, 28 Aug 2000 23:17:45 GMT
One of my Red Hat 6.2 systems is spontaneously changing its system
clock. I'm quite puzzled at this, since it is hardly running anything,
not even crond. The only major app running is Sun's Java runtime
(1.2.2). Here are some clues:
1. Always changes by -4hrs. My local time zone is EST5EDT. So it looks
timezone-related. It used to change by -5hrs when my hardware clock
was off by an hour.
2. Hardware real-time clock is unchanged (set to local time).
3. My Java app calls Runtime.currentTimeMillis(), for anyone who is
familiar with it.
4. It is connected to a LAN.
Would anyone care to guess what on earth is resetting my system clock,
or even where I would begin to look? Thanks in advance,
Chris
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Moving a Linux installed distrib to other partitions on same drive
Date: Mon, 28 Aug 2000 17:49:07 -0500
mike wrote:
>
> Hi
> I would like to know if copying all the partitions of an
> installed Linux distribution to another set of partitions
> on the same drive would be workable. Assuming that you
> could boot into it, would it work properly, exactly as if
> it was at the other location, if I changed all the partition
> references in the fstab file? Or would all the links within
> the directories have to be changed to reflect the partition
> changes?
> Are the links, soft or hard in Linux relative or absolute?
>
> Thanks
> Mike
As someone has already told you, there should be no problem.
There are several ways to copy. One is cp -a, but make sure
you understand how to do it.
One problem you may encounter is that your kernel may no longer
be in partition entirely below cylinder 1024. If so your lilo
may not work. But the latest version of lilo allows you to
boot on such a system from the hard drive. Of course you should
be able to boot from a floppy, but you may have to fiddle a bit
passing parameters to tell the kernel where the root partition is.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: LILO Died - Partition Not Found
Date: Mon, 28 Aug 2000 17:44:07 -0500
Brian wrote:
>
> I've just given Windows the boot. I installed the new Linux Mandrake 7.1
> and decided to repartition my whole IDE drive. (6.5 and Windows
> coexisted well). I now have one Linux partition from 0-760 sectors
> mounted as '/'. When I try to install LILO to the MBR on /dev/hda it
> bombs with the message that the partition isn't found. If I look at the
> partition table with DiskDrake, it shows the partitions I expect, hda1
> is bootable but it notes that it is MS-DOS bootable. What do I have to
> do to finish expunging MS-DOS?
>
> My lilo.conf file looks like this:
>
> boot=/dev/hda1
> vga=normal
> default=linux
> prompt
> timeout=50
> image=/boot/vmlinuz
> label=linux
> root=/dev/hda1
> vga=normal
> read-only
> ...
> other=/dev/fd0
> label=floppy
> tables=/dev/hda
>
> The floppy part fortunately works. Any suggestions?
What does the Linux fdisk show?
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED]
Subject: print control
Date: Mon, 28 Aug 2000 23:39:22 GMT
Hi
Suppose I am printing a 10-page text file. After printing is finished, I
realize there is a typo, on page 4. Now, rather than printing the whole
document again, is there any way to print only page 4?
Thanks for the help.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Mon, 28 Aug 2000 17:58:33 -0500
From: No User <[EMAIL PROTECTED]>
Subject: Linux <--> MS VPN?
Crossposted-To: alt.os.linux,alt.linux,comp.os.linux.networking
Is there any software available that will allow a computer running GNU/Linux to
connect to a remote Microsoft Virtual Private Network?
Thanks,
[EMAIL PROTECTED]
---
This message did not originate from the Sender address above.
It was posted with the use of anonymizing software at
http://anon.xg.nu
---
------------------------------
From: [EMAIL PROTECTED] (David Rysdam)
Crossposted-To: comp.os.linux.questions
Subject: Re: Linux spontaneously changes time
Date: 28 Aug 2000 23:48:17 GMT
Reply-To: [EMAIL PROTECTED]
Mine is doing almost exactly the same thing. Here is more data:
-No Java
-Connected to LAN (I reset the time using rdate)
-Happens at night only (work machine)
-Intermittent problem (happens for a coupleof weeks, then stops
happening for a few months)
-I haven't noticed if it is always X hours
And Christopher Wong Spoke:
>One of my Red Hat 6.2 systems is spontaneously changing its system
>clock. I'm quite puzzled at this, since it is hardly running anything,
>not even crond. The only major app running is Sun's Java runtime
>(1.2.2). Here are some clues:
>
>1. Always changes by -4hrs. My local time zone is EST5EDT. So it looks
> timezone-related. It used to change by -5hrs when my hardware clock
> was off by an hour.
>
>2. Hardware real-time clock is unchanged (set to local time).
>
>3. My Java app calls Runtime.currentTimeMillis(), for anyone who is
> familiar with it.
>
>4. It is connected to a LAN.
>
>Would anyone care to guess what on earth is resetting my system clock,
>or even where I would begin to look? Thanks in advance,
>
>Chris
--
My public encryption key is available from www.keyserver.net
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Crossposted-To: alt.os.linux,alt.linux,comp.os.linux.networking
Subject: Re: Linux <--> MS VPN?
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: Tue, 29 Aug 2000 00:27:53 GMT
On Mon, 28 Aug 2000 17:58:33 -0500, No User <[EMAIL PROTECTED]> wrote:
>Is there any software available that will allow a computer running
>GNU/Linux to connect to a remote Microsoft Virtual Private Network?
I've bookmarked these:
http://www.wolfenet.com/~jhardin/ip_masq_vpn.html
http://www.moretonbay.com/vpn
http://cag.lcs.mit.edu/~cananian/Projects/PPTP/
--
Hal B
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
------------------------------
Crossposted-To: comp.os.linux.questions
Subject: Re: Linux spontaneously changes time
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Tue, 29 Aug 2000 00:43:46 GMT
[EMAIL PROTECTED] (David Rysdam) writes:
> Mine is doing almost exactly the same thing. Here is more data:
>
> -No Java
> -Connected to LAN (I reset the time using rdate)
> -Happens at night only (work machine)
> -Intermittent problem (happens for a coupleof weeks, then stops
> happening for a few months)
> -I haven't noticed if it is always X hours
>
<snip>
<aoluser>ME TOO</aoluser>
I have this happen to two machines running RH Linux at work. I think
it has happened atleast twice on each system although I never paid
much attention beyond readjusting the time manually. I'll keep better
track next time. Also, just a note that one box was running RHL 6.0
and another RHL 6.1 but they were updated recently.
--
Prasanth Kumar
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Visio for linux
Reply-To: [EMAIL PROTECTED]
Date: Tue, 29 Aug 2000 01:00:55 GMT
Centuries ago, Nostradamus foresaw a time when MegaSurge would say:
>Does anyone know if there is a GPL linux application that either can
>edit visio files or read/convert them into the programs file type? I
>have some visio documents but I'm not sure how I would read them? I
>don't dual-boot my system or have any copies of MS Windows in which I
>could use to emulate windows or anything like that, so I actually need
>an app built for linux that could do this. Any info will be
>appreciated. Thanks.
The nearest thing is DIA
<http://www.lysator.liu.se/~alla/dia/dia.html>
I am not aware of any conversion scheme; Visio documents are quite
likely _extremely_ dependent on compound document objects via COM, and
the unavailability of _that_ on Linux is likely to prove daunting to
the would-be implementor.
--
(concatenate 'string "cbbrowne" "@" "hex.net")
<http://www.hex.net/~cbbrowne/lsf.html>
Rules of the Evil Overlord #49. "If I learn the whereabouts of the
one artifact which can destroy me, I will not send all my troops out
to seize it. Instead I will send them out to seize something else and
quietly put a Want-Ad in the local paper."
<http://www.eviloverlord.com/>
------------------------------
From: "Bob Fahey" <[EMAIL PROTECTED]>
Subject: Re: X-Window must die! What's alternative?
Date: Tue, 29 Aug 2000 01:04:34 GMT
"Hans" <[EMAIL PROTECTED]> wrote in message
news:8lmqqa$isv$[EMAIL PROTECTED]...
>
>
> Hello there,
>
> I read an article "X must die." in www.linux.com.
> Is there X-Window alternative?
>
> Cause KDE or GNOME environment is not better than compared with M$
> Windows 9x. They are the clones of M$ Windows 9x. At least Pentium II
> with 128M ram manages KDE application smoothly in my experience. I feel
> Linux in GUI environment seems to go backwards. For example, when I do
> 'startx', run Netscape then I suddenly return 1995 before using Windows
> 95.
>
> Using Linux in text mode is very nice. I like it. Its Kernel is compact,
> fast, provides manys ways of doing a job (Network, Local, Cluster.)
> under low cost. :)
>
> Is there X-Window alternative?
It's called, "CONSOLE" you bag o' rocks.
I sometimes wonder how this world even turns on its axis carrying around
dead weight like this.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Have fun with the most flexible OS in the world. Linux. It even serves up
spoiled rotten users like you!
Bob sends
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: alt.os.linux,comp.text.xml,comp.os.linux.setup
Subject: Re: Linux, XML, and assalting Windows
Reply-To: [EMAIL PROTECTED]
Date: Tue, 29 Aug 2000 01:04:56 GMT
Centuries ago, Nostradamus foresaw a time when [EMAIL PROTECTED]
would say:
>> As such, while it would be possible to describe all of a system using
>> an XML document, that would probably be rather useless, as you need
>> some substrate on which the XML is to be stored.
>>
>> In effect, XML _can't_ be the "base;" there needs to be a serial
>> stream on which to place the XML-formatted material. You need
>> something below it.
>>
>> It seems more useful to talk about that specific "thing that is
>> below."
>
>Okay. Today we have an architecture where we store our programs and
>data on a persistent medium (usually a hard disk). We could in fact
>execute directly against the hard disk (skipping the need to implement
>memory). There are two problems with this approach. The first is that
>it would be slow. Yet that isn't necessarily the biggest problem. The
>biggest problem is fault tolerance. If you have a crash, and the only
>representation you have was the one you were running against, you are
>simply out of luck. (Like typing byte codes in to a Commadore 64. It
>crashes, and you end up starting over, typing the byte codes in all
>over again.)
>
>So, what we have done is create an architecture where we keep a rather
>stable instance of our configuration information on disk (generally in
>a file system). Then if our system happens to crash, we can turn it
>off, turn it back on, and be up and running again.
>
>We do this, even though we could simply save and restore our current
>state to disk. Rebooting is necessary though, because we don't have
>systems stable enough that we can be absolutely sure our image will
>never crash.
>
>Looking at our storage vs. the memory images in a computer system, we
>see a rather significant drop in complexity. Data structures in memory
>being far more complex, and executable code being far more complex in
>memory than that which exists in storage (EPROM).
>
>We also see storage showing a significantly reduced amount of change
>when compared to memory. Files in storage tend to be rather fixed,
>with few changes, while what is expressed in memory varies widely over
>time. (Keep in mind, this is all relative! Compared to the return
>stack, nothing on disk changes much, no matter how we pound the disk.)
>
>The point of what I am trying to get across is that storage really
>serves as a working, dynamic definition of what programs can be
>executed in memory, without requiring all those programs to be loaded
>into memory at any given time. Almost everything that ends up
>executing in memory was defined in storage.
>
>This model works very well, as long as storage is more static than
>dynamic. And as long as storage remains rather simple, without too much
>complicated structure.
>
>How does networking modify the model we have been using? It is
>complicating the underlying structure. The mostly simple tree (a
>directory structure) is becoming more of a general net, like a tree of
>nodes with links into locations in other trees, on other computers.
>
>And storage is becoming more dynamic. I am installing and removing many
>more applications than I was in the early 90s. And compared to what I
>was doing in the 80's, I thought I was doing too many installations
>then!
>
>One could argue at this point that we have already seen most of the
>changes to computer systems that we are going to really need. That the
>rate of installs and reconfigurations is going to slow down. I don't
>really think so.
>
>We can get more stability without requiring major changes to existing
>operating systems and applications by constructing a "storage"
>for "storage". In other words, instead of rebooting solely to storage
>(where if I have a failure, I am really out of luck), I can instead
>access a more fundamental definition of storage. It is this layer that
>can make use of definitions of storage constructed in XML.
>
>The result is a model that looks like this:
>
> X ==> Storage ==> Memory
>
>Where X is that "Thing Below" you wanted to talk about.
>
>Does this help?
It explains a bit more about what you're talking about.
You put forth the notion of having some sort of storage model.
But none of what you say has the slightest bit to do with XML as
distinct from other models for storing data.
It is easy to _claim_ that you have described some "more fundamental
definition of storage," but you haven't demonstrated this.
--
(concatenate 'string "cbbrowne" "@" "acm.org")
<http://www.hex.net/~cbbrowne/xml.html>
"Life. Don't talk to me about life." -- Marvin
------------------------------
From: Robert Jones <[EMAIL PROTECTED]>
Subject: Re: dump win98 partition
Date: Mon, 28 Aug 2000 20:21:52 -0500
Dances With Crows wrote:
<snip>
> You can also try the following more involved procedure, which might save
> space and/or give you more options:
>
> mount /dev/hda1 /mnt/dos
> tar czf /dev/st0 /mnt/dos
>
> To restore:
> boot from a DOS boot disk with FORMAT.COM and SYS.COM on it,
> FORMAT C:
> SYS C:
> (go back to Linux)
> mount /dev/hda1 /mnt/dos
> cd /mnt/dos
> (insert backup tape)
> tar xzf /dev/st0
Please let me pose another semi-hypothetical case that I haven't tried yet
simply because I don't have a spare hard drive and I haven't destroyed my
running Linux drive. (Yet).
I'm running RH6.0 in a dual boot configuration. Win95 is on hda; Linux on hdc,
partitioned as follows
hdc1 boot
hdc5 swap
hdc6 root
I make full backups regularly using a script that includes:
tar -cvvf /dev/nst0 -M / -X /home/rj/nobackup -V "Full Backup $ratnow"
($ratnow contains the date/time string; nobackup excludes /dos, /proc and
~/.netscape/cache)
O.K., so I have a 2-tape set of everything I need to completely overwrite a
running system. *IF* I have a running system. Suppose the worst happens: My hdc
drive turns into a pile of scrap metal, I replace it, boot the rescue system
from floppy and use fdisk, mke2fs and mkswap to make my new drive resemble the
old one in better times.
After I use mknod to get the rescue system acquainted with /dev/st0 and
/dev/nst0, can I proceed to:
$ mkdir /newmnt # (On the ramdisk)
$ mount -t ext2 /dev/hdc6 /newmnt # mount the root drive
$ mkdir /newmnt/boot # create a mount point for the boot partition
$ mount -t ext2 /dev/hdc1 /newmnt/boot
$ cd /newmnt
$ tar -xvvf /dev/nst0 -M
...and restore everything in one fell swoop, or am I asking for too much?
If that will work, my friends who run Win9x will surely turn green!
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: dump win98 partition
Date: 29 Aug 2000 01:39:51 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 28 Aug 2000 20:21:52 -0500, Robert Jones wrote:
>Please let me pose another semi-hypothetical case that I haven't tried yet
>simply because I don't have a spare hard drive and I haven't destroyed my
>running Linux drive. (Yet).
>I'm running RH6.0 in a dual boot configuration. Win95 is on hda; Linux on hdc,
>partitioned as follows
>hdc1 boot
>hdc5 swap
>hdc6 root
>I make full backups regularly using a script that includes:
>tar -cvvf /dev/nst0 -M / -X /home/rj/nobackup -V "Full Backup $ratnow"
>($ratnow contains the date/time string; nobackup excludes /dos, /proc and
>~/.netscape/cache)
>O.K., so I have a 2-tape set of everything I need to completely
>overwrite a running system. *IF* I have a running system. Suppose the
>worst happens: My hdc drive turns into a pile of scrap metal, I replace
>it, boot the rescue system from floppy and use fdisk, mke2fs and mkswap
>to make my new drive resemble the old one in better times.
>
>After I use mknod to get the rescue system acquainted with /dev/st0 and
>/dev/nst0, can I proceed to:
>$ mkdir /newmnt # (On the ramdisk)
>$ mount -t ext2 /dev/hdc6 /newmnt # mount the root drive
>$ mkdir /newmnt/boot # create a mount point for the boot partition
>$ mount -t ext2 /dev/hdc1 /newmnt/boot
>$ cd /newmnt
>$ tar -xvvf /dev/nst0 -M
>...and restore everything in one fell swoop, or am I asking for too much?
>If that will work, my friends who run Win9x will surely turn green!
You'll have to run LILO again, because tar doesn't restore files to the
exact places on disk that they were at before, and LILO needs to know
the exact disk blocks that the kernel/loading map occupy. This can be
done rather easily, right after that last tar command:
# chroot /newmnt /sbin/lilo
(This is roughly similar to doing "SYS C:" from DOS/9x, except much
better, of course.) Reboot, et voil�!
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Those who do not understand Unix are
http://www.brainbench.com / condemned to reinvent it, poorly.
=============================/ ==Henry Spencer
------------------------------
From: Garry Knight <[EMAIL PROTECTED]>
Subject: Re: Finding files
Date: Tue, 29 Aug 2000 01:09:58 +0100
Dux <[EMAIL PROTECTED]> wrote:
>What is the best way to locate files if you don't know their paths.
The other command that Bob and Phil didn't mention is 'whereis'.
'man whereis' for details.
--
Garry Knight
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (David Rysdam)
Subject: Re: print control
Date: 29 Aug 2000 00:47:31 GMT
Reply-To: [EMAIL PROTECTED]
Depends on how you printed it. If you are using mpage, check out the
-j parameter.
And [EMAIL PROTECTED] Spoke:
>Hi
>
>Suppose I am printing a 10-page text file. After printing is finished, I
>realize there is a typo, on page 4. Now, rather than printing the whole
>document again, is there any way to print only page 4?
>
>Thanks for the help.
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
--
My public encryption key is available from www.keyserver.net
------------------------------
From: Coredump <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: Linux spontaneously changes time
Date: Mon, 28 Aug 2000 21:01:02 -0500
On 28 Aug 2000 23:48:17 GMT, [EMAIL PROTECTED] (David Rysdam) wrote:
>Mine is doing almost exactly the same thing. Here is more data:
>
>-No Java
>-Connected to LAN (I reset the time using rdate)
>-Happens at night only (work machine)
>-Intermittent problem (happens for a coupleof weeks, then stops
>happening for a few months)
>-I haven't noticed if it is always X hours
>
>
>And Christopher Wong Spoke:
>>One of my Red Hat 6.2 systems is spontaneously changing its system
>>clock. I'm quite puzzled at this, since it is hardly running anything,
>>not even crond. The only major app running is Sun's Java runtime
>>(1.2.2). Here are some clues:
>>
>>1. Always changes by -4hrs. My local time zone is EST5EDT. So it looks
>> timezone-related. It used to change by -5hrs when my hardware clock
>> was off by an hour.
>>
>>2. Hardware real-time clock is unchanged (set to local time).
>>
>>3. My Java app calls Runtime.currentTimeMillis(), for anyone who is
>> familiar with it.
>>
>>4. It is connected to a LAN.
>>
>>Would anyone care to guess what on earth is resetting my system clock,
>>or even where I would begin to look? Thanks in advance,
Read the man page on 'hwclock'. Basicly, your linux software clock is out of
synch with the hardware (bios) clock and the software is trying to
compensate.. The man page will tell you what you need to do to get it back
working correctly.
John
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************