Linux-Misc Digest #787, Volume #21 Mon, 13 Sep 99 03:13:28 EDT
Contents:
Re: swap space ever get utilize? (rob)
Re: Can only see 8Gb of 13Gb disk. (Charles M)
Re: General Rant from a Linux Newbie ([EMAIL PROTECTED])
Re: swap space ever get utilize? (Paul Kimoto)
Re: Can I set up /dev/floppy to be mounted by non-root? (Hal Burgiss)
Re: General Rant from a Linux Newbie ([EMAIL PROTECTED])
Re: General Rant from a Linux Newbie ([EMAIL PROTECTED])
How can I "capture" HTTP request in apache? (nodd)
StarOffice Envelope Template ("Stan Young")
Re: Simple C not working... (Chip Piller)
Backup Software Needed (ELMasson)
Re: SuSE 6.2 US - man tar in German? (Jeff Goodman)
Re: Can I set up /dev/floppy to be mounted by non-root? (Roy Stogner)
Re: Can only see 8Gb of 13Gb disk. (Henry Luk)
Re: File change monitor for Unix? (Lucius Chiaraviglio)
Re: Problem with compiling c++ source with GNU gcc compiler ("haze")
Max RAID Devices (tobai)
Re: /var/log/messages flooded with mail lookups (Todd Knarr)
Re: Creating a ppp dial in server to my network ("Blacka")
Re: Can only see 8Gb of 13Gb disk. (Vilmos Soti)
mc cann't enter into a tar archive ([EMAIL PROTECTED])
Best CD writers....? (Ray)
----------------------------------------------------------------------------
From: rob <[EMAIL PROTECTED]>
Subject: Re: swap space ever get utilize?
Date: Sun, 12 Sep 1999 21:36:03 -0600
Let's start over... explain to me why swap space should be
used when RAM is unused and available.
rob.
Son Trung Nguyen wrote:
>
> I wonder why my swap space never get used? I mean every time I
> look it's always 0K used. I know I have lots of free RAM but
> isn't the kernel supposed to use swap anyway for code pages
> that aren't actively used? Anyone have an explanation?
>
> Mem: 63340K av, 38044K used, 25296K free, 16700K shrd, 17044K buff
> Swap: 66556K av, 0K used, 66556K free 10728K cached
------------------------------
From: [EMAIL PROTECTED] (Charles M)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Can only see 8Gb of 13Gb disk.
Date: Sun, 12 Sep 1999 22:34:00 -0500
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Hello all, A long time ago I installed RH5.1 on this box and after
> trying a few things gave up on the idea of using more than 8GB of my
> 13Gb disk (I understand the BIOS limitations problem). In a while I'll
> be getting a new system and reformatting this one. I have tried adding
> 'append hda="1647,256,63"' to the lilo.conf file. This didn't work.
> Any ideas?
>
>
>
Actually, depending on your BIOS, there may not be any BIOS limitation.
As far as the disk size, you probably have Logical Block Addressing LBA
set to on in your BIOS, since Windows doesn't work well with large drives
(NT is a bit better in that regard). You may also have jumpers on your
drive for LBA. A number of things to try. You may have to temporarily
turn off LBA (in BIOS, on jumpers, whatever) so Disk Druid can see the
drive, probably need to use linear mode at the end of the install (so you
won't get the dreaded LI on boot up), and then turn LBA back on when you
re-boot after install (or you once again get LI). It can be a mess
getting it all just so.
Another option is if you know the correct disk geometry cylinders,
sectors, etc, use fdisk. In fdisk you can force the drive to that
specification, no matter what the computer thinks it is (just make sure
you've really got your number right). That will force the system to allow
you the whole disk for partitoning. You'll still have to play around with
linear mode in the final part of the install (you probably need it), but
you can avoid messing with BIOS and jumpers by using fdisk.
CMM
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
Date: Mon, 13 Sep 1999 04:22:40 GMT
In article <[EMAIL PROTECTED]>,
K. Bjarnason <[EMAIL PROTECTED]> wrote:
> [sniups]
-- snip --
> Note to self: when installing applications, you are not using your
> computer. Presumably you are calling the Psychic Friends Network and
> they are beaming healing energy rays at your machine to do what you
> need done.
Note to smartass: I am using my car when I am replacing sparkplugs? I
am using my car when I am changing a tire?
I guess we must redefine "use" according to The Redmond Gospel. And why
not? We are redefining reality every day to fit what Redmond wants us to
believe. Just like the Party in Orwell's 1984.
For the record, secretaries and data-entry personel and shop clerks and
other such end-user classes have no business installing software on
their machines, because "their" machines really aren't -- they belong to
the company for which the end-users work. Leave software installation to
qualified support personnel.
For home users, if they want to muck around with installing software,
fine, but they should know a little about computers first.
Is that really so much to ask, smart alec? Or is the proliferation of
brain-dead ignorance really the Holy Grail you are advocating?
Curtis
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: swap space ever get utilize?
Date: 12 Sep 1999 23:32:21 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Son Trung Nguyen wrote:
> I wonder why my swap space never get used? I mean every time I
> look it's always 0K used. I know I have lots of free RAM but
> isn't the kernel supposed to use swap anyway for code pages
> that aren't actively used? Anyone have an explanation?
>
> Mem: 63340K av, 38044K used, 25296K free, 16700K shrd, 17044K buff
> Swap: 66556K av, 0K used, 66556K free 10728K cached
How long has your system been up?
Which kernel are you using? (The 2.2.x kernels start to swap much earlier
than the 2.0.x kernels.)
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Crossposted-To: comp.os.linux.setup
Subject: Re: Can I set up /dev/floppy to be mounted by non-root?
Reply-To: [EMAIL PROTECTED]
Date: 13 Sep 1999 00:31:19 -0500
On Mon, 13 Sep 1999 20:50:24 -0500, Kurt & Amy Johnson <[EMAIL PROTECTED]> wrote:
>Using RH6.0 and I like KDE best.
>
>Can I (and should I, for that matter) set permissions for /dev/floppy
>to allow all users to mount it?
>
>What is the level of permissions that I should use?
>
You probably want to change /etc/fstab to achieve this. Mine is:
/dev/fd0 /mnt/floppy msdos noauto,user,suid 0 0
This lets any 'user' mount it, and sets permissions to that user while
it is mounted.
--
Hal B
[EMAIL PROTECTED]
--
Linux helps those who help themselves
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
Date: Mon, 13 Sep 1999 04:33:36 GMT
In article <[EMAIL PROTECTED]>,
K. Bjarnason <[EMAIL PROTECTED]> wrote:
-- snip --
> Why is it that most Win9x users can run their boxes for weeks or
> months on end with no problems, no forced reboots, but you can't?
"Most Win9x users can run their boxes for weeks or months on end with no
problems?" That's quite a claim -- can you back it up?
I just spent three weeks in New Jersey on a Y2K testing project, and
yes, they use Win9x exclusively, and yes, reboots are a way of life for
at least two of the personnel. Crashes are just part of the job, and
they put up with it.
And yes, these machines were pre-installed, and configured by "qualified
personnel."
I am sure that many people claim to run Win9x with uptime measured in
months, but such has not been my experience. Of course, the
MS-Contingent will all now come forward with their testimonies of zero
crashes in three years, running ten apps at once, yadda yadda yadda.
-- snip --
Curtis
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
Date: Mon, 13 Sep 1999 04:05:52 GMT
In article <[EMAIL PROTECTED]>,
K. Bjarnason <[EMAIL PROTECTED]> wrote:
-- snip --
> Paging Psychic Friends Network.
You apparently have a hard time understanding what I say, yet you feel
qualified to mock what I say . . .
Go play with Marcin Krol. You two kids have a lot in common, such as a
poor understanding of English, yet the smug feeling of superiority that
allows you to dismiss opposing viewpoints as "unimportant," based on
your own misunderstandings of said viewpoints. You two were meant for
each other . . .
Installing software is identically equivalent to using software? In
your dreams.
Curtis
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (nodd)
Subject: How can I "capture" HTTP request in apache?
Date: Mon, 13 Sep 1999 04:55:53 GMT
i have one linux box(redhat 6.0), and manage apache 1.3.6 web server
in that box.
My job is make some scripting in PHP3, and need to send "perfectly
same" HTTP request to certain site (not bad purpose...)
so, I browse through books, but can`t find a way.
please let me know how can i capture http request like this,
POST / HTTP/1.0
Content-Length: 20
sdf=sdfsdfsdfsdfsdf...
thanks in advance.
------------------------------
From: "Stan Young" <[EMAIL PROTECTED]>
Subject: StarOffice Envelope Template
Date: Mon, 13 Sep 1999 00:16:23 -0400
I downloaded the StarOffice 5.1 package from www.sun.com, and managed to
install it with no problem. It even seems to work without sucking up every
available bit of system resources. But one thing is driving me nuts.
Has anyone managed to edit the template for envelopes to use a USA address
format? By this, I mean first and last name on one line, street address on
a second, and city, state, and ZIP on a third?
The default seems to be German - which is fine for Germany, but tends to
confuse the US Postal system.
------------------------------
From: Chip Piller <[EMAIL PROTECTED]>
Crossposted-To: linux.help,linux.redhat.misc
Subject: Re: Simple C not working...
Date: Mon, 13 Sep 1999 01:13:40 -0400
Douglas Cowan wrote:
>
>
> I've written a program to display "Hello" on the screen and compiled it with
> gcc -c and linked it with gcc -o. Now when I run it, nothing happens -- the
> linux prompt just moves to the next line. The commands I've used are printf
> of stdio.h and I also tried cout << of iostream.h, but I get the same
> result...nothing!
>
> Help! If I can't get the old "hello world" thing to work, what hope is there
> for my 3d-engine?
>
> Douglas Cowan
>
> **
>
> Here are the listings if they help:
>
> #include <stdio.h>
>
> int main()
> {
>
> printf("Hello\n");
>
> }
>
> ------
>
> #include <iostream.h>
>
> int main()
> {
>
> cout << "Hello\n";
>
> }
Your hello C and C++ programs both work fine. Do this: name your C version
hello.1.c, then at the command line prompt enter 'gcc hello.1.c'. This will
compile the program and create executable file a.out. Now run the program by
entering './a.out' or the full path to your a.out file if you prefer.
To get your C++ program to run save it as hello.2.c, enter 'g++ hello2.c', then
enter './a.out'.
Chip
------------------------------
From: [EMAIL PROTECTED] (ELMasson)
Subject: Backup Software Needed
Date: 13 Sep 1999 04:34:00 GMT
Hi,
I run a machine using SuSE Linux 6.2 and an internal Iomega Ditto Easy 3200.
The machine is not on a network. I wish to set up my machine so I can use
the tape drive and the same tape for backups of both Linux and Windows 98.
After reading a bit of the ftape documentation I find it too complicated and
unclear to proceed with it. I would be willing to compromise on complexity on
other matters, but not with backups. Forgive me if I am sounding harsh on
ftape.
I admire the effort the authors have put into it. Furthermore, it appears the
distribution I own carries ftape 3.04 instead of 4.02 and part of my discomfort
has
to do with having to do this substitution.
Does anyone know of a simple to use program with few options that can
blindly do backups for a non-networked machine ? Commercial or not, does
not matter. I've seen the add for "arkeia" by Knox software (www.arkeia.com)
in the Linux Journal but that is way beyond the scope of what I need.
Your assistance is appreciated,
Thanks,
Eric
------------------------------
From: Jeff Goodman <[EMAIL PROTECTED]>
Subject: Re: SuSE 6.2 US - man tar in German?
Date: Sun, 12 Sep 1999 22:04:29 -0700
David Orriss Jr wrote:
>
> I've just gotten SuSE Linux 6.2 running on my new
> PIII-450. When I went to type:
>
> man tar
>
> to find out some information on the tar command I
> had the man page come back in German. Now I
> *know* I installed with English language support
> and the other pages I've tried are in English, so
> I'm assuming it's a goof in the SuSE install.
>
> Any thoughts?
>
> --
> DaveO
> http://www.davenet.net/
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Yup...when I installed 6.2, SuSE tried to install some German doc
packages. I declined. Now, "man tar" returns "No manual entry for
tar." But most man pages are ok.
------------------------------
From: [EMAIL PROTECTED] (Roy Stogner)
Crossposted-To:
comp.os.linux.help,comp.os.linux.questions,comp.os.linux.security,comp.os.linux.setup,comp.windows.x.kde
Subject: Re: Can I set up /dev/floppy to be mounted by non-root?
Date: 13 Sep 1999 05:00:54 GMT
On Mon, 13 Sep 1999 20:50:24 -0500, Kurt & Amy Johnson wrote:
>Using RH6.0 and I like KDE best.
>
>Can I (and should I, for that matter) set permissions for /dev/floppy to
>allow all users to mount it?
>
>What is the level of permissions that I should use?
I'm sure someone will answer this question; I'd just like to point out
that people would be more willing to answer it if you hadn't
cross-posted to six newsgroups (more than one of which were
irrelevant), and that you would have had an answer instantly if you
had searched at www.deja.com or the Linux Documentation Project
instead. Searching for "floppy user mount" at google.com gave me
http://sunsite.auc.dk/linux-newbie/FAQ.htm as the first hit, someplace
you might find useful.
---
Roy Stogner
------------------------------
Crossposted-To: comp.os.linux.hardware
From: Henry Luk <[EMAIL PROTECTED]>
Subject: Re: Can only see 8Gb of 13Gb disk.
Date: Mon, 13 Sep 1999 05:25:09 GMT
Reply-To: Henry Luk <[EMAIL PROTECTED]>
> Hello all, A long time ago I installed RH5.1 on this box and after
> trying a few things gave up on the idea of using more than 8GB of my
> 13Gb disk (I understand the BIOS limitations problem). In a while I'll
> be getting a new system and reformatting this one. I have tried adding
> 'append hda="1647,256,63"' to the lilo.conf file. This didn't work.
> Any ideas?
I also bought a new hard drive which is 13GB, and when I used DOS fdisk,
it didn't see the space after 8GB. The reason is that your motherboard
BIOS is old. Here are the options that you can do:
1. flash your BIOS: go to your motherboard manufacturer's web site and
find if there is any update to the BIOS according to your motherboard.
But be careful, if the update is not successful, your motherboard is dead.
2. use the driver (a diskette provided by the manufacturer) of the new
hard drive to make partition. The driver program inside can see all
13BG.
3. This option is what I take to resolve this problem. I use RH6.0 fdisk
to partition my 13GB hard drive. RH6.0 fdisk can see all my 13GB. For
other versions of RH, I am not sure if they can see all 13GB space.
------------------------------
From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Crossposted-To: comp.unix.bsd.misc
Subject: Re: File change monitor for Unix?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 13 Sep 1999 05:34:13 GMT
Leonard Evens <[EMAIL PROTECTED]> wrote:
>Lucius Chiaraviglio wrote:
>> Does anyone know of a utility for any Linux and/or *BSD (or
>> for that matter, any other Unix) which will log all file changes
>> (creations, modifications, deletions, and moves/renames) on a system?
>> [. . .]
>
>One could certainly write such a shell script using the find
>command. But are you sure you need this?
Well, for the reasons I stated later, it would be very useful.
>If you are using a flavor of Linux such as RedHat which supports
>rpm packages, you can verify any rpm package by using rpm commands.
Not only is rpm not included in all Linux/other unix
distributions, but not all software comes in rpm packages.
>Under Linux you don't have anti-virus programs because viruses
>in the usual sense don't apply under Linux.
Apart from boot sector/MBR viruses (Operating systems are
irrelevant. Your computer will be assimilated.), this is almost true
right now, but a couple of Linux viruses are already documented, and
as Linux becomes more widespread, people with ill intentions will find
ways to create viruses for it, just as they did with Windows NT.
Also, Linux anti-virus programs do exist (you can find these
on http://www.datafellows.com or http://www.kasperskylab.ru), although
at this point the majority of their targets are DOS and Windows
viruses that might be passed through a Linux machine.
>[. . .]
>Here again, remember that Linux is very different from Windows.
>There is no registry to worry about. And no Linux application
>should try to mess with standard system libraries as may sometimes
>happen under Windows. Everything is much more modular under
>Linux and one has a better understanding of exactly what is
>happening.
I wouldn't trust anything not to mess with standard system
libraries the first time I am trying out software from a given origin.
This could particularly be an issue if more Windows developers start
porting their stuff to Linux, but do not give up their bad habits.
>[. . .]
>All the methods I've seen for installing Linux applications are
>fairly clear about where they keep configuration information.
I wouldn't count on this for proprietary software (see above
about ongoing habits of Windows developers porting stuff to Linux --
I wouldn't expect such packages to include Unix-style documentation,
which -- although it can be incredibly poorly written sometimes --
at least has a section named "FILES").
Lucius Chiaraviglio | [EMAIL PROTECTED]
--
To reply to this message, remove the first three letters from my user
name. If you are seeing this in an e-mail message, it is because I am
posting it and e-mailing it at the same time -- normal e-mail messages
from me do not have this feature.
--
Note: My news server has a very short expiration time (around 10 days
for most groups), so I will likely miss your reply unless you send it
by e-mail in addition to posting it.
------------------------------
From: "haze" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: Problem with compiling c++ source with GNU gcc compiler
Date: Mon, 13 Sep 1999 05:20:58 GMT
try g++
HAZE
Vlar Schreidlocke wrote in message <37dc99fc.72077500@news-server>...
>Looks like you have a problem with posting the same question over and
>over again also.
>
>On Sat, 11 Sep 1999 18:02:02 +0200, ovaaw <[EMAIL PROTECTED]>
>wrote:
>
>>I have a problem with compiling c++ source with the gcc compiler.
>>Compiling c works ok.
>>When I try to compile a c++ source by typing
>>gcc -o programma1 programma1.cc the follwing message is returned by the
>>compiler:
>>cannot exec cc1plus
>
------------------------------
From: [EMAIL PROTECTED] (tobai)
Subject: Max RAID Devices
Date: Mon, 13 Sep 1999 05:50:32 GMT
What is the maximum amount of RAID devices I can add onto a linux box?
I see areas for 4 devices, (/dev/md0 thru /dev/md3). Is it possible to add any
more then just those 4?
Please CC: me in the reply if at all possible. I check my email more often then
the newsgroups. Thanks
My email is
tobai at hotmail dot com.
------------------------------
From: Todd Knarr <[EMAIL PROTECTED]>
Subject: Re: /var/log/messages flooded with mail lookups
Date: 13 Sep 1999 05:59:43 GMT
In comp.os.linux.misc <[EMAIL PROTECTED]> Warren Bell
<[EMAIL PROTECTED]> wrote:
> I'm getting a message from identd every time fetchmail polls for mail on
> my pop mail accounts from my ISP. This happens every two minutes and is
> flooding the messages file. This never happened before I don't think.
> At least I don't remember seeing long lists of the same thing.
> Sep 12 19:30:43 linux identd[31852]: Connection from linux
> Sep 12 19:30:43 linux identd[31852]: from: 127.0.0.1 ( linux ) for:
> 2043, 25
This is probably fetchmail connecting to your SMTP server process, which
in turn asks identd for the username info associated with the connection
so it can log it. You can take identd out of /etc/inetd.conf to turn it
off, that's about it.
--
Safety hint, dude ... never, ever get up to go to the john at night unless
you can actually feel your body.
-- Sonya Marie Gildencrantz
------------------------------
From: "Blacka" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Creating a ppp dial in server to my network
Date: Sun, 12 Sep 1999 23:04:20 -0700
I really want to know also. When you find out, please let me know.
Oliver Batchelor <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I would like to be able to create a dial in server to my network via the
> modem on my linux machine. I would like windows machines to dial in and
> allow them to access the ip numbers on my network(192.168.0.x) and to
> assign them an ip address like that.
>
> I have it up and working with the network and can dial in my isp (setup
> with pppsetup)
>
> I use slackware 3.6 (kernal 2.0.35)
>
> Does anyone know how to do this or could give where to find detailed
> information on how to do this ?
>
> thanks,
> Oliver Batchelor
>
------------------------------
From: Vilmos Soti <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Can only see 8Gb of 13Gb disk.
Date: Mon, 13 Sep 1999 06:47:00 GMT
Web Serf wrote:
>
> Hello all, A long time ago I installed RH5.1 on this box and after
> trying a few things gave up on the idea of using more than 8GB of my
> 13Gb disk (I understand the BIOS limitations problem). In a while I'll
> be getting a new system and reformatting this one. I have tried adding
> 'append hda="1647,256,63"' to the lilo.conf file. This didn't work.
> Any ideas?
Hi,
I also had similar problems. What I did was to set the bios parameters
to 1023/255/63 thus I was able to boot. (It is a rather old bios). When
I fdisked the disk I simply switched to expert mode and redefined the
cylinder count. YMMV. Don't forget to check waht the kernel reports
about the disk when it boots up.
Vilmos
------------------------------
From: [EMAIL PROTECTED]
Subject: mc cann't enter into a tar archive
Date: Mon, 13 Sep 1999 06:36:07 GMT
Hello All!..
I've got a problem you already know...
RTFM doesn't help - they say one should take the original
mc.ext to fix all such problems, but it doesn't work :-(
Currently I live on Debian/GNU Linux (potato, though it
doesn't work in slink too).
I do know that it can and should work - it worked for me on
FreeBSD and it works for me on the Solaris boxes now. One
more detale: mc was compiled under Solaris and FreeBSD at
the spot, but on the Linux it was installed from binary
package. Does it make sense? Anyway, if you're lack of
information - i'd like to answer you.
Thanks in advance, Valeriy.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Ray)
Crossposted-To: comp.os.linux.help
Subject: Best CD writers....?
Date: Mon, 13 Sep 1999 06:21:34 GMT
Hello ---
Could someone recommend a good CD writer and/or CD re-writable drive
to use with Linux? Which brand seems to be the best to use with Linux
(ie, tends to give the least amount of troubles), or is it pretty much
the case of one being just as good as another? There are certain
brand names I'd presonally stay away from (eg, if Acer makes such
drives. :-) ), but that still leaves a good number of potential
candidates, and I'm trying to decide on one that people have a good
track-record with.
Additionally, what seems to be the best CD burning software to use
with the drive(s)?
Much thanks in advance! :-)
Ray
------------------------------
** 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
******************************