Linux-Misc Digest #370

2001-03-15 Thread Digestifier

Linux-Misc Digest #370, Volume #27   Fri, 16 Mar 01 00:13:02 EST

Contents:
  Re: how to make a script output required syntax? (Michael Heiming)
  Re: Books on Unix Kernel for non-programmer. (Rich Teer)
  Re: Path Extraction (Young4ert)
  Re: Books on Unix Kernel for non-programmer. (Rich Teer)
  Re: script to monitor and kill/restart runaway processes on Linux server (Randy R)
  Problem with persistant pop3 connections (JB)
  Re: script to monitor and kill/restart runaway processes on Linux server 
([EMAIL PROTECTED])
  Re: real player 8 (richard noel fell)
  Re: PPP dialer that handles dynamic one-time passwords? (Harold Stevens 
US.972.952.3293)
  Re: script to monitor and kill/restart runaway processes on Linux server (Chris 
Coyle)
  Re: PPP dialer that handles dynamic one-time passwords? ([EMAIL PROTECTED])
  Re: can't kill! ([EMAIL PROTECTED])
  Lilo w/ Win98 and RH7, adding Win2k
  Re: "Invalid session number or type of track" error during boot (Dances With Crows)
  Re: can a serial connection work when keyboard/monitor doesn't? (Dances With Crows)
  Re: "telent localhost" failure (wmchan)
  help with Linux FreeS/Wan VPN installation (Hung Ngoc Lai)



Date: Fri, 16 Mar 2001 01:35:29 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: how to make a script output required syntax?

T Sutherland wrote:
> 
> I am writing a simple script that requires the user to string the names
> of two files after it on the command line:
> 
> #script [filename1] [filename2]
> 
> How can I get it to test if the user just typed
> 
> #script
> 
> and then output the preferred syntax (an echo command I type, obviously)?
> 
> I've tried
> 
> if [ $1 == "" ]
>   then
> echo "Syntax: script [filename1] [filename2]"
> exit
> fi
> 
> but all I get is
> ./script: [: ==: unary operator expected
> 
> when I type in just
> #script
> 
> any clues?

Hello,

if they are real (l)users, you could use somthing something as crappy as
this...:-)

if [ "$#" = 2 ]; then
echo  -n "checking syntax."; sleep 1; echo -n "." ;\
sleep 1 ; echo -n "."; sleep 1; echo "."
else
echo "Usage: " $0 " "; exit
fi
echo "OK...:-)"  

Good luck

Michael Heiming

--

Crossposted-To: 
alt.os.linux,comp.unix.admin,comp.unix.aix,comp.unix.bsd.openbsd.misc,comp.unix.misc,comp.unix.solaris,comp.unix.ultrix
From: Rich Teer <[EMAIL PROTECTED]>
Subject: Re: Books on Unix Kernel for non-programmer.
Date: Fri, 16 Mar 2001 00:36:57 GMT

On Thu, 15 Mar 2001, J.Smith wrote:

> Well as I mentioned, im an system administrator, not a programmer. Knowing
> how *nix works conceptually and how the algorythms work, will be of use for
> performance tuning, as an troubleshooting aid, and be of general use while
> performing my daily sysadmin duties. But because I wont have to actually
> write or read any code, it will be of less value to me to know " a *int from
> an int."

Ah.  If performance tunig was what you wanted, why didn't you say?!  :-)

Have a look at Adrian Cockcroft's Solaris Perfromance Tuning.

--
Rich Teer

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net


--

From: Young4ert <[EMAIL PROTECTED]>
Subject: Re: Path Extraction
Date: Fri, 16 Mar 2001 00:24:37 GMT

Thomas Zajic wrote:

> On 14/03/01, Young4ert ([EMAIL PROTECTED]) wrote:
> 
>> If I want to extract the program name given the fullpath of the
>> program, all I have to do on my LInux machine is the following:
>> 
>> ~/tmp> basename /usr/bin/basename
>> 
>> and "basename" will return "basename".  Nothing is wrong about;
>> however, if I want is the path of the program, i.e. "/usr/bin",
>> what program should I use to extract the path given the program
>> name in fullpath?
> 
> man dirname
> 
> HTH,
> Thomas

Thank you.  This is what I want.

--

Crossposted-To: comp.unix.admin,comp.unix.misc,comp.unix.solaris
From: Rich Teer <[EMAIL PROTECTED]>
Subject: Re: Books on Unix Kernel for non-programmer.
Date: Fri, 16 Mar 2001 00:44:44 GMT

On Wed, 14 Mar 2001, it was written:

> I have THE MAGIC GARDEN EXPLAINED by Goodhard and Cox.  It's about

Agreed (although Solaris Internals is better for Solaris, of course!).

> SVR4, the basis of Solaris.  The Bach book is good for BSD.

Bach's book was about SVR3, not BSD.  For BSD internals, the best books
are the Design and Implementatiion of BSD UNIX 4.[34], by McKusick, et al.

