Re: New HP dv6 laptop and Knoppix

2009-12-15 Thread Lloyd Kvam
On Tue, 2009-12-15 at 12:11 -0800, Michael Nolin wrote:
> The return center passed me back to the techcenter which is processing
> a recovery CD order which of course I had already asked for along with
> the replacement hard drive.

It is amazing how these support centers work.  When my new HP laptop
drive recently failed, they insisted on sending the Vista recovery CD
even though I assured them I had deleted Windows and was running Linux.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: The MySQL petition

2010-01-01 Thread Lloyd Kvam
On Fri, 2010-01-01 at 11:43 -0500, Arc Riley wrote:
> We have PostgreSQL, which has a much healthier development community
> and Py3 support already.
> 
> The MySQL community is already fractured from the Sun purchase, isn't
> it a little late to save it?

Sun did not do too much harm.  MySQL fills a niche between sqlite and
postgresql.  Administration is very simple.  Loosely coupled replication
is built in.  Some of us may be locked into the last stable release for
a while depending upon events.


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: The MySQL petition

2010-01-04 Thread Lloyd Kvam
On Mon, 2010-01-04 at 10:57 -0500, Ben Scott wrote:
> On Fri, Jan 1, 2010 at 3:38 PM, Arc Riley  wrote:
> > No, but its a sign of developer interest and activity.  Sqlite and postgres
> > have Py3 support, MySQL does not.
> 
>   That doesn't equal "MySQL is stagnant".  Perhaps there's simply not
> much interest in MySQL within the Python community.  MySQL does have a
> reputation of being popular with the PHP crowd; maybe that's where the
> interest lies.
> 
> -- Ben
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

I believe that the PY3 port of Python-mysql (MySQLdb) will happen after
some changes to the Py2 version to allow a common code-base between both
versions.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Two-party video conferencing

2010-01-08 Thread Lloyd Kvam
On Thu, 2010-01-07 at 17:54 -0500, Ben Scott wrote:
> Requirements:
> 
> R1. Two parties only.  (Not a "big table" meeting.)

How is 2-party video conferencing different from Ekiga/Skype Internet
phone calls with video?
 

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Introduction and Advice

2010-02-12 Thread Lloyd Kvam
On Fri, 2010-02-12 at 09:45 -0800, Jake Tingley wrote:
> Hello
> 
> My name is Jake and I live in Warner.  I am a high school math teacher
> in Lebanon and I am interested in working with Linux and doing some
> programming.
> 
> What is the best way to get started?
Figure out which LUG is the most convenient for you.  

DLSLUG meets in Hanover which could be convenient for attending a
meeting after school.  I have the library in Lebanon so that's also
convenient for you to come by and borrow books.  (We share the books
across all of the chapters and you'll be welcome at any chapter
meeting.)
http://dlslug.org/

> Is there a particular distribution I should be looking at?
There are many to pick from.  Ubuntu often works well for people who
prefer to manage their computer through a GUI clickable interface.

> What is a good first language to learn?
I love Python.  

complex numbers are a native data type.  integer arithmetic does not
overflow (2 ** 66 (meaning 2 to the 66 power) will simply get computed
rather than generating an error message for exceeding the supported
hardware limits).  The syntax is reasonably readable and there are a
large number of included and 3rd party modules for most programming
tasks.

You'll probably get recommendations for other languages.  You can narrow
down you decision based on the problems you are trying to solve.


> What do people think are good resources (both online and books)?

You can check out the library using the links below.

> Any help would be greatly appreciated
> Thanks,
> 
> Jake 
> 


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Google Chrome

2010-03-19 Thread Lloyd Kvam
On Fri, 2010-03-19 at 13:36 -0400, Benjamin Scott wrote:
>   Reportedly, neither are easily possible with Chrome right now.  And
> also reportedly, the ad blocking on Chrome is inferior to what's
> possible on Firefox.  Chome is limited to CSS-based mechanisms, so
> instead of blocking the ads, they just hide them; this is also
> supposed to be easier for ad designers to bypass.
> 
Chrome works well with the different Google web applications.  However I
do not use it any where else because of the inability to control the
browser behavior.  I do not want to start blasting out a soundtrack just
because some web designer got carried away.  So I use Firefox everywhere
else and Chrome with gmail, documents, etc.

Do you think these comments will be searched out and passed along to the
Chrome development team?

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Google Chrome

2010-03-21 Thread Lloyd Kvam
On Sat, 2010-03-20 at 19:44 -0400, Jon 'maddog' Hall wrote:
> >"If I wanted your website to make noise, I would have licked my finger
> >and rubbed it across the glass on my monitor." (Unknown)
> 
> I would hate to watch YouTube with "Unknown".

At least with YouTube, the soundtrack doesn't start until you click on
the start button - no surprises.
> 
> md
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: another reason to use adblock and noscript... or just use Linux

2010-03-24 Thread Lloyd Kvam
On Wed, 2010-03-24 at 15:18 -0400, Benjamin Scott wrote:
>   However, if/when Linux gains significant market share, the Linux
> binary/shell script/.deb/autopackage/whatever that gets downloaded
> will run just fine.  In other words, this is only an effective
> countermeasure *as long as Linux remains a second-class citizen*.  I
> don't regard that as a winning strategy.

I think you are overlooking the social difference.  When people are used
to getting all of their software through synaptec/yum/pup they will
*NOT* be used to installing and running software from outside sources.
Its harder to distribute malware when people see the source.

