Linux-Misc Digest #493, Volume #24 Tue, 16 May 00 23:13:02 EDT
Contents:
Re: Modifying the Kernel (Alexander K)
Re: add a second root-account ("David ..")
Re: WYSIWYG web page generator (Christopher Browne)
Re: FTP Access to mounted fat partition (David Efflandt)
Re: add a second root-account (Bill Unruh)
Re: WinModems (BuDMaN)
Re: Boot Disk (Dances With Crows)
Re: WYSIWYG web page generator (Praedor Tempus)
Re: Any way to fake/spoof MAC address? (Praedor Tempus)
Re: XMMS & Sound (Dances With Crows)
Re: Thrashing drive (John Scudder)
e: Finding the status of a process (Jonathon Nichols)
----------------------------------------------------------------------------
From: Alexander K <[EMAIL PROTECTED]>
Subject: Re: Modifying the Kernel
Date: Wed, 17 May 2000 01:29:01 GMT
uncompress the kernel??? why?
your gonna recompile it anyway no?
do you have the configfile and source for your current kernel?
In article <8fsobl$f6q$[EMAIL PROTECTED]>,
Chad Lemmen <[EMAIL PROTECTED]> wrote:
> I'm using Corel Linux and I found instructions on compileing a new
> kernel from source. I think I could do that ok, but what I want to do
> is modify my current kernel. Is there a way to take the existing
kernel
> in /boot and umcompress that into /usr/src/linux then I have a patch
> file I want to apply then recompile that with make xconfig.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
--
.
.
... ak42 at kurir dot net ...
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: add a second root-account
Date: Tue, 16 May 2000 20:39:31 -0500
Alexander K wrote:
>
> one thing. i just noyiced that root2 can't login via a xterm.
> howcome?
>
> and bob and david. i see you weren't pertinent in your answers:)
> but ok, i'll explain.
> the second root account is not for another user. it's for me.
> i experiment a lot. not much important on my puter, and it's hardly used
> as a multiusersystem...
> for example: if i somehow manage to disable my rootaccount (which i did
> just recently, making me reinstall) i need another account (which i
> never use except for these things) which gives me su powers, so that i
> can unmake what i did. you see?
>
> In article <8fscl8$20p$[EMAIL PROTECTED]>,
> Alexander K <[EMAIL PROTECTED]> wrote:
Ok. as long as you know it is a big security risk.
But I still don't see how this will help you. For example if you screw
up "root" then how is "root2" going to do you any good? I mean "root"
would already be screwed, right?
I'm curious not being smart about it.
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.powerpc
Subject: Re: WYSIWYG web page generator
Reply-To: [EMAIL PROTECTED]
Date: Wed, 17 May 2000 01:42:16 GMT
Centuries ago, Nostradamus foresaw a time when Jamie Webb would say:
>Yes but Amaya is crap as an editor, whatever it proves in concept.
>
>By trying to produce sound HTML code without too much of the gibberish
>typical of WYSIWYG tools, it has become rigid to the extent that unless you
>are content to produce incredibly simple docs, it is actually easier to hand
>code HTML than it is to use Amaya.
I can't disagree with this; I've never been able to force myself to use
Amaya for more than ten minutes at a shot.
It seems vastly more satisfactory to type up web pages using a text
editor, and remedy missing tags and otherwise tidy the code using
Dave Raggett's "HTML tidy" utility.
Of course, for anything nontrivial, you _really_ need to have some sort
of clear design in mind, and either head to:
a) Using something like DocBook, which buys you indexing and
sophisticated page interlinking "for free," as well as considerable
options for validation, or
b) Writing code that "compiles" information into HTML, in much the
same way that GCC compiles C code into assembly language.
Otherwise, you're left tuning things by hand, which is rather analagous
to the assembly language hacker in a world of high level languages.
Assembly language hacking can be _quite_ acceptable, supposing you have
a sufficiently sophisticated set of macro programming tools to help you
do it _well._
That actually seems to be a rather good analogy; given a potent macro
rewriting system (or equivalent thereof), you can do powerful things
with HTML. Whether that beats those that use higher level tools is
somewhat arguable...
Amaya fits in as something resembling a "verifying design tool." It
forbids creating anything that doesn't look like valid HTML; that's
not necessarily helpful if you're trying to do editing that is more
than merely cosmetic.
>I am very unimpressed with some of the arguments here involving Lynx--
>unless we are prepared to put old standards behind us and support new ones,
>even if they are incompatible, and even if they are proposed by Microsoft
>(whatever you may think about them, MS's HTML DOM and CSS implementations
>are much more functional then Netscape's or W3C's), we will not make
>progress.
>The extra effort need to make even hand-coded HTML compatible with
>text-based browsers should not be neccessary.
Would you be more impressed with the contention that web content needs
to be of a form that people with handheld PDAs, cell phones, and such,
can cope with?
My brother and I were sitting in a theatre waiting for a movie to
start last week; had the entertainment of doing a bit of "webbing"
on his Palm V with cellular modem.
It was interesting that practically _anything_ that tried hard to
do "k001 grafix" was utterly unreadable, whilst the same web pages
that are readable with Lynx and w3m (Lynx is _NOT_ the only text-based
web browser, not by a long shot!) were nicely readable on the Palm V.
I'm certain that the differences will be even _more_ pointed when
people use cell phones with slightly smaller displays.
You may argue that it is irrelevant, and that "cellular web will
never sell." I would suggest reserving judgement...
[Entertainingly, the .signature below was selected randomly by my
SigMonster. MVS is, indeed, not gone. And the company I work for
actually has a population of IBM 370 assembly language hackers...]
--
`I am convinced that interactive systems will never displace batch
systems for many applications.' - Brooks, _The Mythical Man-Month_
(And this does indeed seem true. MVS/CICS systems have *NOT* gone
away...)
[EMAIL PROTECTED] - - <http://www.ntlug.org/~cbbrowne/lsf.html>
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: FTP Access to mounted fat partition
Date: 17 May 2000 01:44:41 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 16 May 2000 15:30:09 GMT, Greg Pepper <[EMAIL PROTECTED]> wrote:
>I have a 4 gig HD (2 gig Win98/ 2 gig RedHat6.2)
>
>Running an ftp server, but running out of room on the ext2 partitions.
>
>I have mounted the fat partition to a /win98 mount point, but I can not
>ftp to it!
Anonymously or as a user? As a normal user you should be able to at least
read it.
Although, I had trouble accessing a mounted Win95 (FAT16) drive from
commandline ftp in Win98 due to the mixed up case of directories and files
or some sort of Windows shortcuts. I particularly had trouble accessing
windows/Desktop or windows/desktop or a download or Download directory
under that regardless of what case I used for directory names in the path.
But I had no such trouble from Linux, so I finally gave up and copied the
file to my home dir and transferred it from there.
>do I have to chmod/chown on the /win98?
Options for mounted drives are set in the mount command or /etc/fstab.
So see 'man mount' and 'man fstab'. I would think that the default would
be readable (but not writeable) by all normal users. But for anonymous
users to see anything it would have to be mounted under the ftp directory
tree (probably not a good idea, but I do that with cdrom).
>is it a /etc/ftpaccess file fix?
I am not familiar with that file (haven't used it).
>greg pepper
>[EMAIL PROTECTED]
--
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] (Bill Unruh)
Subject: Re: add a second root-account
Date: 17 May 2000 02:03:11 GMT
In <8fscl8$20p$[EMAIL PROTECTED]> Alexander K <[EMAIL PROTECTED]> writes:
>i need another root account. not a sudo-thing, but an account that has
>100% root privileges.
>so i figure the way to go about is to have another account with UID set
>to 0, correct?
Yup. Fine.
Note the system does NOT use the name. It uses the UID (in this case 0)
for most things. Thus if you do an inverse lookup, it will report back
root, not root2 since root is the first username with uid 0.
There is no point in giving it a new home directory, since it is
identical to root.
------------------------------
From: BuDMaN <[EMAIL PROTECTED]>
Subject: Re: WinModems
Date: Wed, 17 May 2000 02:03:06 GMT
In article <[EMAIL PROTECTED]>,
Robert Schweikert <[EMAIL PROTECTED]> wrote:
> Tom,
>
> They don't work, they are junk, throw it away if you have one. You
might
> also read the modem HOWTO and come up with the same conclusion.
>
> http://www.linux.org/help/ldp/howto/Modem-HOWTO.html
>
> Have fun,
> Robert
>
> TomG wrote:
>
> > any ideas about WinModems under Linux anyone?
> > thanks
> > TomG
I agree with that. Although I had a very happy surprise about two days
ago. My parents bought a computer with a 56k on-board winmodem! When I
installed Linux on that computer, it didn't detect the modem. After
reading some howtos, I found a driver for that modem and it's working
with no problem at all. It's a PCTel modem.
--
BuDMaN
[EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Boot Disk
Date: 16 May 2000 22:16:57 EDT
Reply-To: [EMAIL PROTECTED]
On Tue, 16 May 2000 20:34:37 -0400, Scott
<<8fspj5$nvg$[EMAIL PROTECTED]>> shouted forth into the ether:
>I tried to make a bootdisk using mkbootdisk, but it complained that I didn't
>have a vmlinuz file, but had a bzImage file. Then I tried :
>
>> dd if=vmlinuz-2.2.14-5.0 of=/dev/fd0
>> Then tell the kernel on the floppy what your root partition is,
>> say it is /dev/hda2
>> rdev /dev/fd0 /dev/hda2
>
>And I get the following error when I boot on the disk:
>Kernel panic
>Not Init found.
>
>Any ideas how to get past this?
http://www.toms.net/rb
Tom's RootBoot, the most Linux on one floppy... incredibly useful for
rescuing systems, and much quicker than mucking with all the problems that
bootdisks are heir to in most cases. It's not a good choice for booting a
fully functional Linux system from floppy, though.
As for your problem, it sounds like the filesystem you've mounted as /
isn't actually the right one. The kernel mounts whatever you told it was
the root partition, then executes /sbin/init . If you've rdeved the
bootdisk to /home, then things will not work at all. If filesystem
corruption has scribbled all over /sbin/init, then you'll get the same
error, but that's a little rarer.
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid?
But only Light too dim for us to see \#| Beer is a vegetable. WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL
------------------------------
From: Praedor Tempus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: WYSIWYG web page generator
Date: Tue, 16 May 2000 20:28:45 -0600
I R A Darth Aggie wrote:
>
> On Tue, 16 May 2000 17:14:14 +0100,
> Jamie Webb <[EMAIL PROTECTED]>, in
> <[EMAIL PROTECTED]> wrote:
>
> + I am very unimpressed with some of the arguments here involving Lynx--
> + unless we are prepared to put old standards behind us and support new ones,
> + even if they are incompatible, and even if they are proposed by Microsoft
>
> *yawn* Same ol' "gotta be new to be good" arguement. To me, the most
> useful websites are the ones that give me *content* not *glitz*. If
> there ain't no content, then there's no need to download glitz.
>
> By your arguments, email and Usenet (text/plain media) should have been
> buried long ago...
>
> + (whatever you may think about them, MS's HTML DOM and CSS implementations
> + are much more functional then Netscape's or W3C's), we will not make
> + progress.
>
> That wouldn't be due to the number of programmers M$ throws at the
> problem, would it?
I would never be one to argue in favor of ANYTHING M$ but I would
strongly argue against "non glitz" if that means text and nothing
but text.
That is like those who would like to keep computers stuck at CLI.
CLI has its place but, damn, what a waste of graphics capability,
CPU power, and software development to toss it all and just go
text. Besides, it is a fact that an image sticks in the mind
better than text.
Try and read scientific papers with no graphics (no gel images,
no bar graphs, pie charts, plots, etc). No journal prints text only.
They ALL use graphics because it enhances understanding manyfold.
PDAs and god-damned cell-freakin' phones will just have to develop
graphics capabilities or be made to work as well as lynx does
(better yet, toss the damn cell phones in the trash and pay attention
to the freakin' road, or the person sitting across from you, or the
movie...but I digress).
Hell, if all you need/want/think is THE way is ugly, boring
text, then dump your PentiumII/III/PowerPC and hook up an 8088
or TI-99/A and a 640x480 monochrome screen. They can handle text
just fine. Anything beyond those is a waste of processing power,
graphics power, and money.
Things change. Capabilities increase. It is sick and wrong not
to take advantage of it. That is NOT to say that web designers
should waste bandwidth with pointless cute images and animations.
They should NOT stray or fear using graphics, images, whatever
such that it adds to what they are presenting or clarifies
what they are presenting.
praedor
------------------------------
From: Praedor Tempus <[EMAIL PROTECTED]>
Subject: Re: Any way to fake/spoof MAC address?
Date: Tue, 16 May 2000 20:31:05 -0600
Bob Hauck wrote:
>
> On Tue, 16 May 2000 14:23:48 -0600, Praedor Tempus <[EMAIL PROTECTED]> wrote:
>
> >Is there any way to fake/spoof MAC addresses?
>
> Some cards let you set that.
>
> >Is there any way to hide MAC addresses?
>
> It would be sorta hard to communicate with anything if you could.
I suppose so. I guess I'll give ifconfig a try...any idea if it
will work with a pcmcia ethernet card? I want to do this on a
laptop with a 3com card.
praedor
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: XMMS & Sound
Date: 16 May 2000 22:33:34 EDT
Reply-To: [EMAIL PROTECTED]
On Wed, 17 May 2000 01:18:30 +0200, Beno�t Smith
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>Dances With Crows wrote:
>> Now start xmms up again, and set the Output Plugin to "OSS". Much better.
>Sorry, the Slackware distribution does not include OSS... And when I try
>to play the mp3 with this plugin, I get an error message.
And this error message is?...
>Isn't there a way to use XMMS with a single soundcard module without the
>heavy OpenSound System ?
Oops, misunderstanding time. OSS, confusingly enough, stands for two
things: The Open Sound System implementation that's distributed as source
with the Linux kernel, and the commercial OSS sound drivers that you can
buy for $20-30. Most of the Linux sound drivers attempt to use the OSS
standard, and even the ALSA project has an OSS compatability layer. OSS
generally means the free implementation unless it's qualified with
"commercial".
Heavyweight? On my desktop:
es1371 27012 1 (autoclean)
ac97_codec 6692 0 (autoclean) [es1371]
soundcore 3588 4 (autoclean) [es1371]
...works out to about 37K or so of kernel memory, plus a 64K buffer is <
128K. The commercial OSS drivers are quite a bit heavier, and exact
memory usage will vary with the particular sound card you have.
If you are using the ALSA drivers, then you might want to load the OSS
compatability layer. If you are using GNOME or have esd installed, you
might want to use xmms's esd output plugin.
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid?
But only Light too dim for us to see \#| Beer is a vegetable. WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL
------------------------------
From: John Scudder <[EMAIL PROTECTED]>
Subject: Re: Thrashing drive
Date: Tue, 16 May 2000 22:46:49 -0500
Thanks for all your ideas...
The drive activity just started a few minutes ago, so I ran 'top' . The
only process that was using any significant CPU time was 'sort' being run
by 'root'. That must be the culprit.
Well now I learned something new, thanks.
John
> At least once an evening while I am quiety reading mail, my hard drive
> starts thrashing around for no apparent reason for several minutes or
> more. Then it stops on its own and is quiet for the rest of the
> evening. Why is it doing this? Could it be related to my swap
> file?
>
> I have SuSE 6.3, 64 M ram, 128 M swap file, and a 10 G SCSI hard drive.
>
> Thanks,
>
> John
------------------------------
From: Jonathon Nichols <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux
Subject: e: Finding the status of a process
Date: Wed, 17 May 2000 03:01:00 GMT
See the wait(2) manpage. It is referenced in the manpage for fork(2). wait
will
get you the exit status of the process. It will wait until the process exits,
so if you
don't want the parent to wait forever, pass wait the WNOHANG option, or set
an alarm to wake you up out of the wait call using the alarm() system call.
Doug Schulz wrote:
> I have a program that forks a process. I would like the process that
> did the forking to be able to get the status of the forked process.
> The parent process has the process ID of the forked process. How do I
> find what the exit status of the forked process is (if it has exited),
> or some piece of information that would allow me to conclude that the
> process is still running? Any help is appreciated.
>
> I am using the execvp( ) call after the fork in the child process.
>
> Thanks,
>
> Doug
=========================================================
Jonathon Nichols
Nichols Software Services, Inc.
------------------------------
** 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
******************************