Re: diff question

2012-10-22 Thread Joseph Sinclair
I assume what you really want is to ignore all comment lines completely (not 
just changes to comment lines).
Diff won't do this directly, but that's what [named] pipes are for :)

try this:
diff (grep -v '^//' file1) (grep -v '^//' file2)

On 10/22/2012 01:59 PM, Eric Cope wrote:
 Hi all,
 I am trying to diff between two sets of files. I want to ignore comments
 (lines that start with //).
 I've tried
 
- diff -I // file1 file2
- diff -I \/\/ file1 file2
- diff -I //.* file1 file2
 
 among others. Has anyone successfully used diff and its ignore option?
 
 Thanks,
 Eric
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: mk802, g-82

2012-10-20 Thread Joseph Sinclair
Inline:

On 10/19/2012 11:16 PM, der.hans wrote:
 Am 19. Oct, 2012 schwätzte Joseph Sinclair so:
 
SNIP
 MHL means one remote controls both TV and the plugin device? Do you have
 to switch back in forth like TV/Sat/DVD/AUX or can you just change
 channels or change volume and the correct thing happens?
With the MHL connection, the device has no remote control of it's own, 
everything is controlled by the host device; that includes volume.

 
 Finally found a video showing a remote with a TV to control a phone over
 MHL.
 
 http://www.youtube.com/watch?v=SmuvzfkyP78
 
 I don't see him changing volume, but I would think the TV could be kept at
 constant volume and changing the phone volume would be sufficient.
No, The phone volume has no effect as the output stream is a straight digital 
content stream.  The TV controls volume.

 
 What about for the roku stick?
Same, the TV does volume, the stick just provides an A/V data stream.

 
 What about integration with an OTA receiver? Can Roku handle that as a
 channel?
No, He would switch to (e.g.) HDMI-3 for the Roku, and HDMI-1 for the OTA.  
Most TV remotes can make this a single button for each source.

 
 I need simple. While the person is intelligent, whatever I set up might be
 a brand new interface to learn multiple times a day on the bad days.
Simple is good, and I have gotten some absolutely technophobic persons to use 
Roku just fine (as long as I turn on the system; I have a complex turn-on 
sequence due to having 5 non-integrated devices, something you'll want to 
avoid), and switching (via single-button) from Roku to OTA is not a problem 
when I provide a small instruction sheet (3 sentences [for Watch TV, Watch 
Movies, Turn Off], fits on a 3X5 in 16pt Courier).

I should mention that some of the newer Smart TV sets have built-in streaming 
video capability (including viewing any DLNA content on the local net), and 
that can be made fairly simple to use as well with a bit of remote-control 
programming.

 
 ciao,
 
 der.hans
SNIP



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: usage tracking

2012-10-20 Thread Joseph Sinclair
iptables can do traffic accounting (I think Lisa gave some good pointers 
there), but you might also want to *control* the bandwidth usage (say throttle 
to a low speed when you get over 80% of your limit, or block YouTube after it 
consumes XX% of the limit).
For that the tc utility may be used to manage the IP traffic control features 
of the Linux kernel on your gateway box.
TC is fairly complicated (unless you read about traffic queuing disciplines for 
fun), and the only GUI tool I know of, ktctool(http://ktctool.berlios.de/) is a 
bit old; last updated in 2006.
You might be able to find a few other ui options with some careful google 
searching (rather high junk ratio in a couple test searches I did).

On 10/20/2012 08:38 AM, Derek Trotter wrote:
 My ISP imposes a monthly quota.  If the total amount of data I download and 
 upload exceeds that quota I get billed extra. Everything I send or receive 
 passes through my full time linux box. Is there something I can install on it 
 that would monitor and log how much data passes through eth0?
 
 thanks



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: mk802, g-82

2012-10-20 Thread Joseph Sinclair
The Roku Stick, and many phones, use MHL-compatible ports; CEC is the 
remote-control interface for MHL, but it's the MHL port that is required for a 
Roku stick.
As far as I can tell, all MHL compatible host devices (e.g. TVs) also support 
CEC.

On 10/20/2012 10:34 AM, Brian Cluff wrote:
 I think you mean CEC (Consumer Electronics Control) compatible TV instead of 
 MHL (Mobile High-Definition Link) which is the interface to convert the USB 
 on your phone into an HDMI port that understands CEC.
 In that video they are actually demonstrating CEC when they are showing off 
 the remove controlling the phone.
 
 http://en.wikipedia.org/wiki/Mobile_High-Definition_Link
 
 http://en.wikipedia.org/wiki/Consumer_Electronics_Control#CEC
 
 Brian Cluff
 
 On 10/20/2012 10:03 AM, Joseph Sinclair wrote:
 Inline:

 On 10/19/2012 11:16 PM, der.hans wrote:
 Am 19. Oct, 2012 schw�tzte Joseph Sinclair so:

 SNIP
 MHL means one remote controls both TV and the plugin device? Do you have
 to switch back in forth like TV/Sat/DVD/AUX or can you just change
 channels or change volume and the correct thing happens?
 With the MHL connection, the device has no remote control of it's own, 
 everything is controlled by the host device; that includes volume.


 Finally found a video showing a remote with a TV to control a phone over
 MHL.

 http://www.youtube.com/watch?v=SmuvzfkyP78

 I don't see him changing volume, but I would think the TV could be kept at
 constant volume and changing the phone volume would be sufficient.
 No, The phone volume has no effect as the output stream is a straight 
 digital content stream.  The TV controls volume.


 What about for the roku stick?
 Same, the TV does volume, the stick just provides an A/V data stream.


 What about integration with an OTA receiver? Can Roku handle that as a
 channel?
 No, He would switch to (e.g.) HDMI-3 for the Roku, and HDMI-1 for the OTA.  
 Most TV remotes can make this a single button for each source.


 I need simple. While the person is intelligent, whatever I set up might be
 a brand new interface to learn multiple times a day on the bad days.
 Simple is good, and I have gotten some absolutely technophobic persons to 
 use Roku just fine (as long as I turn on the system; I have a complex 
 turn-on sequence due to having 5 non-integrated devices, something you'll 
 want to avoid), and switching (via single-button) from Roku to OTA is not a 
 problem when I provide a small instruction sheet (3 sentences [for Watch TV, 
 Watch Movies, Turn Off], fits on a 3X5 in 16pt Courier).

 I should mention that some of the newer Smart TV sets have built-in 
 streaming video capability (including viewing any DLNA content on the local 
 net), and that can be made fairly simple to use as well with a bit of 
 remote-control programming.


 ciao,

 der.hans
 SNIP



 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: mk802, g-82

2012-10-19 Thread Joseph Sinclair
I'll answer the 2160p question:
2160p is 4K UHD resolution (http://en.wikipedia.org/wiki/2160p).

This probably doesn't fit your preferences (particularly the load a distro 
part), but it doesn't get much simpler than a Roku stick 
(http://www.roku.com/streamingstick) if you have a TV with a MHL compatible 
HDMI port, and the remote is the TV's remote (also, there's a smartphone app).


On 10/18/2012 11:36 PM, der.hans wrote:
 moin moin,
 
 Brian had a mk802 at Stammtisch Tuesday. We've talked about it a few
 times.
 
 http://www.ovalelephant.com/p-2074-mk802-v2-curved-kangaroo-android-mini-pc-allwinner-a10-1gb-cpu-4gb-flash
 
 I found claims that another device is much better.
 
 http://www.ovalelephant.com/index.php?route=product/productproduct_id=2077
 
 Looks to me like dual-core and faster CPU is the advantage for the g-82.
 Same amount of memory, still a card slot, same ports.
 
 The spec listing there for the g-82 only lists 1080p, but it can do lower
 resolution stuff as well?
 
 What is 2160p? Is that going to 11?
 
 Aside from the toy potential, what I really need is a simplified media
 interface for an alzheimers patient. I need to be able to get over the air
 broadcast. I would like to have a picture gallery and a movie archive ( I
 can rip the person's DVDs elsewhere and just move the files ).
 
 I absolutely need a simple, single remote that will do the right thing for
 volume, channel changes, etc. completely transparently to the user. I
 don't need big buttons, but I suppose they don't hurt.
 
 http://www.bigbuttonremotes.com/remotes-tekpal.htm
 
 That might have to do, but I'd like to also be able to use a couple of
 menus.
 
 http://www.bigbuttonremotes.com/remotes-tekpartner.htm
 
 That one looks like it should launch missiles :).
 
 This one has promise.
 
 http://www.oneforall.com/us_US/product/67/oark02r
 
 If I can connect a cable modem, then that's a bonus. Video chat and remote
 sysadm are the reasons for wanting an Internet connection.
 
 Being able to load a normal distro isn't a requirement, but pretty close
 to being a requirement.
 
 ciao,
 
 der.hans



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: What benefit .png over .jpg?

2012-10-04 Thread Joseph Sinclair
TL;DR,
  If you just want to have an image you can view and you want a smaller file 
size, then use JPEG and don't edit it.
  If you want to edit the image or it's very small and speed of display is 
important, use PNG.

The two file formats are quite different:
PNG is *lossless* which means that you can edit, adjust, etc... the file 
without losing any image data.  It stores all of the data in compressed form, 
so it's larger, but everything from the original image is still present.
JPEG is *lossy* it actually discards around 90% of the image data, so you can't 
edit a JPEG without losing some of the image quality; by the third or fourth 
edit a JPEG gets pretty bad.  It also uses some fairly complex math to store 
and reconstruct the image, so it's much more computationally intensive to view 
a JPEG compared to a PNG.
The system (generally) uses PNG for thumbnails because (for small images) PNG 
is generally faster to create and faster to load due to less computation needed 
to compress/decompress data versus reconstructing an image from mathematical 
models.

Hopefully that helps clarify the differences.

On 10/04/2012 03:43 PM, j...@actionline.com wrote:
 What (if anything) is the benefit of .png image files over .jpg image files?
 
 I can't see any difference in image quality and .png files are 10 times
 (or more) bigger than .jpg files.
 
 Also, what is the reason or benefit of having hundreds of thumbnail .png
 images in the /home/username/.thumbnails directory?  Is there any reason
 not to delete all those?
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: What benefit .png over .jpg?

2012-10-04 Thread Joseph Sinclair
PNG addressed two problems with GIF.
1) GIF is an 8-bit format with an indexed color palette.  It's possible to do 
24-bit color by overlaying a red, green, and blue image mask, but it's not 
ideal.  PNG is true 24-bit color with better compression.
2) GIF was, for a time, covered by patents on it's LZW compression, held by 
UNISYS that limited it's use in many situations.  Those patents are expired in 
2003/2004 and there is no longer any patent encumbrance for GIF or LZW 
compression.

GIF has built-in support for animation, which PNG does not.  MNG provides 
animation of PNG images, and APNG provides a more recent alternative animation 
mechanism for PNG images that's easier to create but less efficient in 
compression.

I definitely agree that resolution matters most when printing.  A 1080p screen 
displays a 2 megapixel image, so more than that is not usually helpful for 
onscreen display (4 megapixel is fine for the rare 4K display).

I don't worry much about file size with 32G thumb drives and SD cards now 
common.  I figure 4,000 images (8 megapixel PNG) on a single thumb drive or SD 
card is more than enough storage for away-from-home use, and at home 2TB backup 
drives are pretty cheap these days.

BTW, typically 48 megapixel at 32-bit color (24 bits plus 8 bit alpha) is 
considered the minimum to match 35mm film.
The biggest remaining problem in digital is dynamic range (quality film is 
usually 3-5 stops, digital struggles to get 2).
The resolution difference isn't considered a big deal in most print 
publications (AZ highways is an exception, for good reason), so almost all 
professional photography is currently digital capture and workflow.


On 10/04/2012 05:29 PM, Derek Trotter wrote:
 Higher resolution allows for printing large pictures while maintaining 
 picture quality. A few years ago I saw an article in Arizona Highways showing 
 why they don't accept pictures in digital format. The had two photos of the 
 same tree. One taken on film and one taken with a digital camera at several 
 megapixels. Both looked equally as good. Then they blew up a small portion of 
 the image. The film version looked great. The digital version was obviously 
 of poor quality. The article went on to say what resolution was needed to 
 equal the quality of 35mm film. I forget the number, but it was way higher 
 than what was commonly available at the time.
 
 Someone please correct me if I'm wrong, but wasn't png developed in part 
 because of concerns about software patents relating to the gif format?
 
 On 10/4/2012 17:16, j...@actionline.com wrote:
 Thanks.  Very helpful explanation.  I've always used .jpg almost
 exclusively and never noticed any degradation when editing.

 Guess I'll have to re-learn everything I thought I knew ;)

 Never did understand the need for 3, 5, 8, 10 or larger megapixel cameras.

 I take all my snapshots at about 1/2 megapixel jpg and then crop and
 further resize everything down to about 1/4th the original size, and I
 can't tell any difference in image quality, even with a jeweler's loop.
 I've sometimes printed an original and a resized smaller version at Costco
 and asked people to tell me which is better, and I've never found anyone
 who could tell any difference.

 People send these 3-megapixel (and bigger) images to me all the time and
 they are really slow to load. So, I've always used imagemagick 'convert'
 to bulk resize everything to about 1-20th the original size and they all
 look the same to me.

 On a recent vacation, I took more than 1,000 snapshots and by resizing
 them, they all fit on a single CD with lots of room to spare. I also
 upload our travel pix to a web page for our family to view online and by
 reducing the image size, all the images load and display very quickly and
 beautifully online.  With 3+meg image files it would take 20 times more
 bandwidth and 20 times longer to load and display.

 So, I just don't understand the benefit of keeping snapshots in gigantic
 image file sizes.


 ---
 TL;DR,
If you just want to have an image you can view and you want a smaller
 file size, then use JPEG and don't edit it.
If you want to edit the image or it's very small and speed of display is
 important, use PNG.

 The two file formats are quite different:
 PNG is *lossless* which means that you can edit, adjust, etc... the file
 without losing any image data.  It stores all of the data in compressed
 form, so it's larger, but everything from the original image is still
 present.
 JPEG is *lossy* it actually discards around 90% of the image data, so you
 can't edit a JPEG without losing some of the image quality; by the third
 or fourth edit a JPEG gets pretty bad.  It also uses some fairly complex
 math to store and reconstruct the image, so it's much more computationally
 intensive to view a JPEG compared to a PNG.
 The system (generally) uses PNG for thumbnails because (for small images)
 PNG is generally faster to create and faster to load 

Re: OT: Google Voice question.

2012-09-13 Thread Joseph Sinclair
I think you misunderstand what Google Voice is.
1) It is NOT voicemail.  It has voicemail, but it's intended to function 
opposite to a voicemail service.
2) People should be calling your Google Voice number directly; it then forwards 
to (rings) one or more actual phones (home phone, cellphone, gmail, etc...) and 
redirects to voicemail if you don't pick up.

The idea is that you give everyone your Google Voice number, but not your home 
or cell number(s).  Then you can change home or cell service without impact to 
people who want to call you.
You also gain control options, such as setting some callers to only ring 
through on weekdays, or setting some callers to ring the home phone but not the 
cellphone.

So the reason it doesn't work the way you want is that your concept has it 
behind your normal phone; it's actually the reverse in that your normal phone 
is *behind* Google Voice.

Hopefully that helps make it clearer.

On 09/13/2012 01:28 PM, j...@actionline.com wrote:
 Google Voice is monumentally confusing (to me).  For longer than I care to
 admit, I have been trying to figure out how to get GV to work the way I
 want it to work.
 
 Our qwest home phone land line has call forward, don't answer set to
 forward to our Google Voice number after 2-to-3 rings, and I finally have
 Google Voice configured to go straight to voice-mail.  However, the
 problem is that after the land line number rings 2 or 3 times, Google
 Voice then rings another FIVE (5) times before GV voice-mail answers.
 
 I've searched the 'net but am unable to find any way to reduce the number
 of rings. Ideally, I'd like Google Voice voice-mail to answer immediately
 on the first ring (or even with no ring at all).
 
 Have any of you experienced this problem or found a solution?
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: OT: Google Voice question.

2012-09-13 Thread Joseph Sinclair
I understand what you want to do.  I was simply pointing out that if that's 
what you want then Google Voice is simply the wrong tool.
If you try to use a sports car to haul dirt, you might manage it but it would 
be a lot easier if you just use a truck.

If you want business voicemail, then there are many providers for exactly that; 
you seem to have found a way to shoehorn Google Voice into your use case, but I 
still suggest that you may find an actual business voice mail service to be far 
better at accomplishing your stated goals.

As you say, To each his own, I merely attempted to help you understand the 
fundamental limitations in the product (as part of it's designed purpose) that 
caused your frustration, in answer to your original question.

On 09/13/2012 05:46 PM, j...@actionline.com wrote:
 
 I think you misunderstand what Google Voice is.
 
 Is it wrong of me to want to use the many good features of Google Voice
 that I very much appreciate in the way that I want to use it (and keeping
 my 20-year established and widely published land line number as my
 primary, ring-first number)?  I do not want to go through the nuisance and
 annoyance of changing my primary, published telephone number everywhere.
 
 1) It is NOT voicemail. It has voicemail, but it's intended
 to function opposite to a voicemail service.
 
 To each his own.
 
 2) People should be calling your Google Voice number directly; it then
 forwards to (rings) one or more actual phones (home phone, cellphone,
 gmail, etc...) and redirects to voicemail if you don't pick up.
 
 That is just not what I need or want.
 
 The idea is that you give everyone your Google Voice number, but not your
 home or cell number(s).  Then you can change home or cell service without
 impact to people who want to call you.
 
 Again, that is not what I need or want.
 
 You also gain control options, such as setting some callers to only ring
 through on weekdays, or setting some callers to ring the home phone but
 not the cellphone.
 
 Again, that is not what I need or want.
 
 So the reason it doesn't work the way you want is that your concept has it
 behind your normal phone; it's actually the reverse in that your normal
 phone is *behind* Google Voice.
 
 Again, I just want my normal land-line phone to be my primary telephone
 and my primary telephone number.  Is it wrong to want that and to want to
 use Google Voice in the way I want and need to use it?
 
 I have two different Google Voice numbers for two different applications,
 one personal and one business. For the business application, *all* calls
 to my toll free number are forwarded instantly and directly to my business
 Google Voice number and I need that number answered by voice mail on the
 *first ring* because that toll free number is *never* answered live and
 the 25 second (five+ ring) delay is a serious detriment.  All calls *must*
 be recorded for my business application and the transcribing that Google
 Voice does for those calls is extremely valuable.  The 25-second five-ring
 delay is extremely detrimental.
 
 Judging from the many posts on the 'net on this same subject, many, many
 other people have the same need that I have.
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: making PDFs workable

2012-09-11 Thread Joseph Sinclair
As noted earlier, none of this helps if the PDF is just a big image.

The PDF referenced below is an image exported from Xara Xtreme Pro (graphics 
software for Windows), and every test I can run on it indicates is a big image 
file; no native text to copy.

I don't run Adobe reader, it may have some added specialization (e.g. OCR) to 
allow text to be copied.



