Linux-Misc Digest #900, Volume #25               Sat, 30 Sep 00 00:13:02 EDT

Contents:
  Re: Different Flavors of Linux (Rod Smith)
  Formatting CF Card (Christopher Browne)
  Multiple IPs per eth? (Todd Gillespie)
  Re: Should I jump into Linux? (David Rysdam)
  Re: Multiple IPs per eth? (Steve Yelvington)
  Re: Formatting CF Card (E J)
  Re: Li..... (mpulliam)
  Total Newbie Question (root)
  Re: How to limit e-mail accounts on Red Hat Linux 6.1 (Paul Colquhoun)
  Re: Formatting CF Card (Christopher Browne)
  Re: Apache + Linux + "uptime" question (David Efflandt)
  Re: SQUID - DIALUP (Akira Yamanita)
  Re: Formatting CF Card (David Efflandt)
  Re: How to install and dual boot 2 Linux distros ? (David Efflandt)
  Re: Should I jump into Linux? (Brian & Colleen)
  Re: C++ on Mandrake! (B.F. Thornborrow)
  Redhat: hard drive accessing ([EMAIL PROTECTED])

----------------------------------------------------------------------------

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Different Flavors of Linux
Date: Sat, 30 Sep 2000 00:16:32 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        Tim <[EMAIL PROTECTED]> writes:
> I am new to the Linux world and am terribly confused by all the versions 
> of Linux that are available.  Can someone please tell me what the 
> difference is between lets say Red Hat Linux and Mandrake Linux?  Red Hat 
> Linux and Corel's version?  Etc.  

Check my web page on Linux distributions:

http://www.rodsbooks.com/distribs/

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

------------------------------

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Formatting CF Card
Reply-To: [EMAIL PROTECTED]
Date: Sat, 30 Sep 2000 00:25:47 GMT

I made the arguable "mistake" of formatting a 64MB CompactFlash card
with an ext2 filesystem.

Which is pretty slick, in some ways, but which has the unfortunate
effect of rendering it inaccessable by anything that expects it to
have the traditional FAT filesystem.

If I hook up the flash card to a laptop running Windows, it has the
entirely entertaining effect of causing it to detect it, and then
detect that it cannot do anything with it, thus leading the computer
to reboot.  [Then it detects the card again, tries to read it, 
--> reboot.  Repeat as needed...]

