Re: Transplanting old System to New Drive (now Linux for vision impaired)

2011-08-18 Thread Karl O. Pinc
On 08/18/2011 07:38:58 PM, Scott Ferguson wrote:

> For me the biggest problem is CD labels - my writing makes the 
> reading
> even harder. Now if someone created a simple system that announced 
> the
> title of any cd placed in the drive based on information burned to 
> the
> CD

See http://www.freedb.org and the packages with cddb in their
name for possible solutions.  I don't know how to tell if
an app is cddb/freedb aware.  There's probably a lot of
music apps that are

See also the festival package and the result of running
"debtags search speech".

Regards,



Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1313728198.8919.0@mofo



Re: network-connected camera with motion-detection e-mail configurable in Linux?

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 04:12:40 PM, Barclay, Daniel wrote:


Actually, I wrote in that in reply to your other message about
USB attachment (intending, of course, to have been viewing that
other message when I started my message ).


Anyway, the camera itself runs Linux, and yes, has a web page
via which you configure it.  As far as the motion detection and
email sending, you might have to compile that yourself.  (Perhaps
ask on their mailing list or something.)  And I don't know whether
it would run zoneminder at the desired framerate, etc., or if
some simpler motion detection would be good enough.

Their cameras are not cheap and the lenses can be expensive too.
But the resolution, framerate, low light, etc. specs all looked
really good.

At this point we're probably offtopic and I've exhausted my knowledge
anyhow so I'll stop.  I just thought I'd point you in that direction.


(By the way, is Elphel's product web page as screwed up (stair-
stepping down and to the right) for you as it is for me (runniing
SeaMonkey)?


Yes.  Maybe it's supposed to look like that?  Or maybe it's because
I'm still using the etch iceweasel?

Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: network-connected camera with motion-detection e-mail configurable in Linux?

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 03:45:08 PM, Barclay, Daniel wrote:

Karl O. Pinc wrote:
>
> On 06/08/2009 03:30:21 PM, Karl O. Pinc wrote:
>>
>> On 06/08/2009 03:19:37 PM, Barclay, Daniel wrote:
>>> Does anyone know if there any wireless network-connected video
cameras
>>> with in-camera motion-detection-triggered e-mail notification that
are
>>> configurable via Linux?
>
>> If you want cool cameras that run Linux where you might
>> (possibly) be able to do everything on-camera see Elphel:
>> http://www3.elphel.com/index.php




You seem to have missed a key part of my question.  I was asking about
network-connected cameras--ones that do not require a host computer
(other than the computer "hosting" the browser) for viewing and,
hopefully, configuration and initial setup.


I don't think I missed that part.  The Elphel will, e.g., stream
ogg theora video viewable in, e.g., mplayer.  (With high resolution
and high frame rates too.)  Or do you mean that
the camera must have a video display attached?


Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: network-connected camera with motion-detection e-mail configurable in Linux?

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 03:30:21 PM, Karl O. Pinc wrote:


On 06/08/2009 03:19:37 PM, Barclay, Daniel wrote:
Does anyone know if there any wireless network-connected video  
cameras
with in-camera motion-detection-triggered e-mail notification that  
are

configurable via Linux?



If you want cool cameras that run Linux where you might
(possibly) be able to do everything on-camera see Elphel:
http://www3.elphel.com/index.php


Sorry, missed the wireless part.

I'd guess that for wireless support you'd want to stick
a 10349 interface board on and plug in a usb wireless device.
Or maybe there's other options.

YMMV.

Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Does anyone else consider this a bug?

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 03:29:06 PM, Frank Lin PIAT wrote:

Hello,

Last-point first, you can instruct Debian-Installer to prompt for
fixed
IP (rather than using DHCP).


Isn't there a choice when in expert mode as well?


Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: network-connected camera with motion-detection e-mail configurable in Linux?

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 03:19:37 PM, Barclay, Daniel wrote:

Does anyone know if there any wireless network-connected video cameras
with in-camera motion-detection-triggered e-mail notification that are
configurable via Linux?