(Yes, I know that a javascript exploit triggered this thread, so source
was available.  I also read enough to learn that the javascript
exploited browser plug-ins to spread malware without requiring user
interaction.  So that all validates the argument that Linux is not a
panacea.  Still, I'll continue.)

Also, I can not just execute programs in my firefox web pages.  I can
download for handling by some software (archive manager, rpm, etc.), but
nothing executes until I download the file and then choose to run it.
Executables in my emails do not get run unless I go out of my way to run
them.  What I'm getting at is that Windows is constructed to make the
execution of bits off the wire easy and (all-to-often) sometimes
automatic.  So far Linux has not made that mistake at least to the same
degree.  (e.g. I can connect a USB stick and not worry about
autoexecuting malware.  With Windows, can't a USB stick emulate a CD and
force auto-execute even when flash auto-execute is disabled??)  (Ben,
stop me I am spreading FUD.)

While I know that Linux computers and Macs are not invulnerable, they
have markedly lower malware penetration rates.  To argue that this lower
rate *only* comes from lower market share is going too far.  I'm not
arguing that Linux is invulnerable.  However there are a bunch of
factors besides small market share that tend to make it more secure than
Windows.


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: MySQL table key corruption problem

2010-04-15 Thread Lloyd Kvam
On Thu, 2010-04-15 at 10:38 -0400, Dan Coutu wrote:
> I would really rather not have to rebuild the entire openfire db from
> scratch, adding about 40 user accounts with preserved passwords and so
> forth.
> 
> Does anyone have ideas how I can fix this without losing data?

mysqldump  [table_one] [table_two] ... > dump.sql

should preserver all of your data.  Feeding the resulting sql
file back into mysql will rebuild the tables.  You can examine
the dump file to make sure that it seems to be complete.  You'll
need to block access to the database to prevent unwanted
transactions while you do the dump and restore.  The restore
could be done as:




Could you have failed to run an upgrade script in the past?  I have dim
memories of scripts to upgrade 3 => 4 => 5.  The dump and restore will
not get around changes within the mysql (/var/lib/mysql/mysql) database
where user permissions and accounts are managed.


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


New books

2010-04-21 Thread Lloyd Kvam
Use the links in the signature to get the details:

Practical Guide to Fedora and Red Hat Enterprise Linux, A (5th Edition)
Mark G. Sobell

IT Systems Management (2nd Edition) by Rich Schiesser



-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


bogus emails looking for money

2010-04-27 Thread Lloyd Kvam
A friend's webmail account (@msn.com) appears to have been hacked.  I
received a request to wire $1470 to London (UK) to help her out.  She
was mugged and lost her cash and credit cards.

Is there any place to report this sort of email that might actually do
some good?

I'll start with ab...@msn.com, but would love to find out about better
alternatives.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: bogus emails looking for money

2010-04-27 Thread Lloyd Kvam
On Tue, 2010-04-27 at 12:53 -0400, Joel Burtram wrote:
> Keep the group updated on any developments, I'm curious to know if you
> get anywhere.

I don't think there will be anything much to report.  My friend called
in.  She and her husband were on the phone with Microsoft trying to get
the account shut down.  Unless Microsoft gets in touch with me for more
data on the emails there will be nothing more.

I guess law-enforcement is not nimble enough to deal with these kinds of
hoaxes.


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: bogus emails looking for money

2010-04-27 Thread Lloyd Kvam
On Tue, 2010-04-27 at 15:17 -0400, Ken D'Ambrosio wrote:
> > I don't think there will be anything much to report.  My friend called
> > in.  She and her husband were on the phone with Microsoft trying to get
> > the account shut down.  Unless Microsoft gets in touch with me for more
> > data on the emails there will be nothing more.
> 
> Do bear in mind that it's insanely easy to forge "from" headers; unless
> they actually ask you to respond to the e-mail address, I'd even put that
> down as most-likely hypothesis, barring contradictory evidence in the
> headers.

Well, my server accepted the email from a hotmail server.  The server
headers matched prior legitimate emails.  I'm pretty sure they cracked
her account.

They did not ask for money in the original email.  They simply reported
being mugged, unable to check out of the hotel without payment, and
anxious to catch their flight.

When I did not receive a following email looking for money, I sent a
message offering to help.  That provoked a response with the Western
Union details that proved it was a scam.

> 
> > I guess law-enforcement is not nimble enough to deal with these kinds of
> > hoaxes.
> 
> Sadly, the general rule is they don't get involved until there's
> significant loss incurred.  That's not dyed in the wool, but they simply
> don't have anything like the resources to go after every phishing attack,
> 419 scammer, "lottery winner," etc.  Especially since a non-trivial number
> of these originate from overseas.  The Interwebtubes(tm) sure is a great
> thing, but it also makes scammers w-a-y more able to get around.
> 
> $.02,
> 
> -Ken
> 
> >
> >
> > --
> > Lloyd Kvam
> > Venix Corp
> > DLSLUG/GNHLUG library
> > http://dlslug.org/library.html
> > http://www.librarything.com/catalog/dlslug
> > http://www.librarything.com/rsshtml/recent/dlslug
> > http://www.librarything.com/rss/recent/dlslug
> >
> >
> > ___
> > gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org
> > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is believed to be clean.
> >
> >
> 
> 
> 


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: bogus emails looking for money

2010-04-27 Thread Lloyd Kvam
On Tue, 2010-04-27 at 16:22 -0400, Joshua Judson Rosen wrote:
> stop calling it "hijacking"--you wouldn't use that term
> for USPS-based mail fraud, because it would mean something completely
> different if you did ("someone hijacked my PO box and sent postcards
> claiming to be me"). 

Though in this case they did hijack the account.  It went way beyond
forging the from-address.  They had access to her mail-box.


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Authentication on the Internet (bogus emails looking for money)

2010-04-27 Thread Lloyd Kvam
On Tue, 2010-04-27 at 16:22 -0400, Benjamin Scott wrote:
>   If you're still using a passWORD on today's Internet, you're already
> in a very high risk category.  Using an English word for a password is
> supposed to be roughly equivalent to using "12 bit encryption" or
> something like that.
> 
>   I recommend complex passphrases, minimum 15 characters in length,
> containing a mixture of upper- and lower-case letters, digits, spaces,
> and punctuation. 

Has anyone here tried to use certificates or public-keys to control
access?  The software is available to generate keys and certificates.
Do you think it is hopeless trying to educate users to import a
certificate and protect it with a pass phrase?

(I'll be operating a web site with an anticipated load of hundreds to
low thousands of user accounts.  I've been wondering about imposing
certificates on the account holders.)

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [OT] Small business/SOHO accounting

2010-05-10 Thread Lloyd Kvam
On Mon, 2010-05-10 at 16:28 -0400, Benjamin Scott wrote:
> On Mon, May 10, 2010 at 4:15 PM, Ben Eisenbraun  wrote:
> > Gnucash is a reasonable double-entry accounting package.
> 
>   I didn't state requirements.  My bad.  They need basic accounting
> (AP, AR, GL), with the ability to generate/print/track invoices and
> purchase orders.  They also need very basic inventory -- track part
> number, quantity on-hand, value each, with periodic reconcile with
> physical inventory.  I was under the impression that GnuCash isn't
> really geared for that.  

Gnucash does have AP, AR, GL support that is adequate for a small
business.  I like the interface; it is easy to track your accounts.
Sadly there is no inventory module.  Gnucash has a business module for
handling customers, vendors, invoices, and bills.  I think it is a nice
fit for a small service operation where accounting is just another one
of my hats.

I have a WinXP virtual box to run Intuit's online payroll service.  They
required IE on Windows.  I am paying $10/month.  There was a promotion
where the first few (6?) months were free.  All of the required forms
are automated as well as federal payments.  The SUTA-NH checks are
written by hand and I simply print the filled-in form.  I suspect that
Intuit is trying to collect a day's interest on the float when making
payments for me.  On the other hand, I like the convenience and my
checking account pays zilch anyway.

> I would be pleased to be told I'm wrong.  :)
> 
> -- Ben
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Android PMPs (was: Qi-Hardware Nanonote group purchase?)

2010-09-09 Thread Lloyd Kvam
On Thu, 2010-09-09 at 09:00 -0400, Tom Buskey wrote:
> I'm not sure I'll ever buy a $400 tablet.

I agree with that sentiment for myself.  We have an iPad here on loan to
make sure the web sites we support display nicely.  The iPad is a great
device for those folks who have trouble with "regular" mouse/keyboard
interfaces.

We expect to see iPads getting used by patients in hospital settings
filling out forms (multiple choice - little or no typing).  Earlier
attempts with other tablets (running Windows) proved unworkable.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Android PMPs (was: Qi-Hardware Nanonote group purchase?)

2010-09-09 Thread Lloyd Kvam
On Thu, 2010-09-09 at 10:08 -0400, Benjamin Scott wrote:
> On Thu, Sep 9, 2010 at 9:56 AM, Lloyd Kvam  wrote:
> > We expect to see iPads getting used by patients in hospital settings
> > filling out forms (multiple choice - little or no typing).  Earlier
> > attempts with other tablets (running Windows) proved unworkable.
> 
>   I'm curious; what makes the iPad better for that than the 'doze
> tablet?  I would think a form is a form, regardless of platform.

Essentially the touch features were "bolted on".  The issues were dumb
things such as the touch area of a radio button being too small - still
sized for a mouse pointer.  It was easy for your finger to miss it.
There was poor alignment between the touch sensitive spot and the screen
image.  Screen size handling still depended on the menus or touching the
drag boundaries exactly right.  I've heard that Win7 has improved the
touch support, but I have not checked myself.  The folks at the medical
school are Apple fans anyway so once the iPad proved to be a nice
device, I don't think they saw any point in checking back on the Windows
tablets.  (I have no Droid experience.)

>   (I've only used an iPad once briefly, in a store.  I thought it
> seemed like a neat toy, but couldn't see myself spending $400 just to
> play an electronic marble maze game.)

True.

Still people buy digital picture frames, book readers, and such.  The
iPad is great at *all* of those kinds of uses.

> -- Ben
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Android PMPs (was: Qi-Hardware Nanonote group purchase?)

2010-09-09 Thread Lloyd Kvam
On Thu, 2010-09-09 at 12:59 -0400, Tom Buskey wrote:
> It works very well for him. 

The tablets we tried could be mastered with a little practice, but they
were frustrating when simply handed out to "Grandpa".  An interviewer
was required to drive the tablet.

The iPad seems to just work for anyone.  We'll see what happens when
they actually start using iPads for real.

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Widget to manipulate parallel port signals ?

2010-09-09 Thread Lloyd Kvam
On Thu, 2010-09-09 at 14:50 -0400, Michael ODonnell wrote:
> 
>http://pyserial.sourceforge.net/pyparallel.html
> 
>   Sounded very appealing to me (partly because it'd serve as
>   another excuse to learn more Python) 

I'm not sure what went wrong for you.
http://pyserial.svn.sourceforge.net/viewvc/pyserial/trunk/pyparallel/parallel/?view=tar

I attached the download (I grabbed it out of curiosity).  It looks like
it is still getting updated: touched Aug 30, 2010.

I have used pyserial in the past and found it to be very helpful.  I did
a lot of serial (RS485, RS422) programming in C 20 years ago.  pyserial
provided a nice interface when I needed to dust off serial skills 6 or 7
years ago.

I don't have a real parallel interface to test against, but simply
looked at the code out of a sense of nostalgia.  If the other code
proves problematic, you can fall back on pyparallel.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug


pyserial-parallel.tar.gz
Description: application/compressed-tar
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Widget to manipulate parallel port signals ?

2010-09-09 Thread Lloyd Kvam
On Thu, 2010-09-09 at 17:28 -0400, Lloyd Kvam wrote:
> On Thu, 2010-09-09 at 14:50 -0400, Michael ODonnell wrote:
> > 
> >http://pyserial.sourceforge.net/pyparallel.html
> > 
> >   Sounded very appealing to me (partly because it'd serve as
> >   another excuse to learn more Python) 
> 
> I'm not sure what went wrong for you.
> http://pyserial.svn.sourceforge.net/viewvc/pyserial/trunk/pyparallel/parallel/?view=tar
> 
> I attached the download (I grabbed it out of curiosity).  It looks like
> it is still getting updated: touched Aug 30, 2010.

Sorry about cluttering your in boxes with an extraneous attachment.  I
thought I was sending the email to Michael and not the whole list.


Another few years and I won't even be trusted to drive an iPad ;)

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Automounting USB mini drive

2006-08-22 Thread Lloyd Kvam
I just learned about puppyos.com
http://www.puppyos.com/

A small scale Linux distro designed for booting off USB flash devices.
I am downloading it now and will see how well it works for me.


On Wed, 2006-08-16 at 11:37 -0400, Python wrote:
> On Mon, 2006-08-14 at 09:41 -0400, Steven W. Orr wrote:
> > I'd like to see the answer to this also. As an ancilliary point...
> > 
> > The number of writes to a jump drive is large but not unlimited. It's A 
> > Good Thing to add the noatime attribute to your fstab so that things like 
> > an ls command, or anything that reads a file doesn't update the accesstime 
> > for the file.
> > 
> > /dev/sdd2  /mnt/jump  vfatnoatime,noauto,user0 0
> > 
> 
> Ideally there is now a new-fangled way to do that in the usb
> configuration stuff.
> 
> > BTW, there was a sale at uCenter this weekend. $16. 
> 
> uCenter?  Google was no help.
> 
> > That wasn't to make you feel bad but just to point out how cheap it's
> > really getting.
> 
> I decided to try making it a bootable linux (fedora, since that's what I
> am using otherwise).  That worked.  I needed to specify linux expert
> when booting the install DVD.  The partitioning interface can be a
> little confusing because the outline/tree view will expand unexpectedly
> so that you will find your pointer on the WRONG drive at times.  I used
> two ext3 partitions for boot and root.
> 
> After I was done the drive autoloaded!  My earlier changes had been done
> with gparted.  My guess is that there is some difference in the handling
> of the bytes.  I will do a careful comparison at some point when I get
> the chance.  
> 
> The only other issue I faced is that the fedora labels (e2label command)
> were /root and /boot which caused some confusion when autoloading the
> device.  /boot got (auto-magically) relabeled to /boot1 at some point.
> I changed the labels to usbroot and usbgrub and then edited the
> grub.conf and fstab files to fit the new names.
> 
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


More Library News

2006-12-11 Thread Lloyd Kvam
One of the other tenants in the building where I have my office is
University Press of New England.  At the Holiday Building Bash, they
raffled off some books.  I was a winner and have added the book to the
library:
http://www.librarything.com/work/1527838&book=9227190
The Good Beer Guide to New England

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


3c501 device eth0 does not seem to be present....

2007-01-09 Thread Lloyd Kvam
On Mon, 2007-01-08 at 21:31 -0500, Ben Scott wrote:
> On 1/8/07, mike miller <[EMAIL PROTECTED]> wrote:
> > the next line is "bringing up interface eth0; 3c501 device eth0 does not 
> > seem to
> > be present delaying installation (failed)".
> 
>   "3C501" would be, if I remember correctly, 3Com's first PC Ethernet
> card, circa 1985.  I'd say something is being improperly identified.
> Even Fedora really does think you have a 3C501 when you don't, or
> Fedora thinks you have something else, but is loading the wrong
> driver.
> 
>   Interesting.  This:
> 
> http://www.fedoraforum.org/forum/showthread.php?t=60870
> 
> suggests that it's a bad diagnostic; the system is trying to tell you
> it could not load the driver for *your* NIC, but incorrectly reports
> it could not load the 3C501 driver.
> 
>   You might try running "system-config-network" to see what the system
> thinks you have.
> 
>   According to
> 
> http://www.abit-usa.com/products/mb/drivers.php?categories=1&model=311
> 
> your motherboard has a "Realtek 8118B Gigabit" network controller.
> I'm not having much luck finding info on that.  Is it perhaps a very
> new or unusual chip?  The one interesting find I made was
> 
> http://www.fedoraforum.org/forum/archive/index.php/t-108031.html
> 

My year old laptop has a realtek 8169 which is supported.  The driver
was simply part of the kernel package.  I think that's good news in that
realtek is getting supported in the core packages.  I do not have any
other r drivers, so it looks like support for your controller has
not yet arrived in fedora.  That might be an argument for switching to
ubuntu.

The bug report
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=215243
says that the controller is supported in the next (2.6.19) kernel
release.

> which suggests building the driver from source -- yuck.
> 
> -- Ben
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Peterborough LUG meeting

2007-01-12 Thread Lloyd Kvam
My laptop is happily displaying on my monitor (through a KVM) here at
the office.  Perhaps there is a GPS device that disables the external
video port when I am more than 10 miles from the office.  Hopefully, I
will find a better explanation.

Much thanks to Bill Sconce for being there to set up a VNC connection
and allowing me to drive from his laptop.

Let me provide some URLs in a clickable form for any folks who are
interested:

http://iptables-tutorial.frozentux.net/iptables-tutorial.html
iptables is the IP packet processor that provides a stateful firewall in
Linux.
This page covers much more than just iptables.  It provides detailed IP
protocol explanations.

http://freshmeat.net/articles/view/1433/
Short example of using bridging and ebtables to control traffic on the
ethernet frame level.  Another case of controlling local packets without
regard to the IP addressing.

http://wiki.openwrt.org/
Documentation part of the openwrt web site.

http://wiki.openwrt.org/OpenWrtDocs/NetworkInterfaces
Contains the block diagrams to show internal operations.

In pushing things around just now, the external monitor went blank.
It's a hardware problem!  My cable here is pretty stiff so it normally
provides some upward pressure on the external video connector.  With no
pressure, the screen goes blank.


-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Notes from PySIG, 23-Feb-2007

2007-03-01 Thread Lloyd Kvam
On Wed, 2007-02-28 at 09:44 -0500, Paul Lussier wrote:
> Ted Roche <[EMAIL PROTECTED]> writes:
> 
> > I'm not sure which was more remarkable: that Python runs flawlessly
> > on all platforms, or that we got the projector to work on all the
> > machines!
> 
> I think the most amazing fact is you didn't spend half the night trying 
> different laptops to get the projector working.

That's because I wasn't there with my laptop.  I think I have finally
mastered getting it to work with projectors.

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Notes from PySIG, 23-Feb-2007

2007-03-01 Thread Lloyd Kvam
On Thu, 2007-03-01 at 11:13 -0500, Bill Sconce wrote:
> On Thu, 01 Mar 2007 10:45:41 -0500
> Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> 
> > > > I'm not sure which was more remarkable: that Python runs flawlessly
> > > > on all platforms, or that we got the projector to work on all the
> > > > machines!
> > 
> > That's because I wasn't there with my laptop.  I think I have finally
> > mastered getting it to work with projectors.
> > 
> > Lloyd Kvam
> 
> 
> Sounds like a topic for an upcoming meeting.   :)

I think it boils down to my laptop quirks
a VGA connector that requires some slight upward pressure to
work
start X when the VGA connector is working

The console window always outputs to the external monitor.  I can use
ctrl-alt-F1 to get a console window and just jiggle the connector until
I get the console window to display.  Then logoff/logon the X window
session to get X to display through the external VGA connector.

> 
> -Bill
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


More Books in the library

2007-03-02 Thread Lloyd Kvam
The Tiny Guide to OpenOffice.org

Linux Transfer for Windows Network Admins: A Roadmap for Building a
Linux File Server

Linux Transfer for Power Users: A Roadmap for Migrating to Linux for
Experienced Windows Users

OOoSwitch: 501 Things You Want to Know About Switching To OpenOffice.org
from Microsoft Office

The qmail Handbook


These are all courtesy of Ted Roche.  You can see the full list at:
http://www.librarything.com/catalog.php?view=dlslug

If you can't make it to Lebanon/Hanover, send an email and we will
figure out how to get the book(s) you want into your hands.


-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: LinkSys WRT54G and OpenWRT

2007-03-12 Thread Lloyd Kvam
 Webif² is a *much* more powerful web UI.  To install it, you just
> issue this command at the OpenWRT root prompt:
> 
>   ipkg install http://ftp.berlios.de/pub/xwrt/webif_latest_stable.ipk
> 
>   One auto-reboot later (they did warn of this), and I was presented
> with the new-and-improved Webif² UI.
> 
>   The web UI does provide a menu-driven list of available packages,
> with options to install them, so even keyboard-phobics may be okay.
> 
> More Configuration
> --
> 
>   The Webif² UI looks pretty capable, while still being accessible to
> newbies (and I'm still a newbie to OpenWRT).  There are many options,
> but they are divided into categories and subcategories that made
> immediate sense to me.  There are links for "More information" all
> over the place.  When a function needs some optional packages to make
> it work, there were widgets right there in the UI to click to install
> them.  I installed and configured NTP easily in this way.

The only issue I faced with installing packages was that the ebtables
modules were not automatically loaded (insmod) with the kernel.  The
fancier package managers always took care of this for me.  I solved this
by grepping through the the startup scripts looking for where the
iptables modules got loaded (/etc/modules.d/40-ipt-nat-extra) and then
added the ebtables modules to the list.
> 
> Conclusion
> --
> 
>   That's about as far as I've gotten so far.  There's a lot for me to
> learn, but the docs on the OpenWRT site seem to have lots of info to
> at least get me started.

The documentation is very helpful, and quite detailed.  Also notice that
the (my) list of nvram variables is only 537 lines.  Most of
configuration choices boil down to setting a small number of variables
to a consistent set of values.  This can get mapped into a GUI interface
pretty effectively.

> 
>   All in all, given that this involved replacing the entire OS of an
> embedded device with third-party software designed by and for Linux
> geeks, this was about as easy and accessible a project as I can
> imagine.  No configuring a kernel, no opening the case and installing
> extra connectors, no cross-compiling.  It was point-and-click.
> 
> Footnotes
> -
> 
> [1] http://mail.gnhlug.org/pipermail/gnhlug-announce/2007-February/000383.html
> http://permalink.gmane.org/gmane.org.user-groups.linux.gnhlug/8833
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: LinkSys WRT54G and OpenWRT

2007-03-12 Thread Lloyd Kvam
On Mon, 2007-03-12 at 10:57 -0400, Drew Van Zandt wrote:
> I just wanted to change the *(@#$&^)%# subnet mask on the box to
> 255.255.0.0 instead of being limited to their list.  
If you feel like using ssh to connect to the box, I would expect
nvram show | grep -i mask
to show something like:

lan_netmask=255.255.255.0
wan_netmask=255.255.255.0


You should be able to change the mask
nvram set lan_netmask=255.255.0.0
nvram get lan_netmask
and check for typos!

nvram commit
save to flash.

When you reboot, you should be in business.  

DISCLAIMER: I've only used ssh with the STOCK linksys install, OpenWRT,
and sveasoft.  If hyperWRT looks to have dramatically changed things
quit while you're ahead.


> I'll be switching
> from hyperWRT soon, though, since it doesn't appear to have SNMP
> support and I'd like to monitor per-port bandwidth.  I believe several
> of the others will do that.  (Correct me if I'm wrong on HyperWRT and
> SNMP, though, maybe I just haven't figured out how to turn it on.)
> 
> --DTVZ
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [GNHLUG] DLSLUG - TONIGHT - ZFS: The Last Word in Filesystems

2007-04-05 Thread Lloyd Kvam
I've got organ duty tonight, so I won't be able to attend.

On Wed, 2007-04-04 at 23:22 -0400, Bill McGonigle wrote:
> [please RSVP if you haven't already]
> ***
>  Dartmouth-Lake Sunapee Linux User Group
>http://dlslug.org/
>  a chapter of GNHLUG - http://gnhlug.org
> ***
> 
> The next regular monthly meeting of the DLSLUG will be held:
>  Thursday, April 5th, 7-9PM
> at:   Dartmouth College, Carson Hall, Room L02
> All are welcome, free of charge.
> 
>   Agenda
> 
> 7:00  Sign-in, networking
> 
> 7:15  Introductory remarks
> 
> 7:20  ZFS: The Last Word in Filesystems
>Presented by Todd Underwood,
>VP of Operations and Professional Services, Renesys Corporation
> 
>ZFS is the most original work in storage management in years. It
>offers a revolutionary, integrated approach to block device,
>raid, volume management and filesystem technology. We'll take a
>high-level look at what makes ZFS so different from previous
>storage technologies and look at efforts to port ZFS to free
>operating systems (ZFS is available for FreeBSD and in a
>userland port to Linux, but the path will not be easy).
> 
>Todd has with more than 10 years experience in architecting,
>building, and supporting large-scale distributed systems. Before
>Renesys, Todd was senior vice president and chief technology
>officer at Oso Grande Technologies, the largest Internet service
>provider in New Mexico, where he was the lead consultant in the
>security practice. Before that, Todd was chief technology
>officer at Lightdart Managed Data Centers, a co-location and
>hosting start-up built in partnership with Public Service
>Company of New Mexico. As a graduate student, Todd led the
>effort studying high-speed networking for large-scale computer
>clusters at the University of New Mexico. Todd holds a B.A. from
>Columbia College, Columbia University and an M.S. in computer
>science from the University of New Mexico.
> 
> 8:50  Roundtable Exchange - where the attendees can make
> announcements or ask a linux question of the group.
> 
> Please see the website for links to directions.
> 
> If any area companies are interested in sponsoring refreshments, please
> let me know.
> 
> Please RSVP so we can give a theoretical refreshment sponsor a
> headcount.
> -
> 
> MAILING LISTS
> 
>  There are two primary mailman lists set up for DLSLUG, an Announce
>  list and a Discuss list.  Please sign up for the Announce list
>  (moderated, low-volume) to stay apprised of the group's activities
>  and the Discuss list (unmoderated) for group discussion.
>  Links to the mailing lists are on the webpage.
> 
> Please pass this announcement along to anyone else who may be
> interested.
> 
> -
> Bill McGonigle, Owner   Work: 603.448.4440
> BFC Computing, LLC  Home: 603.448.1668
> [EMAIL PROTECTED]   Cell: 603.252.2606
> http://www.bfccomputing.com/Page: 603.442.1833
> New Blog: http://blog.bfccomputing.com/
> VCard: http://bfccomputing.com/vcard/bill.vcf
> 
> ___
> gnhlug-announce mailing list
> gnhlug-announce@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: SOHO Email Hosting or Alternatives

2007-04-24 Thread Lloyd Kvam
On Mon, 2007-04-23 at 20:20 -0400, Ben Scott wrote:
> On 4/23/07, Python <[EMAIL PROTECTED]> wrote:
> >> Mailbox host rejects spam message during SMTP, alias host tries to
> >> send a DSN for spam message, which bounces, resulting in backscatter
> >> problems and lots of headaches for alias host postmaster.
> >
> > I don't really understand this point.  Aren't DSN concerns essentially
> > the same between the alias host and the mailbox host?
> 
>   A lot of mail servers reject spam during the SMTP transaction.  If
> there is no forwarding involved, the spam cannons just bounce off the
> mail server.  (Legitimate failures generate a DSN at the originating
> system, which also works fine.)  But add in an alias/forwarding
> system.  Now the alias host accepts the spam, and tries to forward it
> on to the forwarding target.  The target MX rejects during the SMTP
> transaction from the forwarder.  Since the forwarder is not the
> originator, it has to generate a DSN, and then attempt to deliver said
> DSN to the originating system, based on the information from the SMTP
> envelope.  

OK.  I see what you're saying.  I assume my server tolerance for "bad
email" matches reasonably well to the final server (Maybe it's fussier).
If it was good enough for my server, it will also be acceptable to the
mailbox server.  I am not generating many DSNs.

> Since that information is almost always forged, the alias
> host ends up trying to deliver tons of DSNs to all sorts of bogus
> addresses -- some of which match to real people, who then email the
> postmaster of the alias host and ask them to stop emitting
> backscatter.  (Or, more likely, threaten bodily harm and/or legal
> action.)
> 
>   Did that make sense, or just confuse the issue further?  :)

Thanks for taking the trouble to explain.

One other item I've noticed.  More and more mail servers are not
bothering to report delivery failures.  I get complaints about
undelivered emails and I respond with log entries showing that their ISP
accepted the email for delivery.  Presumably the email got silently
shunted into the spam heap.

> 
> -- Ben
> _______
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


new addition to library (courtesy of Ted)

2007-05-04 Thread Lloyd Kvam
Mambo: Your visual blueprint for building and maintaining Web sites with
the Mambo Open Source CMS



___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: A little Microsoft humor...

2007-05-19 Thread Lloyd Kvam
On Fri, 2007-05-18 at 22:49 -0400, Paul Lussier wrote:
> DSL is broadband, a T1 is not.

So far as I know, T1 connections use DSL between the central office and
your premises.  The line card emulates the old T1 serial protocol and
converts between T1 signaling for your router/phone gear and DSL
signaling back to the central office.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: A little Microsoft humor...

2007-05-20 Thread Lloyd Kvam
On Sun, 2007-05-20 at 14:41 -0400, Bill McGonigle wrote:
> On May 19, 2007, at 14:52, Lloyd Kvam wrote:
> 
> > So far as I know, T1 connections use DSL between the central office  
> > and
> > your premises.  The line card emulates the old T1 serial protocol and
> > converts between T1 signaling for your router/phone gear and DSL
> > signaling back to the central office.
> 
> That brings up an interesting scheme - I've been told more than once  
> that even if you can't get DSL in your area you can always order a T1  
> anywhere.  
True.  If you are too far out for DSL, you'll presumably be getting the
old T1 signaling all the way.

> If they're being provisioned on DSL lines these days, I  
> wonder if I could order a T1, have them fix the induction coil  
> problems on our backhaul to get it out here, then cancel the T1.
If you are doing month-to-month billing, there will also be an
installation charge.  Finally, there is no way to force them to use the
actual T1 wires for your DSL service.

I never put this to the test, but back in my ISP days, I was told that
callerID required a clean line.  Verizon would clean up the wires to
make callerID function.  The wires would then be suitable for DSL.

However, you are a long way from the Lebanon Central Office
(603-448- looks like Lebanon based service).  The only way they
could make DSL work would be to provision it from a SLC.  I am not sure
they are willing to do that.  Possibly the gear Verizon has been using
in SLC's doesn't support DSL.

> 
> I'm sure my neighbors would eagerly split the cost of a month's T1  
> with me. :)
> 
> -Bill
> 
> -
> Bill McGonigle, Owner   Work: 603.667.4000
> BFC Computing, LLC  Home: 603.448.1668
> [EMAIL PROTECTED]   Cell: 603.252.2606
> http://www.bfccomputing.com/Page: 603.442.1833
> Blog: http://blog.bfccomputing.com/
> VCard: http://bfccomputing.com/vcard/bill.vcf
> 
-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: A little Microsoft humor...

2007-05-20 Thread Lloyd Kvam
On Sun, 2007-05-20 at 16:47 -0400, Ben Scott wrote:
> Lloyd Kvam <[EMAIL PROTECTED]>  wrote:
> >> So far as I know, T1 connections use DSL between the central office
> >> and your premises.
> 
>   Eh.  This implies that "DSL" actually means something specific.  It
> generally doesn't.  There are a bunch of "flavors" of DSL, and they
> don't all work the same way.  Further, there is often disagreement
> over what the "flavors" are, so terms are not always equivalent across
> markets.  (It's similar to how terms like "SCSI-3" gets applied to
> connectors, cables, speeds, and other things, with no consistency,
> because "SCSI-3" is just a standards document that covers all of that.
>  The terminology gets abused.)
> 

I was informed that Verizon has been using two-pair HDSL when possible.
This provides approximately 750 Kb per pair.  I can confirm that they
run two pairs from the punch block to the line card.  I have no obvious
way to verify that it is truly HDSL on the wires.

Google found these (DS1 HDSL)
http://www.jdsu.com/france/technical_resources/product_documents/outline/TT-DS1-HDSL-WS.pdf
http://honolulu.hawaii.edu/cet/courses/courses_tele_fiber.htm

Also you are quite right about the utter semantic mess that DSL acronyms
represent.  That's why I simply said DSL (Digital Subscriber Line) which
is pretty generic.

>   There are some flavors of DSL that re-use older equipment in new
> ways.  In particular, the line cards for both ISDN and T1.  Line cards
> just transmit bits; they don't really "interpret" much.  So there are
> DSL flavors which use ISDN or T1 line cards.  The defunct Vitts called
> these "SDSL" (symmetric DSL) and "HDSL" (high-speed DSL),
> respectively.  I don't know if Verizon even offers these services.  I
> know that most asymmetric DSL being delivered by Verizon in this area
> is a 1-pair (2-wire) system, while a T1 is a 2-pair (4-wire) system,
> so the Verizon ADSL I've seen is not the same thing as a T1.
> 
> On 5/20/07, Bill McGonigle <[EMAIL PROTECTED]> wrote:
> > That brings up an interesting scheme - I've been told more than once
> > that even if you can't get DSL in your area you can always order a T1
> > anywhere.  If they're being provisioned on DSL lines these days, I
> > wonder if I could order a T1, have them fix the induction coil
> > problems on our backhaul to get it out here, then cancel the T1.
> 
>   There are multiple factors in play.  DSL is usually offered as a
> low-price, consumer product, while DS1s are usually higher price,
> business class products.  Businesses are willing to pay a lot more, so
> the telcos are willing to do a lot more.
> 
>   When line quality is bad, T1 installation will often involve running
> a brand new copper pair (or reconditioning existing pairs) the entire
> distance from the CO to the demarc.  This is typically billed per foot
> and can run into the five figures if you're sufficiently far out in
> the woods.
> 
>   T1 also allows for extenders (in-line amplifiers).  If they reach
> the distance limit, they install an extender on the pole.  They'll run
> a separate power pair if needed.  This is also expensive, and -- more
> significantly -- just not done for consumer DSL.
> 
>   So even assuming you didn't get hit with an early cancellation fee,
> you'd likely end up with a line that was still not useful for DSL, due
> to the distance limits mentioned above.  There's also the fact that
> the telco could probably just say, "That's a T1 line, not a DSL pair.
> Even if we *could* run DSL over it, we're not going to.  It was
> installed for a T1, and we're not going to let it be used for anything
> else but."
> 
> -- Ben
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


fair pricing of bandwidth

2007-06-02 Thread Lloyd Kvam
My office is in a building where several businesses share an Internet
connection and simply split the expense.  There are no bandwidth/packet
shaping controls.

I expect we will upgrade to a 10 mega-bit connection with a
lower-committed level of service (possibly 3 mb?).  I'll install
bandwidth monitoring and control.  Each user will get a minimum /
maximum bandwidth allocation.

(Finally the question)
Do any of you know of a fair algorithm for allocating costs with this
kind of model?  My inclination is to simply allocate the cost based on
the share of the minimum service levels.

min0 / (min0 + ... + minN) = share of connection cost for user 0

That's easy to describe and hopefully fair enough, but I'd welcome
suggestions for a better approach or a pointer to any papers on the
subject.  

I suspect that a fair system is not linear and that the cost of doubling
the minimum bandwidth should be less than double the original cost.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Kubuntu Feisty Fawn intel-8x0 alsa

2007-06-02 Thread Lloyd Kvam
On Sat, 2007-06-02 at 11:15 -0400, Kjel Anderson wrote:
> I downloaded the latest version of alsa and rebuilt it from scratch,
> but no dice.

Is the hardware recognized?  Does the gnome sound tester provide any
clues?

alsactl store 0
should give an error if there is a driver problem  (I assume
your card is 0)

alsaunmute 0
sets volume level to 75%

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


authoring math documents (tex?)

2007-06-11 Thread Lloyd Kvam
My daughter is heading back to school and will need to write Math
papers.  She is now running Fedora 6.  (The conversion from Windows to
Fedora happened after graduation.)  She asked me what software she
should use for writing her Math papers, and being an old ascii text guy,
I did not know what to tell her.  

Looking through the available packages I saw
TeXmacs
openoffice.org-math
among others.  

Then I realized someone on this list would have useful advice.

Thanks.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: authoring math documents (tex?)

2007-06-12 Thread Lloyd Kvam
]On Mon, 2007-06-11 at 19:32 -0400, Michael Costolo wrote:
> 
> 
> On 6/11/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> My daughter is heading back to school and will need to write
> Math
> papers.  She is now running Fedora 6.  (The conversion from
> Windows to
> Fedora happened after graduation.)  She asked me what software
> she
> should use for writing her Math papers, and being an old ascii
> text guy, 
> I did not know what to tell her.
> 
> Looking through the available packages I saw
> TeXmacs
> openoffice.org-math
> among others.
> 
> Then I realized someone on this list would have useful
> advice. 
>     
> Thanks.
> 
> --
> Lloyd Kvam
> Venix Corp
> 
> 
> What grade will she be in?  
She'll be in a Masters program at Union College.

> Straight LaTeX might not be too hard to learn.  There is an IDE for it
> for Linux which might make learning the commands a bit easier.  The
> PDF output rendering has improved dramatically in the last handful of
> years.  But there's also LyX which is basically a WSYWIG front end to
> LaTeX.  
> 
> I've never liked the results I get in the word processor software
> packages, but I've never used OpenOffice.  If she's inclined to like
> markup languages, LaTeX is the way to go.
> 
> -Mike-
> 
> -- 
> "America is at that awkward stage. It's too late to work within the
> system, but too early to shoot the bastards."
> --- Claire Wolfe
-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: authoring math documents (tex?)

2007-06-12 Thread Lloyd Kvam
Thanks very much for your suggestions.

On Mon, 2007-06-11 at 20:07 -0400, Bruce Labitt wrote:
> If she is doing a mathematically intensive paper, hands down, use 
> LaTeX.  (Or LyX)  The other word processors don't even come close.  

Well the consensus seems to be that LaTeX is the way to go.  Her
undergrad papers were done with Mathematica in Windows, using a copy
licensed to the school.

The first paper will be on knot theory.  She's been taking clases
part-time while working.  Now she'll be a full-time student starting
next week.

I've been providing long-range tech support since she switched to Linux.
Hopefully the latex processing flow is easy to package up into a shell
script or Makefile.  I've installed everything with latex or lyx in the
package name.  

So she'll need to master latex commands and I'll assist with the
processing flow as necessary.  

I see that Maple and Mathematica are available for Linux, so either of
those could be an option.

> One 
> can find document styles that match professional publications if that is 
> desired.  There is a learning curve, of course, but the quality of the 
> typesetting is unparalleled.  For the content, you are on your own. :)

I expect she'll manage the content OK.  She does try to avoid futzing
with her computer - that gets handed off to Dad.

> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Destroying a hard drive

2007-07-11 Thread Lloyd Kvam
On Wed, 2007-07-11 at 20:28 -0400, Bill Ricker wrote:
> Unsubstantiated rumor was certain crypto gear came with thermite bomb
> just above in case of capture. 

Actually, back when I was in the Army, the termite was stored
separately, but quickly available.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: CentOS5 mediacheck failing

2007-07-16 Thread Lloyd Kvam
On Sun, 2007-07-15 at 14:19 -0400, Ted Roche wrote:
> Trying to install CentOS5 from CD on a new server, Dell SC430, Pentium-D
> 2.8 GHz, 1 Gb RAM, 2-250 Gb SATA drives. I had previously installed FC7
> from the LiveCD and run it though some basic functionality tests, SMART
> drive long tests, etc. Everything appeared to work fine.
> 
> Booting the CentOS5 CD #1 (no DVD drive), I ran the mediacheck, since I
> hadn't tried this set of disks before. Test zipped right through 1%, 2,
> 3, 4,... until about 91% then it got really slow. The CD would stop
> spinning, and just start fitfully every minute or two, and finally
> report FAILED. Testing on two other machines, the same CD reported PASS.
>  Same problem with CD2, fail on this machine, worked on two others.
> 
> A similar thread running on BLU suggests the newest Knoppix use the new
> libata drive and might have trouble with 'legacy' ATAPI drives.
> 
> I've read the CentOS release notes and attempted to Google for clues.
> There's nothing in the installation logs to indicate an error condition.
> 
> Can anyone suggest what to look at next?

Does the centos install support network installations?  When dealing
with computers that lack a DVD drive, I usually use the network install
and refer back to my laptop.  Two useful hints:
use the IP address to reference the source computer 
(http://192.168.0.10/fc7)
mount -o loop fc7-dvd.iso /var/www/html/fc7

If you only have CD.iso images, I assume you can mount them in a
directory, but might need some documentation to get the proper names to
identify the individual CD's, though the error messages might provide a
good clue.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: MySQL v. PostgreSQL, continued, was: Microsoft Access - two questions

2007-07-31 Thread Lloyd Kvam
On Tue, 2007-07-31 at 10:39 -0400, Ted Roche wrote:
> >Paul Lussier wrote:
> 
> > It is lacking features[1][2], and I've certainly seen plenty (if not most)
> > uses of MySQL completely abuse it to the point where the "developer"
> > completely missed the "R" point RDB[3].
> 
> Most programmers are amateurs. Even the really, really good ones.
> Business application programmers follow the same normal curve as most
> everything else: few really, really good ones, few really, really bad
> ones, but the bad ones leave such memorable disasters behind them!
> 
> More fuel for the fire... Josh Berkus blogs,
> 
> "What is does show is that PostgreSQL and MySQL are very, very close in
> performance today and the outdated belief that MySQL is somehow multiple
> times faster than PostgreSQL is dramatically misplaced. Users should be
> picking a database based on which specific performance features, and
> other features, they need in their database and not out of some ignorant
> assessment that "Database X is way faster." That's pretty much been true
> for years, but the very close benchmark results shows that pretty clearly."
> 
> Source:
> http://blogs.ittoolbox.com/database/soup/archives/benchmark-brouhaha-17939
> 
> Competition is Good.

In my experience, key reasons to choose MySQL are:

replication - it is easy to feed changes to remote servers
without the uptime requirements of two-phase commits

easy administration

As a DBMS, it requires more planning in developing an application simply
because of its differences from the competition and the lack of
commit/rollback in its myisam tables.


-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [GNHLUG] DLSLUG: Tomorrow - Usable Web Applications with Rails and AJAX

2007-08-01 Thread Lloyd Kvam
On Wed, 2007-08-01 at 16:24 -0400, Bill McGonigle wrote:
> [please RSVP as we have a real live refreshment sponsor this month!]
I'll see you there.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


odd web log entry

2007-08-03 Thread Lloyd Kvam
222.185.109.136 - - [02/Aug/2007:05:46:07 -0400] "GET 
http://207.150.184.73/proxygrade.php?hash=E54B5A88967F08F244A2DA1B00506714C03DEC23EC07
 HTTP/1.1" 404 291 "-" "Mozilla/4.0 (compatible; MSIE 6.01; Windows NT 5.0)"

136.109.185.222.in-addr.arpa domain name pointer 
136.109.185.222.broad.cz.js.dynamic.163data.com.cn.
73.184.150.207.in-addr.arpa domain name pointer unknown.sagonet.net.

OrgName:Sago Networks 
OrgID:  SAGO
Address:4465 W. Gandy Blvd.
Address:Suite 800
City:   Tampa
StateProv:  FL
PostalCode: 33611
Country:US


I assume this was an attempt to use my web server as a client proxy to
reach a different site.  There's only one request from that IP address.

This is the first time I've noticed this kind of request coming through.
Please let me know if any of you folks think there are grounds for
concern or if you think I should be taking any followup action.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: I've got to get organized.

2007-08-14 Thread Lloyd Kvam
On Mon, 2007-08-13 at 22:20 -0400, Bill Ricker wrote:
> > "Time Management for System Admins" by Tom Limoncelli (O'Reilly),
> > ISBN 0-596-00783-3 $24.95 and 200 pp, is the last of a long series of
> > books I've used to help me get focused and organized.

http://www.librarything.com/work/340301&book=8496532

AND it is in the library.  We should be able to get it into your hands
without too much difficulty.  (You'd be the first borrower, so you would
owe a review.)

> 
> Excellent.  Can work for programmers too with adaptations.
> He gave several talks in N.E. a couple years ago, and a NJ group put
> his talk on the web as a Flash movie.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


library book - Time Management for System Administrators

2007-08-21 Thread Lloyd Kvam
Should anyone want to borrow this book (and write a review), I expect to
be at the Python-Sig meeting in Manchester this Thursday.  Let me know
if there are any other books to bring.  I know that Lebanon/Hanover can
be a bit of a trek for most of you.

http://www.librarything.com/catalog/dlslug
see what's available

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


(cross-posted)Library Update

2007-08-24 Thread Lloyd Kvam
Library catalog is at:
http://www.librarything.com/catalog/dlslug

I lent out a couple of books at the Python SIG meeting.  You don't have
to come to Lebanon to borrow a book.

Ted had a stack of books to add to the library:  

Ajax Construction Kit: Building Plug-and-Play Ajax Applications (Negus
Live Linu ... by Michael Morrison

Enterprise AJAX: Strategies for Building High Performance Web
Applications by David Johnson

The Official Ubuntu Book (2nd Edition) by Benjamin Mako Hill

Professional Ruby Collection: Mongrel, Rails Plugins, Rails Routing,
Refactoring ... by James Adam

The Official Damn Small Linux(R) Book: The Tiny Adaptable Linux(R) That
Runs on ... by Robert Shingledecker

RailsSpace: Building a Social Networking Website with Ruby on Rails
(Addison-Wes ... by Michael Hartl

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [semi-OT] Review: Comcast Workplace cable Internet

2007-09-11 Thread Lloyd Kvam
On Mon, 2007-09-10 at 16:24 -0400, Neil Joseph Schelly wrote:
> On Monday 10 September 2007 15:56, Ben Scott wrote:
> >   Like I said: Cheap, disposable bandwidth.  The speed really is quite
> > impressive for the price.  Getting an SLA feed with a committed rate
> > of 12 megabit/sec from a "real" ISP would easily cost us over $1000
> > per month.  I wouldn't rely on it for critical operations, but to
> > complement our SLA feed, it seems like a good solution so far.
> 
> Where could you get anywhere close to 12mbps for anywhere close to 
> $1000/month?  I've found T1s in the range of $500-1000/month and anything 
> larger seems to jump up to several thousand/month at least.
> -N

Level3 offers 10mbps in Vermont and Lebanon/Hanover NH.  Last I heard it
was $1700 monthly for the full 10mbps service.  However, you could
settle for 3mbps with bursts to 10mbps for about $1200.

> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


fedora 7 on laptop no longer burns CDs or DVDs

2007-09-11 Thread Lloyd Kvam
I recently upgraded my laptop from fedora 6 to fedora 7.  Now I've
discovered I can no longer burn CDs or DVDs.  I have an old CD-R burner,
so this is not critical yet, but I will need to get this figured out.
The drive is identified below in the wodim output, but is a fairly
typical IDE combo drive.  As I recall, it was /dev/hdb with fedora 6.
Now with fedora 7 the drives get scsi style names.

Besides the output from wodim (a typical run is pasted below) there are
also syslog messages like:

Sep 11 00:09:35 laptop kernel: cdrom: This disc doesn't have any tracks I 
recognize!

which seems like a media problem, but happens for all of the media that
I've tried.  

My assumption is that the laptop cut some corner with the drive setup so
that there are errors which got ignored or went undetected in fedora 6.
Booting the fedora live CD into RAM made no difference so it should not
be some peculiarity of my software configuration.  Booting from Knoppix
ties up the drive so that I can't burn.

I'll be trying to boot from USB with an alternative distro (Knoppix?
PuppyOS?) to prove the hardware works, but thought it would be worth
soliciting advice.

(Google has not helped as entirely too many people have burn problems.)


(I ran this as root just in case that mattered)

wodim dev=/dev/scd0 driveropts=burnfree,noforcespeed -dao  -immed 
OpenCD-07.09.iso 
Error trying to open /dev/scd0 exclusively (Device or resource busy)... 
retrying in 1 second.
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'TOSHIBA '
Identification : 'CD/DVDW SDR6572M'
Revision   : 'TU04'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 128952
Speed set to 706 KB/s
Starting to write CD/DVD at speed   4.0 in real SAO mode for single session.
Last chance to quit, starting real write i   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:   26 of  450 MB written (fifo 100%) [buf  95%] |318 1000ms|   
4.0x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 00 00 35 A5 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 72 0B 00 00 00 00 00 0E 09 0C 00 00 00 02 00 00
Sense Key: 0x0 No Additional Sense, Segment 11
Sense Code: 0x00 Qual 0x02 (end-of-partition/medium detected) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 205.840s timeout 200s

write track data: error after 28125184 bytes
wodim: A write error occured.
wodim: Please properly read the error message above.
Writing  time:  296.935s
Average write speed  10.4x.
Min drive buffer fill was 95%
Fixating...
Fixating time:0.002s
wodim: fifo had 507 puts and 444 gets.
wodim: fifo was 0 times empty and 221 times full, min fill was 87%.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Lloyd Kvam
On Wed, 2007-09-12 at 09:08 -0400, Ben Scott wrote:
> On 9/11/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> > I recently upgraded my laptop from fedora 6 to fedora 7.  Now I've
> > discovered I can no longer burn CDs or DVDs.
> 
>   In the past, I've had trouble with those auto-media-detect-and-mount
> daemons trying to auto-mount a disc as I'm trying to write to it.  I
> suspect you might be having the same problem, because of this in your
> wodim output:
> 
> Error trying to open /dev/scd0 exclusively (Device or resource
> busy)... retrying in 1 second.
> 

That exclusivity error only shows up sometimes.  I think the retry
succeeds.  I have not gone to the lengths of renaming the "magic" files,
but I have unmounted the CD to see if it made a difference - which it
did not.

>   Since I hate those auto-thingies anyway, I just killed them off, and
> renamed the binary to keep them from starting again.  (Removing the
> package often isn't a good idea because the package may also provide a
> library other programs link against.)
> 
> I remember the GNOME auto-thingy was called "MagicDev" at one time.  I
> don't remember the name of the KDE auto-thingy, and I don't know if
> either of those might be using a new auto-thingy by now.  (As of late,
> I'm running FVWM, which doesn't start auto-thingies by default anyway,
> so I don't have recent experience.)
> 
> -- Ben

Actually that is a good idea there.  I can switch to runlevel 3 and see
if wodim works.  That eliminates all of the GUI magic.

Thanks.

> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Lloyd Kvam
On Wed, 2007-09-12 at 13:03 -0400, Ben Scott wrote:
> On 9/12/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> >> Error trying to open /dev/scd0 exclusively (Device or resource
> >> busy)... retrying in 1 second.
> > >
> >
> > That exclusivity error only shows up sometimes.  I think the retry
> > succeeds.
> 
>   Right, because the auto-thingies all work by polling the device.  So
> if they happen to be polling the device when wodim tries to open it,
> you get the warning.  Then they close the present poll, and wodim
> retries, and it works.  Then, during the middle of the write, they
> poll again, and kablooie.
> 
>   At least, that's my theory.

Well I shutdown to single user mode.  wodim chugs along until it thinks
it has written 26 MB and then decides that things are not working.  The
CD media still appears to be blank.

I have downloaded the cdrtools from berlios.de and will see if that
makes a difference.  I just need to be careful about fouling up my
fedora 7 stuff.

> 
> -- Ben
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-13 Thread Lloyd Kvam
On Wed, 2007-09-12 at 23:08 -0400, Stephen Ryan wrote:
> What about going the other way around?  Try the GUI CD burner - you
> should be able to right-click on the .iso and select "Write to
> Disc...".  

That was my starting point.  I glossed over that since there was no
useful error output.  The GUI seems to provide a wrapper to the
underlying command-line tools.  I went to the command line simply to get
better error messages.

And that GUI interface worked nicely in Fedora 6.

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Perl best practices

2007-09-14 Thread Lloyd Kvam
On Thu, 2007-09-13 at 23:58 -0400, Paul Lussier wrote:
> For all those just tuning in, Ben and I are in violent and vocal
> agreement with each other, and at this point are merely quibbling over
> semantics :) 

As an old Python guy who knows just enough Perl to get it wrong, this
has been educational (and even fun).

Thanks.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Monitoring memory use

2007-09-21 Thread Lloyd Kvam
On Fri, 2007-09-21 at 09:44 -0400, Kent Johnson wrote:
> Alex Hewitt wrote:
> > On Fri, 2007-09-21 at 08:27 -0400, Kent Johnson wrote:
> >> Is there some way I can 
> >> wrap the cron job to log the memory used by the process?
> > 
> > One simple way 'ps aux | grep myjob'
> > 
> > If you loop on this and redirect the output to a file you can watch your
> > program grow. There is also a memstat utility that may or may not be
> > available on the system you are using.
> 
> I was hoping for a utility that would wrap the process in some way and 
> report the high-water memory use of the process. Oh well...
> 
> I guess I can write this myself as a Python program that runs the 
> desired program as a child process and monitors its memory usage by 
> reading /proc//stats. There is also the Python library function 
> resource.getrusage() but it doesn't seem to help - the ru_maxrss 
> parameter is always 0.

The file status (/proc//status) provides labels for the data and
would be easy to parse into a dictionary.

If you are tightly focused on memory, statm may be a better file to use
than stats.  The second field is the RSS pages value.

You didn't specify which cron job caused the problem, but if it was
from /etc/cron.daily, the different pieces get kicked off in series.  If
you do not already know the culprit, that can complicate things a bit.  

Independently scanning /proc every minute may be a useful alternative.

> 
> Thanks,
> Kent
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Hacking Myth TV back on self in library

2007-10-05 Thread Lloyd Kvam
There was very serious interest in this book earlier in the year.  Let
me know if you want to borrow it.

http://www.librarything.com/catalog.php?view=dlslug
lists the collection

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Back to UUOC (was: Shell tips and tricks)

2007-10-05 Thread Lloyd Kvam
On Fri, 2007-10-05 at 11:51 -0400, Ben Scott wrote:
>   That's practically a tautology.  You're saying, "I think, 'I want to
> cat this file', so I use cat."  In other words, you use cat when you
> think of cat.  Well, duh.  :)  The real question is, "Why do you think
> of cat?"
> 
>   In my mind, I think "I want to send this file to this program".
> >From there, I'm just as likely to use "<" as I am to use "cat", but
> I'm not sure that was always the case (and my memories of my own
> memory are unclear and likely suspect (hmmm, Heisenberg's Uncertainty
> Principle as applied to introspection of my own mind (but I
> digress))).
> 
>   So why/how does "cat" become a verb meaning "send file to another
> program"?
> 
>   Is it because cat is often used to dump a program to the terminal? 

This discussion has really succeeded in drumming into my head that
< input
> output
filter args
are commutative.  You can shuffle them into any order and the line
works.  (A program like cp gums things up because it is not a filter.)

< input

does nothing by itself.  It needs cat or some other process to use the
redirection.  So your fingers learn to type
cat input
You could type 
< input cat
but that's hardly an improvement.  Once you have the cat coordination
down, is it worth trying to keep the alternative at your fingertips?



You've probably heard this joke but I think it fits.

A mathematician and an engineer are on a desert island. They find two
palm trees with one coconut each. The engineer climbs up the first tree,
gets the coconut, and eats it. The mathematician climbs up the second
tree, gets the coconut, climbs down, walks over to the first tree,
climbs it, and puts the coconut up there. "What did you do that for?"
ask the engineer. The mathematician replies, "Now we've reduced it to a
problem we know how to solve."


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


apress offering books for review

2007-10-05 Thread Lloyd Kvam
http://www.apress.com/book/catalog?category=28

Apress is offering free books for reviewers.  If you see a title you'd
like to help us acquire, please volunteer to write a review.

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Shell tips and tricks (was: cat pipe)

2007-10-06 Thread Lloyd Kvam
On Fri, 2007-10-05 at 17:13 -0400, Ben Scott wrote:
>   Do others here have additional shell tips and tricks?  You know, the
> kind of thing that you don't see others using much, so you remain
> unaware of it, then when you discover it, you find it very useful, and
> keep thinking about how much other people should be using it.  :)

I would certainly benefit from spending a week sitting next to someone
who knew what they were doing and had the time to explain.

We do have a book in the library: Shell Scripting Recipes by Chris F. A.
Johnson.  I just scanned through it.  The flavor appears to be a bit
like "Software Tools" without the end product of a new language.  There
is an extensive collection of scripts which build on each other to
expand their domain of use.  My quick reaction is that you'd be better
off coding these up in Perl, Python, Ruby or the like.  There is not
much shell theory in the book.  (pipe and redirection are not in the
index and my quick scan did not turn up any discussion, though they are
used in examples.)

Bill Stearns gave a DLSLUG presentation "100 ways to run your
program" (I think that was the title) with a 61 page handout (courtesy
of SANS) that was great.  The talk was full of shell tips and tricks.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Desparately need Postfix/smtpd/sasl on Fedora help

2007-10-09 Thread Lloyd Kvam
On Mon, 2007-10-08 at 23:53 -0400, David A. Long wrote:

> Under FC7 now though an attempt to send mail to the server for relaying
> produces only the following messages:
> 
> Oct  8 23:31:09 www postfix/smtpd[3038]: initializing the server-side TLS 
> engine
> Oct  8 23:31:09 www postfix/smtpd[3038]: connect from unknown[192.168.1.137]
> 
> 
> And then it just hangs until it times out.  I've gone over the postfix
> config files a thousand times.  I'm confused by the total lack of an
> error message in any log.  Help!
> 
I pulled out the tls lines from my main.cf.  You may need to change the
loglevel to get more information.

Could you be rejecting unknown (number-to-name lookup fails) IP addresses?  
I've been rejecting those as a relatively easy, effective spam control ( 
reject_unknown_hostname, reject_unknown_client )

