Linux-Misc Digest #697, Volume #27               Mon, 23 Apr 01 13:13:01 EDT

Contents:
  Re: where can I find a printer driver of HP 5L printer  under redhat  (Christian 
Rose)
  Re: IOMEGA ZIP + RedHat (Rene van Paassen)
  Re: NFS is evil (Joshua Baker-LePain)
  Re: Could Linux be used in this factory environment ? (Dan Mercer)
  Re: Could Linux be used in this factory environment ? (Dan Mercer)
  Re: RAID question. (Lee Allen)
  Can't get program to run from inetd ([EMAIL PROTECTED])
  Re: Could Linux be used in this factory environment ? (Roberto Alsina)
  Re: SLIP connection to internet? ("A.C. 'Static' Stadt")
  Re: What program languages (or tools) are X-apps written in ? (Markku Kolkka)
  Re: How to have an application included in a Linux distribution? (John Hasler)
  Re: gnome & gnucash (John Hasler)
  Re: 1024 limitation (Markku Kolkka)
  Ensonique sound card troubles... (Adam Balgach)
  Re: SLIP connection to internet? ("Dave Addison")
  Re: Ensonique sound card troubles... ("Peter T. Breuer")
  Re: Cloning drives w/ Different geometry? (Francis Litterio)
  Re: RAID question. ("Steve Wolfe")
  fdopen error in libc.so.6 (Dan Yost)
  RE:  /var/log/message display in virtual console (Will Renkel)

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

From: Christian Rose <[EMAIL PROTECTED]>
Subject: Re: where can I find a printer driver of HP 5L printer  under redhat 
Date: Mon, 23 Apr 2001 16:15:11 +0200

hushui wrote:
> Thank you .
> In printtool list  , I can't find my printer .

What version of Red Hat?

I tried it with Red Hat 7.1 and "printconf", which is the printer
configuration tool for Red Hat 7.1, and there is an option for HP
LaserJet 5P.


Christian

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

From: Rene van Paassen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: IOMEGA ZIP + RedHat
Date: 23 Apr 2001 16:17:37 +0200

Marvin <[EMAIL PROTECTED]> writes:

> Hi
> 
> I have a very simple question. I got installed IOMega 100MB ZIP into PC 
> running RedHat 6.2. How can I setup this into redhat and how can I use 
> it ?
> 
> Thanks
Assuming you have installed an IDE ZIP (not a parallel port or USB
one), and say you have installed it on the secondary ide interface of
the second controller, then it will show up as hdd4 (older models) or
simply as hdd. Now make a symbolic link to the zip drive, 

cd /dev
ln -s hdd4 zip

And tell your system that it needs the ide-floppy driver for the zip,
add the line 

        alias /dev/zip ide-floppy

to your modules.conf (Oops, that might be conf.modules in redhat 6.2),
and do 

depmod -a

and then try to mount it somewhere with the mount command. 



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

From: Joshua Baker-LePain <[EMAIL PROTECTED]>
Subject: Re: NFS is evil
Date: 23 Apr 2001 14:22:45 GMT

Chris Nicholson <[EMAIL PROTECTED]> wrote:
> when i try to start rpc.statd, it says RPC unable to recieve;
> errno = Connection refused
> how do i fix it?

How are you trying to start it?  Which distro?  To run an NFS server,
you need to start portmap (typically /etc/init.d/portmap start) and
then nfs (/etc/init.d/nfs start).  You also need to allow portmap
from the server and clients in /etc/hosts.allow.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

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

From: [EMAIL PROTECTED] (Dan Mercer)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: Could Linux be used in this factory environment ?
Date: 23 Apr 2001 14:17:15 GMT

In article <gvkE6.6569$[EMAIL PROTECTED]>,
"Erik Funkenbusch" <[EMAIL PROTECTED]> writes:
> "Charles Lyttle" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> 
>> Industry (mostly) fixed that problem 30 years ago. For what its
>> worth, I had an NT machine I was working with bring down an entire LAN
>> of over 1000 machines. It was called the "ping of death". Some
>> applications could cause the NT software to start issuing network pings
>> at high speed. These faults often also caused a BSOD, but not always.
> 
> Ping of death was a specific type of exploit that needed special, invalidly
> formed packets to work.  There was no way to cause normal applications to
> generate POD packets.
> 
> Unix also suffered from this bug.
> 

