Linux-Misc Digest #138, Volume #24 Thu, 13 Apr 00 11:13:03 EDT
Contents:
date formatting problems... ("Joseph")
Re: Why my KDE keeps polling my CD-ROM? ([EMAIL PROTECTED])
Re: How Microsoft inhibits competition & innovation (Scott Bishop)
Re: default desktop in RedHat (Leonard Evens)
Re: LILO 21.4 update (Leonard Evens)
Re: how can i get my apache server support Java servlet? (Bonn)
Re: how can i get my apache server support Java servlet? (Bonn)
Re: LILO stops at LI (Leonard Evens)
Re: What the heck is linux doing? (Andreas Kahari)
Re: linux (Leonard Evens)
Re: ipgrab packet sniffer now at Sourceforge (Patrick Klos)
Re: Which backup software to use? (Dan Star)
Re: need help to use minicom to connect to console using ttyS0 ([EMAIL PROTECTED])
How many files? (Ron)
Re: Closing One of Multiple Windows Crashes Netscape (Robert Wiegand)
----------------------------------------------------------------------------
From: "Joseph" <[EMAIL PROTECTED]>
Subject: date formatting problems...
Date: Thu, 13 Apr 2000 10:11:25 -0400
I 'm using date +"%b %d" , and it gives me different results, whether I use
it from a shell prompt or a script .
I'm trying to get "Apr 9" instead of "Apr 09"
>From the prompt, I can get teh zerro before 9 to be replaced using date
+"%b %_d"
but from the script , %_d behaves just like %-d
in script :
date +"%b %_d" gives "Apr 9"
date +"%b %-d" gives "Apr 9"
date +"%b %d" gives "Apr 09"
in shell ( /bin/bash)
date +"%b %_d" gives "Apr 9"
date +"%b %-d" gives "Apr 9"
date +"%b %d" gives "Apr 09"
What is going on ? Or rather, which part of the 'FM' should I be looking at?
What am I missing here?
Any clues/ hints/pointers are greately appreciated.
Thanks,
-joseph
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.setup,comp.os.linux.x
Subject: Re: Why my KDE keeps polling my CD-ROM?
Date: Thu, 13 Apr 2000 22:10:08 +0800
No, my kde cdplayer is not activated at all. Once i feel a CD into the cd-rom
drive. My KDE is happy and stop polling. Well, guess i just have to keep
feeding it CDs, must be hungry......hee, hee.
Regards,
Damon
Mei wrote:
> Have you the kde cdplayer running at the start?
>
> Ciao Mei
------------------------------
From: Scott Bishop <[EMAIL PROTECTED]>
Subject: Re: How Microsoft inhibits competition & innovation
Date: Thu, 13 Apr 2000 09:11:39 -0500
[EMAIL PROTECTED] wrote:
>
> On Wed, 12 Apr 2000, Patrick O'Neil wrote:
> >
> > What planet are YOU from? The court's decisions ARE the law. They are
> > the FINAL and ONLY interpreters of the law. Not you, not your sister,
> > not your neighbor. Your congressclown creates the laws, and if they
> > pass Constitutional muster (AS DETERMINED BY THE COURTS...NOT YOU),
> > they go into law and then they belong to the courts. The courts
> > ARE the arbitors of what is and is not the law by definition.
>
> I'm sure that if you hunt around you can find a copy of the US
> Constitution. If you read it, you will learn how laws are passed.
True, Congress passes a bill, and the President signs it into law
(unless, of course, it's veto and Congress overrides with a 2/3
majority). That's not the point Patrick was trying to make. The point
is that the judicial branch are the ones who interpret the law, and
decide whether or not it's proper and Constitutional. Congress can pass
a bill into law tomorrow forcing the establishment of Southern Baptism
as the national religion, for example, and the courts would IMMEDIATELY
strike down the law, saying it was a violation of the First Amendment.
Also, they also determine whether or not a charged individual or
organization is guilty of breaking a law or not. Judge Thomas Penfield
Jackson has ruled that Microsoft has broken the law under the Sherman
Antitrust Act. Is it right? Depends on your personal opinion. Is it
legal? Absolutely. The judge interpreted the law, and found that
Microsoft had indeed been in violation of it.
Now, personally, I'm surprised the judge didn't get Microsoft in MORE
trouble, citing contempt of court or even perjury for trying to present
a doctored tape as evidence. But then again, that's just my own
personal opinion.
--
--Scott Bishop
WALKER BOLT Manufacturing Co.
(Notice: The opinions stated in this message are not necessarily those
of my employer, nor of any other sane individual for that matter.)
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: default desktop in RedHat
Date: Thu, 13 Apr 2000 09:51:35 -0500
[EMAIL PROTECTED] wrote:
>
> >
> > If you're running KDE or GNOME, all you have to do is to use
> > switchdesk.
>
> I wonder how one is supposed to find out things like this. I tried
> "apropos desktop" (RedHat 6.0 badly patched (I'm not sysadmin, the
> sysadmin knows even less about linux than I do)) and it didn't tell me
> about "switchdesk"
>
> Thanks
>
> Wroot
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
If you do some experimentation with the menus you get (under gnome)
by clicking the "foot" on the left of the panel, you will find
the desktop switching tool under System. So it is not quite as
obscure as it might seem.
But I agree it should be easier to find. VALinux sets up their
machines so you get KDE by default, but when you first login,
you are told how to change your desktop.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: LILO 21.4 update
Date: Thu, 13 Apr 2000 09:54:17 -0500
John in SD wrote:
>
> LILO version 21 by Werner Almesberger has been updated to support
> booting from large capacity disks using a new 'lba32' option (-L new
> command line switch). Dubbed version 21.4, the source code is
> available for download from:
>
> ftp://sd.dynhost.com/pub/linux/lilo (developer's site)
> ftp://brun.dyndns.org/pub/linux/lilo (an alias)
>
> Or from the main distribution site:
>
> ftp://metalab.unc.edu/pub/Linux/system/boot/lilo
>
> The lilo-21.4.2 release fixes problems that have affected a few
> people:
>
> 1. The command line passed to the kernel was truncated at 78
> characters if the LARGE_EBDA (Extended BIOS Data Area) compile-time
> option was used. (With today's big kernels, this was the default.)
>
> 2. If both 'linear' and 'compact' were specified, the second stage
> loader would encounter disk I/O error 0x40.
>
> Enhancements include:
>
> 3. The boot loader now understands octal. The kernel has always
> understood octal, decimal, and hexadecimal, but prior boot loaders
> only supported the last two.
>
> 4. All patches from the RedHat 6.2 distribution have been applied.
> This includes the RAID support.
>
> This version of LILO will boot from partitions beyond the 1024
> cylinder limit. To do this it requires a post-1998 BIOS with support
> for the EDD packet call interface. Older systems may employ "soft"
> BIOS support for these calls with hard disk boot software such as
> EZ-DRIVE(tm) or MaxBlast(tm).
>
> --John Coffman <[EMAIL PROTECTED]>
>
> EZ-DRIVE(tm) is a registered trademark of Micro House International,
> Inc.
> MaxBlast(tm) is a trademark of Maxtor, Inc.
This is good news indeed! I hope it will be included as the
default in all upcoming Linux releases. The 1024 cylinder limit
seems to be the biggest barrier for naive users installing Linux.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Bonn <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.lang.java.programmer,comp.os.linux.setup
Subject: Re: how can i get my apache server support Java servlet?
Date: Thu, 13 Apr 2000 22:14:54 +0800
sorry for that, but i just don't have any idea. and i want to do it on my
linux box.
i'd checked it. thank anyway~
regards
bonn
Luke Webber wrote:
> Pick up Apache Jserv from http://java.apache.org.
>
> And please try not to cross-post quite so much. You really could have got
> this from the Apache web site anyway, if you'd taken the time to look.
>
> Luke
------------------------------
From: Bonn <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.lang.java.programmer,comp.os.linux.setup
Subject: Re: how can i get my apache server support Java servlet?
Date: Thu, 13 Apr 2000 22:18:49 +0800
thank you.
regards
bonn
Stefan Cyris wrote:
> hi
>
> Try to compile apache for yourself and don't forget to include tomcat (
> http://jakarta.apache.org/) . For me it works much better than
> serlvets-module.
>
> cya
> Stefan
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: LILO stops at LI
Date: Thu, 13 Apr 2000 10:13:04 -0500
Henry wrote:
>
> Dear folks
>
> I've Redhat 6.1 installed as a partition on a HD, sharing with Win95. It
> works fine during the "LILO boot:", where i can choose
> between "windows"(win95) and "linux" until i use Partition Magic to reduce
> the size of my redhat partition. I was trying to transfer some empty space
> within the main redhat partition (not the swap linux swap partition) to
> the Windows partition. The notebook then stops at "LI" whenever i try
> booting up the machine again.
>
> Looking through the postings yield no result as no one seems to face the
> same problem as me, though suffering the same fate. I do not have any
> backup of my data or any info on those /dev/hda..etc info.
>
> I do not know how to create a boot disk to get ito Windows again, except
> the Windows created one, which when i tried, gets me to A:\. However i
> couldn't get into Win95 again fom C:\. The error message i got was "VFAT
> device initialization faied. A device or resource required by VFAT is not
> present or is unavailable. VFAT cannot continue loading. System Halted."
>
> Can anyone kindly help me please? I don't really understand the other help
> files.
>
> Henry
>
> --
> Posted via CNET Help.com
> http://www.help.com/
If you need to get into Windows quickly, boot from a DOS/Windows
(startup) floppy and run the (DOS) command
fdisk/mbr
This should restore your master boot record to the default and
you should be able to boot Windows.
Someone else has already pointed out that you changed the absolute
addresses of some critical files that lilo uses to boot Linux.
So you have to run lilo again. If you never made a boot
floppy, you will have to use a rescue disk. You can do this
with the RedHat CD, but it is a bit subtle, so I recommend instead
getting Tom's Root/Boot disk. I'm pretty sure this can be
installed under Windows and it may be found at
www.toms.net/rb/home.html
This will give you a boot floppy which will load a form of Linux
in a ramdisk in memory which is independent of your system.
Then I think the following should work. Make a mount point by
mkdir /a
Then mount your root file system. Let's assume for the sake of
argument it is /dev/hda5 (but it could be something else.)
mount /dev/hda5 /a
ls /a
should let you look at it. If it has and etc subdirectory with
etc/lilo.conf a file, it is the right thing. Then run
lilo -r /a
and that should restore your lilo boot loader. If it worked
before to boot Windows, it should still do so provided you
didn't do something radical with your Windows partition.
It is possible the above command won't work. In that case
try
/a/sbin/lilo -r /a
When you've finished with running lilo do,
umount /a
and reboot. (You wan't to be sure any changed you made to
the partition are actually written out to the disk.)
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Andreas Kahari <[EMAIL PROTECTED]>
Subject: Re: What the heck is linux doing?
Date: Thu, 13 Apr 2000 14:19:12 GMT
Please read "DAV's Endian FAQ" at
<URL:http://www.rdrop.com/~cary/html/endian_faq.html>.
/A
In article <[EMAIL PROTECTED]>,
Leonard Evens <[EMAIL PROTECTED]> wrote:
> Andreas Kahari wrote:
> >
>
> > Does the number 1179403647 tell you anything? It happens to be the
> > integer representation of 'F', 'L', 'E' followed by octal 177.
> >
> > My guess is that you're on an Intel machine, which is little endian,
and
> > that 'od' therefore gets 1179403647. The Sparc running Solaris is a
big
> > endian machine... and so is the Java virtual machine it seems(?).
That's
> > your problem.
> >
> > /A
> >
> > --
> > # Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
> > # All junk email is reported to the appropriate authorities.
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
> Excuse the ignorance, but what is the difference between a
> "little endian" and a "big endian" machine?
> --
>
> Leonard Evens [EMAIL PROTECTED] 847-491-5537
> Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
>
--
# Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
# All junk email is reported to the appropriate authorities.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: linux
Date: Thu, 13 Apr 2000 10:20:57 -0500
gopinath wrote:
>
> Dear Sir,
>
> I am having a PC (2GB harddisk, 32MB RAM, PentiumI). I want to download
> Linux operating system. Is there any site which is providing the O/S for
> free of cost?
>
> Kindly do the needful.
>
> Thanking You.
>
> --
> Posted via CNET Help.com
> http://www.help.com/
You can get the distribution tree or an iso image for the CD
for free. The former requires a very fast internet connection
and can be tricky. The latter requires a rw CD drive so you
can make a CD. I would recommend instead buying an inexpensive
CD for one of the standard releases. You can get these from
www.cheapbytes.com for less than $2 plus shipping. If you choose
to use RedHat, the most common release, I recommend getting
Release 6.2---the 6.1 installer has some bugs---and it may take
a few weeks for it to be readily available since it is just out
and demand is high.
See
www.linuxiso.org
for a source of downloadable iso images for the standard releases.
(But expect difficulty for RH6.2 because of demand.)
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED] (Patrick Klos)
Crossposted-To: comp.protocols.tcp-ip
Subject: Re: ipgrab packet sniffer now at Sourceforge
Date: 13 Apr 2000 14:42:05 GMT
In article <[EMAIL PROTECTED]>,
jose <[EMAIL PROTECTED]> wrote:
>Patrick O'Neil wrote:
>> Now we just need a stealthy packet sniffer. LoPhT released a
>> sniffer detector that simply finds computers on the network
>> that are in promiscuous mode, required for sniffing. If there
>> were some way around this...or perhaps a chirping sniffer, it
>> could sniff off and on, hopefully missing the scans the anti-
>> sniffer makes on a net.
>
>you're forgetting that people discussed this late last summer when
>AntiSniff came out. there is the anti-antisniff-sniffer, check the
>BUGTRAQ archives. :)
>
>the problem is it will not work against similar tools to detect
>sniffers. want a stealthy sniffer? a firewall blocking any traffic out
>will do it. or don't initialize the IP stack and rely on the BPF on a
>BSD system. several possibilities were mentioned in the discussion, and
>it was well populated by very bright people.
Most standalone protocol analyzers (a.k.a. "sniffers") CAN NOT BE DETECTED
by product like L0pht's AntiSniff! We make a DOS based product called
PacketView that I guarantee cannot be detected by AntiSniff. The premise
behinds L0pht's claims is that the "packet sniffer" AntiSniff is looking
for was planted there as a trojan horse. For that class of packet sniffer,
AntiSniff does a fine job. But for real protocol analyzers like PacketView
and others, AntiSniff doesn't have a clue.
============================================================================
Patrick Klos Email: [EMAIL PROTECTED]
Klos Technologies, Inc. Web: http://www.klos.com/
============================================================================
------------------------------
Date: Thu, 13 Apr 2000 09:44:03 -0500
From: Dan Star <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.unix.admin
Subject: Re: Which backup software to use?
Peter Buzanits wrote:
<snip>
> Performace while backup is not the goal. It is just important to be able to
> recover any special file from the tape as quick as possible. And to be able to
> store several backups on one tape.
If you want fast restore of a file then tar or cpio will not be your
answer. You want a tool that utilizes fast indexing of your tape drive
which programs like supertar do.
<snip>
-Dan
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,linux.redhat.misc,linux.redhat.misc
Subject: Re: need help to use minicom to connect to console using ttyS0
Date: Thu, 13 Apr 2000 14:51:39 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> On Thu, 06 Apr 2000 21:15:27 GMT, [EMAIL PROTECTED]
I have tried just software flow control and to no avail.
I have removed all init strings for the modem and I still get the
offline status after doing a Ctrl-A Z.
I am using this as a backup. I am using telnet to eventually get to the
router; however, I would like a method to use this linux box as a
backup.
Thanks much,
[EMAIL PROTECTED]
[EMAIL PROTECTED]> wrote:
> >I have a linux box with two comm ports which we used under Win95 to
> >connect to console port of network equipment, e.g. routers, using
> >Hyperterminal.
>
> Wouldn't it be easier to use telnet or rlogin on the network and and
setup
> so you can rsh (or rcp) or tftp files?
>
> >I am trying to duplicate this effort under Linux with Minicom. Please
> >advise as to what is needed.
> >
> >1. I have connected my com1 or /dev/ttyS0 to a console of Cisco
router.
> >2. I have used minicom -s and assigned the serial setup to /dev/ttyS0
> >with 9600 8N1 and hardware and software control
>
> Have you tried just software flow control. That usually works if you
do
> not have the wiring for hardware flow control.
>
> >3. I did not use any callin or callout programs
>
> Make sure you also remove any modem init strings, reset commands, etc.
> from the minicom setup.
>
> >Once I completed and saved, I get a blank response from minicom and I
am
> >unable to connect. Please let me know what I need to do. I would like
to
> >also
> >have the option of sending text files using minicom to the connected
> >device(s).
>
> I don't recall how to copy files from a terminal session with a Cisco
> router since I normally connect by network or ppp.
>
> >Thank you,
> >[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/
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Ron <[EMAIL PROTECTED]>
Subject: How many files?
Date: Thu, 13 Apr 2000 10:57:43 -0400
Does anyone know how many files can be stored in a single
directory in the linux ext2 file system?
Ron
------------------------------
From: Robert Wiegand <[EMAIL PROTECTED]>
Subject: Re: Closing One of Multiple Windows Crashes Netscape
Date: Thu, 13 Apr 2000 09:31:40 -0500
Rick wrote:
>
> I typically surf with multiple (half dozen or more) Netscape windows open,
> switching back and forth between them. Often, when I close ONE window,
> they ALL close. Does anyone know of a fix that falls somewhere short of me
> having to change my surfing habits?
How do you close the window? With the window controls or from the Netscape
pulldown menu?
I'm not sure about this, but I think it is worse if you use the window
close button.
--
Regards,
Bob Wiegand [EMAIL PROTECTED]
------------------------------
** 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
******************************