Linux-Setup Digest #134, Volume #21 Mon, 30 Apr 01 02:13:04 EDT
Contents:
Re: ipchains test with nmap and iptables logging (Manfred Bartz)
Promise Ultra100 Ide Controller and Caldera EDesktop 2.4 ("Wm. G. McGrath")
What happened to i2c (required for kwintv) (Mark W. Stroberg)
Re: RH 7.1 Installation does not start ("Ric Steinberger")
Redhat 7 sound problem on i810 ("Raheel Ahmad")
Re: Any way to set up Linux so that changing the IDE channel of the HD doesn't
require surgery? (Lucius Chiaraviglio)
Re: How do I compile using kgcc? (Marc D. Williams)
Re: RedHat7.1 startup & System Commander 2000 ("Alex")
Re: Q: Autodetect 2 kinds of Mouse on Laptop? (Lucius Chiaraviglio)
Prob w/ Mandrake 8.0 and neat Control Center display settings ("Michael Soto")
Re: Locked CD drive and etc (Stanislaw Flatto)
----------------------------------------------------------------------------
Crossposted-To: comp.os.linux.security
Subject: Re: ipchains test with nmap and iptables logging
From: Manfred Bartz <[EMAIL PROTECTED]>
Date: Mon, 30 Apr 2001 04:22:01 GMT
2b@home (HateLinux) writes:
> > Because when you nmap yourself everything goes through the
> > loopback interface. The kernel knows from the routing table which
> > interfaces belong to it and chooses the most efficient route.
> > This is not Linux specific, windoze f.e. works like that too.
> No way around that I suppose ?
Try <http://scan.sygatetech.com/>
Or you can ask a friend to scan you from the outside.
If you want me to run a nmap scan send me an email with the details.
> BTW, nice site you have....
Thanks. :)
--
Manfred
===============================================================
ipchainsLogAnalyzer, NetCalc, whois at: <http://logi.cc/linux/>
NEW: <http://logi.cc/linux/NetfilterLogAnalyzer.php3>
------------------------------
From: "Wm. G. McGrath" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Promise Ultra100 Ide Controller and Caldera EDesktop 2.4
Date: Mon, 30 Apr 2001 04:27:16 GMT
Howdy all,
I wonder if anyone can provide any assistance regarding the
installation of the Promise Ultra100 ide controller under Caldera
eDesktop 2.4?
I've Googled the net and there isn't much info. Promise is of no use
and the Ultra100 isn't listed under the Hardware Compatability List.
Anyone else gotten this controller to work?
Any and all assistance appreciated.
bill
--
Knowledge shared is knowledge squared.
Hence the power of Linux.
------------------------------
From: [EMAIL PROTECTED] (Mark W. Stroberg)
Subject: What happened to i2c (required for kwintv)
Date: Mon, 30 Apr 2001 04:35:53 GMT
I could not find the driver i2c.o anywhere on my system (Red Hat 7.1).
It existed in Red Hat 6.2. There is a driver in the directory
/lib/modules/2.4.2-2/kernel/drivers/media/video named i2c-old.o but
when loaded it does not resolve the i2c externals required by bttv.o
and tuner.o. What do I have to do to get kwintv to work in Red Hat
7.1? Why do things get so easily broken?
------------------------------
From: "Ric Steinberger" <[EMAIL PROTECTED]>
Subject: Re: RH 7.1 Installation does not start
Date: Sun, 29 Apr 2001 22:14:24 -0700
Red Hat seems to think this is a hardware problem, at least according to the
Installation Guide.
They suggest looking at: http://www.bitwizard.nl/sig11
ric
"Disnel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Greetins,
>
> I downloaded RH7.1 isos, burned on CD and tried to install.
>
> Each time it failed to run anaconda, sometimes with python error (python
> is unable to load libpthreads library), sometimes with simple SIG 11
> from anaconda. It has the same problems for all types of installation
> (Normal, Expert...)
>
> I have AMD Duron 750, 384MB RAM, IBM IDE disk 20GB, Matrox G400.
>
> Regards
>
> Disnel
>
>
------------------------------
From: "Raheel Ahmad" <[EMAIL PROTECTED]>
Subject: Redhat 7 sound problem on i810
Date: Fri, 20 Apr 2001 23:44:44 +0530
Hi,
I am having sound problems on my linux system which runs Redhat 7.0 on
P111 - 400 , 128MB ram, and an i810 motherboard.
sndconfig did detect the 810 sound card but occasionally my system just
hangs when starting *any* sound. So when i start xmms I have a 50-50 %
chance that my system won't hang.
Anyhelp would be appreciated.
Thank you,
Raheel..
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Subject: Re: Any way to set up Linux so that changing the IDE channel of the HD
doesn't require surgery?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 30 Apr 2001 05:23:46 GMT
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
>Lucius Chiaraviglio <[EMAIL PROTECTED]> wrote:
>> "Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
>>>Lucius Chiaraviglio <[EMAIL PROTECTED]> wrote:
>>>> "Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
>>>Would you mind telling me how the psychic medium is going to work?
>> Well, if I knew exactly how it was going to work, I'd do it myself.
>
>OK
>
>> But here's what I'm trying to obtain (which is I think related to, although
>> not exactly the same, as the way Windows NT/2000 does it if you pick Option
>> B in #1 below, or the way MessDOS does it if you pick Option A, but I could
>> be wrong):
>
>> 1. (Option A) Whatever part of the boot process that assigns drive
>> letters assigns the first hard disk found to be /dev/hda (searching
>
>This is fine, but it's the bios, not linux, that you are talking about.
>By the time linux runs the bios has finished and has booted linux
>(ahem). So linux can't influence which disk is booted.
Linux doesn't get to influence which disk is booted, but it does
(presumably, since DOS and Windows do) get to influence which one gets which
drive letter/device designation.
>> in order of IDE controller, then in position of disk on IDE
>> controller -- something similar should be possible with SCSI drives).
>
>> 1. (Option B, even better) The drive that the boot loader ran on gets
>
>Unfortunately, the boot loader is run (i.e. chosen) by the bios.
>
>> gets assigned to be /dev/hda, no matter whether other drives came
>
>Oh, I see, you are only talking about fstab entries. Linux currently only
>looks at the controller ordering. You are suggesting that it should
>rename according to the bios ordering? That would be very confusing -
>most people hate it when the naming changes without the physical system
>changing. They hate it to such an extent that they wrote devfs, which
>provides namespace related ONLY to physical dispositions, not to naming
>conventions.
Well, actually, I was trying to do the opposite of what people hate --
I want to get some naming stability in the face of physical change.
>> before it. Then use option A above (or something similar) to figure
>> out what to do with the rest of the drives.
>
>What to do where? You already booted. That's all you need.
I mean what drive letter/device designation to assign them. Thus,
the CD-ROM drive could still become /dev/hdb, even if the hard drive moved
(and no matter which IDE channel the CD-ROM drive was on).
>> 2. If #1 above worked, /etc/lilo.conf and /etc/fstab could be left
>
>lilo.conf is irrelevant. It's only used to compile a NEW boot sector,
>and you want to use your old one.
Exactly. I am trying to avoid needing to edit /etc/lilo.conf
repeatedly.
>> pointing at /dev/hda even if the hard disk was moved to the secondary
>
>You ccould actually recalculate fstab at bootup, if that's all you're
>worried about. The kernel only mounts the / partition - whatever it is,
>and from then on it's all scripts. The scripts in rcS.d that do the
>rest of the mounts can easily edit fstab before using it.
I'll have to look into this. I might have found another option for
this, but I haven't yet had a chance to see whether it does what I think it
does (see below).
>> IDE channel (although in the case of Option A, if another hard
>> disk was present on the primary IDE channel, it would hose the
>> scheme -- Option B gets around this).
>
>> 3. After finishing with all of the hard drives, do the removable media
>> drives (unless one of them is the boot drive), including CD-ROM's.
>
>What about scsi :-).
Use a variation upon the same idea. :-) Of course, this is a
somewhat trickier problem, due to the greater number of options for
rearranging things.
>> Now that I've laid out the above, I have a nasty sneaking suspicion
>> that Linux just doesn't do this (and if I had to hazard a guess, none of the
>> other Unixes do either). It sure would make my testing job nicer, though.
>> I work with machines (CompactPCI CPU boards) that (depending upon the model)
>> have quirks such as primary IDE only on the board and (for mechanical reasons)
>> being a real pain in the behind to exchange, and secondary IDE only out the
>> rear panel I/O card and being relatively easy to exchange, but not available
>> at all in some cases; some have no space for a hard drive on the board, and
>> the only media on the board must be a CompactFlash module, if anything. It
>> isn't too hard to figure out, but gets quite laborious, especially when I have
>> to do surgery on /etc/lilo.conf and /etc/fstab whenever I have to move a test
>> drive (and often the drive has been taken off and put on a shelf before I know
>> what configuration of system it will be in next, meaning that I have to fix it
>> after the fact with the rather, um, mediocre rescue mode of the Red Hat 6.2
>> installation CD).
>
>Sounds like using sed on fstab at bootup is what you want to do.
I might have to try this out . . . or I might not. Last Friday I was
messing with a Red Hat 7.0 installation (as opposed to just the rescue mode of
the installation CD) for the first time. I noticed that /etc/fstab has
entries for hard disk partitions that begin with things like "LABEL=/" and
"LABEL=/boot". Intrigued, I tried to find out about this, and came upon ext2
disk labels, set by the "e2label" command. The upshot of this is that you can
edit /etc/fstab to find partitions by their ext2 disk labels. For some
reason, this option seems not to have been used in the Red Hat series before
version 7.0, but version 6.2 has the e2label command, and I tried it on a
MontaVista Hard Hat 1.1 system (almost the same as Red Hat 6.1), and the
system boots and mounts its file systems properly, except that it keeps giving
me this stupid error about one of the file systems being "already mounted"
according to mtab (even after I deleted /etc/mtab). My best guess is that the
"LABEL=" feature works almost right in earlier versions of the Red Hat series,
but was only fixed to work completely right in version 7.0. I haven't yet had
a chance to try moving that hard disk, though (I discovered this pretty late
on Friday). If this does what I need, it will solve half of the problem; the
remaining half of the problem will be to convince Lilo to point to the disk
that it is on rather than where the disk used to be.
--
Lucius Chiaraviglio
New e-mail address is approximately: [EMAIL PROTECTED]
To get the exact address: ^^^^^^^^^^^^^^^^^
Replace indicated characters with common 4-letter word meaning the same thing
and remove underscores (Spambots of Doom, take that!).
------------------------------
From: [EMAIL PROTECTED] (Marc D. Williams)
Subject: Re: How do I compile using kgcc?
Date: Mon, 30 Apr 2001 05:26:49 -0000
Reply-To: [EMAIL PROTECTED]
On Fri, 20 Apr 2001 15:26:25 -0400, Gregory Davis wrote:
>> When Red Hat bundled 7.0 for release, they bundled it with version
>> 2.96 of GCC
>
> Cool, I'm using SuSE 7 with a few things modified, but I've never ran gcc
> at anything over 2.95.2 (explaining why I've never heard of kgcc).
>
Not sure if the OP got an answer to the kgcc thing (and I missed the
original post).
Look in the kernel source's toplevel Makefile and you'll see
CROSS_COMPILE =
I believe if you put the letter `k' there then make will use kgcc
(and other `k' stuff if they exist - I know nothing about RH's gcc
stuff layout).
In the Makefile is stuff like:
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
CC = $(CROSS_COMPILE)gcc
which would then use kas, kld, kgcc, etc. I have no idea what happens
if it can't find a `k' utility such as kas, kld, etc.
Maybe just uncomment the CC line to CC = kgcc (??).
Marc
------------------------------
From: "Alex" <[EMAIL PROTECTED]>
Subject: Re: RedHat7.1 startup & System Commander 2000
Date: Mon, 30 Apr 2001 15:27:29 +1000
Paul Lew wrote in message ...
>On Sun, 29 Apr 2001 02:48:10 +1000, Alex <[EMAIL PROTECTED]> wrote:
>> I have successfully installed RedHat7.1 on my second physical HDD.
SC2000
>> is my boot loader for Win2K and WinME on my first physical drive. RH
boots
>> from the floppy. Lilo was not installed during the initial setup.
>> What can I do within Gnome (or at the command line) to allow the Linux
>> partition on my second HDD to be bootable such that SC2000 can detech and
>> load this OS ?
>> (can this partition be started without lilo?, I'd also like to avoid
writing
>> to or using the MBR if possible).
>> I'd very much appreciate a step by step guide on doing this.
>>
>> More details:
>> MBR: contains System commander
>> 1st HDD: Two Win OSs
>> 2nd HDD: 1st primary partition: Linux Swap: 2nd primary partition: Linux
>> native:
>> 3rd extended logical partition: Fat32 - a data storage
for
>> win apps.
>>
>Install lilo onto the "boot partition" of linux; then configure sys
commander
>to boot linux in the "boot partition" location.
>
>I have a machine with the old (1st gen) of sys com and have on the
>1st hdd: dos, win98se
>2nd hdd: linux with mutiple partitions.
>
>Use your help function in system commander.
Actually, this was one of the first things that I did.
Lilo was installed on the 1st native linux partition.
Then SC2000 detected this new OS, but then gave an error message about the
boot information being in "error" or corrupted. I subsequently re-installed
and choose not to have lilo install at all, only from floppy.
My next plan of attack, re-install RH7.1, but this time I will mount 3
partitions,
/boot
/
/Swap
Will this automatically make linux put the necessary startup files in the
first partition (of the 2nd physical drive), such that SC2000 can reference
this OS?
I have found SC2000 setup relatively easy to use, because I can manually
specify the device and toggle if that partition is bootable or not. The
only area which I find difficult to understand is the way linux install sets
up boot information when lilo is not choosen. Seem like Linux install will
always assume that if Lilo is not choosen, the boot up information can only
be passed to the floppy disk. Thus my main question, how do I manually pass
the boot up information to the front of the disk, such that another 3rd
party loader can pick it up.
(c.f. like using the sys command in dos to transfer the necessary boot up
informatio to a HDD).
Thanks again in advance.
------------------------------
From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Subject: Re: Q: Autodetect 2 kinds of Mouse on Laptop?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 30 Apr 2001 05:39:22 GMT
[EMAIL PROTECTED] (webgiant ) wrote:
>I have a Compaq LTE Elite 4/75C (486DX2/75Mhz) with 16MB RAM, 1 GB
>hard drive, running Slackware 7.1.
>
>It has a built-in trackball mouse which comes up as a PS/2 mouse
>(/dev/psaux). There is a PS/2 port on the back and a serial port
>(along with the other conventional ports).
>
>I would like to be able to use a serial mouse with the system when I
>have the room for a mouse, so as to help prolong the life of the
>trackball mouse. To prolong the life of the keyboard, I would like to
>occasionally plug a PS/2 keyboard into the PS/2 port on the back (the
>laptop allows you to do this automagically and always knows what kind
>of device is plugged into the PS/2 port. I use console apps which use
>the mouse, so gpm is loaded on startup. I also use X on this system
>(IceWM for low overhead).
>
>Here's my problem: when I install Linux, it asks which mouse type I'm
>using, and then I'm stuck with whatever mouse type I chose on install.
>
>If I choose serial, I have to have a serial mouse every time I want to
>use a mouse for something in Linux. The built-in PS/2 trackball will
>never be used by Linux.
>
>If I choose PS/2, I have to either plug in a PS/2 mouse into the PS/2
>port (preventing its use as a keyboard port) or use the trackball. I
>can never use a serial mouse with the system.
Will a PS/2 keyboard/mouse Y cable work on the PS/2 port on this
laptop? Then you could connect both a mouse and keyboard to it
simultaneously. These things cost about $6 or $7. You might still have to
stop and restart the mouse driver manually when you plugged in a mouse or
removed it. If so, use "gpm -k" and "gpm -t ps2" to do this.
If you have to switch between serial and PS/2 mice, I don't know of an
automatic way to do it, but at least in the Red Hat series you can run
"mouseconfig" to change your mouse configuration in seconds. If Slackware
doesn't have this command (and I don't know off hand which rpm it is in, and I
don't have a Linux machine next to me to look it up, and don't know if it will
work on Slackware anyway), you will have to stop, reconfigure, and start gpm
(the mouse service) manually (after you get it working, of course, write a
script to do this so that you just have to type 1 command). You might even
be able to write something to poll the mouse and serial ports periodically,
but right now this is beyond me. (Note: if anyone knows of a way to do this,
let me know -- the lousy Belkin KVM switchboxes we have at work often hose the
mouse, requiring the gpm service to be stopped and started manually -- at
least you CAN do that in a few seconds, unlike in Windows).
--
Lucius Chiaraviglio
New e-mail address is approximately: [EMAIL PROTECTED]
To get the exact address: ^^^^^^^^^^^^^^^^^
Replace indicated characters with common 4-letter word meaning the same thing
and remove underscores (Spambots of Doom, take that!).
------------------------------
From: "Michael Soto" <[EMAIL PROTECTED]>
Subject: Prob w/ Mandrake 8.0 and neat Control Center display settings
Date: Sun, 29 Apr 2001 22:47:41 -0700
Greetings all,
I clean formatted Mandrake 8.0 and am lovin it, but I decided to poke
around the Mandrake Control Center to try out 1280x1024, instead of my
usual 1024x768. As I guessed, things were too hard to read. So I changed
the resolution back, and everything's fine, except for the fact that now
my background is stretched to 1280x1024. If I center it, it's also off
center. Seems something forgot to tell Gnome that the rest is back at
1024x768? How do I fix this?
Thanks,
Michael
------------------------------
From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: Locked CD drive and etc
Date: Mon, 30 Apr 2001 16:16:33 +1000
Mark wrote:
> Hi all
>
> I installed Mandrake 8.0. Everything went well, but all my removable
> drives (cd rom, zip, floppy) are locked for some reason. I can't even
> access it using root.
>
> Does anyone has any solution?
Welcome to Linux-land!
Linux IS a workhorse, serving many masters (multiuser), so a mounted part
of filesystem tree cannot be removed by "anyone" as it can be used by
someone else.
First it has to be unmounted (usually by root). Even root will get "part
busy" notice if this part is accessed.
So "umount" (NOT a typo and no brackets) the device you want to remove and
try again.
Have fun.
Stanislaw.
Slack user from Ulladulla.
------------------------------
** 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.setup.
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
******************************