Linux-Misc Digest #80, Volume #19 Thu, 18 Feb 99 06:13:42 EST
Contents:
Re: swap partition (tg)
Re: TIMER - FUNCTION under LINUX (Mark Grosberg)
How to wipe drive after install deleted ("Jeff Borders")
Re: Error writing headers to "/tmp/elv_1f1.1" (Rob Komar)
Re: Help unremovable file (Matt Kressel)
Re: Windows Refund Day (Joel Shellman)
xmgr: How to define ranges (Carsten Aulbert)
Re: 3COM 3C905BTX Ethernet card (Matt Kressel)
Re: Help unremovable file (tg)
Re: Redhat 5.2 hangs on shutdown. (Brad Corsello)
Dhcpcd problem: "auto negotiation failed"? ("Novicer Jothiw")
Re: Consumer Poll Says Microsoft Is Good For Consumers (Michael Powe)
Re: printing a header (Michael Powe)
Re: Sound help w/ ESS Technologies PnP sound card ("Richard Latimer")
"noexec" ignored when mounting cdrom (Andreas Schneider)
HTML and/or Java email client for LInux??? (Cyrus Mehta)
Re: printing a header (Gordon Weast)
Re: LS-120 and RedHat 5.1 (Michael Proto)
Re: smbmount (niklas =?iso-8859-1?Q?norstr=F6m?=)
Re: Consumer Poll Says Microsoft Is Good For Consumers (Jack Troughton)
Re: Linux Surfing ("Baseball")
Running EQL (Patrick Lanphier)
----------------------------------------------------------------------------
From: tg <[EMAIL PROTECTED]>
Subject: Re: swap partition
Date: Wed, 17 Feb 1999 21:50:50 +0100
Robert Crosbee schrieb:
>
> How can I make sure that my swap is being used? And if it isnt, how can
> I get it to work?
Try the command
free
and you'll see your RAM and swap memory(used/unused)
------------------------------
From: Mark Grosberg <[EMAIL PROTECTED]>
Subject: Re: TIMER - FUNCTION under LINUX
Date: Thu, 18 Feb 1999 07:53:53 GMT
Dieter Mueller <[EMAIL PROTECTED]> wrote:
> Hi all,
> for a program running under LINUX I need several timers which should be finer
> than 1s. Which timer function is best to use? Can I only set one timer at one
> time or is it possible to have several timers running at the same time?
You can use the select() system call and have it wait no no file
descriptors, but you can give it a timeout in seconds+milliseconds.
Also, this seems to be portable across most U**X platforms.
L8r,
Mark G.
------------------------------
From: "Jeff Borders" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.linux,comp.os.linux.setup
Subject: How to wipe drive after install deleted
Date: Tue, 16 Feb 1999 23:20:07 -0500
I've got a couple of drives that I was practicing Linux installs on. After
I decided to use bigger drives, I can't seem to get rid of the partitions
for other use.
Any ideas? -Jeff Borders.
------------------------------
From: [EMAIL PROTECTED] (Rob Komar)
Subject: Re: Error writing headers to "/tmp/elv_1f1.1"
Date: 17 Feb 1999 21:27:45 GMT
Aswin F. van Woudenberg ([EMAIL PROTECTED]) wrote:
: hi,
:
: I have a problem,...
:
: When a user on my linux system wants to use vi, exempli gratia:
:
: vi text.txt
:
: It returns the following error:
:
: Error writing headers to "/tmp/elv_1f1.1"
:
: elv_1f1.1 is created in /tmp and has size 0
:
: What's wrong?
: When root tries the same thing, everything works fine...
: the day before yesterday it worked for all users....
: any suggestions..?
Maybe your / partition is full. root still has the few percent
set aside to play with, but ordinary users can't use that space.
Cheers,
Rob Komar
------------------------------
From: Matt Kressel <[EMAIL PROTECTED]>
Subject: Re: Help unremovable file
Date: Wed, 17 Feb 1999 20:20:02 GMT
Mark Skouson wrote:
>
> Hi,
>
> I have a file I can't delete.... Here is a ls -al in the
> directory.....
> drwxr-xr-x 7 root root 1024 Feb 17 12:36 .
> drwxr-xr-x 9 root root 1024 Feb 17 11:22 ..
> drwxr-xr-x 2 root root 8192 Feb 17 11:07 man1
> drwxr-xr-x 2 root root 34816 Feb 15 16:40 man3
> c--xr--r-x 1 me 25954 110, 97 Apr 2 1987 man4
> drwxr-xr-x 2 root root 1024 Feb 15 11:15 man5
> drwxr-xr-x 2 root root 1024 Feb 15 11:15 man6
> drwxr-xr-x 2 root root 1024 Feb 15 11:15 man7
>
> and the file I can't delete is man4.
> I read around enough to try lsattr and this is what I get when I run
> that....
> #lsattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
> -------- ./man1
> -------- ./man3
> lsattr: Operation not supported by device While reading flags on ./man4
> -------- ./man5
> -------- ./man6
> -------- ./man7
>
> I changed myself to "me" (the owner of the file) and got the following
> #lsattr
> lsattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
> -------- ./man1
> -------- ./man3
> lsattr: Permission denied While reading flags on ./man4
> -------- ./man5
> -------- ./man6
> -------- ./man7
>
> I tried to use chattr with out knowing which attributes to unset...
> # chattr -ASacdisu man4
> chattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
> chattr: Operation not supported by device while reading flags on man4
>
> I also tried to do lsatter while in single user mode and got the same
> message
> #lsattr man4
> lsattr 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
> lsattr: Operation not supported by device While reading flags on man4
>
> Does anyone have any ideas?
>
Looks like the file got corrupted and the OS thinks its a device file.
First unmount this partition and run fsck on it. It MAY find the error
and fix it. Second, as root do a "chmod 0777 man4", then "rm -fvr
man4". Does that work?
-Matt
--
Matthew O. Kressel | INTERNET: [EMAIL PROTECTED]
+--------- Northrop Grumman Corporation, Bethpage, NY ---------+
+--------- TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+
------------------------------
Date: Tue, 16 Feb 1999 17:02:27 +0000
From: Joel Shellman <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,uk.comp.os.win95
Subject: Re: Windows Refund Day
Lack Mr G M wrote:
>
> In article <[EMAIL PROTECTED]>, Tony Hoyle <[EMAIL PROTECTED]>
>writes:
> |>
> |> Microsoft's refusal to honour their license agreement is interesting
>
> AFAIR the legality of (at least some) shrink-wrapped licences is open
> to question in the UK anyway. From memory, this is based on a case
> against NCP, whose rules were only visible *after* you entered the car
> park.
>
> I certainly have one CD (not sure of the supplier...) at home on
> which the "read licence before opening" text is *underneath* the read
> seal! (Ie. you have to break the seal to read the notice that tells
> you not to break the seal yet).
>
> --
> ----------- Gordon Lack ----------------- [EMAIL PROTECTED] ------------
> The contents of this message *may* reflect my personal opinion. They are
> *not* intended to reflect those of my employer, or anyone else.
As I understand it, this is not a shrink-wrapped license issue. You do
not "agree" to the license until during the install process--that is
where you are asked to click on the OK button. Shrink-wrapped license
are already illegal in the states. You are not legally bound to the
license until you click on that OK button and begin actually using
Windows.
--
Joel Shellman
knOcean Interactive Corporation
http://corp.knOcean.com/
------------------------------
From: Carsten Aulbert <[EMAIL PROTECTED]>
Crossposted-To: comp.misc
Subject: xmgr: How to define ranges
Date: Thu, 18 Feb 1999 08:59:24 +0100
Perhaps someone can help me, how do I change (or define) ranges for a
plot, from a batchfile e.g.
I want to plot a parabola between 0 and 5 and defined it as usual:
s0.x = index
s0.y = x*x
but if I plot it, it is displayed between 0 and 50000 (or so). How can
I change that, in the online-help I've found nothing.
Carsten,
[EMAIL PROTECTED] (remove nospam)
------------------------------
From: Matt Kressel <[EMAIL PROTECTED]>
Subject: Re: 3COM 3C905BTX Ethernet card
Date: Wed, 17 Feb 1999 20:22:21 GMT
Kerry J. Cox wrote:
>
> Howdy all,
> I've been wanting to recompile my kernel for some time now. I'm using
> the standard RedHat 5.2 kernel and would like to try out the latest and
> greatest 2.2.1 kernel. I usually compile my own kernels from source on
> my machine at home, but here at work I have this rather new ethernet
> card, the 3COM 3C905BTX and since my connection to the Internet is
> integral to my job, I have been hesitant to try out a new kernel for
> fear of breaking something. It works fine now, but has anyone had any
> problems with this card. I'm just being wary since my system here at
> work is so mission critical and I don't put anything on it unless I have
> tried and tested it elsewhere. I've been burnt before.
> Thanks.
> KJ
>
Why not try making a module for your kernel and testing it first, then
if it is OK, build it into the kernel? I think most drivers for the
2.2.x series have been "back" ported to 2.0.x
-Matt
--
Matthew O. Kressel | INTERNET: [EMAIL PROTECTED]
+--------- Northrop Grumman Corporation, Bethpage, NY ---------+
+--------- TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+
------------------------------
From: tg <[EMAIL PROTECTED]>
Subject: Re: Help unremovable file
Date: Wed, 17 Feb 1999 21:46:54 +0100
Maybe the filename contains characters, you can't type with the
keyboard.
In this case the only way to remove it would be to copy the other files
in another directory and then
rm *
or delete the whole directory.
Thomas
------------------------------
From: [EMAIL PROTECTED] (Brad Corsello)
Subject: Re: Redhat 5.2 hangs on shutdown.
Reply-To: bcorsello@usa.#NOSPAM.net
Date: 18 Feb 1999 09:01:45 GMT
On Tue, 16 Feb 1999 22:47:28 GMT, [EMAIL PROTECTED] wrote:
>
>Are you doing this with X running? If so, try killing either X or gpm
>before shutting down. X and gpm coexist in an uneasy truce.
I'll say. I was having an X - GPM interaction problem in that if I had a
character-cell virtual console up, and moved the mouse, then tried to switch
right away to a console where X was running, X would crash because it couldn't
acquire the mouse device. My fix was to disable GPM, because I had no real
use for it and it was more trouble than it was worth.
--
Brad Corsello, New York, NY. (Remove #NOSPAM from reply-to address.)
No animals were harmed in the writing of this message.
Check out my cats' home page: http://members.xoom.com/bcorsello/cats.html
*** Powered by Linux 2.2.1.
------------------------------
From: "Novicer Jothiw" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.networking,comp.os.linux.setup
Subject: Dhcpcd problem: "auto negotiation failed"?
Date: Thu, 18 Feb 1999 16:58:41 +0800
Dear linux world,
Thank you very much for helping me to setup dhcpcd, but it doesn't work
properly still.
It is very strange. It only works in the steps as follow:
1. run /etc/rc.d/init.d/pcmcia
2. run /etc/rc.d/init.d/network which add a loopback and /sbin/dhcpcd eth0,
but message "eth0: auto negotiation failed ; 10Mbps" will appear.
3. after a while when the signal light of the network card turned off,
/sbin/dhcpcd eth0 again..... then it works (ifconfig shows lo and good eth0
ip).
That is it only works on running at the second time, after the network card
is turned on the first time in failure (at this time ifconfig shows both lo
and eth0 with ip 0.0.0.0) and then turned off automatically (at this time
ifconfig shows only lo but no eth0).
What's wrong?... Can somebody tell me?
Thank you very much.
Regards
John
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: 18 Feb 1999 00:53:38 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "Bob" == BobO <[EMAIL PROTECTED]> writes:
Bob> Its a survival of the fittest world. If you drive a
Bob> subcompact then . . . .what can I say?
In the Darwinian sense (not what you meant, I guess) "survival of the
fittest" referred to adaptability. Those creatures survived best
which were best able to adapt to their surroundings. That does not
seem to describe drivers of SUVs.
mp
- --
Michael Powe Portland, Oregon USA
[EMAIL PROTECTED] http://www.trollope.org
"Three hours a day will produce as much as a man ought to write."
-- Anthony Trollope
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard
iD8DBQE2y9UJ755rgEMD+T8RArkXAJ4kWkGtnIraotWBjrEwQFV+BIV48ACguIp8
pgsOTBGtvYs36Lr/pEeKhj4=
=pu2G
=====END PGP SIGNATURE=====
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: printing a header
Date: 18 Feb 1999 00:50:52 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "roe" == roe <[EMAIL PROTECTED]> writes:
roe> How do I print a header on the top of each page of a text
roe> file? I need each page to have time, date, file name. I
roe> can't seem to figure out how to do this. Any suggestions?
Go look for a2ps. It is a filter package that includes a great many
features, -- among them is the default printing of headers and borders
on text files and source code.
mp
- --
Michael Powe Portland, Oregon USA
[EMAIL PROTECTED] http://www.trollope.org
"Three hours a day will produce as much as a man ought to write."
-- Anthony Trollope
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard
iD8DBQE2y9Rh755rgEMD+T8RAtodAKCqUokJDIWe/iEJNxecyTadhr75DwCdGdGp
6eDk4szOpS/qnJYOOG7MkvQ=
=ie4W
=====END PGP SIGNATURE=====
------------------------------
From: "Richard Latimer" <[EMAIL PROTECTED]>
Crossposted-To: alt.uu.comp.os.linux.questions
Subject: Re: Sound help w/ ESS Technologies PnP sound card
Date: Thu, 18 Feb 1999 00:13:54 -0800
Post again with your distribution given. Do you have RedHat,
SuSe, Caldera, etc.?
richard
------------------------------
From: Andreas Schneider <[EMAIL PROTECTED]>
Subject: "noexec" ignored when mounting cdrom
Date: Wed, 17 Feb 1999 21:16:09 +0100
Hello all,
Since I've upgrade my kernel to 2.2 I can't mount my cdrom drive with
the noexec option anymore. The CD still gets mounted, except it's all
mode 555 (i.e. executable).
When I use my old kernel v2.0.36 it works as it should (i.e. mode 444
for all ordinary files with a "." in the name and mode 555 for all
directories and files without dot).
This is not really a big problem, but it is annoying, since I can't
browse .tar.gz archives with mc anymore (everytime i tap enter ontop
of one, it says it can't execute the binary (quite clear since it's an
archive)). What really confused me, is that my fat partition is
mounted with the correct mode, either exec or noexec, just as I like.
Has anyone of you already encountered this problem?
Might it even be a bug in the cdrom-driver in the kernel?
If no one can help me, who should I contact?
Thanks in advance,
Andreas
[EMAIL PROTECTED]
Who is General Failure and why is he reading my hard disk ?
------------------------------
From: Cyrus Mehta <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,comp.os.linux.networking,comp.os.linux.setup,comp.lang.javascript,comp.lang.java.advocacy
Subject: HTML and/or Java email client for LInux???
Date: 18 Feb 1999 05:49:40 GMT
Hi, is there some sort of email client that I can use in a web browser?
I know its not ideal, but I am looking for a VERY lightweight client.
Basically I want to see something kinda like HotMail.
Cyrus
------------------------------
From: Gordon Weast <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: printing a header
Date: Wed, 17 Feb 1999 16:45:31 -0500
roe wrote:
>
> How do I print a header on the top of each page of a text file?
> I need each page to have time, date, file name.
> I can't seem to figure out how to do this.
> Any suggestions?
Look at the 'pr' command, 'man pr'.
For example, to print the file 'junk.txt' to lpr with page breaks,
and header:
pr -f junk.txt | lpr
The -f puts in real form feeds at the end of a page. Without it,
pr tries to put in the correct number of line feeds which is
usually wrong :-).
Gordon Weast
------------------------------
From: Michael Proto <[EMAIL PROTECTED]>
Subject: Re: LS-120 and RedHat 5.1
Date: Thu, 18 Feb 1999 04:21:22 -0500
Diego wrote:
>
> Hello everybody,
> I have a PC with Linux RedHat 5.1 but I have a problem to use the LS-120
> drive.
> I have one HD configured Master on the primary IDE controller, a CD Rom
> configured Slave on the primary and a LS-120 configured Master on the
> secondary controller. Do you know how can I use the LS-120 under Linux?
> I tried to mount the LS-120 using the standard line mount /dev/fd0
> /mnt/floppy but the device doesn't work.
> Any ideas?
> Thanks in advance
>
> Diego
It'll probably be /dev/hdc4 (mine's /dev/hdd4, but its set as my
secondary slave IDE device).
--
-] Michael Proto [-
-] MCP: Win95 [-
-] Happy Linux user since 1997 [-
ERROR: REALITY.SYS Corrupted! Reboot universe? (Y/n)
------------------------------
From: niklas =?iso-8859-1?Q?norstr=F6m?= <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.setup,comp.os.linux.help,alt.os.linux,comp.os.linux.admin,alt.uu.comp.os.linux.questions
Subject: Re: smbmount
Date: Thu, 18 Feb 1999 11:17:32 +0100
Reply-To: [EMAIL PROTECTED]
Line 354 in /usr/src/linux-2.2.1/Documentation/Changes
To mount SMB (Samba / Windows) shares, you'll need to use the
smbmount utility included with release 2.0 of Samba.
Documentation/filesystems/smbfs.txt has more information about this.
Note that smbmount must have been built against 2.2 headers to work
with 2.2; if all else fails, recompile it and hope it works ;-). In
addition, Mike Warfield has a script and some information at
http://www.wittsend.com/mhw/smbmount.html that you will probably find
useful.
/niklas
Ed Szynaka wrote:
> I'm having trouble trying to mount my Win smb shares in linux. I can
> use samba to view and transfer files but I can't mount them. I keep
> getting the error need mount version 6. Anyone have any ideas why I
> keep hitting this wall?
>
> Thanx
> Ed
------------------------------
From: [EMAIL PROTECTED] (Jack Troughton)
Crossposted-To: comp.os.linux.advocacy,comp.os.os2.advocacy,alt.destroy.microsoft
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: Wed, 17 Feb 1999 04:39:21 GMT
On Wed, 17 Feb 1999 01:28:07, "Sam Felton" <[EMAIL PROTECTED]> wrote:
�Kinkster <[EMAIL PROTECTED]> wrote in message
�news:[EMAIL PROTECTED]...
�
�<surgery>
<post operative complications... the patient just didn't make it:)>
�> >>> I doubt that it would
�> >>>take that long before they made a total cluster fuck of the computer
�> >>>industry.
�>
�> They broke up Standard Oil in the early 1900's without making a "total
�> cluster fsck" of the gasoline industry. They made Proctor and Gamble
�> divest themselves of Clorox Bleach, they made Ford sell off their
�> parts division and the list goes on, yet I don't see P&G or Ford or
�> any other company suffering from "Cluster Fsck" as you put it.
�
�There are other problems with this analogy.
�
�I used to work at M$ (one of the reasons I have few illusions about them).
�
�What a lot of people either don't know or seem to be deliberately ignoring
�is the fact that M$ is _already_ like multiple companies under the same
�roof.
�
�The simile I generally use goes as follows.
�
�M$ is like a guerrilla war; lots of factions (each of whom claim fierce
�patriotism) all fighting each other over a bigger slice of the territory. If
�you were to divide them up, it would mean simply that some of the factions
�were now fighting from outside the country. I suspect that little would
�change; given the characteristics of the people involved.
�
�For the folks who haven't worked there, it is hard to imagine why, for
�example, the Exchange group is called "the most feared and loathed" group,
�or why NT (ok, Win2K now) folks are considered insufferable "build snobs",
�or why there are feuds of the most bitter sort between Internet group and
�WOSD.
This sounds like any of the large companies I've worked in. I happen
to think that this type of model is doomed to failure wrt software
design; hell, look at what they've done to windows:) I use warp, and
the same definitely applies to IBM, but in a different area, thank
God.
�They do a lot of things wrong. But I think it is _extremely_ risky to get
�the government involved; this trial has proven that the people writing the
�laws have very little idea what goes on in an engineering shop.
I don't think the DOJ care all that much about what's been happening
in the engineering shop; it's the marketing part of their business
that they're really interested in. Personally, I think the DOJ should
look long and hard at the nature of MS's relationship with the OEMs.
Actually, the current suit does seem to be having something of a
salutory effect on them already...
I don't know if you have any insights into this as a former employee,
but I might as well ask... do you think the engineers in the IE and OS
camps wanted to be integrated, or thought it was a good idea, or was
it imposed upon them by the marketing people at the top?
Non-.advocacy groups snipped.
Jack Troughton ICQ:7494149
http://207.96.209.68:8000/
jack.troughton at videotron.ca
jaft at adan.kingston.net
Montr�al PQ Canada
------------------------------
From: "Baseball" <[EMAIL PROTECTED]>
Subject: Re: Linux Surfing
Date: Thu, 18 Feb 1999 09:40:05 GMT
Most Linux distros include Netscape for your surfing needs...
If you need to surf in console mode use Lynx.
As far as your second question, I cant help you unless you are more
specific.
Andrew Fus <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
>
> How do I navigate on the web without using any Windows based operating
> system, also, how do I hookup Linux to surf the net.
>
> Please reply to [EMAIL PROTECTED]
>
> Thanks
> Andrew
>
>
------------------------------
From: Patrick Lanphier <[EMAIL PROTECTED]>
Subject: Running EQL
Date: Wed, 17 Feb 1999 16:47:23 -0500
Anybody out their running EQL with a version 2.2 kernel? I'm just curious as to how
things work,
the documentation is very old.
Patrick Lanphier
Advanced Information Technologies
The Pennsylvania State University
------------------------------
** 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
******************************