Linux-Misc Digest #244, Volume #25               Wed, 26 Jul 00 20:13:04 EDT

Contents:
  UID vs. EUID ([EMAIL PROTECTED])
  Handling Interrupts on LINUX ([EMAIL PROTECTED])
  Re: Add space for /usr (Floyd Davidson)
  Are you looking for hardware or software? ("Anton")
  Warning sound (bell) using bash script? (Doug Angus)
  Re: UPS with serial port (Harold Bower)
  Re: Warning sound (bell) using bash script? (Hal Burgiss)
  wheel group (Jason Rotunno)
  Re: wheel group (Dances With Crows)
  Re: problem with fileevent (Robert Heller)
  Re: Which IDE linux C programers use? (Florian E.J. Fruth)
  Re: MP3's skip when I perform other activities (Tomislav Nakic-Alfirevic)
  Re: Which IDE linux C programers use? (Tomislav Nakic-Alfirevic)
  Re: wheel group (blowfish)
  Re: 'Possible to remotely run root through telnet? (blowfish)
  xterm line misplaced on monitor screen (Susan Cupp)
  Re: Best Linux distribution for newbie (blowfish)
  Email client (Stephen J. Thompson)
  Re: Which IDE linux C programers use? (Bruce Stephens)
  EVENT: Linux Users' Group of Davis, August 1 - cgi-util (LUGOD Chairperson)
  Re: wheel group (FyreFiend)
  Re: Using "find /" on Linux? ("Andrew N. McGuire")
  Token Ring Network card  on Linux ("Simon He")
  Re: wheel group (Dances With Crows)
  Re: UPS with serial port (David Steuber)
  Re: UPS with serial port (David Steuber)
  Re: complaints (David Steuber)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED]
Subject: UID vs. EUID
Date: Wed, 26 Jul 2000 20:05:20 GMT



Hi, guys,

Can anybody tell me what is the differences between user ID and
effective user ID? Under what situation are these two values different?

Many many thanks for your answer!!

-tony


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Subject: Handling Interrupts on LINUX
Date: 26 Jul 2000 19:30:37 GMT


Hi,
I've got an application which has an acquisition board (with 48 digital isolated 
inputs) that'll be used for sampling 
sensors status. This polling shall be done in every exact 2ms.
I believe there's two possibilities to do so: 1) use the CPU clock to generate an 
interruption; and 2) to use the trigger interruption 
of the data acquisition board itself (but I don't know how to do Linux identify an 
interruption request in this situation).
QUESTIONS:  1)Could you please help me if you know how can it be done?
            2) Where shall I find relevant informations for that, such as a source 
code example or something like that???
            3)Could you indicate me some good discussion list in order to find some 
valuable informations?

THANK YOU VERY MUCH,
Kind Regards,
Juliano Cesar Pimentel

==================================
Posted via http://nodevice.com
Linux Programmer's Site

------------------------------

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Add space for /usr
Date: 26 Jul 2000 11:42:15 -0800

[EMAIL PROTECTED] wrote:
>Hi,
>
>I am currently running my Linux off a 4 GB partition on my system. Now,
>the /usr partition is gradually running out of space and is currently
>63% utilized.

At 63% you are not really running out of space yet.

>From what you say above it isn't exactly clear how your system
is partitioned.  Is the entire system on one 4Gb partition, or is
the /usr directory a 4 Gb mounted separately?  You might want to
look at such things as log files in /var/adm to see if you have
something that is growing beyond reason.

However, assuming that you either do need the extra space now or
(which is undoubtedly true) that you will need it in the future...

>I have a second hdd broken down into a 2 GB and a 6 GB partition.
>
>Could someone offer any directions on how I can use the 2 GB on hdb to
>be used as a /usr once the /usr on hda runs out of capacity ?

