Re: Certain distros not booting?

2005-09-16 Thread Lloyd Kvam
Do you think it could be drive specific?  Either the drive or the media
are out of spec?  Can the drive really read the problem CDs?

dd if=/dev/hdc of=/dev/null count=200

This should report an error if there is a problem reading the media.  If
this works, then the CD is getting read and I do not know what to
suggest.

On Fri, 2005-09-16 at 10:09 -0400, Cole Tuininga wrote:
 Hi all - I have a little bit of an odd situation I was hoping somebody
 might be able to shed some light on.
 
 Somebody has asked me to take a machine with a 300+GB hard drive, and
 install 5 or 6 different distributions of linux on it for them.  The
 idea is that they want to play with the different version for a while
 before picking one.
 
 The hard drive is the master on IDE0, and the CD drive is the master on
 IDE1.
 
 Here's the odd part.
 
 Certain distributions' install CDs won't boot.  I can boot Ubuntu (both
 live and install CDs), I can boot Knoppix, but I cannot boot either
 Fedora Core 4 or CentOS 4.1.  When I put them in, the boot process just
 acts as though there isn't even a CD in the drive.  
 
 I'm reasonably certain that both CDs are good - I used them just a
 couple days ago.  
 
 It's not boot order in the BIOS - I have that set to use the CD drive
 first.
 
 Anybody have any thoughts?  I'm more than happy to provide any required
 information that I didn't post here...
 
-- 
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-talk] Python meeting - next week! 7:00 PM Thursday 22 September, Manchester

2005-09-17 Thread Lloyd Kvam
Fred,

If you want to, feel free to bring some examples to talk about.


On Sat, 2005-09-17 at 13:34 -0400, Bill Sconce wrote:
 On Sat, 17 Sep 2005 02:41:31 -0400
 Fred [EMAIL PROTECTED] wrote:
 
  I could accomplish in one or two lines with the lambda function
  what would normally take me 10-20 lines procedurally. 
 
 Let's see now, that's clickety..clickety 10 to 1 or so.  10-20
 lines are harder to read by about that much too.  (IF someone can
 show us that lambda is easy to read as well as to write!)
 
 That would be Fred, right?  HE could show us...   (*)
 
 -Bill
 
 (*) Hoping, of course, that Fred will come to the meeting!
 ___
 Python-talk mailing list
 [EMAIL PROTECTED]
 http://dlslug.org/mailman/listinfo/python-talk
-- 
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: Can TWiki URLs be made to suck less?

2005-09-28 Thread Lloyd Kvam
VirtualHost *:80

  ServerName forum.venix.com
  ProxyRequests Off
  ProxyPass / http://localhost:9080/
  ProxyPassReverse / http://localhost:9080/

/VirtualHost
IfModule mod_cache.c
  CacheDisable forum.venix.com
/IfModule

This is my apache 2.0 config to use apache as a proxy for a different
web service (snakelets).  Does Twiki run separately or is it running
within Apache?

This sample config works when I have the other process running and
listening at 9080, though usually it is off.  I have not set it up as a
regular service.

On Mon, 2005-09-26 at 22:50 -0400, Ben Scott wrote:
 This is one of those minor nits that start to really irritate one
 after awhile: TWiki URLs suck.  They're impossible to transcribe by
 hand, they're long, they're ugly, they frequently get mangled, etc.
 
 Does anyone know of an easy way to make TWiki URLs not suck?
 
 For example, take this URL:
 
 http://wiki.gnhlug.org/twiki2/bin/view/Www/RegularSchedule
 
 Blech!  Ideally, I would like it to be:
 
 http://wiki.gnhlug.org/RegularSchedule
 
 Anyone know if this is easily possible?  A cursory check of the TWiki
 docs found nothing, and Google finds tons of the wrong info.  I
 suspect this might actually be more of an Apache question then a TWiki
 question.
 
 The problem may be complicated by the fact that TWiki adds things to
 the URLs to do more things, such as:
 
 http://wiki.gnhlug.org/twiki2/bin/oops/Www/RegularSchedule?template=oopsmoreparam1=1.2param2=1.2
 
 I don't really care about those (they're for the computer, not
 people), but we can't break those when we improve the regualar URLs.
 
 Anyone have any ideas?
 
 advTHANKSance,
 ___
 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: Any suggestion for Forum/Bulletin Board software