--
Rich Teer

President,
Rite Online Inc.

Linux-Misc Digest #370

2000-11-22 Thread Digestifier

Linux-Misc Digest #370, Volume #26   Wed, 22 Nov 00 14:13:02 EST

Contents:
  Motd and mail on login ("vkd")
  Re: SCO 'tar' media with Linux? (fred smith)
  sound card
  NFS Solaris Server - Linux Client (Subha Pindiproli)
  rexec not working (Scott Twitchell - EWB Support)
  Warning Cannot find pixmap file ... Help! ([EMAIL PROTECTED])
  Re: A stronger kill (Floyd Davidson)
  Time Flies and it is not Fun (Martin McCormick)
  Re: NFS Solaris Server - Linux Client (Robert Kiesling)
  Re: Help with Castlewood ORB and Linksys Etherfast 10/100 NIC ("Tagbo Ekwueme-Okoli")
  cron output redirection (Bruce)
  Re: Motd and mail on login ("vkd")
  Experience using Enhydra WebServer? (Thomas Weholt)
  Re: Software RAID (moonie;))
  LINUX FILE SERVER PROBLEM ("Dave Metvedt")
  RH7,kgcc,linksys,SMP: cannotinsmod tulip.o! (Peter Bismuti)
  Re: spam spam everywhere! (John Hasler)
  Re: lpd network permissions problems (Bill Unruh)
  Re: lpd network permissions problems (Bill Unruh)
  Netscape 6 (Robert Wiegand)
  compiler flags (Dirk Groeneveld)
  optimizing kernelbuild (Dirk Groeneveld)



From: "vkd" <[EMAIL PROTECTED]>
Subject: Motd and mail on login
Date: Wed, 22 Nov 2000 17:11:32 GMT

Which script in linux checks mail on login and prints motd? I want to
disable the mail check on login. Where should I look?

Thanks



--

Crossposted-To: alt.linux,alt.os.linux
From: fred smith <[EMAIL PROTECTED]>
Subject: Re: SCO 'tar' media with Linux?
Date: Wed, 22 Nov 2000 10:19:27 GMT