On 09/11/2012 04:33 PM, Brian Cluff wrote:
 I think I remember that you were running KDE..  If so, the Okular PDF viewer 
 will allow you to copy and paste, you just need to be in selection mode 
 (Don't polute your KDE install with evince).  Just click the selection icon 
 or pick tools - selection from the menu (ctrl-3 will do it too).
 
 You can also load the libreoffice-pdfimport package and load PDFs directly 
 into openoffice.
 
 Also inkscape can do a VERY good to percfect job of loading a PDF, the 
 quality being mostly dependent on if you have all the fonts installed that 
 the PDF is using, but it can only handle a single page at a time.
 
 If you have been doing any of that with no luck, you might have a PDF where 
 the text is actually a graphics and nothing will allow you to copy and paste 
 text in it.  You best bet for those is to extract the graphics out of the PDF 
 and see if one of the OCR software packages can turn it into text for you.
 
 Brian Cluff
 
 On 09/11/2012 02:20 PM, Michael Havens wrote:
 Well, the reason seems to be that 'document viewer is the default. I
 jusat d/l evince and can't seem to make it the default PDGF viewer. I
 right click on a pdfopen withevince but it keeps opening with Document
 Viewer!
 :-)~MIKE~(-:


 On Tue, Sep 11, 2012 at 1:18 PM, Matt Graham danceswithcr...@usa.net
 mailto:danceswithcr...@usa.net wrote:

   Michael Havens wrote:
   HOw can I make it so I can copy-n-paste the text from
   a pdf into a oo document?
 From: Mark Jarvis m.jar...@cox.net mailto:m.jar...@cox.net
   The Foxitpro PDF reader allows text to be marked and copied.
   Unfortunately, it's only available for Windows. I don't know if
   there's a Linux PDF reader that has that capability.

 AFAICT, evince (the PDF reader that's standard for GNOME-based
 distros) will
 allow you to copy and paste text from PDFs as well.  Also remember
 that some
 PDF readers have multiple tools available, and the default tool might be
 scroll/drag pages not select text.

 Also also remember that if the PDF doesn't actually contain text,
 but is a
 pile of images, then there will be no text to select.  The PDF that
 you're
 trying to look at doesn't have that problem, but for some reason,
 evince won't
 let you copy the text.  Acrobrat Reader will.  No, I don't know why
 either

 --
 Matt G / Dances With Crows
 The Crow202 Blog: http://crow202.org/wordpress/
 There is no Darkness in Eternity/But only Light too dim for us to see

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 mailto:PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss




 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: How to install an rpm.tar.gz printer driver?

2012-08-29 Thread Joseph Sinclair
Looks like packages has the rpm's for the actual driver; pick the 2 i386 
versions or the 2 x86_64 versions (if your system is 64-bit), and try 
installing them.
Unless you need Japanese, Chinese, or French support resources doesn't look 
useful, and I'd bet the install script checks for the NZ version of the printer 
then just installs the RPM's.

make sure to rpm --install *both* rpm's for your architecture; it looks like 
they're a split of shared libraries and actual driver code.


On 08/29/2012 01:42 PM, j...@actionline.com wrote:
 
 Still need guidance:
 
 ---
 joe wrote (in part):
 Still trying to find how to get our Canon mx439 wireless printer
 to work from our Linux system ... found driver but how to install?
 
 ---
 Joseph Sinclair wrote (in part):
 gunzip cnijfilter-mx430series-3.70-1-rpm.tar.gz
 tar xf cnijfilter-mx430series-3.70-1-rpm.tar
 rpm --install whatever the .rpm file(s) might be in the tarball
 
 
 After gunzip and tar xf ... a directory named:
 cnijfilter-mx430series-3.70-1-rpm
 included the contents listed below.
 
 So how should I proceed?
 Should I use 'install.sh' ...  if so, how?
 Or should I use 'rpm --install one of the rpms -- which one?
 
 drwxr-xr-x 2 joe  4096 Dec 19  2011 packages
 drwxr-xr-x 2 joe  4096 Dec 19  2011 resources
 -rwxr-xr-x 1 joe 52202 Dec 19  2011 install.sh
 
 packages:
 -rw-r--r-- 1 joe  125911 Dec 19  2011 cnijfilter-common-3.70-1.i386.rpm
 -rw-r--r-- 1 joe 1743678 Dec 19  2011 cnijfilter-mx430series-3.70-1.i386.rpm
 -rw-r--r-- 1 joe 1806283 Dec 19  2011
 cnijfilter-mx430series-3.70-1.x86_64.rpm
 -rw-r--r-- 1 joe  140545 Dec 19  2011 cnijfilter-common-3.70-1.x86_64.rpm
 
 resources:
 -rw-r--r-- 1 joe joe 3914 Dec 19  2011 printer_zh_utf8.lc
 -rw-r--r-- 1 joe joe 5294 Dec 19  2011 printer_ja_utf8.lc
 -rw-r--r-- 1 joe joe 4687 Dec 19  2011 printer_fr_utf8.lc
 
 install.sh = 1906 lines of code, beginning with this:
 
 #!/bin/bash
 
 ##
 ##
 ##  Canon Inkjet Printer Driver for Linux
 ##  Copyright CANON INC. 2001-2012
 ##  All Rights Reserved.
 
 1900 lines of code follow
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: How to install an rpm.tar.gz printer driver?

2012-08-27 Thread Joseph Sinclair
gunzip cnijfilter-mx430series-3.70-1-rpm.tar.gz
tar xf cnijfilter-mx430series-3.70-1-rpm.tar
rpm --install whatever the .rpm file(s) might be in the tarball

Sometimes the firmware in the printer is different between countries; sometimes 
it's just that the language supported is country-specific.
Either way be aware that the driver installed from this file might not work 
correctly (or at all) with your system and/or your printer.
It's good it's an RPM, since you'll have the ability to cleanly uninstall if it 
causes problems or just doesn't work.

On 08/27/2012 07:25 PM, j...@actionline.com wrote:
 
 Still trying to find how to get our Canon mx439 wireless printer to work
 from our Linux system and the search has led me to a printer driver
 download offered on a Canon website in Australia. Why would they claim
 that it is only to be used in Australia and New Zealand ???
 
 http://support-au.canon.com.au/contents/AU/EN/0100412501.html
 
 I've downloaded the driver from that website:
 
 -- cnijfilter-mx430series-3.70-1-rpm.tar.gz --
 
 And now need to know how to install it.
 Is there any reason why it would not work in the US?
 What would be the steps to follow to install it and get it to work?
 
 I think the unpacking command might be something like:
 tar xvf  or zxvf (filename.gz) but not sure.
 
 Please advise.
 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: programming

2012-08-19 Thread Joseph Sinclair
I would start with Python/Django (for a faster start) or Java (for a stronger 
foundation if you don't need to be working right away).
The JavaScript world seems to be moving more towards templating (e.g. Dust) and 
other tactics to focus more on the graphic design work for the browser tier and 
keep the bulk of the programming on the server tiers, so I'd be reluctant to 
invest in that language right now.

For Python make sure you're learning 3.x, for Java make sure you're learning 
good fundamentals of Computer Science and the Java version taught is 6 or 7.

For Mike's situation I'd recommend something with a fast start, and 
Python/Django or Dust/JS are very good choices in that regard.

On 08/19/2012 03:30 PM, Alan Dayley wrote:
 Most places I visit use web-based applications more and more often. And, in
 such places, JavaScript developers seem to be in short supply.
 
 Alan
 
 On Aug 19, 2012, at 3:04 PM, Michael Havens bmi...@gmail.com wrote:
 
 thank you so much for your help. What would you suggest as a marketable
 language for me to learn?
 :-)~MIKE~(-:
 
 
 On Sun, Aug 19, 2012 at 3:01 PM, Alan Dayley aday...@gmail.com wrote:
 
 http://codeacademy.com has free classes for much of the basics in
 several languages. They just added Python. Look to see if that fits
 your learning goals.

 Alan

 On Aug 19, 2012, at 2:33 PM, Michael Havens bmi...@gmail.com wrote:

 I was wondering. how do you find the free kindle books and I was
 hoping to find a book that would teach programming from the ground up with
 exercises and stuff like that. Free is about all I can afford with two kids
 and being on disability and all the crap that is going on in my life! WHat
 is a good language to start learning? I remember that a friend of mine who
 went to Devry in 91 the first language he learned was Pascal. Is that a
 good language to start with or should I rather start with something more
 useful? Like maybe Java or Javascript or would you recommend something
 else? This is going to be completely a home study thing. I do have a Python
 book for python2.1  by Deitel, Liperi, and Weidermann (copywrite 02). I
 think  I will work out of that unless you think it is too old. Please don't
 ask what I want to do with whatever I learn because right now I don't know
 what the possibilities of learning a language (be it Python, DHTML, or
 whatever). You know what, I also
   have a DHTML book (c1997) anda java book (c 96) that are really old.
 Do you think I should use them? Yeah, I'm thinking HTML and Java are more
 practical. I can offer to program things for people. What do you think I
 should do?
 :-)~MIKE~(-:
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Laptop Battery Life

2012-07-23 Thread Joseph Sinclair
The full discharge-and-recharge was for NiCd batteries, and helped to limit 
memory effect, it does not apply to NiMH or LiIon batteries (anything fairly 
recent), nor did it ever apply to lead-acid and it's derivatives.
LiIon is the only one that has particularly big problems if discharged to 0%; 
although it's best to not leave any battery fully discharged too long, for 
various reasons depending on chemistry.

It *used* to be that chargers were quite dumb and just shoved charge into a 
battery.  Most good quality chargers are much more nuanced than that today, and 
will charge at different rates depending on the charge state of the battery 
which further extends life.
Most laptops, in particular, have quite intelligent chargers and will not 
overcharge the battery or charge too fast/too slow for the charge profile; this 
is particularly important for LiIon as overcharge and overly aggressive 
charge/discharge can result in thermal runaway (c.f. the various laptop 
explosion videos).

So, for LiIon, just charge it when you need to, and if you intend to store it 
for a while, discharge a bit (around 80%) and check it now-and-then to make 
sure it gets recharged before it drops much below 30%.
For NiMH, it's a bit more nuanced, but still amounts to 
charge-it-when-you-need-to, just not as much to worry about when storing as 
long as it doesn't spend too much time completely discharged.

For both LiIon and NiMH, there are several common chemistries used (both are 
families of battery, not particular implementations), and each has different 
advantages and disadvantages.
It's worthwhile checking which you're dealing with if you wish to maximize the 
life of your particular device.

These wikipedia articles have some very good details on the chemistry, 
including some of the differences for recent alternate chemistries.
http://en.wikipedia.org/wiki/Lithium-ion_battery
http://en.wikipedia.org/wiki/Nickel%E2%80%93metal_hydride_battery

I hope that helps, Rusty.


On 07/23/2012 09:13 AM, Carruth, Rusty wrote:
 Warning - what you are about to read is from the king of rechargeable
 battery killers, so take it with a few metric tons of salt!
 
  
 
 I have recently been told that, for newer-technology batteries:
 
  
 
 1 - you do not want to overcharge them - a sure killer
 
 2 - charging to 100% all the time risks overcharging.  Charge to 90-98%
 instead.
 
 3 - discharging to some point below 20% reduces battery life, avoid it.
 (I'm not sure what the lower bound is)
 
  
 
 However, I have also been told:
 
  
 
 A - always fully a discharge new battery and recharge fully 3 times
 before use - this is supposed to make batteries more prepared or
 something.
 
 Vs
 
 B - never fully discharge a battery.
 
  
 
 Do we have anyone who works in the battery industry who can give us some
 real insight?
 
  
 
 Rusty
 
 From: plug-discuss-boun...@lists.plug.phoenix.az.us
 [mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of
 keith smith
 Sent: Monday, July 23, 2012 9:05 AM
 To: Main PLUG discussion list
 Subject: Re: Laptop Battery Life
 
  
 
 
 That would make sense.  I still do not understand why my cellular
 battery lasted over 4 years and was still viable when retired.  I had
 much less from laptop batteries. 
 
 
 Keith Smith
 
 --- On Sun, 7/22/12, Michael Havens bmi...@gmail.com wrote:
 
 
 From: Michael Havens bmi...@gmail.com
 Subject: Re: Laptop Battery Life
 To: Main PLUG discussion list plug-discuss@lists.plug.phoenix.az.us
 Date: Sunday, July 22, 2012, 10:18 AM
 
 I think it would because a rechargeable  has a maximum amount of charge
 time on it. at least that is the way it USED to be!
 
 On Sun, Jul 22, 2012 at 9:12 AM, keith smith klsmith2...@yahoo.com
 wrote:
 
 
 Sometime ago we discussed laptop battery life.  I asked the question
 about leaving the battery out and if that would extend the life of the
 battery.  I'm not sure that option was explored.
 
 Last December I took the battery out of my two lap tops.  I use both
 daily for about 15 or 16 continuous hours.
 
 I have been thinking the batteries might be fully drained by now.  Much
 to my surprise the newer laptop's battery was at 81% and the older
 laptop's battery was at 58%.
 
 Both are taking a charge.  After they are fully charged I will put them
 back in my desk drawer and charge them again in 3 to 6 months.
 
 I've have had poor performance from laptop batteries and did not want to
 cook these.  It will be interesting to see if this extends the life of
 the battery.
 
 Any thoughts?
 
 
 Keith Smith
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 
 
 
 
 
  
 
 
 
 
 ---
 PLUG-discuss mailing list - 

Re: Laptop Battery Life

2012-07-22 Thread Joseph Sinclair
Current Li-Ion chemistry is much improved from a few years ago, and 
self-discharge rates are a lot lower (hence the amount of charge left after 6 
months).

It's fine to keep the battery in a drawer (cool/dry, of course) and charge 
every 6 months.  They will probably last longer, but perhaps not for the reason 
you would expect.
You also have to accept that you loose the advantage of the built-in UPS-like 
behavior of a laptop with a battery, but if you have an external UPS, you may 
be OK with that.

For storage you actually want to partially discharge the battery (to 80%) 
before putting it away; Li-Ion has self-damaging chemistry at both 100% and 0% 
(whiskering and swell-cavitation), so you want to discharge to 80% before 
storing it, then charge back to 80% before it drops below 30% (typically 6-9 
months, check it monthly to be on the safe side).

Recent systems won't cook a battery, the charge circuits automatically avoid 
overcharge, but any (commonly available) Li-Ion kept at 100% charge for too 
long will develop internal shorts due to the whiskering effect of high charge 
separation combined with corrosive internal chemistry.  Whiskering does take a 
rather long time, however, typically 3-5 years for good quality batteries.


On 07/22/2012 09:12 AM, keith smith wrote:
 
 Sometime ago we discussed laptop battery life.� I asked the question about 
 leaving the battery out and if that would extend the life of the battery.� 
 I'm not sure that option was explored.
 
 Last December I took the battery out of my two lap tops.� I use both daily 
 for about 15 or 16 continuous hours.
 
 I have been thinking the batteries might be fully drained by now.� Much to my 
 surprise the newer laptop's battery was at 81% and the older laptop's battery 
 was at 58%.
 
 Both are taking a charge.� After they are fully charged I will put them back 
 in my desk drawer and charge them again in 3 to 6 months.
 
 I've have had poor performance from laptop batteries and did not want to 
 cook these.� It will be interesting to see if this extends the life of the 
 battery.
 
 Any thoughts?
 
 
 
 Keith Smith
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Remote login... Oh Boy

2012-07-22 Thread Joseph Sinclair
The closest to your old rlogin approach would be ssh -X yourserver.ip.address 
x program to run, e.g. meld  you might need to fiddle with some settings to 
get it working, however.

On 07/22/2012 12:56 PM, Stephen wrote:
 ssh transfers i think would be the fastest/easiest. there are some gui
 clients that can do this.
 
 On Sun, Jul 22, 2012 at 12:55 PM, Wayne Davis
 waydavis.phx.li...@gmail.com wrote:
 Ok,

 Years ago, when i worked for frontier global-center, I remember that we
 could rlogin to a system and Startx.   At least I REMEMBER it this way.
 My recollection was that I was running the GUI LOCALLY and metatdata was
 being transferred across.   VERY fast  efficient screens.

 A:   AM I recalling wrongly?
 B:   I'm wanting to set up a server box on my network  for files, music,
 video that will be headless (No monitor or mouse connected)

 Running Kubuntu 12.04 as primary OS on all boxes here.
  I see rlogin, ssh,   blah blah blah...


 I'm looking for EFFICIENT GUI presentation, File transfers.

 xvnc11 works but is slow, teamviewer is making connections outside my
 network to operate AND is wine based :-(

 What should I use that will keep it S I M P L E (if possible) and secure  (
 I am behind a M0n0wall WRAP firewall)  I want to be able to connect at will.


Is this going to be a major pain?


 Thanks everyone for your thoughts  :-)

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 
 
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Puzzling dead.letter file.

2012-07-18 Thread Joseph Sinclair
dead.letter is the dead letter queue for in-system email.
Looks like the output of a cron job being mailed to a user that cannot accept 
delivery (probably because the you don't have a delivery agent or root has a 
bad .mailrc or .forward).
Note that most of the messages in the file are from /etc/cron.daily/msec


On 07/18/2012 03:03 PM, j...@actionline.com wrote:
 
 Help!
 
 Today, I discovered the following file in my system's top '/' directory:
 
 -rw---   1 root  3428016 Mar 06 04:06 dead.letter
 
 This file contains 71,756 lines and 3,428,016 chars with dated entries
 every day between June 10, 2010 and March 6, 2012.  Some days have only
 one date entry. Some have 2, 3, or 4 date entries with the same date.
 
 It seems that mostly the same information is duplicated many, many times,
 including two long lists of photo files in two directories repeated many
 times.
 
 View an excerpted copy of the first 300 and last 300 lines of this file here:
 
 - - - http://www.upquick.com/temp/dead.txt - - -
 
 - Can anyone please tell me why this file was created?
 
 - Is there some action that I need to take as a result of information
 that is revealed in this file?
 
 - Is there any reason to save this file?  Or can it be safely deleted?
 
 Thanks friends,
 
 Joe
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Puzzling dead.letter file.

2012-07-18 Thread Joseph Sinclair
Scan through it and see if anything in there matters; then you can delete it.

It may have stopped because you fixed whatever prevented delivery, or because 
an update made the cron jobs stop dumping output to stdout and stderr.
Try getting a root shell and running mail to see if there's a ton of unread 
mail for root.

On 07/18/2012 04:07 PM, j...@actionline.com wrote:
 
 So, is there any action I need to take?
 Or can this file be safely deleted?
 
 Curious that after 3 years of accumulated/appended messages
 it just stopped in March this year with no more messages.
 
 
 -
 mail client creates dead.letter file:
 http://www.linuxask.com/questions/what-is-the-file-dead-letter-in-my-home-folder

 On Wed, Jul 18, 2012 at 3:03 PM, j...@actionline.com wrote:
 Today, I discovered the following file in my system's top '/' directory:
 - - - http://www.upquick.com/temp/dead.txt - - -

 - Can anyone please tell me why this file was created?

 - Is there some action that I need to take as a result of information
 that is revealed in this file?

 - Is there any reason to save this file?  Or can it be safely deleted?
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: How to stop session was locked

2012-07-15 Thread Joseph Sinclair
1) That's a security lock; and generally a very good idea to *keep*.
2) Go to the screensaver preferences and uncheck require password to unlock.
(Note some systems have an *additional* option in power saving for password; 
because it's *that important* to keep a suspended system locked, in that case 
you will have to dig around a bit in power saving options; as it's not yet 
standard where that option is set).

On 07/15/2012 06:54 PM, j...@actionline.com wrote:
 
 On a new install of kubuntu, there are many things to appreciate,
 including the fact that suspend works perfectly ... except for one
 annoying trait.
 
 After I close the lid, and the system goes into suspend mode, then open
 the lid again, there is an annoying pop-up that requires a password to
 unlock the system.
 
 What do I need to do to eliminate this annoying requirement to enter a
 password to unlock the system?
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: hacking an android tablet to single function device

2012-05-04 Thread Joseph Sinclair
It is possible to kiosk an android device, and it doesn't require a special 
build.
The application must be an Android application, and must implement a certain 
interface.  Basically, you just replace the application that provides the home 
screen (desktop as you described it) with your own app that simply launches 
the kiosk application [1].
If you have an app in mind that doesn't work that way, just write your own app 
to fulfill the requirements then launch the app you want to run (or use one of 
several open-source demo/kiosk mode apps [2]).

The ARM support for direct execution of Java bytecode is a hardware 
acceleration technique, it does not change the requirement for a JVM.  In 
recent (e.g. ARM8 or later) chips it doesn't even provide a performance boost 
because the implementation is a trivial translation 
(http://en.wikipedia.org/wiki/ARM_architecture#Jazelle).

I'm a bit time-constrained recently, but perhaps in late summer I could provide 
the instructional talk you've requested, I have to see how it looks in a few 
months.

==joseph++

Note: the below links are semi-random, I did not vet the applications due to 
time constraints, I just hunted down a few representative links, so DO NOT 
trust these links just because I list them.
[1] 
http://stackoverflow.com/questions/5881373/is-it-possible-to-create-an-android-app-to-make-the-phone-run-in-sort-of-a-kiosk
http://kiosk.automated.it/
http://www.kioware.com/kwfws_android.aspx

[2] https://github.com/mitmel/Demo-Mode



On 05/04/2012 09:10 AM, Stephen wrote:
 I know usb and bluetooth device support was added as of gingerbread,
 wich is 2.3 so if your device is at least that current you will get
 that functionality.
 
 as for kiosk'ing the device i am not sure, i do know you can launch
 an app on boot. but i have not delved into how that is done.
 
 however there is no full jvm for android at this time, but in theory
 you can tailor an install of linux to run on arm and essentially use
 it instead and then you could add a jvm... i would suggest a distro
 that has an arm branch in their repo's or something that will use
 global environment variables to compile compatible code.
 
 On Fri, May 4, 2012 at 8:53 AM, Steven A. DuChene
 linux-clust...@mindspring.com wrote:
 Since Andriod tablets have become so cheap lately (Pandigital for $29.99 
 plus $4.99 shipping) I would like to see if it is possible to re-purpose one 
 to do server as sort of a single function display device. Does anyone know 
 if it would be possible to reconfig an Android tablet to NOT have a full 
 desktop interface with icons and things and instead have it boot up to the 
 display of a single application?

 Also I noticed some of these tablets use a ARM926EJ-S CPU that is supposed 
 to enable the direct execution of 8-bit Java bytecode in hardware and has an 
 MMU on the chip (not always a given for ARM CPUs). Does that mean it would 
 be possible to run a standard Java application without the load of a full 
 JVM? Is all compiled Java code end up being 8-bit bytecode that could be 
 directly run on this CPU?

 Also I note that plugging a USB keyboard into an Android device does not 
 seem to work. From what little I have read it is because USB host mode is 
 not enabled in early versions of Android. It is possible to somehow either 
 add this functionality via replacement kernel modules or perhaps even 
 rebuild a new/different kernel for one of these devices to enable this? I 
 have looked at some of the dmesg output from one of my el cheap'o tablets 
 and I see some things happening there when I plug in a keyboard but not 
 enough apparently.

 Anyway lots of questions about hacking Android tablets. Is this something 
 like this possible to have a instructional talk on at a PLUGdev meeting at 
 some point? I.E. from someone who knows a LOT more about this than I do?
 --
 Steven DuChene



 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 
 
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: presentation from last week's developer meeting attached

2012-02-08 Thread Joseph Sinclair
Hans,
  That suggestion comes up because, although Public Domain is quite clear in 
the USA, it doesn't exist as a legal concept in many parts of the world.
By using CC0 the work is clearly licensed, but the conditions match (as closely 
as possible) the conditions of Public Domain for each jurisdiction to which CC0 
is ported.
If you're not planning to fight any court battles, a clear Public Domain grant 
is just fine for content created in the USA.

On 02/07/2012 10:30 PM, der.hans wrote:
 Am 06. Feb, 2012 schw�tzte Walter Mack so:
 
 moin moin,
 
 please put into a good place on the plug web site. I herewith declare this 
 presentation to in the public domain.
 
 I have recently been seeing informed claims that we should use CC0 rather
 than public domain, but I hadn't yet looked at CC0.
 
 http://creativecommons.org/publicdomain/zero/1.0/
 
 Looks like CC0 is a wrapper around public domain. Interesting.
 
 ciao,
 
 der.hans
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: URL advertising

2012-01-25 Thread Joseph Sinclair
https://www.google.com/webmasters/tools/home
You may need to login to your google account.
Click submit a site to get started to add the url.  Then they can select 
various things to do to help Google index the site.
There are no guarantees, but at the least it improves the chances the site will 
be in the index.

If you REALLY want to be visible (not as a search result, but on the Google 
site), then advertise the site/event with AdWords, but that costs money (not 
much, and it's per-click(cents) or per-conversion(dollars), but it's not free).

On 01/25/2012 05:10 PM, AZ RUNE wrote:
 This is for a fund raiser at my kids school. They want to advertise
 www.redfuryinc.com /JazzNight
 
 =
 I am not an advertiser but my boss asked for help and I wondering what
 would be the best way to get this URL into the search engines to advertise
 this school project?
 
 Thanks,
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Which tablet(s) the best for Linux applications?

2012-01-21 Thread Joseph Sinclair
Check out the smartbook (which is a PDA, Tablet, and netbook in one device).  
It runs Linux and Android factory-installed.
http://www.alwaysinnovating.com/products/smartbook.htm

They also have a neat little dongle that runs android and connects to any HDMI 
port to display on a TV.

On 01/21/2012 04:27 PM, j...@actionline.com wrote:
 
 Which tablet(s) the best for Linux applications?
 
 I bought an ipad 1 for my wife and while it is nice in many ways, it has
 also resulted in much frustration (so it is for sale cheap). Now I'm
 trying to figure out which 10 tablet might be the best option.  I want to
 be able to copy a lot of my files and websites (html code) onto the tablet
 so I will have quick access to my data even when there is no wireless
 connection.
 
 Asus Transformer $449 + $150 for a doc with keyboard and extra battery life
 Acer $349 - I like that it has a standard USB to plug in a keyboard
 Samsung Galaxy Tab 10.1
 Toshiba
 Xoom
 What else?
 
 How do y'all vote?
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: hd vs sd

2012-01-02 Thread Joseph Sinclair
Originally sd was for scsi drive and hd was for hard drive; most everything is 
handled by the serial attach subsystem these days, so sd now is more accurately 
serial device, and hd remains used by PATA primarily for historical reasons.

On 01/02/2012 04:50 PM, Michael Havens wrote:
 but from my reading (and experience) it also includes USB devices.
 
 On Mon, Jan 2, 2012 at 11:38 PM, Stephen cryptwo...@gmail.com wrote:
 
 S is for SCSI. Most everything was put there.
 On Jan 2, 2012 4:36 PM, Michael Havens bmi...@gmail.com wrote:

 I was wondering. Why do they call ata devices /dev/hdx and everything
 else /dev/sdx (where x = the drive number)?

 --
 :-)~MIKE~(-:

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: OT: SSD and EMP

2011-12-01 Thread Joseph Sinclair
This is correct.
EMP will kill SSD easier than even the chips or magnetic media. This is 
primarily because EMP will induce a capacitive load in the floating gate of the 
NAND cell; this will turn every bit in the chip to a '1'.  SSD floating gate 
charge is extremely small, so it doesn't take much of an EMP to wipe the 
devices.
Place any *unshielded* SSD within 3 meters of a 1000KV power line for a couple 
seconds and you'll see the same effect.
That said, many actual internal SSD drives (as opposed to flash media, USB 
drives, or mSATA drives) are available with conductive and grounded cases; 
those would probably not loose data as they're, effectively, inside a Faraday 
Cage structure already (as long as the ground connection is sufficiently 
conductive).

On 12/01/2011 12:25 PM, Michael Butash wrote:
 Not magnetic per se, but I think an emp would kill it for the same reason 
 static discharge will fry an IC, of which it has plenty.  I'll bet the nand 
 flash doesn't get along with EM very well either.
 
 -mb
 
 
 On 12/01/2011 11:56 AM, der.hans wrote:
 moin moin,

 discussing things at work and EMPs came up. It was almost on topic :).

 Anyway, an EMP would knock out data on hard drives, would it not?

 A co-worker says SSD is not magnetic, so would not be affected by an EMP.
 Is that correct?

 ciao,

 der.hans
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: List Reminder

2011-12-01 Thread Joseph Sinclair
The list server (GNU Mailman) uses the password as a very minor gating element 
and it is not intended to be secure.  The server warns that the password is 
stored and emailed in clear text on the signup page.
  You may enter a privacy password below. This provides only mild security, 
but should prevent others from messing with your subscription. Do not use a 
valuable password as it will occasionally be emailed back to you in cleartext.

On 12/01/2011 05:48 PM, James Crawford wrote:
 Why is the list server sending passwords with the member check
 
 
 James C
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Linux Games

2011-11-22 Thread Joseph Sinclair
I've been playing glitch lately.  Flash based online MMO, but not combat based 
like most MMO's.  I hate that it's Flash, but at least the devs test on Ubuntu 
to ensure it works for Linux users.

On 11/22/2011 07:20 PM, Nathan England wrote:
 
 I have been searching for a good role playing game that is linux based, no 
 wine, that is playable. I would very much like to find a fun RPG that is not 
 based on demons or monsters of some kind, but so far that has been impossible.
 
 The Humble Bundles so far have had some really fun games that work great with 
 linux, but what games are you playing?
 
 These are my favorites:
 
 Warzone 2100 - http://wz2100.net/
 (Total Annihilation style battles)
 
 Battle for Wesnoth - http://www.wesnoth.org/
 (I love the game, I hate the little demon looking things and all the magic)
 
 Frogatto - http://www.frogatto.com/
 ( Have not played it yet, looks cool )
 
 FreeDroid - http://www.freedroid.org/
 Looks very promising - Fallout style RPG
 
 Unknown Horizons - http://www.unknown-horizons.org/
 Another that looks promising
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: OT: newegg alternatives

2011-11-14 Thread Joseph Sinclair
I think you're confusing Java and JavaScript, which have no connection 
whatsoever.
Java is used extremely rarely in the UI layer of the web.  It's huge in the 
server layer, but if you see Java in the web browser, it's a rare thing indeed.
JavaScript is used extremely heavily, and will become vastly *more* prevalent 
as HTML5 grows because it's the only dynamic UI language for HTML5.
JavaScript, unfortunately, does not have native accessibility support.


On 11/14/2011 10:12 AM, Stephen wrote:
 I can see that html5 will allow the heavy reliance on java to lessen.
 
 but for now its hugely prevalent in the web, and i don't think that's
 going to change to much until html5 gets a better adoption rate.
 
 On Mon, Nov 14, 2011 at 10:10 AM, Technomage Hawke
 technomage.ha...@gmail.com wrote:
 java presents some more specific problems for me as well. there are sites 
 that don't bother to turn on the accessibility modules in java (which is 
 most of them) causing me to get a blank scroll area whenever I land on 
 them. I have even tried braille output on those sites only to get nothing. 
 between java and flash, I am one very frustrated net user. as for spam, I 
 �use gmail's filter routines to auto-delete anything I don't want. it 
 certainly keeps my mail volume from getting outrageous.

 -eric

 On Nov 14, 2011, at 8:55 AM, Matt Graham wrote:

 On Nov 13, 2011 9:53 PM, der.hans pl...@lufthans.com wrote:
 I first heard of newegg via PLUG many years ago. I've been mostly happy
 with company, but I'm tired of not being able to navigate the site without
 enabling javascript.

 AFAICT, JS is pretty much *required* for large parts of the WWW as it
 currently exists. �Blame this on the marketing people (We want to track
 *everything*!) and people who want to do all kinds of Cool Web 2.0 Things
 even when they're not useful. �I have to turn JS on for my phone company's
 site to pay my phone bill. �My bank's site is just as bad; no JS, no 
 accounts
 page.

 TigerDirect is out because of spammy messenging.
 From: Kevin Fries ke...@fries-biro.com
 I don't know about JavaScript, but have you tried mwave?

 If you buy anything from mwave, they'll put you on a mailing list, and 
 you'll
 get spam every few days. �At least it's reasonably easy to unsubscribe.

 --
 Matt G / Dances With Crows
 The Crow202 Blog: �http://crow202.org/wordpress/
 There is no Darkness in Eternity/But only Light too dim for us to see

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: OT: How to clear google's record of one's searches?

2011-10-29 Thread Joseph Sinclair
It may help to know that the search suggestions that drop down are not 
necessarily customized (depends on if you're logged in and have opted in to 
search history).
The suggestions are primarily based on an index of all search queries ever 
entered, stored anonymously, and matched to the word(s) you're typing, and only 
include a secondary filter to match your search history if you've opted in to 
that service.

On 10/28/2011 06:50 PM, j...@actionline.com wrote:
 
 Is there some way to clear google's record of one's own searches?
 What records does google keep of such data?
 
 I've noticed that when I start to type a keyword or phrase into the google
 search field, google drops down a list of what seems to be my own as well
 as other searches.  Is there some way to clear all that history away?
 
 I have tried clearing my own computer cache, but google seems to have its
 own record keeping on my searches.
 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: netmask in a script

2011-10-27 Thread Joseph Sinclair
well, an IP4 address is just an unsigned int32, and a netmask is just the 
number of bits to keep...
you could turn the dotted notation into an int32, then mask off the proper 
bits, then translate back to the dotted notation.

Or you could use Python for the script and use the ip address library in 
Python[1] to apply the netmask.

[1] http://code.google.com/p/ipaddr-py/

On 10/26/2011 09:49 PM, Dazed_75 wrote:
 I would like to apply a netmask to an arbitrary IP in a bash/dash script
 (e.g. apply 255.255.255.0 to 173.10.3.155 to get 173.10.3.0).  Is there any
 easy way to do that without taking the IP apart, doing 4 operations and
 reassembling the results?
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: ABLEconf dates?

2011-10-13 Thread Joseph Sinclair
Considering they changed it 3 years in a row to match, it's hard to see it any 
other way.

On 10/12/2011 10:04 PM, Alan Dayley wrote:
 Deliberately?  Really?  Doubtful.
 
 Alan
 
 On Wed, Oct 12, 2011 at 9:33 PM, Joseph Sinclair
 plug-discuss...@stcaz.net wrote:
 24/25 is Saturday/Sunday.

 Desert Code Camp deliberately sets their date to coincide with ours in an 
 effort to limit the impact of ABLEConf; there's not much we can do about 
 their desire to harm free and open technology adoption in Arizona except 
 hope they eventually learn better.


 On 10/12/2011 03:08 PM, Eric Shubert wrote:
 My calendar shows March 24,25 2012 being Sat,Sun. No?
 Please clarify. ;)

 I sure hope we don't coincide with Desert Code Camp again. :(



 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: ABLEconf dates?

2011-10-13 Thread Joseph Sinclair
There are 2, one in the spring and one in the fall.

On 10/12/2011 09:53 PM, Eric Cope wrote:
 DCC is November 5th...
 
 Eric
 
 On Wed, Oct 12, 2011 at 9:33 PM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:
 
 24/25 is Saturday/Sunday.

 Desert Code Camp deliberately sets their date to coincide with ours in an
 effort to limit the impact of ABLEConf; there's not much we can do about
 their desire to harm free and open technology adoption in Arizona except
 hope they eventually learn better.


 On 10/12/2011 03:08 PM, Eric Shubert wrote:
 My calendar shows March 24,25 2012 being Sat,Sun. No?
 Please clarify. ;)

 I sure hope we don't coincide with Desert Code Camp again. :(



 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: ABLEconf dates?

2011-10-13 Thread Joseph Sinclair
Good to hear there's been an expansion of the leadership for DCC.
Nobody wins when different community organizations act in an adversarial manner.

On 10/13/2011 06:46 AM, Alan Dayley wrote:
 Hmm.  I had not correlated that many conflicts.
 
 There is a committee now running Desert Code Camp instead of one
 person.  Hopefully that changes/softens any adversarial targeting by
 someone.
 
 If I get the sniff of any such specific nonsense, I will call it out.
 In fact, I will ask some people about it in the next week.
 
 Alan
 
 On Thu, Oct 13, 2011 at 12:21 AM, Joseph Sinclair
 plug-discuss...@stcaz.net wrote:
 Considering they changed it 3 years in a row to match, it's hard to see it 
 any other way.

 On 10/12/2011 10:04 PM, Alan Dayley wrote:
 Deliberately? �Really? �Doubtful.

 Alan

 On Wed, Oct 12, 2011 at 9:33 PM, Joseph Sinclair
 plug-discuss...@stcaz.net wrote:
 24/25 is Saturday/Sunday.

 Desert Code Camp deliberately sets their date to coincide with ours in an 
 effort to limit the impact of ABLEConf; there's not much we can do about 
 their desire to harm free and open technology adoption in Arizona except 
 hope they eventually learn better.


 On 10/12/2011 03:08 PM, Eric Shubert wrote:
 My calendar shows March 24,25 2012 being Sat,Sun. No?
 Please clarify. ;)

 I sure hope we don't coincide with Desert Code Camp again. :(



 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: ABLEconf dates?

2011-10-12 Thread Joseph Sinclair
24/25 is Saturday/Sunday.

Desert Code Camp deliberately sets their date to coincide with ours in an 
effort to limit the impact of ABLEConf; there's not much we can do about their 
desire to harm free and open technology adoption in Arizona except hope they 
eventually learn better.


