Linux-Misc Digest #289, Volume #19 Wed, 3 Mar 99 23:13:14 EST
Contents:
Network Monitoring Script (Brian Ferris)
linux kernel 2.2.1 (APPANAH Ravi)
Segmentation fault ("Jeffrey S. Smith")
Re: Help! My printer won't print at all! (Gary Krupa)
Re: Speed of accessing tousands of files in a directory? (Christopher B. Browne)
Re: FreeBSD vs LINUX (T. William Wells)
Re: Public license question (Matthias Warkus)
Re: Kernel 2.2.2 & xcdroast0.96e (Volker Widor)
Creating Icons in FVWM2 ([EMAIL PROTECTED])
how to setup CGI (xinye liu)
Linux on HP Vectra 486 XM ([EMAIL PROTECTED])
What is a good site for Linux Kernel news and information? (Tom)
server install: help? ("Hamish McKenzie")
Re: FreeBSD / Linux project (Dr Nancy's Sweetie)
Re: printer not working after upgrade to kernel2.2.2 (Silviu Chitroceanu)
----------------------------------------------------------------------------
From: Brian Ferris <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Network Monitoring Script
Date: Thu, 04 Mar 1999 02:37:00 GMT
==============CDC5F6FE2851F9A0AE62C279
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am using a RedHat 5.2 server to masquerade an 80+ user office to
provide Internet access. A major sticking point with my boss is that
the machine must be able to log Internet usage among employees.
I have tackled this problem from a number of angles and I finally
decided that I would write a shell script to handle the job (I mainly
chose this because I wanted to learn shell programming). The script is
a follows (it is run out of my home directory <bferris> right now so
files are based there)...
#!/bin/sh
# This script monitors Internet usage by monitoring the
/proc/net/ip_masquerade file. This file
# stores info in the following format...
# type (TCP,UDP,etc.) source_ip:port dest_ip:port masq_port
# Ip addresses are in hex format. Linux uses this file to keep track of
which ports it masqued
#addresses to.
tcp_only="TCP"
# I use a temporary file <addition> to store the results of the script.
The first thing added to this
# file is the date.
echo $(date) > /home/bferris/addition
#I use a read to pull the type, source_ip, and dest_ip from
/proc/net/ip_masquerade
while read type source dest rest; do
# I check to see if the type is TCP since I only want this type
if [ $type = $tcp_only ]; then
# I wrote a quick and dirty cpp prog to convert the hex
IP address into the regular x.x.x.x format
source=$(/usr/local/bin/hextodec $source)
dest=$(/usr/local/bin/hextodec $dest)
# To avoid having to make a nslookup call for every IP,
I created a list of addresses and
# their host names in the host_list file. If the
address hasn't been added to the list yet...
if dest_name=$(grep $dest /home/bferris/host_list) ;
then
adder="$source $dest_name"
else
# ... I make a nslookup to find the server name.
dest_name=$(nslookup $dest | grep Na | cut -c
7-)
# If the lookup doesn't come up with anything,
the name becomes unknown
if [ -z $dest_name ]; then
dest_name="Unknown"
fi
adder="$source $dest $dest_name"
# Since this server wasn't in the host_list
file, I add it
echo $dest $dest_name >> host_list
fi
# I check to see if I have added the $adder to the
addition file yet. I do this because
# a website can be masq as many as ten times to the same
IP in a normal ip_masquerade
# listing. There is no point in adding it ten times so
I just add it once.
if ! grep -q "$adder" /home/bferris/addition ; then
echo $adder >> /home/bferris/addition
fi
fi
done < /proc/net/ip_masquerade
# When I'm all done, I have a time stamped file that lists who's been
using the net. This file
# can be appended to the final log file which I will then let my boss
look at so he can deal out
# sweet justice.
more /home/bferris/addition
<EOF>
First, let me say that all I know about shell scripting came from
this project. This script works but I have a feeling that there might
be a better, more efficient way of getting the same results. This
script would currently have to be run by cron every once in a while to
properly log. With that in mind, I will now ask all my questions
-Is this script the answer or am I barking up the wrong tree?
-Should I do something with CPP that would run 100x faster?
-Should I just bite the bullet and install a proxy like squid which
does logging too?
-Should I do something crazy like install my own local DNS server
and do logging here (I want to set up a DNS for fun anway...)?
I know that is a lot of questions so any thoughts the world has on
the subject is much appreciated. Besides, the whole thing can
definitely be chocked up as a learning experience if nothing comes of
it.
Thanks,
Brian Ferris
==============CDC5F6FE2851F9A0AE62C279
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
I am using a RedHat 5.2 server to masquerade an 80+
user office to provide Internet access. A major sticking point with
my boss is that the machine must be able to log Internet usage among employees.
<BR> I have tackled this problem from a number of angles
and I finally decided that I would write a shell script to handle the job
(I mainly chose this because I wanted to learn shell programming).
The script is a follows (it is run out of my home directory <bferris>
right now so files are based there)...
<P><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666">#!/bin/sh</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># This script monitors
Internet usage by monitoring the /proc/net/ip_masquerade file. This
file</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># stores info in
the following format...</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># type
(TCP,UDP,etc.)
source_ip:port dest_ip:port masq_port</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># Ip addresses are
in hex format. Linux uses this file to keep track of which ports
it masqued</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666">#addresses
to.</FONT></FONT><FONT FACE="Arial,Helvetica"></FONT>
<P><FONT FACE="Arial,Helvetica">tcp_only="TCP"</FONT><FONT
FACE="Arial,Helvetica"><FONT COLOR="#FF6666"></FONT></FONT>
<P><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># I use a temporary
file <addition> to store the results of the script. The first
thing added to this</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># file is the
date.</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica">echo $(date) > /home/bferris/addition</FONT><FONT
FACE="Arial,Helvetica"></FONT>
<P><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666">#I use a read to
pull the type, source_ip, and dest_ip from /proc/net/ip_masquerade</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica">while read type source dest rest; do</FONT><FONT
FACE="Arial,Helvetica"></FONT>
<P><FONT FACE="Arial,Helvetica">
<FONT COLOR="#FF6666"># I check to see if the type is TCP since I only
want this type</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica">
if [ $type = $tcp_only ]; then</FONT><FONT FACE="Arial,Helvetica"></FONT>
<P><FONT
FACE="Arial,Helvetica">
<FONT COLOR="#FF6666"># I wrote a quick and dirty cpp prog to convert the
hex IP address into the regular x.x.x.x format</FONT></FONT>
<BR><FONT
FACE="Arial,Helvetica">
source=$(/usr/local/bin/hextodec $source)</FONT>
<BR><FONT
FACE="Arial,Helvetica">
dest=$(/usr/local/bin/hextodec $dest)</FONT><FONT FACE="Arial,Helvetica"></FONT>
<P><FONT
FACE="Arial,Helvetica">
<FONT COLOR="#FF6666"># To avoid having to make a nslookup call for every
IP, I created a list of addresses and</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT
COLOR="#FF6666">
# their host names in the host_list file. If the address hasn't been
added to the list yet...</FONT></FONT>
<BR><FONT
FACE="Arial,Helvetica">
if dest_name=$(grep $dest /home/bferris/host_list) ; then</FONT>
<BR><FONT
FACE="Arial,Helvetica">
adder="$source $dest_name"</FONT>
<BR><FONT
FACE="Arial,Helvetica">
else</FONT>
<BR><FONT
FACE="Arial,Helvetica"> <FONT
COLOR="#FF6666">
# ... I make a nslookup to find the server name.</FONT></FONT>
<BR><FONT
FACE="Arial,Helvetica">
dest_name=$(nslookup $dest | grep Na | cut -c 7-)</FONT>
<BR><FONT
FACE="Arial,Helvetica">
<FONT COLOR="#FF6666"># If the lookup doesn't come up with anything, the
name becomes unknown</FONT></FONT>
<BR><FONT
FACE="Arial,Helvetica">
if [ -z $dest_name ]; then</FONT>
<BR><FONT
FACE="Arial,Helvetica">
dest_name="Unknown"</FONT>
<BR><FONT
FACE="Arial,Helvetica">
fi</FONT>
<BR><FONT
FACE="Arial,Helvetica">
adder="$source $dest $dest_name"</FONT>
<BR><FONT FACE="Arial,Helvetica"> </FONT>
<BR><FONT
FACE="Arial,Helvetica">
<FONT COLOR="#FF6666"># Since this server wasn't in the host_list file,
I add it</FONT></FONT>
<BR><FONT
FACE="Arial,Helvetica">
echo $dest $dest_name >> host_list</FONT>
<BR><FONT
FACE="Arial,Helvetica">
fi</FONT>
<BR><FONT FACE="Arial,Helvetica"> </FONT>
<BR><FONT
FACE="Arial,Helvetica">
<FONT COLOR="#FF6666"># I check to see if I have added the $adder to the
addition file yet. I do this because</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT
COLOR="#FF6666">
# a website can be masq as many as ten times to the same IP in a normal
ip_masquerade</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT
COLOR="#FF6666">
# listing. There is no point in adding it ten times so I just add
it once.</FONT></FONT>
<BR><FONT
FACE="Arial,Helvetica">
if ! grep -q "$adder" /home/bferris/addition ; then</FONT>
<BR><FONT
FACE="Arial,Helvetica">
echo $adder >> /home/bferris/addition</FONT>
<BR><FONT
FACE="Arial,Helvetica">
fi</FONT><FONT FACE="Arial,Helvetica"></FONT>
<P><FONT FACE="Arial,Helvetica">
fi</FONT>
<BR><FONT FACE="Arial,Helvetica">done < /proc/net/ip_masquerade</FONT><FONT
FACE="Arial,Helvetica"></FONT>
<P><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># When I'm all done,
I have a time stamped file that lists who's been using the net. This
file</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># can be appended
to the final log file which I will then let my boss look at so he can deal
out</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica"><FONT COLOR="#FF6666"># sweet justice.</FONT></FONT>
<BR><FONT FACE="Arial,Helvetica">more /home/bferris/addition</FONT><FONT
FACE="Arial,Helvetica"></FONT>
<P><FONT FACE="Arial,Helvetica"><EOF></FONT>
<P> First, let me say that all I know about shell scripting
came from this project. This script works but I have a feeling that
there might be a better, more efficient way of getting the same results.
This script would currently have to be run by cron every once in a while
to properly log. With that in mind, I will now ask all my questions
<BR> -Is this script the answer or am I barking up the
wrong tree?
<BR> -Should I do something with CPP that would run 100x
faster?
<BR> -Should I just bite the bullet and install a proxy
like squid which does logging too?
<BR> -Should I do something crazy like install my own
local DNS server and do logging here (I want to set up a DNS for fun anway...)?
<BR>
<BR> I know that is a lot of questions so any thoughts
the world has on the subject is much appreciated. Besides, the whole
thing can definitely be chocked up as a learning experience if nothing
comes of it.
<P>Thanks,
<BR>Brian Ferris
<BR>
<BR>
<BR>
<BR> </HTML>
==============CDC5F6FE2851F9A0AE62C279==
------------------------------
From: [EMAIL PROTECTED] (APPANAH Ravi)
Subject: linux kernel 2.2.1
Date: Wed, 03 Mar 1999 14:28:06 GMT
Reply-To: [EMAIL PROTECTED]
Hi !!
I've installed RedHat 5.1 on my PC (Pentium II 300 Mhz). The
kernel is v2.0.34-6.
I got the kernel v2.2.1
I have several questions :
- Can i use RH5.1 with new kernel 2.2.1 ?
- I make the new kernel and put it on a floppy disk.
During the boot, i have a kernel panic message... :
Request_module[block-major-3] : Root fs not mounted
VFS :Cannot open root device 03:05
Kernel panic : VFS : Unable to mount root fs on 03:05
Can't understand ?
- Where can i find modules utilities for kernel 2.2.1 ?
Tanks for your Help...
Regards,
APPANAH Ravi.
===================================
APPANAH Ravi
EolRing International
Validation Support Produit
10, rue Alfred Kastler
14000 Caen - France
Tel : +33 (0)2 31 06 19 75
Fax : +33 (0)2 31 06 19 76
Email : [EMAIL PROTECTED]
===================================
------------------------------
From: "Jeffrey S. Smith" <[EMAIL PROTECTED]>
Subject: Segmentation fault
Date: Wed, 3 Mar 1999 08:55:39 -0600
Can someone tell me precisely under what conditions a segmentation fault can
occur under Linux?
I'm trying to find a particularly tricky bug in a C program and haven't been
able to track it down. I compile the exact same source using M.S. Visual
C++ 6.0 under Windows NT and gcc (ver 2.7) under Linux (Slackware
distribution, kernel version 2.0.27). The program runs fine under NT, but
crashes with a segmentation fault under Linux. Furthermore, it crashes at
different times in the program and can sometimes take the XTerm in which it
is running down with it.
The program is completely text (console) based and doesn't use any unusual
libraries.
It is fairly complex and includes a lot of allocation/copying/freeing of
memory and complex array sorting.
Thanks in advance,
jeff --
=========
Jeffrey S. Smith
Texas A&M University
------------------------------
Crossposted-To:
alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup,linux.redhat.misc
From: Gary Krupa <[EMAIL PROTECTED]>
Reply-To: Gary Krupa <[EMAIL PROTECTED]>
Subject: Re: Help! My printer won't print at all!
Date: Wed, 3 Mar 1999 07:06:16 -0800
On Tue, 2 Mar 1999, Youngser Park wrote:
> I think it's depend on what kind of BIOS you have, PnP or
> not. Mine is PnP, and it has options "auto", "enable" or
> "disable". In "enable" option, you have a choice of "EPP",
> "Bi-directional", and something else (ECP?). I believe there
> is a problem (or some tricks) in Linux with PnP BIOS PCs, and
> you have to play with it. My laptop has non-PnP BIOS, and
> no problem at all with Linux.
>
> Hope it helps.
>
>
>
Youngser,
My BIOS has a PNP / PCI feature that allows me to
enable a pnp OS, or disable it. Also, individual
irqs may be pnp-enabled. The default is to disable
the pnp os, which is how I left it. Since I know
that I have an Intel PCI motherboard, this
appeared to be the safest choice. And I haven't
heard about linux becoming a plug and play system.
Does your BIOS have this option? And if it
doesn't, are you also running windows '95 (or
'98)?
Gary Krupa
------------------------------
From: [EMAIL PROTECTED] (Christopher B. Browne)
Crossposted-To: comp.unix.shell
Subject: Re: Speed of accessing tousands of files in a directory?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 04 Mar 1999 03:12:28 GMT
On Wed, 03 Mar 1999 11:17:04 -0700, J. S. Jensen
<[EMAIL PROTECTED]> posted:
>We have a filesystem connection (NFS/SMB/whatelese) into an AS/400
>library that contains 430,000+ different file entries.
>
>I plan on doing something like this (not a UUOC is it? :-):
>
>foo is a \n delimited list of all files on which we will operate. There
>might be 3000 lines.
>
>for i in `cat foo` ; do
> operate $i
>done
>
>Will there be a problem with the command line length if there are 3k
>lines in foo?
>
>Would:
>
>while read ; do
> operate ${REPLY}
>done <foo
>
>be better? The for contruct seems to work in bash in Linux, even
>upwards of 7k, but seems to just hang on an old AIX bourne shell.
I would expect the latter construct would be rather safer in general.
Bash, and most GNU utilities (and by this, I mean GNU, not "purely
Linux stuff") have been written so as to eschew arbitrary limitations
on argument sizes.
This doesn't make it sensible to instantiate a loop that holds onto
thousands of arguments all at once. Certainly more sensible to
serialize their evaluation, particularly when you consider that the
"operate" takes place serially.
>Another question for filesystem experts though, when I call my `operate'
>on a small set of 430k+ files, will the shell take an indecently long
>time to search the directory inodes?
>
>I can do this with 20k+ 0 byte files? I don't yet have the filesystem
>available to me to test, but also don't have the resources to produce
>the 430k 50-300kb files.
You may want to use "ls -f" to list the set of files, as that will
skip the step of sorting them. It may also avoid the need to look at
more than minimal "bits" of the i-nodes, which can improve
performance...
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/lsf.html>
[EMAIL PROTECTED] - "What have you contributed to free software today?..."
------------------------------
From: [EMAIL PROTECTED] (T. William Wells)
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD vs LINUX
Date: 3 Mar 1999 10:08:39 -0500
In article <7bj5ns$1l0$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] <M.com (Mike Willett LADS LDN X7563)> wrote:
: Would it compile ?
Probably not.
: Would it boot ?
The sun might go nova first.
: Would it destroy the underlying system ?
Unlikely; it probably wouldn't get through the device probes.
: Obviously the the inital problems are compilation based ?
: (How easy to get compile and libs compatability ?)
Your question is still badly phrased. The one you want to be
asking is "Is it possible to create a cross-compilation
environment for FreeBSD on a Linux box". The answer is a "very
likely". How difficult? Dunno; I've never tried gcc's cross-
compilation capacities. I wouldn't be surprised if it were pretty
easy, though.
But, assuming you've built a kernel and booted, you're still stuck
-- it'll try to run /sbin/init....and even if Linux keeps it
there, chances are that program will just fall over and die. And
if you fixed that, you'd find zillions of other things that won't
work unless rebuilt for FreeBSD. Some of that rebuilding will be
simple cross-compiling; others will require actual code rewrites.
In short, it's not a reasonable thing to do to try to graft Linux
userland onto a FreeBSD kernel. It's likely *possible*. But not
reasonable.
: Can FreeBSD work with ext2 file systems ?
A guy I just hired tried to answer that question a few days ago,
with his dual boot Linux/FreeBSD system. The answer appears to be
"no".
------------------------------
From: [EMAIL PROTECTED] (Matthias Warkus)
Crossposted-To: comp.os.linux
Subject: Re: Public license question
Date: Tue, 2 Mar 1999 22:39:23 +0000
Reply-To: [EMAIL PROTECTED]
It was the Tue, 02 Mar 1999 21:40:10 +0100...
..and Gergo Barany <[EMAIL PROTECTED]> wrote:
> > I have been told that you can copyright something simply by saying
> > copyright all over it,
>
> Yes, that's what a copyright is.
You don't even need that anymore. International treaties have made the
U.S. switch to `standard' copyright law, too; up to ~1970, you needed
to have a "Copyright"/"Printed in" notice in your book to have it
copyrighted, but these times are over.
mawaa
--
The day-to-day travails of the Windows programmer are so amusing to
most of us who are fortunate enough never to have been one -- like
watching Charlie Chaplin trying to cook a shoe.
------------------------------
From: Volker Widor <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2.2 & xcdroast0.96e
Date: 3 Mar 1999 13:26:05 GMT
[EMAIL PROTECTED] wrote:
: Hi,
:...
: I'd like to know if anyone is using xcdroast with a SCSI based burner under
: kernel 2.2.2 ? Kind of a dumb question, but if there are others out there
: using it, then it gives me reason to persevere, or else wait for a patch
: to the kernel, presumably in the SCSI sub-system.
i use it under 2.2.2 on a suse6.0 system
i had to recompile xcdroast (cdrecord) but after that it works fine
: IAP
: --
: I am using anti-spam measures, please replace 'not.valid' with 'value.net'
volker
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.x
Subject: Creating Icons in FVWM2
Date: Wed, 03 Mar 1999 13:15:32 GMT
Can anyone tell me how to create icons in fvwm2 and/or fvwm95? And also how
I can lock those so they can't be deleted by users? thanx.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: xinye liu <[EMAIL PROTECTED]>
Subject: how to setup CGI
Date: 4 Mar 1999 02:16:15 GMT
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux on HP Vectra 486 XM
Date: Wed, 03 Mar 1999 14:26:41 GMT
I am trying to install Linux on a HP Vectra 486 XM but unable to find an
ethernet driver for the Integrated Network Card.
AMD chip AM79C960K
Any Ideas ?
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Tom <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: What is a good site for Linux Kernel news and information?
Date: Wed, 03 Mar 1999 15:29:42 GMT
Hi,
I thought I was keeping abreast of what was going on in linux but there
are some holes in my information net. I am looking for a site(s) which
lists things like new kernel releases and information as to what is
different about the new kernel from previous kernels.
Specifically, I read somewhere that the new 2.3.x kernel release will
have sound driver support for a Laptop computer that I am considering
buying. I would like to verify this.
Thank You
Tom
[EMAIL PROTECTED]
------------------------------
From: "Hamish McKenzie" <[EMAIL PROTECTED]>
Subject: server install: help?
Date: Thu, 4 Mar 1999 10:39:28 +1000
I have the right server for my video card, now what do I do with it?
--
Hamish McKenzie
** visit me at: http://members.xoom.com/temporal_ **
ICQ: 19299885
email me at: [EMAIL PROTECTED]
==============================================================
------------------------------
From: [EMAIL PROTECTED] (Dr Nancy's Sweetie)
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD / Linux project
Date: 3 Mar 99 15:01:45 GMT
Donn Miller wrote:
> What if there could be a project devoted to creating a new OS,
> composed of FreeBSD --> Linux? We could have developers from both
> camps working together.
I would rather have them working apart. It seems to me that the best
bet for Open Source is to have several different systems being worked
on independently, with cross-pollination of really good ideas that
make sense on the other systems.
Having more than one way to look at things means that people who use and
work on different systems will have more ways to get ideas. I think any
organisation which can reasonably run more than one Open Source OS
*should* run more than one. (Here at Rowan we seem to be converging on
Red Hat and FreeBSD as our pair of free OSs. Within a week, people
using both systems were saying "Gee, that's a good idea, we should steal
it for these other machines . . ." The heavy lifting is done by SGI
workstations, which come with amazing graphical software, and even at a
few years old they are still a first choice. But one doesn't really
need the power of an O2 just to edit homework files, so we've added
a second tier of workstations made out of P90s and other leftovers.
Can't beat the price.)
There are other advantages, too. Suppose Bill Gates buys Red Hat and
shuts them down. Now what? Well, we've already got another system
running on a half-dozen machines. Switching from one Linux to another
may not be a big deal, but there's still going to be overhead. With two
systems, during the time we were switching over, we would still have a
bunch of machines that worked and weren't dependent on Red Hat
distributions at all.
That leads to another advantage of many Open Source OSs: if somebody
with deep pockets wants to attack Open Source, he can't just go after
a single target. There was some discussion about what happens if Red
Hat decides to make an OS monopoly (a silly idea, what with the GPL,
but still something people may worry about). If the people at Red Hat
found out that half their users were using another system too, well,
that may help keep them from getting any silly ideas.
The "Linux vs FreeBSD" and "Best Free Unix" threads are just a waste of
bandwidth; compare "what's the best food?". I think nobody should
criticise an open source OS unless they personally use it and like it,
but see ways it could be better%. And then they should say something
useful, like "Hey, I noticed that SystemA has the following spiffy
feature; how hard would it be to adopt something like that for SystemB?"
(Or, better, "I have here an implementation of a spiffy feature from
SystemA for SystemB. You can download it off my web page at ...")
--
% For an OS you paid money for, you have the right to object in any
way you want.
--
A little friendly rivalry is okay, but if somebody comes to a newsgroup
and sees "Linux sucks!" "No, BSD sucks!", that person will likely just
be scared back to Windows and be sorry he ventured out.
Darren F Provine ! [EMAIL PROTECTED] ! http://www.rowan.edu/~kilroy
"The day Microsoft makes something that doesn't suck, it'll be a vacuum
cleaner."
------------------------------
From: Silviu Chitroceanu <[EMAIL PROTECTED]>
Subject: Re: printer not working after upgrade to kernel2.2.2
Date: 4 Mar 1999 03:31:31 GMT
John Pruce wrote:
>
> Hi,
> I have SUSE 5.3 and I upgraded the kernel to 2.2.2 and now the
> parallel print port is not recognized. I compiled parport into the
> kernel with lp.o as a module. Thank for your help. John
You should insert the following in your /etc/conf.modules file:
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7
where io, irq should be the address and the irq of your paralel
port.
Restart the lpd daemon and you shoul be set.
Silviu Chitroceanu
[EMAIL PROTECTED]
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
** 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
******************************