[PLUG] "funny" RBL encounter

2009-02-21 Thread Michael Rasmussen
I sent some email to a friend who has email through att.net.  The same friend
that I sent mail to without incident in January.  Back came the RBL bounce
from ATT.  WT_?  I know I sent mail to her just a few weeks ago without
incident.  

So I go to the website referred to in the bounce notice to get ATT to do
something about it.  As I start to type in each field my previous response -
from doing this last summer (when the IP range was new to me) pops up for auto
complete.  I've been here, done this, been cleared for traffic.

Of course ATT won't tell me how I got onto their BL list.  I'm beginning to
think that if you're not a major mail provider (GMail, big ISP mail services)
they periodically black hole you.  

Anyone have any argument to suggest I'm just being paranoid?
Small mail service folks are getting stomped on.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Sometimes I wonder if I'm in my right mind.  Then it passes off and I'm
as intelligent as ever.
-- Samuel Beckett, "Endgame"

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] "funny" RBL encounter

2009-02-21 Thread Michael Rasmussen
> Perhaps ATT is now implementing some anti-spam measure, like DKIM.  I go
> through this same hassle when trying to send mail to a yahoo recipient
> from my mail server.  The problem with yahoo is that they are still using
> DomainKeys instead of the newer DKIM (at least the last time I checked;
> perhaps they have since upgraded).
> 
> Try a gmail test.  Gmail uses DKIM.  Send an email to a gmail account, and
> then examine the headers of the received email (if you receive it).
 

Heck, Gmail didn't even greylist my email.  
It's especially aggravating that the only mail from my system to ATT since the
accepted mail on Jan 17 was ... none.  Where did they get the "abuse" from? I
haven't sent any email to one of their clients since the last message they
received. 

If spammers are forging my IP on their packets I'd better buy a lottery
ticket. The odds of that are just too great.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
It usually takes more than three weeks to prepare a good impromptu speech.
-- Mark Twain

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] "funny" RBL encounter - plot thickens

2009-02-21 Thread Michael Rasmussen
On Sat, Feb 21, 2009 at 10:35:29AM -0800, Michael Rasmussen wrote:
> I sent some email to a friend who has email through att.net.  The same friend
> that I sent mail to without incident in January.  Back came the RBL bounce
> from ATT.  WT_?  I know I sent mail to her just a few weeks ago without
> incident.  
> 
> So I go to the website referred to in the bounce notice to get ATT to do
> something about it.  As I start to type in each field my previous response -
> from doing this last summer (when the IP range was new to me) pops up for auto
> complete.  I've been here, done this, been cleared for traffic.
 
An auto response from ATT just arrived.  "We're not blocking your mail."  
And they're not.  As easy as I got on the BH list, I'm off.

go figure.
-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  How does a hacker fix a function which
doesn't work for all of the elements in its domain?
A:  He changes the domain.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] login weirdness

2009-03-09 Thread Michael Rasmussen
On Sun, Mar 08, 2009 at 06:19:35PM -0700, Bill Barry wrote:
> I had this exact same thing occur to me yesterday.   I first noticed it when
> su took me directly to root.
> Having seen this thread, I went though the backups for the last few days and
> noticed that several files in /etc/pam.d had been updated during a normal
> debian upgrade. The files were
> etc/pam.d/common-account
> etc/pam.d/common-auth
> etc/pam.d/common-password
> etc/pam.d/common-session
> 
> I restored these files from the backup and the problem disappeared. As far
> as I can tell this was not caused by any malice, but was caused by a
> packaging problem.

packaging problem or compromised package?
Coming from the package does not rule out malice. 

Your post had me immediately bounce around to all my machines and verify that 
I'd be prompted for a password for su.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Whenever the literary German dives into a sentence, that is the last
you are going to see of him until he emerges on the other side of his
Atlantic with his verb in his mouth.
-- Mark Twain "A Connecticut Yankee in King Arthur's Court"

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Procmail Problem

2009-03-25 Thread Michael Rasmussen
On Wed, Mar 25, 2009 at 06:16:54AM -0700, Rich Shepard wrote:
> > Since it's in mbox format you should be able to cat the mailbox and grep
> > for the message by sender/subject since you know what they are. Maybe it's
> > an MUA issue and not the MTA which is unlikely but possible.
> 
>I don't need to do this since the contents of /var/spool/mail/rshepard are
> presented in ~/mail/INBOX.

Wait, what?  You have a problem of mail not arriving where you expect it to 
arrive.
That implies that all assumptions and "things I know" are suspect.

It would take a few seconds to do the test. 

Do it.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Procmail Problem

2009-03-25 Thread Michael Rasmussen
On Tue, Mar 24, 2009 at 06:03:23PM -0700, Rich Shepard wrote:
> On Tue, 24 Mar 2009, chris (fool) mccraw wrote:
>Here's ~/.procmailrc:
> 
> # set to yes when debugging
> VERBOSE=3
> 
> # Remove ## when debugging; set to no if you want minimal logging; to all
> # for max.
> LOGABSTRACT=all
> 
> MAILDIR=$HOME/mail
> 
> # Directory for storing procmail-related files
> PMDIR=$HOME/procmail
> 
> #diagnostic:
> DEFAULT=/var/spool/mail/rshepard
> 
> # Put ## before LOGFILE if no logging is wanted (not recommended)
> LOGFILE=$PMDIR/log
> ## INCLUDERC=$PMDIR/testing.rc
> ## INCLUDERC=$PMDIR/lists.rc
> INCLUDERC=$PMDIR/recipes.rc
> 
> # Catch SPAM
> :0
> * ^X-Spam-Flag: YES
> * ^X-Spam-Level: \*\*\*\*\*\*
> spam
> #EOF
> 
>And here's an example of a message from linkedin.com:
 

Note:
INCLUDERC=$PMDIR/recipes.rc

You didn't post your recipes.rc - we're seeing only a sliver of your .procmailrc
-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  Why haven't you graduated yet?
A:  Well, Dad, I could have finished years ago, but I wanted
my dissertation to rhyme.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Extended/wide desktop on Thinkpad

2009-04-03 Thread Michael Rasmussen
I was just gifted an analog NEC LCD display and wanted to use it on my
T42 laptop for a wide/extended display.

Unfortunately, all I can achive so far is cloned display.  Does anyone
here have a working Xorg conf for a ATI Radeon based thinkpad they
could share?

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Small things make base men proud.
-- William Shakespeare, "Henry VI"

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Extended/wide desktop on Thinkpad - Resolved

2009-04-03 Thread Michael Rasmussen
On Fri, Apr 03, 2009 at 10:24:05AM -0700, Hal Pomeranz wrote:
> > I was just gifted an analog NEC LCD display and wanted to use it on my
> > T42 laptop for a wide/extended display.
> > 
> > Unfortunately, all I can achive so far is cloned display.  Does anyone
> > here have a working Xorg conf for a ATI Radeon based thinkpad they
> > could share?
> 
> You don't need to mess with your Xorg.conf (much) if you just use xrandr:
> 
>   http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
> 
> Ooooh, I love me some xrandr...

Ooooh, I got me new best frend.

nice clear error messages - the only X change was to set up a virtual
display large enough to accomodate the two screens side by side.

Big Grip Moment - the Kubutu System Settings Display utility:
* did not emit any reason why it wouldn't do anything besides clone
  the displays
* when xorg.conf was properly configured to allow the virtual screen
  size it still wouldn't do the task
* when not doing the task it also reset the previouly good randr
  configured screen arrangement to cloned screens

What a FUG.

Not to waste a lot of time setting up backgrounds and all that stuff

Minor nit about ThinkWiki - searching for dual head or xinerama did not 
lead to the wonderful xrandr page.

Thanks Hal, just what I needed and wanted.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You'll wish that you had done some of the hard things when they were easier
to do.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Bug confirmation help needed

2009-04-03 Thread Michael Rasmussen
On Sunday 29 March 2009 01:26:15 pm John Jason Jordan wrote:
> An easy way to test this is to copy and paste the following line into
> your favorite word processor or Scribus:
> 
> Linguists need combining diacriticals to write something like [bɪt͡ʃ].

A little late to the party, but my results are:

Host system Kubuntu 8.10 
OpenOffice  - displays fine
KWord   - displays fine
Abiword - displays garbage
KMail   - displays fine (internal editor)

Odd response on Abiword.
-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
   http://www.jamhome.us/
  The fortune cookie says:
It is interesting that the industry has invented
new ways to lose money when the old ways seemed to work just fine.
-- John Stumpf, CEO Wells Fargo after the 2007 sub-prime lending debacle

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] intrustion detection software

2009-04-03 Thread Michael Rasmussen
On Thursday 19 March 2009 04:12:09 pm chris (fool) mccraw wrote:
>  i'm more interested in a
> statistical anomaly type of report.  "well, you got a thousand SQL
> connections in a second from this host that usually trickles 'em in at
> 1/hour" or "hmm, ssh leaving *from* one of the firewalled machines"
> type of reports.

As I read your note I thought of Arbor Peakflow - which we use where I work. 
However it is not free.  Their website and product description do provide 
fodder for Googling.
http://www.arbornetworks.com/

A potential open source package that might meet your needs is flowscan:
http://www.linuxhaxor.net/2008/01/03/flow-based-ip-traffic-analysis-with-flowscan/

Poking around there I see a tool more oriented with reporting on overall 
traffic profiles - while you are interested in traffic exceptions.

Something from this Google (linux netflow) may fit your needs:
http://www.google.com/search?hl=en&q=linux+netflow&btnG=Google+Search&aq=f&oq=


-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
   http://www.jamhome.us/
  The fortune cookie says:
He'd been a professional wrestler and his face had been stepped on a
couple of times -- and put together again carelessly.
--  Ed Lacy (Leonard Zinberg)

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] need help with backups/restores and grub - dump

2009-04-16 Thread Michael Rasmussen
On Thu, Apr 16, 2009 at 07:45:39PM -0700, Russell Senior wrote:
> 
> Dump/restore has been around since the dawn of time.
> 

Where dawn of time is V6 (research) Unix.
http://utcc.utoronto.ca/~cks/space/blog/unix/DumpHistory

and V6 Unix was the first version available outside of Bell Labs
http://www.faqs.org/faqs/unix-faq/faq/part6/section-2.html

Or about 1975.

Which really is the dawn of time (epoch being o' dark thirty, pre-dawn) in this 
context.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You teach best what you most need to learn.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] CSS file name curiosity

2009-04-18 Thread Michael Rasmussen
I was viewing the source to a web page I retrieved and saw


Hmmmh?   That's a strange name for a css file.   When I open another browser I 
see:


Same thing, BTW the browsers were Konqueror and Firefox.  My cookies from the 
site don't contain that string.  The
Firefox cookies do include a session ID.  

I'm thinking the 04b371acb6269192bb0f071989867540.css is a link to some regular 
file name like non-ie-browsers.css or
perhaps it's an auto-generated css based on a mix of parameters.  But why, as 
in what's the point?

Ideas?

The site is http://www.mercycorps.org/ and I suspect it is Drupal driven.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Knock, knock!
Who's there?
Sam and Janet.
Sam and Janet who?
Sam and Janet Evening...
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CSS file name curiosity

2009-04-18 Thread Michael Rasmussen
On Saturday 18 April 2009 11:27:50 drew wymore wrote:
> Most likely a template driven site as you mentioned Drupal. Maybe it's
> a dynamic string from a database of templates perhaps?

Not with standard Drupal, or any plugins I'm familiar with. 

FWIW - I'm a Mercy Corps contributor and the reason I was looking at the source 
to begin with was an email from them saying "Mercycorps.org is all new!  ... 
Cleaner, brighter design  ...  Open-source platform leverages latest technology 
at minimal cost" and I wondered which open-source platform they are using.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
   http://www.jamhome.us/
  The fortune cookie says:
I treated myself to two corn dogs and a quart of chocolate milk. This is
my recovery food of choice and incorporates all that is good in American
dining. You can eat it off a stick and drink directly from the carton.
--  Brad Hawkins

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] forum software with email bridge/gateway

2009-04-26 Thread Michael Rasmussen
I group I'm involved with recently decided to move its communications
from email lists to an online forum.

Some of the members are not too happy.  "I may be bringing up a very sore
subject, but here goes. I hate this forum!!"  was one of many comments.

Yet others love the forum and really don't want to go back to the
email lists.

Forum software sending you notification of new, monitored or replied to
posts is not enough of a feature for the email crowd to be happy with.

I thought I'd go find some forum software that would accept emails as
an input form.  Essentially one that would look like an email list to
the emailers and a forum to forum fans.

Checking http://www.forummatrix.org/ I don't even find an option to look
for that feature.  It seems it is not that common.

Does someone here know of such a beast that they can recommend?

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
A is for Apple.
-- Hester Pryne

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] forum software with email bridge/gateway - summary

2009-04-27 Thread Michael Rasmussen
On Sun, Apr 26, 2009 at 02:41:45PM -0700, Michael Rasmussen wrote:
> A group I'm involved with recently decided to move its communications
> from email lists to an online forum.
> 
> Some of the members are not too happy.  ...
>
> Checking http://www.forummatrix.org/ I don't even find an option to look
> for that feature.  It seems it is not that common.
> 
> Does someone here know of such a beast that they can recommend?
 
Thanks to all.  

Before turning to y'all I'd suggested Yahoo! groups, and by extention,
Google Groups, to the group.  Their forum-esque options don't fill some
of the needs of the group.  The lock in isn't too much of a concern,
these folks don't place a high value on posts greater than six months old.

Not that the needs couldn't be adjusted, we'd just end of with less than
hoped for.

phpBB is a security nightmare. And the codebase is a mess[1].

rForum may or may not do what's needed.  Their level of documentation
(is there really any?) doesn't meet my need to be able to hand off the
project onto someone else.

Drupal would definitely be able to handle the task.  As long as you
like using 18 wheeler trucks to pick up groceries.  It's overkill for
the targeted use.

The rForum page did provide me with a thought on how I was Googling for
an answer.  The keyword to use is "integration."

It seems Phorum http://www.phorum.org/ will do it.  For something along
the Drupal lines, Midguard http://www.midgard-project.org/ explicity
supports forum/email integration.

SIDENOTE:   As the email list discussed the forum vs email choice (assuming
both were not an option) it emerged:

 * email fans outnumbered forum fans about 3:1
 * everyone agreed that the forum didn't get as much traffic
 * everyone understood that email is more convienient
 * some people never realized the email list had archives preserving threaded 
conversations
 * and, surprise to me, people commented that the email list felt more 
community-esque

Thanks everyone.

[1] One critic of the phpBB codebase stated, while explaining why he hates 
forums stated:

  Maybe it was the time I made the mistake of trying to read part of
  the PHPBB2 source code.

  After which I attempted to find a rusty spoon to gouge my eyes out
  with, failed, sobbed quietly in a corner for a few minutes, and then
  fucked off early to the pub and drank until the pain was sufficiently
  dulled that I started to be hopeful that one day I would forget what
  that code looked like.

http://www.shadowcat.co.uk/blog/matt-s-trout/iron-man/#footnote_2

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Tuesday is the Wednesday of the rest of your life.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Content Management System

2009-04-28 Thread Michael Rasmussen
On Mon, Apr 27, 2009 at 09:50:08PM -0700, Daniel Herrington wrote:
> I'm looking for CMS for my neighborhood association's web site. The current
> one is powered by joomla, but evidently it's difficult to administer (as
> reported by the current admin/non-techie newspaper editor). 

I know another group that migrated to Joomla due to it's ease of admin use.
What are the difficulties encountered by the editor?  Drupal, for instance,
isn't bad to administer as long as you're adept at navigating cascades of menus.
It also has a plugin to put an admin bar across the top of the screen that 
somehow
is easier to navigate, for me at least.

What features do they need?  Full on workflow? Or just gated editing and 
creation?

My freshly arrived Linux Journal has the reader's choice awards the CMS winners 
were

  25%  WordPress (not just for blogging anymore?)
  23%  Joomla 
  19%  Drupal

WordPress certainly presents a nice, easy to navigate, easy to customize 
through live 
drag and drop interface.  The only mental contruct to keep in mind is "posts" 
vs "pages".
Posts being the things that show up on your front page blog like and pages 
being the static 
content you present at fixed URIs. 

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You recoil from the crude; you tend naturally toward the exquisite.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Jaunty-licious

2009-05-02 Thread Michael Rasmussen
I just completed an in place upgrade to Kubuntu Jaunty Jackalope on my T42 
laptop.

No issues found yet.
Window widgets are much improved - Firefox display of scrollbars and other X 
stuff works properly again. 

If you've been considering my experience indicates going ahead is fine.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
   http://www.jamhome.us/
  The fortune cookie says:
The best book on programming for the layman is "Alice in Wonderland";
but that's because it's the best book on anything for the layman.
--  Alan Perlis

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] perl survey

2009-05-05 Thread Michael Rasmussen
Which version of Perl is on your system?  Find out with`perl -v`

To avoid list clutter, please respond to me directly and I'll summarize for 
everyone in a few days.
Please let me know the Perl version number and host system.  

For example on three of my systems:

Kubuntu Jackalope
This is perl, v5.10.0 built for i486-linux-gnu-thread-multi

Ubuntu Gibbon
This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi

Solaris v?
This is perl, v5.6.1 built for sun4-solaris-64int

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
   http://www.jamhome.us/
  The fortune cookie says:
At a dinner party one should eat wisely but not too well, and talk well but not 
too wisely.
--  W. Somerset Maugham

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] IPtables internal port forwarding - eventual solution

2009-05-08 Thread Michael Rasmussen
On Thursday 07 May 2009 11:27:16 Michael wrote:
> 
> m0gely wrote:
> > If you're using an up-to-date sshd, and employ good password practices,
> > what's the point of doing all this? Honest question.
> 
> As the OP here's the background story.
> 
> At work we manage several thousand switches and routers.
> We're replacing our management platform with a new one.
> There is an internal requirement to NEVER use clear text protocols.

Did I ever mention the management platform runs on either Linux or MSWindows? 
(Probably Solarias, HPUX ... but that's out of scope for us)

MSWindows hosted systems don't have the conflict problem because remote 
administration is done through Remote Desktop which uses port 3389 by default.  

We could switch our management application hosting platform to MSWindows. 

My boss is strongly against this option.

Instead we'll go to the IP Address Administration group and request an 
additional IP for the management workstations.  We'll configure an additional 
ethernet port to serve the management application on port 22.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
   http://www.jamhome.us/
  The fortune cookie says:
I know what innocence looks like and it wasn't there, after she got that 
bicycle.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Jauntysuckiness - laptop screens going black and staying that way

2009-05-08 Thread Michael Rasmussen
Somewhere in HAL or ACPI there lives a bug that bites my T42 laptop.

The box goes into suspend mode.  The screen goes black. (Yea! no more 7x24 
backlighting) The box comes out of suspend mode.  The screen remains black.  
Worse something gets poked into NVRAM and after a reboot the screen remains 
black.

Fortunately, an external monitor continues to work.
Fortunately, there are suggestions at 

http://www.thinkwiki.org/wiki/Problem_with_display_remaining_black_after_resume#Solution_for_ThinkPads_with_ATI_graphic_chips_and_Intel_915.2F945GM
and 
http://people.freedesktop.org/~hughsient/quirk/
that restore the laptop screen.

Now if I'd only taken better notes when poking and prodding the system...

Anyway, if your laptop screen goes and stays black, it's a known problem with 
solutions.

Not restricted to Jaunty by the way, multiple distros and versions are 
affected.  Jaunty was just my first encounter with the issue.

-- 
      Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
   http://www.jamhome.us/
  The fortune cookie says:
Welcome to another helping of Kenny & Zuke's delicious spam. We make it
ourselves. You ordered it, so take a minute to read through what's new
at the restaurant.
--  http://kennyandzukes.com/

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] classroom space

2009-06-06 Thread Michael Rasmussen
On Sat, Jun 06, 2009 at 05:30:56AM -0700, David Kaplan wrote:
> Richard mentioned contacting a local public school to rent a classroom. I'll
> give that a try.

Parochial or private schools may be available with less red tape.

-- 
      Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You will soon forget this.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Compatible Fax Modems

2009-07-06 Thread Michael Rasmussen
On Mon, Jul 06, 2009 at 11:19:18AM -0700, Tim Wescott wrote:
> Subject line says it: I'm looking for a compatible fax modem for a Dell 
> 8300 with Ubuntu.  The machine has a Winmodem that isn't supported for 
> Linux.
> 
> Any other suggestions?  (cheaper would be nice).
 
Do you already have a multi-function printer? Use it instead. 
Snag one on its way in to Free Geek and use it for scanning/faxing only.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Is this really happening?

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] KDE Reset

2009-08-26 Thread Michael Rasmussen
I was working along in KDE when it crashed.  On restart KDE wallet appears, a 
Konsole window pops up and a few seconds later KDE crashes again.

"working along" means I had Firefox and Konqueror up, kmail running, three 
planentarium programs (I'm evaluating) and had just selected the gaussian 
transform tool in Gimp. 


I'd like to reset KDE so it doesn't start up any applications on startup.  
Where is the clean place to do that?

Also open to suggestions for another approach.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You now have Asian Flu.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] KDE Reset

2009-08-26 Thread Michael Rasmussen
On Wed, Aug 26, 2009 at 08:28:25PM -0700, drew wymore wrote:
> /home/~/.kde and possibly some stuff in /tmp

~/.kde has 1905 files in the tree.  That's a mite too few to go through - and 
I've already tried the obvious ones.

There's also a tree in /var/tmp worth investigating

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Someone is speaking well of you.

How unusual!

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] KDE Reset - ah ha

2009-08-26 Thread Michael Rasmussen
Unplugging the Wacom Bamboo tablet allowed booting to complete.
We be good.  Thanks for the thoughts. 

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
If one cannot enjoy reading a book over and over again, there is no use
in reading it at all.
-- Oscar Wilde

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] KDE Reset - Real Solution

2009-09-02 Thread Michael Rasmussen
On Mon, Aug 31, 2009 at 06:56:45PM -0700, Eric Wilhelm wrote:
> # from Michael Rasmussen
> # on Wednesday 26 August 2009 20:25:
> 
> >I'd like to reset KDE so it doesn't start up any applications on
> > startup.  Where is the clean place to do that?
> 
> I think it's ~/.kde/share/config/ksmserverrc
 

And Eric is correct.  That's the config file that lists what was running, in 
what state on which desktop.
It is what I was looking for.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
It is often the case that the man who can't tell a lie thinks he is the best
judge of one.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Mobile broadband experiences?

2009-10-27 Thread Michael Rasmussen
On Wed, Oct 07, 2009 at 03:16:01PM -0700, Paul Heinlein wrote:
> Has anyone in PLUGland purchased and used a mobile broadband account? 
> I'm interested to know your experience with the various vendors and 
> hardware; Linux and Mac support stories are very welcome. I'm also 
> interested to know what your experience has been outside the Portland 
> area, in other metro areas across the country.
 
The broadband that is bundled with a crackberry have been very good, excluding 
Sundays in Italy[1].
If the tools to duplicate RIM's Windows/MAC offerings for desktop connectivity 
progress to full
useability a Blackberry with data service, ~$30 a month per line, from Verizon 
would be viable.

[1] For some reason bandwidth and connectivity would become very unreliable in 
Italy mid-morning 
on Sunday.  Late Sunday night service would be restored to the normal fine 
feed. 

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You're not my type.  For that matter, you're not even my species!!!

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Getting a list of installed programs