On 10/12/2011 03:08 PM, Eric Shubert wrote:
 My calendar shows March 24,25 2012 being Sat,Sun. No?
 Please clarify. ;)
 
 I sure hope we don't coincide with Desert Code Camp again. :(
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: LaTop battery care and life expectancy

2011-10-09 Thread Joseph Sinclair
All Lithium-Ion batteries have similar issues and, in general, similar 
recommendations for care.
Keep in mind, however, that different chemistries produce very different 
results, lead acid is very different from NiCd, NIMH, or LiIon.  Different 
batteries using the same general chemistry may still have very different 
specific chemistry to meet particular cost/current/charge/voltage 
characteristics. Lithium ion, for example, has at least 8 primary chemistries 
(e.g. LiPo, LiFe, LiZnCo, etc...), each with a hundred or more variations.
Solar systems often use deep-cycle lead-acid because it is cheap, mature, and 
very rugged.  That makes comparing solar experience to laptops somewhat 
difficult.

Some newer Lithium Ion batteries use new chemistry (e.g. Si cathodes in 
charge-carrier flexible polymer matrix to accommodate swelling during 
charge/discharge) to adapt to the issues below, but all still face the same 
challenges to a greater or lesser extent.

1) Lithium Ion involves actual absorption and release of Lithium atoms by anode 
and cathode.

This means that there is physical stress on the battery elements, and over time 
this will damage the materials.  Deep discharge cycles and higher current drain 
will make these happen faster.
Your cellphone battery has low current drain and long cycles, compared to a 
laptop, and will tend to last longer as a result.
Letting your battery fully discharge before charging it will cause damage, but 
LiIon also has an explosive chemistry, so power management circuitry manages 
the battery, and turns off a phone when there is still about 20% charge left in 
the cell to mitigate this for cellphone batteries.
The ideal usage is to charge at about 30% and not leave the cell above 70% for 
too long (see issue 2 for the reason).

2) Lithium Ion current limits are dependent on the Li mobility, which requires 
highly solvent electrolytes to permit high current usage.

This means that the anode and cathode materials will dissolve in the 
electrolyte over time, and, because of the electrical potential between anode 
and cathode, will form whisker structures that eventually short across the gap 
between the electrodes.
Leaving the cell fully charged for a long time (or constantly charging it when 
not in use) will encourage these whisker structures to grow because it 
maintains a higher potential between the electrodes.  This is why leaving a 
battery in a charger for a long time (months or years depending on the battery 
and charger) will eventually result in a dead battery, even though it was never 
really used.
Modern charging circuitry could account for this by discharging the battery 
periodically, but laptops and other consumer-oriented devices generally do not 
in order to maintain immediate readiness for on-battery use while charging.
The recommendation is to actually use the device powered by the battery from 
most of the time, and only add A/C power to recharge, when planning to 
disconnect in the near future, or when usage duration is reasonably expected to 
exceed battery life (even then starting on battery and adding A/C when charge 
drops below 50% often helps).  It's also best not to leave a laptop always 
connected to power, and only plug in when charging is actually needed.


In the end, the reason a cellphone battery often lasts so much longer than a 
laptop battery (typically 2-3 times as many charge/discharge cycles) is more 
about the different power requirements of the two uses and the specific 
structure and chemistry choices made to match battery to load.
Research is constantly advancing battery and other electrical energy storage 
technologies, so the performance one may expect for a given usage are 
constantly changing, and different manufacturers may use very different 
approaches to meet specific cost and performance criteria.  This makes 
comparing, or even predicting, battery life very difficult, to the point of 
being little more than a guess, so the best advice I know is to simply use the 
device in a reasonable manner, and keep an eye on the lifespan indicator via 
the battery information probe available in Linux so you have some advance 
warning when you'll need to purchase a new battery.

==Joseph++

On 10/09/2011 01:22 PM, keith smith wrote:
 
 
 I've had several laptops and battery longevity has always been an issue.� Not 
 how long it will run my laptop before completely discharging, but how long it 
 will be before that battery is no good.� What I do not understand is why or 
 how a battery can go bad from being in a laptop that is plugged in and why 
 there is a overcharging issue. � 
 
 I have two frames of reference, maybe three.� My cordless phone battery lasts 
 for years.� I recently started researching solar power.� Seems some think the 
 battery's life is extended by not draining it and having a constant change 
 trickling into it.� One of the videos said the life of the battery was in 
 cycles.
 
 My cellular phone is 3 and a 

Re: LaTop battery care and life expectancy

2011-10-09 Thread Joseph Sinclair
All lithium-ion charges must shut off charging once the cell is full.  They 
actually have to manage to the limitations of the least capable individual cell 
in a pack, so it's a little less than that for laptop packs.
Because lithium is subject to thermal runaway (i.e. the pack can burst into 
flames if not managed properly) you cannot just dump power into it without 
detecting full charge and shutting off.
You actually have to watch heat build up as well, and most (if not all) cells 
have a thermal sensor that reports to the charging circuit to avoid overheating 
the cell during charge or discharge.


On 10/09/2011 03:03 PM, Dazed_75 wrote:
 On Sun, Oct 9, 2011 at 2:47 PM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:
 
 snip
 
 Modern charging circuitry could account for this by discharging the battery
 periodically, but laptops and other consumer-oriented devices generally do
 not in order to maintain immediate readiness for on-battery use while
 charging.

 ==Joseph++

 snip
 That makes me wonder if any laptop charge circuits actually do this and/or
 even shut off charging at some level.
 
 I know that my Lenovo x220's charge light goes out approximately when it
 reaches a full charge.  I usually disconnect the charge once I notice that
 so I don't know if it is actually disconnecting the charger or if it is only
 indicating the charging is complete.
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Linux kernel source

2011-10-07 Thread Joseph Sinclair
try git.kernel.org it seems to work for me.

On 10/07/2011 12:12 AM, Nathan England wrote:
 What used to be such a simple thing is no longer so simple! I am trying
 to locate linux-3.0.6.tar.bz2 but kernel.org is not working again, or
 still depending on how you look at it, and I cannot find it on Linus'
 github account.
 
 Any idea where I can download the latest 3.0 kernel?
 
 Nathan
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: chrome or opera

2011-10-04 Thread Joseph Sinclair
Betty,
  On Ubuntu 10.04 (Lucid), sudo apt-get install flashplugin-installer will 
install flash (version 10.1.183 currently).  They went to an automated 
installer instead of a proper package so that they aren't having to repackage 
Adobe's mess, the package just downloads the Adobe installer and installs it 
for you.
You can also install the chromium-browser package to get Chrome without the 
Google branding.
To get the Chromium beta channel (more up to date, but less tested) put the 
following 3 lines in a new file /etc/apt/sources.list.d/chromium-beta.list

# Bring in the chromium beta channel for Lucid (10.04).
deb http://ppa.launchpad.net/chromium-daily/beta/ubuntu lucid main
deb-src http://ppa.launchpad.net/chromium-daily/beta/ubuntu lucid main


Hopefully that will get chromium and flash working for you.


On 10/04/2011 06:46 PM, betty wrote:
 On 10/04/2011 06:35 PM, Adam McCullough wrote:
 Installing Flash on a linux version of Chrome takes a bit of trickery. What 
 I wound up doing was making a soft link from the flash library to 
 /opt/chrome/plugins. That did the trick.

 uhh, how do i do that? or is that beyond my basic cl skill set?
 thx
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: test a sed command?

2011-09-13 Thread Joseph Sinclair
The default for sed is to output the results to stdout.
If you just leave out the option to write back to the original file, wouldn't 
that work as a test?
Alternatively you could pipe the sed output into diff against the original file
Something like this:
sed -e 'command' infile | diff infile -


On 09/13/2011 09:00 PM, Dazed_75 wrote:
 How do people test sed replacements on something consequential?  I thought I
 remembered sed having an option to just report what changes it WOULD HAVE
 made without actually making the changes.  But I can't find anything like
 that.
 
 Best I can think of is to make a test directory [hierarchy], copy your files
 into it, run the sed command and then look at all the files for intended and
 unintended changes (or diff them from the originals).  That would seem to
 suck!
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: splashtop os

2011-09-03 Thread Joseph Sinclair
I don't mind the tagline, I hate that you have to run Windows in order to 
install it, there's no means to install from Linux.
I can't support any Linux-based system that requires a separate, proprietary, 
and very broken, system as part of it's design. That's like getting a Ferrari 
that requires you to tow a Yugo around with it as a push-start cart and is not 
compatible with anything better.

On 09/03/2011 11:13 AM, Andrew Harris wrote:
 I hate the tagline Quicker Queries.
 
 On Sat, Sep 3, 2011 at 10:27 AM, Eric Shubert e...@shubes.net wrote:
 http://www.splashtop.com/os

 This is based on linux.

 Opinions?

 --
 -Eric 'shubes'

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: PXE Menu Screenshots

2011-08-04 Thread Joseph Sinclair
Larry,
  A full VM (vmware, virtualbox, kvm, xen) is like a physical machine; if you 
set the virtual network interface to enable the PXE boot ROM (how to do that 
varies based on which virtual machine system you use), then it will boot from a 
PXE server if one is available.

P.S.
 DomU and Dom0 are (originally) Xen terms for guest and host in a 
paravirtualized setup.


On 08/03/2011 10:55 PM, Dazed_75 wrote:
 Steve, I did not thof that, Thanks.  On the other hand, I do not know if a
 VM is able to be a PXE client.  I will try it though.
 
 R P, Sorry, But I do not understand what you are saying.  DomU and dom0 mean
 nothing to me.  Are they something in XEN?  I've heard of Xen but know
 nothing about it.
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: CentOS 5.6 supported/recommended FS?

2011-08-02 Thread Joseph Sinclair
Last I checked XFS was still supported; when tuned correctly it's still the 
fastest filesystem for database transaction logs (although some of the 
log-structured filesystem may eventually beat it).
EXT4 still has some significant performance issues and has regressed quite a 
bit in that regard in the past few kernels.