[EMAIL PROTECTED] postfix]# grep -i tls main.cf
## TLS
# client-side-tls
smtp_use_tls = yes
smtp_tls_key_file = /etc/postfix/postfix.key
smtp_tls_cert_file = /etc/postfix/postfix-cert.pem
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_loglevel = 1
# server-side-tls
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/postfix/postfix.key
smtpd_tls_cert_file = /etc/postfix/postfix-cert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom


Hope this helps.

> -dl
> David Long
> 
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: HA MySQL Setups

2007-10-09 Thread Lloyd Kvam
On Tue, 2007-10-09 at 10:43 -0400, Flaherty, Patrick wrote:
> Replication - One master server accepts writes, on write ships it's
> logs to the slave server(s). Async may not be a problem, but seems
> silly there's no flag to wait for the slaves to report a write was
> successful. 

Replication is very handy for off-site backup and situations where
delayed delivery of data is OK (or even preferred due to unreliable
connections).

I'd be reluctant to build a fail-over strategy around replication.

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


RE: HA MySQL Setups

2007-10-09 Thread Lloyd Kvam
On Tue, 2007-10-09 at 14:12 -0400, Flaherty, Patrick wrote:
> >   What about multimaster replication?
> 
> Multi Master made me feel a bit icky. Auto-increment offsets the same
> logshipping stuff others have had problems with. 