2005-10-29 Thread Lloyd Kvam
http://forum.howsyourhealth.org

This was done by adapting frog a python-based blog program.  See if it
fits your needs.  It's a free down load.

On Fri, 2005-10-28 at 23:23 -0400, Greg Rundlett wrote:
 On 10/28/05, Bill Horne [EMAIL PROTECTED] wrote:
  Dave Peters wrote:
 
  Hello all,
  
  Any suggestion for Forum/bulletin Board software for
  Linux?
  
  Thanks.
  
  --D
  
  
  
  Dave,
 
  I recommend phpBB2: for a working example, visit
  http://www.troop95.net/phpBB2/.
 
 If PHP is your fancy, I would recommend FUDForum over phpBB.
 (http://fudforum.org/forum/)  The main developer Ilya Ashalnetsky is a
 big code contributor to the PHP language.
 
 - Greg
 ___
 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: [Python-talk] PySIG Thursday!

2006-01-23 Thread Lloyd Kvam
On Mon, 2006-01-23 at 15:42 -0500, Bill Sconce wrote:
   o  Lloyd (who, knowing Something(*) about decorators, has kindly
 consented
  to give us a kickstart course, centering on how decorators are a
 better
  way to do what property() used to be necessary for.)
 (*) knwoing something  ... == actually having used 'em

This does tie in as a reasonable followup to functional programming.

However, as I told Bill, when it comes to decorators, I have simply used
decorators in contexts where I've seen examples of others using them.

-- 
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: Connection Reset By Peer on ssh sessions

2006-02-04 Thread Lloyd Kvam
On Sat, 2006-02-04 at 09:36 -0500, Fred wrote:
 I've got an annoying problem with the new Verizon Fios service.
 
 If I leave an ssh session open and sits idle for longer than 2-5
 minutes, it 
 is killed with a Connection Reset by Peer error message.
 
I've seen this kind of behavior where there is a stateful, inspection
firewall processing packets, though never with a timeout this small.
When the firewall dropped the connection info from its state tables, any
subsequent packets would be mangled and unacceptable to the remote end
which would then close the connection - generating the Connection Reset
by Peer message at the local end.

I ran tcpdump at both endpoints to document what was happening.  The
firewall managers were unwilling to make any changes.

I do not know if you will be able to get Verizon to do anything to fix
the problem.  At least ssh has a keep-alive feature that should be
somewhat configurable.  Hopefully you can send a keep-alive packet every
2 minutes.

-- 
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: DLSLUG Library: new Right of Return model

2006-02-07 Thread Lloyd Kvam
On Fri, 2005-12-02 at 23:10 -0500, Greg Rundlett wrote:
 On 12/2/05, Bill McGonigle [EMAIL PROTECTED] wrote:
  The DLSLUG library:
 
 http://dlslug.org/library.html
 
 In terms of maintaining such a library, I have a couple of
 recommendations.
 
 The first is that 'librarything' is a really cool site that makes it
 ridiculously easy to add a book to your 'bookshelf', and offers a
 graphical view as well as a list view.
 
 See my librarything bookshelf for example:
 http://www.librarything.com/catalog.php?view=freephile
 
 GNHLUG could create a general 'user' account there for the purpose of
 maintaining an online card catalog of what's in the library.
 

http://www.librarything.com/catalog.php?view=dlslug
Now lists all of our new (unused) books.  Bill dropped off two new
titles:

Point  Click OpenOffice.org!
Linux Patch Management

This prompted me to start following Greg's advice to use librarything.
I will be happy to provide the library thing password to anyone who
wants it and is unable to guess it.  While the password is not so basic
as simply 'dlslug' or 'password', I think it should be fairly easy for
folks in this group to remember.

-- 
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: Microsoft Says Recovery from Malware Becoming Impossible

2006-04-20 Thread Lloyd Kvam
On Wed, 2006-04-19 at 17:05 -0400, Ben Scott wrote:
 On 4/19/06, Python [EMAIL PROTECTED] wrote:
  Sorry to keep beating the dead horse, but generally, the Linux reinstall
  is more painless ...
 
   I don't know about that.  Our Windows installs aren't really all
 that different from a Red Hat KickStart install.  Hit F12 during boot,
 boot into RIS, start install over network, a little bit later, you're
 done.  Of course, I know what I'm doing and have invested in the time
 and tools to make Windows operate properly.  But I've seen clueless
 Linux admins before, too.
 
   The cost of a reinstall is generally all the post-OS-install,
 application-specific configuration that has to be done, anyway.  Our
 crappy ERP system is hard to automate.  I've encountered the same on
 nix, too.  Ask the list about installing Oracle some time :)
 
  ... unless you are dealing with pre-built system images and
  have kept the image archives up-to-date.
 
   There are other ways to do automated Windows installs besides than
 via Ghost-style hard disk images.  Like RIS, above.
 
   Most of the system will have come from the distributor (e.g. Redhat) ...
 
   Oh, really?  When did that law get passed?  :)  I've had plenty of
 nix installations where the critical software most especially did
 *not* come from the distribution.