POD's could also be formed by broken network cards,  in which case
a $20 piece of hardware could bring down a $multimillion network.

-- 
Dan Mercer
[EMAIL PROTECTED]



Opinions expressed herein are my own and may not represent those of my employer.


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

From: [EMAIL PROTECTED] (Dan Mercer)
Subject: Re: Could Linux be used in this factory environment ?
Date: 23 Apr 2001 14:14:35 GMT

All of this reminiscing reminds me of the interesting bug with
the Aegis anti-missile defense.  The system consisted of dual
batteries of twin gatling guns slaved together with computerized
fire control.  The batteries were designed to defend against the
nearest threat.  Someone found out you could defeat the system by
flying right down the middle between the batteries - each gave
way to the other.  That,  at least was a simple fix,  they
thought, we'll simply have both batteries attack.  So the next
countermeasure  was to follow one missile with another from a
different angle. After that they decided the programming needed
to be a bit more intelligent.

-- 
Dan Mercer
[EMAIL PROTECTED]



Opinions expressed herein are my own and may not represent those of my employer.


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

From: [EMAIL PROTECTED] (Lee Allen)
Crossposted-To: alt.windows98
Subject: Re: RAID question.
Reply-To: [EMAIL PROTECTED]
Date: Mon, 23 Apr 2001 14:35:13 GMT

On Sun, 22 Apr 2001 22:34:37 +0100, "AK" <[EMAIL PROTECTED]> wrote:

>I am thinking of RAIDing my drive... basically I got a free 30GB
>IBM GXP.. which is identical to the one in my system already.
>
>I am want speed and am not bothered about the reduancy
>that some modes of RAID offer.
>
>But I am a newbie when it comes to RAID and need some advice
>in whether its possible to have both windows 98 and Linux on the
>same machine..
>
>My current set-up is 4 primary partitions:
>
>c: 7.5gb
>d: 7.5gb
>e: 7.5gb
>f: 7.5gb
>
>Although I have no Linux on this GXP .. how can I add a Linux
>partion and have the RAID performance increase.  I guess RAIDing
>would destroy my partitions?
>
>My guess is that I cant but.. I am confused at what RAID does to
>the partitions and at what layer it operates.

1. RAID doesn't improve performance, it degrades it.
Some forms of RAID provide redundancy at the cost of performance, some
increase size by combining disk drives, which has no effect on
performance.

2. If you have a 30GB with Windows installed on it, and an empty 30GB
disk, I would install Linux on the new disk.

-Lee Allen

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

From: [EMAIL PROTECTED]
Subject: Can't get program to run from inetd
Date: 23 Apr 2001 14:40:21 GMT

I'm trying to get a small Perl program (/etc/kdttest) to run from inetd:

#!/usr/bin/perl

while ($line=<STDIN>)
  {
    chomp ($line);
    print "You said: $line\n";
    if ($line eq '.')
      { exit; }
  }

I can run this program interactively and it works as expected (permissions
set to 755). I have tried all of the following but nothing works (sorry
if some of it wraps). In the actual files, I have not indented the lines;
I have done that here to make it easier to read:

1. In /etc/inetd.conf:
   62010   stream  tcp     nowait  root        /etc/kdttest

2. In /etc/inetd.conf:
   62010   stream  tcp     nowait  root        /usr/sbin/tcpd
        /etc/kdttest

3. In /etc/inetd.conf:
   62010   stream  tcp     nowait  root        /usr/sbin/tcpd
     /usr/bin/perl /etc/kdttest

4. In /etc/services:
   kdt1            62010/tcp                       # Testing
   
   and then in /etc/inetd.conf:
   kdt1   stream  tcp     nowait  root        /etc/kdttest

I then completely kill inetd and run it again. This is what
I get in /var/log/messages:

Apr 23 15:30:39 thorin inetd[31597]: 62010/tcp: bind: Address already in 
use

However if I take the one line out of /etc/inetd.conf and restart
inetd I still can't telnet on this port so I can't understand why
the port is already in use.

I have spent quite some time searching for info on the web for
this but cannot find anything. Am I doing something stupid?