A MySQL slave has a single master.  A master can have multiple slaves.
Your set of connections forms either a tree or a loop, possibly with
branches.

I've written a "collector" process to short circuit the loop for pushing
a replication stream through a bunch of servers.  The goal was off-site
backup and centralized reporting.  I can't imagine using it for
high-availability fail over.

> There are also other
> "implementations" of mmr, but they are just sets of scripts that mimic
> heartbeat. In the end, it's the same as normal master/slave replication,
> but now with the additional moving pieces.
> 
> Patrick
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: HA MySQL Setups

2007-10-09 Thread Lloyd Kvam
On Tue, 2007-10-09 at 10:43 -0400, Flaherty, Patrick wrote:
> I'm planning to set up an HA mysql cluster.

Oddly enough, I just got an email from mysql.com advertising high
availability training in Burlington, MA later this month.  Let me know
if you want a copy of the email.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: grub

2007-10-11 Thread Lloyd Kvam
On Thu, 2007-10-11 at 15:29 -0500, mike miller wrote:
> Could this be a failing 
> motherboard?  I'm not getting any consistent error messages.  

I think the boot process is wired to the start of the disk drive.  If
that part of the disk is failing, you will have grief.  If you boot a
live CD and use (fix the devices - you mentioned sdb, but I assume you
boot from sda)
smartctl  --all /dev/sda
smartctl --test=long /dev/sda
you may get some useful information.  You can also use dd to copy off
the first blocks of the drive to run comparisons.  