Another response has shown how to move one entire directory to a
new partition; however, that is a poor way to accomplish what
you need unless the size of the partition and the existing
directory happen to be closely matched.  For example, if you
copy /usr/X11R6 to your 2Gb partition and then mount it at
/usr/X11R6, you will have a great deal more space allocated to
/usr/X11R6 than you will likely ever want to use.

There is a better way.

Mount the new partition at some generic mount point.  I prefer /u1,
/u2, /u3, etc. for additional mounted partitions, but there are
a number of other conventions for name selections.  

Lets assume you mount it at /u1 and have added that to /etc/fstab.
Then you can copy all of /usr/X11R6 to /u1/X11R6, rename /usr/X11R6
to /usr/X11R6.old, and link /u1/X11R6 to /usr/X11R6 with these
commands:

   cp -a /usr/X11R6 /u1
   mv /usr/X11R6 /usr/X11R6.old
   ln -s /u1/X11R6 /usr/X11R6

At that point you will begin to use /u1/X11R6 files.  You need to
restart X, and once it is determined that all went according to
plan and things do work, you can delete /usr/X11R6.old entirely.

Then you can do the same with several other /usr directories
too, and they will all then reside on the new disk partition,
and thus free up space on the old partition.

  Floyd

-- 
Floyd L. Davidson                          [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)

------------------------------

From: "Anton" <[EMAIL PROTECTED]>
Subject: Are you looking for hardware or software?
Date: Wed, 26 Jul 2000 21:13:43 +0200




