Linux-Misc Digest #206, Volume #26 Wed, 1 Nov 00 21:13:01 EST
Contents:
Re: color prompt in tcsh (Brad Friedman)
Re: Shared Memory (NF Stevens)
MORE LILO PROBLEMS ([EMAIL PROTECTED])
Re: Throughput of NIC (Beggar)
Re: How to switch between applications ? (Stephen Marotta)
Re: mp3 (John Nilsson)
Linux and Wyse-75 terminals ("Scott M. Navarre")
Re: users,groups,persmissions etc (Garry Knight)
Re: which distribution is best??? (Garry Knight)
Re: which distribution is best??? (Alan Shiers)
Re: hardware compatibility on RH6.1? (Dave Allen)
Linux File System with errors (manny)
Re: Samba cannot provide the file sharing as NT does? ("Cosimo")
Re: ipchains binary ("Cosimo")
Re: hardware compatibility on RH6.1? ("Cosimo")
Re: cdrecord raises "BLKRASET: no permission" ("Cosimo")
Test version of new Linux kernel available ("Chowder")
Corel WordPerfect 8 emulated on Linux ? (Arctic Storm)
How to detach a program from a terminal ([EMAIL PROTECTED])
Re: SuSE6.4 and crashing netscape (Jerry L Kreps)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Brad Friedman)
Subject: Re: color prompt in tcsh
Date: Wed, 01 Nov 2000 23:10:47 GMT
This doesn't seem to work in tcsh. When I try putting things like 1;31 in
my prompt, it just prints that string.
Thanks, though.
Brad
David .. <[EMAIL PROTECTED]> wrote:
>Brad Friedman wrote:
>>
>> I'm having some trouble colorizing my prompt in tcsh. I checked the man
>> page, but that only gives me specifics on what the prompt contains, not
>> colors. I also consulted dejanews but couldn't find anything for tcsh. Can
>> someone please point me in the right direction?
>>
>> Thanks,
>> Brad
>
>This works for me but I don't use tcsh.
>You can set the color of the command line prompts to be one color for
>root and something else for the users on the system. With
>the following it will be system wide for all users.
>
> vi /etc/bashrc
>Comment out the existing "PS1=" line and directly below it place the
>following.
>
> if [ `id -un` = root ]; then
> PS1='\[\033[1;31m\]\h:\w\$\[\033[0m\] '
> else
> PS1='\[\033[1;33m\]\h:\w\$\[\033[0m\] '
> fi
>
>This will make the command prompt for root RED and the command prompt
>for all users YELLOW. You can change the color of the
>prompts by changing the numbers 31m & 33m in the lines above. This will
>also shorten the command prompt by using only the
>hostname from the prompt. It will also show the full path to the
>directory you are in.
>
--
____________________________________________________________
Freedom of expression. Freedom of belief. Freedom of speech.
------------------------------
From: [EMAIL PROTECTED] (NF Stevens)
Subject: Re: Shared Memory
Date: Wed, 01 Nov 2000 23:16:20 GMT
Randy Feeney <[EMAIL PROTECTED]> wrote:
>I have tried
>
>echo 134217728 > /proc/sys/kernel/shmmax
>
>The information I have found says this will increase the shared memory to
>128mb
>but this does not seem to do anything. What am I doing wrong?
>
You may be confusing two different types of shared memory.
If you run top or free then they will report a value for
"shared memory" which is essentially the amount of memory
used by code in shared libraries. This reported value is
not a limit, but is a reflection on the type of processes
you are running and how much use they make of shared libraries.
If you are running a gui (e.g. gnome or kde) then the 43 meg
you mentioned is about right.
The other sort of shared memory is explicitly allocated and
used by programs. Unless you are getting error messages
from processes which cannot allocate enough of this shared
memory then you don't need to worry about it.
Norman
------------------------------
From: [EMAIL PROTECTED]
Subject: MORE LILO PROBLEMS
Date: Thu, 02 Nov 2000 00:06:13 GMT
I have a HP netserver E60 with and Adaptec aic-7895 controler conected
to a HP 9.1 gig drive. I have tried to install RH 7.0. I get through
the whole install. Everything looks good. When I reboot after the
install, I get a list of L L L L L L L's going down my monitor. I know
that this means that LILO did not run all the way through. My problem
seems to be with RedHat 7.0, because if I install 6.2, it works
fine..Any ideas? Also, If I boot from the floppy, I can access my
server...
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Beggar <[EMAIL PROTECTED]>
Subject: Re: Throughput of NIC
Date: Thu, 02 Nov 2000 08:25:47 +0800
Sjoerd Langkemper wrote:
> "Beggar" <[EMAIL PROTECTED]> schreef in bericht
> news:[EMAIL PROTECTED]...
> > Hi all,
> >
> > How much throughput of one 100Mbps full duplex NIC
> > should I expect? can it really up to 100Mbps in and 100Mpbs out?
>
> Mbps means megabits per second. Hence the bits.
>
> > Since when I ftp something from one machines to another, I
> > at most can only got 30 Mbps throughput.... how about the 70Mpbs?
>
> You probably got 30 MBps. 30 Megabytes per second. Hence the bytes.
>
of course I know what is Mbps.... it't only got 3-4 Mega Byte per second!
So that's around 30 Mega bit!
>
> > Even two ppl can only got around 15 and 15 Mbps each.....share the
> > 30 Mbps... why??
> >
> > And is the full duplex means can trasmit 100 Mbps in and out at the
> > same time, so totally 200Mbps throughput?
>
> No. Although this can be true or not, full duplex means it can send in and
> out at the same time. It says nothing about the speed.
>
I mean the 100Mbps full duplex NIC .. does it means can have totally
200Mpbs throughput at the same time
>
> > Also, how about 1000Mbps NIC, what is the actually speed should
> > I expect ?
>
> About 9 times as fast as a 100 Mbps NIC.
>
> > Please reply to [EMAIL PROTECTED]
>
> No way, this is a newsgroup.
>
> Sjoerd
------------------------------
From: Stephen Marotta <[EMAIL PROTECTED]>
Subject: Re: How to switch between applications ?
Date: Wed, 01 Nov 2000 19:21:38 -0500
[EMAIL PROTECTED] wrote:
> How to switch between applications ?
>
> Consider, e.g., that I have the following applications running
> simultaneously.
> (1) gnotepad
> (2) Netscape Navigator
> (3) gnumeric
> etc.
It all depends on what desktop environment you're running, I think.
Although I'm reasonably confident that you can play around with the
settings in GNOME or KDE, whichever you're running (I think other GUIs
allow for this too), to use Alt-Tab to switch between applications. I'm
running GNOME right now, and I can tell you that in the Sawfish control
center, the "Shortcuts" option lets you define "M-Tab" to "Cycle
windows". I'm not sure how it's done in KDE, but if you're running
gnumeric, then you're probably running Gnome, so it's okay. Hope that
helps.
/* Steve */
------------------------------
From: [EMAIL PROTECTED] (John Nilsson)
Subject: Re: mp3
Date: 2 Nov 2000 00:30:00 GMT
Thank you for all of your time.
/John
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Dances With Crows) writes:
> On 31 Oct 2000 22:26:41 GMT, John Nilsson wrote:
>>Upgrading xmms from version 1.2.1 to 1.2.3 made the problem almost
>>disappear. The hdparm-thing seems to work too, according to the test-
>>results:
>>Before 'hdparm -m16 -u1 -c1 /dev/hda':
>> Timing buffer-cache reads: 128 MB in 1.27 seconds =100.79 MB/sec
>> Timing buffered disk reads: 64 MB in 17.24 seconds = 3.71 MB/sec
>>After:
>> Timing buffer-cache reads: 128 MB in 1.27 seconds =100.79 MB/sec
>> Timing buffered disk reads: 64 MB in 8.65 seconds = 7.40 MB/sec
>>
>>I can't say that I have noticed any gain in performance so far, but on
>>the other hand I don't know if I'm supposed to. I don't have anything to
>>relate these figures to. Maybe some kind soul could enlighten me?
>
> The "7.40 MB/sec" gives a reasonably close answer to the question "How
> fast can my hard drive get data off the disk and deliver it to the CPU?"
> Anything requiring lots of disk I/O (like loading Netscape, f'rinstance)
> will benefit greatly from faster access speeds.
>
>>And another (probably very stupid) question: Is there any drawback
>>with this? I mean, if one command line (which the one who answered my
>>question came up with almost without knowing anything at all about my
>>system) makes my harddrive alot faster, why isn't this taken care of
>>during install?
>
> Because back in the old days, there were problems with enabling certain
> options on certain IDE devices and/or certain chipsets. The hdparm man
> page contains some gory details on that, and suggests that "-m16" is the
> only truly safe option to play with. -c1 and -u1 are almost universally
> supported these days, and a lot of chipsets can benefit from -d1, which
> enables DMA. However, enabling DMA if your chipset and kernel aren't
> configured correctly could possibly hang your machine and scribble all
> over your drive.
>
> Therefore, the default install doesn't play with hdparm commands. It
> gives you a configuration that's (pretty much) guaranteed to work, even
> though it will be less than optimal. You're supposed to figure out the
> hdparm arcana on your own, I guess....
>
>
------------------------------
From: "Scott M. Navarre" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux
Subject: Linux and Wyse-75 terminals
Date: Thu, 02 Nov 2000 00:31:24 GMT
Can anyone tell me, does Linux support the use of Wyse's 'WY-75' text
terminals? SCO Unix has problems with these. Thanks.
------------------------------
From: Garry Knight <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: users,groups,persmissions etc
Date: Wed, 1 Nov 2000 20:10:08 +0000
On Wed, 01 Nov 2000, Zip wrote:
>Garry Knight <[EMAIL PROTECTED]> wrote:
>
>>On Sun, 29 Oct 2000, John Karampetsos wrote:
>>>who can point me to a location or document which specifies how to go about
>>>assigning file permissions,creating users and groups etc in linux?
>>
>>The book "Running Linux" by Matt Welsh et al does a good job of doing this in
>>about 6 pages. It also contains a mass of other useful stuff and I'd recommend
>>it to anybody.
>
>Do you happen to know where someone might find information on what strategies
>are relevant in setting up groups on unix systems?
All the books I have go into some detail on how to set up and manage groups and
some of them go into some detail on the groups you'll find already set up on a
Linux system, but none of them give any hints on group management strategy.
Since the whole raison d'etre of groups in Unix is both to allow and to
restrict users to available system resources (and thus to maintain system
security) then the only answer to your question is another question: What do
you and your users intend to do with your Linux system?
I recommend that you start off by listing your users, the activities in which
they take part, and the resources needed by those activities. Then decide
whether to logically divide your users into groups according to the activities
or according to the resources, or, in some cases, both.
You will probably create some groups in order to manage one of the most
important resources on your syste: access to files and directories. This is
likely to be task-oriented (e.g. the accounts directory). Other groups might be
created in order to restrict access to certain hardware.
Hopefully others will come up with pointers to other sources of information,
and you might want to say more about the type of system you're using:
networking, office, personal, and so on, but in the end, it may be that only
you can decide on the best strategy.
--
Garry Knight
[EMAIL PROTECTED]
------------------------------
From: Garry Knight <[EMAIL PROTECTED]>
Subject: Re: which distribution is best???
Date: Wed, 1 Nov 2000 20:35:22 +0000
On Wed, 01 Nov 2000, Rod Smith wrote:
>> No matter how
>> hard I try, the installation of software is near impossible. There
>> doesn't seem to be a standard way to install new software! So far I've
>> encountered three file types: *.sh, *.bin, *.deb. Lord knows how many
>> others there are. Compared to installing software in Windows, Microsoft
>> definitely has this procedure sewn up real pretty. Just one file type:
>> *.exe Double click on it and it runs a setup wizard.
So far I've come across three different file types used to install Windows
programs: .bat, .exe and .msi.
--
Garry Knight
[EMAIL PROTECTED]
------------------------------
From: Alan Shiers <[EMAIL PROTECTED]>
Subject: Re: which distribution is best???
Date: Thu, 02 Nov 2000 00:38:35 GMT
Thanks Rod. Your input has been most enlightening. I'll not let Corel Linux
get me down. I'll learn what I can from it and then move on to a different
distribution.
Alan
Rod Smith wrote:
> [Posted and mailed]
>
> In article <[EMAIL PROTECTED]>,
> Alan Shiers <[EMAIL PROTECTED]> writes:
> > Hi there:
> > I'm am in the process of getting familiar with a distribution of
> > Linux from Corel. While it is my understanding that Linux itself is
> > regarded as one of the most stable of OS's, I am having a particularly
> > difficult time liking this particular distribution of it. No matter how
> > hard I try, the installation of software is near impossible. There
> > doesn't seem to be a standard way to install new software! So far I've
> > encountered three file types: *.sh, *.bin, *.deb. Lord knows how many
> > others there are. Compared to installing software in Windows, Microsoft
> > definitely has this procedure sewn up real pretty. Just one file type:
> > *.exe
> > Double click on it and it runs a setup wizard.
>
> This isn't really accurate. There are also .zip files for Windows,
> which usually require customized installation in some way. Various
> other exotic package formats also exist. As to the Linux file formats,
> I've no idea what the .bin file you encountered was. The .sh file was
> presumably a shell script of some sort. If you're really concerned with
> package installation difficulty, stick to one format (presumably .deb
> for Corel). You can find most programs packaged in .deb format (check
> http://www.debian.org/distrib/packages/ for a package listing). If you
> stick to .deb packages (or .rpm packages for RPM-based distributions),
> you'll probably have fewer difficulties with conflicting libraries,
> etc., than you have with Windows. (I note that many of the packages
> about which you complain specifically are commercial programs. Many
> commercial Linux programs do seem to spurn the Linux package formats
> [.deb and .rpm], for various reasons. Open source programs can usually
> be found in these formats, though.)
>
> > I've tried to install the JDK1.3 from Sun, Forte developers IDE from
> > Sun, WordPerfect from Corel, PKZip from PKWare, all with a different
> > file type and instructions as to how to install, none of which work, at
> > least, not with Corel Linux.
>
> No doubt there are reasons for each of these failures. (For WP, it's
> probably a missing library, because WP8 for Linux uses a rather old
> library package that's not installed by default with many newer
> distributions.) You'll need to post details to have any hope of
> resolving this problem, though.
>
> > Now, all this frustration leads me to these questions...are all
> > distributions of Linux in the same boat? Is everyone else having the
> > same difficulties I am having with Corel Linux?
>
> There are certainly differences between Linux distributions in terms of
> overall level of software compatibility, just as there are differences
> between MS OSs for software compatibility. On the whole, Red Hat may be
> the most compatible, simply because it's one of, if not the, most
> popular distribution, and so most packages get tested against Red Hat.
> Some distributions, such as Mandrake, are very close to Red Hat, and so
> are nearly as compatible.
>
> It should be emphasized, though, that cross-distribution compatibility
> problems are usually solvable. It's usually just a matter of adding an
> appropriate package to the problem system, or changing some
> configuration file. It's also usually possible to recompile the program
> (except of course for commercial programs). Of course, if you're a
> newbie, these things may scare you a bit, but you're best served by
> Linux if you're willing to learn about such things. If you don't want to
> learn anything at all about how the OS REALLY works underneath the GUI,
> you're best served by Windows -- or MUCH better, MacOS.
>
> --
> Rod Smith, [EMAIL PROTECTED]
> http://www.rodsbooks.com
> Author of books on Linux & multi-OS configuration
------------------------------
From: Dave Allen <[EMAIL PROTECTED]>
Subject: Re: hardware compatibility on RH6.1?
Date: Thu, 02 Nov 2000 00:51:45 GMT
Lori Holder-Webb <[EMAIL PROTECTED]> wrote:
> HP 9340i (10/4/32)
> HP 9500i (12/8/32)
> HP 9140i (8/4/32)
> Plextor PX-W 8342TI/SW (8/4/32)
> Plextor PX-W 1210TA/SW (12/10/32)
> Sony CRX140E/CH2 (8/4/32)
> Sony CRX145E/CH2 (10/4/32)
> If anyone has experience using one of these drives under RedHat, pref.
> 6.1 (although I'm willing to upgrade to 6.2, but _not_ 7.0), I'd
> appreciate any information you can provide. The retailer has a generous
> return policy, but I'd rather get something I'm sure will work instead
> of jacking around for weeks exchanging stuff back and forth with them.
I cannot coment on the HP or Plextor models but I have been using a Sony
cd writer (not sure of model, its at home and I'm not) )with both RedHat 6.0 and 6.2.
I have recently gone up to 7.0 but have not yet got around to trying it.
To get it going initially I simply followed the CD-writing howto and everything worked
fine. Rather than using any of the fancy frontends I simply use cdrecord
Regards
Dave Allen
------------------------------
From: manny <[EMAIL PROTECTED]>
Subject: Linux File System with errors
Date: Thu, 02 Nov 2000 01:30:12 -0000
Help Anyone,
Booted my linux system today and observed the following messages:
/dev/hdc6 contains a file system with errors, check forces
/dev/hdc6
Inode 107121 has illegal block count
/dev/hdc6
unexpected inconsistency RUN fscl manually
File system appears to be readonly.
Any help with be deeply appreciated - school project need help fast
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "Cosimo" <[EMAIL PROTECTED]>
Subject: Re: Samba cannot provide the file sharing as NT does?
Date: 2 Nov 2000 01:22:32 GMT
[EMAIL PROTECTED] wrote in article <8toone$gu0$[EMAIL PROTECTED]>...
> then the application should work well. The recommendation is to change
the
> logon behaviour in the Network's property.
>
> Who can confirm on that?
correct (AFAIK): in win$->netw.prop.->"client 4 m$ netw." change from
'quick logon' to 'logon & restore...'
>
> Another question about Samba: I found I could not browse the user list
from
> the NT server emulated by Linux with Samba, while I want to share a local
> directory by User Level Access Control. Could some configuration be
adjusted
> to get the user list?
not clear/not enough infos 4 me here... what about wins server config in
your net?
------------------------------
From: "Cosimo" <[EMAIL PROTECTED]>
Subject: Re: ipchains binary
Date: 2 Nov 2000 00:21:14 GMT
http://www.adelaide.net.au/~rustcorp/linux/ipchains
[EMAIL PROTECTED] wrote in article
<8tpv3i$hss$[EMAIL PROTECTED]>...
> know how I can get the ipchains executable?
------------------------------
From: "Cosimo" <[EMAIL PROTECTED]>
Subject: Re: hardware compatibility on RH6.1?
Date: 2 Nov 2000 00:31:57 GMT
check:
http://www.fadden.com/cdrfaq/faq05.html
from cdrecord's README
Lori Holder-Webb <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> Hi.
>
> the Cd-Burning HOWTO. The RH list states that "Most CD Writers are
> compatible with Linux. The exceptions seem to be some of the more
> inexpensively produced IDE drives that are not fully ATAPI compliant."
------------------------------
From: "Cosimo" <[EMAIL PROTECTED]>
Subject: Re: cdrecord raises "BLKRASET: no permission"
Date: 2 Nov 2000 01:10:39 GMT
actually, to burn a cd such dev should be user-writeable...
Kilian A. Foth <[EMAIL PROTECTED]> wrote in article
<8toi1f$422$[EMAIL PROTECTED]>...
...
> Both my /dev/cdrom and /dev/scd0 are user-readable, and BLKRASET is
...
------------------------------
From: "Chowder" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,redhat.general
Subject: Test version of new Linux kernel available
Date: Wed, 1 Nov 2000 16:40:52 -0900
"The next version of the heart of Linux moved a significant step closer to
reality Tuesday, as Linux founder Linus Torvalds posted a new test version
free of major bugs.
Torvalds originally wanted to release the 2.4.0 version of the Linux
"kernel" in 1999, but cramming in a host of new features took longer than
expected. The 2.4 kernel improves Linux's ability to run on high-end servers
with several CPUs and adds support for desktop features such as universal
serial bus."
http://news.cnet.com/news/0-1003-200-3359043.html
------------------------------
From: Arctic Storm <[EMAIL PROTECTED]>
Subject: Corel WordPerfect 8 emulated on Linux ?
Date: Thu, 02 Nov 2000 01:43:25 GMT
I'm trying to find a word processor for Linux, and there seems to be a
lot of choices.
I read somewhere that Corel WordPerfect is not written natively in
Linux, but it's the Windows version that's emulated using Wine. Is this
true? In that case, I'd rather continue searching for a better word
processor.
----
------------------------------
From: [EMAIL PROTECTED]
Subject: How to detach a program from a terminal
Date: 2 Nov 2000 01:46:05 GMT
I need to know how to detach a running program from the terminal it was invoked
on. i sometimes telnet into my computer and want a program to run after i
logout.
Thanks,
Bob
------------------------------
From: Jerry L Kreps <[EMAIL PROTECTED]>
Subject: Re: SuSE6.4 and crashing netscape
Date: Wed, 1 Nov 2000 20:03:38 -0600
Reply-To: [EMAIL PROTECTED]
Michel Catudal wrote:
<snip>
> Actually SuSE 6.4 is rather unstable compared to SuSE 6.3 and SuSE 7.0
Can you elaborate on your 6.4 problems? We are less than a month away
from implementing our first Linux box at work and I don't want it to fail!!
(It has been up since installation (47 days) without a burp.)
Thanks,
JLK
------------------------------
** 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
******************************