Scott M. Navarre <[EMAIL PROTECTED]> wrote:
:   I have a lot of files on backup tapes in tar format from a SCO Openserver
: Unix system that I would like to copy to my Linux system (which is using the
: same SCSI tape drive).  What is the best way to copy these to Linux?
:   Is there a 'tar' program somewhere out there for Linux that would allow me
: to do this?  (I notice that the 'tar' that comes with Linux doesn't handle
: devices - i.e. can't do a "tar xv6" to extract files from a floppy disk)

Using a device number (i.e., the "6") is not portable. I think (may be
wrong??) it's a SCO'ism. You need to use the more portable form, which
works on all tars on all Unixes: tar xvf /dev/fdx where the 'x' is '0'
for drive "A:" and '1' for "B:".

But probably more importantly, if these tar archives are split across
multiple volumes I believe you will not be able to restore anything but
the first tape with GNU tar. My experience is that each tar program
uses its own (i.e., different) mechanism to describe the nature of the
split itself.

You may be able to install the iBCS2 module on your LInux and bring over
a tar from a SCO system to use. Haven't tried it myself.

Fred
-- 
 Fred Smith -- [EMAIL PROTECTED] 
   I can do all things through Christ 
  who strengthens me.
== Philippians 4:13 ===

--

From: <[EMAIL PROTECTED]>
Subject: sound card
Date: Wed, 22 Nov 2000 17:30:03 -

Please advise me as to what my problem could be?My multimedia speakers are 
working perfect,but when I install the headphone-microphone jacks into the 
rear jacks of the sound card I have no audio.Also the sound recorder 
portion on windows 98 accessories is inop too.

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

--

From: Subha Pindiproli <[EMAIL PROTECTED]>
Subject: NFS Solaris Server - Linux Client
Date: Wed, 22 Nov 2000 17:30:12 -

Client Machine: Linux (SuSE 7.0) Pentium Class Machine
NIS/NFS Server: Solaris 2.6 Sun Compute engine

What: How to get File systems on Sun automount seamlessly on my Linux 
client machine? 

What have I done so far: 
  1. replicated /etc/nsswitch.conf from Solaris settings.
  2. Copied file mounts from /etc/mnttab /etc/mtab

NIS works fine, as I can see the list of all users on my Linux client. 

  3. /etc/netgroup has been edited to add my machine (hostname) to the list 
of trusted hosts
  4. Have a local copy of /etc/auto_home and /etc/auto_master set in 
Solaris machine

I am sure there is something missing from my end in getting the automount 
to work. Surely there has to be 100s of Linux client machines connected to 
Solaris NFS servers which has several file systems mounted on Solaris side. 
So there has to be some simple  way to automount the Solaris file systems 
on Linux Client ??

I am looking for answers.. 

Thank you 
Subha

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

--

Date: Wed, 22 Nov 2000 12:40:45 -0500
From: Scott Twitchell - EWB Support <[EMAIL PROTECTED]>
Sub

Linux-Misc Digest #370

2000-08-07 Thread Digestifier

Linux-Misc Digest #370, Volume #25Mon, 7 Aug 00 13:13:02 EDT

Contents:
  Re: How to change a ro mounted disk to rw? (Nicolas Iselin)
  Re: Help burning CDR (iso) image (Dances With Crows)
  Re: How to change a ro mounted disk to rw? (Dances With Crows)
  Re: sending Fax (Fabian Gebhardt)
  Re: Modem Lights App for Windoze? (Fabian Gebhardt)
  Re: Size of /var/lib/rpm - why so big? (Dave Brown)
  Re: mp3 normalizer for Linux? (Mike Castle)
  Re: VNC and my proxy
  Re: Almost Lost New Hard Drive After Linux Install (Svend Olaf Mikkelsen)
  Re: Backup /usr files (permissions?), repartition, restore?
  Re: Linux sees only 64 M of RAM ???
  Re: Linux sees only 64 M of RAM ??? (Dances With Crows)
  Re: Almost Lost New Hard Drive After Linux Install (Bob Hauck)
  Re: Linux sees only 64 M of RAM ??? (Bob Hauck)
  Booting linux from ZIP (Antonio =?iso-8859-1?Q?Jos=E9=20Ant=F3n?=)
  linneighborhood (alikbm)
  Intel Etherexpress Pro/10+ ISA problem (Stephen Britton)
  /usr/sbin/nscd  (David Steuber)
  Re: UDMA IDE Drive stops network transfers (David Steuber)
  Re: UDMA IDE Drive stops network transfers (David Steuber)



From: Nicolas Iselin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How to change a ro mounted disk to rw?
Date: Mon, 07 Aug 2000 16:12:44 +0200

Ted Sariyski wrote:
> 
> Hi,How to change a ro mounted disk to rw?

First of all, this is what your system does everytime it boots. It
first mounts your root filesystem read-only, performs some checks
and then remounts it rw.

There is an option to mount that is used for unmounting and mounting
in one step (remount). I just say: RTFM/man mount.

> 
> I posted this two days ago but did not get any answer. This a last cry
> for help before going to rebuild the system. 

Don't !!!

> I messed with the
> /etc/fstab and put /dev/hda1 instead of /dev/sda1. At boot time the
> system looks for an non-existing device and throw me up in a rescue mode
> with /dev/sda1 mounted under / as read-only. If I am able to mount
> /dev/sda1 as read-write I will be able to correct the typo in /etc/fstab
> and it will save me a lot of time. The problem is that I do not know how
> to do this. I am unable to umount /dev/sda1. 

If you would successfully umount your root filesystem, where would you 
take take the mount command from ??? ;-)

> When I submit "umount
> /dev/sda1" the system doesn't complain but do nothing. I am stuck. Is
> there a way to change the mode of a mounted file system from ro to rw. I
> will highly appreciate any help, hint, points to howto, etc.

The second solution can help you in the future whenever there is a problem
booting: Download the tomsrtbt 'Linux on one floppy' from www.toms.net.
Boot this floppy and then mount the partition in question manually (i.e.
without using /etc/fstab, again just read the full manpage to mount) vi 
fstab and there you are. 

Good luck

Nicolas

--

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Help burning CDR (iso) image
Date: 7 Aug 2000 14:17:51 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 07 Aug 2000 08:21:02 -0500, pdlamb wrote:
>I need some help burning an image to a CD.  I haven't been able to burn
>it with cdrecord, using a command line like 'cdrecord speed=4 dev=0,0,0
>-v pinstripe-powertools-i386.iso' -- makes the best coaster you've ever
>seen!  I've had my best luck mastering and burning images with xcdroast,
>but I can't figure out how to specify an image file.

How did you make the .iso file in the first place?  And can you check
the .iso using the loopback, like so?
  mount -t iso9660 file.iso /mnt/other -o loop,ro
should mount the .iso on /mnt/other --if it coughs up error messages
unrelated to the lack of loopback support in your kernel (Put it in!) or
the nonexistence of /mnt/other (mkdir it), then the .iso file is more
than likely corrupt.  To make an .iso file out of a data CD, just do:
  dd if=/dev/cdrom of=file.iso bs=2k

xcdroast is a frontend to cdrecord and mkisofs--nothing more, nothing
less.  What works in xcdroast *must* work in cdrecord.  Does cdrecord
cough up any errors while burning?

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /   Tyranny is always better organized
http://www.brainbench.com /than freedom.
=/  ==Charles Peguy

--

From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.setup
Subject: Re: How to change a ro mounted disk to rw?
Date: 7 Aug 2000 14:19:26 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 07 Aug 2000 09:19:13 -0400, Ted Sariyski wrote:
>I posted this two days ago but did not get any answer. This a last cry
>for help before going