Cheers,
Kingsley.

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

From: [EMAIL PROTECTED] (Roberto Alsina)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: Could Linux be used in this factory environment ?
Date: 23 Apr 2001 14:45:06 GMT
Reply-To: [EMAIL PROTECTED]

On 23 Apr 2001 14:17:15 GMT, Dan Mercer <[EMAIL PROTECTED]> wrote:
>In article <gvkE6.6569$[EMAIL PROTECTED]>,
>"Erik Funkenbusch" <[EMAIL PROTECTED]> writes:
>> "Charles Lyttle" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]...
>> 
>>> Industry (mostly) fixed that problem 30 years ago. For what its
>>> worth, I had an NT machine I was working with bring down an entire LAN
>>> of over 1000 machines. It was called the "ping of death". Some
>>> applications could cause the NT software to start issuing network pings
>>> at high speed. These faults often also caused a BSOD, but not always.
>> 
>> Ping of death was a specific type of exploit that needed special, invalidly
>> formed packets to work.  There was no way to cause normal applications to
>> generate POD packets.
>> 
>> Unix also suffered from this bug.
>> 
>
>POD's could also be formed by broken network cards,  in which case
>a $20 piece of hardware could bring down a $multimillion network.

Well, in a non-switched network, they still can, just by causing
electrical trouble.

At least I used to have a card that, since a storm, would collapse
any 10-base-t network you put it in, I used it as an example in courses.

-- 
Roberto Alsina

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

From: "A.C. 'Static' Stadt" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,alt.os.linux.dial-up,comp.os.linux,comp.os.linux.admin,comp.os.linux.networking,linux.admin
Subject: Re: SLIP connection to internet?
Date: Mon, 23 Apr 2001 15:18:37 GMT

peetgrobler0 <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Is it possible to have a slip connection to my pop, then utilizing this to
> surf the internet, read e-mail, etc? Will it be faster/slower than ppp?
>
> Here's a transcript of my connection to my pop, using minicom on Mandrake
> 7.0
> Modem is a Lucent Winmodem, with the driver installed.
>
> AT
> OK
> ATDT3070307
> CONNECT 28800 V.90 bis
> username:ahlbi30502@za
> password:<password>
>
> c4-pta-icon:    (This is the prompt indicating I've been authorized, if I
> type the wrong password, I do not get here)
>
> If I then type "ppp", it states "PPP Authorization failed"
>
> If I type slip, it connects, giving me a string something like this:
> Connected via slip, your ip is xxx.xxx.xxx.xxx, MTU is 1500
>
> Then the session waits.
>
> Will I be able to utilize this to establish an internet connection? And
how?
> I've phoned the support, they stated that they do not support Linux,
> however, it might be possible, since you don't need to download software
> (for Windows) to access the network. They were unable to help me with why
I
> get "PPP Authorization failed", though.
>
> Regards,
> Peet Grobler.

Sorry Peet, but I'm not even going to attempt to give you a cut & paste
answer to your dillema here, I haven't had to use SLIP and/or PPP since the
about the time of the 1.3 kernel so I'm not too sure what has changed.

The short answer is yes, it is quite possible.  What has to happen after you
run 'ppp' on the server is you need to start 'ppp' locally, the two ends
initiate a 'handshake sequence' to determine your ip, gateway, dns's, mtu,
etc.

The normaly way of doing this was to use a script to feed to 'chat' that
would dial in, make the connection, then start ppp on both ends.

