Linux-Setup Digest #444, Volume #19 Mon, 21 Aug 00 14:13:16 EDT
Contents:
problem in creating root partition ([EMAIL PROTECTED])
first time user (=?iso-8859-1?Q?=B4e=B3J=40Office?=)
Re: DHCP in a firewall (Chris)
Help! User took ownership of /home/* ([EMAIL PROTECTED])
User Crontab (brian)
Re: Playing music CDs, No sound ([EMAIL PROTECTED])
Re: WARNING: Somebody is trojaning UseNet with Perl Script. (blackbird)
Re: WARNING: Somebody is trojaning UseNet with Perl Script. (blackbird)
Re: kernel 2.2: linux sees 128 when 256 RAM? (moonie;))
Kernel panic message on install (Jason Souder)
Re: WARNING: Somebody is trojaning UseNet with Perl Script. (blackbird)
Re: SetSerial to IRQ 11 - setup? (TC)
Compiler can't find anything - RPMS too! (Kyle Parfrey)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: problem in creating root partition
Date: Mon, 21 Aug 2000 16:55:48 GMT
hi guys,
this is my system configuration
* intel PIII 550 Mhz
* 128 MB RDRAM
* 8.4 GB Quantum Harddisk
* partition details
* primary 3 GB (win 95)
*extended
* I logical 1.5 GB (win95)
* II logical 1.5 GB (win95)
i tried to install RedHat Linux 6.2. using "custom installation". when
it came to creating the necessary partitions i used "diskdruid".when i
tried to create the / (1400 MB) partition it says "partition to big"
when the available space was around 1800 MB.i just gave 1 MB (to check)
for / partition.even then it reported the same error message.
can anyone help me?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: =?iso-8859-1?Q?=B4e=B3J=40Office?= <[EMAIL PROTECTED]>
Subject: first time user
Date: Mon, 21 Aug 2000 13:12:39 -0400
It's not the first time I use Linux, but is the first time I install
Linux and also with a computer build on scratch. I'm wondering if
Redhat 6.2 support "Promise Ultra66 PCI Controller Card" and also Voodoo
3 2000 (or 2200, I forgot the number).
Also, when I want to install Linux on a blank hard drive, should I use
the Linux boot disk created from the CD to boot it? Can the hard drive
be connected to the Promise card when I install Linux, since nothing is
on the hard drive, so no driver for the card.
--
Anson
------------------------------
From: Chris <[EMAIL PROTECTED]>
Subject: Re: DHCP in a firewall
Date: Mon, 21 Aug 2000 12:23:33 -0500
Peter,
It may be something simple like setting eth0 as your default gateway.
Do a netstat -rn & make sure you have a default gateway set.
As for DHCP, yes, you need to get your IP address from roadrunner
dynamically. However, that doesn't mean you can't set your own internal
IP's manually. The reason you may want to do this is because with a
cable modem you're on a (relatively) local subnet. If you set up a DHCP
server, the DHCP requests have the potential to be broadcast on the
entire local subnet (not just to your machines). It may be a little
more work, but it shouldn't be too much trouble to set up eth0 to
receive the IP address from roadrunner via DHCP w/ ipforwarding enabled,
& set up eth1 with a static internal IP address that will be the default
gateway for your Win98 machines, each of which can have their own static
internal IP.
Chris
In article <[EMAIL PROTECTED]>, Peter Kelly
<[EMAIL PROTECTED]> wrote:
> Someone please tell me if this logic is faulty...
>
> I'm setting up a router/firewall/learning linux box. It will live
> between the cable modem and my Win98 boxes, if I can ever figure out
> how to get to the internet through the linux box.
>
> I use Roadrunner as an ISP. They require DHCP service, since they
> don't offer static IPs. They Win98 box is setup for this. Everything
> works fine on that end.
> The linux box uses eth0 with DHCP. It has no problem getting an IP
> from RR.
> I want to use DHCP for eth1 on the linux box. This way, I don't have
> to change anything for the Win98 box, except move the cat5 cable to
> the cable modem to the crossover cable to eth1. This is easy enough.
> Then again, do I have to change anything in the Win98 box to
> understand a 192.x.x.x IP? It's used to a 24.x.x.x. I could be
> reaching for straws.
>
> I'm using two recent Linksys LNE100TX PCI ethernet cards in the linux
> box. Since they are so recent, I had to upgrade to kernel 2.3.99.
> The tulip driver for 2.2.x didn't work anymore. This is done.
>
> I've got eth0 talking to roadrunner, and can get an IP and connect to
> the Internet. Netscape works on the linux box.
> Apparently, I've got the DHCP working for eth1. When I hook up the
> cables like I'll need, I can release/renew the IP in Win98 and get an
> IP from the linux box from eth1. It's as expected, according to the
> 'range' I setup in the /etc/dhcpd.conf file.
>
> Big problem still. I can get the linux box talking to the internet,
> and I can get an IP from eth1 for the Win98 box. I just can't talk to
> the internet from the Win98 box.
> In the
> /etc/sysconfig/network-scripts/ifcfg-eth1 file, I establish the IPADDR
> as 192.168.0.1 like the firewall mini-HOWTO I downloaded suggests.
> According to ifconfig, everything is cool there.
>
> Like I said, the daemon is running, and assigns 192.168.0.2 to the
> WIn98 box. What do I need to do to get the eth1 to talk to eth0?
> Is this a problem with the gateway in Win98? I"m sure I'm one or two
> lines of code away from completion, but I'm not sure where they go
> right now.
>
> Thanks ahead of time.
>
> Peter
>
>
> When responding by email, please change the no-spam to disco.
> Sorry for the inconvenience.
> Spam really sucks.
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Help! User took ownership of /home/*
Date: Mon, 21 Aug 2000 17:22:07 GMT
I am runnung Linux 6.2 on i386. This problem has happed on two
separate occasions each on a different machines soon after Linux was
installed.
I found that the owneship of /home/* was overtaken by the same user:
abaskran!
I strongly believe this was done by some buggy process, poor
configuration, or lame RPM and not by a break in.
I also believe that abaskran is listed as the culprit both times simply
because he is the first user when listed alpabetically.
Each machine little in common. One is a mail server with root login via
sshd (by the admin group only). And the other a Samba fileserer behind
the firewall. Both run Apache.
Perhapse it was done by myself on accident, but I doubt it. Has anyone
else encounter this before? Am I missing a Red Hat patch?
Is there a log file that will show the exact time of the takeover?
I fixed it on the first machine weeks ago, and it never resurfaced,
until now, on the second machine.
Thanks in advance.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: brian <[EMAIL PROTECTED]>
Subject: User Crontab
Date: Mon, 21 Aug 2000 12:28:01 -0500
I have no problem running crontab from root. Yet, as another user, I
cannot seem to get crontab going.
Doing the following command does not seem to make it work:
crontab [name of crontab file]
Any advice would be greatly appreciated to allow a user to use their own
crontab file.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Playing music CDs, No sound
Date: Mon, 21 Aug 2000 17:28:24 GMT
I would check all the necessary links in the chain.
Can you read a data cd?
Can your sound card make any noise?
I believe there are two ways that data can get to the card: from a
direct wire from CD to sound card, and as data through the
motherboard. Perhapse Win98 and Linux are using different methods.
In article <8nq934$5g2$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hi,
>
> I'm not getting any sound when I use XMMS or Gnome's
> CD player to play a CD in my CDROM drive (ATAPI IDE).
> I think they are reading the tracks because the timer
> showing time elapsed is running but there's no sound.
> There is sound when reading files from the harddisk,
> e.g. playing mpeg3 files. I've tried using cdparanoia to
> retrieve tracks from the CD to wav files on the hard disk,
> and then playing the wav files with XMMS and this works.
> But how can I play tracks directly from the CD?
>
> For info, I'm using the ALSA driver. I've also checked the
> mixer, and the CD sound is maximum and not muted. I have a dual
> boot system, and the CD player in WIN98 does work.
>
> TIA
>
> T.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: blackbird <[EMAIL PROTECTED]>
Crossposted-To:
alt.binaries.sounds.mp3.d,omp.os.linux.networking,comp.os.linux.security,comp.os.linux.misc
Subject: Re: WARNING: Somebody is trojaning UseNet with Perl Script.
Date: Mon, 21 Aug 2000 10:41:26 -0700
"Andrew N. McGuire" wrote:
>
> On Sat, 19 Aug 2000, blowfish (Alex Lam) quoth:
>
> ~~ Date: Sat, 19 Aug 2000 20:54:05 -0700
> ~~ From: "blowfish (Alex Lam)" <[EMAIL PROTECTED]>
> ~~ Reply-To: ..
> ~~ Newsgroups: alt.binaries.sounds.mp3.d, comp.os.linux.setup,
> ~~ omp.os.linux.networking, comp.os.linux.security, comp.os.linux.misc
> ~~ Subject: Re: WARNING: Somebody is trojaning UseNet with Perl Script.
> ~~
>
> [ snip post, again ]
>
> Sorry for the second reply, but I have looked through the Perl
> script that is a supposed 'Trojan'. It is not a Trojan Horse, it
> looked like familiar bad code, and it was. It is a 3 line RSA
> encryption program written in Perl. It is also broken and pretty
> much about the worst code I have ever seen (that is taking into
> account the fact that it is obfuscated as well). In other words,
> there is no reason to fear that Perl snippet, and you have just
> wasted a tremendous amount of bandwidth.
>
Yes, The script *is* broken, because I *took* part of it out *before* I
reposted it. I don't want somebody's machine to get compromised by
reposting the whole script. If you want, post a reply here with your
private email address, and I will send you the *ORIGINAL* script posted
by doggie.
Alex / blowfish.
> anm
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~ Andrew N. McGuire ~
> ~ [EMAIL PROTECTED] ~
> ~ "Plan to throw one away; you will, anyhow." - Frederick P. Brooks, Jr. ~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: blackbird <[EMAIL PROTECTED]>
Crossposted-To:
alt.binaries.sounds.mp3.d,comp.os.linux.networking,comp.os.linux.security,comp.os.linux.misc
Subject: Re: WARNING: Somebody is trojaning UseNet with Perl Script.
Date: Mon, 21 Aug 2000 10:48:45 -0700
"Andrew N. McGuire" wrote:
>
> On Sun, 20 Aug 2000, NuQ quoth:
>
> ~~ Date: Sun, 20 Aug 2000 15:23:24 -0500
> ~~ From: NuQ <[EMAIL PROTECTED]>
> ~~ Newsgroups: alt.binaries.sounds.mp3.d, comp.os.linux.setup,
> ~~ comp.os.linux.networking, comp.os.linux.security, comp.os.linux.misc
> ~~ Subject: Re: WARNING: Somebody is trojaning UseNet with Perl Script.
> ~~
> ~~ x-no-archive: yes
> ~~ "blowfish" <[EMAIL PROTECTED]> wrote in message
> ~~ news:[EMAIL PROTECTED]...
> ~~ > "Andrew N. McGuire" wrote:
> ~~ > >
> ~~ > > On Sat, 19 Aug 2000, blowfish (Alex Lam) quoth:
> ~~ > >
> ~~ > > ~~ Date: Sat, 19 Aug 2000 20:54:05 -0700
> ~~ > > ~~ From: "blowfish (Alex Lam)" <[EMAIL PROTECTED]>
> ~~ > > ~~ Reply-To: ..
> ~~ > > ~~ Newsgroups: alt.binaries.sounds.mp3.d, comp.os.linux.setup,
> ~~ > > ~~ omp.os.linux.networking, comp.os.linux.security,
> ~~ comp.os.linux.misc
> ~~ > > ~~ Subject: Re: WARNING: Somebody is trojaning UseNet with Perl Script.
> ~~ > > ~~
> ~~ > >
> ~~ > > [ snip post, again ]
> ~~ > >
> ~~ > > Sorry for the second reply, but I have looked through the Perl
> ~~ > > script that is a supposed 'Trojan'. It is not a Trojan Horse, it
> ~~ > > looked like familiar bad code, and it was. It is a 3 line RSA
> ~~ > > encryption program written in Perl. It is also broken and pretty
> ~~ > > much about the worst code I have ever seen (that is taking into
> ~~ > > account the fact that it is obfuscated as well). In other words,
> ~~ > > there is no reason to fear that Perl snippet, and you have just
> ~~ > > wasted a tremendous amount of bandwidth.
> ~~ > >
> ~~ > > anm
> ~~ > > --
> ~~ > >
> ~~ > It's bad code all right. But it did try to install a "new" KDE on my
> ~~ > machine.
> ~~ >
> ~~ > Yes, it even pops up a new window asking me if I wanted to proceed?
> ~~ >
> ~~
> ~~ So it only affects Linux users? Heheh ;-)
>
> [anm@hawk ~] cat rsa.pl [pts/2]
> #!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
> $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
> lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
>
> Is the code you are talking about, right? This is not a Trojan,
> it will not ask you if you want to install a new KDE! As a matter
> of fact, put it into a file, and run it on another text file.
>
> [anm@hawk ~] ./rsa.pl file [pts/2]
> Can't rename file to <X+dfilelMLa^filelN%0]dsXx++lMlN/dsM0<j]dsj: \
> No such file or directory, skipping file.
>
> Broke. If you want the source to this idiodic program, go to:
>
> http://www.offshore.com.ai/arms-trafficker
>
> It is right there and it explains what it does, follow the links
> and there is even a two line version. As two your installing a
> new KDE, that is due to something you did, not that program.
> If you are really that concerned, you can email me and I will
> explain what each line of the code does. To make matters worse,
> the first line was #!/bin/perl!!! Who in the hell puts perl in
> /bin? Except on Solaris where /bin and /usr/bin are linked.
>
SuSE Linux has /usr/bin/perl just like Solaris. ;-)
No. I did not try to install a new KDE. Or any new installation of
anything.
Thanks, but I've checked my camel, llama books already, just to make
sure.
Alex blackbird blowfish.
> UTSL && HAND,
>
> anm
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~ Andrew N. McGuire ~
> ~ [EMAIL PROTECTED] ~
> ~ "Plan to throw one away; you will, anyhow." - Frederick P. Brooks, Jr. ~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: moonie;) <[EMAIL PROTECTED]>
Subject: Re: kernel 2.2: linux sees 128 when 256 RAM?
Date: Mon, 21 Aug 2000 13:45:03 -0400
On Mon, 21 Aug 2000, Ray Fencey wrote:
>Hi
>
>i have a quick question about this age old "i have x amount of mem, but
>free reports only y" question
>
>i've got a linux box with kernel 2.2[.15] w/256ram but doing free gives
>me a reported mem of 128... i thought that this was something that the
>2.2 kernels were to fix - well, the config options even give you a
>option of max memory going up to 2gb!
>
>is this simply something i've done wrong, or do i still need to pass
>certain params via lilo on kernel boot ('append MEM=256' was it?).
>
>thanks
>ray
I would have thought that if it sees more than 64M than it should see the whole
thing. The 2.2.X kernels don't fix this problem as it is a BIOS problem (there
are 3 protocols for sending this info, linux uses 2, one was a closed
specification). I would try to put "mem=256M" without the quotes at the
lilo prompt, it this works then add "append="mem=256M"" in lilo (with out the
outside quotes) and that should do it. If this doesn't work I would be
suspicious of the RAM.
--
moonie ;)
Registered Linux User #175104
KDE2
Kernel 2.4.0-test5
XFree86 4.0 Nvidia .94 drivers
RAID 0 Stripped
Test-Pilots-R-Us ;)
------------------------------
From: Jason Souder <[EMAIL PROTECTED]>
Subject: Kernel panic message on install
Date: Mon, 21 Aug 2000 10:49:29 -0700
I am new to Linux installs and have been trying for 2 days to install
RedHat 6.2 on my PC. I first tried a Win2k/Linux dual boot but the
system would hang on a Linux boot. I then tried a Linux only install,
but the same error message appears. I have tried various hard drive
partioning with Linux only and Win2k/Linux installs, but keep getting
the same results.
The install process goes well, but when I reach the end of the Linux
install and make the boot disk, Linux bombs on the restart. The message
looks like this:
Kernel Panic: Attempted to kill the idle process!
In swapper task - not syncing
My PC configuration:
ASUS A7V motherboard
AMD 800Mhz Thunderbird
128MB SDRAM PC133
IBM 75GXP 30GB ATA/100
Matrox G400 32MB
Plextor 8x4x32x
Netgear network card
SB Live!
I currently have both the hard drive and CDRW hooked up to the primary
and secondary IDE interfaces on the motherboard. I am not trying to use
the ATA100 connections -- Win2k did not recognize the connections until
after it was installed and the ATA100 driver was installed.
Thanks for the help,
Jason
------------------------------
From: blackbird <[EMAIL PROTECTED]>
Crossposted-To:
alt.binaries.sounds.mp3.d,comp.os.linux.networking,comp.os.linux.security,comp.os.linux.misc
Subject: Re: WARNING: Somebody is trojaning UseNet with Perl Script.
Date: Mon, 21 Aug 2000 10:53:54 -0700
NuQ wrote:
>
> x-no-archive: yes
> "blowfish" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > "Andrew N. McGuire" wrote:
> > >
> > > On Sat, 19 Aug 2000, blowfish (Alex Lam) quoth:
> > >
> > > ~~ Date: Sat, 19 Aug 2000 20:54:05 -0700
> > > ~~ From: "blowfish (Alex Lam)" <[EMAIL PROTECTED]>
> > > ~~ Reply-To: ..
> > > ~~ Newsgroups: alt.binaries.sounds.mp3.d, comp.os.linux.setup,
> > > ~~ omp.os.linux.networking, comp.os.linux.security,
> comp.os.linux.misc
> > > ~~ Subject: Re: WARNING: Somebody is trojaning UseNet with Perl Script.
> > > ~~
> > >
> > > [ snip post, again ]
> > >
> > > Sorry for the second reply, but I have looked through the Perl
> > > script that is a supposed 'Trojan'. It is not a Trojan Horse, it
> > > looked like familiar bad code, and it was. It is a 3 line RSA
> > > encryption program written in Perl. It is also broken and pretty
> > > much about the worst code I have ever seen (that is taking into
> > > account the fact that it is obfuscated as well). In other words,
> > > there is no reason to fear that Perl snippet, and you have just
> > > wasted a tremendous amount of bandwidth.
> > >
> > > anm
> > > --
> > >
> > It's bad code all right. But it did try to install a "new" KDE on my
> > machine.
> >
> > Yes, it even pops up a new window asking me if I wanted to proceed?
> >
>
> So it only affects Linux users? Heheh ;-)
>
Not on a carefully set up box. It got caught *before* it could do any
harm. ;-)
blowfish. blackbird. Alex
> NuQ
------------------------------
From: [EMAIL PROTECTED] (TC)
Subject: Re: SetSerial to IRQ 11 - setup?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 21 Aug 2000 15:34:56 GMT
On Fri, 18 Aug 2000 21:57:40 -0600, [EMAIL PROTECTED] (MaryP) wrote:
>In article <8ngl9b$jab$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>> I see to have a very similar situation and I have the setserial
>> command for /dev/ttyS2 IRQ 11 in rc.serial. However, upon reboot,
>> amongst all the other boot messages, I see a reference to "Wild
>> Interrupts!" after the rc.serial file gets invoked.
>
>and
>> On Tue, 18 Jul 2000 11:58:22 +0100, Dogbert Dilbert
>> <[EMAIL PROTECTED]> wrote:
>> >I always have to change setserial to IRQ11 to get my modem working
>> >(/dev/ttyS2 seems to be permanently set to IRQ 4); where should I go
>> >to change this setting so that I don't need to type in "setserial
>> >/dev/ttyS2 IRQ 11" every time I log in?
>
>I put the line
>
>/bin/setserial /dev/ttyS1 IRQ 7
>
>(which was the irq that worked for me)
>in /etc/rc/d/rc.local
>not in rc.serial.
>
>See if that helps any, especially Dogbert. I kind of picked the rc.local
>file hit-and-miss but works OK as a home for my setserial command.
>
>tscloud, have you told your BIOS to pretend it is not working with a Plug
>n Play OS? That helps me, as did disabling the unused serial port (2 in my
>case) in the BIOS.
>
>Mary P.
I finally did get an IRQ 11 entry in /proc/interrupts. I'm thinking
just b/c I got a successfull connection, maybe it was too short to
have actually generated an interupt? Everything seems to work
swimmingly however. I think the entry in rc.serial works fine and it
keeps rc.local a bit less cluttered but I think it's 6, 1/2 dozen of
another. Question though: is the use of IRQ 11 somehow frowned upon?
I've seen certian info detailing IRQ 11 as "Reserved". Should one not
use IRQ 11 for some reason? The only reason I'm using it now is b/c I
let my PnP BIOS configure the modem and that's what it used.
- TC
------------------------------
From: Kyle Parfrey <[EMAIL PROTECTED]>
Subject: Compiler can't find anything - RPMS too!
Date: Mon, 21 Aug 2000 18:06:18 GMT
This is probably a serious new user question and I feel that I am liable
to get a lot of hassle but here goes...
I can't get my compiler to compile anything. I am using openlinux 2.4
and I am trying to use programmes from tucows amd also a src rpm. The
compiler can't find X includes, some programmes accept the
--x-includes=/usr/X11R6/lib , others don't. They also can't find things
that are there: one tarred source couldn't find qt or qt2 when I have
both, an RPM (rpmfind I think) couldn't find libtcl.so.0 when it was in
my /usr/lib directory.
Do I need to set system paths for this sort of thing? Its strange that
the rpms can't find these, it seems that because they aren't installed
from rpms they can't see them, I don't know.
Also, where is a good place to get assorted lib files that rpms need? I
need all sorts of stuff I can't find.
Maybe rpmfind...
Thanks,
Kyle
------------------------------
** 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.setup) 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-Setup Digest
******************************