I would not blame the motherboard if Windows can boot.

grub usually provides some kind of message - or linux will depending on
the failure.  I'm puzzled at the silence.

I deal with boot woes every three or four years and muddle through.  By
the time my next boot adventure comes along enough things have changed
so that my old notes are not helpful.  Hopefully you'll hear from
someone who knows what they're doing.

> Should I just 
> give up and use this for windows and build another machine for linux? 
> Should I just reestablish relations with my slide rule? 

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: MySQL backups

2007-10-15 Thread Lloyd Kvam
On Mon, 2007-10-15 at 16:44 -0400, Thomas Charron wrote:
> Has anyone had experience with using CA backup solutions backing up
> CVS and MySQL data repositories?
NO (but why should that stop me).
> 
>   It really concerns me that our Sysadmins are planning to do this, as
> they don't want to take down the MySQL or CVS servers while they do a
> backup.
> 
>   MySQL file locking, and the integrity of the CVS backup are two
> issues that I just don't see how a strait file based backup can work
> on this server.

(addressing MySQL)
You're right.  Feed the output from sqldump into your backup.  mysqldump
will flush and lock each database as the database is backed up, but does
not, by default, protect consistency between databases.  If that's a
concern, an LVM snapshot (or equivalent) might be better.  The output
from sqldump is a file of SQL commands to recreate the database(s).
That's sometimes more useful than simply backing up the server files
directly.  It also compresses well and works OK when fed into rdiff.


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: MonadLUG Notes, 12-Oct-1007: Ben Scott presents DNS and BIND

