Linux-Misc Digest #421, Volume #27 Thu, 22 Mar 01 12:13:02 EST
Contents:
Re: pdf (was: Best E-mail Client?) (Jan Schaumann)
Re: RH 6.2 does'nt recognize 2nd NIC? ("Davide Bianchi")
Re: Weird(?) magic word for sh to invoke perl under Linux (Paul Hughett)
new kernel 2.4.1 (Mohammed Khalid Ansari)
Re: Duplicating CDs (a rosenberg)
Re: Best E-mail Client? (Carlos D. Garza)
mail protocol (Holland King)
Re: mail protocol ("Davide Bianchi")
launching a gui app at boot under linux ("Xavier Houppertz")
Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-((( ("Eric")
Re: mail protocol (Michael Heiming)
Re: Any way to redirect a port scan? (Jean-David Beyer)
Re: Weird(?) magic word for sh to invoke perl under Linux (Abigail)
Function drawing (Federico Bravo)
Re: Problems with downloaded mirror files ("Intizar Ahmed")
Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-((( (Otavio Exel)
Re: Function drawing ("Davide Bianchi")
Re: eth4, eth5?? (Mathew Kirsch)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Jan Schaumann)
Subject: Re: pdf (was: Best E-mail Client?)
Date: Thu, 22 Mar 2001 14:17:06 GMT
* Matt O'Toole wrote:
>
> "Jan Schaumann" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>
> > Well, it always depends on who's sending you the stuff: if it's anybody
> > who values your opinion, that person should be willing to make the stuff
> > available to you. Personally, I refuse to accept any *.doc *.xls or
> > whatnot. If the person sending the stuff can not be educated - well,
> > tough luck. In these rare cases I can read the stuff with some other
> > application, but anybody I'm in regular contact with knows not to send
> > me crap like that.
>
> Clients send me stuff in whatever format they're most comfortable with. I
> accept it as a matter of courtesy. Some of them can be reducated, some
> cannot, at least without having their feathers ruffled. Here in America we
> have a saying, "The customer is always right."
"Here in America" I don't have to deal with /the customer/, but mostly
with other team-mates, co-workers etc. That's about 90% of my
correspondence. Interaction with /the customer/ takes little
correspondence for me. When I do, I am curteous:
Instead of simply refusing an attachment or shooting a short email
saying "try again in something x-platform compatible", I'll explain in
great detail why it's not a good idea to assume everybody's using
MS-Word version $WhatIHaveInstalled, I'll explain the alternatives, how
to use them, where to get them and the like.
I also point out that while I /can/ get the content of the document,
it's an inconvenience for me.
So far I have encountered only one instance when the person did not
understand my point and has from then on at least made a point of trying
to send something I can read. In that one instance I respectfully point
out that I do not like this, but if that's the way he wants it, that's
the way it's gonna be.
I've experienced that blind adherence to "the customer is always right"
usually leads to more work for me - while if I point them in the right
direction, often their reaction was "Oh, we didn't know that. Thanks
for letting us know - we are kind of new to the internet and just
assumed everybody has Windows/Word." The first time I got this reaction
(and actually all future correspondence in text) I was very amazed to
find out that "the customer can actually see that he's wrong".
> It may or may not be true,
> but it's generally expected that you act as if it is. If you don't, people
> will think you're arrogant or insolent, that you lack a service-oriented
> attitude, and make a point not to do business with you. So, you don't tell
> your customers what to do, even if you're dead right, and they're morons.
> It's a matter of respect, and whether it's deserved or not, it's customary.
Treating intelligent people like they're dumb is disrespectful. It's a
matter of how you communicate the message: yelling "You dumb asshole,
shove this MS-Word Doc up your ass" will certainly not work. Being
polite and willing to help, will.
-Jan
--
Jan Schaumann <http://www.netmeister.org>
http://usvms.gpo.gov/findings_index.html
------------------------------
From: "Davide Bianchi" <[EMAIL PROTECTED]>
Subject: Re: RH 6.2 does'nt recognize 2nd NIC?
Date: Thu, 22 Mar 2001 09:30:23 -0800
"Teeitup816" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I've successfully installed Redhat 6.2 on a P75 server. At the time of
install,
> only one NIC was installed. I've added a second NIC, because I want the
Linux
> server to act like a router. I believe I've installed the Linux drivers
> succesfully on the server, but Linux does not list my second ethernet
device.
Have you tryed to configure the second NIC using ifconfig by hand?
Davide
------------------------------
From: Paul Hughett <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.lang.perl.misc
Subject: Re: Weird(?) magic word for sh to invoke perl under Linux
Date: 22 Mar 2001 14:35:40 GMT
In comp.os.linux.misc * Tong * <[EMAIL PROTECTED]> wrote:
: Under Solaris, I always use the following lines in my perl code to
: invoke it:
: #!/bin/sh -- # -*- perl -*- -w
: eval 'exec perl $0 ${1+"$@"}'
: if 0;
If you use
#! /usr/bin/env perl
as the first line of your script, then it will be run using whatever
copy of perl is found first on your path. I know this trick works
on both RH Linux and Solaris, and believe that it will work on most
Unix systems.
The problem with using
#! /usr/bin/perl
for the first line, as suggested by some others, is that perl is often
installed in /usr/local/bin/perl instead. (if it doesn't come with the
system and is installed later by the sys admin).
Paul Hughett
------------------------------
From: Mohammed Khalid Ansari <[EMAIL PROTECTED]>
Subject: new kernel 2.4.1
Date: Thu, 22 Mar 2001 14:14:28 GMT
Hi,
I compiled linux kernel 2.4.1 on my machine which has IDE dirve and made
it run. Now I compiled the same kernel on another machine with SCSI drive
but it doesn't work. It is using initrd to boot the old kernel 2.2.41
using initrd while in the first case above it doesn't boot using initrd.
Please help me out.
--
**************************************************************************
Mohammed Khalid Ansari Tel (res) : 0091-022-3051360
Visiting Software Engineer (off) : 0091-022-2024641
National Centre for Software Technology Fax : 0091-022-2049573
8th flr,Air India Build. Nariman Point, E-Mail : [EMAIL PROTECTED]
Mumbai 400021. HomePage : www.khalidansari.com
**************************************************************************
------------------------------
From: a rosenberg <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.redhat
Subject: Re: Duplicating CDs
Date: Thu, 22 Mar 2001 09:56:35 -0500
Reply-To: [EMAIL PROTECTED]
a rosenberg wrote:
>
> wroot wrote:
> >
> > Hi,
> >
> > I need to create a CD completely identical to the original one. I tried
> > using xcdroast, and then used "verify CD" comparing the image (not *.iso,
> > some other format) to the original CD it was created from and,
> > alternatively, to the copy.
> >
> > The program reported that the copy is a different CD, so that it can not be
> > compared. Apparently, the copy wasn't completely identical to the original
> > CD, otherwise xcdroast wouldn't be able to tell that it's a different CD.
> > My quess is that xcdroast's "Duplicate CD" option is geared towards copying
> > audio CDs and not data CDs.
> >
> > Does anyone know how to duplicate data CDs? Or how to create an *.iso image
> > of a CD (if this will help)?
> >
> > Thanks in advance.
> >
> > Wroot
> >
> > P.S. If there is a "Followup-To" header in this message, blame KNode (KDE
> > newsreader)
>
> I believe that there is a Windows program, CDClone, that will do the job
> if your burner is compatible with the software.
>
> Art Rosenberg
My mistake -- the name of the program is CloneCD. Its prime us appears
to be 'backing up' copy protected CDs, mainly games.
Art Rosenberg
------------------------------
From: [EMAIL PROTECTED] (Carlos D. Garza)
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: Re: Best E-mail Client?
Date: 22 Mar 2001 14:58:19 GMT
I don't care much for Java either but how is it a security risk?
You probably correct and I'm not argueing. How is Java a
security risk?
In article <[EMAIL PROTECTED]>, Steve Withers wrote:
>I agree. You know that and I know that....but 'they' don't know that. I
>have to deal with 'they'.
>
>I've done the push-back thing before....and it isolates you eventually
>from some people you need to be able to communicate readily with. If I
>am going to argue with people at all, it is NOT going to be about this.
>:-)
>
>HTML is reasonably consistent for paragraphing, lists and graphics
>inclusion and placement.....which is what I mainly get from some
>people.....I'm not sure they even know how to turn it off. I don't have
>the time to teach them all...
>
>Thanks for your advice....
>
>--
> Regards,
>
> Steve Withers
> [EMAIL PROTECTED]
> Registered Linux user #24688
> http://counter.li.org
>
> "First, they ignore you. Then they
> laugh at you. Then they fight you.
> Then you win." Mahatma Ghandi
------------------------------
From: Holland King <[EMAIL PROTECTED]>
Subject: mail protocol
Date: 22 Mar 2001 14:58:05 GMT
is smtp pretty much the standard mail protocol? if not what else is used
commonly? thank you.
--
---
Joseph Holland King | "God whispers to us in our pleasures, speaks in our
| conscience, but shouts in our pains: it is His
| megaphone to rouse a deaf world." C. S. Lewis
------------------------------
From: "Davide Bianchi" <[EMAIL PROTECTED]>
Subject: Re: mail protocol
Date: Thu, 22 Mar 2001 10:02:46 -0800
"Holland King" <[EMAIL PROTECTED]> wrote in message
news:99d3tt$8dv$[EMAIL PROTECTED]...
> is smtp pretty much the standard mail protocol? if not what else is used
> commonly? thank you.
To send the mail yes, to read them POP3, but lately IMAP is going to be
widely used.
Davide
------------------------------
From: "Xavier Houppertz" <[EMAIL PROTECTED]>
Subject: launching a gui app at boot under linux
Date: Thu, 22 Mar 2001 16:05:59 +0100
I would like to do the following :
Boot the server
launch xdm (use grphical login)
login as user test (passwd pass)
launch an applet.
All of this automatically when the computer boot.
Any ideas ?
Thanks
xavier
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-(((
Date: Thu, 22 Mar 2001 16:08:42 +0100
> > Yep ,
> > `/sbin/fdisk -l /dev/hd[a-z]`
> > would be useful.
> >
> > PS. did you run lilo, with the "boot=" flag pointing to /dev/hda ??
> > (`cat /etc/lilo.conf `: post that too)
>
> thanks, Eric!
>
> I forgot to mention that I'm booting from the boot record in the old HD
> and once the boot is completed the new HD works perfectly!
You set the bootchain to boot from hdc first in the BIOS?
> from my reading of the NGs I learned that there is a good chance that
> the problem is the BIOS not recognizing the HDs correctly; here's what
It's never wrong, it can be different from what LILO thinks.
That can be the reason of such confusion.
> was detected; does it look ok?
>
> /dev/hda /dev/hdc
> detected by BIOS: 58168/16/63 6256/16/63
> reported by dmesg: 7271/128/63 6256/16/63
I'd expect problems with LILO on hda indeed.
You can tell that the CHS values are different.
try booting with hda=58168,16,63
I'm not sure, LILO may complain again.
fdisk most certainly will, but give it a try.
> here's the info I think is relevant:
>
> root@queluz:~# fdisk -l /dev/hda
> Disk /dev/hda: 128 heads, 63 sectors, 7271 cylinders
> Units = cylinders of 8064 * 512 bytes
> Device Boot Start End Blocks Id System
> /dev/hda1 1 17 68512+ 83 Linux
> /dev/hda2 * 18 34 68544 83 Linux
> /dev/hda3 35 100 266112 83 Linux
> /dev/hda4 101 7271 28913472 5 Extended
> /dev/hda5 101 133 133024+ 83 Linux
> /dev/hda6 134 199 266080+ 82 Linux swap
> /dev/hda7 200 460 1052320+ 83 Linux
> /dev/hda8 461 981 2100640+ 83 Linux
>
> root@queluz:~# fdisk -l /dev/hdc
> Disk /dev/hdc: 128 heads, 63 sectors, 782 cylinders
This is not the same as in dmesg.
This is strange. Appearantly not a problem though.
> Units = cylinders of 8064 * 512 bytes
> Device Boot Start End Blocks Id System
> /dev/hdc1 1 33 133024+ 83 Linux
> /dev/hdc2 * 34 42 36288 83 Linux
> /dev/hdc3 43 108 266112 83 Linux
> /dev/hdc4 109 782 2717568 5 Extended
> /dev/hdc5 109 125 68512+ 83 Linux
> /dev/hdc6 126 158 133024+ 82 Linux swap
> /dev/hdc7 159 289 528160+ 83 Linux
> /dev/hdc8 290 782 1987744+ 83 Linux
>
> root@queluz:~# cat /etc/lilo.conf
> boot=/dev/hda
> root=/dev/hda2
> install=/boot/boot.b
> map=/boot/map
> vga=normal
> delay=20
> image=/boot/bzImage_2.2.18_1.7
This image is the one on hda too, right?
If you boot from hdc, this is probably erroneous too.
> label=bzImage2218
> read-only
>
> root@queluz:~# dmesg | grep QUANTUM
> hda: QUANTUM FIREBALLlct20 30, ATA DISK drive
> hdc: QUANTUM FIREBALL ST3.2A, ATA DISK drive
> hda: QUANTUM FIREBALLlct20 30, 28629MB w/418kB Cache, CHS=7271/128/63
> hdc: QUANTUM FIREBALL ST3.2A, 3079MB w/81kB Cache, CHS=6256/16/63
>
HTH,
Eric
------------------------------
Date: Thu, 22 Mar 2001 16:51:11 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: mail protocol
Holland King wrote:
>
> is smtp pretty much the standard mail protocol? if not what else is used
> commonly? thank you.
Pretty much standard is ESMTP.
If you've sendmail running on your Linux box try connecting -->
telnet mail_server_name 25
And you will see, for more info read:
http://www.sendmail.org/email-explained.html
Michael Heiming
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Any way to redirect a port scan?
Date: Thu, 22 Mar 2001 11:01:08 -0500
Michael Heiming wrote:
>
> Jean-David Beyer wrote:
> >
> > Warren Bell wrote (in part):
> > >
> > > Say you have a pesky person that port scans you daily. Is there any
> > > package I can install that will let me redirect all traffic (port scans)
> > > from a certain IP to his/her own ISP so they are scanning thier own
> > > provider? And where it looks like the scans are coming from thier own
> > > client and not from me?
> > >
> > I would think twice before doing this. How do you propose to get his
> > ISP's IP address? I get port scans and stuff from crackers who forge
> > the source addresses. It would not be fair to the owner of the forged
> > address to do things like that. The particular pest that scans me uses
> > addresses on my LAN as the source address; i.e., he uses addresses
> > such as 192.168.1.xxx, where he changes xxx for each batch of
> > attempts.
>
> That sounds reasonable, but wouldn't setting up ip spoofing protection
> (this is for 2.2.x)
>
> for f in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 1 > $f; done
>
> prevent that the kernel mirrors to your own/others network?
>
Will not work for me unless I go to a lot of trouble, because the ppp
ports are not up when I boot my system, and that is where the trouble
is expected. I suppose I could monkey around in the ppp* scripts, but
they came from RedHat, and nearly incomprehensible.
So I just setup stuff for ipchains instead.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 10:55am up 19 days, 17:58, 3 users, load average: 3.06, 3.07,
2.79
------------------------------
From: [EMAIL PROTECTED] (Abigail)
Crossposted-To: comp.unix.shell,comp.lang.perl.misc
Subject: Re: Weird(?) magic word for sh to invoke perl under Linux
Date: Thu, 22 Mar 2001 16:13:59 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
Paul Hughett ([EMAIL PROTECTED]) wrote on MMDCCLX September
MCMXCIII in <URL:news:99d2js$ead$[EMAIL PROTECTED]>:
## In comp.os.linux.misc * Tong * <[EMAIL PROTECTED]> wrote:
##
## : Under Solaris, I always use the following lines in my perl code to
## : invoke it:
##
## : #!/bin/sh -- # -*- perl -*- -w
## : eval 'exec perl $0 ${1+"$@"}'
## : if 0;
##
##
## If you use
##
## #! /usr/bin/env perl
##
## as the first line of your script, then it will be run using whatever
## copy of perl is found first on your path. I know this trick works
## on both RH Linux and Solaris, and believe that it will work on most
## Unix systems.
##
##
## The problem with using
##
## #! /usr/bin/perl
##
## for the first line, as suggested by some others, is that perl is often
## installed in /usr/local/bin/perl instead. (if it doesn't come with the
## system and is installed later by the sys admin).
OTOH, the system might come with /usr/bin/perl, but the admin installed
another perl anyway, because either he doesn't have the same compiler,
wants or needs difference configuration options, or wants or needs
a different (newer?) version of perl, while (s)he cannot remove or
symlink /usr/bin/perl because utilities coming with the OS depend on
the particular version.
Then /usr/bin/env only works for those who have the correct path.
Abigail
--
$"=$,;*{;qq{@{[(A..Z)[qq[0020191411140003]=~m[..]g]]}}}=*_;
sub _ {push @_ => /::(.*)/s and goto &{ shift}}
sub shift {print shift; @_ and goto &{+shift}}
Hack ("Just", "Perl ", " ano", "er\n", "ther "); # 20010322
------------------------------
From: Federico Bravo <[EMAIL PROTECTED]>
Subject: Function drawing
Date: Thu, 22 Mar 2001 16:30:52 GMT
Is there a program that draws functions either simple such as sin(x) or
more complex ones?I'm using RH7.0.
Thanks.
Federico.
------------------------------
From: "Intizar Ahmed" <[EMAIL PROTECTED]>
Subject: Re: Problems with downloaded mirror files
Date: Thu, 22 Mar 2001 16:51:28 GMT
I downloaded them via ftp mirror site. Downloading was done successfully but
i'm not sure in binary or text mode. I burned them as an ISO image according
to the instructions of Nero Burning software. I just can't read them even
with my sony multi read drive.
"Tauno Voipio" <[EMAIL PROTECTED]> wrote in message
news:fmOt6.2815$[EMAIL PROTECTED]...
>
> "Intizar Ahmed" <[EMAIL PROTECTED]> wrote in message
> news:iaOt6.17845$[EMAIL PROTECTED]...
> > Hi all,
> >
> > I have downloaded linux mirror files and successfully burned them, but
not
> > able to read them with any drive nor able to boot system with those
burned
> > linux images.
> > Does any body can help me to solve this.
> > thanks in adavnce
> >
>
> 1. How did you download them?
>
> 2. Are you sure that the downloading was done in binary mode (not text)?
>
> 3. How did you burn them on CDs (files / ISO image / other)?
>
> Tauno Voipio
> tauno voipio @ iki fi
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Otavio Exel)
Subject: Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-(((
Date: 22 Mar 2001 16:49:00 GMT
Reply-To: [EMAIL PROTECTED]
Eric <[EMAIL PROTECTED]> wrote:
> > I forgot to mention that I'm booting from the boot record in the old
> > HD and once the boot is completed the new HD works perfectly!
>
> You set the bootchain to boot from hdc first in the BIOS?
yes!
> > from my reading of the NGs I learned that there is a good chance that
> > the problem is the BIOS not recognizing the HDs correctly; here's what
>
> It's never wrong, it can be different from what LILO thinks.
> That can be the reason of such confusion.
I tried changing the BIOS settints to what dmesg reports (7271/128/63)
and it still didn't work..
> > was detected; does it look ok?
> >
> > /dev/hda /dev/hdc
> > detected by BIOS: 58168/16/63 6256/16/63
> > reported by dmesg: 7271/128/63 6256/16/63
>
> I'd expect problems with LILO on hda indeed.
> You can tell that the CHS values are different.
> try booting with hda=58168,16,63
how??? I can't get to the LILO prompt when I boot thru /dev/hda!
> > root@queluz:~# fdisk -l /dev/hdc
> > Disk /dev/hdc: 128 heads, 63 sectors, 782 cylinders
>
> This is not the same as in dmesg.
> This is strange. Appearantly not a problem though.
btw: I have the BIOS set to lba=On; is this correct?
> > image=/boot/bzImage_2.2.18_1.7
>
> This image is the one on hda too, right?
> If you boot from hdc, this is probably erroneous too.
hmm.. I'm not sure.. I haven't touched the old HD since I moved it to
/dev/hdc; it was working fine when it was the only HD (/dev/hda);
--
Otavio Exel /<\oo/>\ [EMAIL PROTECTED]
------------------------------
From: "Davide Bianchi" <[EMAIL PROTECTED]>
Subject: Re: Function drawing
Date: Thu, 22 Mar 2001 11:51:50 -0800
"Federico Bravo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Is there a program that draws functions either simple such as sin(x) or
> more complex ones?I'm using RH7.0.
Try GnuPlot
Davide
------------------------------
From: Mathew Kirsch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,alt.os.linux,alt.os.linux.mandrake
Subject: Re: eth4, eth5??
Date: Thu, 22 Mar 2001 12:13:50 -0500
Reply-To: [EMAIL PROTECTED]
Rick wrote:
>
> Hello all,
> I managed to configure up to only 4 NICs in my Linux Mandrake 7.2 kernel
> 2.2.17 server.
> However I need to go up to 5 (or perhaps 6). However, linuxconf's Adaptor 5
> which is supposedly eth4 cannot be initialised. Meaning;
>
> /etc/rc.d/init.d/network restart gave:
> ..........
> ..........
> Bringing up interface eth3: OK
> Bringing up interface eth4: Delaying eth4 initialization. FAILED.
>
> How do i get eth4 to work properly??
First off, this is a Linux problem, not a UNIX Programming problem. Newsgroups
have been trimmed to Linux-specific ones only.
Now, here are the questions that have been asked:
1. Do you have enough system resources, like IRQ's?
5 cards is a lot for one system, but if that's all the system has in it
there should be no conflicts.
2. Does the card work if you install it in place of a working card?
Normal hardware troubleshooting procedures apply here. Check for conflicts.
Is there any way you can use virtual IPs to consolidate the addresses into
fewer cards?
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************