Typically you'd do motion detection with the zoneminder
package in Linux.  (I've heard good things but not used it.)

If you want cool cameras that run Linux where you might
(possibly) be able to do everything on-camera see Elphel:
http://www3.elphel.com/index.php


Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Listing held packages for which there are upgrades

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 02:55:42 PM, Florian Kulzer wrote:

On Mon, Jun 08, 2009 at 12:57:46 -0500, Karl O. Pinc wrote:
> On 06/08/2009 12:44:13 PM, Karl O. Pinc wrote:
>> On 06/08/2009 12:40:16 PM, Harry Rickards wrote:
>>> On 06/08/09 18:13, Karl O. Pinc wrote:
>>> > Hi,
>>> >
>>> > On etch when I did an 'aptitude upgrade' it would show
>>> > the packages on hold that would have been upgraded
>>> > but were held back.  On lenny this no longer happens.



Packages that could be upgraded and have been placed on hold:

aptitude search '~U~ahold'

Pakchages that could be upgraded:

aptitude search '~U'

(Assuming that, for your purposes, "could be upgraded" is equivalent
to
 "have been held back".)


Thanks very much.  I swear I read the docs, but I guess I
can't read.

For my purposes I think I want:

aptitude search '~U' -o  
Dir::Etc::sourcelist=/etc/apt/sources.list.securityonly


where sources.list.securityonly has just the security.debian.org
repositories.  (It makes me wonder if there's a way
to do this without having a separate sources.list file.)

Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: rsync and Windows backups on a Debian box and permissions

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 01:28:53 PM, H.S. wrote:

Karl O. Pinc wrote:
>
> On 06/08/2009 11:26:01 AM, H.S. wrote:
>>
>> Any ideas how I get around this problem?

Nice tips, and it appears they make sense. However, please pardon my
ignorance, I am not sure I fully understand:


These are sort of "this or that" choices.



> a) Don't do that.  Have the uid/gids be the same on the MS
> and Debian sides.

You mean preserve the the uid/gids on the Debian side so that they are
the same as they were on the XP machine?


Right, and set the ids manually when you make the users on
the Debian side.




> b) Use --numeric-ids in the rsync script and after it finishes
> use find -uid and chown to change the uids to the "right" value.
> (Likewise for gids.)

>From rsync's man page, --numeric-ids will preserve the numeric ids
across transfers. So, it appears that I am on the right track in (a)
above. But what should I change these ids to on the Debian side? If
the
ids are preserved, shouldn't that be fine for the following step as
well?


Yup.


Since all I require is that the users on XP be able to browse
their own backups on Debian (which, as you wrote in (c), should be
accomplished using samba).


You don't have to use samba, it's just nice for MS Windows users.

FYI, somebody must have done this before so there's probably a
best-practices on the net, somewhere.


Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Listing held packages for which there are upgrades

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 12:44:13 PM, Karl O. Pinc wrote:


On 06/08/2009 12:40:16 PM, Harry Rickards wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/08/09 18:13, Karl O. Pinc wrote:
> Hi,
>
> On etch when I did an 'aptitude upgrade' it would show
> the packages on hold that would have been upgraded
> but were held back.  On lenny this no longer happens.


'aptitude safe-upgrade' will upgrade safely, and will sometimes hold
back packages. 'aptitude dist-upgrade' will not. I think upgrade now
goes to safe-upgrade.


Neither will upgrade packages that have been put on hold
with "aptitude hold".  That's what I'm asking about.


Now that I think of it I'd like to see a listing of
packages that have
been held back for any reason, both those held because
I manually put the on hold and those that are held back
by aptitude for reasons of it's own when a "safe-upgrade"
is done.  Either way I'll need to manually look at upgrading.



> How do I get a list of those packages, and only those
> packages, that would be upgraded if they were not on hold?



Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.orgwith a  
subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org





Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Listing held packages for which there are upgrades

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 12:40:16 PM, Harry Rickards wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/08/09 18:13, Karl O. Pinc wrote:
> Hi,
>
> On etch when I did an 'aptitude upgrade' it would show
> the packages on hold that would have been upgraded
> but were held back.  On lenny this no longer happens.


'aptitude safe-upgrade' will upgrade safely, and will sometimes hold
back packages. 'aptitude dist-upgrade' will not. I think upgrade now
goes to safe-upgrade.


Neither will upgrade packages that have been put on hold
with "aptitude hold".  That's what I'm asking about.

Sorry for the lack of clarity.



> How do I get a list of those packages, and only those
> packages, that would be upgraded if they were not on hold?



Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Listing held packages for which there are upgrades

2009-06-08 Thread Karl O. Pinc

Hi,

On etch when I did an 'aptitude upgrade' it would show
the packages on hold that would have been upgraded
but were held back.  On lenny this no longer happens.

How do I get a list of those packages, and only those
packages, that would be upgraded if they were not on hold?

FYI I want this mostly because I have too many systems
to apply security updates to manually.   So I've a cron
job that regularly does updates from the security team
repository.  However I do not want critical packages,
e.g. the kernel, upgraded by an automatic process.
I put the packages I want to manually review on hold.
I rely on the output from the cron jobs to notify me
when there are updates available for such packages.
Unlike, say the security-announce email list, the
cron jobs keep emailing me until I apply the latest
upgrades.  I can miss an email on occasion and not have
to worry about missing an irreplaceable message.