2007-10-24 Thread Lloyd Kvam
On Wed, 2007-10-24 at 10:03 -0400, Kent Johnson wrote:
> Ted Roche wrote:
> > I took a look at the slides, because I know you had some troubles with
> > the way the layout looked and behaved, and I felt bad for recommending
> > S5 if it gave you so much trouble, and I think I found the source of
> > some of those problems: the main slide file has to be XHTML 1.0 Strict,
> > which is really, really finicky about how things work.
> 
> > (I *think* I got this right...) It's a pain in the neck to get code this
> > way, and I use http://validator.w3.org to tell my when I've finally
> > dotted every I and crossed every T, er, t.
> 
> So, is there a better way to author S5 than being really, really careful 
> while writing XHTML by hand and using an XHTML validator a lot?

docutils includes support for s5 output:
rst2s5

The docutils conventions are a bit more complicated than I'd really
like, but most of the simple cases are fairly easy to master.

> 
> I'm thinking about using S5 for an upcoming MerriLUG presentation but if 
> it is a pain to author I might just stick with PowerPoint (yeah, 
> PowerPoint on Mac OSX for a presentation on FOSS software (Python) to a 
> Linux UG, spare me the comments...)
> 
> Kent
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


library news

2007-10-26 Thread Lloyd Kvam
http://www.librarything.com/work/340301/book/8496532
Time management for system administrators

The books is available again and comes highly recommended.


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Patching GNU Mailman to make reply-to munging a per-user option

2007-10-27 Thread Lloyd Kvam
On Sat, 2007-10-27 at 09:16 -0400, Ben Scott wrote:
> 
> http://mail.python.org/pipermail/mailman-developers/2002-March/011068.html
> 
> http://mail.python.org/pipermail/mailman-developers/2002-March/011096.html
> 
> http://mail.python.org/pipermail/mailman-developers/2002-March/011104.html
> 
>   If no one else wants to try, I will prolly have a go at beating it
> with a hammer until it fits, but I'd really prefer someone who knows
> Python and/or Mailman better than I. 

Barry rejected that patch because he felt it was too complex which is
not a terribly good sign.  However, he is ready to accept a patch to
achieve what you want.
http://www.python.org/cgi-bin/faqw-mm.py?req=all#3.48

How quickly do you want it completed?  Do you have any test
platform/scenario in mind to avoid killing this list?  I am running
mailman for some very lightly used lists.  I could test on my laptop and
migrate to my server for some light usage before handing it over to you.

I assume progress reports would b of interest to our pysig group.

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: CD burner woes

2007-10-30 Thread Lloyd Kvam
On Tue, 2007-10-30 at 10:55 -0400, Drew Van Zandt wrote:
> The symptom is that it can;t write the CD.  It runs all the prep, then
> the burn itself fails.
> scsidev: '1,0,0'
> scsibus: 1 target: 0 lun: 0
> Linux sg driver version: 3.5.34
> Wodim version: 1.1.2
> SCSI buffer size: 64512
> wodim: Cannot do inquiry for CD/DVD-Recorder.
> TOC Type: 0 = CD-DA
> atapi: 1
> Errno: 5 (Input/output error), test unit ready scsi sendcmd: fatal
> error
> CDB:  00 00 00 00 00 00 
> cmd finished after 0.000s timeout 200s
> 

This is fairly similar to what happened to me when I upgraded to
Fedora7.

http://www.mail-archive.com/gnhlug-discuss@mail.gnhlug.org/msg20130.html

My guess is that wodim has trouble with some controllers when the burner
and disk drive share the same IDE controller.  I have not yet tested
with cdrtools as a wodim replacement.  Fedora7 switched from cdrtools to
wodim.  (Note that you will still have a cdrecord command, but it is a
link to wodim.)


> 
> On 10/30/07, Ben Scott <[EMAIL PROTECTED]> wrote: 
> On 10/30/07, Drew Van Zandt <[EMAIL PROTECTED]> wrote:
> > I used to be able to burn CD's on this laptop, now I can't.
> 
>   So, um, like... what happens when you try to burn a CD?  :)
> 
>   What's your command line (or GUI clickstream)?  Do you get
> an error 
> message?  A program crash?  Does it go through the motions but
> not
> actually run the burner?  Does it write *something*, but not a
> readable CD?  If so, what's the diagnostic when you try to
> read the
> CD?  Come on, throw us a bone here.  ;-) 
> 
> http://support.microsoft.com/kb/555375
> 
> http://catb.org/~esr/faqs/smart-questions.html
> 
> > Transport name: sg
> > Open via UNIX device:   not supported   *** DING DING DING
> looks
> > suspiciously like my issue. ***
> 
>   I dunno.  There's all this semi-political crap involved with
> how 
> Linux and/or cdrecord handles opening devices for "generic
> SCSI"
> access, so that might be a red herring.
> 
>   Longer version:
> 
>   Linux used to use a different device node for "generic
> SCSI" (the 
> /dev/sg* nodes), with no nice way to map to the "normal"
> device nodes
> (/dev/s[srt]* and such).  At some point, it was decided that
> some king
> of ioctl() on the "normal" device nodes would be a better way,
> and the 
> /dev/sg* nodes would be deprecated.
> 
>   On top of all that, there is long-standing friction between
> Jörg
> Schilling (the principle cdrecord author) and the Linux kernel
> people.
> It started out as disagreement on design of the the Linux
> SCSI 
> subsystem (and generic SCSI in particular), and has since
> escalated.
> They've been disagreeing for so long they've forgotten why and
> now
> just hate everything the other side comes up with.
> 
>   So messages about this-or-that not being supported, or
> openable in 
> some fashion, may just be a political rant disguised as a
> diagnostic
> message.
> 
> -- Ben
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: CD burner woes

2007-10-31 Thread Lloyd Kvam
On Tue, 2007-10-30 at 11:57 -0400, Jim Kuzdrall wrote:
> On Tuesday 30 October 2007 09:29, Drew Van Zandt wrote:
> > I used to be able to burn CD's on this laptop, now I can't... 
> > 1) I can read CD's just fine.
> 
> I had one like that, and it was the laser that was going.  They 
> often "degrade" rather than failing outright.  In such cases, the laser 
> can produce enough power to read but not to write.

Thanks for the tip.  I tested using Fedora7 Live CD on an identical
laptop and it burned a CD with no difficulty.  So it is a device failure
and not a software upgrade problem.
> 
> If that is the case, you might use a microscope to look for very 
> light writing on the beginning track of the CD that failed to write 
> properly.
> 
> Jim Kuzdrall
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Power supply monitoring in Linux?

2007-11-07 Thread Lloyd Kvam
On Wed, 2007-11-07 at 10:54 -0500, Paul Lussier wrote:
> 
> Hi all,
> 
> Is anyone aware of means to monitor power supplies under Linux?  I
> have systems which have dual-redundant power supplies and I'd like to
> monitor them for possible failures so I can send an alert, set a trap,
> etc.

nut and nut-client

(The hardest part was getting a cable to connect to the UPS.  Their
serial connector had bizarre pinouts.)


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Power supply monitoring in Linux?

2007-11-07 Thread Lloyd Kvam
On Wed, 2007-11-07 at 12:34 -0500, Lloyd Kvam wrote:
> nut and nut-client
> 
> (The hardest part was getting a cable to connect to the UPS.  Their
> serial connector had bizarre pinouts.)
> 
Well sorry about that.  I missed the point entirely....

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: can't telnet out port 25

