Linux-Misc Digest #766, Volume #25               Fri, 15 Sep 00 00:13:04 EDT

Contents:
  Re: Upgrade from RH 5.2 to 6.0 lost ZipDrive (Paxx)
  Can gnome terminal expand to 132 characters with xterm escape sequence ? 
("BoredSilly")
  Corel installation problem (sdc)
  netscape stalled ... again with java ("Dr. Mathias Hellwig")
  Re: colors in login console (David Efflandt)
  Re: X-windows newbie question (Christopher Browne)
  Re: 2 NICs (Brad Kinser)
  what rpm includes  rman (Mandrake 7) (doug edmunds)
  Re: my linux slows down - why? (Joshua Baker-LePain)
  Re: As of right now I dedicate my life to linux ("Andrew N. McGuire ")
  Re: what rpm includes  rman (Mandrake 7) (doug edmunds)
  Re: Why Does the EXT2 filesystem not need defragmentation. (Floyd Davidson)
  Re: hooking a login to an event? ("Alexander K")
  Re: hooking a login to an event? (alex k)
  sony vaio laptop?? (sami k mossessian)
  Packet Loss ("Bluezz")
  Hex editors? ("Art Decco")
  Linux & SCSI tools (Neil Cherry)
  Re: Making new device files / Segmentation faults (Bob Martin)

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

From: Paxx <[EMAIL PROTECTED]>
Subject: Re: Upgrade from RH 5.2 to 6.0 lost ZipDrive
Date: Fri, 15 Sep 2000 01:07:00 GMT

In article <[EMAIL PROTECTED]>,
  Steve Willoughby <[EMAIL PROTECTED]> wrote:
>
> Paxx wrote:
> >
> >
> >  Does upgrading from RH 5.2 to 6.0 lose the ability to use insmod to
> > use my Zip Drive. If so, how can I get this back?
>

> Check bugzilla for printer problems - which is where this first
showed up.

Is there a URL for bugzilla? I'm not familiar with it.

>  A line needs to be added to /etc/conf.modules to enable the PC
parallel
> ports to be found.  I believe it is: alias parport_lowlevel parport_pc
> Note that the port naming has been Microsofted - the first port found
is
> lp0, second lp1 etc.  The port names are not tied to addresses!
>
> Once you get this taken care of, you should be able to get the zip
drive
> set up as under 5.2.

Okay...I miss not being able to access the Zip drive. I save lots of
goodies to that drive.

--
Paxx -
[This space for Rent]


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "BoredSilly" <[EMAIL PROTECTED]>
Subject: Can gnome terminal expand to 132 characters with xterm escape sequence ?
Date: Fri, 15 Sep 2000 12:19:25 +1200

Any one have any idea ... the default xterm sequence doesnt seem
to expand the screen

Thanks,

BoredSilly




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

From: sdc <[EMAIL PROTECTED]>
Subject: Corel installation problem
Date: Fri, 15 Sep 2000 01:30:55 GMT

I recently installed Corel Linux (2nd ed.) on my computer.  It said the 
installation was successful.  It never asked to create a boot disk.  Now I 
dont know how to get to Linux.  My computer automatically loads Windows 
when it is turned on.  Can someone help me?  Please email me or reply to 
this post.  

Thanks



--
Posted via CNET Help.com
http://www.help.com/

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

From: "Dr. Mathias Hellwig" <[EMAIL PROTECTED]>
Subject: netscape stalled ... again with java
Date: Fri, 15 Sep 2000 01:42:14 GMT


hi =


I'm using (Suze 6.4):

Linux xxx 2.2.14 #1 Sat Mar 25 00:45:35 GMT 2000 i686 unknown

with Netscape=AE Communicator 4.75

with libc.so.4.7.6  /lib/libc.so.6

everything is fine, except if java is involved. I tried a couple of
things, buts nothing works. What's wrong?

Mathias

PS: hurry up that drives me nuts! :-)

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: colors in login console
Date: Fri, 15 Sep 2000 01:59:41 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Thu, 14 Sep 2000 18:17:54 -0400, Ray Yang <[EMAIL PROTECTED]> wrote:
>Hi:
>       I just installed Redhat 6.2, and whenever I log in, I get lots of colors
>on my screen when I type ls. However, when I add a .cshrc and a .login
>file to my home directory, I don't get the colors anymore! How do I get
>the colors back while still having a .cshrc and .login file?

man ls
Put something like this in .cshrc:

alias ls "ls -F --color=auto"

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.x
Subject: Re: X-windows newbie question
Reply-To: [EMAIL PROTECTED]
Date: Fri, 15 Sep 2000 02:16:24 GMT

Centuries ago, Nostradamus foresaw a time when Harry Lewis would say:
>I'm no expert, but my own research came to the following conclusion.
>
>X (just X, not XFree or XFree86 or XPaidFor) is software that sits
>between your application and the graphics hardware and is responsible
>for driving the hardware and providing functions to applications for
>drawing lines, coloured triangles, etc. The version of X that comes with
>Linux is XFree86. X is based on a client/server architecture - the X
>server drives the hardware and the client is responsible for interacting
>with applications.

That's reasonably correct.

>Gnome and KDE are applications that use X to implement a graphical user
>interface. I'm not sure whether Gnome and KDE are based on other "window
>managers", but others exist.

This, however, is distinctly not correct.

Gnome and KDE represent two things:
a) A set of libraries providing useful services for applications, such
   as parsing configuration files, widgets to display things, and
   interprocess communicatoins, just to name a few services;

then there are...
b) A variety of applications that use those libraries.

The notion of "running KDE" isn't a sensible concept; KDE is not
identifiable as a program.

The crucial thing is not the applications, but rather the _libraries_.

Unfortunately, the makers of Linux distributions have tended to muddy
the waters by trying to set up default configurations to set up X
"environments" that are tightly tied, often in a somewhat "partisan"
manner, to one or the other of GNOME/KDE.  

The great confusion comes from the fact that differing distributions
set up differing schemes for starting up X (actually, that part doesn't
very much in and of itself), and THEN...

   - Starting up a window manager;
   - Possibly starting up other things like "panels" and other
     application launchers;
   - Loading information about the applications on the system into
     menus and perhaps into the "panel"

There are some distributions that try to be at least somewhat neutral
about the window manager or about the "desktop environment;" Debian,
as case in point, has a utility that will generate menus of apps for
a fairly wide variety of window managers.  And it provides a generic
scheme for choosing window managers.

Others are rather less neutral; Caldera towards KDE, Red Hat towards
GNOME.  

_STRANGELY_, Red Hat has also been somewhat biased towards the
"Enlightenment" window manger.  This is strange because:
  a) Enlightenment is, of all window managers, the most hungry
     of CPU and memory resources, and thus can hurt performance;
  b) The author of Enlightenment left Red Hat a couple years ago
     under a bit of a cloud, not on _great_ terms.

Other distributions have somewhat similar biases...
-> Red Hat, at one point, by default would install fvwm-95, with
   a _REALLY WILD_ configuration scheme called "The Next Level,"
   which involved a complex combination of M4 scripts; this was
   _REALLY_ a pain to try to reconfigure;
-> Corel Linux biased towards installing a number of KDE-based
   components, as did Caldera.
-> TurboLinux installed a Quite Sophisticated set of X environment
   stuff based on running the AfterStep window manager.
-> SuSE once had a KDE-oriented bias, but I'm not sure that this
   extends to doing massively sophisticated things with the
   way the X environment gets built up when you run X.
-- 
[EMAIL PROTECTED] - <http://www.hex.net/~cbbrowne/>
REALITY is a policy phased out early in the Eisenhower administration.

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

From: Brad Kinser <[EMAIL PROTECTED]>
Subject: Re: 2 NICs
Date: Fri, 15 Sep 2000 02:23:15 GMT

BorgDrone wrote:

>  I have two 3com 3c509 NICs. Both work fine, but when I try to load the
> driver module with 'insmod 3c509' it automatically
>  detects _both_ NICs, and assigns both network cards the same i/o
> address. Passing parameters such as 'io=0x230'
>  doesn't seem to work, it just says 'invalid
>  parameter: io.

Did you assign io-0x230 specifically to eth0 or eth1?  I think that would
solve the problem.  I'm still pretty knew to all of this, so I'm sure
someone will correct me if I'm off-base.

Brad



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

Date: Thu, 14 Sep 2000 19:42:26 -0700
From: doug edmunds <[EMAIL PROTECTED]>
Subject: what rpm includes  rman (Mandrake 7)

I am trying to figure out which rpm installed the file "rman:
which is in /bin.
Is there a tool out there which will search rpms for file
names or part names?

-- doug edmunds


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

From: Joshua Baker-LePain <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: my linux slows down - why?
Date: 15 Sep 2000 02:46:26 GMT