Thank you.

Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: rsync and Windows backups on a Debian box and permissions

2009-06-08 Thread Karl O. Pinc


On 06/08/2009 11:26:01 AM, H.S. wrote:

Hello,

I have a Debian box (running Testing) which rsyncs some directories
from
a Windows laptop (running XP on an ntfs partition) to a partition on a
local disk on the Debian box.

The Debian box uses rsync via ssh connection made with the XP box
which
has cygwin and ssh server installed. The user used to do the ssh
connection is an administrator on the XP box ('root'). The script is
running from the root account on the Debian box.

The command is something like this:
rsync --delete --modify-window=10  --force -Rvaue ssh
--exclude-from=$EXCLUDESFILE --progress \
xp-box:"/cygdrive/c/Documents\ and\ Settings/user1
/cygdrive/c/Documents\ and\ Settings/user2" /mnt/backups/xp-daily-00;

where $EXCLUDESFILE is a variable defined with the path to the
excludes
files on the Debian box.

Now, this all works very well for making the backups.

However, the permissions of the files pulled from the XP box to the
Debian box are the same as on the XP box. The same two users, user1
and
user2, also exist on the Debian box. However, the gids and uids of
these
users are different on the XP box and on the Debian box. So the users
cannot browse their own directories (backups) from within the Debian
box
(permissions denied).

This is a problem if a user wants to browse, or recover files from,
his
backups by connecting from the XP box to the Debian box using ssh
(because then the user's gid and uid are Debian numbers, not the XP,
or
cygwin on XP, numbers).

Any ideas how I get around this problem?


a) Don't do that.  Have the uid/gids be the same on the MS
and Debian sides.

b) Use --numeric-ids in the rsync script and after it finishes
use find -uid and chown to change the uids to the "right" value.
(Likewise for gids.)

c) Have the users recover/browse their backups with samba
instead of ssh and have samba map the uids/gids "properly".

Karl 
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Lenny CUPS server and etch CUPS client

2008-07-07 Thread Karl O. Pinc


On 07/07/2008 04:09:13 PM, Rainer Dorsch wrote:

Am Montag, 7. Juli 2008 schrieben Sie:
> > # Only listen for connections from the local machine.
> > Listen localhost:631
> > Listen 192.168.1.10:631
> > Listen /var/run/cups/cups.sock


If this is OT, my apologies.  I've not been following this
thread.

However, it appears there's mention of messing with cupsd.conf,
and I just struggled through trying to configure a cups server
on a headless box.

Rather than muck about in cupsd.conf, which only got me
trouble in my browser with messages that indicated I needed
to upgrade cups, I instead used ssh to tunnel ipp traffic
so that I could access the headless cupsd host via a
localhost address on the box where the browser lives.

On the box where you have your browser:

 su - ; # be root
 ssh -L 632:localhost:631 [EMAIL PROTECTED]

Then fire up your browser and go to:
 http://localhost:632/

When you're done configuring, exit the ssh session.

I found a few links (printers) would take me back
to http://localhost:631/, the wrong url, but mostly
things worked fine and I was able to configure a cups
server on a box that does not run a browser.

Regards,

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: PGP Keys Expiration

2008-07-06 Thread Karl O. Pinc


On 07/06/2008 08:36:13 AM, John W Foster wrote:

I have over the years established several PGP public keys that are no
longer valid due to expired e-mail addresses. I did not think at the
time they were created that I needed an expiration date in thm.


FWIW, IIRC accepted best practice is to generate a revocation
when you generate the initial key pair.  Then (so long as
you keep backups) you'll always be able to revoke the key
even if you forget the password, or whatever.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: More than one xserver?

2008-07-06 Thread Karl O. Pinc


On 07/06/2008 08:31:35 AM, Hugo Vanwoerkom wrote:

Karl O. Pinc wrote:


Why step 2, make softlinks to the X command?



http://www.linux.com/base/ldp/howto/XFree-Local-multi-user-HOWTO/sym_links.html


That does not explain much.  Just says you have to do it.

Likewise, I found in "man xinit":

   ... However, servers are
   usually named Xdisplaytype where displaytype is  the
   type  of  graphics  display  which is driven by this
   server.  The site administrator  should,  therefore,
   make a link to the appropriate type of server on the
   machine, ...

But that's also not an explanation.

I can see where it'd be nice to know what X server is doing
what when you look at ps output, but otherwise don't see the
point.  I'm wondering if the symlink is some sort of
requirement, and if not what the purpose is.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: More than one xserver?

2008-07-06 Thread Karl O. Pinc


On 07/06/2008 08:31:35 AM, Hugo Vanwoerkom wrote:

Karl O. Pinc wrote:


On 07/06/2008 07:27:05 AM, Hugo Vanwoerkom wrote:

Karl O. Pinc wrote:



What's the right way to run more than one X server?


, I _could_

just run X and startX

directly.  Are there any out-of-the-box solutions
or should I just use inittab?



How would you use startx on monitors other than the first one that  
has the console output?


In my case I'm thinking I wouldn't need more than "the first one",
if that.  (My writing was not very clear, sorry.)

The thing is, the local machine is nothing more than a thin client.
The goal is to use a very minimal machine locally and have
all the compute power elsewhere.
Unless I really want to do _anything_ local, I don't need a
client side on the local machine at all.  I can just run the server:

  # this file is/etc/inittab

  # console #8 disp0 connects to remote *dm via xdmcp
  8:23:resspawn:X -query xclient.example.com -layout disp0
  # console #9 disp1 connects to remote xsane front-end,
  #  started by a command=xsane in authorized_hosts,
  #  which in turns connects back to a local saned process
  #  to access a locally connected scanner.
  9:23:resspawn:startx ssh -i /usr/local/etc/sanestuff/sanekey
[EMAIL PROTECTED] 'DISPLAY=xserver.example.com:1 xsane'
-- -layout disp1

(I've not tested the above.)

So, all the applications run remotely, all the desktop eyecandy is
generated remotely, and all the scanner image processing is done
remotely.  (And I'm hoping that if I do cups right all the
awful gostscript printer munging is done remotely too.)

The local box has video cards, a nic, and no fan excepting the PSU.
Silence.  Yay!

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: More than one xserver?

2008-07-06 Thread Karl O. Pinc


On 07/06/2008 07:27:05 AM, Hugo Vanwoerkom wrote:

Karl O. Pinc wrote:



What's the right way to run more than one X server?

There don't seem to be any hooks in the /etc/init.d/*dm
scripts.  (I thought maybe there'd be something in
/etc/default/, at least for gdm which IIRC has some
hooks for different configuration settings for different
DISPLAYs.)


I run 2 xservers for two displays/keyboards/mice:

http://wiki.debian.org/Multi_Seat_Debian_HOWTO


Thanks.  That's what I was looking for.  I couldn't
figure out how to start 2 servers automatically.
(It's that grody .ini config file format.  Is .ini
even documented anywhere?)

Why step 2, make softlinks to the X command?

What if I didn't want to use a *dm?  On one DISPLAY
I want to go straight to the *dm of a remote box,
and on the other, the one used for a copy machine,
I don't want to authenticate at all.  A *dm seems
a bit overkill, I _could_ just run X and startX
directly.  Are there any out-of-the-box solutions
or should I just use inittab?

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



More than one xserver?

2008-07-05 Thread Karl O. Pinc

Hi,

What's the right way to run more than one X server?

There don't seem to be any hooks in the /etc/init.d/*dm
scripts.  (I thought maybe there'd be something in
/etc/default/, at least for gdm which IIRC has some
hooks for different configuration settings for different
DISPLAYs.)

I'm running etch, but if there's other work in Lenny/Sid
would like to know where Debian is going with this.

I could whack together something in inittab using startx
but would rather do things "the right way".  If this is not
the place to ask where can I get an answer?

I want at least one X server to serve a client desktop
on the other side of the LAN, so that may mean executing
the Xserver directly and using the
-query argument.  I've not made up my mind but
am leaning away from an xdmcp chooser on that display
because it's just another hassle to pass through at login.

Another Xserver will run nothing but xsane as a client
and act as a stand-alone copy machine.  That one I'll
probably auto-login with gdm, or maybe not.

Thanks.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: Success in reflashing a crippled OEM bios

2007-08-01 Thread Karl O. Pinc

For the record,

I had to set the RAM timing to 1:1 to slow the
frontside bus down to 133MHz, with the CPU setting
at 133 as is set by the "performance" default bios
settings, in order to have stability.  Memtest86+
was reporting errors otherwise.

On 08/01/2007 03:49:03 PM, Karl O. Pinc wrote:

Hi,

FYI.  Some time ago I bought a cheap $150 Linspire box
from Frys.  (Great Quality PC, it says on the box.)

I bought it because I knew Linspire did not ship
binary-only drivers, so I knew the box would work
with all distros.  Sadly, Linspire has changed their
policy and buying a box with their OS is no longer
a guarentee of anything.  For that and other
reasons I can no longer recommend buying a pre-loaded
Linspire box.

I'd love to be a fly on the wall when these people are talking
about how they want to sell a crippled box, and what
features they want to pay extra money to rip out.

It comes with a ECS 741GX-M2 motherboard.
(10/18/2005-741GX-M2-6A7I8E19C-00, says the boot screen.)
Turns out this is a ECS 741GX-M motherboard that's been
fitted with a crippled BIOS, as far as I can tell.

It turns out that you can flash the bios with the latest 741GX-M bios
from www.ecs.com.tw.  This gives you the option of
booting at power-up, so you know your box will come
up after a power failure, and lots more.

YMMV.  Don't blame me if you turn your box into a brick.

Here's my notes:

Installed the 41GXMA13.bin bios from:

http://www.ecs.com.tw/ECSWebSite/Downloads/ProductsDetail_Download.aspx?detailid=422&DetailName=New&DetailDesc=741GX-M%20%20(V1.0)&CategoryID=1&MenuID=82&LanID=9

Used the AWD865.exe program to do it.

This makes a backup of the old bios:
AWD865 backup.bin /pn/sy

This installs and clears the cmos:

AWD865 41gxma13.bin /py/sn/cc

Then told the bios to install the optimized settings, not the safe
ones.  And then told it to boot at power-up, etc.

The BIOS chip is a:
EN29F002ANT-70JC
You have to rip 2 layers of stickers off to get see the
part number printed on the chip.

Note that the bios protect jumper is documented backwards.
Pins 1 & 2 need to be jumpered to allow the bois to be updated.


Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




OT: Success in reflashing a crippled OEM bios

2007-08-01 Thread Karl O. Pinc

Hi,

FYI.  Some time ago I bought a cheap $150 Linspire box
from Frys.  (Great Quality PC, it says on the box.)

I bought it because I knew Linspire did not ship
binary-only drivers, so I knew the box would work
with all distros.  Sadly, Linspire has changed their
policy and buying a box with their OS is no longer
a guarentee of anything.  For that and other
reasons I can no longer recommend buying a pre-loaded
Linspire box.

I'd love to be a fly on the wall when these people are talking
about how they want to sell a crippled box, and what
features they want to pay extra money to rip out.

It comes with a ECS 741GX-M2 motherboard.
(10/18/2005-741GX-M2-6A7I8E19C-00, says the boot screen.)
Turns out this is a ECS 741GX-M motherboard that's been
fitted with a crippled BIOS, as far as I can tell.

It turns out that you can flash the bios with the latest 741GX-M bios
from www.ecs.com.tw.  This gives you the option of
booting at power-up, so you know your box will come
up after a power failure, and lots more.

YMMV.  Don't blame me if you turn your box into a brick.

Here's my notes:

Installed the 41GXMA13.bin bios from:

http://www.ecs.com.tw/ECSWebSite/Downloads/ProductsDetail_Download.aspx?detailid=422&DetailName=New&DetailDesc=741GX-M%20%20(V1.0)&CategoryID=1&MenuID=82&LanID=9

Used the AWD865.exe program to do it.

This makes a backup of the old bios:
AWD865 backup.bin /pn/sy

This installs and clears the cmos:

AWD865 41gxma13.bin /py/sn/cc

Then told the bios to install the optimized settings, not the safe
ones.  And then told it to boot at power-up, etc.

The BIOS chip is a:
EN29F002ANT-70JC
You have to rip 2 layers of stickers off to get see the
part number printed on the chip.

Note that the bios protect jumper is documented backwards.
Pins 1 & 2 need to be jumpered to allow the bois to be updated.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Partitioning an FTP server

2006-06-26 Thread Karl O. Pinc



> From: Bill English [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 26, 2006 12:55 PM
> To: 'Debian Users'
> Subject: Partitioning an FTP server
>
> I am new to Debian for servers...my only experience is with home
boxes.
>
> I am building an FTP server that I want to dedicate most of the
space
to
> holding files.



> What would be the best way to partition it given the server's
purpose?


The best way to partion it would be to use lvm2 so that you can
easily change your mind later.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Trouble installing mysql based packages on Etch

2006-06-26 Thread Karl O. Pinc

Hi,

I just tried to install cacti and drupal on etch.  In both
cases I had to create the database, the user, and the
database tables/etc. by hand.  dpkg-reconfigure didn't
give an error message and didn't create the db.

Is this a debconf problem?  A problem with the individual
packages?  A problem with msyql?  How do I report this?


Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Command-line/batch tools for handling mail attachments?

2006-01-12 Thread Karl O. Pinc


On 01/12/2006 02:35:06 PM, Jim Holland wrote:

Hi

On Thu, 12 Jan 2006, Karl O. Pinc wrote:
> What about mimedecode?

I hadn't come across that before.  I tested it with various encoded
messages and it didn't do anything at all


OTOH, maybe I am thinking of mpack/munpack and scripting with file,
binhex, uudecode et-al.  It's been a long time.  I _did_ get something
working once upon a time.  Sorry to have possibly sent you down
a blind alley.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Command-line/batch tools for handling mail attachments?

2006-01-12 Thread Karl O. Pinc


On 01/12/2006 02:35:06 PM, Jim Holland wrote:

Hi

On Thu, 12 Jan 2006, Karl O. Pinc wrote:
>
> What about mimedecode?

I hadn't come across that before.  I tested it with various encoded
messages and it didn't do anything at all - output was the same as
input.
It seems to be designed only to handle subparts of content-type text,
not
actual attachments.  It could be handy if it extracted all the text
and
left the rest, but its output includes all the encoding as well.


The way I've used it is to give it entire emails, envelope headers
and all, and let it do it's thing.  Then I sort through the resultant
directory of output, which contains all the parts of the email original
body message text as well as attachments et-al.

IIRC, YMMV.


Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Command-line/batch tools for handling mail attachments?

2006-01-12 Thread Karl O. Pinc


On 01/12/2006 01:34:42 PM, Jim Holland wrote:

It seemed initially that uudeview could do it all out of the box -
decoding MIME base64, uuencoding, BinHex etc.  It does that all very
well
- even with broken boundary lines and missing headers etc.  However
the
more I tested it the more problems I found with loss of the text part
of
messages in the output, leading to the script getting more and more
complicated in order to be able to handle each exception.


What about mimedecode?

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Email login options

2006-01-12 Thread Karl O. Pinc


On 01/12/2006 09:49:50 AM, Tony Heal wrote:



What I am looking for are solutions/best practices for SMTP
authentication
so local and remote users can use our SMTP server, and pop
authentication
without depending on the Windows domain. Does anyone have any
suggestions
that does not require sending passwords over clear text and allows for
easy
to manage passwords without having to log into the mail server to
change a
users password.


Obviously, you need a separate password store.  LDAP works
very well and was pretty much designed for this.
To allow users to change their password you either
run a webserver and write a php script (or whatever) or
you use the big ldap management tools, which must have
this feature built in even though I've not looked
at them to check.  Unfortunatly,
I'm having a brain fart and can't recall their names.
RedHat bought one from Netscape and open-sourced it and
Novell recently-ish open sourced another.
Then, you require users to authenticate with TLS to do
anything.  That'd be pop3s, imaps, and smtps.
It'll require messing with their clients.

Do not give your users unix accounts.

I'd recommend postfix as the MTA, easy to config and to
secure.  You might look into cyrus for the mail store.

I know this will scale into the thousands of users, and probably
much higher than that.


Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: HELP! My printer won't stop!!

2006-01-11 Thread Karl O. Pinc


On 01/11/2006 09:16:01 PM, [EMAIL PROTECTED] wrote:

did you get any answers. Now my computer is doing something similar.
It
keeps printing smiley faces on every page and won't  stop


1) Unplug printer.  This should clear it's memory, which can
contain pages and pages of smiley faces.

2) Use lpq in a terminal window to get the job numbers of your
print jobs.  (Line Printer Queue)