2007-11-15 Thread Lloyd Kvam
On Thu, 2007-11-15 at 11:50 -0500, Chris wrote:
> Also found this
> 
> 
> http://www.sematopia.com/?p=51
> 
> Might not be suitable for your application, but it is a way around the
> problem.

So the PHP script is installed on some server that can send email and is
accessible via port 80 which gets around the port 25 block.

The PHP script looks like it allows the web server to be used as an open
relay for email.  Web servers with scripts like this are probably what
got godaddy to block port 25 in the first place.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [OT] Verizon/FairPoint sale (was: Comcast!?!?)

2007-11-15 Thread Lloyd Kvam
On Thu, 2007-11-15 at 14:30 -0500, Michael Costolo wrote:
> I find myself asking why anyone cares if they want to leave since they
> refuse to do business with so many of us.

I think a major concern is that FairPoint may be paying so much for the
"franchise" that debt service payments will prevent them from rolling
out the promised services - not to mention the employee worries about
jobs and pensions.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [OT] Verizon/FairPoint sale (was: Comcast!?!?)

2007-11-15 Thread Lloyd Kvam
On Thu, 2007-11-15 at 15:00 -0500, Michael Costolo wrote:
> Couldn't some combination of wireless and VOIP make POTS
> redundant/unnecessary? 

POTS is powered from the Central Office with a UPS that can maintains
service for many hours in the event of a power failure.  The physical
location of the line's endpoint is known and registered for purposes of
emergency response and 911 calls can be routed automatically to a local
responder.

VOIP and cell service do not yet match those POTS features.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog.php?view=dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


(cross posted) new library books

2007-12-07 Thread Lloyd Kvam
http://www.librarything.com/rsshtml/recent/dlslug

Note the revised links below.  Librarything.com improved their URI
naming and I finally noticed.  Go to the profile to get RSS feeds.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Ignorant writing

2007-12-13 Thread Lloyd Kvam

On Thu, 2007-12-13 at 18:15 -0500, Ben Scott wrote:
> On Dec 13, 2007 5:07 PM, Bill McGonigle <[EMAIL PROTECTED]> wrote:
> > Better description:
> >http://www.fee.org/thanksgiving/
> 
>   Interesting... but is that a reliable source?  The site seems...
> shall we say... somewhat biased.  Can you cite another source -- one
> that isn't explicitly trying to push laissez-faire economics -- that
> "the first Thanksgiving" really had anything to do with that?

I had the same reaction.  A little googling turned this up.  

http://www.mith2.umd.edu/eada/html/display.php?docs=bradford_history.xml

The spelling is unreliable, but searching for Plato will pull out the
section quoted in fee.org.  You will still need to do a fair amount of
reading from Bradford's Journal to decide if fee.org mangled the
context.


>   I've seen other (equally dubious) sources that assert it was
> explicitly, by design, before the first one even happened, to be a day
> of thanks to God that they (the colonists) made the journey safely,
> blah blah blah.
> 
> -- Ben
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Python's making my head hurt...

2008-01-05 Thread Lloyd Kvam

On Sat, 2008-01-05 at 15:00 -0500, Star wrote:
> The error is "ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so:
> undefined symbol: PyUnicodeUCS4_DecodeRawUnicodeEscape"
...
> Or perhaps help me with some ideas on writing a
> short test script that can help me duplicate/confirm that it's an
> error with the debian packaging?

To reproduce an import error, I'd start with:
python  # start the python interpreter
>>> import cPickle
>>> cPickle.__file__
'/usr/lib/python2.5/lib-dynload/cPickle.so'

The above is what I get on my Fedora 8 laptop.  If the import works for
you then debugging can get more complicated.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


tim bray commenting on windows