In comp.os.linux.misc Alex Hart <[EMAIL PROTECTED]> wrote:
> It seems that every time I run linux (Redhat 6.2) for more than a few
> hours, my system slows down a lot.  I look at the load on the system and
> it's sorta high, but 'top' shows no resource hogs. When I log out and
> log back in (not reboot) the system is faster again. In linux I run
> emacs, netscape, apache, and perl mainly.

How much memory do you have?  Netscape especially is a pig when it comes
to memory.  Use xosview to graphically monitor your memory (green is
what is *actually* being used, not just buffered or cached), or 'free'
from the command line.

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

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

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: As of right now I dedicate my life to linux
Date: Thu, 14 Sep 2000 21:43:30 -0500

On Thu, 14 Sep 2000, [EMAIL PROTECTED] quoth:

> As of right now I dedicate my life to linux
> 
> This is it, I am sick of windows and I am removing it from all my
> computers. for years I been using linux and unix on and off. but not I
> am going to learn linux and become a pro.
> 
> If anyone can please email me some tips, comments or help. please do
> send them to [EMAIL PROTECTED]

Tip 1: Remember to eat.
Tip 2: Remember to sleep (this is sorta optional for a couple of days)
Tip 3: If you have family, remember they exist and would like to see 
       you (hopefully :-).
Tip 4: Ditto for friends.
Tip 5: If you have pets, remember to feed them (and don't trade your dog
       in for a penguin)
Tip 6: Remember those bills, you still have to pay them (unless you are some
       super-cracker [then remember to run when you see the blue lights]).
Tip 7: Do not beat up friends or coworkers if they say Linux sucks (it is
       OK to go into their Windows machine and change their shell back to
       progman.exe [in system.ini] and convince them that you downgraded
       their PC while they were in the restroom.) :-)
Tip 8: Remember that getting your coworkers technical books that you want
       and they don't for their birthday is just like buying them a gift 
       and yourself a book at the same time.
Tip 9: Learn POOP (Perl Object Oriented Programming), this is impressive on
       a resume.  Your boss says: "You don't know crap do you?" and you retort:
       "No, but I do know POOP!".
Tip 10: Don't fall asleep at the keyboardddddddddddddddddddddddddddddddddddddd
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddd
 
anm
-- 
print map y="= = && $_ => <"\bJust>   =>
                       => <"Another>  =>
                       => <"Perl>     =>
                       => <"Hacker\n> =>


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

Date: Thu, 14 Sep 2000 19:49:03 -0700
From: doug edmunds <[EMAIL PROTECTED]>
Subject: Re: what rpm includes  rman (Mandrake 7)

correction:
its in /usr/bin  not /bin
correct path:  /usr/bin/rman



doug edmunds wrote:

> I am trying to figure out which rpm installed the file "rman:
> which is in /bin.
> Is there a tool out there which will search rpms for file
> names or part names?
>
> -- doug edmunds


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

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Why Does the EXT2 filesystem not need defragmentation.
Date: 14 Sep 2000 18:12:19 -0800

[EMAIL PROTECTED] (Quentin Christensen) wrote:
>Floyd Davidson announced:
>
>>I don't think that is all that important.  The effect is like
>>saying that using your fastest disk drive for swap and putting
>>the swap partition in the middle of the disk will cause a
>>performance increase.  That may be true under one particular
>>set of circumstances; however, it is the worst case scenario
>>and one which everyone trys very hard to avoid simply by
>>buying enough RAM to rarely ever allow the system to actually
>>run from swap.
>
>This reminds me of a question, which I think I've seen a
>partial answer to somewhere....
>
>I have 256 MB of RAM on my P3 with about double the hard disk
>space I actually use (8GB).

The number one fact to consider here is that whatever swap space
you do allocate, it is *free*.  You already own it and are not
using it for anything else.  Hence you can certainly afford to
be generious.

>  I don't run any REALLY intensive programs, about the most
>memory intensive I get is running the gimp with a several
>hundred kilobite image under KDE.  Should I have a swap
>partition with this much RAM?  If so, how big should it be?  I
>don't actually have one at the moment, and things seem to be
>running ok, although I haven't had that much experience with
>linux, so I'm not sure if I could get better performance or
>not.

There are some other considerations.  Linux buffers disk reads,
and uses otherwise unused RAM for that purpose.  Hence the more
RAM you have available for disk buffering, the faster your
programs will generally run.  Linux will also swap out unused
processes, making the space in RAM they would otherwise take up
available for disk buffering.  Hence you do want _some_ swap
space allocated.