If you wish to buy a new hardware or software, would you like to be offered,
for a whole month, different prices from professional sellers, in order to
get the best deal possible?. (It's Free).
Forum21. Free tool for buyers.
http://www.forum21.net/english
































------------------------------

From: Doug Angus <[EMAIL PROTECTED]>
Subject: Warning sound (bell) using bash script?
Date: Thu, 27 Jul 2000 04:37:10 -0400
Reply-To: [EMAIL PROTECTED]

I've got a bash script file that allows me to run several different
input files for a particular calculation that I'm doing.  I would like
to include some sort of bell or alarm sound when the script is finished
(i.e. like the warning bell sound given when an "illegal" command is
performed in a shell window).  I don't have a sound card and so would
need to use the "regular" sound device (not sure what its called?).

Anyone have any suggestions?

Thanks,

Doug

------------------------------

Date: Wed, 26 Jul 2000 16:50:03 -0400
From: Harold Bower <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: UPS with serial port

David Steuber wrote:
> 
> Hi,
> 
> I'm looking for recomendations for UPSs that Linux can work with to do
> a proper shutdown.  Does Tripplite support Linux?  I've been told to
> avoid APC because it only puts out 90v on battery.  I don't want to
> waste my power supply.
> 
> Is there a UPS Linux compatibility list somewhere?
> 
> Is there a common protocol used by USPs?  How difficult would it be to
> spy on the serial port if there isn't?
> 
> --
> David Steuber   |   Hi!  My name is David Steuber, and I am
> NRA Member      |   a hoploholic.
> http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=hoplite&submit=Look+it+up
> 
> The problem with AI is that it has a mind of its own
>         --- Devon Miller

To tag on with others, I picked up a couple of used APCC units (a
BackUPS 400 and a BackUPS 600) which function well, after installing new
batteries.  They have saved my systems several times in short outages
using a home-made cable per the help files for 'apcupsd'.  These units
are the really dumb kind that simply provide a couple of voltage levels
which are sensed by the handshaking leads on a serial port, and need a
chunk of software to get your system to handle a power loss which
exceeds the level of charge in a graceful manner.

If you get one of these stupid kinds, the software will be the breaking
factor.  I had an old test version of apcupsd 3.5.8 a year ago which I
made work very reliably under TurboLinux (following the RedHat scripts),
but the 3.6.2 release version insists on loading three processes which
interact with each other and is unreliable.  Just tried to install the
current apcupsd-3.7.0, and it reports "Lost communication with the UPS"
after 15 seconds and keeps saying that all is well when I pull the plug
and wait!  Yes, I tried all kinds of tricks with the .conf files and
never got either of these later versions to work with the 'simple' cable
as the docs said, so would up re-installing the old 3.5.8 for the latest
system.

Good Luck.
Hal

------------------------------

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: Warning sound (bell) using bash script?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 26 Jul 2000 20:57:17 GMT

On Thu, 27 Jul 2000 04:37:10 -0400, Doug Angus <[EMAIL PROTECTED]>
wrote:
>I've got a bash script file that allows me to run several different
>input files for a particular calculation that I'm doing.  I would like
>to include some sort of bell or alarm sound when the script is finished
>(i.e. like the warning bell sound given when an "illegal" command is
>performed in a shell window).  I don't have a sound card and so would
>need to use the "regular" sound device (not sure what its called?).
>
>Anyone have any suggestions?


[hal@feenix hal]$ xkbbell  (X only)

[hal@feenix hal]$ echo -e \\a

-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
--

------------------------------

From: [EMAIL PROTECTED] (Jason Rotunno)
Subject: wheel group
Date: 26 Jul 2000 21:01:28 GMT


Can anyone tell me what the group 'wheel' is used for?

------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: wheel group
Date: 26 Jul 2000 21:09:13 GMT
Reply-To: [EMAIL PROTECTED]

On 26 Jul 2000 21:01:28 GMT, Jason Rotunno wrote:
>
>Can anyone tell me what the group 'wheel' is used for?

Not much these days in Linux systems.  "man su" and look for "wheel" to
see one thing that it used to be used for.  

-- 
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: Robert Heller <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.tcl
Subject: Re: problem with fileevent
Date: Wed, 26 Jul 2000 21:15:59 GMT

  Maria Jesus Martin Mohamed <[EMAIL PROTECTED]>,
  In a message on Tue, 25 Jul 2000 15:52:43 +0200, wrote :

MJMM> I'm programming in tcltk and I have a problem with command fileevent .
MJMM> I want to know what can I do to avoid a infinite loop.
MJMM> I use fileevent command to read a line of a file but when I found the
MJMM> final of a file I want to wait to read a new line when its is ready to
MJMM> be read, but fileevent always is looking a new line.

Regular files are *always* ready for reading -- fileevents only really
make sense for things like pipes and sockets.

You also need to check the input status when you perform the read (or
gets) in the fileevent code -- you need to close the file on EOF (this
cancels the fileevent).

MJMM> 
MJMM> thanks.
MJMM> 
MJMM>                                                               






                                                                                   
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

------------------------------

From: Florian E.J. Fruth <fejf@gmx*/dev/null*.de>
Subject: Re: Which IDE linux C programers use?
Date: Wed, 26 Jul 2000 23:28:04 +0200

In article <XhJ=OSDwl3O56i8wQJzluIh6LIuU@wingate>, [EMAIL PROTECTED] 
says...
> Which are the IDE used by the linux C programmers? Free or not.
> 73's de Luis
> 
> mail: melus0(@)teleline(.)es
> Ampr: eb7gwl.ampr.org
> http://www.terra.es/personal2/melus0/ <- PCBs for Homebrewed Hardware
> 

Midnight Commander rulez
fejf

-- 
the backup of my harddisk only takes the half time it 
did yesterday. i started to pipe it to /dev/null

------------------------------

From: Tomislav Nakic-Alfirevic <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: MP3's skip when I perform other activities
Date: 26 Jul 2000 21:32:46 GMT

In alt.os.linux.mandrake Richard Watson <[EMAIL PROTECTED]> wrote:
>> screen). 

> what are you using to play mp3s? Do you have the same problem if you
> do

> mpg123 mymp3.mp3

> from the command prompt?

Same problem. I've been listening to the discussion and it's definitly not
CPU power... xmms uses under 1% of my CPU time yet it skips during massive
disk activity. No improvement with mpeg123, either.

                                                        Tomislav