3) Use lprm followed by the job number to cancel the jobs
you don't want.  Be root if necessary, but it probably won't be.
(Line Printer ReMove)

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: saving xterm scrolling data to file

2006-01-11 Thread Karl O. Pinc


On 01/11/2006 04:14:55 PM, Haines Brown wrote:

When I run a command with debug in xterm, a lot of info scrolls
past. How can I save this to a file? All I get is how to debug
the debug message, not the debuging information itself, which just
scrolls quickly by in the terminal:



I vaguely recall there is a utility to capture input to the terminal
to file.


script

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Free Memory and Tasks

2006-01-11 Thread Karl O. Pinc


On 01/11/2006 03:30:07 PM, Marco wrote:


Every day my free memory decrease and I don't understand why...


BTW, you want your free memory to decrease becase memory
is no good unless it's used.  If it's not used for anything
else the OS uses it for disk buffers.

See also vmstat & ps -axv

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: (EE) xf86OpenSerial: Cannot open device /dev/input/mice: No Such Device

2006-01-11 Thread Karl O. Pinc


On 01/11/2006 12:54:00 PM, Ed Young wrote:

I can't get X to start because apparently because the mouse device
can't
be found, though the device directory entry seems to be there:
Falcon:/etc/X11# ls -la /dev/input/mice
crw-rw  1 root root 13, 63 2005-02-25 23:43 /dev/input/mice