Linux-Misc Digest #370

2000-05-05 Thread Digestifier

Linux-Misc Digest #370, Volume #24Fri, 5 May 00 14:13:03 EDT

Contents:
  DVD kernal patch ("Jason Stegman")
  Re: what does this msg mean ? ... (Martin Kroeker)
  Re: "make config" surprise ("Peter T. Breuer")
  Re: [HELP] Mounting Macintosh fileserver on Linux ( George Jefferson)
  Re: ls --color command ("C.E.G.")
  Re: "make config" surprise ([EMAIL PROTECTED])
  Re: [HELP] Mounting Macintosh fileserver on Linux (Keep it to Usenet please)
  Re: [HELP] Mounting Macintosh fileserver on Linux (david bonde)
  Re: Linux woes (Compaq for one) on the horizon (Boddhisatva Troutwaxer)
  Re: What is the purpose of /etc/fstab? (Leonard Evens)
  Re: [HELP] Mounting Macintosh fileserver on Linux ("Paul Harman")
  Re: make config problems (Steve)
  Re: [HELP] Mounting Macintosh fileserver on Linux ( George Jefferson)
  send SNMP traps to NT from linux box ([EMAIL PROTECTED])
  Re: can mkisofs include only some files from directories (James Pearson)
  Re: send SNMP traps to NT from linux box (brian moore)
  Qmail Queue ("Carlo Manuali")
  Re: How to print page range in Netscape/Linux (Robert Lynch)
  How to start and stop inetd, apachectl in startup scripts. (Thaddeus L. Olczyk)
  Re: How to print page range in Netscape/Linux (Chetan Ahuja)
  Re: xdm,kdm or gdm problem ([EMAIL PROTECTED])
  Re: RH 6.2: shutdown problem: Xfree86 crashes ([EMAIL PROTECTED])
  fsck.ufs: Does it exist? ([EMAIL PROTECTED])
  Re: Setting up a Sound card / Setting up a standart modem in Corel LINUX OS Deluxe 
([EMAIL PROTECTED])
  Having a problem with tar. ([EMAIL PROTECTED])
  Capacity Planning Class (Perfskool)
  Re: good email client for Linux? (Michael Kelly)



From: "Jason Stegman" <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: DVD kernal patch
Date: Fri, 5 May 2000 11:09:05 -0400

has anyone got the DVD kernel patch for 2.2.14 working.  The DVD player
seems to be working right, but I don't think the patch worked.  I'm running
RH 6.2 on a dell pentium III.  however, to configure the kernel i used 'make
xconfig'.  might this have hindered the effectiveness of the patch.

-jason



--

From: Martin Kroeker <[EMAIL PROTECTED]>
Subject: Re: what does this msg mean ? ...
Date: Fri, 5 May 2000 14:15:45 GMT

G.L. Grobe <[EMAIL PROTECTED]> wrote:

> This seems to happen every once in awhile (every two weeks or so). I'll
> walk in my office and find that my web server is totally unresponsive
> and locked up with the following msg's displaying on my screen.

Most likely a hardware problem. Check the CPU fan, and check the memory.
(get memtest86 from http://reality.sgi.com/cbrady_denver/memtest86/ and
let it run for a few minutes).

HTH,
Martin
-- 
Dr. Martin Kroeker, daVeg GmbH Darmstadt  CAD/CAM/CAQ  [EMAIL PROTECTED]
  Precision Powered by Penguins

--

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: "make config" surprise
Date: 5 May 2000 15:03:21 GMT

Ken Yasuda <[EMAIL PROTECTED]> wrote:
:   While trying to modify my kernel, I went to /usr/src/linux and tried to
: "make xconfig" and "make menuconfig."  I got the following error message but am
: not quite sure what it means:

:   make: *** No rule to make target `xconfig'.  Stop. 

Interestingly enough, it means what it says: the Makefile does not
contain any rule that has xconfig as its target. You should look
at the Makefile and see if it looks to have been mutilated. Compare
it with a fresh Makefile from the source tar.

:   Can anybody suggest what I should be checking out as a result of this
: error message?  Configuring the kernel had not been a problem during several of
: my earlier attempts.

But did you try the same thing during your earlier attempts? Please
show what you did, and the error messages that result. As well as
pertinent info like an ls -l of the /usr/src/linux directory.

Offhand, I guess you are not in the right directory, despite what
you claim above.

Peter

--

From: [EMAIL PROTECTED] ( George Jefferson )
Crossposted-To: comp.os.linux.networking,comp.protocols.appletalk,comp.sys.mac.misc
Subject: Re: [HELP] Mounting Macintosh fileserver on Linux
Date: 5 May 2000 15:21:06 GMT

:> http://www.panix.com/~dfoster/afpfs/ if you want more information on it.
:
:Yuk - looks way too alpha for my liking.

and its been alpha for about 10 years , at least i think thats
the package i looked at for my old sparc in the early 90's.



-- 
george jefferson : [EMAIL PROTECTED]
to reply simply press "r"
   -- I hate editing addresses more than I hate the spam!


--

From: "C.E.G." <[EMAIL PROTECTED

Linux-Misc Digest #370

1999-08-11 Thread Digestifier

Linux-Misc Digest #370, Volume #21   Wed, 11 Aug 99 23:13:11 EDT

Contents:
  Re: CIA assassinations (Jerry Lynn Kreps)
  Re: Ad-blocking software? (Gergo Barany)
  Re: Grand Prix Legends / Linux: Very last call for signatures ;-) ("hotdog")
  Where is SOUND CONFIGURATION in CALDERA2.2 ("Unknown")
  Re: Graphics Library for C/C++ (David M. Cook)
  Re: Graphics Library for C/C++ (David M. Cook)
  Any suggestion   Couldn't mount Windows 98 second edition ("Unknown")
  so... the os works... now what? ([EMAIL PROTECTED])
  mount -t  vfat  /dev/hda1  /mnt ("Unknown")
  Re: QuickTime 4 player for linux (Jim Hill)
  Re: Grand Prix Legends / Linux: Very last call for signatures ;-) (Tony Porczyk)
  Re: I've had a problem d/ling RH6.0 from ftp site and mirrors.. Has  
([EMAIL PROTECTED])
  Controlling Linux through a COM port ("Adam JBC")
  Need help running scriptfor Nvidia TNT support ("JMNugent")
  Re: Ad-blocking software? (Jim Hill)
  Re: linux mem=80M too long (Cameron L. Spitzer)
  Re: Any suggestion Couldn't mount Windows 98 second edition ([EMAIL PROTECTED])
  Re: /etc/issue.net (Chris Mahmood)
  Max Users, Increasing ("KillaBee")
  installing Downloader for X (Jeff Strunk)
  Re: Have you heard? ([EMAIL PROTECTED])
  Re: kernel booting problem (Chris Mahmood)
  Re: How does one read a CDROM in Linux? (Vilmos Soti)
  Re: How does one read a CDROM in Linux? (Adam Silverthorne)
  Re: double-sided printing queue ("Gene Heskett")
  CPU Temp (was: Is Linux A Memory Hogging OS?) (Paul Hovnanian)
  Re: Mounting Windows? (Chris Mahmood)
  Re: Applications (Chris Mahmood)
  Re: Any Support for PCI Modems? (Chris Mahmood)
  Re: instaling GCC (Chris Mahmood)
  SCSI scanners (Bob Lockie)



From: Jerry Lynn Kreps <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: Wed, 11 Aug 1999 18:56:21 -0500

MK wrote:



> >Perhaps you're not well acquainted with the Blue Cross system in the US,
> >which you hve just described, but it happens to be the most expensive of
> >all possible alternatives.

Because the government got into the health-care "business" via
Medicare-Medicaid, creating a bottomless pit of money from which all
kinds of husksters draw.  In 1962, I was working for $1.65/hour, 40
hours per week, plus 100% Blue Cross & Shield. (No co-pay back then).  I
had to have an emergency appendectomy, spent one week in the hospital
after having an experimental "vest pocket" surgery.  The TOTAL bill,
including the hospital, the doctor and anethesiologist came to $732.50. 
50 cents was for an asperin.  Today, that same surgery, using the same
materials and technique, and taking the samme amount of time, but
staying only three days in the hospital would cost $10,000.  Without the
charges inflated by government intervention, fees, regulations, etc., it
would have cost less than $2,000.  Fraud and greed by doctors, and by
insurance company CEOs, compounded by government waste all contribute.

Hospitals are forced, *repeatedly*, to pass on costs for care given to
people who can't or won't become responsible for their own care.
Druggers, gang bangers, hookers, wineos, welfare kings and queens, etc.,
to say nothing of those deserving help: mentally ill, retarded,
physically impared, the young and old. Some doctors double bill, but
most doctors are forced into defensive medicine (unnecessary tests,
procedures,etc., to ward off lawsuits and government welfare nannies). 
Insurance companies have abandon the mortality and per-capita tables,
partly because of greed, CEO golden parachuts, etc., but many folks are
making a living scamming Insurance, which raises rates to the rest of
us.

The US gov appoints an insurance company as the Medicare-Medicare
insurance provider, administering tax funded insurance payments.  The
insurance company implements the biggest insurance scam of all:
"coordinated" insurance.  My mother-in-law lived with us 20 years before
she passed away at 95.  She had insurance via her deceased husbands
employment policy.  Over the years it went from 100% to 80-20 copay,
which really became about 50-50 when their "usually and customary"
exclusions were applied.  THEN, they would deduct the amount
Medicare-Medicaid paid from the amount they were liable for, and pay the
difference.  Many times, with deductables, they paied nothing!  It never
stopped them from collecting premiums from her husbands former employer.

The bottom line:  the current crisis in health care arises from the
basic dishonesty of all parties envolved.  Doctors only have an oath to
their income, which is why they average $275+ per hour in a society
where the average wage is $16/hour.  Insurance companies build monuments
to the

Linux-Misc Digest #370

1999-05-27 Thread Digestifier

Linux-Misc Digest #370, Volume #20   Thu, 27 May 99 16:13:11 EDT

Contents:
  Re: FDD Tape Drive--The Sequel (M. Farrenkopf)
  Re: Diald dials out every 15 minutes (Michel)
  Re: Lilo having a problem (Johan Kullstam)
  GNU Cgicc released ([EMAIL PROTECTED])
  Threading (Ralph Blach)
  Re: Commercially speaking? (Erik Olson)
  Re: Commercially speaking? (Chris Wilson)
  SMP & RAID Tools (Mooniesdl2)
  Re: Commercially speaking? (Erik Olson)
  LSH-0.1 (Niels =?ISO-8859-1?Q?M=F6ller?=)
  Re: connecting-computers ("Jeroen N. Witmond")
  Re: LILO problem with win98 (Redhat) (FX)
  Re: Commercially speaking? (Erik Olson)
  Re: Diald dials out every 15 minutes (Erhard Siegl)
  Re: xterm & background processes (Erik Rissanen)
  Re: xterm & background processes ("T.E.Dickey")
  Re: Linux Read win95/98 Long File Names? (carl)



From: mattf*@aracnet.com (M. Farrenkopf)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: FDD Tape Drive--The Sequel
Date: 27 May 1999 18:13:20 GMT

On 26 May 1999 21:37:37 GMT, Adam J <[EMAIL PROTECTED]> wrote:
>Thanks for the info.  I installed my Colorado 250MB tape drive, but have 
>been unsuccessful in getting anything on the tape.  I know I should use tar, 
>(the command line I used was "tar -cz /home/* /dev/ftape/hame.tar") but 
>whenever I try to use it, I get a bunch of garbage on the screen and my box 
>starts beeping at me.  Any advice?

Yes. :-)

You're missing a very important option.  -f is what allows you to specify
the destination and name of the tar file.  Thus, you're telling tar to tar
up /home/* and /dev/ftape/hame.tar.

If you want the file to go to /dev/ftape/hame.tar, then try:

tar -czf /dev/ftape/hame.tar /home/*

(c = create tar file, z = compress, f = filename to use)

I've never tried the f option as anything but the last option since it
requires a filename, so just make sure it is the last option listed and it
should work fine.

Matt

-- 
==
"Why put fault tolerance in the OS, when it's already built into the User?"
- Steve Shaw, comp.os.linux.advocacy, on the apparent lack of
  fault tolerance in MS Windows-series of OS's.

--

From: Michel <[EMAIL PROTECTED]>
Subject: Re: Diald dials out every 15 minutes
Date: 27 May 1999 11:26:04 -0500

Brian Lane wrote:
> 
> On 26 May 1999 22:02:01 -0500, Michel <[EMAIL PROTECTED]> wrote:
> >marco tephlant wrote:
> >>
> >> Im pleased to say i've got IP masquerading and diald working this
> >> weekend,  one problem though is that diald spontaneously dials out.  I've
> >> looked through the man pages and checked theres no cron job causing it
> >> but can't figure out whats making it happen,  I have two Win98 PC's
> >> connected to the network,  neither of them were running any network app
> >> or anything. As a test I left the server and one PC switched on for a
> >> couple of hours and didnt touch anything,  but logs still showed it
> >> connecting every fifteen minutes.
> >>
> >> Any tips as to what this could be?
> >>
> >
> >Did you set it to be active with control-panel? or KDE?
> >
> >If that is the case you are technically connected 24hrs a day. If something
> >disconnects you the redialer will happily reconnect you. It looks like your
> >ISP disconnects you after 15 minutes of inactivity. Linux is nice enough to
> >reconnect you.
> 
>   I think you misunderstood him, he said it is connecting every 15 minutes,
> not disconnecting.

You misunderstood what I said. My ISP for instance will disconnect me every 20
minutes if there is no activity. For example, when I download some stuff with
wget at night the net connection may go off and I'm reconnected a few seconds
later, in the case that my download is ended before I get up and turn off the
connection it will reconnect me every 20 minutes a few seconds after my ISP
disconnects me. I've tested it and every 20 minutes exactly it will reconnect me.

-- 
Tired of Windows' rebootive multitasking?
then try Linux's preemptive multitasking
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.

--

From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: Lilo having a problem
Date: 27 May 1999 14:18:01 -0400

[EMAIL PROTECTED] writes:

> Lilo is having a problem with my hard drive. It says that because it
> is more than 1024 cylinders that Lilo will not work right. Will
> Redhat 6.0 fix this. By the way I am using Redhat

Linux-Misc Digest #370

1999-03-08 Thread Digestifier

Linux-Misc Digest #370, Volume #19Mon, 8 Mar 99 17:13:08 EST

Contents:
  Re: More bad news for NT (Harry)
  Re: Linux networking nukes kernel of SCO box. ("Dan Tager")
  Re: Linux Safeguards for the Consumer? (Seth Van Oort)
  Re: Moving /home to /usr/home
  Re: Can Linux use 36-bit Xeon addressing? (Robert Krawitz)
  Re: Used WWW.DEJANEWS.COM ! (Jess C. Gehin)
  Re: command not found not solved with ./ (Allen Ashley)
  Re: Startup... (Jason Clifford)
  Re: egcs 1.1.1 i386.rpm where ? (Dramen Mendra)
  Re: command not found not solved with ./ (Art Green)
  Newbie - help modifying sendmail 8.8.5-4 ([EMAIL PROTECTED])
  Re: need some application recommendations (Andy Harrison)
  Re: best offline newsreader? ("Rufus V. Smith")



From: Harry <[EMAIL PROTECTED]>
Subject: Re: More bad news for NT
Date: Mon, 08 Mar 1999 15:55:27 -0500

John Hasler wrote:
> Putting a GUI on a server is like putting a Cadillac
> suspension on a pickup truck

I've got to disagree - when no-one is logged in, the user 
interface isn't loaded (what you see before login is *not* 
Explorer). This means that an NT Server sitting quietly in a 
corner isn't being weighed down by the UI. Also, NT *does* allow 
remote administration from other NT systems (Server and 
Workstation) and even Win 95/98 systems. What NT doesn't support 
is a remote console, which is another matter. NT basically isn't
(bar Terminal Server Edition) a multi-user system.

Harry

--

From: "Dan Tager" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.sco.misc,comp.os.linux.networking
Subject: Re: Linux networking nukes kernel of SCO box.
Date: Mon, 8 Mar 1999 15:51:11 -0500

Craig Macbride wrote in message <[EMAIL PROTECTED]>...
>Easy way to crash SCO OSR 5.0.5 kernel:
>
>1) Attach Linux machine to network, with lpd pointed at SCO box.
>2) Wait about 2 hours.
>3) SCO kernel panics with trap type E in kernel function tcp_linput while
>running lpd.
>
>(In particular, this happens with 5.2 Redhat running 2.0.36 Linux kernel
>and SCO 5.0.5 with rs505a and app477a loaded.)
>
>I'd like to request that Linux developers try to nuke Windoze boxes
>and leave SCO boxes alone. :-)
>


Hmmm... I've had a Linux box, 2.0.35, with lpd pointing to a SCO box, 5.0.2c
with OSS468 and 449.  Both have been up for many months now with no
problems.  Did something break in newer versions?  I'm getting ready to
upgrade our SCO box to 5.0.5.  I guess I better do some testing

--Dan




--

From: Seth Van Oort <[EMAIL PROTECTED]>
Subject: Re: Linux Safeguards for the Consumer?
Date: Mon, 08 Mar 1999 21:11:09 +

Benjamin Sher wrote:
> 
> Dear friends:
> 
> As a consumer with some experience with Dos, Win3.1 and Win95, I am in the
> process of deciding whether I should switch over to Linux. I am considering
> buying Linux on a Disk (LOAD) made by Cosmos Engineering
> (www.cosmoseng.com). I have been reading deeply in Red Hat Linux Unleashed
> in order to help me understand Linux and make a wise decision.
> 
> Specs: NEC Pentium 166, MMX, 64 meg Ram. Win95 + Linux (hopefully) using
> LILO.
> 
> QUESTIONS:
> 
> 1 -- ROOT MODE SAFEGUARDS:
> 
> Are there any safeguards (either command-line or by way of the GUI) against
> accidentally hitting the wrong key combination while in "root" mode? Does
> hitting such a combination of keys really result in destruction of your
> system (as opposed to "merely" requiring a reinstallation of Linux?

Just consider that in Windows you're always in so called root mode. In
Unix you can purposely limit your abilities by changing to a different
user. If you can accidentally hit a combination of keys to wipe out your
system, then you're pretty good. A much, much greater possibility is
purposefully hitting a combination of keys and not understanding the
full implications. Linux is not this jagged operating system waiting to
catch you on something so it can wipe out everything. The command line
is comparable to dos.

> 
> 2 -- SHUTDOWN SAFEGUARDS:
> 
> I am planning to buy a battery to protect me from power failures, etc.
> Makes a lot of sense. But what about human error? Inadvertently hitting the
> power button to shut down the system. I understand that fsck or File System
> Checker is the LInux equivalent of Scan Disk. Is it a sufficient safeguard
> against human error?
> 
> I have read that Linux, unlike Windows, runs in "unprotected" mode. What
> exactly does that mean, from a practical point of view? Does that mean that
> the safeguards above do not apply or cannot really be applied to Linux?

Who knows what that's supposed to mean. The pro

Linux-Misc Digest #370

1998-12-27 Thread Digestifier

Linux-Misc Digest #370, Volume #18   Sun, 27 Dec 98 18:13:10 EST

Contents:
  Linux Frequently Asked Questions with Answers (Part 5 of 6) ([EMAIL PROTECTED])



Crossposted-To: news.answers,comp.answers
Subject: Linux Frequently Asked Questions with Answers (Part 5 of 6)
From: [EMAIL PROTECTED] 
Date: Sun, 27 Dec 1998 22:13:03 GMT

to have LILO boot it from the floppy (see the LILO documentation, in
lilo.u.*.ps).

If you build the kernel (or tell LILO to tell the kernel) to have a
RAM disk the same size as the floppy the RAM disk will be loaded at
boot time and mounted as root in place of the floppy.

See the Bootdisk HOWTO.


8.9 How do I remap my keyboard to UK, French, etc.?

For recent kernels, get /pub/Linux/system/Keyboards/kbd-0.90.tar.gz
from sunsite.unc.edu. Make sure you get the appropriate version; you
have to use the right keyboard mapping package for your kernel
version.

For older kernels you have to edit the top-level kernel Makefile, in
/usr/src/linux.

You may find more helpful information in The Linux Keyboard and
Console HOWTO, by Andries Brouwer, at
sunsite.unc.edu/pub/Linux/docs/HOWTO.


8.10 How do I get NUM LOCK to default to on?

Use the setleds program, for example (in /etc/rc.local or one of the
/etc/rc.d/* files):

for t in 1 2 3 4 5 6 7 8
do
 setleds +num < /dev/tty$t > /dev/null
done

Setleds is part of the kbd package ("How do I remap my keyboard
to UK, French, etc.?").

Alternatively, patch your kernel. You need to arrange for KBD_DEFLEDS
to be defined to (1 << VC_NUMLOCK) when compiling
drivers/char/keyboard.c.


8.11 How do I set (or reset) my initial terminal colors?

The following shell script should work for VGA consoles:
for n in 1 2 4 5 6 7 8; do
 setterm -fore yellow -bold on -back blue -store > /dev/tty$n
 done

Substitute your favorite colors, and use /dev/ttyS$n for serial
terminals.

To make sure they are reset when people log out (if they've been
changed):

Replace the references to "getty" (or "mingetty" or "uugetty" or
whatever) in /etc/inittab with references to "/sbin/mygetty."

#!/bin/sh
setterm -fore yellow -bold on -back blue -store > $1
exec /sbin/mingetty $@

[Jim Dennis]

8.12 How can I have more than 128Mb of swap?

Use several swap partitions or swap files--Linux supports up to 16
swap areas, each of up to 128Mb.

Very old kernels only supported swap partition sizes up to 16Mb.

Linux on machines with 8KB paging, like Alpha and Sparc64, support a
swap partition up to 512MB. The 128MB limitation comes from
PAGE_SIZE*BITSPERBYTE on machines with 4KB paging, but is 512KB on
machines with 8KB paging. The limit is due to the use of a single page
allocation map.

The file mm/swapfile.c has all of the gory details.

[Peter Moulder, Gordon Weast]



9. Miscellaneous information and questions answered.


9.1 How do I program XYZ under Linux?

Read the manuals, or a good book on Unix. Manual pages (type "man
man") are usually a good source of reference information on exactly
how to use a particular command or function.

There is also a lot of GNU Info documentation, which is often more
useful as a tutorial. Run Emacs and type C-h i, or type info info if
you don't have or don't like Emacs. Note that the Emacs libc node may
not exactly describe the latest Linux libc, or GNU glibc2. But the GNU
project and LDP are always looking for volunteers to upgrade their
library documentation.

Anyway, between the existing Texinfo documentation, and the manual
pages in sections 2 and 3, should provide enough information to get
started.

As with all free software, the best tutorial is the source code
itself.

The latest release of the Linux manual pages, a collection of useful
GNU Info documentation, and various other information related to
programming Linux, can be found on sunsite.unc.edu in
/pub/Linux/docs/man-pages.


9.2 What's all this about ELF?

See the ELF HOWTO by Daniel Barlow--note, this is not the file
move-to-elf, which is a blow-by-blow account of how to upgrade to ELF
manually.

Linux has two different formats for executables, object files, and
object code libraries, known as, "ELF." (The old format is called
`a.out'.) They have advantages, including better support for shared
libraries and dynamic linking.

Both a.out and ELF binaries can coexist on a system. However, they use
different shared C libraries, both of which have to be installed.

If you want to find out whether your system can run ELF binaries, look
in /lib for a file named, "libc.so.5." If it's there, you probably
have ELF libraries. If you want to know whether your installation
actually is ELF you can pick a representative program, like ls, and
run file on it:

-chiark:~> file /bin/ls
/bin/ls: Linux/i386 impure executable (OMAGIC) - stripped

valour:~> file /bin/ls