fdformat does not seem to cope well with it; is there some other
utility I should be looking to?
-- 
(concatenate 'string "cbbrowne" "@" "acm.org")
<http://www.ntlug.org/~cbbrowne/linux.html>
Rules of the Evil Overlord #82. "I will not shoot at any of my enemies
if they are standing in front of the crucial support beam to a heavy,
dangerous, unbalanced structure. <http://www.eviloverlord.com/>

------------------------------

From: Todd Gillespie <[EMAIL PROTECTED]>
Subject: Multiple IPs per eth?
Date: 30 Sep 2000 00:34:59 GMT

Can you host multiple IP addresses on a single ethernet interface? I've
heard rumor of this, but can't find any docs on it so far.  Any help,
please...

------------------------------

From: [EMAIL PROTECTED] (David Rysdam)
Subject: Re: Should I jump into Linux?
Date: 29 Sep 2000 23:57:09 GMT
Reply-To: [EMAIL PROTECTED]

=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1

And Andrew Spoke:
>-I've read and watched all the excitement about Linux, and I'm wondering 
>what advantages installing Linux would offer to someone like me?  

Stability, power and flexibility.  There is MUCH free
scientific/mathematical software for Linux
(http://SAL.KachinaTech.COM/sal1.shtml), including a Matlab workalike
called "Octave" (http://www.che.wisc.edu/octave/).

>-I'm a TA, and I have to use a Unix spreadsheet program called Xess.  My 
>Microsoft spreadsheet program doesn't seem to be compatible.  Is there a 
>Linux equivalent that is freely availble that would be compatible to Xess?

Yes.  Almost all "Unix" software runs on Linux with no problem.  This
is especially so in the last year or so as software vendors have put
out Linux versions (often just repackaged with a new label).  As for
Xess: http://freshmeat.net/projects/xess/?highlight=xess

>-Is most Linux software free?  

Yes, but that's not the question you really mean to ask, after all if
Linux had no software it would all be free.  What you mean to ask is
"is there a free equivalent of (or actual version of) everything
a normal Joe needs".  The answer to this is "yes" as well.

> More specifically, I have to write my 
>thesis using LaTex.  Is there a Linux version of Tex that is free?

Absolutely, I've used it myself.  There's even a graphical editor call
LyX (www.lyx.org--which I've also used).  Both free (and Free).

>      The bottom line, is that I'm not a Windows hater or Windows lover.  
>I use my computer as a tool to get information and get my work done.  
>Would Linux be a good step for me to take?

Ask yourself two questions: 

1) Am I getting my work done as well as I could?
2) Am I willing to go through a certain amount of pain and frustration
   if I will end up better for it?

- -- 
My public encryption key is available from www.keyserver.net
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE51Syh8mkEvJSZJO8RAvMKAKCjIiG/7OhPWjIsjcFQWAfHND/yOQCeISTh
8ZiTHgWMZUVBHp+KDuovCc4=
=DGhv
=====END PGP SIGNATURE=====

------------------------------

From: Steve Yelvington <[EMAIL PROTECTED]>
Subject: Re: Multiple IPs per eth?
Date: Sat, 30 Sep 2000 01:28:18 GMT

Todd Gillespie wrote:

> Can you host multiple IP addresses on a single ethernet interface? I've
> heard rumor of this, but can't find any docs on it so far.  Any help,
> please...

Yup. Call the second interface eth0:0. I did that for awhile until I got 
around to buying another $12 ethernet card and turning my machine into a 
real firewall. There is an IP-Alias mini-HOWTO, but it predates the GUI 
network configuration.


--
http://prattle.sourceforge.net/ 
PHP/mySQL discussion software, GPLed

------------------------------

From: E J <[EMAIL PROTECTED]>
Subject: Re: Formatting CF Card
Date: Fri, 29 Sep 2000 18:43:42 -0700

I don't know about a CompactFlash card but try changing the partition
number id from linux '83' to FAT 'c'
and rewrite partition table.
# fdisk /dev/hdX

Christopher Browne wrote:

> I made the arguable "mistake" of formatting a 64MB CompactFlash card
> with an ext2 filesystem.
>
> Which is pretty slick, in some ways, but which has the unfortunate
> effect of rendering it inaccessable by anything that expects it to
> have the traditional FAT filesystem.
>
> If I hook up the flash card to a laptop running Windows, it has the
> entirely entertaining effect of causing it to detect it, and then
> detect that it cannot do anything with it, thus leading the computer
> to reboot.  [Then it detects the card again, tries to read it,
> --> reboot.  Repeat as needed...]
>
> fdformat does not seem to cope well with it; is there some other
> utility I should be looking to?
> --
> (concatenate 'string "cbbrowne" "@" "acm.org")
> <http://www.ntlug.org/~cbbrowne/linux.html>
> Rules of the Evil Overlord #82. "I will not shoot at any of my enemies
> if they are standing in front of the crucial support beam to a heavy,
> dangerous, unbalanced structure. <http://www.eviloverlord.com/>


------------------------------

From: [EMAIL PROTECTED] (mpulliam)
Subject: Re: Li.....
Date: 30 Sep 2000 01:59:15 GMT

>In article <[EMAIL PROTECTED]>, Eric
><URL:mailto:[EMAIL PROTECTED]> wrote:
>> > ... [snipped] did a fresh install of 
linux but got the same Li and
>> > then a freeze. I currently boot with 
a floppy but would like to fix it.

I had the same trouble on a linux-only 
fresh install and I had made the error of
selecting "first sector of boot partition"
for the bootloader during the install. 
I could only boot from
a floppy under those conditions.

I did the install over again and chose
the MBR instead at that question, and
thereafter could boot properly from the 
hard drive.

I am sure reinstalling is the long way around,
but it worked for me and now I won't make
that mistake again.

MP
 

------------------------------

From: root <[EMAIL PROTECTED]>
Subject: Total Newbie Question
Date: Fri, 29 Sep 2000 22:08:06 -0400

I have installed Caldera's Open Linux with the KDE interface - I know
that Linux purists are cringing, but newbies have to start somewhere.
Anyway my question is when I am moving through directories how can I
distinguish between file types?  I mean how do you know a file is an
executable in Linux?  If I want to put an alias on my KDE desktop (once
I find an executable file) how would I go about doing that?

Thanks in advance for your help.

Sincerely,

Denis

PS: If you have to flame at leadst make it creative


------------------------------

From: [EMAIL PROTECTED] (Paul Colquhoun)
Subject: Re: How to limit e-mail accounts on Red Hat Linux 6.1
Reply-To: <[EMAIL PROTECTED]>
Date: Sat, 30 Sep 2000 02:16:02 GMT

On Fri, 29 Sep 2000 23:47:28 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
|How to limit e-mail accounts on Linux Red Hat 6.1 which is configured
|as a mail server so that some users (or maybe all) can not receive a
|huge (over the limit) e-mails (attahments).What is regular limit?What
|file to edit.Is it doable by using Linuxconf?
|Thank you


The system-wide maximum message size is set in sendmail.cf (which
is created from a template .mc file).

Try /etc/sendmail.cf or maybe /etc/mail/sendmail.cf

Look for "O MaxMessageSize="

The number after this is the message size in bytes. This may be
commented out with a '#' to make the size unlimited.

You need to stop & restart sendmail after you modify this setting.
Use '/etc/rc.d/init.d/sendmail restart' to do this.


-- 
Reverend Paul Colquhoun,      [EMAIL PROTECTED]
Universal Life Church    http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
            a leather-clad, New Zealand woman.

------------------------------

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Formatting CF Card
Reply-To: [EMAIL PROTECTED]
Date: Sat, 30 Sep 2000 02:19:23 GMT

In our last episode (Fri, 29 Sep 2000 18:43:42 -0700),
the artist formerly known as E J said:
>I don't know about a CompactFlash card but try changing the partition
>number id from linux '83' to FAT 'c'
>and rewrite partition table.
># fdisk /dev/hdX

Thanks; putting a usable partition table on it meant that I could
format it using "DOS FORMAT."

I would much _prefer_ to be able to do so using a Linux-based
utility, but unfortunately fdformat and its successor "superformat"
are only "specified" to work up to disks about 4MB in size, which
does not suffice.

But I'm happy to have it functioning more happily at any rate.
-- 
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/>
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Apache + Linux + "uptime" question
Date: Sat, 30 Sep 2000 02:24:39 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Fri, 29 Sep 2000, Melvin M. Meadlin II <[EMAIL PROTECTED]> wrote:
>If you are wondering how this is done, it is through the use of server side
>includes.  There is a server side include for server up-time, although I cannot
>remember what it is.

See mod_include in apache docs.  SSI code is executed before the page is
servered, so you cannot tell by "view source" what part of the page was
generated by SSI or the code used for it.  Assuming you enable SSI
properly, the page name usually needs to end with .shtml instead of .html.  
The following example works for me as long as it is not under suexec:

<!--#exec cmd="/usr/bin/uptime" -->

Under suexec you would have to use #exec cgi= or #include virtual=
pointing to a simple CGI something like this:

#!/bin/sh
echo Content-type: text/html
echo
/usr/bin/uptime


>Ethan Schwartz wrote:
>> 
>> I've seen this on a few websites run under Linux & Apache (among others)...
>> people who have their server's "uptime" displayed on a page... and it's
>> generated by the page, and not a script every hour or so, because if you
>> refresh you get a constantly updating display.
>> 
>> I looked at the source of one, and it's hard coded into the html, which
>> means that some script (php, asp?) must generate the html I'm looking at...
>> 
>> tia,
>> -ethan
>__________________________
>Melvin M. Meadlin II
>661.277.5555/5556
>CSC
>Attn: Melvin M. Meadlin II
>P.O. Box 446  Bldg. 1408
>Edwards, CA  93523


-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


------------------------------

From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: SQUID - DIALUP
Date: Sat, 30 Sep 2000 02:47:41 GMT

Peter Woodall wrote:
> 
> Have successfully installed squid on a home network with a mix (Linux &
> Windows).
> 
> Don't have cable or DSL/ ISDN, etc in my area so I have to use a dial-up
> connection.  Is there any way of getting squid to initiate the dialer on a
> demand basis.
> 
> Or should I be looking for a simpler cache proxy?
> 
> Any help is appreciated.
> 
> Thanks
> 
> Peter

Look into diald to perform that function.

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Formatting CF Card
Date: Sat, 30 Sep 2000 03:03:31 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Fri, 29 Sep 2000 18:43:42 -0700, E J <[EMAIL PROTECTED]> wrote:
>I don't know about a CompactFlash card but try changing the partition
>number id from linux '83' to FAT 'c'
>and rewrite partition table.
># fdisk /dev/hdX

I don't think so.  Type c is FAT32 (LBA) usually for LBA partitions larger
than 1024 cyl (8+ GB).  My 30 MB card is type 4, but 64 MB might use type
6.  Probably best to remove the partition in Linux fdisk and create and
format a FAT partition in Windows.  I bet you haven't seen disk geometry
like this for awhile:

Disk /dev/hde: 6 heads, 32 sectors, 306 cylinders
Units = cylinders of 192 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hde1   *         1       305     29264    4  FAT16 <32M

Something interesting I saw at www.ibm.com was a 1" 1 GB hard drive with
CF interface that fits in a pccard adapter.

>Christopher Browne wrote:
>
>> I made the arguable "mistake" of formatting a 64MB CompactFlash card
>> with an ext2 filesystem.
>>
>> Which is pretty slick, in some ways, but which has the unfortunate
>> effect of rendering it inaccessable by anything that expects it to
>> have the traditional FAT filesystem.
>>
>> If I hook up the flash card to a laptop running Windows, it has the
>> entirely entertaining effect of causing it to detect it, and then
>> detect that it cannot do anything with it, thus leading the computer
>> to reboot.  [Then it detects the card again, tries to read it,
>> --> reboot.  Repeat as needed...]
>>
>> fdformat does not seem to cope well with it; is there some other
>> utility I should be looking to?

CompactFlash is a solid state ATA IDE hard disk, not a floppy (fd).
Maybe 'mkfs -t msdos /dev/hde1'.  I don't think vfat comes into play until
long filenames are written to a drive.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: How to install and dual boot 2 Linux distros ?
Date: Sat, 30 Sep 2000 03:24:41 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On 29 Sep 2000 19:48:36 GMT, John Robson <[EMAIL PROTECTED]> wrote:
>
>I have one 20 gb disk partitioned as follows :
>
>1.  /boot, 30 mb, Linux, non-dos, boot partition, set active
>2.  2 gb primary dos, fat32, for Windows 2000 install
>3.  17 gb, extended : 10 gb for Win2k apps, 7 gb for Linux / and /swap
>
>How do I install two different Linux distributions (e.g. Mandrake and Suse)
>and add the two to Lilo menu ? (Note: I don't put lilo on mbr but on a
>/boot partition).
>
>Should I create two Linux roots, /root1 and /root2, and use the same /swap ?
>Then, I would have to tell each distro to install to /root1 and root2
>respectively, then install its lilo on the same /boot, and finally after
>the second distro is installed, I would have to manually edit lilo.conf
>to point each distro to the right root ?
>
>What's the approach to installing two different distributions and dual
>booting them ?

I did sort of what you are thinking of, but with Win98:

/boot   16 MB LILO
/boot   16 MB LILO
FAT32   (any size) Win98se
f Extended(LBA) multi Linux versions, shared swap, extra FAT

MBR is untouched, no worries about Win stepping on it.  Either /boot can
be made active boot partition with Linux or Win fdisk.  To boot the other
Linux you simply point each LILO to the other /boot partition as other. So
even totally erasing or replacing a Linux version does not affect the
other or the ability to boot (as long as number of extended partitions is
unchanged).

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


------------------------------

From: Brian & Colleen <[EMAIL PROTECTED]>
Subject: Re: Should I jump into Linux?
Date: Fri, 29 Sep 2000 20:29:24 -0700

Andrew wrote:

> I am looking for any advice and wisdom people have about 'an average Joe'
> installing Linux on a home machine.

At last, a question where my newbie opinion may have some value. I've been
'playing' with  Linux for about 9 months. At home I am totally Linux (my last
Mandrake 7.1 update did not go well and I clobbered my Win'95 partition).
>From what I've noticed so far:

- there are programs available for almost everything you'd want to do. The
one thing I miss from Windows is my fax capability. I've got efax downloaded
and installed but haven't managed to configure it to actually do anything.
- the variety of command line utilities in a standard Linux install is
staggering. I'd forgotten how useful simple text files could be if you've got
all the utilities to manipulate them
- compilers, interpreters and scripting languages are "standard equipment" (I
like Python myself)
- the learning curve on a lot of the stuff is very steep and newsgroups are
vital. This one is wonderful for newbies.
- there is a great variety in the quality of the applications available but
the price is right on most of them. StarOffice is a pig on my system (40 MB
Pentium) but it handles all of my word-processing, spreadsheet and
presentation requirements, once it finally loads.

I now find myself at work missing simple things like grep and emacs
(really!!) on my Windows machine at work.

 Brian Smith
 [EMAIL PROTECTED]
 http://mypage.direct.ca/g/greybria



------------------------------

From: [EMAIL PROTECTED] (B.F. Thornborrow)
Subject: Re: C++ on Mandrake!
Date: Sat, 30 Sep 2000 03:47:18 GMT

The RPM with the C++ development libraries is not included on the default 
installation any more.  Install it from the Mandrake CD 2 or from the web 
site.  The filename of the RPM for Mandrake 7.1 is:

libstdc++-devel-2.95.2-7mdk.i586.rpm

Hope this helps....

Brad

In article <8r32sl$k0r$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>When I try to compile c++code on a Mandrake 7 machine, it complains
>about "iostram.h" and other include files not found. RPM manager shows
>C++ installed. I even reinstalled it. I have Redhat 6 and it does not
>have that problem.
>any detailed instructions please?
>
>M.
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Subject: Redhat: hard drive accessing
Date: Sat, 30 Sep 2000 03:43:02 GMT

Hi,

I found that my Redhat6.2 tries to access my hard drive about every 5
seconds. I'm using a 256M RAM P3 with 1G swap, So I am really curious
why redhat access my HD so often.

I didn't seem to notice this on my debian, maybe I'm wrong...

Please provide your comments, tips for tools, etc on this, thanks!

* Tong *



Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------


** 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
******************************

Reply via email to