------------------------------

From: Tomislav Nakic-Alfirevic <[EMAIL PROTECTED]>
Subject: Re: Which IDE linux C programers use?
Date: 26 Jul 2000 22:03:40 GMT

Jan Schaumann <[EMAIL PROTECTED]> wrote:
> On Wed, 26 Jul 2000 18:48:16 +0200, Luis Yanes <[EMAIL PROTECTED]> wrote:

> I only know Glade and KDevelop as compelte IDE's, but many would consider
> (X)Emacs and/or vi(m) as alternatives.

> -Jan

Offtopic, has anyone ever managed to put a breakpoint in a program and make
the compiler acctually stop there (in KDevelop)?
I tried with KDevelop 1.1, if I'm not mistaken. I'm not the only one who
stumbled upon this...glitch?

                                                        Tomislav

------------------------------

From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: wheel group
Date: Wed, 26 Jul 2000 15:33:29 -0700

Jason Rotunno wrote:
> 
> Can anyone tell me what the group 'wheel' is used for?

"wheel" group is from the *BSD. It's for users who're allowed to 'su' to
root.

In most Linux.  It's called the "root" group.

Alex / blowfish.

------------------------------

From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: 'Possible to remotely run root through telnet?
Date: Wed, 26 Jul 2000 15:36:01 -0700

Dances With Crows wrote:
> 
> On Wed, 26 Jul 2000 18:50:01 GMT, Steve Buxton wrote:
> >I want to be able to remotely administer my Redhat workstation connected to
> >the internet.  Can I do this through a remote shell?
> 
> Of course you can, but:
> 0. Don't use telnet, use ssh
> 1. You can't directly log in as root if you're not at the console--log
> in as a normal user and su to root.
> 
> ssh is available all over the place.  Do a websearch on Openssh or go to
> http://www.ssh.com/ for the goods.  Once you've installed ssh and gotten
> the sshd daemon up and running on the machine you want to connect to,
> close off the telnet port as telnet is much less secure than ssh.
> 
> --
> 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

OpenBSD WON'T even allow you to login as root from anywhere other than
from the local terminal.

Alex / blowfish.

------------------------------

From: [EMAIL PROTECTED] (Susan Cupp)
Subject: xterm line misplaced on monitor screen
Date: 26 Jul 2000 22:46:54 GMT


On a Linux PC running RedHat Linux, at times a line of a xterm window displays
elsewhere on the monitor screen.  Ctrl-l redraws the window, and xrefresh redraws
the entire screen.  Video card is ATI|Rage 128 RF and monitor is SGI 20-inch GDM-20E21.
I've been trying to modify the XF86Config to resolve the problem, but haven't
been successful to this point.  Any ideas as to what to try?



------------------------------

From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: Best Linux distribution for newbie
Date: Wed, 26 Jul 2000 15:57:08 -0700

Edward R Hartung wrote:
> 
> Hello to all!!!  I'm looking to make a career change into computers (I
> hope!!) and in addition trying to teach myself HTML and Visual Basic 6,
> I've been looking into Linux so I can really learn about what an operating
> system is all about and take a break from Windows.  I was wondering which
> would be the best Linux distribution for someone like myself who is
> looking to use it both as a WIN98 replacement for my desktop needs and as
> a way to really learn about an operating system?  Any help would be
> greatly appreciated.  I'm presently reading "Running Linux" but after a
> few chapters realized it's time to "do" as I'm reading.  I've also ordered
> a beginning Unix book figuring it might fill in some gaps.  Thanks in
> advance.  BTW, I'm familiar with computers as an enduser, but not really
> versed in the real "nitty-gritty" of software and hardware.  However I'm
> very eager to learn as much as I can.  Computers have always been
> interesting to me, but I've never really gotten into the workings "under
> the hood" and I'd really like to now.  Thanks in advance.  ERH
> 
> --

