Linux-Misc Digest #184, Volume #26 Mon, 30 Oct 00 10:13:03 EST
Contents:
Something wrong with my terminal (cursor) (����linux)
Installing Linux in 4Mb RAM?? (D R Smith)
Re: cron and end of daylight savings time (Jean-David Beyer)
Looking for info on setting up a linux router??? (Quad)
Problem with added memory ([EMAIL PROTECTED])
Re: Installing Linux in 4Mb RAM?? (Martijn Brouwer)
Re: Problem with added memory (Martijn Brouwer)
Re: NTFS Woes (Rod Smith)
Re: Installing Linux in 4Mb RAM?? (Martijn Brouwer)
Re: INIT: No more process left in this runlevel ("Jack")
Re: cron and end of daylight savings time (Russell Marks)
daylight savings. ("Samuel Irlapati")
Re: daylight savings. ("Jan Schaumann")
Re: daylight savings. (Hal Burgiss)
Newbie can connect to ISP but not browse... ("zakath")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (����linux)
Subject: Something wrong with my terminal (cursor)
Date: 30 Oct 2000 10:25:07 GMT
I can not recall what I have done.
But wright now, I can not use elm and vi.....
Every time I enter elm, some messages appear:
'
Your terminal does not support the "clear screen" function (cl).
Your terminal does not support the "clear to end of line" function (ce).
Your terminal does not support the "clear to end of display" function (cd).
Your terminal does not support the "cursor motion" function (cm).
Your terminal does not support the "move cursor up" function (cm).
Your terminal does not support the "move cursor right" function (nd).'
I also can not move my cursor in vi !!!
What should I do to fix this problem...
Thanks for your kindly help.
Michael
--
[1;32m�� Origin: [33m�Ӹ۸�T [37m<bbs.cynix.com.tw> [m
[1;31m�� From: [36mextmx.itri.org.tw[m
------------------------------
From: [EMAIL PROTECTED] (D R Smith)
Subject: Installing Linux in 4Mb RAM??
Date: Mon, 30 Oct 2000 13:11:03 GMT
Could anyone offer some advice as to how I could install linux
(distribution such as Red Hat lets say...) on a 486 with only 4MB of RAM?
This system has a non-bootable CDrom and several-hundred (1-200) MB hard
disk space...
Thanks
Daniel Smith
[EMAIL PROTECTED]
(please reply by email if possible)
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: cron and end of daylight savings time
Date: Mon, 30 Oct 2000 08:19:23 -0500
HermDog wrote:
> On Sun, 29 Oct 2000 01:31:19 -0500,
> Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> >I found out what cron does when daylight savings time ends. It
> >does not know about it and runs some jobs twice.
> >
> >I have a 2.5 hour job (backup of my hard drives to mag tape) I
> >run every morning at 1:04AM; it is part of /etc/cron.weekly and
> >/etc/cron.daily. This morning it started at 1:04AM EDST as
> >usual. When 1:59AM EDST arrived, it was not finished, of
> >course. But at 2:00AM EDST, the system set its time back to
> >1:00AM EST as expected. Then, when 1:04 EST arrived, cron
> >started up those tasks again. (cron.weekly). Most of them are
> >fast and harmless, but it tried to restart the backup.
> >(Incidentally, BRU, the backup software, died with a
> >segmentation fault, not what I like to see, instead of some
> >kind of device busy fault. Luckily, the instance that failed
> >was the second instance.)
> >
> >So I just diddled my /etc/crontab to start nothing on Sundays
> >between 1:00 AM and 2:00 AM.
> >
> >Any other pitfalls out there that I should know about?
>
> Yes. Running a Linux system like it's a Windows box.
I feel insulted. ;-) I have no Microsoft software whatever on this
machine.
> Try setting the system date/time to UTC (GMT) and link /etc/localtime
> to your local timezone in /usr/share/zoneinfo (or wherever your
> distribution arranges those things). On my (Slackware) box,
> /etc/localtime -> /usr/share/zoneinfo/EST5EDT ->
> /usr/share/zoneinfo/America/New_York. The system time never changes,
> but everything is displayed to me in local time (with daylight savings
> adjustments when appropriate).
That is how I do run it. I.e., my hardware clock does run UTC.
valinux:jdbeyer[~]$ /sbin/clock; date
Mon Oct 30 13:11:13 2000 -0.007916 seconds
Mon Oct 30 08:11:06 EST 2000
valinux:jdbeyer[~]$
valinux:jdbeyer[~]$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 32 Oct 1 08:06 /etc/localtime ->
../usr/share/zoneinfo/US/Eastern
valinux:jdbeyer[~]$
> Of course, I could be completely misunderstanding what
> happened. Wouldn't be the first time. But what you describe sounds
> like something that seems to happen frequently on systems that have no
> choice but to run system time = local time.
>
> --
> [EMAIL PROTECTED]
>
I could not find anything in the cron documentation that specifically
addresses this issue. I did not examine the source code for cron. I
assume that, usually, crond examines the various cron tables once a
minute and acts accordingly. Since these tables are all in local time,
not UTC, they act as I expect (but never thought about before). And if it
says to run something at 1:03, that is what it does, whether or not a
given day (such as yesterday) has two 1:03 AMs or not.
BTW, my /etc/crontab does not start anything between 1AM and 3AM on
Sundays anymore (do not want to skip anything in the spring advance to
EDST).
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 8:05am up 5 days, 20:24, 2 users, load average: 3.45, 3.39, 3.27
------------------------------
From: Quad <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Looking for info on setting up a linux router???
Date: Mon, 30 Oct 2000 13:11:10 GMT
HI all,
I have setup ipchains and various firewalls with linux and think it
works great, but now I would like to setup a router and would like to
know the BEST source of info on the topic.
I have used full linux and a LinuxRouterProject floppy and would like to
setup a router which would connect 2 gateways to a LAN. If the user
wanted general internet services the router would point the packets to
GW1 but if the users wanted to connect to one specific service, the
packets would go to GW2 over a dedicated ISDN line.
I am not even sure that the LRP Floppy could accomplish this, but if it
could I would love to know some sites and/or information on this.
If I should use a full install of linux I would love to know the best
source of info for this as well.
I have NO knowledge of setting up a linux router with static tables so
please if you know of some idiot sites/info... that would probably be
best for me.
thanks all
PS Is this going to be an incredibly daunting task?
--
Quad
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: Problem with added memory
Date: Mon, 30 Oct 2000 13:19:56 GMT
I just installed more memory into my computer, do
I really have to recompile the kernel for the
added memory to take effect?
Previously I had 64M, and I put in another 64M,
and added the 'ramdisk...' line in lilo.conf:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux
vga=791
image=/boot/vmlinuz-2.2.14-5.0
label=linux
read-only
ramdisk=128
root=/dev/hda8
I also tried to have the ramdisk entry in the
general part of lilo.conf. When I run top I can
see that the system is still running on 64M of
memory. So, back to the question, what do I have
to do to add the extra 64M to the system?
Thnx for any help!
// POA
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Re: Installing Linux in 4Mb RAM??
Date: 30 Oct 2000 13:48:52 GMT
[posted and mailed]
[EMAIL PROTECTED] (D R Smith) wrote in <[EMAIL PROTECTED]>:
>Could anyone offer some advice as to how I could install linux
>(distribution such as Red Hat lets say...) on a 486 with only 4MB of RAM?
>This system has a non-bootable CDrom and several-hundred (1-200) MB hard
>disk space...
There are distributions for very small systems. Tiny Linux is one of them
as far as I know.
--
______________________________________________________
Martijn Brouwer [EMAIL PROTECTED]
Remove capitals S P A M
------------------------------
From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Re: Problem with added memory
Date: 30 Oct 2000 13:51:43 GMT
[posted and mailed]
[EMAIL PROTECTED] wrote in <8tjshn$dlj$[EMAIL PROTECTED]>:
>I just installed more memory into my computer, do
>I really have to recompile the kernel for the
>added memory to take effect?
>
>Previously I had 64M, and I put in another 64M,
>and added the 'ramdisk...' line in lilo.conf:
you have to use something like append="mem=128M" (check exact syntax in the
man pages of lilo.conf)
Ramdisk enables you to use part of the memory as harddisk, and that is not
what you want.
Good luck,
--
______________________________________________________
Martijn Brouwer [EMAIL PROTECTED]
Remove capitals S P A M
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: NTFS Woes
Crossposted-To:
sfnet.atk.linux,comp.os.linux.setup,alt.os.linux.redhat,linux.redhat.install
Date: Mon, 30 Oct 2000 14:01:16 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Otto J. Makela) writes:
> I have a RedHat 6.2 i686 system running kernel 2.2.16-3 and I have a
> need to be able to read a NTFS hard disk partition. I've compiled the
> read-only fs module from the kenrel source distribution, installed it
> to /lib/modules/2.2.16-3/fs/ntfs.o and then done depmod. When I mount
> the filesystem with "-t ntfs", I can browse the directories and so on,
> but trying to read stuff properly (like using this as a tar.gz or
> mkisofs source tree) ends up being flaky, or worse, freezes or crashes
> the whole machine. Actually, even "du" keeps changing its output
> from one run to another.
Linux's read-only NTFS support isn't that flaky in my experience,
although I've not used it much. My first guess is that the problem is
because RH tends to use heavily patched kernels. (I assume from the "-3"
at the end of the kernel number that you're using an RH-supplied
kernel.) It's possible that some patch RH has applied has broken NTFS
support. You may therefore want to try downloading a "pure" kernel
(check http://www.kernel.org) and compiling the whole thing. This will
be more work than just compiling one module, but it's something that,
IMHO, every Linux administrator should be able to do.
Another possibility is that there's a problem with your NTFS partition;
maybe it's become corrupt. It could also be that my failure to encounter
such serious problems just reflects good luck on my part.
> Now that I think about all this, what is the difference between the
> experimental read/write version and what I've done?
The experimental read/write version adds experimental read/write code.
AFAIK, there are no differences in the read support. From what I've
heard, the write support is *VERY* flaky, so I wouldn't suggest you use
it unless you intend to debug it and contribute to development.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Re: Installing Linux in 4Mb RAM??
Date: 30 Oct 2000 14:03:40 GMT
[EMAIL PROTECTED] (Martijn Brouwer) wrote in
<[EMAIL PROTECTED]>:
>[posted and mailed]
>
>[EMAIL PROTECTED] (D R Smith) wrote in <[EMAIL PROTECTED]>:
>
>>Could anyone offer some advice as to how I could install linux
>>(distribution such as Red Hat lets say...) on a 486 with only 4MB of RAM?
>>This system has a non-bootable CDrom and several-hundred (1-200) MB hard
>>disk space...
>
>There are distributions for very small systems. Tiny Linux is one of them
>as far as I know.
>
Look at www.linux.org under distributions. Peanut Linux is another option.
--
______________________________________________________
Martijn Brouwer [EMAIL PROTECTED]
Remove capitals S P A M
------------------------------
From: "Jack" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup
Subject: Re: INIT: No more process left in this runlevel
Date: Mon, 30 Oct 2000 13:48:40 -0000
I found out that few lines were missing from /etc/inittab
1:2345:respawn ...........mingetty tty1
2:2345:respawn ...........mingetty tty2
.....................................................
6:2345:respawn ...........mingetty tty6
Editing the /etc/inittab file and adding the above worked.
However each time I ran Xconfigurator, the system fails.
Just before restart I will check /etc/inittab only to find that
the above have been deleted again. If I don't run Xconfigurator,
my linux is fine (INIT 3). Later on I was getting errors such as
the system is full. ie I couldn't append /etc/inittab anymore
"df" command revealed that my root dir / had 141MB used
out of a total of 141MB. Under normal circumstance its 17MB
out of 141MB used. What's caused it to grow to this size?
My 2.5GB Linux partition consists of /, /var, /usr, /users and
120MB SWAP.
-- > Jack wrote:
> >
> > After an unsuccessful attempt to configure X on my Toshiba laptop X
> > using Xconfigutor, I now have: (and the system stops at this error)
> >
> > INIT: No more process left in this runlevel
> >
> > Rebooting with Linux 2, 3, 4 and 5 produce the same result.
> > The system stops at the above error without a login prompt.
> > I can boot with linux 1, what can I do from here.
> > If its the /etc/inittab what need to edited or corrected.
> >
> > Many thanks in advance
>
> post the content of /etc/inittab
>
> Eric
------------------------------
Subject: Re: cron and end of daylight savings time
From: Russell Marks <russell.marks@spam^H^H^H^Hntlworld.com>
Date: 30 Oct 2000 14:32:20 +0000
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> I found out what cron does when daylight savings time ends. It
> does not know about it and runs some jobs twice.
Oddly enough, I happened to read the man page for cron the other day
for unrelated reasons (I was seeing if it was worth installing anacron
or not, and in my case it was). That says:
> Special considerations exist when the clock is changed by
> less than 3 hours, for example at the beginning and end of
> daylight savings time. If the time has moved forwards,
> those jobs which would have run in the time that was
> skipped will be run soon after the change. Conversely, if
> the time has moved backwards by less than 3 hours, those
> jobs that fall into the repeated time will not be run.
So it sounds like you need a better cron. Mine seems to be Vixie cron
v3.0pl1, as packaged in Debian potato. However, the key change seems
to be this patch which was applied:
> * Applied OpenBSD patches supplied Topi Miettinen. Big change is
> better handling of timekeeping (in particular, changes to/from daylight
> savings time) (closes:#8499).
So you probably need to either switch to Debian :-), or hassle whoever
is responsible for your cron package to add something similar.
> So I just diddled my /etc/crontab to start nothing on Sundays
> between 1:00 AM and 2:00 AM.
Or you could do that. :-)
-Rus.
------------------------------
From: "Samuel Irlapati" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: daylight savings.
Date: Mon, 30 Oct 2000 09:34:05 -0500
Is there a way to change the time automatically for daylight savings for
Linux? I had to swallow my pride and boot into windoze98 to get the right
time. I know there is also a Unix command to change time. Does anyone know
what is that command?
------------------------------
From: "Jan Schaumann" <[EMAIL PROTECTED]>
Subject: Re: daylight savings.
Crossposted-To: alt.os.linux
Date: Mon, 30 Oct 2000 09:54:04 -0500
"Samuel Irlapati" <[EMAIL PROTECTED]> wrote:
> Is there a way to change the time automatically for daylight savings for
> Linux? I had to swallow my pride and boot into windoze98 to get the
> right time. I know there is also a Unix command to change time. Does
> anyone know what is that command?
man date
(man rdate)
-Jan
--
Jan Schaumann <http://www.netmeister.org>
Cop: "He's making a break for it. Get him!"
Fry: "No, no, I was just picking my nose."
Cop: "He's picking his nose. Get him!"
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Crossposted-To: alt.os.linux
Subject: Re: daylight savings.
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: Mon, 30 Oct 2000 14:59:19 GMT
On Mon, 30 Oct 2000 09:34:05 -0500, Samuel Irlapati
<[EMAIL PROTECTED]> wrote:
>Is there a way to change the time automatically for daylight savings
>for Linux? I had to swallow my pride and boot into windoze98 to get the
>right time. I know there is also a Unix command to change time. Does
>anyone know what is that command?
man clock
man hwclock
man date
man rdate (or maybe netdate)
It is easy to do. You can combine rdate (sets time from a remote
timeserver) with hwclock to set both system/linux time, and the BIOS
clock automatically every time you boot, or when you connect via PPP, or
via cron at intervals or whatever scheme you want.
List of published time servers:
http://www.eecis.udel.edu/~mills/ntp/clock2.htm
Script excerpt:
/usr/bin/rdate -s $SERVER
## set hardware clock with our new time ...
/sbin/hwclock --systohc
But curiously, Linux has always automatically handled the time change
for me. I was sitting here at 2:00AM Sun, and watched the clock on my
desktop jump to 1:00AM. No user intervention. I have no idea where/how
this gets done though. But a nice trick.
--
Hal B
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
------------------------------
From: "zakath" <[EMAIL PROTECTED]>
Subject: Newbie can connect to ISP but not browse...
Date: Mon, 30 Oct 2000 15:05:32 GMT
I've recently completed the RH6.2 install (semi) successfully. During the
installation process I chose the server install because I want to be able to
use this machine as an FTP server and such and as far as I could tell from
the documentation the Workstation install left out some networking
capability which I may want. My problem is I can connect to my ISP via KPPP
(I have KDE installed) with no problems but when I bring up Netscape or any
mail client I just get an error message stating some like 'can't resolve
hostname' or something to that effect (I'm not at that PC now so I'm not
sure of the exact working of the message). During the installation I chose
DHCP and didn't specify any IP/Gateway/DNS entries so I'm assuming this is
likely part of my problem. Can anyone point me to some good info on the
RH6.2 server install and network configuration?
In addition - where do I configure my user priveleges, the non-root user I
created during the install process doesn't have privelege to do much. Where
can I find some 'standard' settings for non-root admin? I'm doing most of
the package installations/configuration as root but I would like to use
another user if possible.
Sorry if these questions are vague - I'm new to Linux...but having a good
time learning.
z
------------------------------
** 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
******************************