But I think that is changing.  My Fedora 3 system has about 20 manually
installed packages.  My Fedora 5 has 1.  Most of that is due to greater
package availability in the repositories.  Even a limited sysadmin like
me can look like a pro when
yum install whatever-package-you-want
does all of the heavy lifting and all that's left is to specify the
config details that fit my operation.

 
  There should be relatively little rummaging around for installation
  media.
 
   The big time cost is not looking for CDs.

You're probably better organized at keeping install media, updates,
software unlock codes and the like in their proper places.  I love that
I can pretty much ignore all of that now.

 
  This recent advice on theregister looks like a good approach for future
  system setups.  Perhaps some of the savvy folks on this list are already
  doing this.
  http://www.theregister.com/2006/04/13/virtual_security/
 
   Virtualization is a valid technique, but a second ago you were
 saying about the difficulty of keeping pre-built images of a single
 system.  How is keeping images of multiple virtual systems easier? 
 :-)

I only manage three systems: laptop, desktop/development/test-server,
production-server.  I am not really fluent in all of the roll-out and
management techniques, so please feel free to set me straight.
Kickstarts appear to be a one-way street.  I don't know of a way to
generate a kickstart file from a working system.  Maybe that's trivial,
but a quick google only found push-style automation.  That works so long
as no packages are installed directly bypassing the kickstart data flow.

The virtualization docs, if I am reading them correctly, seem to promise
the ability to create system images based on the working install.  That
suggests automatically creating and saving snapshots for recovery
purposes.  That would allow for ad hoc package installs and updates
while still having reliable system images for recovery.  Data recovery
would be separate, but that's already getting handled OK at least in
most operations.

 
 -- Ben
 

-- 
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: Dealing with multiple layers of routers

2006-06-07 Thread Lloyd Kvam
On Wed, 2006-06-07 at 12:09 -0400, Bill Freeman wrote:
 Where I'm working we have a Netgear router attached to the DSL modem,
 to which all the wired users are connected, with NAT and DHCP serving
 up 192.168.0.xxx addresses.
 
 One of the things wired to the Netgear is the internet port of a
 Linksys wireless-G router (probably too new to install Linux on it),
 which serves up a wireless network on 192.168.1.xxx.
 
 This works pretty well.  Everyone can get to the internet.  The local
 print server/disk server is on the wired network, so everyone can use
 it.  Folks on the wired network can access services running on wired
 machines.
 
 But, of course, folks on the wired network can't access services on
 machines connected to the Linksys (even using a wired connection to
 it).  The trouble is that we would like to offer the latest development
 version of our web app running on our wireless development machines to
 the marketing folks on the wired network.
 
 Sure, it's easy to configure a particular port accessed at the internet
 port of the Linksys to go to a specific machine on the wireless network,
 but we would like to have multiple marketing folks able to access multiple
 developer's machine's servers.  And we don't want to re-configure the
 router everytime we want to change who serves what.  And spur of the
 moment instigation of an ssh session from a marketing machine to a specific
 developer machine is desired.
 
 I think that what I need to do is disable NAT and firewall on the Linksys.
 (We would still be protected from the internet by the firewall in the
 Netgear.)  If that's possible.  

Sounds good to me.

 Then would I be able to configure the
 Netgear's DHCP server to tell the wired folks to route to 192.168.1 via
 the IP that the Linksys has on the 192.168.0 network?  Or woould it be
 possible to hide the static route from 192.168.0 to 192.168.1 entirely
 in the Netgear's internal routing rules?  

