Linux-Misc Digest #693, Volume #20 Fri, 18 Jun 99 23:13:08 EDT
Contents:
Printing with Dot Matrix (Tarkaan)
Re: Unlimited Kernel updates? (Peter Eddy)
Re: Virus scanner for Linux? (Stewart Honsberger)
Re: Has anyone got ip masquerade working on SuSE 6.1? (root)
Re: HP LaserJet 5L + Linux + Samba + Sleep Mode (Chris Harshman)
IDE Tape and TAR ("Ben Humphreys")
Re: New Travan Tape Drive was: Eagle Exabyte TR-3 Parallel Port Support. ("Ben
Humphreys")
Re: Parition Magic 4.01 obliterated my ext2 partition
Re: Linux uid limits! (Peter Samuelson)
Re: Netscape problem w/Apache (Chris Harshman)
Re: Linux uid limits! (Peter Eddy)
----------------------------------------------------------------------------
From: Tarkaan <[EMAIL PROTECTED]>
Subject: Printing with Dot Matrix
Date: Fri, 18 Jun 1999 21:17:34 -0400
Greetings,
I need some help printing with my Panasonic KX-P1124. It tends to take
the standard Epson 24 pin driver. I just need to know how to set it up.
If you have one of these and might possibly also be running RH 5.2,
could you possibly clue me in on how to set up my printcap and filter?
Or maybe there's an app that can set it up for me? :)
Thanks in advance for helping a new guy out.
-- Jack Tarkaan Kalamazoo, Michigan
-- http://www.bigfoot.com/~tarkaan mailto:[EMAIL PROTECTED]
-- NO UNSOLICITED E-MAIL AT THIS ADDRESS - Respect privacy - NO SPAM!!!!
------------------------------
From: Peter Eddy <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Unlimited Kernel updates?
Date: Fri, 18 Jun 1999 21:28:15 -0400
Yes, you can update 5.2 to 6.0 and I'd guess you'd be able to continue
to do so in the future. The only consideration is the amount of pain
you're willing to go through to upgrade. I have 5.2 and I don't belive
that the upgrade to 2.2.x kernels is that bad, but I haven't done it yet
either. Also, you might want to wait a while for the 2.2.x kernels to
become a little more stable. I'm happy on 5.2, kernel 2.0.36 and there's
nothing yet for which I need a 2.2 kernel except that lovely IBM Java
JDK.
Peter
Rick Nelson wrote:
>
> Okay, this may sound like a stupid question, but I just want to make
> sure I don't waste $80 when I buy RH 6.0 (I know, I know, but I need a
> good Linux book and don't have a good home connection to download apps).
>
> Is it possible for me to just buy an older version of RH (say, 5.2) and
> then just update the kernel to 2.2.10? I assume that all kernels are
> backwards-compatible, so what are the advantages to buying newer
> versions of distros when you can update from older (and cheaper)
> versions?
>
> If it's just that newer versions come with more apps, that's
> understandable. Are there major apps that only work on 2.2.x kernels?
> Just wondering.
>
> Rick
>
> --
> Chesapeake Sciences Corp.
> 1127B Benfield Blvd.
> Millersville, MD 21108
>
> Tel: (410) 923-1300 x3430
> Fax: (410) 923-2669
------------------------------
From: [EMAIL PROTECTED] (Stewart Honsberger)
Subject: Re: Virus scanner for Linux?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 19 Jun 1999 01:32:10 GMT
On Fri, 18 Jun 1999 23:45:07 GMT, Curley wrote:
>>Oh.. So that's why OS/2 beat NT by 4+ years? The GUI interface beat them
>>by atleast 8 years?
>
>Right now, Windows is the the operating system that incorporates the
>most new technology available. Not Linux, Not OS/2.
Keeping in mind that neither Linux or OS/2 have (to my knowledge) shut any
companies down or bought any companies out and claimed their technologies as
'innovations'.
--
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
Humming along under SuSE Linux 6.0 / OS/2 Warp 4
------------------------------
From: root <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Has anyone got ip masquerade working on SuSE 6.1?
Date: Fri, 18 Jun 1999 21:44:48 -0400
Allen Ashley wrote:
>
> Simple question: how did you do it?
>
> Now, both the susehelp and online instructions in the SuSE databank
> are wrong, so I have some specific questions:
>
> 1. How did you find out about ipchains? I had to grep the entire
> source tree looking for ipfwadm to find out that I had to learn
> about ipchains. There is a good site at mediaone that translates
> the ipfwadm commands into ipchains.
I am running SuSE 6.0, but I am also using the 2.2 kernel, so what I say
should work for you:
This was (surprisingly) the easiest part of my whole installation. Only
took two lines in boot.local:
ipchains -P forward DENY
ipchains -A forward -j MASQ -s 192.203.0.2/24 -d 0.0.0.0/0
Substitute your own IP address for the 192.203.0.2, which I happen to use.
>
> 2. What specific options did you enable when you compiled the
> kernel. The instructions given by SuSE refer to non-existent
> kernel options. I think I turned on what I had to, but I am
> not sure.
I am not sure either - I turned on what made sense, and saved my
configuration file on each pass. If something didn't work, I went back to
the relevent sub-menu of the make menuconfig kernel configuration, and tried
to figure out what went wrong. Sometimes it meant going to the kernel
documentation, sometimes to various newsgroups to find what xxxx error
message meant, but eventually I got everything more or less working. I have
to get the DOS mounts working under Samba, and sound isn't working right
under KDE, (errors are showing up in the messages log)
modprobe: can't locate module sound-slot-0
modprobe: can't locate module sound-service-0
but I have all of the essential stuff working. If you want, I could e-mail
you my 2.2.9 kernel configuration file, (Its probably too big to post here)
if you think it would help. I caution you that your ethernet and sound
cards will almost certainly be different from mine. You may also find that
I enabled a lot of bizzare stuff like Sun filesystem support and NFS
mounting, because I would like to experiment with mounting the filesystems
of my PC at work. I did have to upgrade a few files such as diald, and
change some of their default scripts.
>
> 3. Where did you get the necessary modules, such as ip_masq_ftp
> and such that are mentioned in the online databank, but cannot
> be added to 6.1? What did you do after downloading the 6Mb
> kernmod.rpm file?
>
Check the SuSE ftp site - they accidentally left this one out of the 6.1
distribution. I don't know about your kernmod.rpm file - but I usually just
do a rpm -Uvh *.rpm to install .rpm files. Is there missing dependencies on
this one?
> 4. Would you ever buy another SuSE distribution?
Their support sucks totally, (0 out of 10, they acknowledged my
registration by e-mail and that was it) and the occasionally revert back to
their native German sometimes in both the script comments, and in the
manuals. The compile kernel script button in KDE was nifty, except that it
pops up a dialog box entirely written in German!!! Don't know what it said,
but I did a kill -9 on it right there - tough enough mucking with the kernel
when can read the help files. Also, they have a strong eurocentric bias
when configuring PPP using YaST. My HP Laserjet 6L worked from the word Go
with Red Hat 5.1 and 5.2, but I struggled for a long time before I saw my
first printout under SuSE. And it was another week before the printouts
were readable, and in the correct orientation.
That being said, they have a ->lot<- of stuff packed onto their five CDs,
and really nifty startup and configuration tools. I could spend years
sifting through the software they included. I didn't like the idea of
downloading and installing all 72 megabytes of star office over a 56k
modem. And they were first off the mark (with version 6.0) with an almost
2.2 kernel ready distribution. Red had was several months slower coming out
with RH 6.0, although I must confess I was within a heartbeat of going with
Mandrake. The SuSE manuals are reasonably useful for basic stuff, (though
lacking in a few details) and YaST is a really cool system configuration
tool.
I think I made a good choice with SuSE however - Red Hat is really starting
to gouge people with their 6.0 distribution. SuSE includes a lot more for
half the price, and they have robust administration and startup script tools
which blow RH away as far as I am concerned. So yes, I would continue to go
with SuSE, simply because it is the devil I know. And Red Hat needs to get
their wrists slapped for excessive overcharging, although I would like to
see them prosper in the long run. I just don't want to see them get cocky,
like the boys in Redmond. Of course, things could change in the future, and
I have not tried caldera, debian etc. I can only speak for my own
experience.
I hope this thread does not devolve into a religious war over distibution X
vs. Y. Ultimately it doesn't matter, and is counter productive to the Linux
community as a whole. Use whatever you are happy with. If SuSE puts you
off, try some of the many other distributions. I had some mixed initial
experiences with SuSE, but I was not sufficiently peeved to start over with
another distro. I would like to hope that the producers of most major
distributors monitor these NGs, and would use the feedback (good and bad) to
improve their product.
One thing I *really* would like to see, is some sort of standardization as
to where distributions keep their config files and executables. This would
make it easier to use Redhat .rpm files on a Caldera system, .deb files on
redhat, or whatever. Installing stuff like gcc, gnome or KDE upgrades would
be a lot easier if it didn't matter what distribution you were using. Part
of the (legitmate) complaints about linux is that it is hard to set up.
Just witness the size of this NG as well as comp.os.linux.setup
Standardization of directory structures would go far to help alleviate this
problem, and bring developers on board. While I was at work a few weeks, I
was speaking with a major company rep which I cannot name, because of a
non-disclosure agreement. I asked them why they were not porting their
development tools linux. Part of their response was that the customers
would be using multiple distributions, and it would be very difficult to
support users running their software under an arbitrary linux system. (I
know this is false perception, since windows suffers from some of the same
issues) But this is their perception, so we must address it somehow. A lot
of what nearly killed UNIX in the first place was the balkanization by
various vendors. You cannot easily port software from HP/UX to Solaris, and
their root configuration files are stored in totally different places. This
above all, is the greatest #1 threat to the universal acceptance of linux
over NT.
--
===========================================================================
.~. Powered by SuSE Linux 6.0
/V\ Sometimes, you get more than you paid for...
_// \\_ Return address is for spambots. True address is:
(\ /) garyc at istar dot ca
^`~'^ Gary C. P. Eng. DSP & Embedded software engineer
------------------------------
From: Chris Harshman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.periphs.printers,comp.sys.hp.hardware
Subject: Re: HP LaserJet 5L + Linux + Samba + Sleep Mode
Date: Fri, 18 Jun 1999 20:42:09 -0500
We used (until it stopped feeding paper, and then finally
gave a consistent 3-light error code) a 5l with Linux (RH5)
and Samba for a year. A year of heavy, though not
consistent use. It never had any problems coming off
of sleep mode. (This was running on a P60 with a
standard SPP parallel port card.)
Rob Clark wrote:
>
> In article <[EMAIL PROTECTED]>,
> Casey McGinty <[EMAIL PROTECTED]> wrote:
> >Ok, heres a quick question:
> >
> >I have a HP LaserJet 5L connected to a Linux server running Samba. I
> >have 2 other Win98 machines that I have printing to the LaserJet 5L.
> >The slight problem I am having is that if I send a print job to the
> >laserJet when it is in sleep mode, the printer stops, and all three
> >display lights come on. To fix this I have to unplug the printer and
> >then plug it back in. The printer comes back to life and then will
> >spit out the pages i was trying to print, only they are filled with
> >junk.
>
> According to my 5L manual, all three lights means a hardware error that
> requires calling HP support. This doesn't sound like a Samba-related
> problem: what happens if you print directly from the Linux machine?
>
> Rob Clark, [EMAIL PROTECTED]
> http://www.o2.net/~gromitkc/winmodem.html
------------------------------
From: "Ben Humphreys" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.hardware,comp.os.linux.questions
Subject: IDE Tape and TAR
Date: Sat, 19 Jun 1999 01:51:00 GMT
Hi,
I have recently installed an IDE Travan tape under Linux and am using TAR on
the device /dev/ht0
I am having a few problems and would like to know if this is the correct
device to use, is there an interpreted device. I'm getting the feeling that
this is the RAW device and i'm not meant to be using it.
Also, how do I do a tape format,reten, rewind, etc under linux. Thanks in
advance for any help you may be able to give.
Regards,
Ben Humphreys <[EMAIL PROTECTED]>
------------------------------
From: "Ben Humphreys" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: New Travan Tape Drive was: Eagle Exabyte TR-3 Parallel Port Support.
Date: Sat, 19 Jun 1999 01:51:01 GMT
When you use this tape with TAR......do you reference it as /dev/ht0
I've just got some problems with mine and was not sure about this.
Regards,
Ben Humphreys <[EMAIL PROTECTED]>
Philip Hirschhorn wrote in message <7e9mpa$6b0$[EMAIL PROTECTED]>...
>[EMAIL PROTECTED] wrote:
>: Okay, no takers on this one. Well, I figured it was going to come down
to
>: buying a new tape drive. I want one that will use my current TR-3 and
TR-3
>: Extra tapes, so I am thinking of maybe getting a Travan 4 drive.
>
>: Can someone recommend a Travan Drive, which Kernel 2.2.x has sourced-in
>: drivers for, that I can compile directly into the kernel, and that runs
>: smoothly, stably, and reliably in a 100% i386 Linux environement.
>
>
>I've got a Seagate TapeStor 8000 (it's TR-4), and it's always worked
>wonderfully since kernel 1.something (I'm currently on 2.0.36). I've
>got the IDE version, but it also comes as a scsi.
>
>
>Phil
>
>--
>----------------------------------------------------------------------
>Philip Hirschhorn [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>----------------------------------------------------------------------
------------------------------
From: [EMAIL PROTECTED] ()
Crossposted-To: comp.os.linux.setup
Subject: Re: Parition Magic 4.01 obliterated my ext2 partition
Date: Fri, 18 Jun 1999 18:38:56 -0700
On Fri, 18 Jun 1999 23:57:48 GMT, Juergen Heinzl <[EMAIL PROTECTED]> wrote:
>In article <JEAa3.54$[EMAIL PROTECTED]>, Walt Shekrota wrote:
>>Why use tape .... disks are cheap and tape fails besides being slow.
>
>14 tapes, one for every day and two sets, 112GB, about $98. 14 disks,
Except disks can be more reliably reused than the tapes
you appear to be using. If you're interested in getting
the data back again, you're better off mirroring or
using more serious tape tech (like DLT).
>one for every day, two sets, 112GB, about $2800 ... aside from the
>need of a screw driver.
>
>>Just a thought. Please don't be offended :)
>At least I am not offended, I am on off ... $2702 ... that makes for
>a nice holiday.
[deletia]
--
bash: the power to toast your registry in style... |||
/ | \
Seeking sane PPP Docs? Try http://penguin.lvcm.com
------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Crossposted-To: comp.os.linux.development.system,comp.os.linux.setup
Subject: Re: Linux uid limits!
Date: 18 Jun 1999 20:44:43 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[Matthew Carl Schumaker <[EMAIL PROTECTED]>]
> This may be true for Alphs, and it is also true for x86 that ints and
> long ints are the same size = 4 bytes
Actually it's entirely a construction of the C compilation/runtime
environment. The OS is involved in that it specifies an ABI for its
libc and friends that everyone pretty much has to follow.
"for x86" is just too vague. A modern protected-mode compiler will
indeed use 32-bit ints and longs on x86. But it wouldn't have to.
> as far as ansi is concerned I could have sworn that long int were
> always supposed to be 4 bytes long. this was to ensure that you
> always got a 4 byte integer back in the days of 16 bits(when ints
> were only 16 bits)
Nope. I cannot quote chapter and verse, but I think ANSI (and ISO, by
extension (no pun intended)) says something like this:
sizeof(char)==1
sizeof(short int) >= 2
sizeof(int) >= 2
sizeof(long int) >= sizeof(int) >= sizeof(short int)
sizeof(long long int) is undefined since `long long int' is undefined
I understand C9X, bowing to popular convention, will define `long long
int' to 64 bits, or at least define it at all. Currently it's a GNU C
(and maybe others) extension, not a standard.
Common practice on many Unices is to make `int' 32 bits (because too
much software depends on this) and `long' your biggest machine word.
So if you want to use the most natural word size for your target
machine, you should use a `long', though `int' should be reasonably
efficient in most cases.
> But I do have a question why would using a 64bit integer crash an
> Alpha? especially since Alpha are 64 bit processors even if I think
> its only 32 bits it shouldn't make a difference, just a lot of
> overkill
There are many, many, many ways you can introduce bugs in your program
by relying on one data storage size/range while using another. One
trivial example is saying `memcpy(dest, src, 32)' when you actually
mean `memcpy(desc, src, 8*sizeof(long))'.
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: Chris Harshman <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.linux.sux,alt.os.linux,comp.os.linux.networking
Subject: Re: Netscape problem w/Apache
Date: Fri, 18 Jun 1999 20:54:49 -0500
Brent Davies wrote:
> the web site with HotMetal Pro. I don't know if a WYSIWYG editor in Linux.
Netscape Communicator's Composer module. I do 95% of my layout
and editing in there, and then fire up Emacs for final tweaks.
------------------------------
From: Peter Eddy <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.setup
Subject: Re: Linux uid limits!
Date: Fri, 18 Jun 1999 22:19:22 -0400
I believe there is a UID limit in the 65535 range on Linux. There was
some talk about this around the 2.2.x kernel release, regarding plans to
increase the size and the problem with current limit and Linux in the
enterprise. I think changes are planned for 2.4. Sorry I can't be more
specific.
"Roberto P.Martins Jr." wrote:
>
> Hi!
>
> I've been wondering how many user accounts a single linux box could
> support. And taking a look at /usr/include/pwd.h, the header file with
> functions and data structures to handle and create user accounts, I
> found that uid is defined as unsigned int. Is it true? If true, I could
> have "only" 65535 users! How very big sites, offering web space and
> email like Geocities and Xoom, handle million user accounts?
>
> --
> Roberto P.Martins Jr.
> mailto:[EMAIL PROTECTED]
> http://www.geocities.com/SiliconValley/Lab/9636
> ICQ #12393737
------------------------------
** 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
******************************