Random things to try:

Check your dmesg output (or /var/log/dmesg) to be sure
that the kernel recognises the mouse.  Likewise
check the logs (/var/log/messages I suppose.)


Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




"Can't deactivate volume group" on shutdown

2006-01-11 Thread Karl O. Pinc

Hi,

When I shutdown (or halt) on the console I get the message:

Can't deactivate volume group "vg00" with 1 open
logical volume(s)

Which seems reasonable because my root partition is a
logical volume, but I'm new to LVM2 and figure
it's better to ask now than suffer wierd data
corruption later.

Is this message normal? Do I have a problem?

Here's more detail:

Debian sarge.  Fresh install.  Linux 2.6 kernel.
(2.8.8-2-686)

/dev/hda 300GB WD ATA drive.  Only disk.
/dev/hda1 400MB /boot
/dev/hda2 299.6GB Extended partition
/dev/hda5 299.6GB Linux LVM
/dev/vg00 volume group with all of /dev/hda5
/dev/vg00/swap 400MB swap
/dev/vg00/root 5GB /
remainder of vg unused

All file systems ext3.

Drive: WDC WD3000JB-00KFA0
(Gnasty WD drive has all jumpers removed
to be lone master.)

System:
400MHz Celeron
IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)

Thanks.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein

P.S.  I posted this to the [EMAIL PROTECTED] list
but got no reply, there seems to be hardly
any traffic at all there, so figured I'd try here.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Debian hangs at 5% on install ??