I would expect this to work.  The netgear router is the default for
everyone in 192.168.0.0/24.  The netgear knows to reach 192.168.1.0/24
via 192.168.0.xxx - the linksys ip address on the 192.168.0.0 sub net
from the internal entry.

I lent out my linksys router, so I can not test this - I do not have a
production system at risk here so I could test with impunity.

Presumably you are controlling the DHCP assignments so that your Name
Server knows how to resolve names to numbers and DNS is not tied into
those routers.

 (The wireless folks already
 go to the Linksys for routing to 192.168.0, since it's not within their
 local network's netmask.)  Or am I likely to have to hand configure all
 the wired guys with a static route to 192.168.1?
 
 Or I guess I might be able to connect the routers via downstream ports on
 both, using a cross over cable.  Then I either need to disable DHCP on
 the Linksys (that I'm sure that I can do), or arrange for both DHCP servers
 to specify a 255.255.254.0 netmask, and the Netgear as the router to the
 internet.  (I'd actually like to keep the wireless guys with 192.168.1
 addresses and the wired guys with 192.168.0 addesses, but this is a much
 softer requirement.)
 
 I'd appreciate comments and (some of the) suggestions.
 
 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


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/1527838book=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=1model=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
 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/340301book=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/pid/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: 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/


(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: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-5cat=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/


Time Management

2008-02-29 Thread Lloyd Kvam
The book
Time Management for System Administrators
is back on the shelves.  The last borrower was so impressed, he bought a
copy for himself.

Browse the catalog and let me know if you want me to bring a book to a
meeting.  Ted has volunteered to act as a book courier, so even if you
don't attend a meeting that I go to, we can probably arrange delivery
through Ted.

-- 
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: AD Authentication?

2008-03-04 Thread Lloyd Kvam
We have at least two Samba books in the library that look like they
would be useful for this.  (library links are below)

On Tue, 2008-03-04 at 08:38 -0500, Kenny Lussier wrote:
 Hi all,
 
 Does anyone know of any recent, good docs on using a Windows Active
 Directory server to authenticate Linux desktops? I am currently
 working in a place that has a Windows infrastructure (AD, Exchange,
 etc.), but we need to be able to use the existing central
 authentication for a new fleet of Linux desktops. Most of the docs
 that I found were circa 2002, and they all required patching the AD
 server, and installing software on the Windows side to allow different
 schemas.
 
 TIA,
 Kenny
 ___
 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: server uptime

2008-03-21 Thread Lloyd Kvam

On Fri, 2008-03-21 at 20:26 -0400, Mark Komarinski wrote:
 Bill McGonigle wrote:
  It's also connected naked to the Internet for remote monitoring.
 
  For some strange reason, you'd just accept this.

 Venturing even further off-topic, I have two different labs that wrote 
 code without really consulting anyone else.  One thought it would save a 
 lot of time if their fat client application connected directly to Oracle 
 from anywhere on the Internet.  The other thought it would be a good 
 idea to do the same with MySQL.  The Oracle group we didn't have much 
 luck with and they're stuck using SSH port forwarding.  The MySQL group 
 seems to be a bit more receptive and they may change their application 
 to go through a web service instead.

I'm not arguing against the web service approach.  However, you can use
SSL certificates to control (and encrypt) MySQL access.  That offers
reasonable security at the cost of yet another thing to configure and
worry about.

 
 I keep hoping that bioinformatics courses include even a week or two on 
 'sane coding practices', but I doubt it will happen...
 
 -Mark
 ___
 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: gnuplot woes

2008-04-08 Thread Lloyd Kvam

On Tue, 2008-04-08 at 11:52 -0400, Labitt, Bruce wrote:
 I tried installing via
 compilation and have run into a couple of issues.

If you can get the packages via yum, your life will be much simpler.  I
would have expected numpy and ScientificPython to be available through
yum.  

If you need to compile, you will probably need to install various
X-devel (X-dev) packages to provide header files for the compilation.


-- 
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: gnuplot woes

2008-04-08 Thread Lloyd Kvam

On Tue, 2008-04-08 at 11:52 -0400, Labitt, Bruce wrote:
 I'm trying to install gnuplot on a Centos box.

gnuplot is available for fedora8 as a package.  I'm pretty cautious
about using the outside repositories, so I assume it came from the
fedora project repository.

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


Off-topic - Mounting multiple USB sticks on Win XP

2008-04-08 Thread Lloyd Kvam
A neighbor asked for help with mounting his USB sticks.  He has
directories mapped to drive letters D,E, and F to mimic partitions from
the days when Windows could not handle large partitions gracefully.
When a USB stick got inserted, it grabbed the D drive letter fouling up
his software.

I helped him find 
Control Panel/Admin Tools/Manage Computer/Storage/Drives
and changed the USB drive to U.  This seemed to work OK.  It also
appears to mark the drive letter on the device rather than configuring
the system to start lettering from U.

However, it turns out he has two USB sticks he uses for backup and data
transport.  He mapped the second one to V.  When both USB sticks are
mounted at the same time, only one stick gets a drive letter.  The other
stick is unlettered and unavailable unless he goes through the control
panel to manually assign a drive letter.

Is this normal Windows behavior?  Is there a simple way to force drive
letter assignments on USB sticks?  Can you mount two at once?

(My winNT box does not support USB so I can't do much research myself.)
Thanks for any pointers.

-- 
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: YAQ Setting up vncviewer

2008-04-08 Thread Lloyd Kvam
On Tue, 2008-04-08 at 16:29 -0400, Labitt, Bruce wrote:
 I'd like to vnc from my centos4.5 box (so far) to a ps3 running YDL6.
 I can ssh from centos to ydl without a problem.

I normally tunnel my vnc connections through ssh

vncviewer -via laptop localhost:1

allows me to access my laptop from my desktop without opening any extra
firewall holes.  Unless you really want/need a direct vnc connection,
this might be preferable.

-- 
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: Spam and extra MX records + cool dual-db setup

2008-04-18 Thread Lloyd Kvam

On Fri, 2008-04-18 at 09:38 -0400, Neil Joseph Schelly wrote:
 I've resolved the performance problems with a 
 really cool dual-db setup I came up with that's giving me awesome 
 performance.

That piques my interest.  Is it an update server replicating to a
reporting server or something more exciting?

-- 
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: Spam and extra MX records + cool dual-db setup

2008-04-21 Thread Lloyd Kvam

On Mon, 2008-04-21 at 10:24 -0400, Neil Joseph Schelly wrote:
 On Saturday 19 April 2008 07:44, Lloyd Kvam wrote:
  Was there any reason for not using the MySQL replication feature to copy
  from the writeable database to the read-only database?
 
  I rely on replication mostly for off-site backup, but I've read of
  people splitting databases as you have done for performance reasons.
 
 I imagine a workable solution could be made, but I've only setup replication 
 between multiple boxes, not multiple databases on the same box.  I'm not even 
 sure that's a supported configuration for replication - not sure how you'd do 
 it.  

I've done it by specifying host and port for the master.

 And any real-time replication would probably face the same locking 
 problems.  If you just restricted replication to play catchup at regular 
 intervals and then you'd still want to disable the Bayesian filtering at 
 those times before doing the replication, because it would hang up matters.

The replication stream is handled at a low priority, but I am not going
to argue against your decision.

 
 One problem I did run into was that the binlogs filled up fast.  After only a 
 few hours of a full load of traffic, the binary logs had filled up several 
 gigabytes of space.  The MySQL traffic is an overwhelmming percentage of 
 INSERT statements: 
 http://jenandneil.com/sites/jenandneil.com/files/sf00.dc0.oasis-open.net-mysql_queries-week.png
 
 In my original partitioning, this was especially a problem since those, the 
 databases themselves, the logs, the Exim queueing and spooling and tmp space, 
 etc were all on one partition for /var.  I've broken it up some to get some 
 isolation, but it's still just one physical disk.  The IO of keeping up a 
 binlog with everything else happening would result it more IO overhead than I 
 want to spend on replication.

OK.  Thanks very much for taking the time to explain.  That is very
convincing and enlightening.  The IO is even worse than you outlined: 

binlog, relaylog, replicated table.

 
 I would venture that the computing effort required to replicate all the 
 queries that happen in a few hours time would be far more costly than the 
 couple-of-minutes spent re-duplicating the database.
 -N
-- 
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/


NSA linux configuration guidance

2008-05-02 Thread Lloyd Kvam
This morning I came across a link to this document:
http://www.nsa.gov/snac/os/redhat/rhel5-guide-i731.pdf
170 page PDF

While the focus is Redhat Enterprise, much of the advice is generic
Linux.  I found it clearly written with lists of configuration commands
that can be applied fairly easily.

The document is from December, 2007, but I do not recall seeing any
pointers here on the list.

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


new books in library

2008-05-02 Thread Lloyd Kvam
We've added
Fedora 2008 Edition
Essential Linux Device Drivers

Use the links below for details.

-- 
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: Fwd: Brute-Force SSH Server Attacks Surge -- InformationWeek

2008-05-15 Thread Lloyd Kvam

On Thu, 2008-05-15 at 09:47 -0400, Bob King wrote:
 I always thought that disabling root access via ssh is a good idea,
 but reading this I would assume it would be a good idea to just
 deactivate password access via ssh all together and limit access to
 systems with keys known to the host. Moving the sshd to a non-standard
 port would be another move, but would that stop more than the most
 basic tools?
 
 I would be interested in hearing recommendations from other folks on
 the list.

I stuck with the standard port 22 simply to keep coordination with
others simpler.  Passwords are disabled.  If I am involved with a
project that requires giving others server access, they *must* give me a
public key to obtain access.

This also provides a chance to showcase tools like rsync and sshfs which
are surprisingly unknown in the windows world.

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


new library books

2008-06-06 Thread Lloyd Kvam
http://www.librarything.com/rsshtml/recent/dlslug

We have quite a few Ruby books now.  David Berube has been busy.

My reaction to Refactoring HTML was: that sounds silly.  The book
actually appears to be pretty good.  A how-to about about migrating to
XHTML and fixing your web applications.

If Lebanon is out of the way, get in touch with me and we'll figure out
how to get the book(s) into your hands.


Refactoring HTML: Improving the Design of Existing Web Applications (The
Addison-Wesley Signature Series) by Elliotte Rusty Harold

RailsSpace Ruby on Rails Tutorial (Video Training) (LiveLessons) by
Aurelius Prochazka

Practical Ruby Gems by David Berube

Practical Reporting with Ruby and Rails (Expert's Voice in Open Source)
by David Berube

Implementing ITIL Configuration Management by Larry Klosterboer

Implementation Patterns (The Addison-Wesley Signature Series) by Kent
Beck

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html

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


Re: High-Level Audio Editing Language?

2008-06-26 Thread Lloyd Kvam

On Thu, 2008-06-26 at 15:41 -0400, Drew Van Zandt wrote:
 (That should in no way be construed as dislike of Python; it's
 language bigotry that is foolish.  Python is unlikely to be the best
 language ever written, 10,000 years from now.)

It is probably not the best language ever written even today.  On the
other hand, I'm pretty happy with Python.  One other nice aspect of
Python is that the language designers are eager to borrow good ideas
from other languages.  With any luck it will continue to absorb other
ideas and minimize the number of new tricks that this old dog has to
learn.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html

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


Re: Netgear now touting open source WRT-compatible wireless router

2008-07-04 Thread Lloyd Kvam

On Thu, 2008-07-03 at 20:39 -0400, Bill McGonigle wrote:
 On Jul 3, 2008, at 13:04, Bill McGonigle wrote:
 
  Say, if anybody's seen a small (vs. a standard PC stuffed full of PCI
  cards) a/b/g/n unit that can handle the openwrt-ish open firmwares,
  please let me know.  Apparently, since the Aussies shut down Buffalo
  in patent court they don't exist.
 
 
 To half-answer my own question, Linksys came out with a new model in  
 the past few days:
http://www.newegg.com/Product/Product.aspx?Item=N82E16833124296
 
 which satisfies most of my criteria.  The DD-WRT guys have been  
 working on getting dual-band and wide-channels working on a previous  
 rev., so it's not quite free yet, but my guess is it will be.
 
 USB and GigE too; neat.

Hopefully that is true.  The port line in the specs says
Ports 1 x 10/100M WAN; 4 x 10/100M LAN
but that is contradicted down in the features blurb where it says all
ports support gigabit speeds.

 
 -Bill
 
 -
 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
 Blog: http://blog.bfccomputing.com/
 VCard: http://bfccomputing.com/vcard/bill.vcf
 
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Gentleman, you have come sixty days too late. The depression is over.
- Herbert Hoover, responding to a delegation requesting a public works 
  program to help speed the recovery, June 1930 

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/


  1   2   3   4   5   >