SuSE 6.4 or later.

Or FreeBSD 4.x

Have A Lot of Fun.

Alex / blowfish.

------------------------------

From: Stephen J. Thompson <[EMAIL PROTECTED]>
Subject: Email client
Date: Thu, 27 Jul 2000 00:07:01 +0100

Hello all,

I am looking for an email client that can replace outlook for me. I
need the following features:

1. Pop3 and imap retrieval
2. Calendar facilities
3. A link to a palm pilot
4. Links to Gpg
5. To run under X.

And I would like the following:

1. To be able to retrieve my email history from an outlook file
format.

Any suggestions?

Thanks

Stephen.


------------------------------

From: Bruce Stephens <[EMAIL PROTECTED]>
Subject: Re: Which IDE linux C programers use?
Date: 27 Jul 2000 00:02:06 +0100

Luis Yanes <[EMAIL PROTECTED]> writes:

> Which are the IDE used by the linux C programmers? Free or not.
> 73's de Luis

XEmacs mostly.  For debugging, I like Insight, and Source Navigator
(only recently released as free software) is superb.  Insight and
Source Navigator can be found at <URL:http://sources.redhat.com/>.

------------------------------

From: LUGOD Chairperson <[EMAIL PROTECTED]>
Subject: EVENT: Linux Users' Group of Davis, August 1 - cgi-util
Crossposted-To: 
ucd.cs.programming,ucd.general,ucd.life,ucd.cs.club,sac.internet,sacramento.internet,sac.announce
Date: Wed, 26 Jul 2000 23:23:56 GMT



LUGOD, The Linux Users' Group of Davis, will hold its next meeting on:

  Tuesday
  August 1, 2000
  6:30pm

The meeting will be held at:

  Z-World, Inc.
  2900 Spafford Street
  Davis, CA 95616


The topic will be:

  "CGI Programming in C with 'cgi-util'"
  presented by Bill Kendrick of New Breed Software

"cgi-util" is a free, Open Source library for the C programming language
which allows a program to enteract with a webserver and execute as a "CGI,"
providing dynamic web content such as search engines, games, shopping carts,
message forums, and more.

Bill Kendrick has created numerous Open Source programs for Linux, and
runs a web-based game site powered by cgi-util-based software.


For details on this meeting, maps, directions, public transportation
schedules, etc., visit:

  http://www.lugod.org/meeting/



LUGOD is a non-profit organization dedicated to the
Linux Operating System which meets twice a month in Davis, CA.
Please visit our website for details:

  http://www.lugod.org/


-bill!
[EMAIL PROTECTED]
http://www.lugod.org/

------------------------------

From: FyreFiend <[EMAIL PROTECTED]>
Subject: Re: wheel group
Date: Wed, 26 Jul 2000 18:05:26 -0400

Hi,
Is there a way to make su only work for root (like BSD)? I know that
you can't su to root unless your in the wheel group on BSD and I'd
like to try and do that with Linux (RH6.2). Is it possable?

Thanks!
On 26 Jul 2000 21:09:13 GMT, [EMAIL PROTECTED] (Dances With Crows)
wrote:

>On 26 Jul 2000 21:01:28 GMT, Jason Rotunno wrote:
>>
>>Can anyone tell me what the group 'wheel' is used for?
>
>Not much these days in Linux systems.  "man su" and look for "wheel" to
>see one thing that it used to be used for.  


------------------------------

From: "Andrew N. McGuire" <[EMAIL PROTECTED]>
Subject: Re: Using "find /" on Linux?
Date: Wed, 26 Jul 2000 18:41:38 -0500