2005-08-10 Thread Karl O. Pinc


On 08/10/2005 01:16:57 PM, Ken Walker wrote:


The system has

1 CD SCSI cd writer at id:0 ( 50pin cable ) - Terminated
1 Dat drive at id:1 ( 50pin cable )
1 Dat drive at id:2 ( 50pin cable )
1 Scsi 9g at ID:3   ( 68pin cable ) - Terminated
1 Scsi 9g at ID4( 68pin cable )

the card is at id:7


Might want to check that your card is not terminated too.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Serial comm program

2005-08-10 Thread Karl O. Pinc


On 08/10/2005 06:32:56 AM, Daniel D Jones wrote:

Sorry, don't mean to be all elite about modularization.

This is what I'd do, and do do in similar circumstances.
YMMV


I'm a Cisco tech for a very large organization.  Half the time, I'm
connected
to a router console via a serial port.  The other half, I'm connecting

remotely.


(Serial connectivity and network connectivity are different
balls of wax.  Getting serial right is always a pain.)

  Our routers and switches only accept remote access via one

specific server.  I SSH into that server, then telnet into the device.



 When
I'm working on a device, being able to scroll back to stuff that's
scrolled
off the screen is vital.


I have my terminal windows all set to 1000 lines of
scrollback, YMMV.

  We're required to log everything we do to

the
devices, so logging at all times is necessary.


Have your .bash_profile always start 'script'.  Have
script append output.  Use logrotate to keep your disk
from filling up.

  There are a number of

actions
that are highly repetitive.  Scripting them makes it much easier and
reduces
the chances of error.  I also need to paste in long configs.