For specifics, please go to http://www.linuxdoc.org/ and read the PPP HOWTO
( http://www.linuxdoc.org/HOWTO/PPP-HOWTO/index.html  ).  I'm sure someone
has developed some nice 'X' front end to make the setup easier, but I can't
say for sure which one is best.

Perhaps someone who still uses a modem can give you some specifics.

Andrew



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

From: Markku Kolkka <[EMAIL PROTECTED]>
Subject: Re: What program languages (or tools) are X-apps written in ?
Date: 23 Apr 2001 18:23:49 +0300

"tvn" <[EMAIL PROTECTED]> writes:
> So I am
> wondering what programming languages are used to make these X - apps.

Nearly any language can be used: C, C++, Perl, Python, Tcl, Java, ...

> And could someone explain to me further about QT and GTK because
> I heard about them but not really sure what they are for.

They are "toolkits" (i.e. libraries) to make programming X applications
easier and to give applications an unified look and feel. The KDE desktop
is based on QT and Gnome is based on GTK.

For VC++/MFC programmers the easiest way to approach Linux programming
is (IMHO) QT/KDE using KDevelop.

-- 
        Markku Kolkka
        [EMAIL PROTECTED]

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

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: How to have an application included in a Linux distribution?
Date: Mon, 23 Apr 2001 12:26:49 GMT

Jim Cochrane writes:
> Does anyone here have advice or suggestions on how I can get an
> application I wrote included in some of the well-known distributions -
> Red Hat, Suse, Caldera, etc.?

Become a Debian developer and include it in the distribution yourself.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: gnome & gnucash
Date: Mon, 23 Apr 2001 12:41:31 GMT

Peter writes:
>  --compile, eh?

A synonym for --build and -b .

> and I suppose that's --build-dep?

No, it's just 'build-dep'.  It's a command, not an option.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: Markku Kolkka <[EMAIL PROTECTED]>
Subject: Re: 1024 limitation
Date: 23 Apr 2001 18:40:34 +0300

[EMAIL PROTECTED] (John Brock) writes:
> Am I right in assuming that RH 7.1 comes with the new version of
> LILO which does support booting from 1024 and above?

Yes, but the / or /boot partition must be created with fdisk because Disk
Druid doesn't support creating boot partitions beyond cylinder 1024.
See the RH7.1 Release Notes for details.

-- 
        Markku Kolkka
        [EMAIL PROTECTED]

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

From: Adam Balgach <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Ensonique sound card troubles...
Date: Mon, 23 Apr 2001 06:19:22 -0500

So i tried to install the alsa drivers for my soundcard (ensonique 128)
and it worked for a while, and then i did a kernel recompile to get scsi
elim working, and now im having a terribly hard time with the drivers.
basically ive stripped down my kernel so right now just the es1370.o is
the only sound driver, and its loaded as a module... however when i try
and do a

modprobe es1370 i get these errors:

/lib/modules/2.4.3/kernel/drivers/sound/es1370.o: init_module: No such
device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters

/lib/modules/2.4.3/kernel/drivers/sound/es1370.o: insmod
/lib/modules/2.4.3/kernel/drivers/sound/es1370.o failed

/lib/modules/2.4.3/kernel/drivers/sound/es1370.o: insmod es1370 failed



any idea as to why? all i want is my sound to work :-( what can i do!?!

thanks.

adam balgach.


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

From: "Dave Addison" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,alt.os.linux.dial-up,comp.os.linux,comp.os.linux.admin,comp.os.linux.networking,linux.admin
Subject: Re: SLIP connection to internet?
Date: Mon, 23 Apr 2001 17:22:57 +0100

I would suggest using one of the configuration utilities that come with
Mandrake. Manually configuring chat is a real problem.

The KDE modem controller is relatively easy to set up as is the rp3 package
that comes with redhat (but I don't know if it's included with Mandrake)

If you specifically don't want to use the graphical tools, you could try
wvdial or diald

Dave



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Ensonique sound card troubles...
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Date: Mon, 23 Apr 2001 16:40:00 GMT

In comp.os.linux.misc Adam Balgach <[EMAIL PROTECTED]> wrote:
> So i tried to install the alsa drivers for my soundcard (ensonique 128)
> and it worked for a while, and then i did a kernel recompile to get scsi
> elim working, and now im having a terribly hard time with the drivers.
> basically ive stripped down my kernel so right now just the es1370.o is
> the only sound driver, and its loaded as a module... however when i try
> and do a

> modprobe es1370 i get these errors:

> /lib/modules/2.4.3/kernel/drivers/sound/es1370.o: init_module: No such
> device

You don't have an es1370.


> /lib/modules/2.4.3/kernel/drivers/sound/es1370.o: insmod es1370 failed

> any idea as to why? all i want is my sound to work :-( what can i do!?!

Put in the right driver. Perhaps you have an es1371 or 1373? Doesn't
alsa have drivers for this?

Peter

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

From: Francis Litterio <[EMAIL PROTECTED]>
Subject: Re: Cloning drives w/ Different geometry?
Date: Mon, 23 Apr 2001 16:42:39 GMT

$[EMAIL PROTECTED] writes:

> Peter T. Breuer <[EMAIL PROTECTED]> wrote:
> 
> > It works fine! What is your criteria for "works"?

> I am not able to access the data.

That is not helpful to us.  Neither is this:

> I cloned drive A to drive C, which is a different model, larger size.
> Drive B does not work.

Show us a command that you type and the error message it gives you.  If
there are no explicit error messages, then describe the precise nature of
what you consider to be the failure.

Only then we can begin to help.
--
Francis Litterio
[EMAIL PROTECTED]

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

From: "Steve Wolfe" <[EMAIL PROTECTED]>
Crossposted-To: alt.windows98
Subject: Re: RAID question.
Date: Mon, 23 Apr 2001 10:45:04 -0600

> >My guess is that I cant but.. I am confused at what RAID does to
> >the partitions and at what layer it operates.
>
> 1. RAID doesn't improve performance, it degrades it.

  What?  Common sense, practical experience, and benchmarks all prove that
wrong.

> Some forms of RAID provide redundancy at the cost of performance, some
> increase size by combining disk drives, which has no effect on
> performance.

   I think that you're totally confused.  You're thinking of the hacks that
simply start writing at the first of one disk, fill it up, then start on the
second disk.  That is not how most RAID arrays work.  In a RAID 0 array,
when you write your data, it is split up and parts are written across all of
the disks.  When you go to read that, since the drives are working in
parallel, there is a higher throughput than a single drive.

   Now if you're talking about an IDE RAID setup, things get a little
trickier, because IDE wasn't designed for multiple devices, and has a higher
CPU usage than SCSI drives.  However, with two drives, one on each IDE
controller, overall performance is definitely increased.


    The one area where performance can suffer is in writing data under
certain RAID levels.  Under RAID 1, there is a small performance hit in
writing.  In RAID 5, there is a bigger hit, as checksums must be computed.
A lot of people will say "write performance sux under raid 5, dude!", but in
my experience, that's not true.  Even a relatively small SCSI RAID array can
*write* significantly faster than a good IDE drive can *read*.  While it's
not as fast as it would be under RAID 0, that's still pretty good write
performance.

steve




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

From: Dan Yost <[EMAIL PROTECTED]>
Subject: fdopen error in libc.so.6
Date: Mon, 23 Apr 2001 11:54:33 -0500

Hello,

I've encountered an error that's got me stumped.  I'm running Red Hat 7.0.  
All of a sudden, with *no* changes to the libraries that I know of (classic 
denial there), I've started getting errors:

$ rpm -qa
/usr/lib/rpm/rpmq: error while loading shared libraries: 
/usr/lib/libz.so.1: symbol fdopen, version GLIBC_2.1 not defined in file 
libc.so.6 with link time reference

$ ftp 192.168.1.1
ftp: error while loading shared libraries: ftp: symbol fdopen, version 
GLIBC_2.1 not defined in file libc.so.6 with link time reference


Those are two examples.  I can't do inbound ftp, either.  Once I 
authenticate, the ftp service disconnects (obviously due to the same error 
as above, I'd say).  If I reboot the machine, I can run, for example, "rpm 
-qa" a few times.  Then bang--no more, with the glibc error.  I have no 
idea what's up here.  Can anyone help?

Thanks very much,
Dan

-- 
remove NOSPAM to reply

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

From: [EMAIL PROTECTED] (Will Renkel)
Subject: RE:  /var/log/message display in virtual console
Date: Mon, 23 Apr 2001 17:04:46 +0000 (UTC)



For me...


cmdtool -Wg -Wb 238 130 238     -Wp  50 10 -Ws 500 100  -WL console -C -I 
"/usr/bin/tail -f /var/adm/messages" & 2>/dev/null >/dev/null

works very nicely


-- 
===============================================================
 Will Renkel
 Wheaton, Ill.
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

"Golf and bowling are not a matter of life and death ...
     they transcend such trivial matters!"

"da little BIG DOG!"
===============================================================

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


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

Reply via email to