On 25 Jul 2000, Villy Kruse quoth:

][ On 25 Jul 2000 15:59:59 GMT, Ramon F Herrera <[EMAIL PROTECTED]> wrote:
][ >
][ >Every time I try to run the "find" comand from the top,
][ >I get the following error message:
][ >
][ > find: /proc/5/fd: Permission denied
][ >
][ >and the search stops.
][ >
][ >How can I work around this?
][ >
][ 
][ 
][ Ignore it.  If it realy bothers you you can reconfigure the kernel
][ and remove the md stuff.  The md driver creates a kernel daemon, with
][ and invalid filsystem structure.  This is a bug in the md driver.

Or, I believe he could do this:

find / 2> /dev/null

anm
-- 
/*------------------------------------------------------------------------.
| Andrew N. McGuire                                                       |
| [EMAIL PROTECTED]                                               |
| perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`' |
`------------------------------------------------------------------------*/


------------------------------

From: "Simon He" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.setup,linux.redhat.misc
Subject: Token Ring Network card  on Linux
Date: Thu, 27 Jul 2000 09:49:51 +1000

Hi,

I was trring to setup Red Hat Linux 6.2 on a Token Ring Network, somehow the
token ring card could not be initialized at bootup even after editing the
conf.module file. The error message I'm getting is:

localhost insmod: /lib/modules/2.2.14-12/net/ibmtr.o: init_module: Device or
resource busy
localhost insmod: /lib/modules/2.2.14-12/net/ibmtr.o: insmod tr0 failed
localhost kernel: ibmtr: register_trdev() returned non-zero.

I have tried both ISA and PCI card but to no avail, could anyone provide me
with solution to this problem ?


Simon



------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: wheel group
Date: 26 Jul 2000 23:54:51 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 26 Jul 2000 18:05:26 -0400, FyreFiend wrote:
>Is there a way to make su only work for root (like BSD)? I know that
>you can't su to root unless your in the wheel group on BSD and I'd
>like to try and do that with Linux (RH6.2). Is it possable?

Of course.  (If you're asking this question, you need a good book on
Unix basics, or you need to read through a few of the HOWTOs at
http://linuxdoc.org/HOWTO/ )

# chown root.wheel /bin/su
# chmod 4750 /bin/su

-- 
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

------------------------------

Subject: Re: UPS with serial port
From: David Steuber <[EMAIL PROTECTED]>
Date: Thu, 27 Jul 2000 00:00:03 GMT

Robert Heller <[EMAIL PROTECTED]> writes:

' Locate the 'powerd' HOWTO (UPS HOWTO) for *complete* details.  Get a
' copy of powerd (powerd spys on a serial port and will fork() a
' 'shutdown' if the serial port state suggests that wall power has
' failed). 

Thanks!  That sounds like the place to go.

' Basically there are three flavors of UPSs:
' 
' mindless, dumb, and smart.
' 
' Mindless: has no serial port at all (you can still use one of these for
' a smart shutdown -- see below).
' 
' Dumb: has a serial port, but only diddles one signal line (DTR or
' something) -- powerd likes these.
' 
' Smart: has some *clever* protocol -- sends real live messages over the
' serial port.  powerd does not like these.  *Some* of the UPS vendors
' have Linux daemons for these.  For others there are GPL daemons (reverse
' engineered) available.  For all others, they can be treated as
' expensive UPSs of the 'mindless' type.
' 
' For mindless UPSs and for smart ones without available matching
' software, all it NOT lost.  There is a 'trick': get a random old
' *external* modem (make use of the old USR HST modem or that ratty old
' USR Courier 2400 modem, etc.).  Speed, etc. not important.  Plug the modem's
' transformer plug into the *wall* outlet, plug the RS232 to COM<N>
' (/dev/ttyS<N-1>). Plug the UPS into the wall and the computer into the
' UPS.  Tell powerd to watch the port with the modem's DTR line.  The
' modem will assert DTR so long as it has power.  When a power failure
' happens the modem loses power (wall power == 0VAC).  Computer is still
' alive (UPS is on battery power and providing 120VAC for a short while).
' No DTR == no wall power.  Time to 'shutdown -h +?' (? == max number of
' minutes we can live off the UPS, less the time it will take to
' shutdown). 

Ok, so a Dumb UPS with serial line is the thing to look for.  About
the modem solution, I know where I can get dirt cheap external modems
for the serial line.  The problem I have with the modem solution is
that it sounds like if the power goes out for five seconds (which
happens from time to time), the computer will stay off.  How would I
tell the computer to cancel the shutdown in the time available for
power (let's say I assume ten minutes)?  What if the power comes back
after that time period?  Will the computer magicly turn on again?

My current experience thus far is using a mindless tripplight.  It
give me time to manually shut down my computer if the power goes out
and I am there.  I manually turn the computer back on when the power
is restored.  The computer does not use a `soft' power switch.  It is
on or off.  The new computer I am building appears to have a soft
switch.  The power supply has a hard switch, and the front pannel has
a switch that goes to the motherboard.

If the powerd stuff handles all this and it is in the documentation
you point out, I'll figure it out.  Obviously, I will test the
solution before I put the computer on line.

-- 
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=hoplite&submit=Look+it+up

The problem with AI is that it has a mind of its own
        --- Devon Miller

------------------------------

Crossposted-To: comp.os.linux.hardware
Subject: Re: UPS with serial port
From: David Steuber <[EMAIL PROTECTED]>
Date: Thu, 27 Jul 2000 00:00:04 GMT

Dan Amborn <[EMAIL PROTECTED]> writes:

' Make sure you get the cable that works with Linux.  They have two cables and
' have a tendency to send the Windows cable out by default without asking.

I don't understand this.  I thought there were two types of RS-232
cable: a straight cable and a null-modem cable.  What is APC doing
different?

-- 
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=hoplite&submit=Look+it+up

The problem with AI is that it has a mind of its own
        --- Devon Miller

------------------------------

Subject: Re: complaints
From: David Steuber <[EMAIL PROTECTED]>
Date: Thu, 27 Jul 2000 00:00:05 GMT

oneal nichols <[EMAIL PROTECTED]> writes:

' I'm disillusioned with Linux.  I'll leave it on my system (probably
' difficult to even uninstall it) and tinker with it in spare time but it
' just ain't what it's cracked up to be!

Many of the problems you are having are likely to be the fault of OEMs
who bow down to Bill Gates and insist on using crippled hardware that
uses the CPU of the computer to perform vital functions via Windows
device drivers.

Winmodems are a clear example of this.  You can probably make a modem
out of a soundcard if you had a way to plug it into your phone line.
After all, a modem just takes serial bitstreams and uses some vee dot
modulation scheme to send the data over the phone line.  The modem
also has a function to demodulate the audio back into a bitstream.

It is a few cents cheaper, it seems, to move the DSP into software
from hardware.  Thus, the infamous Winmodem comes to be.

Printers are having similar problems.  Instead of sticking with
relativly standard page description languages like PostScript (which
is expensive because of the Adobe license) or some other documented
ascii based language, printers are beginning to become funky graphics
devices like a video card that are drawn to using the GDI APIs.  This
requires driver software that can make it very difficult to make such
a printer work with Linux.

If all that isn't bad enough, these vendors dub their hardware
programming interface proprietary so that the difficult job of
creating a suitable Linux driver is made that much more difficult.

BTW, Winmodems are totaly evil under Windows as well.  If you don't
have the right hardware setup, V.90 communications can eat up a big
chunk of your available CPU.

Linux will make it into the mainstream.  I am certain of that.
However, it will take some time.  There are many political barriers to
entry.  There may also be a few technical barriers, but most of it is
politics.  Linux users are still considered radicals by the conformist
Gateists.  It takes something of an enlightened view and a bit of
research to make Linux a low-cost solution.

-- 
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=hoplite&submit=Look+it+up

The problem with AI is that it has a mind of its own
        --- Devon Miller

------------------------------


** 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
******************************

Reply via email to