2009-11-01 Thread Michael Rasmussen
On Sun, Nov 01, 2009 at 01:26:39PM -0800, Tim Garton wrote:
> I think that will print out all packages installed on his system, not
> just the ones he has specified.  I believe something like:
> 
> sudo apt-get install deborphan
> deborphan -a -p 1
> 
> this will print out all packages installed on your system that aren't
> dependencies of another package.  

That's a pretty nice command set.  on my systems it yeilds ~130 packages,
a very manageable number. 

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  What did Tarzan say when he saw the elephants coming over the hill?
A:  "The elephants are coming over the hill."

Q:  What did he say when saw them coming over the hill wearing
sunglasses?
A:  Nothing, for he didn't recognize them.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Searching Mail List Archives

2009-11-07 Thread Michael Rasmussen
On Sat, Nov 07, 2009 at 07:06:50AM -0800, Rich Shepard wrote:
>What is the recommended procedure to search for this thread so I can see
> if the information is relevant to today's lack of messages.

Google.

-- 
      Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You will obey or molten silver will be poured into your ears.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] To bash or not to bash?

2009-11-07 Thread Michael Rasmussen
On Sat, Nov 07, 2009 at 08:53:13AM -0700, Bill Thoen wrote:
> $ ls -1 BLM/* | egrep ':$|\.shp' | grep -v \.xml
> (list everything under the BLM directory but include only those lines 
> that end in a colon (the pathname) or contain a shapefile extension (.shp))

find . -name \*\.shp -o -type d
sounds like what you're looking for


-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You will be the last person to buy a Chrysler.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] To bash or not to bash?

2009-11-07 Thread Michael Rasmussen
On Sat, Nov 07, 2009 at 09:55:18AM -0700, Bill Thoen wrote:
> Michael Rasmussen wrote:
> > On Sat, Nov 07, 2009 at 08:53:13AM -0700, Bill Thoen wrote:
> >   
> >> $ ls -1 BLM/* | egrep ':$|\.shp' | grep -v \.xml
> >> (list everything under the BLM directory but include only those lines 
> >> that end in a colon (the pathname) or contain a shapefile extension (.shp))
> >> 
> >
> > find . -name \*\.shp -o -type d
> > sounds like what you're looking for
> >   
> YES! Thanks for the fast response too. This works just about the way I 
> want it. Only one more step required and that's to filter out the lines 
> that have JUST the directory in them. 

But you said you wanted them..."but include only those lines
that end in a colon (the pathname)"

to get just the shp files is even easier:

find . -name \*\.shp

or in general terms

find  -name 

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You will visit the Dung Pits of Glive soon.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Low-cost Notebooks

2009-11-07 Thread Michael Rasmussen
On Sat, Nov 07, 2009 at 01:10:14PM -0800, Rich Shepard wrote:
>Anyone here know about these models? They have a 15.6" screen, Intel
> Celeron 2.2GHz CPU, 2G DDR2 RAM, 260G hard drive, and Realtek wireless LAN
> (802.11b/g). It's heavy (at 5.9 pounds), but ... I won't be lugging it
> anywhere. Best Buy sells 'em for $330.
 
Perhaps a System76 (http://www.system76.com/) model would fit your needs. 
Guaranteed compatibility with the Ubuntu that is intalled on it.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  What's buried in Grant's tomb?
A:  A corpse.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] shifting email address to gmail

2009-11-07 Thread Michael Rasmussen
On Sat, Nov 07, 2009 at 03:25:16PM -0800, EDWARD LI wrote:
> Hi, please have my email address updated as manleun...@gmail.com with 
> immediate effect. Thanks for your kind attention.

that's a self serve operation:
> http://lists.pdxlinux.org/mailman/listinfo/plug
 

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Grief can take care of itself; but to get the full value of a joy you must
have somebody to divide it with.
-- Mark Twain

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Blackberry V5 software - Now more compatible

2009-11-11 Thread Michael Rasmussen
Just upgraded my Crackberry Storm to the v5 software.  
Now when I plug it into my system it auto-shows up as a USB drive. 

This makes interoperating with the BB much easier as backups, etc are now file 
copies.

If you've done the upgrade and don't have the same experience, on your BB go 
into:

Options -> Memory 
   and Enable 
Mass Store Mode Support
Auto Enable Mass Storage Mode When Connected.


-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  Why haven't you graduated yet?
A:  Well, Dad, I could have finished years ago, but I wanted
my dissertation to rhyme.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Network failure - 169.254.xx.xx

2009-11-14 Thread Michael Rasmussen
On Sat, Nov 14, 2009 at 12:30:38PM -0800, linux-yug wrote:
>   169.254.xx.xx  is NOt a good  IP address..
 
RFC 3330 begs to differ.

http://www.faqs.org/rfcs/rfc3330.html

169.254.0.0/16 - This is the "link local" block.  It is allocated for
communication between hosts on a single link.  Hosts obtain these
addresses by auto-configuration, such as when a DHCP server may not
be found.


-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
To be or not to be.
-- Shakespeare
To do is to be.
-- Nietzsche
To be is to do.
-- Sartre
Do be do be do.
-- Sinatra

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Top500 List Released Today at SC09

2009-11-17 Thread Michael Rasmussen
On Tue, Nov 17, 2009 at 03:39:21PM -0800, Jameson Williams wrote:
> The latest list of the five-hundred most powerful computers in the world was
> released today. Linux powers Oak Ridge's Cray XT5 system "Jaguar," which is
> back in the #1 slot. (Not to say that almost all of the others on the list
> don't run Linux, too.)
> 
> http://www.top500.org/lists/2009/11
 
For OS Specific stats:

OS Family (lumps together all Linux varients into one bucket)
http://www.top500.org/stats/list/34/osfam

OS (by the detail, 3 entries for RedHat, 1 for CentOS ..., Generic Linux)
http://www.top500.org/stats/list/34/os

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Another good night not to sleep in a eucalyptus tree.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] What permits apache to write files?

2009-11-18 Thread Michael Rasmussen
On Tue, Nov 17, 2009 at 10:10:44PM -0800, Keith Lofstrom wrote:
> But in the interim (without sharing my httpd.conf stuff with all
> and sundry)  are there other ways (besides incorrectly configured
> wikis) that apache can rewrite static content that incompetents
> like myself should be aware of?

Any web executable with a security hole can write wherever apache
has the rights.

> Are there any issues with setting static content to root ownership
> ( or perhaps to user "foo" ownership ), read only, as long as 
> apache can still read it?

A more secure system.
You could set static content to be owned by keithl or any-uid-not-apache
with the same effect.  On my system I prefer to use michael.  Vanity...

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  How many Martians does it take to screw in a light bulb?
A:  One and a half.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Linus Torvalds for Nobel Peace Prize

2009-11-18 Thread Michael Rasmussen
On Wed, Nov 18, 2009 at 07:25:12PM -0800, MJang wrote:
> Here's a link to a list of people who may submit nominations for the
> Nobel peace prize
> 
> http://nobelpeaceprize.org/en_GB/nomination_committee/who-can-nominate/ 
> 
> Perhaps some of us know and can start by lobbying someone in one of the
> following areas:
> 
> "University professors of history, political science, philosophy, law
> and theology,"
 
Pity Tannenbaum doesn't fit into one of the professor categories. 

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  What looks like a cat, flies like a bat, brays like a donkey, and
plays like a monkey?
A:  Nothing.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Running ntpdate at boot

2009-11-29 Thread Michael Rasmussen
On Sat, Nov 28, 2009 at 10:04:50PM -0800, Denis Heidtmann wrote:
> On Sat, Nov 28, 2009 at 9:03 PM, wes  wrote:
> >>
> >> So the question in its most general form is how to run ntpdate -bu
> >> pool.ntp.org without my intervention.  If my attempts at this are
> >> close, what does it take to get ntpdate-debian to run during boot?
> >> Some of the docs seem to indicate that should be a default condition
> >> of ubuntu Jaunty.
> >
> > I don't run it at boot, but I do run it on a schedule. on production boxes,
> > I go once an hour. everything else can go once a day or 12 hours or whenever
> > you want really.
> >
> > I do this by adding the command to invoke ntpdate to root's crontab.
> >
> Thanks.  I may resort to something like that, but there are a couple
> of problems.  First is that my machine is almost never on at midnight.
>  The second is that the time servers try to avoid being hit "on the
> hour" by everybody.  I would have to find out how to set the time it
> is run offset by some arbitrary number of minutes.
> 
> Since my machine is off as much as it is on, time updating at boot is
> a good choice. That way there is no chance that some random program
> will encounter a file with a future time.
 
You could set this up with anacron - which is installed by default on Ubuntu 
systems.

In addition to the normally scheduled jobs you could run anacron at boot with 
the -n and -s
options.


-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
O, it is excellent
To have a giant's strength; but it is tyrannous
To use it like a giant.
-- Shakespeare, "Measure for Measure", II, 2

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Running ntpdate at boot - email alert

2009-11-30 Thread Michael Rasmussen
On Mon, Nov 30, 2009 at 01:19:39PM -0800, Denis Heidtmann wrote:
> Well, progress.  I decided to use anacron so that I would not be
> updating my clock at each boot.  Once per week should be fine.  And I
> see that anacron is run by default, so all that is needed is to put an
> entry in anacrontab:
> 
> # added 11/30/2009 dlh
> # period(days) delay(min.)   identifier job
>  7  0NTPDATE-DEB  /usr/sbin/ntpdate-debian
> 
> I take this to mean that there was a problem (exit status: 1).  Yet I
> can find nothing in the mail logs.  man anacron says the mail will go
> to the user (usually root).  Is there some mail log which I am not
> privy to, due to ubuntu handling of root?  

Since it is your machine:

sudo vi /etc/aliases
  add a line:  root: YOUR_USERNAME
  the colon after root is important

sudo newaliases

After that email sent to root will be delivered to you.


-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You will always have good luck in your personal affairs.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] It just happened again

2009-12-06 Thread Michael Rasmussen
On Sat, Dec 05, 2009 at 03:32:30PM -0800, John Jason Jordan wrote:
> I did, but the results were inconclusive.
> 
> The results of diff are hard to read and understand. Finally, I just did diff
> --brief and figured I would look at the files in Gedit or something myself
> manually. Even that didn't help. And sometimes diff lied. For example, it said
> two small text files were different, but when I opened them in Gedit and
> compared them line by line they were identical, at least as to content.

As Tony pointed out diff pays attention to whitespace - in some cases that is
very relevant.  

Consider using context diff, the -c option, to be presented with the most 
human readable diff output.



-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Try the Moo Shu Pork.  It is especially good today.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How many of us write small scripts?

2009-12-13 Thread Michael Rasmussen
On Sat, Dec 12, 2009 at 06:52:07PM -0800, John Jason Jordan wrote:
> "Richard C. Steffens"  dijo:
> >Another idea might be to build our own class around something like this 
> >free (as in beer) tutorial download:
> >
> >http://linux.wareseeker.com/Home-Education/Advanced-Bash-Scripting-Guide-5.4.zip/26834bc1b6
> 
> There you go. We have a textbook.
> 
> It needs a lot more exercises. And the examples are not well explained - I had
> no idea how they worked. But that is the purpose of an instructor.

Substitute user group for instructor and you have everything you need.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
If you pick up a starving dog and make him prosperous, he will not bite you.
This is the principal difference between a dog and a man.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Nautilus sees files, but cp does not

2009-12-14 Thread Michael Rasmussen
On Mon, Dec 14, 2009 at 06:04:45PM -0800, John Jason Jordan wrote:
> A more interesting question is why a few of the files on the Jaunty disk are
> -rw---, while most are -rw-r--r---. All the files in ~/ on the Jaunty disk
> were placed there by me, not operating as root. 

Read 
http://en.wikipedia.org/wiki/Umask 
to begin figuring this out. 


-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Many a writer seems to think he is never profound except when he can't
understand his own meaning.
-- George D. Prentice

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Font sizes on pixilla (QXGA T60)

2009-12-14 Thread Michael Rasmussen
On Mon, Dec 14, 2009 at 04:10:29PM -0800, Keith Lofstrom wrote:
> Hopefully, in a week or two, I will find some fixes, probably some
> hidden firefox configuration parameters.  

about:config has a font.minimum-size... option you could start with.

> vengeful thoughts about all the young programmers writing unscalable
> apps.  Someday, their young eyes will get old, they will no longer
> be able to see their own apps, get fired, and live in the gutter :-/

And they'll curse then someday crop of young programmers repeating their 
mistakes.

-- 
      Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  How many mathematicians does it take to screw in a light bulb?
A:  One.  He gives it to six Californians, thereby reducing the problem
to the earlier joke.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Nautilus sees files, but cp does not

2009-12-15 Thread Michael Rasmussen
On Mon, Dec 14, 2009 at 08:56:03PM -0800, John Jason Jordan wrote:
> On Mon, 14 Dec 2009 20:34:04 -0800
> Michael Rasmussen  dijo:
> 
> >On Mon, Dec 14, 2009 at 06:04:45PM -0800, John Jason Jordan wrote:
> >> A more interesting question is why a few of the files on the Jaunty disk 
> >> are
> >> -rw---, while most are -rw-r--r---. All the files in ~/ on the Jaunty
> >> disk were placed there by me, not operating as root. 
> >
> >Read 
> >http://en.wikipedia.org/wiki/Umask 
> >to begin figuring this out. 
> 
> I read the page. What does it have to do with the current situation?
> 
> Bear in mind that all three of the files that I cited as examples were
> downloaded by me to my ~/Desktop/ folder from the same website using Firefox. 
> I
> fail to see what umask has to do with the fact that the permissions are
> different for two of the three.

The umask in effect at the time of the file creation or download would affect 
the permissions.
That's why I pointed you to the page - so you would know there is something 
called a umask. 
See /etc/login.defs (or /etc/default/login.defs) to find out what your system 
sets.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
Q:  What's the difference between the 1950's and the 1980's?
A:  In the 80's, a man walks into a drugstore and states loudly, "I'd
like some condoms," and then, leaning over the counter, whispers,
"and some cigarettes."

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] DSL Northwest support - mhcrc survey

2009-12-17 Thread Michael Rasmussen
On Thu, Dec 17, 2009 at 02:36:36AM -0800, Russell Senior wrote:
> >>>>> "Mike" == Mike Connors  writes:
> 
> Mike> I would really like to be able to choose a local ISP. I hate
> Mike> having my $ go out of the local economy...
> 
> "Results of this survey will shape the local residential broadband
> experience for the next 10 years." 
> 
>   http://www.mhcrc.org/yourvoice.html
> 
> Be sure to mention you think fiber-to-the-premises is essential and
> you are tired of paying perpetual rent, which public ownership of last
> mile can rectify.
 
If you haven't taken the survey yet - get going.  It ends soon.
As surveys go this one is pretty well put together and asks minimal 
demographic questions.

I was especially pleased by the ability to back up at any time and 
update or modify answers given on a previous page.  It worked great.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
  The fortune cookie says:
You have had a long-term stimulation relative to business.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] spamassassin bug

2010-01-09 Thread Michael Rasmussen
On Sat, Jan 09, 2010 at 11:45:39AM -0800, Keith Lofstrom wrote:
> OK, so I haven't upgraded spamassassin for a while, just distro updates. 
> I just learned it has been throwing out many emails dated 2010 . 
> Fortunately, there is an easy fix:
> 
> In /usr/share/spamassassin/72_active.cf :
> 
> ---
> ##{ FH_DATE_PAST_20XX
> header   FH_DATE_PAST_20XX  Date =~ /20[1-9][0-9]/ [if-unset: 2006]^M
> describe FH_DATE_PAST_20XX  The date is grossly in the future.^M
> ##} FH_DATE_PAST_20XX
> ---
> 
> The header line should be:
> ---
> header   FH_DATE_PAST_20XX  Date =~ /20[0-9][0-9]/ [if-unset: 2006]
> ---

Keith, that change would match any message from 1/1/2000 forward.
I really don't think that's what you want.

Preferrabe to run sa-update or (as suggested on the SA wiki) add:
Add "score FH_DATE_PAST_20XX 0" without the quotes to the end of your
local.cf file to disable the rule.  If you require help updating your
rules to correct this issue you are encouraged to ask for assistance on
the Apache SpamAssassin Users' list.  Users' mailing list info is here.

https://blogs.apache.org/foundation/entry/notice_apache_spamassassin_y2k10_rule

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
That secret you've been guarding, isn't.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] spamassassin bug

2010-01-09 Thread Michael Rasmussen
On Sat, Jan 09, 2010 at 11:45:39AM -0800, Keith Lofstrom wrote:
> OK, so I haven't upgraded spamassassin for a while, just distro updates. 
> I just learned it has been throwing out many emails dated 2010 . 
> Fortunately, there is an easy fix:
> 
> In /usr/share/spamassassin/72_active.cf :
> 
> ---
> ##{ FH_DATE_PAST_20XX
> header   FH_DATE_PAST_20XX  Date =~ /20[1-9][0-9]/ [if-unset: 2006]^M
> describe FH_DATE_PAST_20XX  The date is grossly in the future.^M
> ##} FH_DATE_PAST_20XX
> ---
> 
> The header line should be:
> ---
> header   FH_DATE_PAST_20XX  Date =~ /20[0-9][0-9]/ [if-unset: 2006]
> ---
 
For those who wish to ignore the warnings at the top of 
/usr/share/spamassassin/72_active.cf and modify it by hand, the official fix
is:
  header FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006] 

as seen in the subversion repository:
http://svn.apache.org/viewvc/spamassassin/rules/branches/3.2/72_active.cf?revision=895073&view=markup

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Steady movement is more important than speed, much of the time.  So long
as there is a regular progression of stimuli to get your mental hooks
into, there is room for lateral movement.  Once this begins, its rate is
a matter of discretion.
-- Corwin, Prince of Amber
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] spamassassin bug - fixes & updates

2010-01-10 Thread Michael Rasmussen
On Sun, Jan 10, 2010 at 10:30:46AM -0800, Joe Pruett wrote:
> Paul Heinlein weighed in:
> > I usually just allow sa-update to handle that sort of thing:
> >
> >   sudo sa-update -D
> 
> on centos, there is an sa-update cron job that is disabled by default.  i 
> just found out about it as a result of this 2010 bug.  edit 
> /etc/cron.d/sa-update and uncomment one line.

In Ubuntu, and perhaps other Debian flavors, the cron file is 
/etc/cron.daily/spamassassin
and one needs to change the line that sets CRON=0 to a non-zero value.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You are number 6!  Who is number one?
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] spamassassin bug

2010-01-10 Thread Michael Rasmussen
On Sun, Jan 10, 2010 at 12:08:37PM -0800, Galen Seitz wrote:
> Joe Pruett wrote:
> > On Sun, 10 Jan 2010, Paul Heinlein wrote:
> >> I usually just allow sa-update to handle that sort of thing:
> >>
> >>   sudo sa-update -D
> > 
> > on centos, there is an sa-update cron job that is disabled by default.  i 
> > just found out about it as a result of this 2010 bug.  edit 
> > /etc/cron.d/sa-update and uncomment one line.
> 
> The spamassassin wiki says that spamd needs to be restarted in order 
> to pick up the new rules, so it appears that enabling updates only 
> gets you halfway there.

The cron job includes a restart.


-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
The lovely woman-child Kaa was mercilessly chained to the cruel post of
the warrior-chief Beast, with his barbarian tribe now stacking wood at
her nubile feet, when the strong clear voice of the poetic and heroic
Handsomas roared, 'Flick your Bic, crisp that chick, and you'll feel my
steel through your last meal!'
-- Winning sentence, 1984 Bulwer-Lytton bad fiction contest.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Linux Scanner Recommendations?

2010-01-15 Thread Michael Rasmussen
On Thu, Jan 14, 2010 at 10:51:57PM -0800, Aaron Ten Clay wrote:
> Old issue, but hopefully there are new answers. I need a flatbed scanner 
> that works with Linux. (Windows/OSX support also would be nice but 
> optional). I'd like to spend $50 or less. It will be used mostly to 
> capture documents at around 150-300 DPI.
 
Joe Niski's printer with the paper feeds that don't?
Still scans great IIRC.

-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
There is no hunting like the hunting of man, and those who have hunted
armed men long enough and liked it, never care for anything else thereafter.
-- Ernest Hemingway
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] todays supreme court decision.

2010-01-21 Thread Michael Rasmussen
On Thu, Jan 21, 2010 at 07:21:52PM -0800, Dale F. Victor wrote:
> Hello!
> 
> I am wondering if anyone is thinking about the repercussions about the 
> Supreme 
> Court Decision today. I am wondering if it would be a good thing to move all 
> my web content offshore.
> 
> Sorry if this is off topic, I just thought I would put this out there to see 
> what happens.
 
Before you move your content offshore, move this thread to plug-talk.

Why would there be a need to move offshore?
Political speech is now in the market to the highest bidder, no restrictions
remain.


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Don't get to bragging.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] todays supreme court decision.

2010-01-22 Thread Michael Rasmussen
FYI to non-subscribers:  Followup posted to Plug-Talk 

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
There is an old time toast which is golden for its beauty.
"When you ascend the hill of prosperity may you not meet a friend."
-- Mark Twain
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] LInux Clinic and you avg P-town computer user?

2010-01-22 Thread Michael Rasmussen
On Fri, Jan 22, 2010 at 01:24:12PM -0800, Mike Connors wrote:
> Russell Senior wrote:
> > I'll just mention my recent Just-Works anecdote regarding printing.  
> > ...  No muss, no fuss.  I was kind of impressed.
> I'll be honest, I would never have expected it to just work that 
> painlessly. I was just researching if I could connect my Nokia phone to 
> my Linux box to get photos/files off of it. 

Blackberry Storms show up as USB mass storage after the SW update last November.
It's a major win.  Easy to populate with custom ring tones, wall papers, 
icons...


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You are standing on my toes.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Linux and Active Directory?

2010-01-29 Thread Michael Rasmussen
On Fri, Jan 29, 2010 at 11:00:17AM -0800, Ronald Chmara wrote:
> Larger environments (100-10,000) users are more likely to have a mix
> of AD/LDAP (i.e. a non-AD LDAP)/NIS/etc., but the thing worth noting
> is not that AD has *replaced* all other Directory Services, but that
> in a large number of work environments, AD is likely to be *part* of
> the mix, even if it's only used for one department, or one service.

As another data point my employer, 50,000+ users, has AD and just 
completed Vintella rollout to integrate the *nix environments into it.

The *nix people, me included, are very happy with the change. 

-- 
      Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
The fashion wears out more apparel than the man.
-- William Shakespeare, "Much Ado About Nothing"
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] February PLUG meeting topic?

2010-01-30 Thread Michael Rasmussen
On Sat, Jan 30, 2010 at 12:48:36AM -0800, Russell Senior wrote:
> >>>>> "Mike" == Mike Connors  writes:
> 
> Scott> I'm just curious what the meeting topic will be for next week's
> Scott> PLUG general meeting.
> 
> Mike> I also don't see the gen or adv PLUG meetings listed on
> Mike> Calagator?  Should they be?
> 
> I recruited Jeri Ellsworth.  As of two weeks ago, she was still a go.
> I have no idea what she plans to talk about (I'm checking), But I
> expect it to be good.
 
You mean this woman?  
http://en.wikipedia.org/wiki/Jeri_Ellsworth


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Your true value depends entirely on what you are compared with.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] let's get momentum for Portland...

2010-02-11 Thread Michael Rasmussen
On Thu, Feb 11, 2010 at 12:21:14AM -0800, Russell Senior wrote:
> >>>>> "John" == John Jason Jordan  writes:
> 
> John> Google's goals are find for now. How much will the fiber be
> John> worth when everyone needs a yottabyte/sec?
> 
> John> Suppose I spend $5,000 to get fiber installed to my house,
> John> either through taxes or a utility charge. But the fiber must be
> John> replaced by some new technology that we haven't thought of yet
> John> in 20 years.  That means the installation cost me $250 a year.
> 
> A) it doesn't cost $5k to install.  B) you are paying $1k a year to
> Comcast as it is and will until you die.  Consider the net present
> value of that stream! and C) fiber doesn't really go obsolete.  

B) While it is someone silly to assume that Comcast won't raise their 
rates considering their history the NPV for 20 years of 1K/yr payments
assuming 5% (historical avg) rate is $12,462.  Assuming that Comcast
raises rates at 3% average / year the NPV is $15,965.  

Adjust years, inflation and rate as needed.

C) Russell's point is worth paying attention to.  Fiber media has remained 
much more stable than even copper wire.

> can replace the equipment at the ends pretty easily and *bang* it
> suddenly goes faster.  NTT in Japan has pushed 14 Terabits per second
> over 160 kilometers of fiber.  Bell labs apparently has the record of
> 155 channels of 100Gbps (15.5 terabits) over a single strand 7000 km
> fiber.
> 
> John> I love Google, but they ain't no such a thing as a free lunch.
> 
> But there is such a thing as egregious waste and gouging, and that's
> what you are getting today with Comcast and the other incumbents.  You
> can argue that they are the best *current* option, and you might be
> right (if you leave aside "freedom").
> 
> Google is trying to bust up a logjam of inaction.  They aren't
> planning to do this everywhere.  They want to demonstrate what is
> actually known, that this is entirely do-able, to show what asshats
> the incumbents are for dragging their feet so badly.  The natural
> hunger and envy of broadband users will (I think and, apparently, they
> think) bust through the logjam and actually get this deployed in
> the US instead of just overseas where Americans can't see it or even
> conceive that it exists.
> 
> 
> -- 
> Russell Senior, President
> russ...@personaltelco.net
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Knucklehead:"Knock, knock"
Pee Wee:"Who's there?"
Knucklehead:"Little ol' lady."
Pee Wee:"Liddle ol' lady who?"
Knucklehead:"I didn't know you could yodel"
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Postfix issues

2010-02-18 Thread Michael Rasmussen
On Thu, Feb 18, 2010 at 08:33:23PM -0800, randy.rowle...@gmail.com wrote:
> Any ideas on who to use for a free shell account?

In addition to the http://freeshell.org already recommended:

http://lmgtfy.com/?q=free+shell

(remember: it's a joke, of sorts)

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Don't go surfing in South Dakota for a while.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] GIMP: Won't Draw Lines

2010-02-24 Thread Michael Rasmussen
On Wed, Feb 24, 2010 at 02:07:16PM -0800, Rich Shepard wrote:
>Some of you must know The GIMP well and I hope you have a quick answer for
> me.
> 
>I'm trying to draw lines on a layer. According to my copy of Akkana Peck's
> GIMP book, to get a straight line, click at one point, move to the next
> point and press the shift key, when satisfied with the second end point,
> click the left button again.
> 
>When I do this, I see the dotted line with the shift key held down, but no
> line is drawn when I click the button the second time. Brush size is not
> affecting the results.


Do you keep the shift held down until after the second click?
Double check:
The layer you're working on is currently visible
and not hidden by a higher layer
You've selected ALL or NONE or the area you're trying to draw in.


Re: the other thing you mentioned about text.  AFAIK once you anchor text it 
ceases 
to be editable text and becomes a graphic entity.  So if you want to correct 
spelling
you'll need to redo the text.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Your lucky color has faded.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] C question...

2010-02-26 Thread Michael Rasmussen
On Fri, Feb 26, 2010 at 05:19:24PM -0800, Michael Robinson wrote:
> I'm trying to write a simple C program to open a text file with
> temperature data in it, extract the highest, the lowest, and the
> last temperature, and write that information to another text file.
> 
> How in C do I verify that the files I'm working with are text files?
> Specifically since I don't allow clobbering, I'm worried about the 
> input file.

You read a bytestream and see if it matches your expected range of
characters.  if it doesn't match you handle the unexpected input
in whatever manner you deem appropriate for your program and shut
down.

> I'm thinking there is a UNIX file command which I should be able 
> to call from inside the C program, but is there a better way?

There is such a program, but you're writing something in C.
If you wanted to use such a program you'd be writing a shell script.



-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Q:  What do you call a half-dozen Indians with Asian flu?
A:  Six sick Sikhs (sic).
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] MSQL Cross-Table Query

2010-03-02 Thread Michael Rasmussen
On Tue, Mar 02, 2010 at 12:09:36AM -0800, D. Cooper Stevenson wrote:
> Here is an example of each (they're essentially the same):

Are these real samples? You seem to have a problem with data integrity.
(And do you really want to monitor minute by minute price flucuations?)

> msft:
> 
>   date timeopen   high low  closevolume
> | 2009-01-15 | 16:57:00 | 18.64 | 18.67 | 18.62 | 18.64 |  190394 |
> | 2009-01-15 | 16:58:00 | 18.63 | 18.63 | 18.61 | 18.62 |   60652 |
> | 2009-01-15 | 16:59:00 | 18.62 | 18.63 |  18.6 | 18.61 |  404419 |


The same date has three different opening prices?  A high that drops with time?
A closing price that varies?
 
> goog:
> 
>   date timeopen   high low  closevolume
> | 2009-01-15 | 16:49:00 | 299.32 | 299.32 | 299.32 | 299.32 |550 |
> | 2009-01-15 | 16:51:00 | 299.93 | 299.93 | 299.93 | 299.93 |500 |
> | 2009-01-15 | 16:55:00 |  299.4 |  299.4 | 299.39 | 299.39 |269 |

Same problem with open & close, the low rises.
 
> aapl:
> 
>   date timeopen   high low  closevolume
> | 2009-01-15 | 16:57:00 | 83.49 | 83.49 | 83.49 | 83.49 | 400 |
> | 2009-01-15 | 16:58:00 | 83.49 | 83.49 | 83.49 | 83.49 | 350 |
> | 2009-01-15 | 16:59:00 | 83.43 | 83.46 | 83.41 | 83.42 |2290 |
 
 
> intc:
> 
>   date timeopen   high low  closevolume
> | 2009-01-15 | 16:57:00 | 13.57 | 13.58 | 13.56 | 13.56 |1400 |
> | 2009-01-15 | 16:58:00 | 13.57 | 13.58 | 13.57 | 13.58 |7517 |
> | 2009-01-15 | 16:59:00 | 13.58 | 13.58 | 13.56 | 13.58 |2950 |
 
> Bonus points for doing this within a specific date range.
> 
> Thanks in advance for any help you may be able to provide.
 
 
Modify Drew's SQL to include:

where date BETWEEN '2005-01-01' AND '2005-12-31'  

or whatever dates you deem of interest.  

See http://www.plus2net.com/sql_tutorial/between-date.php
(current #1 return when Googling for mysql date range query)


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Is 1 GB enough memory?

2010-03-16 Thread Michael Rasmussen
On Tue, Mar 16, 2010 at 05:37:29AM -0700, Richard C. Steffens wrote:
> Another reason it is slow is that it has only 256 MB of RAM. The mother 
> board has two memory slots with one DDR PC3200 stick in it. I can get a 
> 1 GB stick for $36. Will that be good enough? I realize that more is 
> usually better, but $36 is better than $72 for now.
 
It really depends on what you're planning to do with the system.
Video editing?  Not enough.

General use? Sure. Especially if you use XFCE and Chrome for your browser. 
Firefox will chew up that RAM.


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Q:  How many WASPs does it take to change a light bulb?
A:  One.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] route delete errors

2010-03-28 Thread Michael Rasmussen
On Sun, Mar 28, 2010 at 09:18:08AM -0700, VY wrote:
> Thanks for your reply.
> 
> Yes, it is repeatable and I used this command:
> 
>sudo route delete $IP 127.0.0.1
 
Do you really route $IP through 127.0.0.1?

Having said that...

A visit to `man route` would be in order then you'd see the sytax for the 
command is
something like:

   sudo route delete -net $IP netmask $MASK gw $GW_IP


 
> On Fri, Mar 26, 2010 at 5:44 PM, Marvin Kosmal  wrote:
> 
> > Can you post the command you are  using??
> >
> > Is this repeatable?
> >
> >
> > Marvin
> >
> >
> > On 3/26/10, VY  wrote:
> > > Hi:
> > >
> > > I am trying to delete from network routes on my routing table and I get
> > > errors like:
> > >
> > >  SIOCDELRT: No such device
> > >
> > > or
> > >
> > > SIOCDELRT: No such process
> > >
> > > What do those errors usually mean?
> > >
> > > thanks
> > >
> > > --v
> > > ___
> > > PLUG mailing list
> > > PLUG@lists.pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > _______
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You will live a long, healthy, happy life and make bags of money.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] route delete errors

2010-03-28 Thread Michael Rasmussen
On Sun, Mar 28, 2010 at 10:16:44AM -0700, Michael Rasmussen wrote:
> On Sun, Mar 28, 2010 at 09:18:08AM -0700, VY wrote:
> > Thanks for your reply.
> > 
> > Yes, it is repeatable and I used this command:
> > 
> >sudo route delete $IP 127.0.0.1
>  
> Do you really route $IP through 127.0.0.1?
> 
> Having said that...
> 
> A visit to `man route` would be in order then you'd see the sytax for the 
> command is
> something like:
> 
>sudo route delete -net $IP netmask $MASK gw $GW_IP
 
Having had to look it up myself, I kept playing thinking "there has to be an 
easier way.
So far the "best" is:

   sudo route del -net $IP netmask $MASK dev $IFACE

If you have more than one network interface $IFACE may need to be determined 
with something like:

  mich...@hive:~/play$ netstat -nr
  Kernel IP routing table
  Destination Gateway Genmask Flags   MSS Window  irtt Iface
  64.105.252.40   0.0.0.0 255.255.255.248 U 0 0  0 eth0
  192.168.14.064.105.252.41   255.255.255.0   UG0 0  0 eth0
  169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0 eth0
  0.0.0.0 64.105.252.41   0.0.0.0 UG0 0  0 eth0

And the relevant clue stick from `man route` is:

SYNOPSIS

   route  [-v] [-A family] del [-net|-host] target [gw Gw] [netmask Nm] 
[metric N] [[dev] If]

  
> > On Fri, Mar 26, 2010 at 5:44 PM, Marvin Kosmal  wrote:
> > 
> > > Can you post the command you are  using??
> > >
> > > Is this repeatable?
> > >
> > >
> > > Marvin
> > >
> > >
> > > On 3/26/10, VY  wrote:
> > > > Hi:
> > > >
> > > > I am trying to delete from network routes on my routing table and I get
> > > > errors like:
> > > >
> > > >  SIOCDELRT: No such device
> > > >
> > > > or
> > > >
> > > > SIOCDELRT: No such process
> > > >
> > > > What do those errors usually mean?
> > > >
> > > > thanks
> > > >
> > > > --v
> > > > ___
> > > > PLUG mailing list
> > > > PLUG@lists.pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > >
> > > ___
> > > PLUG mailing list
> > > PLUG@lists.pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> > 
> 
> -- 
>   Michael Rasmussen, Portland Oregon  
>   Trading kilograms for kilometers since 2003
> Be appropriate && Follow your curiosity
>   http://www.jamhome.us/
> The Fortune Cookie Fortune today is:
> You will live a long, healthy, happy life and make bags of money.
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Never laugh at live dragons.
-- Bilbo Baggins [J.R.R. Tolkien, "The Hobbit"]
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] route delete errors

2010-03-28 Thread Michael Rasmussen
On Sun, Mar 28, 2010 at 10:24:03AM -0700, Michael Rasmussen wrote:
> On Sun, Mar 28, 2010 at 10:16:44AM -0700, Michael Rasmussen wrote:
> > On Sun, Mar 28, 2010 at 09:18:08AM -0700, VY wrote:
> > > Thanks for your reply.
> > > 
> > > Yes, it is repeatable and I used this command:
> > > 
> > >sudo route delete $IP 127.0.0.1
> >  
> > Do you really route $IP through 127.0.0.1?
> > 
> > Having said that...
> > 
> > A visit to `man route` would be in order then you'd see the sytax for the 
> > command is
> > something like:
> > 
> >sudo route delete -net $IP netmask $MASK gw $GW_IP
>  
> Having had to look it up myself, I kept playing thinking "there has to be an 
> easier way.
> So far the "best" is:
> 
>sudo route del -net $IP netmask $MASK dev $IFACE

Silly me, I should read beyond the synopsis.

 sudo route del -net $IP/$CIDR dev $IFACE

is the simple, quick command.



> If you have more than one network interface $IFACE may need to be determined 
> with something like:
> 
>   mich...@hive:~/play$ netstat -nr
>   Kernel IP routing table
>   Destination Gateway Genmask Flags   MSS Window  irtt 
> Iface
>   64.105.252.40   0.0.0.0 255.255.255.248 U 0 0  0 
> eth0
>   192.168.14.064.105.252.41   255.255.255.0   UG0 0  0 
> eth0
>   169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0 
> eth0
>   0.0.0.0 64.105.252.41   0.0.0.0 UG0 0  0 
> eth0
> 
> And the relevant clue stick from `man route` is:
> 
> SYNOPSIS
> 
>route  [-v] [-A family] del [-net|-host] target [gw Gw] [netmask Nm] 
> [metric N] [[dev] If]
> 
>   
> > > On Fri, Mar 26, 2010 at 5:44 PM, Marvin Kosmal  wrote:
> > > 
> > > > Can you post the command you are  using??
> > > >
> > > > Is this repeatable?
> > > >
> > > >
> > > > Marvin
> > > >
> > > >
> > > > On 3/26/10, VY  wrote:
> > > > > Hi:
> > > > >
> > > > > I am trying to delete from network routes on my routing table and I 
> > > > > get
> > > > > errors like:
> > > > >
> > > > >  SIOCDELRT: No such device
> > > > >
> > > > > or
> > > > >
> > > > > SIOCDELRT: No such process
> > > > >
> > > > > What do those errors usually mean?
> > > > >
> > > > > thanks
> > > > >
> > > > > --v
> > > > > ___
> > > > > PLUG mailing list
> > > > > PLUG@lists.pdxlinux.org
> > > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > > >
> > > > ___
> > > > PLUG mailing list
> > > > PLUG@lists.pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > >
> > > ___
> > > PLUG mailing list
> > > PLUG@lists.pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > 
> > 
> > -- 
> >   Michael Rasmussen, Portland Oregon  
> >   Trading kilograms for kilometers since 2003
> > Be appropriate && Follow your curiosity
> >   http://www.jamhome.us/
> > The Fortune Cookie Fortune today is:
> > You will live a long, healthy, happy life and make bags of money.
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> > 
> 
> -- 
>   Michael Rasmussen, Portland Oregon  
>   Trading kilograms for kilometers since 2003
> Be appropriate && Follow your curiosity
>   http://www.jamhome.us/
> The Fortune Cookie Fortune today is:
> Never laugh at live dragons.
>   -- Bilbo Baggins [J.R.R. Tolkien, "The Hobbit"]
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You are not dead yet.  But watch for further reports.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] route delete errors

2010-03-28 Thread Michael Rasmussen
On Sun, Mar 28, 2010 at 03:10:09PM -0700, VY wrote:
> Thanks for your reply.  I am a networking novice so maybe there is something
> that I am doing wrong.
> I just did this:
> 
>sudo  route  del  -net  98.171.145.0/24  dev  eth0
> 
> and got back
> 
>SIOCDELRT: No such process
> 
> 
> I do not have a static route to that subnet in my routing table but I want
> to cut off traffic to any of the 255 hosts in that subnet for a short period
> of time -- hence I want to delete access to that network.
> Am I using the wrong tool?
 
Yep, you can't delete a route that isn't there.

You could add a route for that network that points to an address which can't 
route to the network, for example:

sudo route add -net 98.171.145.0/24  gw 127.0.0.1

or if you just need it for the current host you could add an iptables rule to 
block traffic: 

sudo iptables -I OUTPUT -d 98.171.145.0/24 -j DROP

if the current host is your router then the iptables rule would be:

sudo iptables -I FORWARD -d 98.171.145.0/24 -j DROP

Note:  my iptables examples are horribly simplified things.


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Knucklehead:"Knock, knock"
Pee Wee:"Who's there?"
Knucklehead:"Little ol' lady."
Pee Wee:"Liddle ol' lady who?"
Knucklehead:"I didn't know you could yodel"
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Data extraction

2010-04-04 Thread Michael Rasmussen

On Sun, Apr 04, 2010 at 12:10:03PM -0700, drew wymore wrote:
> I have a large data set that is being exported from an Oracle DB,
> unfortunately I can't work with the data directly in Oracle or this
> wouldn't be a problem. I can export it as CSV and work with it. 
> ... I don't really care which language I
> do it in and whether I do it directly from csv or a database source
> other than Oracle (because I can't).
> 
> Any clue sticks, ideas or links to something that might help me solve
> this problem appreciated.

With apologies to Randal...

Assume you export to CSV and, for the purposes of this simple example there
are no text fields that have commas embedded.

And if the data of interest is in the third column:

  3,14,word,blah,blech,bz
  4,18,term,more,stuff

then:

  perl -ne '@F=split /,/; $words{$F[2]}++; \
END{ foreach $word (sort { $words{$a} <=> $words{$b} } keys %words) \
{ print "$word\t$word_appearance{$word}\n"; } } ' file_of_data.cvs

Assuming you want it sorted by word frequency.

Disclaimer:  I'm at my in-laws for easter dinner and didn't test that.
I'm reasonably sure that it's close enough that any gaps will serve
as an exercise for the reader.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
At once it struck me what quality went to form a man of achievement,
especially in literature, and which Shakespeare possessed so enormously
-- I mean negative capability, that is, when a man is capable of being
in uncertainties, mysteries, doubts, without any irritable reaching
after fact and reason.
-- John Keats
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Data extraction

2010-04-04 Thread Michael Rasmussen
On Sun, Apr 04, 2010 at 02:31:47PM -0700, drew wymore wrote:
> On Sun, Apr 4, 2010 at 12:31 PM, Michael Rasmussen  wrote:
> >
> > On Sun, Apr 04, 2010 at 12:10:03PM -0700, drew wymore wrote:
> >> I have a large data set that is being exported from an Oracle DB,
> >> unfortunately I can't work with the data directly in Oracle or this
> >> wouldn't be a problem. I can export it as CSV and work with it.
> >> ... I don't really care which language I
> >> do it in and whether I do it directly from csv or a database source
> >> other than Oracle (because I can't).
> >>
> >> Any clue sticks, ideas or links to something that might help me solve
> >> this problem appreciated.
> >
> > With apologies to Randal...
> >
> > Assume you export to CSV and, for the purposes of this simple example there
> > are no text fields that have commas embedded.
> >
> > And if the data of interest is in the third column:
> >
> >  3,14,word,blah,blech,bz
> >  4,18,term,more,stuff
> >
> > then:
> >
> >  perl -ne '@F=split /,/; $words{$F[2]}++; \
> >    END{ foreach $word (sort { $words{$a} <=> $words{$b} } keys %words) \
> >    { print "$word\t$word_appearance{$word}\n"; } } ' file_of_data.cvs
> >
> > Assuming you want it sorted by word frequency.
> >
> > Disclaimer:  I'm at my in-laws for easter dinner and didn't test that.
> > I'm reasonably sure that it's close enough that any gaps will serve
> > as an exercise for the reader.
> >
> > --
> >      Michael Rasmussen, Portland Oregon
> >  Trading kilograms for kilometers since 2003
> >    Be appropriate && Follow your curiosity
> >          http://www.jamhome.us/
> > The Fortune Cookie Fortune today is:
> > At once it struck me what quality went to form a man of achievement,
> > especially in literature, and which Shakespeare possessed so enormously
> > -- I mean negative capability, that is, when a man is capable of being
> > in uncertainties, mysteries, doubts, without any irritable reaching
> > after fact and reason.
> >                -- John Keats
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> 
> 
> Thanks Rich and Michael. I'll give the perl a shot and see what
> happens. As far as the data layout. It's 5 columns with roughly 1100
> rows, the column I'm interested in has a variable number of words per
> entry but doesn't exceed a couple hundred words.

Ah, so you'll need to parse that bit too.

Since you're interested in a word count do you need the rest of the row 
data?  If not, why not just export the column of interest?

Assuming that you want the rest of it, save yourself headaches and visit 
CPAN.org
for Pase::CSV  http://search.cpan.org/~adamk/Parse-CSV-1.00/lib/Parse/CSV.pm

So something like this may help:

#!/usr/bin/perl

while(<>) {
# simplistic, since the fields may also have commas
# use Parse::CSV for real life stuff
@db_csv_fields = split /,/;

# from problem description the data of interest in in the 3rd field
# and, ahem, we consider a "word" any character sequence that is not whitespace
@words = split /\s+/, $db_csv_fields[2];
foreach $w (@words) {
$word_count{$w}++;
}
}

# assuming you want the results sorted ascending by frequency
foreach $word ( sort { $word_count{$a} <=> $word_count{$b} } keys %word_count) {
print "$word\t$word_count{$word}\n";
}



> I did enable fulltext searching within mysql which works fine for
> searching but doesn't give me the flexibility I'm looking for to
> actually just get a count of unique words. I did find something in PHP
> that is supposed to work but it's barfing on the array that's being
> returned by the mysql query.
> 
> Drew-
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Never be led astray onto the path of virtue.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] XXX?

2010-04-09 Thread Michael Rasmussen
On Fri, Apr 09, 2010 at 05:09:51PM -0700, Roderick A. Anderson wrote:
> dfhubb...@freegeek.org wrote:
> > I'm on the Free Geek Grant group.  One group wants to be able to stop the
> > access to porn on their grant computers.  Any suggestions?
> 
> I understood your request but it took several readings.

WT_?

"One group wants to be able to stop the access to porn on their grant 
computers."

That is a simple declarative sentence.  
One only needs to retain four phrases in their short term memory to grok it.

OK, not as simple as Hemingway.  Simplier than Stephanson, Dick, Carroll or 
LeGuin.

May the linguists among us flame me if I'm wrong.  

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You will be successful in love.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] XXX

2010-04-11 Thread Michael Rasmussen
On Sat, Apr 10, 2010 at 11:58:00PM -0700, Bryan Green wrote:
> Just had a thought. Maybe review that browsing history, erase it. 
> Install Swatch on a laptop, use the information from said history to 
> alert you when someone is attempting to access those sites. Then give 
> them a good private talking to about acceptable use.

Perhaps, even, the only talk that needs to be given is "clean up the
shared space when you are finished."

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Keep emotionally active.  Cater to your favorite neurosis.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Dumb script question

2010-04-18 Thread Michael Rasmussen
On Sun, Apr 18, 2010 at 07:55:31PM -0700, John Jason Jordan wrote:
> #! /bin/bash
> su #'cause only root can set the time
> ntpdate 0.pool.ntp.org
> hwclock --systohc
> 
> When I try to run it as jjj it asks for root password, I enter it,
> and then I get an authentication error. If I change to root first and
> then run it, it runs fine, and without prompting for root password.
> 
> It must be the su line. How do I make a script run as root? Or can I
> fiddle with the permissions so jjj has permission to set the time, then
> just remove the su line from the script and forget about running it as
> root?

Choices, choices, choices


Change the script to:
#!/bin/bash
sudo ntpdate 0.pool.ntp.org
sudo hwclock --systohc

or

Change the script to:
#!/bin/bash
ntpdate 0.pool.ntp.org
hwclock --systohc
and 
invoke it by `sudo `
or
su
crontab -e
 
exit
or
sudo chown root 
sudo chmod +x 
sudo chmod u+s 

The last one is what you asked for.


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You recoil from the crude; you tend naturally toward the exquisite.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Dumb script question

2010-04-18 Thread Michael Rasmussen
On Sun, Apr 18, 2010 at 08:24:15PM -0700, John Jason Jordan wrote:
> I must have done that because just now I tried su and got an
> authentication error. I suspect there is no root password set on the
> computer. I think Ubuntu does not set a root password by default.

That is correct. 
It expects everything to be done via sudo.


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Q:  What looks like a cat, flies like a bat, brays like a donkey, and
plays like a monkey?
A:  Nothing.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Unable to unlock root utilities on Intrepid (Solved)

2010-04-21 Thread Michael Rasmussen
On Wed, Apr 21, 2010 at 08:39:22AM -0400, Robert Citek wrote:
> On Tue, Apr 20, 2010 at 11:59 AM, Michael  wrote:
> > One cannot use sudo where there are issues at boot and the system is
> > in run level one prompting for a root password to do (for example) file 
> > system
> > maintenance.
> 
> I would like to test that scenario in Ubuntu.  How could I recreate it?

Do whatever to corrupt your disk so you need to run fsck in single user mode at 
boot.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Q:  What's hard going in and soft and sticky coming out?
A:  Chewing gum.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] DSL options in Portland

2010-05-18 Thread Michael Rasmussen
On Tue, May 18, 2010 at 12:54:21AM -0700, Mike Connors wrote:
> >
> > When I say "2 MB/s" I mean megabytes per second. That is, assuming the
> > server can feed me as fast as Comcast will let me download it, I can
> > download a full 700 MB Ubuntu live CD in about six minutes.
> >
> >  Googling around leads me to a confusing bunch of options for DSL. I'd
> > pay more for faster speeds. Are there any options that are faster than
> > the 2 MB/s that Comcast is now giving me.
> 
> 
>  As for DSL service, it's either going to be through  Qwest or Verizon,
> depending on whether you live East or West
> of the Willamette no matter which ISP you buy the service through.
 
or Covad

John,  DSL is a distance sentitive service.   I live a bit far from the local 
CO to get really high speed.  

My service is through http://www.sunset.net/ which took over the Stephouse DSL 
accounts when Stephouse bowed out of that market.

Fomerly with http://www.speakeasy.net/ who I left in order to get the local
biz of Stephouse.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Your reasoning is excellent -- it's only your basic assumptions that are wrong.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] getting the quote right

2010-05-20 Thread Michael Rasmussen
Anyone proposing to run Windows on servers should be prepared to explain
what they know about servers that Google, Yahoo, and Amazon don't.



-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Whoever has lived long enough to find out what life is, knows how deep a debt
of gratitude we owe to Adam, the first great benefactor of our race.  He
brought death into the world.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Colocation Servers in PDX - VM host suggestions

2010-05-29 Thread Michael Rasmussen
In response David Mandel gave some background on the economics of colocation
in Portland. This lead to discussing VM host services. Which, in my mind, is
a better way to go.  It is more efficient for physical and power resources and
usually more flexible for the user.


On Fri, May 28, 2010 at 11:26:49PM -0700, Larry Brigman wrote:
> On Fri, May 28, 2010 at 8:53 PM, David Mandel  wrote:
> > There are a number of small, friendly, high quality for-profit hosting
> > services in Portland.  The one that comes to my mind is forked.net.  I
> > used them for several years and really like them.
> 
> Not co-location service but virtual machine from a local group is
> www.rdrop.com  I used agora for the longest time and helped Alan
> out a couple of times getting him hardware at cost.

I used rdrop.com (well, Agora) for dial up shell account services when I 
first moved to Portland in 1990.  Batie always provided great service. 

The rdrop.com site suggests high bandwidth users consider 
http://www.downloadtech.com/

I use a VM at my domain registrar, gandi.net, that costs $15/month per "share".
1 dedicate processor core, 256Mb RAM, 8G disk, 5Mb/s bandwidth.  This can 
statically or dynamically be scaled up to 24 shares 
http://www.gandi.net/hosting/vps#main-nav 

What is your VM host recommendation?


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You will forget that you ever knew me.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] New Google Employees Not Allowed on Windows

2010-06-01 Thread Michael Rasmussen
On Mon, May 31, 2010 at 10:52:57PM -0500, Fred James wrote:
> MJang wrote:
> > Folks, 
> >
> > Thought y'all might appreciate this bit from /. 
> >
> > http://www.ft.com/cms/s/2/d2f3f04e-6ccf-11df-91c8-00144feab49a.html
> >
> >
> > "Google is phasing out the internal use of Microsoft’s ubiquitous
> > Windows operating system because of security concerns, according to
> > several Google employees."
> >
> > "Employees wanting to stay on Windows required clearance from “quite
> > senior levels”, one employee said. “Getting a new Windows machine now
> > requires CIO approval,” said another employee."
> >
> > Thanks,
> > Mike
> >   
> MJang
> Interesting, thank you ... a nudge toward ChromiumOS, it seems.  


The article states they have a choice of Macs or Linux.


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You are deeply attached to your friends and acquaintances.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] email forger sought

2010-06-05 Thread Michael Rasmussen
if you have the know how please telenet to post.michaelsnet.us
and forge some email :: using michaelsnet.us or jamhome.us 
for your helo identifier.

I'm testing some mail filtering and don't have a remote system I can 
connect from.

No need to report the results, either your delivered mail or my 
log files will report the result.

-- 
      Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You're almost as happy as you think you are.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Real Men Don't Click

2010-06-05 Thread Michael Rasmussen
A story of System Administration the *nix way:
http://isg.ee.ethz.ch/tools/realmen/

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Suspicion always haunts the guilty mind.
-- Wm. Shakespeare
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Real Men Don't Click

2010-06-06 Thread Michael Rasmussen
On Sat, Jun 05, 2010 at 08:20:48PM -0700, Mike Connors wrote:
> On Sat, Jun 5, 2010 at 7:21 PM, Michael Rasmussen wrote:
> > A story of System Administration the *nix way:
> >http://isg.ee.ethz.ch/tools/realmen/
> >
> > I'd be very interested to see them revisit this and put Powershell (M$
> answer to shell scripting) to the test.

The conclusions would be different.  At work I asked about a means to 
connect with Win servers that is lighter than RDP.  (Telnet is prohibited)

He reply included mentioning on Win2008 he now has to do some Exchange 
management via CLI (200 character command lines in his report) instead of
a few clicks.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
An exotic journey in downtown Newark is in your future.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Xsane help, desperate

2010-06-06 Thread Michael Rasmussen
On Sun, Jun 06, 2010 at 11:36:33AM -0700, Mike Connors wrote:
> >
> >  But I paid $90 for it brand new several years ago, so it's
> > not worth spending a lot of money to repair. Used ones sell for $10-$30
> > on eBay.
> 
> 
> In one of the threads I read, someone mentioned buying the scanner at
> Goodwill for like
> $5. So it might be worth a trip there and FreeGeek is just around the
> corner...

For inner SE instantiations of Goodwill.  Your mileage may vary.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
In a museum in Havana, there are two skulls of Christopher Columbus,
"one when he was a boy and one when he was a man."
-- Mark Twain
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Migrating to 64-bits

2010-06-10 Thread Michael Rasmussen
On Thu, Jun 10, 2010 at 07:12:39PM -0700, Rich Shepard wrote:
>I need to upgrade my server/workstation to Slackware-13.0 and -13.1, and
> will install -13.1 on the Dell Latitude E5410 I just ordered (when I wipe
> the pre-installed crud off the drive). I might as well bite the bullet now
> and move from the 32-bit distribution version to the 64-bit one.
> 
>Preferring that the transition not bite me back, particularly on my main
> machine, I'd appreciate pointers to documents that will teach me what to
> expect from the transition. My server/workstation has much data, and many
> installed applications that are not part of the Slackware distribution. The
> distribution-specific questions I'll get answered by those experts, but I'd
> like to prepare by learning what, in general, I should expect.
> 
>I've not found a 32-bit to 64-bit HOWTO, so pointers from you experienced
> folks will be very helpful.
 
You're installing fresh on a new machine.  What kind of transition are you 
expecting?

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
If you have to pee in the woods look out for poison ivy.
--  Ken Mattina
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] postfix log rotation

2010-06-13 Thread Michael Rasmussen
I'm hoping this is a "ask the question right before you find the answer" 
question.

Where is the log rotation for postfix handled?

There's no mention in the /etc/logrotate or /etc/logrotate.d/*
Yet the log files are being rotated.  I'm not finding where this is being driven
from.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Works of art aren’t finished, they’re abandoned.
-- Leonardo daVinci
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] postfix log rotation - resolved

2010-06-14 Thread Michael Rasmussen
On Sun, Jun 13, 2010 at 08:30:53PM -0700, Dan Young wrote:
> On Jun 13, 2010, at 2:22 PM, Michael Rasmussen  wrote:
> > Where is the log rotation for postfix handled?
> > 
> > There's no mention in the /etc/logrotate or /etc/logrotate.d/*
> > Yet the log files are being rotated.  I'm not finding where this is being 
> > driven
> > from.
> 
> You didn't mention distro. I think this may be distro specific. At any rate, 
> this looked promising:
> http://stephan.paukner.cc/syslog/archives/185-What-the-hell-is-rotating-my-mail.log.html
 
Very promising link indeed.  That's what I was looking for.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
The auditing that is conducted on slot machine software in the U.S. is
significantly more meticulous than what is done to voting software.
The development process for mission-critical airplane software makes
voting software look like a slapdash affair.
--  Bruce Schneier
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Search engine dependency and Linux...

2010-07-02 Thread Michael Rasmussen
On Thu, Jul 1, 2010 at 1:54 AM, Someone  wrote:
> A search engine has a hard time answering a question behind a question
> unless there is a valuable programmed in expectation.  Search engines
> are not intelligent and they never will be. 

Don't be so sure of that.
At the very least computers will approximate intelligent behavior.
http://www.nytimes.com/2009/04/27/technology/27jeopardy.html

Big Blue is parsing Jeopardy clues and coming up with answers well enough
to be competitive with humans.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Teacups float in hot springs 
--  Michael R
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] eSata enclosures - asking questions

2010-07-03 Thread Michael Rasmussen
On Fri, Jul 02, 2010 at 09:19:36PM -0700, Kyle Tobin wrote:
> Hey folks.  My name's Kyle and I've been running a Linux OS for a few years
> but I'm still a newb by all standards.  A few weeks ago I started a Linux
> class at PCC and the instructor included an article about posting to Linux
> user group mailing lists.  
> 
> http://linuxmafia.com/faq/Essays/smart-questions.html
 

Good link Kyle.  Apropos to the current thread:

   Still, treating experienced users like hackers, in the ways we
   recommend here, will generally be the most effective way to get useful
   answers out of them, too.

   The first thing to understand is that hackers actually like hard
   problems, and good, thought-provoking questions about them. If we
   didn't, we wouldn't be here. If you give us an interesting question
   to chew on, we'll be grateful to you; good questions are a stimulus
   and a gift. Good questions help us develop our understanding, and
   often reveal problems we might not have noticed or thought about
   otherwise. Among hackers, "Good question!" is a strong and sincere
   compliment.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Pepper has been called 'the gift of the East,' though 'gift' means poison
in Swedish. don't let that put you off.
-- label of Scandinavian Airlines salt and pepper packet
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Roots closes - need new venue for AT

2010-07-13 Thread Michael Rasmussen
On Tue, Jul 13, 2010 at 02:46:22PM -0700, glen e. p. ropella wrote:
> Sorry for O(ff)T stuff... here's O(n)T stuff... How did "off topic" get 
> the "OT" acronym, anyway, when "on topic" deserves it at least as well?
 
Needs based.  Don't need to announce you're On.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
I had to forget it to get it.
~ Jennifer Robare
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Happy VM Camper

2010-07-17 Thread Michael Rasmussen
FWIW - I just switched my VM hosting to Linode

Initial impressions are very positive.  Quick setup, broad choice of Linux 
OSes, 
a probe support question was answered within 20 minutes on a Friday evening.
(would have been 15 minutes without my incoming mail being greylisted)
If you're curious about their IRC support the logs are online for review.

The RAM/disk/BW are greater than what I'd found to be normal when surveying 
VM host options last month. 

-- 
      Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
I distrust a man who says when.  If he's got to be careful not to drink
too much, it's because he's not to be trusted when he does.
~ Sidney Greenstreet, "The Maltese Falcon"
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Where does Ubuntu keep it's brains?

2010-07-18 Thread Michael Rasmussen
On Sun, Jul 18, 2010 at 06:52:12PM -0700, Tim Wescott wrote:
> Ubuntu, in an effort to Appelize Linux, has moved everything:

Says who?

mich...@bivy:~/Documents$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
mich...@bivy:~/Documents$ ls -l /etc/X11/xorg.conf 
-rw-r--r-- 1 root root 1305 2010-04-06 06:53 /etc/X11/xorg.conf
mich...@bivy:~/Documents$ 

mich...@post:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.4 LTS"
mich...@post:~$ ls -l /etc/X11/xorg.conf
-rw-r--r-- 1 root root 6677 2008-03-23 11:31 /etc/X11/xorg.conf
mich...@post:~$ 


> t...@fawkes:~$ ls /etc/x11
> ls: cannot access /etc/x11: No such file or directory
> 
> That's why I was asking...
 

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Are you a turtle?
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Dirvish-compatible ... quiet

2010-07-19 Thread Michael Rasmussen
On Mon, Jul 19, 2010 at 02:37:13PM -0700, Aaron Burt wrote:
> On Mon, Jul 19, 2010 at 12:21:54PM -0700, Rogan Creswick wrote:
> > After pricing out some SATA drives, I think the best solution (for me,
> > at least) is to just drop a few TB of disk in my media machine and use
> > that.  It's already on 24/7, runs Linux, and can become a NAS for a
> > fraction of the cost of a populated device.
> 
> Sounds like a good decision.  Beloved Wife doesn't like the noise or power
> consumption of an always-on PC, hence the DNS-323.

With the right jiggling you can get power consumption down.
As for sound - the Antec Sonata is designed for "Library quite" perforamcne
I have three.  
http://www.newegg.com/Product/Product.aspx?Item=N82E16811129024
http://www.antec.com/Believe_it/product1.php?id=MjA=


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Most people would like to be delivered from temptation but would like it to 
keep in touch.
~  Robert Orben
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Inactivating majordomo

2010-08-06 Thread Michael Rasmussen
On Thu, Aug 05, 2010 at 03:38:18PM -0700, Rich Shepard wrote:
>From time to time over the past decade or so I've hosted some small mail
> lists on majordomo. The last one has faded away and I'd like to inactivate
> majordomo to stop the spam being sent to the lists.

Why inactivate rather than deactivate?  Just curious.

Consider uninstalling. With current package managers reinstallation 
would be nearly effortless.


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
I have a new book and days of pleasure await.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] VLC experts?

2010-08-28 Thread Michael Rasmussen
On Fri, Aug 27, 2010 at 08:40:06PM -0700, John Jason Jordan wrote:
> I am trying to watch an old Korean movie. I do not speak Korean. The
> movie is not available anywhere, and is probably out of copyright. I
> found and downloaded a copy, but it is in two CD files of 700 MB each.
> The person who created the files did not include a file for subtitles. 
> 
> Separately I found two versions of subtitles for the movie. In VLC
> they work great with the first CD file, but when I try to continue with
> the second CD file the subtitles start over from the beginning. VLC
> extended controls offer an offset, but only up to 60 seconds.
> 
> I've poked around for the past half hour, but haven't hit on a
> solution. Does anyone have any suggestions for how to get VLC to play
> both CD files in sequence automatically using the same subtitles file?

Why not split the subtitles file so you have one for each CD?

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You know you are out of bear country when the 
garbage cans are no longer built like bank vaults.
~ Kent Peterson, riding the Tour Divide
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] For httpd Gurus

2010-09-05 Thread Michael Rasmussen
On Sun, Sep 05, 2010 at 02:11:19PM -0700, Rich Shepard wrote:
>What might explain seeing only a blank page in both Firefox and Opera when
> I load http://localhost/info.php?
 
Right click and choose view source to find out.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Documentation is worth it just to be able to answer all your mail with 'RTFM'
~  Alan Cox
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] For httpd Gurus

2010-09-05 Thread Michael Rasmussen
On Sun, Sep 05, 2010 at 02:28:58PM -0700, Rich Shepard wrote:
> On Sun, 5 Sep 2010, Michael Rasmussen wrote:
> 
> > Right click and choose view source to find out.
> 
>That shows me the source, all right:
> 
> 
 
So your web server is treating the php file as plain text. 
Common config problem, lots of web pages, including archives of this list,
speak to what to do.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Small is Beautiful
~ http://someoneoncetoldme.com/gallery/10082008
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] OT: SQLite

2010-09-12 Thread Michael Rasmussen
On Sun, Sep 12, 2010 at 03:01:52PM -0500, Fred James wrote:
> This query may be only partially off topic ... I am shall be limiting
> the OS choice to Linux
> I am seeking comment ... why would I not want to use SQLite?  

Because your problem doesn't map well to its strengths?

Without a use case description the question is difficult to answer.

Examples:
  Because you have something already developed in Oracle|MySQL|Sybase and 
the conversion costs are not worth it.
  Because you need to control access at the database, not application, level.
  Because your political environment (read:  employer) forbids.

But none of those makes a lot of sense in a question vacumn.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You're not a DNF until the time arrives and you haven't.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Simple Linux BASH thing I suspect

2010-09-22 Thread Michael Rasmussen
On Wed, Sep 22, 2010 at 02:58:08PM -0700, Kirk Goins wrote:
>   I'm testing a Linux based Thin Client and need a little help. These 
> will be replacing several Windows PCs. These PC currently have a thermal 
> printers by Zebra attached via a parallel port. These printers  need to 
> have a logo uploaded after a power reset.  On the Window's PC they do 
> the following via a .bat file.
> 
> cd\
> copy file.ext lpt1:
> 
> I need to do this same thing on this thin client.  Assuming I can get to 
> bash, how would I do this simple script?
 
sudo cp  /dev/parport0
   
Assuming your system has one parallel port.
You can set up the sudoers to allow this command without a password challenge.

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
The bike becomes an extension of you rather than something you control.
~  Walter Lapchynski on fixed gear bikes.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] what simple linux command does this?

2010-09-29 Thread Michael Rasmussen
On Wed, Sep 29, 2010 at 04:51:24PM -0700, glen e. p. ropella wrote:
> logical american wrote circa 10-09-29 04:38 PM:
> >   This is a "noobie" linux question.
> > 
> > I cannot seem to find a simple linux command to do the following:
> > 
> > mv /one/long/path/on/a/partition/file 
> > /another/path/on/another/partition/file
> > [...]
> > Isn't there an easy way to do this?
> 
> How about:
> 
> $ mkdir -p /another/path/on/another/partition/
> $ mv /one/long/path/on/a/partition/file /another/path/on/another/partition/

I'm more of a fan of:
$ mkdir -p /another/path/on/another/partition/ && mv 
/one/long/path/on/a/partition/file !!$

The && just to be sure you're only doing it if the mkdir works
the !!$ to lessen my propensity for typos.

See `man bash` for History Expansion for the !!$ magic
 

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
You're not a DNF until the time arrives and you haven't.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] what simple linux command does this?

2010-09-29 Thread Michael Rasmussen
On Wed, Sep 29, 2010 at 05:17:02PM -0700, Michael Rasmussen wrote:
> On Wed, Sep 29, 2010 at 04:51:24PM -0700, glen e. p. ropella wrote:
> > logical american wrote circa 10-09-29 04:38 PM:
> > >   This is a "noobie" linux question.
> > > 
> > > I cannot seem to find a simple linux command to do the following:
> > > 
> > > mv /one/long/path/on/a/partition/file 
> > > /another/path/on/another/partition/file
> > > [...]
> > > Isn't there an easy way to do this?
> > 
> > How about:
> > 
> > $ mkdir -p /another/path/on/another/partition/
> > $ mv /one/long/path/on/a/partition/file /another/path/on/another/partition/
> 
> I'm more of a fan of:
> $ mkdir -p /another/path/on/another/partition/ && mv 
> /one/long/path/on/a/partition/file !!$

Which, by the way, is incorrect.


either 
$ mkdir -p /another/path/on/another/partition/ && mv 
/one/long/path/on/a/partition/file /another/path/on/another/partition/
or 
$ mkdir -p /another/path/on/another/partition/
$ mv /one/long/path/on/a/partition/file !!$

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
When you start accusing everyone of being in on a conspiracy, you
shouldn't be surprised if they decide to confirm your paranoia by banding
together against you.
~  Terence Chua
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] what simple linux command does this?

2010-09-29 Thread Michael Rasmussen
On Wed, Sep 29, 2010 at 05:47:48PM -0700, logical american wrote:
> > either
> >  $ mkdir -p /another/path/on/another/partition/&&  mv 
> > /one/long/path/on/a/partition/file /another/path/on/another/partition/
> > or
> >  $ mkdir -p /another/path/on/another/partition/
> >  $ mv /one/long/path/on/a/partition/file !!$
> >
> In all cases we keep ending up with at least 2 commands (I don't count 
> conjoined & commands as one command)
> 
> So there really isn't one single command, is there?
> 
> This is what I was afraid of.
> 
> I am looking at the source code of cp now.
 
 
You are wanting to do two things:
   make a new directory
   copy something into it

Why should there be a single command for it?

-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Baking is science for hungry people.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Ubuntu 10.10 and Apache2 configuration files

2010-10-03 Thread Michael Rasmussen
On Sun, Oct 03, 2010 at 09:25:41AM -0700, Linux Guy wrote:
>   Probably not specifically a 10.10 issue, but perplexing nonetheless:  
> here's the deal . . .
> for legacy reasons my website DocumentRoot  is /web/httpd/htdocs/  -- no 
> matter what I change in the apache2 configuration files 
> (/etc/apache2/apache2.conf, /etc/apache2/sites-available/default) the 
> server tries to go to /etc/apache2/htdocs.  My question is - where is 
> apache2 getting this incorrect config?  I have scoured my system looking 
> for places that this config info may be hiding but cannot find it.  
> ServerRoot is set to /web/httpd (which contains the log files) but there 
> is nothing in either access_log or error_log so that pointer is not 
> working wither.  I need to get this server stood up soon - anybody got 
> any ideas here?

If undefined DocumentRoot is set to /usr/local/apache/htdocs is this symlinked 
to 
/etc/apache2/htdocs on your system?

Then check:

cd /etc/apache2
find . -type f | xargs -n 30 grep DocumentRoot

That will confirm or deny your config assumptions.


-- 
  Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
  http://www.jamhome.us/
The Fortune Cookie Fortune today is:
Photography is an art and one of the best weapons against injustice.
~ http://someoneoncetoldme.com/gallery/18042010
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


  1   2   3   4   5   6   >