I just rechecked, and XFS support in RHEL/CentOS is part of the 
high-performance/high-scalability add-on in RHEL 5.6, and became fully 
supported in 5.7 (although it has been supported for a long time in the 
kernel), but there's no reason not to use it in CentOS 5.6 unless you have a 
paid support contract and didn't pay for the high-performance/high-scalability 
add-on (if that's even offered by your particular vendor).

XFS is also probably the most stable Linux native filesystem (other than 
EXT2/EXT3) as it's been in the kernel about as long as EXT3 and still has 
active development effort to improve quality/reliability/performance.

On 08/02/2011 12:19 AM, der.hans wrote:
 moin moin,
 
 we have a mix of CentOS 5.x boxen. They're currently using ext3 for the OS
 and reiserfs for a RAID0 filesystem for fast writing. We have a couple
 hundred of them.
 
 We've been experiencing a few kernel panics a month due to reiserfs.
 
 At one point when researching the problem I found statements that reiserfs
 ( and XFS and JFS ) are not officially supported filesystems for RHEL 5.x
 and therefore also not for CentOS 5.x.
 
 With 5.6 ext4 is now an officially supported filesystem.
 
 Is there a list of officially supported filesystems for CentOS?
 
 Any recommendations for a particular filesystem to use with CentOS 5.6 for
 fast log writing?
 
 ciao,
 
 der.hans



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: rootkits

2011-07-29 Thread Joseph Sinclair
What you see below is false-positives.
The files in /usr/lib are normal files used for things like initialization 
control (pymodules) and JDK selection (jvm).
The files in /dev/shm are pulsaudio temporary device files, and like everything 
in /dev/shm will disappear on a reboot (/dev/shm is a filesystem interface to 
shared memory).
The hidden directories are likewise normal (java, udev, initramfs) elements of 
the system.

That's why these things are warnings; they *might* be a problem, but the 
software has no way to be sure (although it really should have exceptions 
built-in for things like pulseaudio, udev, and initramfs stuff).

Then again, it's fundamentally impossible to know if a system is clean from 
within that system (since a rootkit could just intercept any call that would 
expose it's presence and return a false result).
Usually these tools should be run against a chrooted/mounted filesystem from a 
known-good rescue CD.

On 07/29/2011 08:48 AM, Dazed_75 wrote:
 One of the blogs I read just had an article about finding rootkits in
 Linux.  While not worried about it, I thought it would be fun to check it
 out.  They talked about 3 commands; lsattr, chkrootkit, and rkhunter.
 
 lsattr didn't find anything of interest the few directories I tried it on
 except that this line showed up for some files (I think they were all
 links):
 
   lsattr: Operation not supported While reading flags on /bin/bzegrep

 
 chkrootkit found
 
 ROOTDIR is `/'
 Searching for suspicious files and dirs, it may take a while... The
 following suspicious files and directories were found:
 /usr/lib/xulrunner-1.9.2.18/.autoreg
 /usr/lib/firefox-3.6.18/.autoreg
 /usr/lib/pymodules/python2.6/.path
 /usr/lib/pymodules/python2.6/PyQt4/uic/widget-plugins/.noinit
 /usr/lib/jvm/.java-6-openjdk.jinfo
 /usr/lib/thunderbird-3.1.11/.autoreg

 
 those are mainly empty files and the ones that were not seemed reasonable to
 an uneducated eye.  Problem is that they don't say what it is that is
 considered suspicious
 
 rkhunter -c found
 
 [08:27:47]   Checking /dev for suspicious file types [ Warning ]
 [08:27:47] Warning: Suspicious file types found in /dev:
 [08:27:47]  /dev/shm/pulse-shm-3633543672: data
 [08:27:47]  /dev/shm/pulse-shm-2330444361: data
 [08:27:47]  /dev/shm/pulse-shm-2759599877: data
 [08:27:48]  /dev/shm/pulse-shm-2688255106: data
 [08:27:48]  /dev/shm/pulse-shm-2964324177: data
 [08:27:48]  /dev/shm/pulse-shm-878858236: data
 [08:27:48]   Checking for hidden files and directories   [ Warning ]
 [08:27:48] Warning: Hidden directory found: /etc/.java
 [08:27:48] Warning: Hidden directory found: /dev/.udev
 [08:27:48] Warning: Hidden directory found: /dev/.initramfs

 
 Similar comment.  It is difficult to know what to check for.  Again I am not
 worried, just curious.
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: What are the most stable distros?

2011-07-28 Thread Joseph Sinclair
On the RedHat side, RHEL and it's derivative CentOS are the stable systems.  
Both are targeted at Enterprise use where stability far outweighs updates.  
That said, RedHat does backport some new features and applications when there 
is sufficient demand in the enterprise space.
On the Debian side nothing is more stable that Debian Stable (Currently Squeeze 
released a few months ago).  Ubuntu LTS releases are *supposed* to be stable 
but in practice the Debian upstream is more stable.

In either case, the system will only have a new release every couple years at 
most (sometimes 3-5 years go between stable releases of RHEL or Debian), so you 
*will* eventually encounter missing features and/or new applications that 
simply won't run on the stable distributions.

If stability is your primary consideration, I'd go with RHEL/CentOS or Debian 
Stable.

If you want a more simple/minimal desktop, then use a desktop based on XFCE or 
LXDE if you need compatibility.
If you just want the most minimal GUI possible, then something like JWM, 
WindowMaker, or similar minimalist GUI environments may work well for you.

The following are my general recommendations for stability vs. up-to-date, note 
that the complexity of these starts with anyone can manage this, and ends 
with expert-only/you'd better have lots of free time:
  If you want a more balanced approach between stable and up-to-date, then 
Ubuntu LTS releases, some Fedora releases, and certain LinuxMint releases (the 
ones based off of stable or LTS releases) will likely fit the bill.
  If you want new features and applications faster, but don't want to learn new 
desktop paradigms all the time and want something a smidge more tested, then 
consider a distribution based from Debian testing (such as the upcoming 
LinuxMint releases), a current Fedora release, or *most* Ubuntu releases (delay 
upgrade by a month or two and read the forum posts to see how stable it is).
  If you want the most bleeding edge possible, then something from Debian 
Unstable (such as Sidux), some Ubuntu releases, a Fedora release candidate, or 
a Gentoo-type system may be for you.
  If you want absolute control over what is updated and when, then you can 
install Debian Stable and run your own Debian package proxy mirror (and only 
bring in packages when you want them), install Fedora and your own Fedora 
package proxy mirror (same update policy), or use Gentoo and only emerge what 
you want and when you want (and handle the dependencies yourself).
  If you want down-to-the-metal absolute control over every aspect of the 
system, build your own distribution per Linux From Scratch or something similar 
and build all applications from source (and handle all dependencies, build 
issues, etc. yourself).

On 07/28/2011 07:35 PM, j...@actionline.com wrote:
 
 What would this esteemed forum's opinions suggest are the top 3 or 4 most
 stable (different) Linux distros for personal use (not as a server)?
 
 While it seems to have been almost universally the case that the hundreds
 of Linux distros are continually competing to be the latest and greatest,
 most advanced, cutting-edge systems -- continually being updated and
 made ever-more glitzy and fancy.
 
 However, are there any distros that strive instead to be rock-solid,
 stable, steady work-horses ... rarely (preferably never) requiring
 updates just to add in more and more of the latest new-fangled whatever?
 
 Personally, I have preferred distros based on Redhat rather than ubuntu
 (Mandrake/Mandriva and PCLinuxOS).  I am interested *only* in a
 personal-use system mainly for work.  And I have zero interest in games. I
 really liked the KDE 3.5 system, but I detest KDE 4+ with all of its
 nuisance widgets and clutter. And I don't care for Gnome.
 
 Ideally, I would like a system that is as concise and non-bloated as
 possible. Every time I have done an update on every system I have ever
 had, it has resulted in a lot of nuisance issues/problems that have wasted
 a lot of time trying to sort out all those issues so I could get back to
 work.
 
 While I realize that the usual reply to a question like this is that
 *every* system needs to be frequently updated for security reasons ...
 that seems to me to be a needless nuisance. I have several older systems
 that have run efficiently and reliably 24/7 for years and have *never*
 been updated ... and I have never had a problem with them.  But they are
 now several years old and I would like to get something newer.
 
 What say you?
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change 

Re: Need Help Cloning a Drive

2011-07-20 Thread Joseph Sinclair
I feared this might be the case; clonezilla just isn't quite ready for the new 
sector sizes.

The best suggestion I can make from here is to create a partition table by hand 
on the destination drive that has the partition sizes and layout you want, then 
transfer the data one partition at a time.
You'll probably have to install GRUB in the MBR on the new drive to make it 
bootable.
Someone else here probably knows how to do this better than I do, but here's my 
take:
1) transfer all the data
2) remove the old drive and put the new drive in place
3) boot from a live rescue type CD (the latest system rescue CD works well 
here)
4) mount the new drive root partition and chroot to it's mount point.
5) check and adjust /etc/fstab to mount all of the other partitions in the 
correct places.  Make sure you use UUID's for this, as System Rescue CD creates 
odd device names sometimes.
6) mount everything like you would when running (this may not be required, but 
it's just for completeness)
7) check everything looks like you expect.
8) verify /boot is correct and has the correct kernel(s)
9) check your grub configuration in /etc
10) run the grub installer and grub configuration to install GRUB on the MBR of 
the new drive, and setup the GRUB menu/configuration/modules to boot properly.
11) exit the chroot, shutdown the system, pull out the rescue CD, and reboot.
*) You should now have a bootable clone drive, if everything worked.

Note: If you have Windows in dual boot on the old drive it almost certainly 
won't be bootable on the new drive and will need to be reinstalled.


On 07/19/2011 10:03 PM, Mark Phillips wrote:
 Well, using the proportional clone option in clonezilla failed as well.
 
 These are the drives I have:
 orca:/home/mark# fdisk -l
 
 Disk /dev/sda: 320.1 GB, 320072933376 bytes
 255 heads, 63 sectors/track, 38913 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x81d6785f
 
Device Boot  Start End  Blocks   Id  System
 /dev/sda1   1   5   40131   de  Dell Utility
 /dev/sda2   *   6191815367  HPFS/NTFS
 /dev/sda31918701740963092+   7  HPFS/NTFS
 /dev/sda47018   38913   2562046205  Extended
 /dev/sda5   *7018   37615   245778403+  83  Linux
 /dev/sda6   37616   3891310426153+  82  Linux swap / Solaris
 Note: sector size is 4096 (not 512)
 
 Disk /dev/sdb: 750.2 GB, 750156374016 bytes
 255 heads, 63 sectors/track, 11400 cylinders
 Units = cylinders of 16065 * 4096 = 65802240 bytes
 Sector size (logical/physical): 4096 bytes / 4096 bytes
 I/O size (minimum/optimal): 4096 bytes / 4096 bytes
 Disk identifier: 0x4ae6
 
Device Boot  Start End  Blocks   Id  System
 orca:/home/mark#
 
 The proportional setting got as far as creating the partition table and
 sda1. But then when it started on sda2, it failed saying there was no
 partition for sdb2, and so on for sdb3 - sdb6; these partitions did not
 exist. But that is what I thought cloning the proportional partition table
 was supposed to take into account. Clonezilla also reported that the target
 is smaller than the source, which is true based on sector counts if you
 don't take the size of the sectors into account.
 
 Googling for 'linux clone hard drive different sector size' and similar
 strings did not yield any helpful strategies.
 
 I would love to turn this wonderful 750 GB hard drive into something useful.
 Does anyone have some suggestions for cloning a 512b sector drive to a 4096b
 sector drive?
 
 Thanks,
 
 Mark
 
 On Mon, Jul 18, 2011 at 6:39 AM, Mark Phillips
 m...@phillipsmarketing.bizwrote:
 
 Joseph,

 Thanks. I thought that might be a problem, and clonezilla has the option
 for a proportional partition table. I will try that tonight.

 Mark


 On Sun, Jul 17, 2011 at 11:24 PM, Joseph Sinclair 
 plug-discuss...@stcaz.net wrote:

 You're dealing with something that's affecting more people.
 The old drive has what *was* the normal sector size for MANY years, 512
 bytes.
 The new drive has what *is now* becoming standard, 4096 bytes.

 The 'use the partition table from the source' option in clonezilla is not
 going to work.
 You CANNOT use a partition table for a 512 byte sector size directly on a
 disk with 4096 byte sectors.  The partition table records a number of
 sectors, and you're copying it without translation, so the new drive thinks
 it has partitions 8 times the size of the old; and the later ones run off
 the end of the disk.
 I'm not familiar with clonezilla, but I think there are options to
 configure a destination partition table proportional to the source. That's
 a bit more complex, but it's probably the only way to make it work with your
 situation.

 Hopefully that helps.

 ==Joseph++

 On 07/17/2011 10:57 PM, Mark Phillips

Re: Need Help Cloning a Drive

2011-07-18 Thread Joseph Sinclair
You're dealing with something that's affecting more people.
The old drive has what *was* the normal sector size for MANY years, 512 bytes.
The new drive has what *is now* becoming standard, 4096 bytes.

The 'use the partition table from the source' option in clonezilla is not going 
to work.
You CANNOT use a partition table for a 512 byte sector size directly on a disk 
with 4096 byte sectors.  The partition table records a number of sectors, and 
you're copying it without translation, so the new drive thinks it has 
partitions 8 times the size of the old; and the later ones run off the end of 
the disk.
I'm not familiar with clonezilla, but I think there are options to configure a 
destination partition table proportional to the source. That's a bit more 
complex, but it's probably the only way to make it work with your situation.

Hopefully that helps.

==Joseph++

On 07/17/2011 10:57 PM, Mark Phillips wrote:
 Well, Clonezilla is having problems cloning my drive.
 
 I first booted into Debian and created one big ext3 partition on the new
 drive (750 GB), old drive is 320 GB. Then fired up Clonzilla. I took all the
 defaults, chose device to device, expert, and local disk to local disk, and
 chose sda as the source and sdb as the target. l kept the default options:
 -g auto -e1 auto -e2 -j2 -v, and 'use the partition table from the source'.
 I get a' successfully wrote partition table'. Then I get the Error can't
 have a partition outside disk and Clonezilla dies. Here is what I get with
 fdisk after booting back into Debian
 
 orca:/home/mark# fdisk -l
 
 Disk /dev/sda: 320.1 GB, 320072933376 bytes
 255 heads, 63 sectors/track, 38913 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x81d6785f
 
Device Boot  Start End  Blocks   Id  System
 /dev/sda1   1   5   40131   de  Dell Utility
 /dev/sda2   *   6191815367  HPFS/NTFS
 /dev/sda31918701740963092+   7  HPFS/NTFS
 /dev/sda47018   38913   2562046205  Extended
 /dev/sda5   *7018   37615   245778403+  83  Linux
 /dev/sda6   37616   3891310426153+  82  Linux swap / Solaris
 Note: sector size is 4096 (not 512)
 Warning: ignoring extra data in partition table 5
 Warning: ignoring extra data in partition table 5
 Warning: ignoring extra data in partition table 5
 Warning: invalid flag 0xbfbb of partition table 5 will be corrected by
 w(rite)
 
 Disk /dev/sdb: 750.2 GB, 750156374016 bytes
 255 heads, 63 sectors/track, 11400 cylinders
 Units = cylinders of 16065 * 4096 = 65802240 bytes
 Sector size (logical/physical): 4096 bytes / 4096 bytes
 I/O size (minimum/optimal): 4096 bytes / 4096 bytes
 Disk identifier: 0x81d6785f
 
Device Boot  Start End  Blocks   Id  System
 /dev/sdb1   1   5  321048   de  Dell Utility
 Partition 1 does not start on physical sector boundary.
 /dev/sdb2   *   61918   122887  HPFS/NTFS
 /dev/sdb319187017   3277047407  HPFS/NTFS
 /dev/sdb47018   38913  20496369605  Extended
 Partition 4 does not start on physical sector boundary.
 /dev/sdb5   ?   82628  130208  3057478824   48  Unknown
 orca:/home/mark#
 
 Any ideas how I can fix this error and clone my drive to the new drive?
 
 Thanks,
 
 Mark
 
 On Sun, Jul 17, 2011 at 4:10 PM, Stephen cryptwo...@gmail.com wrote:
 
 Woo hoo!
 On Jul 17, 2011 11:55 AM, Mark Phillips m...@phillipsmarketing.biz
 wrote:
 I took a look at clonezilla again, and found an amd64 iso in clonezilla
 testing. I tried that one, and it worked on my laptop. I will try a clone
 tonight (I like to make my laptop work while I sleep;) ), so I will
 let
 you know in the morning. Perhaps the ubuntu version was not amd64 and
 that
 may be why it barfed? I tried the CD on a another machine (i386) and it
 booted up OK.

 As of right now, it is humming along nicely on the old drive.

 Thanks!

 Mark

 On Sun, Jul 17, 2011 at 8:52 AM, Mark Phillips
 m...@phillipsmarketing.bizwrote:



 On Sun, Jul 17, 2011 at 3:51 PM, Mark Phillips 
 m...@phillipsmarketing.biz
 wrote:

 I tried the alt media and it did not work. - 20110530-natty,


 Mark


 On Sun, Jul 17, 2011 at 3:48 PM, Stephen cryptwo...@gmail.com wrote:

 I have never seen that. It has run on a wild array of hardware. Try
 thealt media based on Ubuntu. You might have better results
 On Jul 17, 2011 8:46 AM, Mark Phillips m...@phillipsmarketing.biz
 wrote:
 On Sun, Jul 17, 2011 at 3:04 PM, Stephen cryptwo...@gmail.com
 wrote:

 Honestly I suggest clonezilla for this. It will get everything
 windows
 Linux grub etc.

 I forgot to add that I first tried clonezilla, and it would not run
 on
 my
 laptop. All I got was a black screen and a gray box.

 Mark


 On Jul 17, 2011 7:48 AM, 

Re: Google Search Restriction

2011-07-18 Thread Joseph Sinclair
If you're logged in and search, you should see search tools on the left column.
You can select a date range and other criteria there.  It's one extra step 
(search, then select date range), but it's a little bit easier than advanced 
search.


On 07/18/2011 04:09 PM, Dazed_75 wrote:
 Thanks Hans and Stephen,
 
 Hans, the only add-on I found to set search defaults only works with FF 1
 and 2
 
 Stephen: That is one of the things I was looking for but typing
 daterange:2455395-2455760 is harder than going to the Advanced search since
 you have to figure out the Julian dates yourself.
 
 
 On Mon, Jul 18, 2011 at 3:38 PM, Stephen cryptwo...@gmail.com wrote:
 
 Does this do what you want?

 http://reviews.cnet.com/4520-10165_7-6206764-2.html

 On Mon, Jul 18, 2011 at 3:31 PM, Dazed_75 lthiels...@gmail.com wrote:
 Does anyone know a way to set a default or to specify search results be
 restricted to, say, the last year WITHOUT having to go to Advanced Search
 every time.  I am REALLY tired of search results for Linux that are so
 far
 out of time as to be too often useless.

 --
 Dazed_75 a.k.a. Larry

 The spirit of resistance to government is so valuable on certain
 occasions,
 that I wish it always to be kept alive.
   - Thomas Jefferson

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss




 --
 A mouse trap, placed on top of your alarm clock, will prevent you from
 rolling over and going back to sleep after you hit the snooze button.

 Stephen
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: applet clock ext hdd

2011-07-16 Thread Joseph Sinclair
I can't help with the clock; I just adjust the settings on the default clock 
applet and it displays how I like...

For an EXT hard drive for backup, there are a couple of options:
1) low-cost USB drive from the likes of Western Digital, Seagate, or similar.
  a) Cheap ($100/TB or less).
  b) Slow and you have to remember to connect/disconnect properly.
2) eSATA enclosure.
  a) A bit more costly (around $150/TB)
  b) Fast and you can leave it connected from boot-to-shutdown on desktops all 
the time.

Either way, I'd recommend a single large partition (EXT4 or XFS, XFS is far 
more stable, but EXT4 has newer features).
For backup, you can rsync to a directory named for the date under a main backup 
directory (e.g. /media/backup_disk/MyBackups/20110716T19/).
This has several advantages over using a lot of small partitions:
  1) Using different directories on a single partition makes it easier to 
manage all the data (plus you don't hit the limits on the number of partitions 
permitted on a device).
  2) It avoids the problem of figuring out which partition to mount for a 
backup without mounting them all and searching through the contents.
  3) It makes rotation simpler (just delete anything more than X days old after 
a backup if the disk is getting more than Y% full).
  4) With the right directory names (like the example above) you can find the 
most recent backup easily as well.
a) just list them (ls -lh), the last one listed will always be the most 
recent if you use a format that sorts correctly.

As far as what drive to buy, I'd get one of the following (in no particular 
order):
*) Western Digital MyBook Essential 3TB (on sale this week and next at Costco 
and BestBuy for $129)
*) Western Digital MyBook Essential 2TB ($99 at BestBuy)
*) Western Digital Elements 2TB ($99 at BestBuy)
*) Seagate FreeAgent GoFlex Desk 2TB ($102 at BestBuy)
*) Toshiba 2TB External USB 3.0 ($110 at Best Buy)
*) Toshiba 1TB External USB 2.0/eSATA ($80 at BestBuy)


You might also consider the (Buffalo Technology LinkStation Live 1TB) as a 
cost-effective NAS alternative (it's $130 at BestBuy).
That would allow you to keep your backups elsewhere in the house (anywhere your 
LAN cables, no wireless, reach).
You'd have to mount the network share from the NAS to a directory on your 
desktop, and just rsync to a subdirectory under that; no muss/no fuss.
It's not lightning fast to do things that way, but it's relatively simple and 
easy to set-and-forget.


On 07/16/2011 07:21 PM, betty wrote:
 Looking for a nice digital clock, can be time and date or just time; to 
 reside in the panel. Don't see that 'time and date' that come with ubuntu 
 make anything readable on a glance. Also looked at wmtime and aclock. Not 
 impressed; any suggestions?
 
 Looking to get a new ext hdd for backup. (currently using an old 5 1/4 wd hdd 
 in a box w/fan)  looking at 1 TB or 0.5 TB. My whole home folder is only 32 
 GB. I use rsync to back up. (please don't suggest something else because i am 
 old and i am comfortable with this; think - 'mom' . So the question is, how 
 to partition the hdd.(and what is a good one to get)  should i make a bunch 
 of little (50GB) partitions that i just rotate as i do backups? Since that 
 seems like the most obvious and easiest to me, i know it must not be correct. 
 :)
 
 Thanks once again for all the help. Virtual cookies and ice cream to all !!
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Re ext hdd

2011-07-16 Thread Joseph Sinclair
rsync will treat each dir as a separate backup; you'll want to rotate to new 
directories only when you want to move to a new backup (e.g. each month or so).

The filesystem on the destination does not have to match the filesystem on the 
source (so it's OK to have ext3 on your homedir and back that up to XFS).

The main backup dir would be the directory that contains all the rotating 
backup directories.
e.g. (MyBackups is the main backup directory in this example)
/media/backup_disk
+
 | MyBackups
 |+
   | 20110716T19
   | 20110816T19
   | 20110916T19
   | 20111016T19

That way you use rsync to keep a current backup in the latest directory and 
every so often (perhaps monthly) you start a new directory.

The first backup in each directory takes a while (consider that a full 
backup) while it only takes a few minutes to update each (e.g.) day until the 
next full backup.

That way you have a longer backup window (several months) when you can recover 
something lost or accidentally deleted.

I don't know the details of your current process, so I'm basing this off of 
your description of what you had planned to do with partitions.

The command to make each monthly directory would look something like this:
  mkdir -p /media/backup_disk/MyBackups/$(date '+%Y%m%dT%H%M')
or this if you don't want the time in the directory name:
  mkdir -p /media/backup_disk/MyBackups/$(date '+%Y%m%d')


On 07/16/2011 08:44 PM, betty wrote:
 Thanks, your response -  was very clear. only thing i'm not sure about is the 
 naming a main back up directory.
 so does that mean that after i format it for ext4 or xfs that  i make a dir. 
 called
 /media/backup_disk/MyBackups/20110716T19/).
 ?
 then on subsequent back ups i name them for example
 /media/backup_disk/MyBackups/20110816T19/).(note month change)
 what prevents rsync from thinking that this is a whole new dir? I guess i'm 
 not clear on what a 'main backup dir' is.
 
 can i use xfs as the format if my current home dir is on ext3 or 4?
 Thanks,
 betty i
 
 
 
 On 07/16/2011 07:48 PM, Joseph Sinclair wrote:
 For backup, you can rsync to a directory named for the date under a main 
 backup directory (e.g. /media/backup_disk/MyBackups/20110716T19/).
 This has several advantages over using a lot of small partitions:
1) Using different directories on a single partition makes it easier to 
 manage all the data (plus you don't hit the limits on the number of 
 partitions permitted on a device).
2) It avoids the problem of figuring out which partition to mount for a 
 backup without mounting them all and searching through the contents.
3) It makes rotation simpler (just delete anything more than X days old 
 after a backup if the disk is getting more than Y% full).
4) With the right directory names (like the example above) you can find 
 the most recent backup easily as well.
 
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Looking for NAS Hardware Recommendations

2011-07-13 Thread Joseph Sinclair
The best suggestion I can make (other than waiting for acp_commander to get an 
update so it's able to open up the 1.43 firmware) is to use the Windows or Mac 
uploader to upload your modified firmware.

On 07/13/2011 05:45 PM, Mark Phillips wrote:
 On Tue, Jul 12, 2011 at 10:38 PM, Joseph Sinclair plug-discuss...@stcaz.net
 wrote:
 
 I missed the 1.43 part...  Seems they've improved security.

 If you can get a shell prompt with acp_commander, try running whoami. If
 you're already root, then passwd -d root will clear the current password,
 and you can then set it to anything you like with passwd

 
 I get a shell prompt, but nothing seems to work. Every command returns 3
 blank lines and a prompt.
 

 The only safe way to upload firmware is, unfortunately, a Windows or Mac
 binary that's included with the firmware update.

 That said, you can try
 http://buffalo.nas-central.org/wiki/Manually_flash_the_LinkStation%27s_firmwareif
  you're brave.

 That looks good, but I cannot access /dev/fl1 from the telnet prompt I get.
 Nothing works at that prompt.
 

 You might also just try (from an acp_commander shell prompt) copying the
 ssh key (put it on a share first) from the array locally over to
 /root/.ssh/authorized_keys (make sure to check permissions after copying),
 then try ssh.

 
 Good idea, if I could just get telnet to work. Any thoughts on that?
 

 good luck.

 On 07/12/2011 09:59 PM, Joseph Sinclair wrote:
 You shouldn't need to change or upload firmware.

 acp_commander can reset the root password (If it can get a shell prompt
 it should be able to reset the password...)
   java -jar acp_commander.jar -t $YOUR_NAS_IP_ADDRESS -o
 That will clear the root password to nothing, allowing you to login via
 ssh or telnet as root with the (blank) password.

 You should be able to re-secure things from there (ideally drop an SSH
 key in for root, create a second account that can sudo and drop a key there
 as well, then lock the password for both to prevent password login and
 disable telnet).

 On 07/12/2011 02:25 PM, Mark Phillips wrote:
 Joeseph,

 One more issue, oh Great Buffalo NAS one;-)

 I started to work on rooting the device by following this
 http://buffalo.nas-central.org/wiki/Category:LS-WXL. First stumbling
 block
 is I have firmware 1.43. However, the zip key for 1.41 worked to unzip
 the
 firmware image. It turns out ssh is already enabled for root in 1.43,
 but
 one needs a password. It is not the same as the admin password. So, I
 set up
 an ssh key and put the disk image back together as described in the
 article.
 However, how do I get the LS-WXL beastie to gobble up the new firmware?

 The web access only allows firmware to be downloaded from Buffalo (no
 upload
 file dialog, just a button to update the firmware, which only goes to
 Buffalo to check on available updates, and then installs them), and the
 Windows software does not have an option to upload firmware, either. I
 can
 get in with acp_commander to the shell prompt, which seems to be a
 disguised
 telnet prompt, so I am not sure how to upload new firmware via that
 method.

 Anyway to get the root password from the device or the file system I
 downloaded so I can use that to ssh in and not have to replace the
 firmware?

 Thanks for any further suggestions you may have!

 Mark


 On Mon, Jul 11, 2011 at 7:13 AM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:

 rsync will preserve ownership if you set the option to do so (I don't
 recall the exact flag offhand).
 I actually prefer rsync over the Samba mount because cifs doesn't
 understand POSIX permissions.

 If you root the box you can certainly do the rsync over ssh, but on a
 local
 net native(uncompressed) rsync protocol is *immensely* faster because
 the
 little ARM chip in the NAS can't handle the ssh encrypt/decrypt very
 fast.

 SSH is useful for a lot of things, but I prefer the rsync daemon for
 rsync.

 IIRC backuppc can handle the hardlink issue via rsync (rsync can
 preserve
 hardlinks, softlinks, etc...), but if not then your best bet might be
 to
 install something more NAS-friendly.

 I'd not recommend installing Debian.  It's possible, but the machine is
 quite limited in CPU and RAM, so the experience is likely to be
 somewhat
 frustrating.  Most of the people who install Debian are running
 Terastations, which have desktop CPU's rather than ARM chips (and cost
 5
 times more).

 On 07/10/2011 10:42 PM, Mark Phillips wrote:
 In the shared folders section, one can check Windows, Apple, disk
 backup,
 ftp, and sftp. When I clicked Windows and backup, rsync works.

 mark@orca:~/Desktop$ rsync SANY0002.JPG
 rsync://xxx.xxx.xxx.xxx/array1_fred/
 mark@orca:~/Desktop$ rsync rsync://xxx.xxx.xxx.xxx/
 array1_fred
 mark@orca:~/Desktop$

 The file was copied to fred, as verified by ftp.

 Thanks for the link. I am worried that backup files will loose their
 ownership attributes when I back them up, as the poster says:

 Yes, you can use rsync on another

Re: Looking for NAS Hardware Recommendations

2011-07-13 Thread Joseph Sinclair
It's in the firmware zip file[1], something like FWUpdate.exe (they change the 
name sometimes).

[1] http://www.buffalotech.com/support/getfile/ls_series-143.zip


On 07/13/2011 08:55 PM, Mark Phillips wrote:
 On Wed, Jul 13, 2011 at 7:09 PM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:
 
 The best suggestion I can make (other than waiting for acp_commander to get
 an update so it's able to open up the 1.43 firmware) is to use the Windows
 or Mac uploader to upload your modified firmware.

 
 I installed the Windows sw that came with the box on the CD, but there is no
 option there to upload a file. Is there another piece of software that is
 the Windows uploader? Where do I get it?
 
 Thanks,
 
 Mark
 

 On 07/13/2011 05:45 PM, Mark Phillips wrote:
 On Tue, Jul 12, 2011 at 10:38 PM, Joseph Sinclair 
 plug-discuss...@stcaz.net
 wrote:

 I missed the 1.43 part...  Seems they've improved security.

 If you can get a shell prompt with acp_commander, try running whoami. If
 you're already root, then passwd -d root will clear the current
 password,
 and you can then set it to anything you like with passwd


 I get a shell prompt, but nothing seems to work. Every command returns 3
 blank lines and a prompt.


 The only safe way to upload firmware is, unfortunately, a Windows or Mac
 binary that's included with the firmware update.

 That said, you can try

 http://buffalo.nas-central.org/wiki/Manually_flash_the_LinkStation%27s_firmwareifyou're
  brave.

 That looks good, but I cannot access /dev/fl1 from the telnet prompt I
 get.
 Nothing works at that prompt.


 You might also just try (from an acp_commander shell prompt) copying the
 ssh key (put it on a share first) from the array locally over to
 /root/.ssh/authorized_keys (make sure to check permissions after
 copying),
 then try ssh.


 Good idea, if I could just get telnet to work. Any thoughts on that?


 good luck.

 On 07/12/2011 09:59 PM, Joseph Sinclair wrote:
 You shouldn't need to change or upload firmware.

 acp_commander can reset the root password (If it can get a shell prompt
 it should be able to reset the password...)
   java -jar acp_commander.jar -t $YOUR_NAS_IP_ADDRESS -o
 That will clear the root password to nothing, allowing you to login via
 ssh or telnet as root with the (blank) password.

 You should be able to re-secure things from there (ideally drop an SSH
 key in for root, create a second account that can sudo and drop a key
 there
 as well, then lock the password for both to prevent password login and
 disable telnet).

 On 07/12/2011 02:25 PM, Mark Phillips wrote:
 Joeseph,

 One more issue, oh Great Buffalo NAS one;-)

 I started to work on rooting the device by following this
 http://buffalo.nas-central.org/wiki/Category:LS-WXL. First stumbling
 block
 is I have firmware 1.43. However, the zip key for 1.41 worked to unzip
 the
 firmware image. It turns out ssh is already enabled for root in 1.43,
 but
 one needs a password. It is not the same as the admin password. So, I
 set up
 an ssh key and put the disk image back together as described in the
 article.
 However, how do I get the LS-WXL beastie to gobble up the new
 firmware?

 The web access only allows firmware to be downloaded from Buffalo (no
 upload
 file dialog, just a button to update the firmware, which only goes to
 Buffalo to check on available updates, and then installs them), and
 the
 Windows software does not have an option to upload firmware, either. I
 can
 get in with acp_commander to the shell prompt, which seems to be a
 disguised
 telnet prompt, so I am not sure how to upload new firmware via that
 method.

 Anyway to get the root password from the device or the file system I
 downloaded so I can use that to ssh in and not have to replace the
 firmware?

 Thanks for any further suggestions you may have!

 Mark


 On Mon, Jul 11, 2011 at 7:13 AM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:

 rsync will preserve ownership if you set the option to do so (I don't
 recall the exact flag offhand).
 I actually prefer rsync over the Samba mount because cifs doesn't
 understand POSIX permissions.

 If you root the box you can certainly do the rsync over ssh, but on a
 local
 net native(uncompressed) rsync protocol is *immensely* faster because
 the
 little ARM chip in the NAS can't handle the ssh encrypt/decrypt very
 fast.

 SSH is useful for a lot of things, but I prefer the rsync daemon for
 rsync.

 IIRC backuppc can handle the hardlink issue via rsync (rsync can
 preserve
 hardlinks, softlinks, etc...), but if not then your best bet might be
 to
 install something more NAS-friendly.

 I'd not recommend installing Debian.  It's possible, but the machine
 is
 quite limited in CPU and RAM, so the experience is likely to be
 somewhat
 frustrating.  Most of the people who install Debian are running
 Terastations, which have desktop CPU's rather than ARM chips (and
 cost
 5
 times more).

 On 07/10/2011 10:42 PM, Mark Phillips wrote:
 In the shared

Re: Looking for NAS Hardware Recommendations

2011-07-12 Thread Joseph Sinclair
You shouldn't need to change or upload firmware.

acp_commander can reset the root password (If it can get a shell prompt it 
should be able to reset the password...)
  java -jar acp_commander.jar -t $YOUR_NAS_IP_ADDRESS -o
That will clear the root password to nothing, allowing you to login via ssh or 
telnet as root with the (blank) password.

You should be able to re-secure things from there (ideally drop an SSH key in 
for root, create a second account that can sudo and drop a key there as well, 
then lock the password for both to prevent password login and disable telnet).

On 07/12/2011 02:25 PM, Mark Phillips wrote:
 Joeseph,
 
 One more issue, oh Great Buffalo NAS one;-)
 
 I started to work on rooting the device by following this
 http://buffalo.nas-central.org/wiki/Category:LS-WXL. First stumbling block
 is I have firmware 1.43. However, the zip key for 1.41 worked to unzip the
 firmware image. It turns out ssh is already enabled for root in 1.43, but
 one needs a password. It is not the same as the admin password. So, I set up
 an ssh key and put the disk image back together as described in the article.
 However, how do I get the LS-WXL beastie to gobble up the new firmware?
 
 The web access only allows firmware to be downloaded from Buffalo (no upload
 file dialog, just a button to update the firmware, which only goes to
 Buffalo to check on available updates, and then installs them), and the
 Windows software does not have an option to upload firmware, either. I can
 get in with acp_commander to the shell prompt, which seems to be a disguised
 telnet prompt, so I am not sure how to upload new firmware via that method.
 
 Anyway to get the root password from the device or the file system I
 downloaded so I can use that to ssh in and not have to replace the firmware?
 
 Thanks for any further suggestions you may have!
 
 Mark
 
 
 On Mon, Jul 11, 2011 at 7:13 AM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:
 
 rsync will preserve ownership if you set the option to do so (I don't
 recall the exact flag offhand).
 I actually prefer rsync over the Samba mount because cifs doesn't
 understand POSIX permissions.

 If you root the box you can certainly do the rsync over ssh, but on a local
 net native(uncompressed) rsync protocol is *immensely* faster because the
 little ARM chip in the NAS can't handle the ssh encrypt/decrypt very fast.

 SSH is useful for a lot of things, but I prefer the rsync daemon for rsync.

 IIRC backuppc can handle the hardlink issue via rsync (rsync can preserve
 hardlinks, softlinks, etc...), but if not then your best bet might be to
 install something more NAS-friendly.

 I'd not recommend installing Debian.  It's possible, but the machine is
 quite limited in CPU and RAM, so the experience is likely to be somewhat
 frustrating.  Most of the people who install Debian are running
 Terastations, which have desktop CPU's rather than ARM chips (and cost 5
 times more).

 On 07/10/2011 10:42 PM, Mark Phillips wrote:
 In the shared folders section, one can check Windows, Apple, disk backup,
 ftp, and sftp. When I clicked Windows and backup, rsync works.

 mark@orca:~/Desktop$ rsync SANY0002.JPG
 rsync://xxx.xxx.xxx.xxx/array1_fred/
 mark@orca:~/Desktop$ rsync rsync://xxx.xxx.xxx.xxx/
 array1_fred
 mark@orca:~/Desktop$

 The file was copied to fred, as verified by ftp.

 Thanks for the link. I am worried that backup files will loose their
 ownership attributes when I back them up, as the poster says:

 Yes, you can use rsync on another machine to connect to the
 rsync-enabled
 shares on a LSpro; BUT all the files created by this method on the LSpro
 are
 owned by root/root and not by any of the users created on the LSpro, and
 there is no way to delete or update these files except by using the rsync
 command.

 If I root the device and enable ssh, then I can rsync in via ssh and
 bypass
 all this Buffalo c**p, right? Backuppc also depends on hard links, so
 perhaps I have to go all the way and install Debian on the box?

 Mark

 On Sun, Jul 10, 2011 at 10:18 PM, Joseph Sinclair 
 plug-discuss...@stcaz.net
 wrote:

 For the mount, you can just use normal mount with -t cifs (or put it in
 fstab with cifs as the filesystem type).
 umount is generic; the unmount interface standardized a while back,
 that's
 why umount.cifs is no longer in Debian, it's obsolete.

 For rsync, the module name will never have a space.  Given that it's not
 showing up the way we expect, my best guess is the module naming changed
 in
 the most recent revisions of the firmware.
 It seems something odd is going on, quite possibly the rsync daemon is
 running but no shares are enabled as backup targets.
 According to the Linkstation forums on buffalo.nas-central.org, You
 have
 to go into the backup section in the web interface and set each share
 that's
 supposed to be available via rsync as a backup target (not entirely sure
 what that looks like).
 Here's the post I found:
 http

Re: need help installing to a USB stick

2011-07-12 Thread Joseph Sinclair
If you can run the usb-creator-gtk program (apt-get install usb-creator-gtk), 
that will install from any ISO; it doesn't have to be the system you're using.
It's a gui, however, so not ideal, but it's easier than trying to do a standard 
install on a USB drive.  The installer takes about 1G, just allocate *all* of 
the rest of the drive to the reserved extra space and your rommate should be 
able to go forward from there with no major issues (as long as they don't dump 
too much stuff on the drive, 8G runs out kind of fast if you're not careful).
You can start it with usb-creator-gtk --iso=path-to-your-.iso to make for a 
little bit less screen reading work.

Just download the kubuntu iso and use the above program to install it on your 
rommate's USB stick, and you're good to go.


On 07/12/2011 12:07 PM, Technomage Hawke wrote:
 My roomate just handed me a 8 GB USB memory stick. He wants me to install a 
 fully operational Ubuntu 11 system to it. unfortunately, all I have is a 
 vinux install dvd and a mac. since the Ubuntu install doesn't have speech or 
 braille support enabled at startup, I find myself in a position of needing 
 some help. 
 
 I am at a loss for the first time since I started using linux. Also, this is 
 the first time since using linux that I have forced to use it totally blind 
 (before I was merely just a very low partial using very large print). since 
 going total last year, I have found doing some things (like computer tech 
 support) a lot more difficult.I know that vinux is ubuntu based, but it 
 doesn't include support for KDE (which is what the room mate wants).
 
 anyone have any suggestions or help they can offer?
 
 -Eric
 Phone: 623-399-5635
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Looking for NAS Hardware Recommendations

2011-07-12 Thread Joseph Sinclair
I missed the 1.43 part...  Seems they've improved security.

If you can get a shell prompt with acp_commander, try running whoami. If you're 
already root, then passwd -d root will clear the current password, and you 
can then set it to anything you like with passwd

The only safe way to upload firmware is, unfortunately, a Windows or Mac binary 
that's included with the firmware update.

That said, you can try 
http://buffalo.nas-central.org/wiki/Manually_flash_the_LinkStation%27s_firmware 
if you're brave.

You might also just try (from an acp_commander shell prompt) copying the ssh 
key (put it on a share first) from the array locally over to 
/root/.ssh/authorized_keys (make sure to check permissions after copying), then 
try ssh.

good luck.

On 07/12/2011 09:59 PM, Joseph Sinclair wrote:
 You shouldn't need to change or upload firmware.
 
 acp_commander can reset the root password (If it can get a shell prompt it 
 should be able to reset the password...)
   java -jar acp_commander.jar -t $YOUR_NAS_IP_ADDRESS -o
 That will clear the root password to nothing, allowing you to login via ssh 
 or telnet as root with the (blank) password.
 
 You should be able to re-secure things from there (ideally drop an SSH key in 
 for root, create a second account that can sudo and drop a key there as well, 
 then lock the password for both to prevent password login and disable telnet).
 
 On 07/12/2011 02:25 PM, Mark Phillips wrote:
 Joeseph,

 One more issue, oh Great Buffalo NAS one;-)

 I started to work on rooting the device by following this
 http://buffalo.nas-central.org/wiki/Category:LS-WXL. First stumbling block
 is I have firmware 1.43. However, the zip key for 1.41 worked to unzip the
 firmware image. It turns out ssh is already enabled for root in 1.43, but
 one needs a password. It is not the same as the admin password. So, I set up
 an ssh key and put the disk image back together as described in the article.
 However, how do I get the LS-WXL beastie to gobble up the new firmware?

 The web access only allows firmware to be downloaded from Buffalo (no upload
 file dialog, just a button to update the firmware, which only goes to
 Buffalo to check on available updates, and then installs them), and the
 Windows software does not have an option to upload firmware, either. I can
 get in with acp_commander to the shell prompt, which seems to be a disguised
 telnet prompt, so I am not sure how to upload new firmware via that method.

 Anyway to get the root password from the device or the file system I
 downloaded so I can use that to ssh in and not have to replace the firmware?

 Thanks for any further suggestions you may have!

 Mark


 On Mon, Jul 11, 2011 at 7:13 AM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:

 rsync will preserve ownership if you set the option to do so (I don't
 recall the exact flag offhand).
 I actually prefer rsync over the Samba mount because cifs doesn't
 understand POSIX permissions.

 If you root the box you can certainly do the rsync over ssh, but on a local
 net native(uncompressed) rsync protocol is *immensely* faster because the
 little ARM chip in the NAS can't handle the ssh encrypt/decrypt very fast.

 SSH is useful for a lot of things, but I prefer the rsync daemon for rsync.

 IIRC backuppc can handle the hardlink issue via rsync (rsync can preserve
 hardlinks, softlinks, etc...), but if not then your best bet might be to
 install something more NAS-friendly.

 I'd not recommend installing Debian.  It's possible, but the machine is
 quite limited in CPU and RAM, so the experience is likely to be somewhat
 frustrating.  Most of the people who install Debian are running
 Terastations, which have desktop CPU's rather than ARM chips (and cost 5
 times more).

 On 07/10/2011 10:42 PM, Mark Phillips wrote:
 In the shared folders section, one can check Windows, Apple, disk backup,
 ftp, and sftp. When I clicked Windows and backup, rsync works.

 mark@orca:~/Desktop$ rsync SANY0002.JPG
 rsync://xxx.xxx.xxx.xxx/array1_fred/
 mark@orca:~/Desktop$ rsync rsync://xxx.xxx.xxx.xxx/
 array1_fred
 mark@orca:~/Desktop$

 The file was copied to fred, as verified by ftp.

 Thanks for the link. I am worried that backup files will loose their
 ownership attributes when I back them up, as the poster says:

 Yes, you can use rsync on another machine to connect to the
 rsync-enabled
 shares on a LSpro; BUT all the files created by this method on the LSpro
 are
 owned by root/root and not by any of the users created on the LSpro, and
 there is no way to delete or update these files except by using the rsync
 command.

 If I root the device and enable ssh, then I can rsync in via ssh and
 bypass
 all this Buffalo c**p, right? Backuppc also depends on hard links, so
 perhaps I have to go all the way and install Debian on the box?

 Mark

 On Sun, Jul 10, 2011 at 10:18 PM, Joseph Sinclair 
 plug-discuss...@stcaz.net
 wrote:

 For the mount, you can just use normal mount with -t cifs

Re: Looking for NAS Hardware Recommendations

2011-07-11 Thread Joseph Sinclair
rsync will preserve ownership if you set the option to do so (I don't recall 
the exact flag offhand).
I actually prefer rsync over the Samba mount because cifs doesn't understand 
POSIX permissions.

If you root the box you can certainly do the rsync over ssh, but on a local net 
native(uncompressed) rsync protocol is *immensely* faster because the little 
ARM chip in the NAS can't handle the ssh encrypt/decrypt very fast.

SSH is useful for a lot of things, but I prefer the rsync daemon for rsync.

IIRC backuppc can handle the hardlink issue via rsync (rsync can preserve 
hardlinks, softlinks, etc...), but if not then your best bet might be to 
install something more NAS-friendly.

I'd not recommend installing Debian.  It's possible, but the machine is quite 
limited in CPU and RAM, so the experience is likely to be somewhat frustrating. 
 Most of the people who install Debian are running Terastations, which have 
desktop CPU's rather than ARM chips (and cost 5 times more).

On 07/10/2011 10:42 PM, Mark Phillips wrote:
 In the shared folders section, one can check Windows, Apple, disk backup,
 ftp, and sftp. When I clicked Windows and backup, rsync works.
 
 mark@orca:~/Desktop$ rsync SANY0002.JPG rsync://xxx.xxx.xxx.xxx/array1_fred/
 mark@orca:~/Desktop$ rsync rsync://xxx.xxx.xxx.xxx/
 array1_fred
 mark@orca:~/Desktop$
 
 The file was copied to fred, as verified by ftp.
 
 Thanks for the link. I am worried that backup files will loose their
 ownership attributes when I back them up, as the poster says:
 
 Yes, you can use rsync on another machine to connect to the rsync-enabled
 shares on a LSpro; BUT all the files created by this method on the LSpro are
 owned by root/root and not by any of the users created on the LSpro, and
 there is no way to delete or update these files except by using the rsync
 command.
 
 If I root the device and enable ssh, then I can rsync in via ssh and bypass
 all this Buffalo c**p, right? Backuppc also depends on hard links, so
 perhaps I have to go all the way and install Debian on the box?
 
 Mark
 
 On Sun, Jul 10, 2011 at 10:18 PM, Joseph Sinclair plug-discuss...@stcaz.net
 wrote:
 
 For the mount, you can just use normal mount with -t cifs (or put it in
 fstab with cifs as the filesystem type).
 umount is generic; the unmount interface standardized a while back, that's
 why umount.cifs is no longer in Debian, it's obsolete.

 For rsync, the module name will never have a space.  Given that it's not
 showing up the way we expect, my best guess is the module naming changed in
 the most recent revisions of the firmware.
 It seems something odd is going on, quite possibly the rsync daemon is
 running but no shares are enabled as backup targets.
 According to the Linkstation forums on buffalo.nas-central.org, You have
 to go into the backup section in the web interface and set each share that's
 supposed to be available via rsync as a backup target (not entirely sure
 what that looks like).
 Here's the post I found:
 http://forum.buffalo.nas-central.org/viewtopic.php?p=41941#p41941
 It's not 100% applicable, but it should apply to your device fairly
 equally.


 On 07/10/2011 07:12 PM, Mark Phillips wrote:
 The only way I can gain access to the shares is to use the following. I
 created a new share called 'fred' and deleted the other shares:

 mount.cifs   //xxx.xxx.xxx.xxx/fred   /home/nas_share   -o user=user_name
 password=pass

 Of course, umount.cifs is no longer in Debian, but umount -f works to
 unmount the share.

 I cannot get rsync to work. According to the man page the following
 should
 return a list of shares:

 rsync rsync://xxx.xxx.xxx.xxx/

 Nothing is returned (eg a blank line). I tried telnet xxx.xxx.xxx.xxx 873
 and I got the rsync response @RSYNCD: 30.0, so the daemon is running, I
 suppose.

 The following all return 'unknown module' regardless of what name I put
 after the url (array1_fred, , array0_fred array2_fred)

 rsync some_file rsync://xxx.xxx.xxx.xxx/array1_fred/

 or a '/' instead of a '_' returns the same error for module array1,
 array2,
 array0. I also tried Array[0,1,2] with the same result. Some of the web
 pages show the name as Array 1, so I tried the capital A and a space, but
 still not luck.

 When I ftp into the box, the path to fred is xxx.xxx.xxx.xxx/array1/fred.

 I tried restarting the Linkstation, and no change.

 I also tried the alternative rsync format, rsync some_file
 xxx.xxx.xxx.xxx::array1_fred, and that did not work.

 Any more ideas on how to get rsync to work?

 Thanks!

 Mark

 On Sun, Jul 10, 2011 at 1:15 PM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:

 Dash and underscore are fine.
 The only way to reset the name using the standard web interface is to
 delete the share and re-create it with the new name.


 On 07/10/2011 11:23 AM, Mark Phillips wrote:
 Can the share name have a dash or underscore in it? How can I reset
 the
 share names?

 Thanks for all your help!

 Mark
 On Jul 10, 2011 10:59 AM, Joseph

Re: Looking for NAS Hardware Recommendations

2011-07-10 Thread Joseph Sinclair
The info folder is used by the web interface; don't delete that unless you'd 
like to reload the device from scratch ;)
The correct value should be array1_Hshare.  array1_Hshare is the rsync 
top-level module name, not a directory.

The issue you're seeing sounds like a case-match issue or something similar.  
The module will be exactly array1_ followed by the (initial) name of the 
directory on the array.
If you initially put spaces in, or changed the name, then you'll have a hard 
time figuring out the module name because it's based on the first name you give 
for the share; it doesn't get updated if you change the share name later.

Also, if you changed the RAID settings, then try using array2 or array0, just 
in case it changed the array numbering.

On 07/10/2011 09:42 AM, Mark Phillips wrote:
 On Fri, Jul 8, 2011 at 7:59 PM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:
 
 It's not in the manual, but the BuffaloLink mechanism that allows one NAS
 to backup another is rsync.
 You can rsync to the box (to do backups) with the following pattern:
 rsync ${OPTIONS} rsync://${BACKUP_SERVER}/array1_${SHARE_NAME}/${DIR_NAME}

 In order to create anything on the NAS without rooting the device, you need
 to go into the web admin screen and setup Samba (i.e. Windows) share's.
  That creates the directories at the top level of the RAID array
 (${SHARE_NAME} above). It also creates the rsync endpoints.

 I setup a shared folder on the NAS called Hshare. It is setup as a Windows,
 Apple and ftp shared folder. The ftp is so I can see if the file is
 there.yes, I should root the device to ssh into it, but I thought I
 would give this a try first.
 
 I then tried to rsync a file to the NAS box with this command:
 
 rsync -tlzv file_name rsync://xxx.xxx.xxx.xxx/array1/Hshare/
 
 and got this error:
 unknown module 'array1
 
 I then re-read your post carefully...;-) and tried this command
 
 rsync -tlzv file_name rsync://xxx.xxx.xxx.xxx/array1_Hshare/
 
 and got the error: unknown module 'array1_Hshare'
 
 When I ftp into the box, ftp://xxx.xxx.xxx.xxx, I see two folders, array1
 and info. When I drill down into array1 I see the Hshare folder.
 
 Your email said to use array1_share-name, and the rsync man page says
 array1/share-name as far as I can tell. Neither worked. What am I missing?
 
 Thanks!
 
 Mark
 
 P.S. There is a lot of stuff in the info folder that appeared after I set up
 the RAID1. Do I need it? Can I delete it?
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Looking for NAS Hardware Recommendations

2011-07-10 Thread Joseph Sinclair
Dash and underscore are fine.
The only way to reset the name using the standard web interface is to delete 
the share and re-create it with the new name.


On 07/10/2011 11:23 AM, Mark Phillips wrote:
 Can the share name have a dash or underscore in it? How can I reset the
 share names?
 
 Thanks for all your help!
 
 Mark
 On Jul 10, 2011 10:59 AM, Joseph Sinclair plug-discuss...@stcaz.net
 wrote:
 The info folder is used by the web interface; don't delete that unless
 you'd like to reload the device from scratch ;)
 The correct value should be array1_Hshare. array1_Hshare is the rsync
 top-level module name, not a directory.

 The issue you're seeing sounds like a case-match issue or something
 similar. The module will be exactly array1_ followed by the (initial) name
 of the directory on the array.
 If you initially put spaces in, or changed the name, then you'll have a
 hard time figuring out the module name because it's based on the first name
 you give for the share; it doesn't get updated if you change the share name
 later.

 Also, if you changed the RAID settings, then try using array2 or array0,
 just in case it changed the array numbering.




signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Looking for NAS Hardware Recommendations

2011-07-10 Thread Joseph Sinclair
For the mount, you can just use normal mount with -t cifs (or put it in fstab 
with cifs as the filesystem type).
umount is generic; the unmount interface standardized a while back, that's why 
umount.cifs is no longer in Debian, it's obsolete.

For rsync, the module name will never have a space.  Given that it's not 
showing up the way we expect, my best guess is the module naming changed in the 
most recent revisions of the firmware.
It seems something odd is going on, quite possibly the rsync daemon is running 
but no shares are enabled as backup targets.
According to the Linkstation forums on buffalo.nas-central.org, You have to go 
into the backup section in the web interface and set each share that's supposed 
to be available via rsync as a backup target (not entirely sure what that looks 
like).
Here's the post I found: 
http://forum.buffalo.nas-central.org/viewtopic.php?p=41941#p41941
It's not 100% applicable, but it should apply to your device fairly equally.


On 07/10/2011 07:12 PM, Mark Phillips wrote:
 The only way I can gain access to the shares is to use the following. I
 created a new share called 'fred' and deleted the other shares:
 
 mount.cifs   //xxx.xxx.xxx.xxx/fred   /home/nas_share   -o user=user_name
 password=pass
 
 Of course, umount.cifs is no longer in Debian, but umount -f works to
 unmount the share.
 
 I cannot get rsync to work. According to the man page the following should
 return a list of shares:
 
 rsync rsync://xxx.xxx.xxx.xxx/
 
 Nothing is returned (eg a blank line). I tried telnet xxx.xxx.xxx.xxx 873
 and I got the rsync response @RSYNCD: 30.0, so the daemon is running, I
 suppose.
 
 The following all return 'unknown module' regardless of what name I put
 after the url (array1_fred, , array0_fred array2_fred)
 
 rsync some_file rsync://xxx.xxx.xxx.xxx/array1_fred/
 
 or a '/' instead of a '_' returns the same error for module array1, array2,
 array0. I also tried Array[0,1,2] with the same result. Some of the web
 pages show the name as Array 1, so I tried the capital A and a space, but
 still not luck.
 
 When I ftp into the box, the path to fred is xxx.xxx.xxx.xxx/array1/fred.
 
 I tried restarting the Linkstation, and no change.
 
 I also tried the alternative rsync format, rsync some_file
 xxx.xxx.xxx.xxx::array1_fred, and that did not work.
 
 Any more ideas on how to get rsync to work?
 
 Thanks!
 
 Mark
 
 On Sun, Jul 10, 2011 at 1:15 PM, Joseph Sinclair
 plug-discuss...@stcaz.netwrote:
 
 Dash and underscore are fine.
 The only way to reset the name using the standard web interface is to
 delete the share and re-create it with the new name.


 On 07/10/2011 11:23 AM, Mark Phillips wrote:
 Can the share name have a dash or underscore in it? How can I reset the
 share names?

 Thanks for all your help!

 Mark
 On Jul 10, 2011 10:59 AM, Joseph Sinclair plug-discuss...@stcaz.net
 wrote:
 The info folder is used by the web interface; don't delete that unless
 you'd like to reload the device from scratch ;)
 The correct value should be array1_Hshare. array1_Hshare is the rsync
 top-level module name, not a directory.

 The issue you're seeing sounds like a case-match issue or something
 similar. The module will be exactly array1_ followed by the (initial)
 name
 of the directory on the array.
 If you initially put spaces in, or changed the name, then you'll have a
 hard time figuring out the module name because it's based on the first
 name
 you give for the share; it doesn't get updated if you change the share
 name
 later.

 Also, if you changed the RAID settings, then try using array2 or array0,
 just in case it changed the array numbering.



 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Looking for NAS Hardware Recommendations

2011-07-08 Thread Joseph Sinclair
It's not in the manual, but the BuffaloLink mechanism that allows one NAS to 
backup another is rsync.
You can rsync to the box (to do backups) with the following pattern:
rsync ${OPTIONS} rsync://${BACKUP_SERVER}/array1_${SHARE_NAME}/${DIR_NAME}

In order to create anything on the NAS without rooting the device, you need to 
go into the web admin screen and setup Samba (i.e. Windows) share's.  That 
creates the directories at the top level of the RAID array (${SHARE_NAME} 
above). It also creates the rsync endpoints.

You can use cifs to mount the NAS shares as directories in Linux (apt-get 
install cifs-utils in Debian or Ubuntu).
For example (filling in the variables below, of course):
echo //${NAS_DEVICE_IP}/${SHARE_NAME}  /home/share/${SHARE_NAME}   cifs
file_mode=0644,dir_mode=0755,uid=${YOUR_USER_ID:=1000},gid=${YOUR_GROUP_ID:=100},rw
 0   0 /etc/fstab

There's very little you cannot do with the device without rooting it, but 
rooting it as described below does add the availablity of SSH, sshfs, and 
several other advanced options.

If you want to use backuppc, you need to set it to use rsync as the underlying 
protocol (or smb/cifs, either works just fine with the NAS you have).
I don't know a lot about backuppc; perhaps someone else on the list can provide 
the details for that.

Happy hacking.


On 07/08/2011 04:03 PM, Mark Phillips wrote:
 I am now the proud owner of a Buffalo Technology LinkStation Duo 2 TB (2 x 1
 TB) Network Attached Storage LS-WX2.0TL/R1.The only way I seem to be
 able to access it out of the box is using ftp to save files from my Linux
 boxes. I can get to the web admin screens just fine.
 
 Do I have to root the device to use it as a backup server for my Linux
 boxes? I was hoping to automate my backups using backuppc, but I now
 discover that I either need to run this box using NFS or install backuppc on
 the box itself.
 
 I also can't seem to get it into RAID1 mode.the setup/user manual
 procedure does not seem to work.  I posted to the buffalo support forums and
 I am waiting for a response.
 
 Thanks for any suggestions for (1) how to automate backups from 'nix boxes
 to this device and how to get RAID1 working.
 
 Mark
 
 On Mon, Jul 4, 2011 at 3:51 PM, Lisa Kachold lisakach...@obnosis.comwrote:
 
 Great suggestions all!

 I have also setup Buffalo for others and also use a rooted one myself.


 On Mon, Jul 4, 2011 at 12:02 PM, Joseph Sinclair 
 plug-discuss...@stcaz.net wrote:

 I must be tired...

 I meant to include the link to the web-based access software for the
 Buffalo Linkstations:
 http://www.buffalotech.com/technology/buffalo-advantage/web-access

 And the product features page:

 http://www.buffalotech.com/products/network-storage/home-and-small-office/linkstation-pro-duo-ls-wvlr1/features/#prod-features


 On 07/04/2011 11:49 AM, Joseph Sinclair wrote:
 I have used a Buffalo LinkStation Pro Duo for a couple of years, and
 I've found it to be extremely reliable, silent (I can hear it's fan only if
 I stick my ear right next to it..), and it performs very well.
 Their newest version is even better (faster NIC and CPU), and they also
 have a LiveStation that is intended to be accessible via a website (like a
 Pogo Plug) if that's your preferred approach)
 It's on Amazon here (http://www.amazon.com/gp/product/B00365MF5E) for
 about $190 for 2TB and $376 for 4TB.
 Buffalo is a U.S. company, and their most recent versions of the Pro Duo
 are 2 or 4 TB (RAID0, half for RAID1) and have software to make the files
 available via internet (or you can punch a hole in your firewall for SCP).
 They don't describe much Linux support, but it is running Linux (minimal
 kernel with Busybox userland) and uses things like rsync for backup
 (although they don't call it rsync in documentation, they call if
 BuffaloLink or some such nonsense).

 You might want to root it just so you can ssh into the box (ssh is on
 the box but disabled from the factory) to play around and possibly setup
 some cron jobs to keep things cleaned up, but it's surprisingly capable
 as-is.
 Rooting it is pretty simple; just run a simple java program called acp
 commander that's easily available (
 http://buffalo.nas-central.org/wiki/Main_Page, and
 http://downloads.buffalo.nas-central.org/TOOLS/ALL_LS_KB_ARM9/ACP_COMMANDER/README)
 which can easily start telnet and enable root (I included some brief
 instructions below for a clean root).
 The very latest versions (the XHL and CHL) of the LinkStation (the ones
 that have curvy cases, instead of square) use a new firmware that's even
 more stripped-down, so those you have to load an open firmware(recommended,
 actually) to make any changes or get command-line access.

 = Recommendations for rooting a Buffalo NAS
 ==
 Remember to do this (or any root operation) on an isolated switch with
 just the NAS and a secure laptop serving DHCP, and before connecting to any
 other net.
   run acp_commander

Re: RFC - Linux Command Cheatsheet

2011-07-07 Thread Joseph Sinclair
Most corporate environments are required to disable su entirely due to SOX and 
PCI requirements to audit every action on the server to a particular user 
(eliminating user switching as a permissible action).
Some companies are even going to the extreme of disabling workaround tricks 
like sudo bash as well (I think reasonably policy is enough to prevent such 
usage).
It's pretty easy to disable direct root login in RH type servers, and as I 
noted (and you use in Ubuntu), 'sudo su -' works the same without requiring the 
system to have an enabled root password.

On 07/06/2011 11:50 PM, Phillip Waclawski wrote:
 I use su with my students all the time (true, on my ubuntu machine I use sudo 
 su) but for redhat based servers (such as CentOS) su is still the main way to 
 switch to root. 
 Phil Waclawski 
 
 - Original Message -
 
 From: Joseph Sinclair plug-discuss...@stcaz.net 
 To: Main PLUG discussion list plug-discuss@lists.plug.phoenix.az.us 
 Sent: Wednesday, July 6, 2011 7:40:55 PM 
 Subject: Re: RFC - Linux Command Cheatsheet 
 
 Just a few errata and suggestions: 
 dpkg -[r,P] argument is package-name, not pkg.deb (you specify the package 
 name, not the deb file for those operations) 
 apt-get upgrade will only update packages that do not require any other 
 package to install/uninstall. apt-get dist-upgrade upgrades all packages. 
 apt-get purge package-name will purge a package without the clumsy --purge 
 syntax. 
 I would change the su - to sudo su -, since most distros no longer have the 
 root password enabled, and you don't want to encourage your students to do 
 that. 
 I would drop su -c command, sudo serves that purpose. Add sudo -u username 
 command to run a command as a specific user in it's place. 
 I'm not sure if you can squeeze it in, but lsattr will list extended 
 attributes, which is helpful when you encounter things like files even root 
 cannot modify. The corresponding chattr changes extended attributes, of 
 course, but that may not be a good command to mention due to it's higher 
 risk. 
 I would put kill and killall in red, especially since killall will do partial 
 match (try sudo killall -9 in for some system-killing fun sometime) and 
 actually matches on regex. 
 It might be a very good idea to add -i to killall, so the new user has a 
 slightly higher margin of safety for a mistyped command name. 
 for program  you might want to put program in italics to make it clear 
 it's not a literal command. 
 The 6 tar lines seem a little overkill. Perhaps it would work better with 
 fewer repeated lines coupled with a recommendation to check the manual for 
 the complex commands (like tar, rsync, ip, grep, etc...) that have several 
 common use patterns and really need more room than you have. 
 
 You might also save some space by removing reboot and halt (which are 
 actually the same program, much like egrep/fgrep/grep) in favor of shutdown 
 [-r, -h] (which is generally preferred anyway) 
 
 
 On 07/06/2011 10:20 AM, Dennis Kibbe wrote: 
 I've updated the Linux Command cheatsheet I use for my classes at MCC 
 and would appreciate any comments or corrections before I send it off to 
 the Copy Center. 

 https://s3.amazonaws.com/moodle_data/Linux+Commands.odt 
 https://s3.amazonaws.com/moodle_data/Linux+Commands.pdf 

 It's licensed Attribution-ShareAlike 3.0 United States license, 
 available at http://creativecommons.org/licenses/by-sa/3.0/us/. 

 FYI: Creative Commons has a very easy to use plugin for LibreOffice that 
 allows you to assign a Creative Commons license to your documents and 
 insert a license statement automatically. 

 http://labs.creativecommons.org/2010/12/08/libreoffice-and-cc-openoffice-plugin/
  

 Moodle 3 also includes support for Create Commons licenses. (Aside 
 der.hans: Moodle 3 ist super, besser als 2 in jeder Hinsicht!) 

 Remember when you create something it's copyrighted All Rights Reserved 
 (der.hans: Alle Rechte vorbehalten) by default, so if you want to share 
 your work you need to license it. 

 Dennis Kibbe 
 
 
 --- 
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us 
 To subscribe, unsubscribe, or to change your mail settings: 
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: RFC - Linux Command Cheatsheet

2011-07-06 Thread Joseph Sinclair
Just a few errata and suggestions:
dpkg -[r,P] argument is package-name, not pkg.deb (you specify the package 
name, not the deb file for those operations)
apt-get upgrade will only update packages that do not require any other package 
to install/uninstall.  apt-get dist-upgrade upgrades all packages.
apt-get purge package-name will purge a package without the clumsy --purge 
syntax.
I would change the su - to sudo su -, since most distros no longer have the 
root password enabled, and you don't want to encourage your students to do that.
I would drop su -c command, sudo serves that purpose.  Add sudo -u username 
command to run a command as a specific user in it's place.
I'm not sure if you can squeeze it in, but lsattr will list extended 
attributes, which is helpful when you encounter things like files even root 
cannot modify.  The corresponding chattr changes extended attributes, of 
course, but that may not be a good command to mention due to it's higher risk.
I would put kill and killall in red, especially since killall will do partial 
match (try sudo killall -9 in for some system-killing fun sometime) and 
actually matches on regex.
It might be a very good idea to add -i to killall, so the new user has a 
slightly higher margin of safety for a mistyped command name.
for program  you might want to put program in italics to make it clear 
it's not a literal command.
The 6 tar lines seem a little overkill.  Perhaps it would work better with 
fewer repeated lines coupled with a recommendation to check the manual for the 
complex commands (like tar, rsync, ip, grep, etc...) that have several common 
use patterns and really need more room than you have.

You might also save some space by removing reboot and halt (which are actually 
the same program, much like egrep/fgrep/grep) in favor of shutdown [-r, -h] 
(which is generally preferred anyway)


On 07/06/2011 10:20 AM, Dennis Kibbe wrote:
 I've updated the Linux Command cheatsheet I use for my classes at MCC
 and would appreciate any comments or corrections before I send it off to
 the Copy Center.
 
 https://s3.amazonaws.com/moodle_data/Linux+Commands.odt
 https://s3.amazonaws.com/moodle_data/Linux+Commands.pdf
 
 It's licensed Attribution-ShareAlike 3.0 United States license,
 available at http://creativecommons.org/licenses/by-sa/3.0/us/.
 
 FYI: Creative Commons has a very easy to use plugin for LibreOffice that
 allows you to assign a Creative Commons license to your documents and
 insert a license statement automatically.
 
 http://labs.creativecommons.org/2010/12/08/libreoffice-and-cc-openoffice-plugin/
 
 Moodle 3 also includes support for Create Commons licenses. (Aside
 der.hans: Moodle 3 ist super, besser als 2 in jeder Hinsicht!)
 
 Remember when you create something it's copyrighted All Rights Reserved
 (der.hans: Alle Rechte vorbehalten) by default, so if you want to share
 your work you need to license it.
 
 Dennis Kibbe



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Looking for NAS Hardware Recommendations

2011-07-04 Thread Joseph Sinclair
I have used a Buffalo LinkStation Pro Duo for a couple of years, and I've found 
it to be extremely reliable, silent (I can hear it's fan only if I stick my ear 
right next to it..), and it performs very well.
Their newest version is even better (faster NIC and CPU), and they also have a 
LiveStation that is intended to be accessible via a website (like a Pogo 
Plug) if that's your preferred approach)
It's on Amazon here (http://www.amazon.com/gp/product/B00365MF5E) for about 
$190 for 2TB and $376 for 4TB.
Buffalo is a U.S. company, and their most recent versions of the Pro Duo are 2 
or 4 TB (RAID0, half for RAID1) and have software to make the files available 
via internet (or you can punch a hole in your firewall for SCP).
They don't describe much Linux support, but it is running Linux (minimal kernel 
with Busybox userland) and uses things like rsync for backup (although they 
don't call it rsync in documentation, they call if BuffaloLink or some such 
nonsense).

You might want to root it just so you can ssh into the box (ssh is on the box 
but disabled from the factory) to play around and possibly setup some cron jobs 
to keep things cleaned up, but it's surprisingly capable as-is.
Rooting it is pretty simple; just run a simple java program called acp 
commander that's easily available 
(http://buffalo.nas-central.org/wiki/Main_Page, and 
http://downloads.buffalo.nas-central.org/TOOLS/ALL_LS_KB_ARM9/ACP_COMMANDER/README)
 which can easily start telnet and enable root (I included some brief 
instructions below for a clean root).
The very latest versions (the XHL and CHL) of the LinkStation (the ones that 
have curvy cases, instead of square) use a new firmware that's even more 
stripped-down, so those you have to load an open firmware(recommended, 
actually) to make any changes or get command-line access.

= Recommendations for rooting a Buffalo NAS ==
Remember to do this (or any root operation) on an isolated switch with just the 
NAS and a secure laptop serving DHCP, and before connecting to any other net.
  run acp_commander -f to find the NAS box IP (or just query what address DHCP 
handed out if that's easier).
  Connect to the NAS web interface (standard port 80) and get past the 
first-time setup, particularly setting the admin user/password; you'll need 
that for the next step.
  Run the acp_commander to get telnet operating and clear the root password 
(that's really all you need, so don't load addons.tar unless you just cannot 
live without the tools included there)
  telnet and login as root
  enable ssh. Make sure to permanently enable it by creating symlinks in the 
rc.# directories or you'll get locked out if the power fails!
  logout of telnet
  use scp to copy your ssh public key (.pub) to /root/.ssh/authorized_keys
  login via ssh
  disable telnet (I usually rename the binary to make it *really* disabled)
  logout and reconnect to verify key-based ssh authentication (i.e. no password 
prompt)
  lock the root account (passwd -l root) so *only* key-based login will work 
thereafter.
  finish making any other changes you'd like (including a second authorized key 
in case you loose the first, for instance).




On 07/04/2011 10:52 AM, Mark Phillips wrote:
 I have a small network and would like to set up some network
 backaup/storage. I looked at Best Buy and the WD MyBook 2TB NAS storage
 looked good at $150, but the reviews were terrible. I checked Fry's and the
 Iomega 2TB StoreCenter is more expensive ($239), but is has a few more bells
 and whistles, and is a bit faster, but runs hot according to the reviews.
 
 What I am looking for:
 1-2 TB storage
 network access
 access to stored files via the Internet
 compatible with Linux for automatic backups
 
 Have you used any of these devices, or do you recommend another brand?
 
 Thanks!
 
 Mark
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Looking for NAS Hardware Recommendations

2011-07-04 Thread Joseph Sinclair
I must be tired...

I meant to include the link to the web-based access software for the Buffalo 
Linkstations:
http://www.buffalotech.com/technology/buffalo-advantage/web-access

And the product features page:
http://www.buffalotech.com/products/network-storage/home-and-small-office/linkstation-pro-duo-ls-wvlr1/features/#prod-features


On 07/04/2011 11:49 AM, Joseph Sinclair wrote:
 I have used a Buffalo LinkStation Pro Duo for a couple of years, and I've 
 found it to be extremely reliable, silent (I can hear it's fan only if I 
 stick my ear right next to it..), and it performs very well.
 Their newest version is even better (faster NIC and CPU), and they also have 
 a LiveStation that is intended to be accessible via a website (like a Pogo 
 Plug) if that's your preferred approach)
 It's on Amazon here (http://www.amazon.com/gp/product/B00365MF5E) for about 
 $190 for 2TB and $376 for 4TB.
 Buffalo is a U.S. company, and their most recent versions of the Pro Duo are 
 2 or 4 TB (RAID0, half for RAID1) and have software to make the files 
 available via internet (or you can punch a hole in your firewall for SCP).
 They don't describe much Linux support, but it is running Linux (minimal 
 kernel with Busybox userland) and uses things like rsync for backup (although 
 they don't call it rsync in documentation, they call if BuffaloLink or some 
 such nonsense).
 
 You might want to root it just so you can ssh into the box (ssh is on the box 
 but disabled from the factory) to play around and possibly setup some cron 
 jobs to keep things cleaned up, but it's surprisingly capable as-is.
 Rooting it is pretty simple; just run a simple java program called acp 
 commander that's easily available 
 (http://buffalo.nas-central.org/wiki/Main_Page, and 
 http://downloads.buffalo.nas-central.org/TOOLS/ALL_LS_KB_ARM9/ACP_COMMANDER/README)
  which can easily start telnet and enable root (I included some brief 
 instructions below for a clean root).
 The very latest versions (the XHL and CHL) of the LinkStation (the ones that 
 have curvy cases, instead of square) use a new firmware that's even more 
 stripped-down, so those you have to load an open firmware(recommended, 
 actually) to make any changes or get command-line access.
 
 = Recommendations for rooting a Buffalo NAS ==
 Remember to do this (or any root operation) on an isolated switch with just 
 the NAS and a secure laptop serving DHCP, and before connecting to any other 
 net.
   run acp_commander -f to find the NAS box IP (or just query what address 
 DHCP handed out if that's easier).
   Connect to the NAS web interface (standard port 80) and get past the 
 first-time setup, particularly setting the admin user/password; you'll need 
 that for the next step.
   Run the acp_commander to get telnet operating and clear the root password 
 (that's really all you need, so don't load addons.tar unless you just cannot 
 live without the tools included there)
   telnet and login as root
   enable ssh. Make sure to permanently enable it by creating symlinks in the 
 rc.# directories or you'll get locked out if the power fails!
   logout of telnet
   use scp to copy your ssh public key (.pub) to /root/.ssh/authorized_keys
   login via ssh
   disable telnet (I usually rename the binary to make it *really* disabled)
   logout and reconnect to verify key-based ssh authentication (i.e. no 
 password prompt)
   lock the root account (passwd -l root) so *only* key-based login will work 
 thereafter.
   finish making any other changes you'd like (including a second authorized 
 key in case you loose the first, for instance).
 
 
 
 
 On 07/04/2011 10:52 AM, Mark Phillips wrote:
 I have a small network and would like to set up some network
 backaup/storage. I looked at Best Buy and the WD MyBook 2TB NAS storage
 looked good at $150, but the reviews were terrible. I checked Fry's and the
 Iomega 2TB StoreCenter is more expensive ($239), but is has a few more bells
 and whistles, and is a bit faster, but runs hot according to the reviews.

 What I am looking for:
 1-2 TB storage
 network access
 access to stored files via the Internet
 compatible with Linux for automatic backups

 Have you used any of these devices, or do you recommend another brand?

 Thanks!

 Mark




 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe

Re: Laptop Power Management

2011-07-01 Thread Joseph Sinclair
Not sure about alternate tools; but you should read this post on Phoronix about 
kernel regressions that cause high power consumption: 
http://www.phoronix.com/scan.php?page=articleitem=linux_2638_aspmnum=1

On 06/30/2011 08:59 PM, Stephen wrote:
 Yay i finally got a spare drive to do an install of Linux on this thing.
 
 at ableconf last a gentleman was talking about power management that
 he was using in his school district on some netbooks. I cant fro the
 life of me remember what it was nor can i find my notes that were
 taken on the matter.
 
 Does anyone remember what he was using? or the school district he was from?
 
 Or even some good ideas? right now im starting with a fresh Ubuntu
 11.04... and i just remember that it made power times on battery
 phenomenally better on this power hungry beast.
 
 Anyhow thanks in advance!
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: How to access a server http port 80 with port forwarding behind a router but require a password

2011-06-30 Thread Joseph Sinclair
Several others have responded, but I wanted to mention a slightly different 
approach:
If you want authentication for remote and not for local; and you want to keep 
traffic off the HTTP box until it's authenticated for the remote case
You might try setting up an HAProxy(http://haproxy.1wt.eu/) on another machine 
(some spare machine on local net should work fine) and port forward to that.
You can then set the listen configuration for port (443, 80, or whichever you 
end up using) to require authentication (see section 3.4 of the documentation 
[http://haproxy.1wt.eu/download/1.4/doc/configuration.txt] on userlists) and 
HAProxy will do the authentication before forwarding the request to the real 
HTTP server.

HAProxy is quite small and lightweight, so you might be able to run it on a 
router if you have open replacement firmware with a 2.6.32 or later kernel 
(caveat: I've never tried this and it might take a lot of work), and it has a 
vast array of other options for custom routing of HTTP and/or TCP requests.

For local net you'd just connect directly to the HTTP server or you could have 
the HAProxy listen separately on the local interface and bypass authentication 
for local requests.

Lots of options, as is usual in the Free/Open world.

On 06/30/2011 05:22 PM, leeg...@speedymail.org wrote:
 Hi,
 
 Using Ubuntu 10.04 LTS.
 
 I have an intranet server behind a NAT router. Very standard linksys
 router home setup. The server has a static IP. I used port forwarding in
 the router to use SSH and log into the server remotely - it works OK.
 
 I want no one outside my home network to access any webpages on the
 server unless they're authenticated.. I know I could port forward like
 with ssh but with http port 80 and then see webpages , but again this
 would open it up to anyone with my cable modem's IP - wouldn't it?
 
 I need a secure way like SSH that requires a password before anyone
 could access port 80 and http from the server from a remote network.
 
 How do I do this? And on the local network people can get served pages
 normally as usual. Just remote would need authentication. Must be
 commonly done(?)
 
 Thanks,
 
 Lee G.
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: bash array question

2011-06-20 Thread Joseph Sinclair
Try using an anchored expression and doing a double-swap to handle the 
double-ended case:

#!/bin/bash
Unix=('Debian' 'Red Hat' 'HP' 'My HP' 'SCO Unix' 'Suse' 'Fedora' 'UTS' 
'OpenLinux'
'HP-UX' 'HP');

echo ${Unix[@]/SCO Unix/Ubuntu}
# quoting is important here, else tokens with embedded spaces turn into 
multiple tokens!
tmpArray=( ${Unix[@]/%HP/THIS_IS_A_FALSE_TOKEN} )
tmpArray=( ${tmpArray[@]/#THIS_IS_A_FALSE_TOKEN} )
tmpArray=( ${tmpArray[@]/%THIS_IS_A_FALSE_TOKEN/HP} )
Unix=(${tmpArray[@]})

echo ${Unix[@]}


On 06/20/2011 11:35 AM, Nathan England wrote:
 I use a lot of arrays in bash, but I have never before needed to modify the
 contents of the array once I had created it, but now I need to. I followed
 the tutorial on this page:
 http://www.thegeekstuff.com/2010/06/bash-array-tutorial/
 
 and it gives an example of
 
 #
 $cat arraymanip.sh
 #!/bin/bash
 Unix=('Debian' 'Red hat' 'Ubuntu' 'Suse' 'Fedora' 'UTS' 'OpenLinux'
 'HP-UX');
 
 echo ${Unix[@]/Ubuntu/SCO Unix}
 
 $./arraymanip.sh
 Debian Red hat SCO Unix Suse Fedora UTS OpenLinux
 ##
 
 So I decided to try creating a new array and replacing what I don't want
 with nothing by doing the following:
 
 tmpArray=( ${Unix[@]/deleteme/} )
 Unix=(${tmpArray[@]})
 
 So far this has worked great, but I've run into a problem. Say I have 'HP'
 and 'HP-UX' in my array and I want to remove the 'HP', so I would do
 tmpArray=( ${Unix[@]/HP/} )
 Unix=(${tmpArray[@]})
 
 at first glance this worked fine, until I realized that now, instead of
 'HP-UX' in my array, I now have '-UX'
 It seems to replace all instances, which is what I want, but the pattern
 matches even in this example, which is what I don't want.
 
 Following his tutorial, I would need to know the number of the element in
 the array I want to delete, but my problem is there may be 10 instances in
 the array of 'HP' and I want to delete them all, so I would need to loop
 through it over and over until all instances are gone. Also, the elements
 inserted into the array are variables and I don't necessarily know the order
 of the elements, so I cannot just tell it to delete element X like in his
 example. The array is not static anywhere in my script.
 
 So how do I remove something from an array without having to run through
 every element in an array and test for whole matches? My array might be 100
 elements large, which can take a LONG time to loop through when I am adding
 or removing another hundred items to the array. I liked this pattern replace
 because it was fast, I don't want to lose my speed now!
 
 Thanks for your help.
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: ssh question

2011-06-18 Thread Joseph Sinclair
Based on what you're seeing below, I'd suggest looking at the IP setup on the 
machines and any router/gateway between the two machines.
It looks like something is allowing the ICMP traffic but blocking or loosing 
the TCP connect for port 22.

It might help to run the following commands on each machine to look for 
inconsistencies or errors:
ifconfig -a
ip addr list
ip neigh
ip route

Some *possible* causes:
1) More than one machine thinks it has IP 192.168.2.124 and there is an ARP 
conflict.
2) You have VLAN's setup on the router and the tagging is off or the router 
isn't passing TCP traffic between the VLAN's.
3) The two machines have subnet masks that make them think they're on different 
networks (e.g. 255.255.255.0 and 255.255.255.252 or /24 and /30)

If the machines are DHCP, have both release and renew their lease (and make 
sure there's only one DHCP server on the network!).
If they're static configured, check /etc/network/interfaces and make sure the 
subnet mask is the same on both.
Dig through your router configuration (I assume you only have one router, if 
not temporarily remove all but one router) to make sure you don't have VLAN's 
setup or that they're properly configured
Check the ARP tables on the machines and the router (ip neigh at the command 
line on each machine, router depends on it's interface) to make sure you don't 
have duplicates and the MAC address matches for each IP address on the 
different machines
example (you may see many more entries than this) (Note that 10.23.124.104 is 
visible on both and the MAC value matches):
Machine 1
10.23.124.104 dev eth0 lladdr 02:49:5a:9e:e2:6c STALE
10.23.124.123 dev eth0 lladdr 03:1d:7f:7f:4d:2d STALE

Machine 2
10.23.124.104 dev eth0 lladdr 02:49:5a:9e:e2:6c STALE
10.23.124.125 dev eth0 lladdr 03:1e:4f:73:29:10 STALE

There should be only one entry for each IP address in the list on each machine; 
for a given IP address, all machines should see the same MAC address.

Hopefully that helps.  Inconsistent network issues like this are always 
difficult to track down.

SNIPSNIPSNIP
 Again, name/ip resolution is not a problem and is always working correctly.
 BTW, here is an attempt from today:
 larry@fogtest:~$ ssh -v lapdog2
 OpenSSH_5.3p1 Debian-3ubuntu6, OpenSSL 0.9.8k 25 Mar 2009
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Applying options for *
 debug1: Connecting to lapdog2 [192.168.2.124] port 22.
 debug1: connect to address 192.168.2.124 port 22: Connection timed out
 ssh: connect to host lapdog2 port 22: Connection timed out
 larry@fogtest:~$ ping -c 3 lapdog2
 PING lapdog2 (192.168.2.124) 56(84) bytes of data.
 64 bytes from lapdog2 (192.168.2.124): icmp_seq=1 ttl=64 time=0.587 ms
 64 bytes from lapdog2 (192.168.2.124): icmp_seq=2 ttl=64 time=0.856 ms
 64 bytes from lapdog2 (192.168.2.124): icmp_seq=3 ttl=64 time=0.996 ms
 
 --- lapdog2 ping statistics ---
 3 packets transmitted, 3 received, 0% packet loss, time 2002ms
 rtt min/avg/max/mdev = 0.587/0.813/0.996/0.169 ms
 larry@fogtest:~$
 
 Clearly the issue seems to be what is blocking communication to port 22 even
 though sshd is listening on it, iptables seems to allow it and ufw was
 disabled yesterday and being enabled today seems to change nothing.
 
SNIPSNIPSNIP



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: ssh question

2011-06-17 Thread Joseph Sinclair
A connection timed out usually occurs due to:
1) The ip address has no host (ping the same IP address, then use telnet to 
connect to port 22)
2) tcp wrappers is dropping the connection (check /et/hosts.allow and 
/etc/hosts.deny on lapdog3)
3) the firewall on lapdog3 is dropping the connection (check the firewall 
configuration on lapdog3 via iptables-save or ufw status)
4) SSHD is not on port 22 or dropping connections (check sshd configuration on 
lapdog3)

On 06/17/2011 02:14 AM, Dazed_75 wrote:
 Ignore the original question.  I checked lapdog2's IP in a terminal that was
 logged into a different machine.  The ssh was using the right IP but getting
 this result and I cannot figure out why:
 
 larry@hammerhead:~$ ssh -v lapdog2
 OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Applying options for *
 debug1: Connecting to lapdog2 [192.168.2.124] port 22.
 debug1: connect to address 192.168.2.124 port 22: Connection timed out
 ssh: connect to host lapdog2 port 22: Connection timed out
 larry@hammerhead:~$

 
 
 On Fri, Jun 17, 2011 at 2:00 AM, Dazed_75 lthiels...@gmail.com wrote:
 
 I tried to ssh from this machine to my laptop (ssh lapdog3) and find that
 ssh is somehow using an old IP instead of doing name resolution on th e name
 lapdog2 which now has a new lease on a different IP.

 1) How do I fix this?
 2) Why does ssh use an old, apparently, stored IP?

 --
 Dazed_75 a.k.a. Larry

 The spirit of resistance to government is so valuable on certain occasions,
 that I wish it always to be kept alive.
   - Thomas Jefferson

 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Rackspace email DNS

2011-06-17 Thread Joseph Sinclair
Google Apps free edition started with 100, dropped to 50 pretty quick, and last 
month they dropped to 10 for the free edition.

The corporate Business edition has always been unlimited users at 
$50/year/user.

The paid version has 25G of storage per account which is available across all 
Google apps.

Many companies (even very large ones) find it useful to pay for Google Apps for 
the following reasons:
1) It costs a typical large company more than $50/year just for email due to a 
combination of server licenses, client licenses, and (mostly) staff time to 
maintain the system.
2) Google Apps allows the corporate IT to control use of Google Docs, calendar, 
photo sharing, etc...  Most IT groups have discovered their employees will use 
it anyway, and if they don't control it then people will do things like 
accidentally share their spreadsheet with corporate sales figures with the 
whole world.  If the company has a Google Apps account they can default to 
sharing *within the organization* instead of the whole world.
3) Having email, calendar, and shared documents on Google Apps reduces the need 
for corporate staff to handle backups and disaster recovery.  A simple onsite 
backup for audit also serves as an offsite backup for D/R because the main 
systems are somewhere else.
4) The Premium version ($75/user/year) adds powerful corporate audit compliance 
features that typically cost far more than $25/user/year if hosted in-house.
5) Google Apps has clients for major smartphone systems (esp. Android, 
naturally), so employees can use their phones to get email, calendar, and view 
documents (even light editing/collaboration) on whatever smartphone/tablet 
system they might have.

It's not for everyone (with the reduced number of free accounts, there are a 
lot of small businesses for whom it doesn't make sense), but it's surprising to 
me how many companies would (and often do) find it to be a strong value.

That said, if you really just want pure email that's as low-cost as you can get 
(while still being fairly reliable), Rackspace is pretty reasonable (although 
it doesn't work with as many desktop client systems, and doesn't have any 
phone-based clients I know of).

Hopefully that helps.

On 06/17/2011 07:54 PM, keith smith wrote:
 
 I've heard that rumor elsewhere.� I was told $50/yr for all the email 
 accounts per domain and they were 8gig mail boxes.
 
 I have not found those.� I find a free Google apps with 10 accounts or the 
 $5/mo or $50/yr� per account Google apps email accounts.� I don't need Google 
 apps.� I just need email.
 
 http://www.google.com/apps/intl/en/group/index.html
 
 If you know of a better plan I, sure would like hearing about it.
 
 Thanks!
 
 
 
 Keith Smith
 
 --- On Fri, 6/17/11, Bryan O'Neal bryan.on...@theonealandassociates.com 
 wrote:
 
 From: Bryan O'Neal bryan.on...@theonealandassociates.com
 Subject: Re: Rackspace email  DNS
 To: Main PLUG discussion list plug-discuss@lists.plug.phoenix.az.us
 Date: Friday, June 17, 2011, 7:43 PM
 
 Odd. I get 100 mail boxes for free from google. I know they dropped it
 but I thought the drop was to 50.
 
 On 6/17/11, keith smith klsmith2...@yahoo.com wrote:

 I think it is cheaper to spend $100 a month to let someone else run the
 email server than for me to take on all those headaches.� I started down
 that path and found it was going to take a lot of on going effort.�� I's not
 the cost of the server, it is the cost of time.

 

 Keith Smith

 --- On Fri, 6/17/11, Dan Lund situationalawaren...@gmail.com wrote:

 From: Dan Lund situationalawaren...@gmail.com
 Subject: Re: Rackspace email  DNS
 To: Main PLUG discussion list plug-discuss@lists.plug.phoenix.az.us
 Date: Friday, June 17, 2011, 5:36 PM

 You get to that amount, and it's on the border of creating your own mail
 server.
 It's not terribly hard, it just takes security planning.

 --Dan Lund



 On Fri, Jun 17, 2011 at 9:35 AM, keith smith klsmith2...@yahoo.com wrote:


 I looked at google and they are $5/mo or $50/yr per box.� I need about 50
 mailboxes.� That turns out to be $1,800 more a year.� Rackspace has 10g
 mailboxes and Google has 25g mailboxes.� I'm guessing all else is equal.� We
 just need plain old mail.� Nothing fancy.


 Thanks!

 

 Keith Smith

 --- On Thu, 6/16/11, Bryan O'Neal bryan.on...@theonealandassociates.com
 wrote:


 From: Bryan O'Neal bryan.on...@theonealandassociates.com
 Subject: Re: Rackspace email  DNS
 To: Main PLUG discussion list plug-discuss@lists.plug.phoenix.az.us

 Date: Thursday, June 16, 2011, 9:24 PM

 No direct experience but I am have only heard good things about
 rackspace. That said I let google do my email.

 On 6/16/11, keith smith klsmith2...@yahoo.com wrote:


 Hi,

 Anyone have experience with Rackspace email and their DNS hosting service
 ?
 They have 10gig mailboxes for $2/mo each.� And DNS can be added for

 � $5.00/yr.

 I'm testing their 

Re: Looking for Ideas to facilitate group communication on the road

2011-06-06 Thread Joseph Sinclair
There are other issues with GV too; the biggest being that a number cannot be 
assigned as a mobile number on more than one account; so if anyone in the 
group uses GV, they won't want to have their number disconnected from their GV 
just to use your setup.  Also, you cannot have GV forward to another GV number.

I think you've hit upon the closest solution without paying for a 
business-oriented spam/marketing bulk SMS system.
Have GV forward to an email account; parse that out to pull a tag (containing 
0ga0/0gb0 usually works and it's fast(ish) to type on A9 keypads) and forward 
to a list of SMS email endpoints based on the tag.  It might be good to also 
have unrecognized SMS forwarded to you so you can reroute when people goof up.

There is an alternative if you don't mind locking an older phone to a computer 
back home for the duration of your trip (http://smslink.sourceforge.net/).  
That system allows you to have an sms received on the attached phone forwarded 
to a customized email output, and you could, relatively easily, add support for 
sending back out via sms.
It's a bit rough and not the most reliable, but it seems to work.

On 06/06/2011 05:02 PM, Mark Phillips wrote:
 Some feedback on the google voice idea
 
 A. I set up a new phone number and tried to add other phone numbers for
 forwarded texting. The only hitch is that the new phone number requires a
 verification code be sent from an sms on that phone. It makes sense, or
 someone would use google voice to spam everyone. It looks like I get a
 different verification code every time I add a new phone number.
 
 It does not seem practical to have all the club members get a verification
 code and respond to a text message from google voice.
 
 B. I don't see a way for someone to send a text to a smaller group than
 everyone on the list. I have two teams, so the 12U folks don't want to see
 the 14U texts, and vice versa.
 
 But the google voice number is a great idea. I can give out that number and
 say - use this to send sms to everyone.
 
 I was thinking of google voice forwarding the sms to an email account, and
 then have a script of some kind parse the email and send the message back to
 everyone's cell phone using the email to sms gateways that the carriers
 provide. I could then have a tag in the sms to:x where  could be
 one person, and the email parser could find it and send the messages
 appropriately. Adds a delay, but I don't see another solution.
 
 To restate the problem: How do I provide a group of people a way to
 send/reply to sms messages to anyone in the group, or a subset of the group,
 or one person without relying on any special cell phone capability (such as
 group sms or email)?
 
 Thanks for any other suggestions you may have!
 
 Mark
 
 On Mon, Jun 6, 2011 at 8:48 AM, Mark Phillips 
 m...@phillipsmarketing.bizwrote:
 
 Bob,

 Interesting ideaI will give it a try. Thanks!

 Mark

 On Mon, Jun 6, 2011 at 8:30 AM, Bob Elzer bob.el...@gmail.com wrote:

  Have you thought of getting a google voice number, and adding everyone's
 cell phone number to it, but just use the number for texting

 that way one text would go to all phones.

 There may be some issues to work out, but it might work



  --
 *From:* plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:
 plug-discuss-boun...@lists.plug.phoenix.az.us] *On Behalf Of *Mark
 Phillips
 *Sent:* Sunday, June 05, 2011 12:32 PM
 *To:* Phoenix Linux Users
 *Subject:* Looking for Ideas to facilitate group communication on the
 road

 This group always has great suggestions for my odd requirements, so here I
 go again;-)

 My two club softball teams are going to out of town for nationals at the
 end of June (~26 families). (We might even make ESPN...) We need a way to
 send messages to each other, and as a group. Up to this point, I have been
 running a private group email list that everyone can use to send and receive
 emails for the group. But not everyone has Internet or email on their phone,
 so the group email list is not the best option for everyone. My android
 phone can send a text message to a group, so I can handle the issue of
 schedule changes. But, not everyone's phone on the two teams can send a
 group text, which makes those impromptu 'team lunch' difficult for someone
 in the group to schedule, unless I become the group sms operator, which is
 **not** something I want to do! I am wondering if there is some open source
 technology that can help us

 My requirements
 1. Send sms to a whole group, part of a group, or individually
 2. Work on low end cell phones - ie no Internet plan or email
 3. Does not require a lot of setup, either for me or for each person
 going. The people on the trip are not techies, but parents of 11-15 year old
 softball players (and the players as well).
 4. Free, or really low cost as I only need it for ~10 days.

 I have a Debian server on Linode for our web site, so I could add 

Re: log out question

2011-06-04 Thread Joseph Sinclair
Not quite what you're looking for, but timeoutd is a tool for limiting time in 
sessions, including idle time.
Stephen is correct in that the typical requirement is to lock the session 
(require a password to continue), rather than logout, since logout would have 
to exit all of your running programs, and most people don't want to loose their 
magnum opus in LibreOffice Writer just because they had to take a coffee break 
and forgot about the auto-logout.

On 06/04/2011 08:35 PM, betty wrote:
 Is there a way to set up ubuntu 10.04 lts to auto logout for me if i am not 
 using for a specified period of time, say 5 minutes?
 thanks for any help...
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: How to set Calibre directory? Solved

2011-05-15 Thread Joseph Sinclair
The ugly directory was actually, most likely, for a single book.  Calibre 
defaults to using your home directory as the library directory and uses a 
fairly complex, but Windows-friendly, filename and directory structure below 
that.
It's a bad interface decision, but Calibre has absolutely horrible UI structure 
and design, so that's not surprising.

I like the *capability* of Calibre, I just wish someone would take the same 
capabilities and produce a decent UI for it.

On 05/15/2011 11:08 AM, j...@actionline.com wrote:
 
 Thanks Joseph.
 
 I finally found that calibre does allow one to create new
 (actually multiple) library/directories; and, in fact, it
 allows creating one with a switch option to automatically
 move all books into that newly created one. So, I was able to
 create one with everything moved into that new one and then
 just delete the one that calibre had automatically created
 initially with that confounded file/directory name with caps
 and spaces in the name. Why would they have done that?
 
 Anyway, the problem is now solved.
 
 Thanks again.
 
 
 The Library button (probably reads something like 35 books) controls
 this. Click that button and enter a different directory.
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Copy to smb share

2011-05-15 Thread Joseph Sinclair
Did you install cifs-utils first?  Also, you should use cifs as the filesystem 
type in fstab instead of smbfs (Matt is correct that cifs is more current; 
smbfs is just a rename for cifs at this point for compatiblity with older 
scripts).

Can you post the fstab line?


On 05/15/2011 03:18 PM, Tom Ostlund wrote:
 Under properties the folder does show up as cifs but when you hover in
 nautilus is shows smb.
 
 I have tried to add it to fstab but when I try to mount it I get a
 message that tells me that it can not find it in fstab or mtab
 
 
 
 On 05/14/2011 07:05 PM, Joseph Sinclair wrote:
 James way works well if you only have to do this once.
 
 If you want to copy files to the smb share regularly (I would assume that 
 given the uri you specify), then installing smbfs (e.g. apt-get install 
 smbfs) and mounting the smb share on a convenient directory (e.g. mount -t 
 smbfs //my-airport-extreme.local/drobo/folder/ /home/shares/drobo/folder/) 
 makes the share part of your file system.
 Once you have the share mounted, it's  as simple as cp somefile.ext 
 /home/shares/drobo/folder/.
 
 Once you have it mounted and working, don't forget to add it to /etc/fstab 
 so it's mounted by the system when you're connected to the home network:
 *example* line for /etc/fstab, note the uid and gid parameters, which 
 should be your user uid/gid to make access easy.
 //my-airport-extreme.local/drobo/folder//home/shares/drobo/folder/
 smbfs
 file_mode=0644,dir_mode=0755,uid=,gid=,credentials=/etc/my-drobo-user.creds,rw
 02
 
 The file /etc/my-drobo-user.creds is needed if the share requires a 
 username/password and you're not running a Domain Controller or Active 
 Directory service on the network.
 This credentials file is owned root:root and file mode 400 for security; it 
 contains the user/password/workgroup for your drobo share in plain text:
 username=SOMETHING
 password=SOMETHING
 workgroup=SOMETHING
 
 I know that's not the safest thing in the world, but I find it works well 
 enough for most home users.
 
 Once that's there, if you find it's not connected, then you can just sudo 
 mount /home/shares/drobo/folder/ to re-establish the connection.
 
 
 On 05/14/2011 06:26 PM, James Mcphee wrote:
 Unless you've already connected to the smb share, you won't be able to
 access it.  You could try smbclient, and do a put.  I'm sure there are other
 ways, but that's the quickest to script.  Soo wrong from a security
 perspective, but eh.

 smbclient //target/share password -W domain -u user ENDEND
 cd path
 put file
 ENDEND

 Something like that.

 On Sat, May 14, 2011 at 5:24 PM, Tom Ostlund t...@ostlundgroup.com wrote:

 Hello All.

 I am trying to figure out how to copy a file to a smb share from the
 command line.

 The share is

 smb://my-airport-extreme.local/drobo/folder/

 my way is failing

 cp test.txt smb://my-airport-extreme.local/drobo/folder/test.txt

 What is the right way to do this?

 Thanks,
 Tom

 Mesa AZ
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss




signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: How to set Calibre directory?

2011-05-14 Thread Joseph Sinclair
The Library button (probably reads something like 35 books) controls this.
Click that button and enter a different directory.

You'll need to re-import your books from the old library to the new one before 
removing the old directory.

On 05/13/2011 06:37 PM, j...@actionline.com wrote:
 
 When I tried to install Calibre, the installation created a long directory
 name with Capital letters and a space in the file/directory name in my top
 user directory, and I have not been able to figure out how to stipulate a
 short, all lower-case directory name with no spaces in it for my
 installation.
 
 Surely there must be a way to avoid that long/awkward directory name, but
 how?
 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Copy to smb share

2011-05-14 Thread Joseph Sinclair
James way works well if you only have to do this once.

If you want to copy files to the smb share regularly (I would assume that given 
the uri you specify), then installing smbfs (e.g. apt-get install smbfs) and 
mounting the smb share on a convenient directory (e.g. mount -t smbfs 
//my-airport-extreme.local/drobo/folder/ /home/shares/drobo/folder/) makes the 
share part of your file system.
Once you have the share mounted, it's  as simple as cp somefile.ext 
/home/shares/drobo/folder/.

Once you have it mounted and working, don't forget to add it to /etc/fstab so 
it's mounted by the system when you're connected to the home network:
*example* line for /etc/fstab, note the uid and gid parameters, which 
should be your user uid/gid to make access easy.
//my-airport-extreme.local/drobo/folder//home/shares/drobo/folder/smbfs 
   
file_mode=0644,dir_mode=0755,uid=,gid=,credentials=/etc/my-drobo-user.creds,rw
02

The file /etc/my-drobo-user.creds is needed if the share requires a 
username/password and you're not running a Domain Controller or Active 
Directory service on the network.
This credentials file is owned root:root and file mode 400 for security; it 
contains the user/password/workgroup for your drobo share in plain text:
username=SOMETHING
password=SOMETHING
workgroup=SOMETHING

I know that's not the safest thing in the world, but I find it works well 
enough for most home users.

Once that's there, if you find it's not connected, then you can just sudo 
mount /home/shares/drobo/folder/ to re-establish the connection.


On 05/14/2011 06:26 PM, James Mcphee wrote:
 Unless you've already connected to the smb share, you won't be able to
 access it.  You could try smbclient, and do a put.  I'm sure there are other
 ways, but that's the quickest to script.  Soo wrong from a security
 perspective, but eh.
 
 smbclient //target/share password -W domain -u user ENDEND
 cd path
 put file
 ENDEND
 
 Something like that.
 
 On Sat, May 14, 2011 at 5:24 PM, Tom Ostlund t...@ostlundgroup.com wrote:
 
 Hello All.
 
 I am trying to figure out how to copy a file to a smb share from the
 command line.
 
 The share is
 
 smb://my-airport-extreme.local/drobo/folder/
 
 my way is failing
 
 cp test.txt smb://my-airport-extreme.local/drobo/folder/test.txt
 
 What is the right way to do this?
 
 Thanks,
 Tom
 
 Mesa AZ
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: visualization question

2011-05-08 Thread Joseph Sinclair
As far as I know there are few features (mostly related to large enterprise 
deployments, as Bryan and Stephen pointed out) that are not present in the 
free-as-in-beer tools from VMWare.
I know bridging works in the Player.

On 05/08/2011 01:16 AM, Dan Lund wrote:
 so... does VMWare server do bridging?
 The free as in beer version on the vmware website that is?
 
 I only ask because of vmware being brought up.  When the disclaimer only 
 limited by the admin tools and custom hardware options came about, I figured 
 it'd be best to clarify :)
 
 I personally like Parallels, but I've only used it on Mac.
 
 --Dan
 
 On May 8, 2011, at 12:57 AM, Joseph Sinclair wrote:
 
 VMWare Player is free-as-in-beer, but it only *runs* the virtual machine.
 You generally need some other tool to *create* the virtual machine, and for 
 anything other than relatively simple use, the administrative controls in 
 VMWare Player are very limited.
 For more control, and the ability to create virtual machines most people end 
 up purchasing VMWare Workstation, which is around $70 at retail last I 
 checked.

 For advanced administrative options (particularly for complex requirements 
 and/or large numbers of virtual machines on multiple servers), the VMWare 
 enterprise tools are generally needed, and those get very costly.

 The primary advantage of VirtualBox is that it is both free-as-in-beer and 
 free-as-in-freedom (the open source edition, virtualbox-ose), and the tools 
 to manage it are included.
 VirtualBox is great for running a few occasional VM's on a well-equipped 
 home computer.

 For more advanced and complex environments (such as large corporate VM 
 deployments), F/LOSS software is still playing a bit of catch-up with VMWare 
 enterprise tools, but it's getting there.
 For Hybrid (i.e. private/public) cloud deployments F/LOSS is actually way 
 ahead of the proprietary alternatives, but that's also an area large 
 enterprises are just starting to explore.

 On 05/08/2011 12:00 AM, Dan Lund wrote:
 Forgive me for being pedantic on this one, but... what do you mean by 
 limited by the admin tools and custom hardware options?
 (I'm not being a butt about this, it just kinda folded into itself when you 
 said that)

 --Dan

 On May 7, 2011, at 11:38 PM, Bryan O'Neal wrote:

 Absolutely. It is limited only by the admin tools and custom hardware 
 options.

 On 5/7/11, Dan Lund situationalawaren...@gmail.com wrote:
 Does the free version of vmware have bridging?
 Last I used vmware outside of ESXi and vSphere was like 2005.

 --Dan

 On May 7, 2011, at 10:57 PM, Bryan O'Neal wrote:

 Vmware is free and very effective. Just saying...

 On 5/7/11, Judd Pickell pick...@gmail.com wrote:
 vbox does support bridging and is needed to solve the problem mentioned.

 On Sat, May 7, 2011 at 8:50 PM, James Mcphee jmc...@gmail.com wrote:

 Probably set up IP as NAT, or internal.  Does vbox do bridged IPs?


 On Sat, May 7, 2011 at 8:39 PM, keith smith klsmith2...@yahoo.com
 wrote:


 Setup vbox on XP loaded CentOS 5.6 set IP different than host.  Can
 ping
 IP of vertual server from command line of self.  Cannot ping from
 outside.

 Any help appreciated!

 
 Keith Smith

 --- On *Sat, 5/7/11, Stephen cryptwo...@gmail.com* wrote:


 From: Stephen cryptwo...@gmail.com
 Subject: Re: visualization question
 To: Main PLUG discussion list 
 plug-discuss@lists.plug.phoenix.az.us
 Date: Saturday, May 7, 2011, 4:06 PM

 you can use either virtualbox or vmware and it will work, just set up
 the
 networking so that it has an IP on your physical network for simple
 access.

 On Sat, May 7, 2011 at 4:00 PM, keith smith
 klsmith2...@yahoo.comhttp://mc/compose?to=klsmith2...@yahoo.com
 wrote:



 Hi,

 I'm running XP on a dell box and was wondering if I can install
 visualization on top of that, install CentOS, and have both running at
 the
 same time with the XP being a client and the CentOS being a LAMP
 server.
 I'd like to access the docroot crom the XP box.

 Is this possible?

 
 Keith Smith
 ---
 PLUG-discuss mailing list -
 PLUG-discuss@lists.plug.phoenix.az.ushttp://mc/compose?to=PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss




 --
 A mouse trap, placed on top of your alarm clock, will prevent you from
 rolling over and going back to sleep after you hit the snooze button.

 Stephen

 -Inline Attachment Follows-


 ---
 PLUG-discuss mailing list -
 PLUG-discuss@lists.plug.phoenix.az.ushttp://mc/compose?to=PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


 ---
 PLUG-discuss mailing list - PLUG-discuss

Re: Why these mostly empty hidden files?

2011-05-04 Thread Joseph Sinclair
Most of that is cache data (e.g. swf's code fragments, etc...).  They do store 
Flash cookies in .macromedia and/or .adobe, but the directories you see are 
their cache structure.
They've gotten tricky lately in that they now often use a deleted file for data 
cache (open a file, unlink it, continue writing; the system has no issue with 
that but it's harder to read in Linux and impossible in Mac or Windows), which 
makes their cache dirs look a lot less full than they actually are.

I just wipe out ~/.macromedia and ~/.adobe anytime I have no choice but to use 
flash to view something; makes life easier.

On 05/03/2011 10:51 PM, Dan Lund wrote:
 Never attribute to malice what can be easily attributed to laziness/hubris :)
 
 I'm sure it's just flash leaving it's wrappers laying around after camping.
 
 --Dan
 
 On May 3, 2011, at 10:45 PM, Andrew Harris wrote:
 
 Seems like an unlikely candidate. But we've had less likely candidates.

 On Tue, May 3, 2011 at 10:37 PM, Jim March 1.jim.ma...@gmail.com wrote:
 Funny.  No, it's more like there's a whole pile of tracking stuff of
 some sort that I for one didn't know about.

 Jim

 On Tue, May 3, 2011 at 10:33 PM, Andrew Harris t...@supertunaman.com 
 wrote:
 Wow, it's like somebody did work for all those directories and files
 and they don't want to pay the bill. Am I right, Jim?

 On Tue, May 3, 2011 at 5:42 PM, Jim March 1.jim.ma...@gmail.com wrote:
 Yeah, I can confirm the same thing in Ubuntu Maverick.

 WTF is this stuff?

 Jim

 On Tue, May 3, 2011 at 5:26 PM,  j...@actionline.com wrote:

 Today, I was shocked to find a thousand-plus empty hidden directories and
 files on my system and I don't know how they got there or why there are
 there.

 Is there any reason why I should not delete them?

 There may be more in other places, but the ones I just discovered are
 buried deep in these two sub-directories:

 /home/joe/.macromedia/Flash_Player/#SharedObjects/2ETARA88
 /home/joe/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys

 I hate flash for a lot of reasons, but now even more as it seems to be
 hiding things on my system -- 310 mostly empty directories in 2ETARA88 
 and
 another 1227 mostly empty directories in flashplayer/sys

 Very annoying.









 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Chosing a programming language for today and the next 10 years

2011-03-22 Thread Joseph Sinclair
Lots here, Hopefully this will help.

1) Windows is a terrible bet.  It's already having trouble in the market on 
multiple fronts; it doesn't scale up to servers (well), it doesn't scale down 
to mobile devices, and it won't likely work well with the transition to ARM 
architectures and a more diverse hardware ecosystem.
2) Apple will never dominate anything (in computing devices) for long.  They're 
too tied to the closed-control-everything walled-garden approach, and most 
people don't really want a device that's completely closed (witness the 
surprising popularity of jailbreaking iPhones) outside of simple single-purpose 
consumer-electronics devices (like an MP3 player, and even there Apple is less 
dominant than they'd like you to believe).
3) Don't choose a single language and expect to use that for 10 years; it's 
extremely unlikely any given language or platform will hold sway that long.
4) Apple IOS *is* OSX on phones.  It's the only version of OSX that will ever 
run on a phone.

That said:
Java is a great platform to learn, particularly for mobile; consider building 
an Android app to learn with (Android apps are Java with some slight 
modifications and extra API's).  The Android SDK runs in Linux and provides an 
actual system emulator so if your app runs in emulation it will almost 
certainly run on real devices (unless you do something really weird).
If you also want to try some web development look at building a straight-up 
servlet app with Tomcat6 (avoid Spring and J2EE; the first has jumped the shark 
and the second is very complex).  Servlet programming is relatively easy to 
learn, and it's immensely powerful.  Almost all examples of JSP programming 
follow the broken ASP model, which is almost the worst possible way to 
architect a web application.  You might also look at the Google Web Toolkit, 
which allows you to use Java to develop the AJAX frontend as well.

C and C++ are strong languages, but not terribly well suited to mobile apps 
unless you have a lot of experience and need the absolute maximum performance 
on a phone. If you are interested in those languages learn the QT toolkit as 
well, as that will help you create C++ applications that are cross-platform 
without a lot of *very* difficult work.  Understand that it's generally 
expected that everything you write for the first 5-10 years using C++ will be 
horrible, just because C++ is more complex and powerful than generally 
recognized.

It might be useful to look into Python, Scala, and Javascript as additional 
options for a, currently in-demand, strong niche language that will buy time to 
build a broader skillset.

If you really want to develop for iPhone, then buy a Mac desktop or laptop and 
develop using Objective-C, since that's more-or-less required to develop a 
native iPhone app.

For most cases, the best place to develop a new desktop application is Linux; 
develop using Java, C++ with QT, or Python with wxWidgets and you'll be able to 
run it on Windows and Mac as well, but developing on Linux will encourage 
cleaner code and provide a smoother software development process.

Good luck,
Joseph Sinclair

On 03/22/2011 09:36 PM, keith smith wrote:
 
 
 Hi,
 
 
 
 I would like to build a desktop
 application to run in Windows.  And I am looking to the future... 10
 years, if that is possible.
 
 
 
 With mobile computing (smart phones)
 starting to emerge, and a possible future dominance by Apple devices,
 I would like to try to prep for that too.
 
 
 
 25 years ago I learned dBaseII and
 liked it. For that time is was very feature rich and very powerful. 
 Then I followed with dBase+, III+, FoxBase+, FoxPro DOS and Windows,
 and finally Visual Foxpro.  Really enjoyed that 13 year run.  M$
 bought VFP and now it is almost dead.
 
 
 
 I moved to Perl for a short time, ASP
 for a short time, and then PHP, where I am now.
 
 
 
 Looking back I can say I learned one
 major lesson - be careful what sills you build and maintain.
 
 
 
 So I am needing to learn a new skill to
 create this simple Windows Application.  I was thinking of C++ 
 because no matter where the market goes C will more than likely be
 useful on Windows, MAC, and Linux. 
 
 
 
 
 Then there is Java.  The write once run
 everywhere language.  Nice thing about Java is I can build web apps
 with it as well.  As phones become smarter, I suspect there will be
 some real need there also.  Then I also hear the rumor of OSX running
 on phones.  Nice!
 
 
 
 So when the day is done and gone I do
 not want to spend a bunch of time learning a new language and the
 development tools that go along with it and find I wasted my time.
 
 
 
 Any Suggestions?
 
 
 
 Thanks in advance!
 
 
 
 
 
 
 
 
 Keith Smith
 
 
 
 2 Chronicles 7:14 (New International) : if my people, who are called by my 
 name, will humble themselves and pray and seek my face and turn from their 
 wicked ways, then I will hear from heaven, and I will forgive

Re: double-extensions in apache?

2011-03-20 Thread Joseph Sinclair
Apache and other web servers are required to send the MIME type of any data in 
a response.
There's really no such thing as a file in HTTP, only data streams and MIME 
boundaries, so that MIME type is pretty important.
How else, in a general and cross-platform way, are the web servers to figure 
that out other than looking at the file extension?
Also, the cascading file type approach is there because website builders 
(mostly Microsoft's frontpage abomination and similar garbage) have been known 
to throw
all kinds of extra file extensions on content that's imported (like taking 
image.png and saving it as image.png.bmp).
Sometimes there is filesystem metadata and sometimes not, but none of that is 
cross-platform and even when it's available it isn't always populated.
Webservers may use it if it's present, but they always have to fallback to 
extension matching.

It's not ideal, but it's what the developers of the Apache webserver have to do 
to make it work for a wide audience (one of the downsides of being, by a huge 
margin, the most widely used web server on the net)

There are tools to check your site and ensure everything is clean with 
extensions, metadata, etc...  Those should be used by everyone developing a 
website.
There are also settings to disable content-type-determination on uploads, and 
those should ALWAYS be enabled.
It's OK to guess the content type of a file in the filesystem, but an HTTP PUT 
request is supposed to *tell* you the mime type, and if it doesn't then the 
sender simply cannot be trusted to put content to your site.

Just my thoughts on the matter.

==Joseph++

On 03/20/2011 12:21 AM, der.hans wrote:
 moin moin,
 
 When web servers such as Apache decide how to process a URL request, they
 use the file extension. If the extension is not recognized, Apache skips
 that extension and uses the previous file extension. For example, if the
 file being requested is exploit.php.pps, and Apache does not recognize the
 '.pps' extension, it treats the file as PHP and executes it.
 
 http://api.drupal.org/api/drupal/includes--file.inc/function/file_munge_filename/6
 
 That absolutely doesn't make sense to me. It seems foolish to reinterpret
 what the content-type is.
 
 Apache ( and other web-servers ) shouldn't be making wild guesses about
 content-types.
 
 http://www.ruby-forum.com/topic/185709
 
 ciao,
 
 der.hans



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: double-extensions in apache?

2011-03-20 Thread Joseph Sinclair
As you surmise, I mean to say the *setting* should be enabled.  That is, 
content type determination should be *disabled* for all uploads.

On 03/20/2011 02:16 PM, Eric Shubert wrote:
 On 03/20/2011 01:11 AM, Joseph Sinclair wrote:

 There are tools to check your site and ensure everything is clean with 
 extensions, metadata, etc...  Those should be used by everyone developing a 
 website.
 There are also settings to disable content-type-determination on uploads, 
 and those should ALWAYS be enabled.
 
 I'd like to be clear about this. Do you mean to say that the setting to 
 disable content-type-determination should be enabled (which appears to be 
 what you said), or that the content-type-determination setting should be 
 enabled?
 
 It's OK to guess the content type of a file in the filesystem, but an HTTP 
 PUT request is supposed to *tell* you the mime type, and if it doesn't then 
 the sender simply cannot be trusted to put content to your site.

 Just my thoughts on the matter.

 ==Joseph++

 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Programing help read USB Joystick using gcc

2011-02-23 Thread Joseph Sinclair
Sounds like what you need to do is very similar to writing a custom driver for 
your joystick in an embedded environment.
You'll probably need to do something similar to the following:
1) A library for usb interface in your environment
  a) libusb provides a low-level interface to USB data for Linux, but it 
requires the Linux kernel to provide the host controller drivers.
  b) If you aren't developing under Linux, then check with your SBC vendor 
about drivers for their USB host controller.
2) If your environment doesn't already have a driver for your joystick, you 
need to find out what the joystick sends for commands and data; there are two 
common ways of doing this
  a) Pull up a Linux driver for the joystick (if one exists) and use that code 
to determine the USB command and data structures (easier)
  b) use a USB snoop device to reverse-engineer the interface for your joystick 
(much harder)
3) Write the code needed to interface with the joystick
  a) If you do not already have a driver available, write a driver for your 
environment, and connect that to your ROV control code.
  b) Write code using libusb that interfaces with your joystick using an 
existing Linux driver.

This page is a good starting point for developing any USB interface code, 
whether in Linux or otherwise:
http://www.linux-usb.org/

Hopefully that helps.

Mike Bushroe wrote:
  I have been trying unsuccessfully for some time to figure out how to
 read the analog axes and digital buttons on one or more USB joysticks
 connected to a computer with an open source programming language like C
 compiled by gcc. I have no idea what library needs to be added, if any. I
 also have no idea what the function call names or parameters are. I have
 tried Googling USB Joystick, but mostly what I find is how to convert an
 older game console into a USB device. Can someone point me to required
 libraries, header files with function calls, or better yet sample code? Or
 is there a different listserver that has people that can more easily answer
 questions like this?
 
 
  I am trying to write a program to send serial command data to a
 microcontroller to operate an underwater ROV using the joysticks to control
 movement and manipulator arms, and buttons to control lights, secondary
 cameras, ballast tanks, etc. But without a way to read human input, I don't
 have any data to convert into motor commands to control the movement of the
 ROV.
 
 Mike
 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Using KDE but want something different

2011-02-20 Thread Joseph Sinclair
XFCE, LXDE, or JWM fit what you describe.  Gnome is somewhat close for now, but 
it has been getting away from the simple desktop approach for a while, and the 
latest (3.0) is very Mac-like and far less customizable than KDE.
You might also look at WindowMaker (ultra clean/light, but no taskbar) or the 
Enlightenment Desktop (very nice graphics, but still cleaner than KDE and more 
customizable than Gnome)

mz wrote:
 I'm looking for a replacement desktop. Currently I'm using KDE v4.4.4. It has 
 way too many bells and whistles for my needs, and there doesn't seem to be a 
 way to turn them off.
 
 I keep an extremely clean desktop with almost nothing on it. There are a few 
 links to frequently accessed files or directories, but that's about it. At 
 times I will temporarily store files on the desktop before deciding whether 
 or 
 where to store them. I do almost everything through the application launcher 
 menu and the file manager.
 
 My perfect desktop would be similar to the old Windows XP with a simple task 
 bar and system tray. There would be simple icons, no widgets and no plasma 
 workspaces. The file manager would be similar to the old Program Manager in 
 Windows 3.1 with only a tree directory and files always displayed with a 
 detailed view and absolutely no folder views.
 
 Is there such a thing any more? If not, what's the closest to it?
 
 TIA,
 Mark Z.
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Ubuntu Desktop dns binding help

2011-02-15 Thread Joseph Sinclair
Tom,
  Are you certain you need DNS and not, say, an entry in your hosts file 
(/etc/hosts)?
Usually when testing I just add a hosts entry for the domain in question to the 
test client boxes and/or servers and that resolves things without having to 
mess with DNS.

Tom Ostlund wrote:
 Hello All, 
 
 I have my LAMP setup working just fine but I would like to setup dns so
 that I can fully test the sites that I am working on locally. This is
 where google fails me. I can see all kinds of stuff for Ubuntu Server
 but not really anything for Ubuntu Desktop. 
 
 Can anyone send me a link to a NOOB tutorial on setting this up? 
 Thanks 
 Tom 
 Mesa, Az
 
 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Ubuntu Desktop dns binding help

2011-02-15 Thread Joseph Sinclair
I would assume that he's talking about broad testing within a local network, 
rather than testing against localhost directly.
I often do this because I can insert firewalls, routers, etc... as/where 
desired to emulate probable scenarios.  It's particularly helpful to emulate 
4in6 or 6in4 connections when using external providers that do not provide 
sufficient IPv6 support.

It's just easier to create a hostfile entry on the test client(s) than to 
create or modify public DNS (sometimes that's not even possible).  This is 
particularly true when the service you're testing is already live and you need 
to black-box test a component of an interconnected SOA system.


Kevin Fries wrote:
 On 02/15/2011 10:42 AM, Joseph Sinclair wrote:
 Tom,
Are you certain you need DNS and not, say, an entry in your hosts
 file (/etc/hosts)?
 Usually when testing I just add a hosts entry for the domain in
 question to the test client boxes and/or servers and that resolves
 things without having to mess with DNS.
 
 Local testing for connectivity is a dangerous tactic anyway.
 
 If there are no firewalls or other local security, you will get the same
 result testing against localhost as you would your local file system. 
 So therefore there is no need for DNS at all.
 
 However, if you are trying to insure everything will operate against
 your public IP for say diagnostic issues, you need to hit your machine
 from outside your local network or at least from outside your local box
 (for a site available only inside your firewall).
 
 If you don't, you are in serious risk of issuing the following words,
 designed to irritate everyone... But it works on my machine
 
 Kevin
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: OT: Need Some Geekness

2011-01-30 Thread Joseph Sinclair
Not sure if this qualifies, but there's a guy on DeviantArt 
(http://sonic840.deviantart.com/) with some great geekified imagery.
The Hardware Poster 
(http://sonic840.deviantart.com/art/Computer-hardware-poster-1-7-111402099) is 
not only geek-art, but useful in a repair shop setting.
Most of it is CC-BY-SA-3.0, so you can print your own copy.

Nathan England wrote:
 Hello Hello,
 
 I am re-entering the world of the living! I am moving away from the
 az.usborder with .mx and back up to the nice mountains
 ...,,,/^\/```*\..%../^\/```*\,,,...
 of Pine ! I am going to open a small shop for development and pc repair, but
 what good is a computer shop that doesn't have a bunch of cool posters and
 geek stuff on the walls!
 
 I would happily forgo the MS Windows posters, but I'd love some Gnu/Linux
 geekness to put up!
 
 So I am making a small request... Either information where I can get some
 free stuff to put up, or cheap stuff atleast... Or if anyone has anything
 they'd like to donate, I'd love to accept it!
 
 I ran a repair shop as a service manager for about 5 years, this time I'm
 going at it as the owner... which really only means I'm really responsible
 now for my screw ups... or atleast I have to pay for them!!!
 
 Thanks all!
 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: SMTP proxy for masking credit card numbers

2011-01-25 Thread Joseph Sinclair
This is a somewhat unusual requirement, so I couldn't find a quick 
out-of-the-box solution, but there is a way to do this.
The general-purpose approach is to add a filter on the mail processing path.  
There are many listed here (https://www.milter.org/) that work with sendmail, 
postfix, and similar common MTA's.
You will probably need to write a regex matcher or a small python script (using 
pymilter http://pymilter.sf.net/) to match anything that looks like a credit 
card and replace the digits with 'x' or similar.
Keep in mind this will probably be a bit fuzzy, as there are many things that 
look enough like a credit card number to result in some mistaken filtering.

Hunter Kreie wrote:
 I'm looking for a lightweight, open-source STMP proxy that I can use to mask 
 credit card numbers on inbound messages. This is content-manipulation or 
 content-scrubbing vs. content-filtering. I'm sure this can be done with quite 
 a few packages, but what's your recommendation?
 
 
 
 
 Fairytale Brownies  friends have raised $30,000 to build a playground with 
 KaBOOM! Help us reach our goal of $72,000 by April 2011.
 Make your donationhttp://kaboom.org/donate and mark on behalf of Fairytale 
 Brownies Playground Project. Thanks for your support!
 
 
 
 Hunter Kreie
 Information Technology Team Leader
 Fairytale Brownies
 4610 E. Cotton Center Blvd, Suite 100
 Phoenix, AZ 85040-8988
 
 hun...@brownies.commailto:hun...@brownies.com
 Direct: 602.489.5149
 Main: 602.489.5100
 Fax: 602.489.5133
 
 Join us on:
 blog.brownies.comhttp://blog.brownies.com/
 
 [cid:image001.jpg@01CBBCA4.973EE110]http://www.facebook.com/pages/Fairytale-Brownies/17947896355?ref=ts
[cid:image002.jpg@01CBBCA4.973EE110] http://twitter.com/ftbrownies
 [cid:image003.jpg@01CBBCA4.973EE110] 
 http://www.youtube.com/fairytalebrownies
 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: google maps

2011-01-23 Thread Joseph Sinclair
Add them via Panoramio.

Michael Havens wrote:
 In my research to this problem I see I need to be more specific. I want
 these pictures to be viewable to everyone.
 
 On Sun, Jan 23, 2011 at 1:32 PM, Michael Havens bmi...@gmail.com wrote:
 
 Could someone tell me how to add photos to google maps?

 --
 :-)~MIKE~(-:

 
 
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: (OT) Need Some Expert Network Advice

2011-01-22 Thread Joseph Sinclair
Something like Wireshark (or other similar tool) on the local network might 
help you diagnose the root of the problem you have with T-Mobile WiFi calling 
at home.
You'll be drinking from the firehose when you monitor the detail traffic for 
your network, but if you can filter down to just the packets to/from your phone 
you may be able to see what kind of network issues it's having and figure out 
how to make it work more reliably.

Mark Phillips wrote:
 The Gizmo5 service is gone...Google acquired them in Thursday, November 12,
 2009. It is being rolled into google voice; not yet released.
 
 I am trying to understand how google voice can help me make calls over WiFi.
 I don't really want another phone number. Is that the only way to connect my
 phone for WiFi calling? Is there no way to diagnose why my network setup
 won't allow WiFi calling from my phone?
 
 Thanks,
 
 Mark
 
 On Sat, Jan 22, 2011 at 9:44 AM, Lisa Kachold lisakach...@obnosis.comwrote:
 
 Hi Mark and Jordan,

 On Sat, Jan 22, 2011 at 9:33 AM, Jordan Aberle 
 jordan.abe...@gmail.comwrote:

 Have you tried this?

 http://tinyurl.com/luwroy

 This is HOT!

 Excerpt:

 The one big thing Google Voice doesn't offer, besides automated
 telemarketer taunting, is free voice-over-internet phone calling through
 your cellphone. On an Android phone, however, you can use the Gizmo5
 service http://gizmo5.com/, Google Voice, and a free application to call
 anyone for free.

 A free, open-source, and unofficial Android app, 
 Guavahttp://gizmo5.com/guava.html?loc=guava,
 gives any Android phone the ability to make and take calls over Gizmo5's
 VoIP service, connected through a Google Voice phone number. It works over
 Wi-Fi, 3G, or, for the daring, EDGE. You probably won't want to use Guava as
 your primary phone call manager, as the call quality varies with your
 connection and really works best over Wi-Fi. That said, if you're running up
 against your minute allotment, or find yourself in a basement-like spot with
 decent Wi-Fi but really bad cell coverage, Guava is a great little tool to
 have at your disposal.

 It's also worth noting that, depending on who your carrier is, making a
 VoIP call over an EDGE or 3G network may violate your contract's terms of
 service. A little hard data use now and then likely won't be noticed, but
 if you plan on using Guava heavily with your cellular data plan, you should
 check and read into what's tolerated and what's not before embarking on your
 bold data-only adventure.
 Mark, will you let us know how it goes?

 On Sat, Jan 22, 2011 at 9:01 AM, Mark Phillips
 m...@phillipsmarketing.biz wrote:
 This is not totally off topic.Android is based on Linux;-)

 I need some advice from an expert in networks to give me some advice on
 getting my phone to make WiFi calls

 Anyway, I have a T-Mobile MyTouch 4g phone. It is supposed to be able to
 make calls over WiFi, which do not use an plan minutes...ie free
 calls. I
 depend on this phone for my business, and I have a wireless network at
 the
 office, so I don't have to pay for gillions of minutes. This worked
 great
 when I had my Blackberrys - I could talk all day in the office and not
 use
 any minutes. All of this is above board with T-Mobile - I actually pay a
 low
 monthly fee for unlimited WiFi calling.

 Anyway, much to my chagrin, I discovered yesterday that I had gone way
 over
 my plan minutes. I checked with T-Mobile, and none of my calls had gone
 over
 WiFi. The agent refunded all the charges for the over-plan minutes and
 gave
 me extra minutes to get through the rest of the month. She sent me to
 technical support, and we could not get my phone to make calls over my
 WiFi
 network. Even though the phone says I am connected to WiFi. So, I went
 to
 the T-Mobile corporate store in Fashion Square, and the manager (she has
 the
 same phone) and I tried to connect to the mall WiFi, and we could
 connect to
 the mall WiFi, but could not make WiFi calls. Same error - could not
 connect
 to T-Mobile network.  I then tried to make a WiFi call at Starbucks, and
 it
 worked! It also worked at Barnes and Noble after I agreed to the free
 Internet terms and services (didn't work before then).

 I googled for issues with WiFi calls with this phone, and found a lot of
 them. Sometimes it works and sometimes it doesn't. The error message
 that
 pops up says the phone cannot connect to the T-Mobile network. T-Mobile
 is
 aware of the issue, but does not have a fix or ETA for one.

 One posting had this to say about the WiFi calling.

 The WiFi Calling app is Kineto's WiFi Calling app branded for T-Mobile.
  The
 WiFi Calling app is an implementation of 3GPP GAN, which allows
 something on
 the Internet to get into a cellular network and do stuff (in this case,
 make
 and receive calls).If you care to pull up the most recent version of the
 spec, linked above, you'll find that registering (ie, logging into
 home
 base) involves these steps (get a glass 

Re: runaway process udisks-daemon and how to resolve?

2010-12-21 Thread Joseph Sinclair
udisks_daemon is part of DBUS and UDEV.  It's the DBUS device manager for the 
disks on the machine.
I have also had issues with DBUS and UDEV elements locking up the system from 
time-to-time.
The only solution I've found so far is to restart the machine on occasion, just 
like I used to have to do with Windows back when I ran that mess.
I have only found this instability in desktop environments like Gnome and KDE; 
I have no similar stability issues with the servers I run.
It seems that the current versions of Gnome and KDE have uncovered issues in 
the DBUS and UDEV subsystems with their increasing heavy (ab)use of DBUS.

You might also try the XFCE desktop and see if that works for you; I believe 
ORCA still works on XFCE, and its less complex use of DBUS might allow the 
system to be more stable.

Technomage Hawke wrote:
 ok,
 I've tried searching for a resolution through the debian bug reporting system 
 without any usable results. I keep having a random occurrence of 
 udisks-daemon causing my powerbook G3 to start locking up. I can killall it 
 but that takes some time (as the keyboard gets locked up along with the rest 
 of the machine). 
 
 is there a module that calls this process? I have been unable to find a 
 binary on the HD with this name. I suspect that it may be part of the dubs 
 system, but with no useful information, I can't do any more without help. 
 
 this is rather important as this is my only accessible notebook and I DO NOT 
 have the resources to just go out and buy another one. to continue, after 
 killing the above named rogue process, the machine stabilizes for a short 
 time and then  ORCA (the talking desktop for the blind) starts getting 
 increasingly unstable eventually crashing completely.
 
 I don't like to ask for help here as I generally get the impression that I am 
 an inconvenience (I'm sorry that I can't help that I am blind AND unemployed, 
 but thats what life dealt me and I have to deal with it).
 
 anyway, if anyone has any suggestions on how I can resolve this issue on my 
 PPC G3 750, I'd welcome the input.
 
 -Eric
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: rsync help the gramma

2010-12-08 Thread Joseph Sinclair
You're pretty close to ideal there.
I use
rsync -avEHh --delete-after --progress $SOURCE $DESTINATION
Generally no need to sudo for your own homedir, and -z is really only useful 
for network copying (it compresses in-transit, not on disk).

That will only copy over changes between the source and destination, and will 
remove anything in destination that's no longer in source.

Make sure the external drive is formatted EXT3 or XFS so you can preserve 
things like access controls and ownership.

When you look at the final output of the command, there's usually a ratio 
listed.
That's the amount that could be copied vs. the amount actually copied.  If 
that's much larger than 1, then you're only copying changes.

==Joseph++

betty wrote:
 I have an ext hdd that i copy my stuff to every few months. I think that
 i am copying everything all over again each time.
 What I'd like to do is just copy files that have changed.
 This is the command i have been using
 
 sto...@stormy-desktop:~$ sudo rsync -azvH /home/stormy/ /media/october
 
 please don't suggest that i use dd or whatever else there is because i
 am not good at trying new things. i think i'm doing a lot just to do the
 backup every few months.
 
 any rsync suggestions greatly appreciated. if i am already using the
 correct command for just copying things that have changed, please let me
 know.
 
 THANKS, Merry Christmas to all pluggers !
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: USB hardware in VM or Linux PVR software

2010-12-07 Thread Joseph Sinclair
Responses inline delimited with ---

Stephen Wiebelhaus wrote:
 I prefer running Linux, but am stuck with Windoze for certain
 applications, namely a USB TV adapter. It's a Hauppauge WinTV-HVR-950Q.
 I've been using it with GB-PVR software for the past year, and have a
 couple hundred hours of shows recorded with that software, which is for
 Windows.
 Are any of the Virtual Machine programs support USB enough for this type
 of application? I know VirtualBox, and VMWare support USB, but I don't
 see online that they have support for less common hardware, mainly USB
 drives.
---
If the USB device is dedicated to the guest while it's running, then USB 
support, in general, is whatever the guest O/S supports.
If the USB is proxy-passthrough (that is, the host recognizes the device, then 
passes it off to the guest), then support is whatever the host (Linux) supports.
In either case, the speeds may be a bit low and most full virtualization 
systems (e.g. KVM, Virtualbox, VMWare) have issues with I/O performance and 
occasional twilighting (the VM may pause for several seconds) that can 
interfere with realtime services like recording Video.
---
 Are there any Linux based PVR software that would support the Hauppauge
 WinTV-HVR-950Q?
---
Not sure, have you looked at MythTV?
---
 Would that program be able to import/view MKV files?
 Actually they are x264 video and mp3 audio inside an MKV container.
---
MKV is an open container, so good there.  Most Linux distributions handle h.264 
video and MP3 audio just fine.
---
 The GB-PVR software stores all the program descriptions in a file
 database, which I suppose I could live without that information.
---
Depending on the file format, this may be recoverable/migratable, pull the 
database into Linux and try to open it with sqlite3 or a text editor (might be 
SQLite or XML), if that doesn't work you might do some google searching for 
software to interpret/migrate the data.
---
 
 Thanks,
 Stephen
 




signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Best Way to Multi-Boot?

2010-12-06 Thread Joseph Sinclair
I don't have quite the same situation, but I do need fairly large storage 
shared between multiple systems.
I use a nice little 2TB NAS box for the storage, since then it's on a separate 
system (so one power surge doesn't take out everything), I can use cron to 
schedule rsync backups, and I can do regular backups of that to a 2TB USB drive 
(fairly cheap) using dd (embedded distro only has rsync and dd).
Using a NAS also makes it a little bit easier to add storage; most will allow 
expansion with USB drives (slow but effective), and it's not unrealistic to get 
devices with 4 bays and eSATA expansion (have you seen the 15-bay eSATA 
expansion boxes?) that allow serious storage growth (from 8TB up to 30TB or so) 
if needed.
I have 3 different Linux distributions in use (on 3 different machines, 
however), not counting the embedded Linux in devices (NAS, routers, etc...).
I switched to using VirtualBox for experimenting with new distros a few years 
ago to get out of the multi-boot headaches.

I, too, had issues with Ubuntu 10.10 (and 10.04), so I switched to Kubuntu at 
work (slightly more stable) for now, and have been evaluating a few different 
rolling distros because I don't see Ubuntu acting like a good community member 
anymore.
Ubuntu seems to be heading down the road of becoming a proprietary Linux-based 
O/S with their own value-added garbage (e.g. Ubuntu One) rather than a fully 
open GNU/Linux distribution.  I understand them wanting to find a commercial 
model that works, but I suspect the road they're on isn't it.

The NAS is a Buffalo LinkStation, by the way, I've been fairly impressed with 
the device and it's Linux internally (I had to root it to get ssh and rsync, 
but that turned out to be trivial to do), only thing I don't like is it's 
CIFS/Samba-only and doesn't support NFS or iSCSI.

I've done some poking around in Chromium O/S, and you're right; that belongs on 
devel.

Mike Hoy wrote:
 I need to run Windows and Linux. It has been this way for years. I am
 getting fed up with it to be honest. But this isn't just about going
 between win and nix. I also am compelled to run at least two different
 distro's.
 
 My solution was to do this:
 
 HDD1: Ubuntu (for web dev and basically everything I need to get done)
 HDD2: Windows
 HDD3: Storage (for all backups between both 1 and 2 and all multimedia)
 
 There is a 4th hard drive but it has failed so I will leave that out.
 It was running Gentoo up until it's demise.
 
 No matter what since I've owned a computer I find myself constantly
 reinstalling operating systems. It has gone down over the years but
 it's still like 3 times a year or so.
 
 Recently I went from 9.10 to 10.10 and that caused problems so now I'm
 going to have to go back to 9.10 not the end of the world but it's
 getting old as am I.
 
 Anyone have the ultimate solution for how to manage this? Are you in a
 similar situation? What have you done to fix this problem.
 
 Another problem is disk space. I have 2 500 gig drives (plenty for OS)
 but my storage drive can never be big enough. I keep all my client's
 data on it because I feel the need to have backups of everything for
 those CYA moments. They do come up.
 
 I find myself in awe of motherboards with more than 4 SATA ports. That
 way I can have 8 hard drives! I could run 6 operating systems and 1
 storage in RAID config! I'm only somewhat joking there.
 
 Another question has anyone done any development on chromium OS? Maybe
 that belongs in the dev list.
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Arm multicore multinode servers?

2010-11-23 Thread Joseph Sinclair
These are part of an interesting (IMO) trend toward using less traditional 
system architectures, in this case using much less powerful ARM chips (an ARM 
does a lot less per clock than an equivalent x86_64 CPU) in large numbers to 
provide basic (i.e. low per-page computation) web services, to more effectively 
fill a target niche.
Website serving (in most cases) is exactly the type of low-CPU high-I/O task 
that's perfectly suited to very large numbers of weak CPU cores.  Each request 
can easily run on a different core, but pushing a page (even one generated from 
*simple* JSP/ASP/PHP) takes very little CPU.  Running a lot more cores helps, 
but running expensive fast cores does not (this is mitigated somewhat by 
event-driven servers like NginX, but more cores is still better).  You will 
need a ton of network and disk I/O, but things like tcp-splice, tcp-offload, a 
copy-free TCP stack, memcached, membase, FusionIO cards, etc... are making that 
a very reasonable proposition for a Linux system like these.
As a side note, that's always been the advantage of Mainframes (which are still 
used for a LOT of stuff) for similar types of line-of-business tasks (like 
transaction processing); they don't have a lot of raw CPU, but they can push 
bits at rates an x86 couldn't dream of matching.
The advantage of these ARM based systems over a distributed or mainframe-type 
system is that they're a few orders of magnitude less expensive, ideally suited 
to web serving, and use vastly less space, power, and cooling than a commodity 
system with the same page-per-second capacity.
I would never even think of using one for something like a database server, but 
as the web front-end they're pretty close to ideal.

GPU computing (e.g. CUDA or OpenCL) is another example of alternative, more 
targeted, architecture; this time for extremely parallel high-CPU/low-I/O tasks 
(the opposite of what these ARM boxes are suited to).

I predict that we will see a continuing diversification of system types as 
different types of tasks and new computing techniques drive a need for a wider 
variety of non-traditional architectures.  I read an interesting article on the 
IEEE website today about using memristors as a similarly novel computing 
architecture to accomplish tasks currently solved by neural processing 
algorithms because a memristor array acts, in some ways, like a neural array.

I should note here that these ARM systems won't replace x86 systems, just as 
x86 hasn't replaced mainframes.  These new architectures will expand the 
diversity of systems in use; existing systems will still be used where they 
make sense, and these new systems will take over in niches where they 
significantly outperform existing approaches.

Stephen wrote:
 http://www.theregister.co.uk/2010/11/23/zt_systems_arm_server/
 
 so what is plugs thought on this. Aside from pre-shipping with Linux
 (ubuntu) i can see how low power server nodes for those itty bitty
 nibble tasks can make sense, but they are looking to push a ton of
 little cores soon.
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Building my own package

2010-11-05 Thread Joseph Sinclair
There are a lot of ways to do this, from dead-simple to very complex.  It 
depends a lot on how much of the functionality of dpkg your package needs.

I roll deb packages for a lot of projects using Maven2 and the jdeb plugin; for 
any project using Maven2 to build, it's dead simple.

For relatively basic projects, the following process works OK:
1) create a subdirectory build to build from.
2) create the directories where your files need to go on the target system, 
pretend the build subdirectory from (1) is /.
3) Create another subdirectory next to the first, call it control
4) Create a file in control called control.
5) Edit the control file according to 
http://www.debian.org/doc/maint-guide/ch-dreq.en.html#s-control
6) in the build subdirectory find * -type f -exec md5sum '{}' \; 
../control/md5sums
7) in the control directory, tar zcf ../control.tar.gz .
8) In the build subdirectory, tar zcf ../data.tar.gz .
9) create a file debian-binary in the parent directory with the contents 
2.0\n where \n is a newline.
10) in the parent directory, ar q some-package.deb debian-binary control.tar.gz 
data.tar.gz

That should do it.

For more complicated setups, 
http://www.debian.org/doc/maint-guide/ch-dreq.en.html is the definitive 
starting point.

John wrote:
 I've been running ubuntu for awhile and I've compiled my own programs but 
 I've never made my own package (deb file). I tried it once before on Fedora 
 (rpm) years ago and it seemed to complicated. Can someone point me in the 
 right direction on how to build my own packages?
 
 
 
   
 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: OT: WiFi hardware question

2010-10-26 Thread Joseph Sinclair
Normally, an Access Point is intended as the base station part of a Wi-Fi 
network.
It is possible, sometimes, to use one as a wireless bridge (which is what 
you're describing in connecting it to the ethernet port), but I'd be very leery 
of using such a low-cost unit in that role; it's not entirely uncommon to see 
low-end units like that function very poorly or not-at-all.

As for antenna size, a 2.4GHz antenna is generally going to be most efficient 
at 1/4 it's wavelength of 12.5cm.  Most small devices have an antenna of about 
that size (around 1.2 inches), and there's little or no advantage to using 
anything larger.
The larger antennae on some access points and bridges are usually dipole (2 
antennae at 3.125cm each in opposition around a common centroid) and aren't 
actually any better at receiving signal, but they feed into a much higher gain 
amplifier stage using a differential amplifier which has better signal-to-noise 
ratios at the cost of using more power (and requiring a dipole antenna).
Wireless N uses VOFDM reception which drops dipole amplification and, instead, 
uses it's antennae to, receive more power from the original signal via 
multipath amplification (basically using weaker signals from other angles to 
amplify the strongest core signal).

You might be better off getting a newer Wireless N USB dongle with 2 (or more) 
internal antennae for multipath diversity (which usually provides better signal 
in home environments than dipole amplification) rather than tying the machine 
to a fixed bridge of uncertain quality.

I hope that helps.

==Joseph++

Steven wrote:
 Okay, this one seems like a no-brainer question to me but I haven't
 dealt with one before. A wireless access point like this one:
 http://www.newegg.com/Product/Product.aspx?Item=N82E16833180035 should
 get better reception with that antenna than one of those little stubby
 USB adapters like this:
 http://www.newegg.com/Product/Product.aspx?Item=N82E16833127272
 
 My sister's computer is hooking into our wireless using a USB wireless
 adapter about the size of that second link (although it's too old to
 still show up on Newegg, I'm just pointing to something similar in
 size), and it's never had great reception, but lately it's been very
 flaky. Looking over things I realized those access points start in the
 same price range as the USB adapters while having those nice antennas
 that are longer than the USB sticks are even including the USB plug.
 
 That said, I've never actually used an access point, it's always either
 been a built in laptop adapter, a PCMCIA adapter (which got a lousy
 signal going through two fewer walls than are between the wireless
 router and my sister's computer), or one of those USB wireless adapter
 sticks. If I'm catching how it works correctly her computer should
 simply see it as a plain old connection over the build in Ethernet port,
 correct?
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: libreoffice, good news or bad news

2010-09-28 Thread Joseph Sinclair
Thanks to the copyright assignment requirement for OO.o, Oracle does own all 
OO.o copyrights at this point.
The copyright statement will change if and when new contributions outside of 
that copyright assignment become significant.
Then it will read Oracle and others, because Oracle will still own a lot of 
copyrights (unless they sell them) in the codebase for a long time to come.

Thank goodness OO.o was relicensed, before the Oracle takeover, to LGPLv3; the 
previous CDDL licensing would have prevented this fork entirely.

From the way I read the materials it seems copyright assignment will still be 
part of the project, but more along the lines of the FSF assignment, which is a 
lot easier to swallow than the Sun (now Oracle) model.

==Joseph++

P.S. Thanks to that same LGPLv3 license; Oracle can't even assert patents 
against LibreOffice, at least not without major consequences.  True Free 
Software licenses, like the GPL and LGPL, defend against a lot of bad actors, 
and empower the community to route around them; most Open Source licenses 
lack those features.


JD Austin wrote:
 I just downloaded/installed LibreOffice on my windoze box here;
 I wonder if this copyright will change soon:
 LibreOffice 3.3.0
 OOO330m7 (Build:9526)
 ooo-build 2010-09-24
 
 Copyright � 2000, 2010 *Oracle and/or its affiliates*. All rights reserved.
 This product was created by The Document Foundation, based on
 OpenOffice.org.
 OpenOffice.org acknowledges all community members, especially those
 mentioned at
 http://www.openoffice.org/welcome/credits.html.
 
 
 
 On Tue, Sep 28, 2010 at 12:12, Jim March 1.jim.ma...@gmail.com wrote:
 
 This is a group of Linux adults (Red Hat, Cannonical, others)
 stepping in to make sure Oracle doesn't hose OO.

 Without OO the Linux cause is set back YEARS.

 Jim
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Need a mail app for LARGE volumes of mail...

2010-09-20 Thread Joseph Sinclair
This sounds more like a situation where you just don't trust GMail to keep your 
older emails, but you still really need cloud access to the current/recent 
email.

What you might find most useful is a hybrid setup.

Use a local store (fetchmail-into-mbox, thunderbird on POP, IMAP/Backup, 
etc...) on a system at home that you don't mind running as a server and have 
that download everything, read-only, from GMail and keep it forever in a 
small/light IMAP server like qmail-toaster as Eric Shubert suggests.
Set the gmail to archive and remove (might need to enable a lab for this) 
anything over some reasonable age (perhaps 1 year?) so it serves as a 
cloud-based cache for recent email without all the old stuff.
Use a caching IMAP client on the laptop to access gmail while on the road 
(gmail with offline enabled, Thunderbird in IMAP mode with local storage 
enabled, etc...).
Have another client at home to read from your archive server for older messages 
that won't be in your GMail any more.

There are a lot of variations on that structure.  The primary idea being to 
split the huge volume of old emails from the smaller current volume (for 
whatever timeframe you consider current).

Just a thought.

Joseph Sinclair

Jim March wrote:
 Well gmail-backup looked like a good idea but it depends on python 2.5
 - I have 2.6, it refuses to execute the shell script on that basis.
 
 Sigh.
 
 Jim
 
 On Mon, Sep 20, 2010 at 8:28 PM, Eric Cope eric.c...@gmail.com wrote:
 or this...

 http://www.gmail-backup.com/download

 again, just googled it, can't vouch for quality.

 Eric

 On Mon, Sep 20, 2010 at 8:26 PM, Eric Cope eric.c...@gmail.com wrote:
 It sounds like a method to download all emails to a database initially,
 then keep up with emails at a normal rate.
 What about something like this -
 http://www.broobles.com/imapsize/imap-backup.php - I just googled it, I
 can't vouch for quality...

 Eric

 On Mon, Sep 20, 2010 at 8:15 PM, Jim March 1.jim.ma...@gmail.com wrote:
 On Mon, Sep 20, 2010 at 8:04 PM, Alan Dayley aday...@gmail.com wrote:
 I don't have an answer to your main question, just questions. �In your
 original post you stated:

 And it has to allow streaming it all in continuously. �We're talking
 about almost 6gig.

 These requirements are not clear to me.
 Ah. �Yeah. �My bad.

 OK, I have nearly six gigs in Gmail right now. �There's gotta
 be...heck, I dunno, 30,000 messages in my inbox alone. �Thousands in
 sent. �God ONLY knows what's in the spam trap.

 :)

 I'm going to take an empty local EMail client, point it at that
 beeyatch and say open up and say  one evening with the
 laptop on a fast pipe, and go to bed.

 When I wake up, I want that stuff held locally.

 If I have to restart the download every 700 or 900 or whatever
 messages, it'll take frackin' forever. �I need it to suck that stuff
 down unattended. �And I'll make sure I have enough local disk space to
 eat it all.

 Once it's synced the first time, then it's pretty easy to keep up.
 It's gonna be that first download that will be a complete and utter
 PITA.

 :)

 Jim
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Need a mail app for LARGE volumes of mail...

2010-09-20 Thread Joseph Sinclair
By the way, this post http://opennomad.com/content/gmail-backup-imap-server 
describes one way to set up a home system to pull all of the GMail content into 
a local IMAP server with all open-source tools.

Joseph Sinclair wrote:
 This sounds more like a situation where you just don't trust GMail to keep 
 your older emails, but you still really need cloud access to the 
 current/recent email.
 
 What you might find most useful is a hybrid setup.
 
 Use a local store (fetchmail-into-mbox, thunderbird on POP, IMAP/Backup, 
 etc...) on a system at home that you don't mind running as a server and have 
 that download everything, read-only, from GMail and keep it forever in a 
 small/light IMAP server like qmail-toaster as Eric Shubert suggests.
 Set the gmail to archive and remove (might need to enable a lab for this) 
 anything over some reasonable age (perhaps 1 year?) so it serves as a 
 cloud-based cache for recent email without all the old stuff.
 Use a caching IMAP client on the laptop to access gmail while on the road 
 (gmail with offline enabled, Thunderbird in IMAP mode with local storage 
 enabled, etc...).
 Have another client at home to read from your archive server for older 
 messages that won't be in your GMail any more.
 
 There are a lot of variations on that structure.  The primary idea being to 
 split the huge volume of old emails from the smaller current volume (for 
 whatever timeframe you consider current).
 
 Just a thought.
 
 Joseph Sinclair
 
 Jim March wrote:
 Well gmail-backup looked like a good idea but it depends on python 2.5
 - I have 2.6, it refuses to execute the shell script on that basis.

 Sigh.

 Jim

 On Mon, Sep 20, 2010 at 8:28 PM, Eric Cope eric.c...@gmail.com wrote:
 or this...

 http://www.gmail-backup.com/download

 again, just googled it, can't vouch for quality.

 Eric

 On Mon, Sep 20, 2010 at 8:26 PM, Eric Cope eric.c...@gmail.com wrote:
 It sounds like a method to download all emails to a database initially,
 then keep up with emails at a normal rate.
 What about something like this -
 http://www.broobles.com/imapsize/imap-backup.php - I just googled it, I
 can't vouch for quality...

 Eric

 On Mon, Sep 20, 2010 at 8:15 PM, Jim March 1.jim.ma...@gmail.com wrote:
 On Mon, Sep 20, 2010 at 8:04 PM, Alan Dayley aday...@gmail.com wrote:
 I don't have an answer to your main question, just questions. �In your
 original post you stated:

 And it has to allow streaming it all in continuously. �We're talking
 about almost 6gig.

 These requirements are not clear to me.
 Ah. �Yeah. �My bad.

 OK, I have nearly six gigs in Gmail right now. �There's gotta
 be...heck, I dunno, 30,000 messages in my inbox alone. �Thousands in
 sent. �God ONLY knows what's in the spam trap.

 :)

 I'm going to take an empty local EMail client, point it at that
 beeyatch and say open up and say  one evening with the
 laptop on a fast pipe, and go to bed.

 When I wake up, I want that stuff held locally.

 If I have to restart the download every 700 or 900 or whatever
 messages, it'll take frackin' forever. �I need it to suck that stuff
 down unattended. �And I'll make sure I have enough local disk space to
 eat it all.

 Once it's synced the first time, then it's pretty easy to keep up.
 It's gonna be that first download that will be a complete and utter
 PITA.

 :)

 Jim
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 
 
 
 
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Are parallel pipes feed by one process possible ?

2010-09-15 Thread Joseph Sinclair
The following should work (probably there are other ways as well).
process1 | tee (process2) | process3

This splits the output of process1 to a named pipe which process2 uses as input 
and the anonymous pipe into process3.
process2 is in a sub-shell, so it's run in parallel with process3, which is run 
in parallel with process1 and tee because pipes always run in parallel.


leeg...@speedymail.org wrote:
 Hi,
 
 I want to do the following:
 
 Btw, I don't know if  meaning I think run processes in background has
 any effect on my question but it's there w/the actual commands so I'm
 adding it. So one process runs and is piped into a second process.
 
 $ process1 | process2 
 
 Is there a way I can pipe process1 into process3 (and still pipe into
 precess2) ? So process1 runs and process2 and process3 run in parallel
 both feed by process1. So like test.txt file w/content:
 
 a
 
 b
 
 c
 
 ---
 then
 
 $ cat test.txt | grep a
 $ a
 $ cat test.txt | grep c
 $ c
 
 I want cat test.text to feed both greps at the same time and maybe get
 output like:
 
 $ac
 
 I tried the tee command w/no luck. Is there a way to do this on one line
 at one time? Thanks. using Ubuntu w/Bash. 
 
 Lee
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 



signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: OT : Need to determine what the going rate is for a junior programmer

2010-09-10 Thread Joseph Sinclair
salary.com
There's a quick ballpark value you can get for free, and you can pay a moderate 
fee ($99) to get detailed information including W4/1099 breakdowns and 
secondary factors for a single job.
For your case select the salary wizard on the front page, enter the job title 
(Programmer or Software Engineer) and a ZIP code, when the results list 
comes up check the description until you find one that matches your experience 
expectations, then choose the For Employers results link.
You'll get ballpark general data right up front, and a link to buy the full 
detailed report (which asks a lot more questions to match your job requirements 
better) if it looks like you have the right result (or you can back up and try 
another title if you don't think you have the right job title).

I've been using it for years to benchmark the general market for various 
positions.

keith smith wrote:
 
 
 Hi,
 
 I need to find a helper and
 need to determine what the going rate is for a junior programmer with
 a year or two of experience, maybe more.� He or she would need
 all the normal skills, PHP, MySql, CSS, JavaScript, XHTML, some AJAX
 exposure using a common library like MooTools or jQuery.� Extras
 that would be a plus : Drupal, payment gatway, some LAMP skills.
 
 I need to determine what fair compensation would be for someone like
 this on a 1099 - full-time retainer without any benefits except 4
 weeks of paid vacation a years and 6 paid holidays.� This is a
 work on your own type of gig and you can flex your time to some
 degree.� Would like this person to be available most of the day
 and they need to be willing to answer their phone or call back in a
 timely   manner and respond to emails in a timely manner.� There
 would be a need to be on call some of the time.� I have been the
 only one on call (24/7) for 3 years and I have had 1 time where I
 needed to work into the early morning to deal with something.�
 The other 2 times I had to deal with something for an hour or so in
 the evening.
 
 This person would work with me and would need to
 be in the East Valley so we could get together on a weekly bases or
 when we need to work face to face.� In the beginning I would
 want to spend more time working together because there is a lot to
 learn about our system.
 
 It is a great gig working with a very
 successful virtual company which does all it's business online.
 
 I will post the job once I put together more of the particulars.�
 
 Just need some input on compensation at this point.
 
 Thanks
 for your feed back!
 
 
 
 Keith Smith




signature.asc
Description: OpenPGP digital signature
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

  1   2   3   >