2008-01-09 Thread Lloyd Kvam
(For those who, like me, missed this New Year's prediction)

http://www.tbray.org/ongoing/When/200x/2008/01/02/Prediction-Windows-OS-X-Linux

(synopsis)
The strain due to the fact that most business desktops are locked into
the Microsoft platform, at a time when both the Apple and GNU/Linux
alternatives are qualitatively safer, better, and cheaper to operate,
will start to become impossible to ignore.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


ttyUSB monitoring

2008-01-11 Thread Lloyd Kvam
I bought a GPS tracker (RGM-3800) under the delusion that I would be
able to collect data from it using Linux.  Unfortunately, it is using a
proprietary protocol to collect data.  The serial connection is
115200-n-8-1, but the device does not use the "normal" command
sequences.

The Windows software will sometimes work using WINE.  I expect that I
could reverse engineer the key features if I could monitor the ttyUSB
device data stream.  So far I've been unable to google anything useful
about enabling a serial device monitor (tcpdump for the serial device)
that showed the data stream.  statserial will show the status pins.  I
would think that usbserial (pl2303.ko) would have needed a monitor mode
when it was developed simply because it is such a synthetic device.

I'm hoping someone here can kick me in the right direction.

(The tracker connects using a USB cable so I can't use a serial breakout
box or any hardware based serial debugging facility.)

Thanks.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: ttyUSB monitoring

2008-01-12 Thread Lloyd Kvam
On Fri, 2008-01-11 at 21:08 -0500, Ben Scott wrote:
> I Googled for "usb sniffer" and found Windows stuff.  So I added
> "linux" and found this, which might be what you're looking for:
> 
SNIFFER

Hah, thanks for the help.  I did not think to use sniffer in my
searches.  (monitor, dump, even promiscuous-mode)  Obviously I need a
better thesaurus.

> http://www.linux-usb.org/tools.html
> 
Looks like just what I need.

Thanks.
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: ttyUSB monitoring

2008-01-12 Thread Lloyd Kvam
On Fri, 2008-01-11 at 20:08 -0500, Chris wrote:
> If this will run under WINE or you know someone with a windows box,
> this is a 14 day trial
> 
> http://www.hhdsoftware.com/Products/home/usb-monitor.html
> 
> Good luck,

I did find them, but noticed that the download URL was:
http://hhd.df.ru/usb-monitor.exe
and chickened out...

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


RE: ttyUSB monitoring

2008-01-12 Thread Lloyd Kvam
On Fri, 2008-01-11 at 21:27 -0500, Patrick Klos wrote:
> You could try portmon from Sysinternals (now Microsoft):
> 
> http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx
> 
> It should log the bytes going between the serial port and the system.
> 
Thanks for the pointer.  I'm hoping the links that Ben uncovered will do
the trick.  Borrowing a Windows computer that would support this is
likely to be more trouble that it's worth.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: ttyUSB monitoring

2008-01-12 Thread Lloyd Kvam

On Sat, 2008-01-12 at 11:29 -0500, Thomas Charron wrote:
> On Jan 11, 2008 7:29 PM, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> > I bought a GPS tracker (RGM-3800) under the delusion that I would be
> > able to collect data from it using Linux.  Unfortunately, it is using a
> > proprietary protocol to collect data.  The serial connection is
> > 115200-n-8-1, but the device does not use the "normal" command
> > sequences.
> 
>   Where do you find anything that says it uses a proprietary protocol?
>  It's using NMEA-0183.
> 
It could well be user error.

The logs, once pulled off the device are nmea.  I can deal with those OK
using gpsbabel, etc.

Pulling the logs off the device requires some kind of command
interaction that is buried in a Windows program.  I could not get
gpsd/sirfmon to do any thing useful.  Looking through the output from
 strings data_load.exe
I did find these format strings:


If you have any pointers, that would be great.


-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: ttyUSB monitoring (CONTINUED)

2008-01-12 Thread Lloyd Kvam
(my fingers went into program-editor-mode and triggered the email send 
keystroke shortcut)

On Sat, 2008-01-12 at 11:29 -0500, Thomas Charron wrote:
> On Jan 11, 2008 7:29 PM, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> > I bought a GPS tracker (RGM-3800) under the delusion that I would be
> > able to collect data from it using Linux.  Unfortunately, it is using a
> > proprietary protocol to collect data.  The serial connection is
> > 115200-n-8-1, but the device does not use the "normal" command
> > sequences.
> 
>   Where do you find anything that says it uses a proprietary protocol?
>  It's using NMEA-0183.
> 
It could well be user error.

The logs, once pulled off the device are nmea.  I can deal with those OK
using gpsbabel, etc.

Pulling the logs off the device requires some kind of command
interaction that is buried in a Windows program.  I could not get
gpsd/sirfmon to do any thing useful.  Looking through the output from
strings data_load.exe
I did find these format strings:

$GPGGA,%02d%02d%02d.000,%.2d%07.4f,%c,%.3d%07.4f,%c,%d,00,,0.0,M,0.0,M,,
$GPRMC,%02d%02d%02d.000,A,%.2d%07.4f,%c,%.3d%07.4f,%c,%06.2f,15.15,%02d%02d%02d,,,E
$GPGGA,%02d%02d%02d.000,%.2d%07.4f,%c,%.3d%07.4f,%c,%d,00,,%06.1f,M,0.0,M,,

so figuring out the serial protocol may be a bit ugly.


If you have any pointers, that would be great.  I tried using minicom
and info from the man pages to manually talk to the device, but had no
success.


http://www.linuxjournal.com/node/7582/
Snooping the USB Data Stream

was referenced from the site Ben sent.  I'm hoping that will do the
trick.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: ttyUSB monitoring (CONTINUED)

2008-01-14 Thread Lloyd Kvam

On Sat, 2008-01-12 at 14:08 -0500, Ben Scott wrote:
> On Sat, 2008-01-12 at 11:29 -0500, Thomas Charron wrote:
> >> It's using NMEA-0183.
> 
> On Jan 12, 2008 12:11 PM, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> > figuring out the serial protocol may be a bit ugly.
> 
>   Given Thomas's remark and your example format strings,
> 
> http://www.google.com/search?q=NMEA-0183
> 
> seems to be useful.

Yes.  Once I get past the serial-command protocol, I think I can get the
tracking logs and apply the format strings to create the NMEA data.

> 
> -- Ben
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: ttyUSB monitoring

2008-01-14 Thread Lloyd Kvam
On Sat, 2008-01-12 at 12:37 -0500, Charles G Montgomery wrote:
> "Thomas Charron" <[EMAIL PROTECTED]> wrote:
> >   Where do you find anything that says it uses a proprietary
> > protocol? It's using NMEA-0183.
> 
> In case it's of any use, two Linux programs I've used that have some 
> capabilities for communicating with a GPS are "gpsman" 
> and "gpsbabel".  Debian, for example, has packages for them.
> 
Thanks.  I tried those.  They can deal with the tracking logs, BUT only
after I've used the windows program to pull the logs off the device.

> cgm
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: ttyUSB monitoring

2008-01-14 Thread Lloyd Kvam

On Sat, 2008-01-12 at 12:17 -0500, Mark Komarinski wrote:
> Lloyd Kvam wrote:
> > I bought a GPS tracker (RGM-3800) under the delusion that I would be
> > able to collect data from it using Linux.  Unfortunately, it is using a
> > proprietary protocol to collect data.  The serial connection is
> > 115200-n-8-1, but the device does not use the "normal" command
> > sequences.
> >   
> I'd say save your time and money.
> 
> Last year I got a cheap-o Bluetooth GPS from CompGeeks 
> (http://www.geeks.com/details.asp?invtid=WHT-BT-5&cat=GPS) that was $35, 
> has a battery that seems to last forever, and charges via a standard USB 
> port.  Yes, it can charge and act as a GPS, no it can't transmit any 
> data over USB.
> 

Unfortunately the bt-5 still appears to need a separate device to
actually record the data.  I was looking for a simple standalone device
that would record positions for later processing.  The rgm-3800 is small
and light and looked to be ideal for creating logs while bicycling,
hiking, or cross country skiing.

> I've been using it with gpsdrive (and gpsd) for a while.  Works really 
> nicely and is a great price for anyone that wants to experiment with 
> either GPS or bluetooth devices.
> 
> -Mark

If the pointers I've gotten from others fail to do the trick, I will
need to look at switching to a different device.  The bt-5 with logging
would be a great fit for me.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: What 20 books would you put in the library?

2008-01-25 Thread Lloyd Kvam
Scanning the "stacks" here at our library, I also see:
Open Source Licensing
Succeeding with Open Source
Free Culture

"The Cluetrain Manifesto" is not about Open Source, but rather
the business and social impact of our modern networks.  This
helps explain the larger environment that contributes to Open
Source.

"The Art of Unix Programming" includes arguments for Open
Source.

On Thu, 2008-01-24 at 20:43 -0500, Ted Roche wrote:
> A local library would be interested in hosting a representative sample 
> of books about Open Source. What books would you recommend?
> 
> Off the top of my head, I might suggest:
> 
> Open Sources: Voices from the Open Source Revolution
> 
> The Cathedral and the Bazaar
> 
> Free as in Freedom
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-27 Thread Lloyd Kvam

On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:
> I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
> of the program from eclipse.org.  It wants a version of java > 1.5 to 
> run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
> repo that may have it?  

http://www.jpackage.org/
is probably your best bet.  

> In the past, I've tried updating java thru the 
> sun site.  I was not successful at all.
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-28 Thread Lloyd Kvam

On Sun, 2008-01-27 at 17:22 -0500, Bruce Labitt wrote:
> Um, duh. :-[   I didn't run the .bin file and agree to SUN's 
> conditions...  Onto the next issue.
> Now I have run yum and enabled the repository jpackage.repo.  Next onto 
> the install, everything goes ok, dependencies are resolved, and then 
> 
> "Package jdk-1_5_0_14-linux-i586.rpm is not signed"
> 
> What do I need to do?  

I guess you need to disable the gpgchecking in the repo file.  There's
probably a command-line switch, but changing
gpgcheck=0 
should get you past that hurdle.

> Inside jpackage.repo is the gpgkey for jpackage.  
> This appears to be Sun's package isn't signed?
> 
> Bruce Labitt wrote:
> > Lloyd Kvam wrote:
> >   
> >> On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:
> >>   
> >> 
> >>> I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
> >>> of the program from eclipse.org.  It wants a version of java > 1.5 to 
> >>> run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
> >>> repo that may have it?  
> >>> 
> >>>   
> >> http://www.jpackage.org/
> >> is probably your best bet.  
> >>
> >>   
> >> 
> >>> In the past, I've tried updating java thru the 
> >>> sun site.  I was not successful at all.
> >>> ___
> >>> gnhlug-discuss mailing list
> >>> gnhlug-discuss@mail.gnhlug.org
> >>> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> >>> 
> >>>   
> > OK.  I downloaded the files jdk-1_5_0_14-linux-i586-rpm.bin
> > and java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm .
> >
> > I am attempting to follow the outline given in:
> > http://www.jpackage.org/installation.php
> >
> > If I am following the instructions correctly, I should then do:
> > # yum localinstall java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm
> >
> > I get the following error message:
> >
> > ...
> > Reading repository metadata in from local files
> > Resolving Dependencies
> > --> Populating transaction set with selected packages. Please wait.
> > ---> Package java-1.5.0-sun-compat.i586 0:1.5.0.14-1jpp set to be updated
> > --> Running transaction check
> > --> Processing Dependency: jdk = 2000:1.5.0_14-fcs for package: 
> > java-1.5.0-sun-compat
> > --> Finished Dependency Resolution
> > Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package 
> > java-1.5.0-sun-compat
> >
> > How do I tell yum that the jdk-1_5_0_14-linux-i586-rpm.bin file is in 
> > the same directory???  Or do I have a different problem?
> >
> > ___
> > gnhlug-discuss mailing list
> > gnhlug-discuss@mail.gnhlug.org
> > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> >
> >   
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Simple way to update java on FC6?

2008-01-28 Thread Lloyd Kvam

On Sun, 2008-01-27 at 16:57 -0500, Bruce Labitt wrote:
> Lloyd Kvam wrote:
> > On Sun, 2008-01-27 at 11:50 -0500, Bruce Labitt wrote:
> >   
> >> I'm trying to get eclipse to run on my box with FC6.  I grabbed a copy 
> >> of the program from eclipse.org.  It wants a version of java > 1.5 to 
> >> run.  It seems the repos only have 1.4.2 for FC6.  Anybody know of a 
> >> repo that may have it?  
> >> 
> >
> > http://www.jpackage.org/
> > is probably your best bet.  
> >
> >   
> >> In the past, I've tried updating java thru the 
> >> sun site.  I was not successful at all.
> >> ___
> >> gnhlug-discuss mailing list
> >> gnhlug-discuss@mail.gnhlug.org
> >> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> >> 
> OK.  I downloaded the files jdk-1_5_0_14-linux-i586-rpm.bin
> and java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm .
> 
> I am attempting to follow the outline given in:
> http://www.jpackage.org/installation.php
> 
> If I am following the instructions correctly, I should then do:
> # yum localinstall java-1.5.0-sun-compat-1.5.0.14-1jpp.i586.rpm
> 
> I get the following error message:
> 
> ...
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package java-1.5.0-sun-compat.i586 0:1.5.0.14-1jpp set to be updated
> --> Running transaction check
> --> Processing Dependency: jdk = 2000:1.5.0_14-fcs for package: 
> java-1.5.0-sun-compat
> --> Finished Dependency Resolution
> Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package 
> java-1.5.0-sun-compat
> 
> How do I tell yum that the jdk-1_5_0_14-linux-i586-rpm.bin file is in 
> the same directory???  
Can you list both files on the command line?

> Or do I have a different problem?

Make sure you have jpackage-utils installed.  The yum-faq provides the
setup info for some other repositories: yum-fedorafaq-6-2007.02.03

Here's my jpackage.repo from the fedorafaq rpm.

[EMAIL PROTECTED] yum.repos.d]# cat jpackage.repo 
# JPackage is a GREAT repository for Java Software.
# Nowadays most of JPackage should work with GCJ,
# so there should be no problem with it being enabled
# by default.
#
# Note: JPackage IS compatible with Fedora Extras.
# You can use JPackage and Fedora Extras at the same time, without
# any trouble. It's also compatible with the all the other repositories,
# for the most part.

[jpackage-generic]
name=JPackage (free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

[jpackage-fedora]
name=JPackage (free) for Fedora Core $releasever
mirrorlist=http://www.jpackage.org/jpackage_fedora-$releasever.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

[jpackage-nonfree]
name=JPackage (non-free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic_nonfree.txt
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/jpackage.asc
enabled=0

You'll need to set enabled=1 as appropriate.  Hopefully that gets you
working.

I ultimately deleted the Java stuff.  Apparently I did not have enough
processing power and it was not helping me get work done.
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Can a browser based application write to files on a local hard disk?

2008-01-28 Thread Lloyd Kvam
On Mon, 2008-01-28 at 10:57 -0500, Alex Hewitt wrote:
> Scenario: Need a web application which collects user data that needs to
> be stored on the user's local hard disk. Which tools can do this?
cookies
macromedia-flash local storage (no experience using it)
explicit download/upload

You probably want to sign the data so that you can detect tampering.

If you come up with a good solution, Please let us know.

> 
> I know that web site based applications are usually prevented from
> writing to the user's local hard disk but I would prefer that any user
> data be kept local to the user rather than stored on my web site. The
> reasons are obvious - I don't want to be responsible for the user's data
> and I'd like to be able to say "We don't have access to your private
> information because we don't store it on our web site".

Personally I'd like explicit files.  People would know when data was
transferred and the browser could facilitate the processing.  I'm not
sure if that would actually work for most people.

A few years back I discovered that Firefox supported MIME multi-part
downloads.  I abandoned mulitparts when IE did not work.

> 
> Ideas?
> 
> -Alex
> 
> 
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Small business backups solutions?

2008-02-05 Thread Lloyd Kvam

On Tue, 2008-02-05 at 12:16 -0500, Kenny Lussier wrote:
> Well, the problem with disk to disk in general is that the space is
> finite.

I think a second problem with backing up to disk is that it's generally
on-site and vulnerable to fires and other threats to the original data.
If you have the bandwidth to backup to remote disks, then you might
choose to live with the finite disk space.  Otherwise I think you need
backup media that can be stored off-site.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Small business backups solutions?

2008-02-05 Thread Lloyd Kvam
On Tue, 2008-02-05 at 15:24 -0500, Ben Scott wrote:
> It's fairly simple to implement a multi-tiered rotation.  The most
> common scenario: Backup everything in full every night.  Have daily
> tapes for Mon, Tue, Wed, and Thr.  Have weekly tapes for Week2, Week3,
> Week4, Week5, that get used on Fridays.  Have monthly tapes (Jan, Feb,
> ..., Dec) that get used on the first Friday of each month.  This gives
> you automatic adaptive granularity -- more backups of more recent
> changes, fewer of older data.  This tends to fit well with most data
> loss scenarios.

An alternative to tiering the tapes, is to tier data to disk.  The
packages rdiff-backup and dirvish provide for date-layered backups on
disk.  dirvish uses hardlinks to avoid multiple copies.  rdiff saves
deltas to regenerate files to a point in time.  Lost files are easily
restored from rdiff or dirvish.  Then amanda can be used to write tapes
for off site storage.  Getting amanda to tier your tapes is probably not
worth the effort.  Use backup disks rather than tapes if you prefer.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Small business backups solutions?

2008-02-07 Thread Lloyd Kvam
On Wed, 2008-02-06 at 20:16 -0500, Ben Scott wrote:
> and smart people do a full read-back-compare to
> verify after writing

Don't the DDS-4 drives (and other quality drives) automatically read and
compare when writing.  There are separate read and write heads which
allows write errors to be detected immediately.  

The cheap Travan drives do not check when writing.  There's only one
head.

I've assumed that a verification pass was only essential with single
head drives.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: (Off Topic) Windoze spam and corruption

2008-02-11 Thread Lloyd Kvam

On Mon, 2008-02-11 at 10:16 -0500, Ben Scott wrote:
(I agree with Ben, but am adding a little commentary.)
> On Feb 11, 2008 8:55 AM,  <[EMAIL PROTECTED]> wrote:
> > I have a Win XP machine that is terribly infested (Ugh!)

>   The only way to say for sure is to boot from trusted media and run
> your investigations from there.
> 

I've had some success over the years with Knoppix and now Fedora Live
CD's.  You'll need enough ram to update the virus scanning software and
signature files and will need to enable write access to the Windows
filesystem.

The last time someone brought me a problem Windows box, its scans
pronounced it clean, but monitoring the network showed lots of
extraneous traffic.

Clam flagged the swap file (pagefile.sys), among others (which the
windows scan had also reported and cleaned).  After removing the swap
file and scrubbing the other files, the system booted cleanly in Windows
and no problem traffic was detected on the network.

> > While my last and most effective option is to wipe drive and
> reinstall
> > Windoze, ...
> 
>   I'd argue your last and most effective option is to wipe the drive
> and install Linux.  I'm not being a wise-guy, either.  Generally
> speaking, there are satisfactory solutions for most of the "But I need
> Windows ..." objections, and Linux can make one's life a lot better.
> Big companies have to worry about all sorts of inertia, but
> single-users can often switch easily.
> 
>   This group is full of people eager to help with such endevors.

A couple of years ago when my daughter complained about having her
computer infested yet again, she finally agreed to try Linux.  That's
worked OK.  It took a while to get the media stuff working to her
satisfaction (watching DVD's, playing MP3 files, etc.), stuff I'd never
been terribly concerned about.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


(cross-posted) added Bare Bones Project Management to the library

2008-02-12 Thread Lloyd Kvam
This is a 50 page booklet meant to teach the essentials of project management.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [Python-talk] Notes from PySIG, 28-Feb-2009

2008-02-29 Thread Lloyd Kvam

On Fri, 2008-02-29 at 10:39 -0500, Ted Roche wrote:
> Eleven hearty souls braved the wind chills last night to attend the 
> monthly meeting of the New Hampshire Python Special Interest Group,
> held as usual on the fourth Thursday of the month at the Amoskeag
> Business Incubator in Manchester.

I talked about a "gotcha" where I tried to define __iter__ as a
classmethod.  When using SQLAlchemy it is often handy to define
classmethods which will act as constructors for the object instances
that reflect the database records.  These constructors often return
iterable query results.  I was planning to have __iter__ run a query
that would iterate through all of the records.

Unfortunately
for record in Myclass:
print record.name
...
does not work.  python will try to find an __iter__ method in the parent
metaclass and fail.  Implicit references to magic methodnames (__xxx__)
that *are classmethods* resolve to the parent metaclass.

Kent pointed out that
for record in Myclass.__iter__():
will work and also provided a simple metaclass workaround.

On reflection, I think that the notion of making __iter__ a classmethod
is a mistake.  It preempts the possibility of an iterator for an
instance.  Providing a name (i.e. all) and coding
for record in Myclass.all():
makes more sense.  I was getting carried away with cuteness.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


<    1   2   3   4   5   >