I have a system similar to yours, in that it has 256Mb of RAM
and often is lightly loaded.  Here is what free says right now:

         total        used     free   shared  buffers   cached  
 Mem:   257972      242560    15412    30872    62268    62000
 -/+ buffers/cache: 118292   139680
 Swap:  315048       15928   299120

Which indicates that 16Mb has been swapped out, and is available
for disk buffering.  (You can also get an idea how much swap I
might recommend. :-)

The actual virtual memory (RAM + swap) you *must* have amounts
to "more than the need for virtual memory will ever be".  And
remember that if your vm use exceeds the RAM + swap total, your
system will crash.  So the question is, how much vm could your
box possibly ever use?  Since for _you_, swap is free...  pick
some nice large figure that boggles your mind (if you had ever
bought a computer 15-20 years ago, just idea of having half a
meg of virtual memory is worth what it is going to cost you!).

(And if you use Netscrape, at some point the amount of vm it
uses will be all there is, no matter how much you have.  In that
case you want enough that you'll notice it before the crash...)

In my case I occasionally do some heavy duty image editing, and
have actually seen this system use 400Mb.  Hence I have more
than 500Mb of virtual memory.  It rarely ever uses more than
200Mb of vm for processes, so I have 256Mb of that vm as RAM.

  Floyd

-- 
Floyd L. Davidson                          [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)

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

From: "Alexander K" <[EMAIL PROTECTED]>
Subject: Re: hooking a login to an event?
Date: Fri, 15 Sep 2000 05:00:31 +0200

Tony Lawrence <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Fester wrote:
>
> > You're misunderstanding the user of that file. That controls
which
> > services start up when inetd runs. So this file is only used
when inetd
> > starts, it has no purpose in detecting when one of these
services is used.
>
>
> I'm not sure what you are thinking here.  The inetd daemon
> does only read inetd.conf at startup (and when it gets a
> kill -1, of course) but the things within are run by inetd
> in response to someone attempting to connect to a service.

yes, that was exactly my point. i wanted inetd to start my
script instead of the telnetdaemon.
and then make the script start the intended service.

> The services aren't running waiting for connections; that's
> inetd's job- it's the "super daemon" and when it gets
> something, it starts up whatever it has been told to.
> There's all sorts of things you can do by wrapping services
> in your own programs- of course, you need to be careful lest
> you accidentally open up a great big wide door for someone
> to drive through..

i tried using a simple bashscript to alert me and then start
telnetdaemon. didnt work. when telnetting in it did beep, but
then istead of getting the loginprompt i noticed that identd was
started, 2 processes. so i killed those. after 2 seconds 4
identd-processes were started. they basically took all cpu.



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

From: alex k <[EMAIL PROTECTED]>
Subject: Re: hooking a login to an event?
Date: Fri, 15 Sep 2000 02:47:13 GMT

yes i understand that.
thats exactly why i put it in that file.
so that when the superserver gets a connection
on port 23 it would start my script (as defined
in /etc/inetd.conf) which would alert me, and then
the script would start the service.

or thats what i thought.
tried with a bashscript first, didnt work:(
perhaps the superserver must pass some info to
the pertinent service for it to work, which my script
clearly doesnt?


In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> On Thu, 14 Sep 2000 04:01:27 GMT, alex k <[EMAIL PROTECTED]>
wrote:
> >In article <8ppho2$f01$[EMAIL PROTECTED]>,
> >  alex k <[EMAIL PROTECTED]> wrote:
> >
> >> then i looked at that manpage for in.telnetd
> >> and noticed the -L swich:
> >> ...
> >> so i was thinking; could i perhaps make inetd start
> >> a (python)script that i specify in inetd.conf,
> >> which would blow the wisle and then in turn start
> >> "/usr/sbin/tcpd  in.telnetd"?
> >
>
> You're misunderstanding the user of that file. That controls which
> services start up when inetd runs. So this file is only used when
inetd
> starts, it has no purpose in detecting when one of these services is
used.
>
> I don't know the answer to your question, but you're clearly on the
wrong
> track.
>
> --
> -- Fester
>
>    We like Roy.
> ======================================
>
>

--
. 
. 
...: [ ~~~~~~~ ] :...


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: sami k mossessian <[EMAIL PROTECTED]>
Subject: sony vaio laptop??
Date: Fri, 15 Sep 2000 03:28:39 GMT

Hi,does anyone know if I can install linux on sony vaio laptop (500/64/P),
and will I have any problems??

thanks
sam

--
Posted via CNET Help.com
http://www.help.com/

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

From: "Bluezz" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.networking,comp.os.linux.redhat
Subject: Packet Loss
Date: Fri, 15 Sep 2000 03:37:33 GMT

Hello I have a Red Hat linux box that has been humming along nicely.  All of
a sudden
I am getting 80% packet loss on average.  I have tried changing network
cards,
recompiling the kernel (stripping out most uneeded drivers) and also even
changing the actual computer (motherboard, memory, etc).  The cables were
also tested and it was concluded that they are fine.   The only conculsion I
have
come to is that is must be some sort of OS issue.  I am running only Linux
on
kernel 2.2.13. Could someone tell me how this could all of a sudden happen,
but most of all how can I debug this ???


Thanks in advance for your help !

Regards
T



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

From: "Art Decco" <[EMAIL PROTECTED]>
Subject: Hex editors?
Date: Thu, 14 Sep 2000 20:30:54 -0700

Can anyone tell me a bit about hex viewers / editors for unix / linux?

I do lots of internationalization work. I frequently need to see exactly
what bits are in a file, and I can't rely on a text editor's (or a terminal
emulator's) interpretation of those bits. Octal won't do. Neither will that
charming unix convention of displaying bytes as control-left elbow-type
keystroke sequences.

So here are my questions:

Is there any standard unix command line tool that will display a hex view of
a file? I'm asking about standard in the sense of likely to be available on
most unix boxes I visit, so I can count on it (usually) being there, like vi
or cat. I could write one of my own in Perl, but it wouldn't be available
everywhere I needed tend to go.

Is there any standard, or perhaps relatively common, command line hex EDITOR
available on most unix boxes that would let me edit a file (change the bits)
directly in hex?

Finally, is there a really good GUI hex editor for Linux developers? This
one wouldn't be standard, I assume, just a good program that I could perhaps
download as an RPM, now that I'm beginning my exploration of the world of
Linux.

Thanks.





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

From: [EMAIL PROTECTED] (Neil Cherry)
Subject: Linux & SCSI tools
Reply-To: [EMAIL PROTECTED]
Date: Fri, 15 Sep 2000 03:53:39 GMT

I have 2 Seagate drives and they are acting up on me. The first gets
errors when reading or writting. I honestly think it's shot (barely
used too!). The other is a 9G SCSI2 drive, I keep getting:

kernel:   Vendor: SEAGATE   Model: SX910800N         Rev: 8513 
kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02 
kernel: Detected scsi disk sda at scsi0, channel 0, id 5, lun 0 
kernel: sda : READ CAPACITY failed. 
kernel: sda : status = 1, message = 00, host = 0, driver = 28  
kernel: sda : extended sense code = 3  
kernel: sda : block size assumed to be 512 bytes, disk size 1GB.   
kernel:  sda:scsi0: MEDIUM ERROR on channel 0, id 5, lun 0, CDB: Read
         (6) 00 00 00 02 00  
kernel: [valid=0] Info fld=0x0, Current sd08:00: sense key Medium Error 
kernel: Additional sense indicates Medium format corrupted 
kernel: scsidisk I/O error: dev 08:00, sector 0 
kernel:  unable to read partition table 

This looks like it was dead from the start or I need to do a low level
format. Any idea how I can attempt such a thing? Are there any
addition SCSI tools for Linux?

-- 
Linux Home Automation           Neil Cherry             [EMAIL PROTECTED]
http://members.home.net/ncherry                         (Text only)
http://meltingpot.fortunecity.com/lightsey/52           (Graphics)
http://linuxha.sourceforge.net/                         (SourceForge)

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

From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: Making new device files / Segmentation faults
Date: Thu, 14 Sep 2000 22:59:15 -0500

Fabian Gebhardt wrote:
> 
> I've two questions:
> 
> 1. I changed my motherboard and tryed not to reinstall linux.
>    It works but I heard I have to make new devicefiles in /dev. But which
> command is it?
> 
> 2. Sometimes when my server runs for around a week, something strange happens: I
> get segmentation faults    or Memory access errors when I want to execute some
> programs. Why can this be?
> 

1. Don't know of any reason you would need to create new device files
for a motherboard upgrade. Done this several times and never needed to
create device files; however the command to do this is mknod.

2. Could be the kernel version. I believe 2.2.12 had memory leak that
showed up somtimes. Have you looked in /var/log/messages for any related
error messages ?
-- 

Bob Martin

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


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

Reply via email to