I would like to tell you how to use drag and drop to paste
file content, but I don't know if it's even possible.  Maybe
somebody else can help with that.  Otherwise, there's
select with the left mouse button and paste with the middle
button, and there's always "cat".  There's a couple of extra
mouse clicks to open the text file and select the content
before pasting, which is too bad.  :-(

As far as scripting goes, the 'expect' language rocks.  See "chat"
also.  I generally pipe directly to/from the serial devices
in /dev/ with chat but expect is designed to drive other
interactive programs, although you can talk directly to
serial devices too.

  If the

info is
pasted in too fast, the router or switch will drop characters, so I
need
something with a configurable delay after pasting characters or lines
from
the clipboard.


This I don't understand.  Your net connections should be all TCP,
and so the data should arrive at the destination.  The serial
connections need flow control and/or rate limiting.  The way
to do this is with the proper wiring and configuraton of the
serial port, either through minicom config or directly on the
port with setserial.  (I'd use a minicom config.)  If you
can't guarentee the other end of the serial line will have
flow control then you need to reduce the bps on the
serial line to something that won't overflow.
(I'm sure you know all this.)  If you're talking to a
unix box that's got the serial line wired into it,
have your script use stty to adjust it's serial line.


 Most of the time, I upload new IOS files via TFTP.

If
a
router crashes or the flash memory croaks or for whatever reason it
will only
come up to the rommon> prompt, it may require transfer via xmodem.
etc, etc.


For xmodem etc., we're back to serial lines, either
mincom, which will invoke xmodem for you, or to
an expect script that runs xs.  (Heck, expect could
drive minicom too I suppose.)


Evidently, it doesn't exist.  Yes, it is certainly possible to

accomplish everything I need via multiple programs.  However, if I do
go to
multiple programs, it all has to work together.  I have to be able to
log the
xmodem transfer, and I'd really like to be able to script the whole
thing.
I'm well aware of the value of small, sharp tools and the Unix way.
But I'm
also aware of the value of powerful programs that just work.


I think you just need to know what pieces are out there.  Expect
might be the key.  They do all fit together.


I wasn't slamming minicom or any of the other programs, nor was I
intending to
"get uppity" about the decade it was written in.


Right.  There's real value in having everything "in front of your
face".

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Serial comm program

2005-08-10 Thread Karl O. Pinc


On 08/10/2005 04:34:38 AM, Carl Fink wrote:

On Wed, Aug 10, 2005 at 05:13:45AM +, Karl O. Pinc wrote:



Wow.

That's the cliche of how Linux people treat questions, right there.
"If you
want a program like that, just write one yourself."


Well, you did ask _why_ no such program was about.  I'm thinking
the answer is that people who want something like this
have wacked up something customized to their specific need.



Can no one answer the actual question?


Have you tried looking at freshmeat.net?


Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Serial comm program

2005-08-09 Thread Karl O. Pinc


On 08/10/2005 12:13:45 AM, Karl O. Pinc wrote:


  If you can't recall the commands and
_must_ have them in a menu then wack something
out with tcl/tk or make a special menu bar/drawer/applets
with gnome or whatever.


I suspect the right way to do this is to use XUL,
javascript, and mozilla.  With a little practice
it should be easy to make a mini-gui with drop-downs
for the command line args, etc.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Serial comm program

2005-08-09 Thread Karl O. Pinc


On 08/10/2005 12:27:50 AM, Chris Palmer wrote:


As Unix-like-system afficionados, we can't afford to get uppity about
what decade our software was designed and implemented in. :)

Like Gregory, I find minicom entirely sufficient. In fact I very
nearly
like it.


As for the rest of it, why have everything in one big wad?
If you want a window with scrollback use an xterm.
If you want ssh/scp/sftp/telnet/rsh then use that
program.  If you want session logging use script.
If you want kermit/xmodem/ymodem/zmodem use kermit
or sz/rz/sx/rx etc.  And you can script it all to
automate your tasks, which you can't do with a
regular GUI.  If you can't recall the commands and
_must_ have them in a menu then wack something
out with tcl/tk or make a special menu bar/drawer/applets
with gnome or whatever.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: disk usage of an umounted partition?

2005-08-09 Thread Karl O. Pinc


On 08/09/2005 09:11:54 PM, Colin Ingram wrote:

I don't know if this is even possible but can I find out the disk
usage of a partition with a unknown or damaged filesystem?


file -s /dev/fooa

will often tell you what sort of filesystem it is
and then you can try to mount or repair it.
(or "mount -t auto ...")


Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: daisy-chaining internet connectivity

2005-08-09 Thread Karl O. Pinc


On 08/09/2005 08:45:08 PM, Terrence Brannon wrote:

[EMAIL PROTECTED] (Bob Proulx) writes:

>> > * Ensure that packet forwarding is in place.  Use either a
firewall
>> >   package or do this yourself with low level commands.
>> >
>> > echo 1 > /proc/sys/net/ipv4/ip_forward

Ok, I did this echo cmd with no prob


To keep from having to do this every boot
put

net.ipv4.ip_forward=1

into /etc/sysctl.conf

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Docbook is broken, where do I ask for help? Bug#318817

2005-08-09 Thread Karl O. Pinc

Hi,

I'm running Debian Sarge, having started maybe
a year ago when it was still testing.  Some
months ago docbook broke.  I worked around it
for a while but eventually filed a bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318817

  When I generate any sort of output from docbook I get
  the message:

  I/O error : Attempt to load network entity
  http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd

(And, I can't generate pdf output.)

Although I apparently did not file it for the right
package the maintainer helped me anyway, reaching
the conclusion that a catalog was not right.

Here's the md5sum for my catalog, I'd appreciate
knowing if it's different from anybody else's
catalog.

$ md5sum /usr/share/xml/docbook/schema/dtd/4.3/catalog.xml
38f29b4ec05fa3341d37690bd2605120   
/usr/share/xml/docbook/schema/dtd/4.3/catalog.xml


The bug supposedly got transferred to the right
maintainer, but it was closed by the original maintainer
when he found the problem was not in his package.

I don't want to keep submitting the same bug over
and over to different packages until I get lucky.

What should I do?  Do other Sarge users have
problems with docbook/xmlto/xsltproc?
I suspect maybe there's just a dependency that's
not installed (and not recommended by the installed
packages?)

I really do need to get docbook working.

Thanks for the help.

Karl <[EMAIL PROTECTED]>
Free Software:  "You don't pay back, you pay forward."
 -- Robert A. Heinlein


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]