Re: [PLUG] Firefox 127.0 uploading files via web

2024-06-25 Thread Galen Seitz

On 6/25/24 13:01, Russell Senior wrote:

Hi,

I had a slightly bizarre experience yesterday with Firefox. I was
using a web form to upload firmware to a router. The classic "Browse"
button allowed me to navigate my local environment for a file to
upload and "Select" the file. Because the file was actually coming
from another machine, I had scp'd it to my local /tmp directory to
make it available to my browser. So, I navigate to /tmp/, see the
intended file, and click "Select" in the file browser. But then, the
file isn't actually selected, and there is nothing to upload when I
click the Upload button in the web form.

I thought to myself, "wait, what?". So, I copy the file to my
~/Downloads directory and try again and it works. I try in a private
browser window. I try in Firefox's "Safe mode" (or "Troubleshoot
Mode"). Still, it works from ~/Downloads but it does not work from
/tmp or /srv/randomdir. I checked ownership/permissions of the file
and the directory.

This is on a fairly recent install of Ubuntu 22.04, with Firefox
127.0.1, and the default Snap.

Does anyone have insight to this odd behavior?


And to add insult to injury, on my near identical setup, it "works for 
me".  Strange, very strange.



galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] old gaming machine, Chromebook, and scanner headed to Free Geek

2024-05-16 Thread Galen Seitz



Wow, I didn't think it would be quite that popular.  John B was fastest 
to my inbox, so he's the lucky winner.  If he changes his mind about any 
of it, I will let you know.


galen
--
Galen Seitz
gal...@seitzassoc.com


[PLUG] old gaming machine, Chromebook, and scanner headed to Free Geek

2024-05-16 Thread Galen Seitz

Hi,

I have an old gaming machine, Chromebook, and scanner that I'm going to 
take to Free Geek next week unless someone expresses interest.  Note 
that the gaming machine belonged to a relative, so I don't know much 
about it.  I can answer questions about the Chromebook and scanner.


i7-7700K
16 GB RAM
Nvidia GTX1070 8GB
ASROCK B250 Pro4 motherboard

Acer C720 Chromebook
Celeron 2955U 1.4GHz
4 GB RAM
Transcend 512GB SATA III 6GB/S MTS430S 42 mm M.2 SSD
xubuntu is installed, but I'll need to wipe it before handing it over.

Canon CanoScan LiDE 20 flatbed scanner
It's not very fast, but it's functional.  I used it for many years with 
xsane.



I'm in close-in SE Portland, but I'm frequently making trips to 
Hillsboro these days.



galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] Radio silence since Apr 16

2024-04-23 Thread Galen Seitz

On 4/23/24 10:07, Dick Steffens wrote:

On 4/23/24 10:02, Paul Heinlein wrote:
Is this list dead? Neither my inbox nor the online archives show any 
traffic since April 16.




I don't see anything after April 16 either. Maybe it's just been a quiet 
week in Lake Wobegon?


That, or Rich is on vacation.  :-)


galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] something I am considering doing...

2024-03-23 Thread Galen Seitz

On 3/23/24 00:55, Ben Koenig wrote:

Ideally, the whole point of an LLM is to create a problem that can
interpret human language so that we can interact with software in a
"human" way. It shouldn't matter if the data is garbage, as long as
the result is a program that understands english.

Once you have that, you can point it to a random pile (list of
websites, source code repository) of information that you know is
mostly decent, and it will go through the long and painful process of
dissecting it for you. This only works if the LLM is capable of doing
this without mixing in all of its childhood memories. You know, like
we do - we all spent a lot of time engaging in really stupid
conversations that were only intended to practice listening and
speaking. As adults we throw the subject matter from that phase away,
retaining the grammar and sentence structure. We don't really care
about that time a fox jumped over a lazy dog.


I'm missing JJJ already.  He would definitely have something to say 
about this, but I have no idea what it would be.  And that's not meant 
as a criticism Ben, just that JJJ always provided an interesting 
perspective when it came to matters of language.


galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] Forced upgrade... Some not so good

2024-02-22 Thread Galen Seitz

On 2/22/24 11:30, Chuck Hast wrote:

Folks, My hard drive took a dive, I had it mostly backed up but still
had to go through and pick some stuff out, well dd was my very good
friend.


If you were unable to recover everything you wanted, you might want to 
try ddrescue.  It may become your new best friend.


galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] How to script USB device detection

2024-01-24 Thread Galen Seitz

On 1/23/24 20:30, Ted Mittelstaedt wrote:

That isn't a measured power draw.  It's what the device tells the
host that it needs.  The actual power usage is likely much lower.


This is correct.  MaxPower is a fixed value that is set in USB device's 
descriptors.  It does *not* reflect the current actually being drawn. 
Here's another link that might be useful.


<http://dangerousprototypes.com/docs/Designing_USB_Devices_for_proper_current_and_MaxPower>

galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] Run crontab script using sudo

2024-01-02 Thread Galen Seitz

On 1/2/24 08:46, Rich Shepard wrote:

On Tue, 2 Jan 2024, Paul Heinlein wrote:


The Linux distributions I use all have an /etc/cron.d directory that
allows you to run scripts under any UID, no sudo required.


Paul,

Yes, Slackware has an /etc/cron.d directory.

The modified crontab entries for snippets in that directory are 
documented

in the crontab(5) man page, at least on my systems.


When I run `man crontab(5)' nothing happens:
$ man crontab(5)
-bash: syntax error near unexpected token `('

`man crond' tells me how to run the daemon.


The syntax is:
man section_number something_to_lookup

so

man 5 crontab


galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] HP Laserjet 4M+ with duplexer free to good home

2023-12-19 Thread Galen Seitz

On 12/19/23 13:04, Ted Mittelstaedt wrote:

I'm very tempted to come pick up your printer Galen.  But if someone
asked me "can I have all your 4+ and I'll take Galen's and put them
all together to make a working Printer" I'm sure my common sense
would win out and I'd happily hand them all over!


It's still here calling to you Ted.



It isn't failing much more quickly than "it should"It's failing
more quickly because it's engineered to fail more quickly because
it's least cost materials.


Well, the latest cartridge that I installed was purchased off of ebay, 
and from all appearances it looked to be an original HP cartridge.  Of 
course, if it was truly an HP cartridge, that means it was likely quite 
old, which may explain the poor performance.  It's possible that a new 
wiper might cure the problem, but that's more trouble than I care to 
deal with for such an old printer/cartridge.



galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] HP Laserjet 4M+ with duplexer free to good home

2023-12-19 Thread Galen Seitz

On 12/19/23 11:15, Michael Ewan wrote:

It seems there are a lot of sources for the #48 toner, is "decent" the
problem?


Yes.  The past two or three cartridges I have purchased have worked well 
initially, but the print quality has degraded much more quickly than it 
should.  In September I contacted PrinterTechs.com about it.  They sell 
printer parts, so there is incentive for them to sell me parts for 
repair.  Despite that incentive, here's part of the response I received: 
"Remanufactured cartridges would be the way to go if you decide to keep 
the printer, but I'd recommend getting a newer printer. Age is starting 
to catch up with the 4 plus, we see power supplies failing more often in 
that model than we used to."


galen
--
Galen Seitz
gal...@seitzassoc.com


[PLUG] HP Laserjet 4M+ with duplexer free to good home

2023-12-19 Thread Galen Seitz

Hi,

As it has become difficult to find decent toner cartridges, I have 
decided to retire my HP Laserjet 4M+ and duplexer.  The printer also has 
an Ethernet interface.  The printer still prints, but with the current 
toner cartridge, the background of the print is grey.  It's free to 
anyone that wants to come pick it up (close-in SE).  If there's no 
interest, it's going to Free Geek on Thursday.


FWIW, I replaced it with a Brother MFC-L2750DWB All-In-One from Costco 
($300).


galen
--
Galen Seitz
gal...@seitzassoc.com


[PLUG] local laptop repair?

2023-12-14 Thread Galen Seitz

Hi,

A friend is asking for suggestions for local laptop repair.  The machine 
is a two year old Lenovo T590.  I'm assuming it's running Windows, but 
apparently this is a hardware issue, not software.  East or west side 
would be okay.  Any recommendations?


thanks,
galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] email services supporting IMAP

2023-11-20 Thread Galen Seitz

Hi,

Thanks for the feedback regarding IMAP email providers.  I will pass 
along the info to my friend.


galen
--
Galen Seitz
gal...@seitzassoc.com


[PLUG] email services supporting IMAP

2023-11-17 Thread Galen Seitz

Hi,

A smart, but non-sysadmin, non-linux-using friend asks:

"Hey I’ve been interested in getting off Gmail and switching to a mail
service I pay for. And then using it with IMAP on my various devices. Do 
you have any knowledge about other services besides Gmail, yahoo, etc?"


I'm pretty sure this person uses a Mac laptop, but I'm not sure about 
their phone.  I'd guess iOS, but it could be Android.


Suggestions?

thanks,
galen
--
Galen Seitz
gal...@seitzassoc.com


Re: [PLUG] Router configuration

2017-10-26 Thread Galen Seitz
On 10/26/17 11:01, Rich Shepard wrote:
> On Thu, 26 Oct 2017, John Meissen wrote:
> 
...
>> Frontier has their own speed test site. One would expect that it would use
>> a site that doesn't require traffic to transit someone else's network, so
>> it would be a more reliable test of throughput.
>>
>> http://speedtest.frontier.com/
> 
>I cannot load that page. It's blank and requires Adobe's flashplayer.

That's odd.  It works fine for me with Firefox ESR 52.4.0 (64-bit).  I
definitely don't have flash installed.  Sounds like you are blocking
some javascript or dns is not working properly.  It appears that the
site needs to run javascript from a few different places in order to
operate.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Router configuration

2017-10-26 Thread Galen Seitz
On 10/26/17 09:17, Rich Shepard wrote:
>I'm not getting the expected data transfer speeds on the fiber network.
> Frontier's tech support shows the correct speeds on their network side so it
> must be something here.

As others have said, please tell us what up/down speeds you are
expecting.  Please also tell us what Frontier connection speed/plan you
signed up for.

What up/down speeds do you get from this site?  This should be very
close to the advertised plan speeds.
<http://speedtest.frontier.com/>

You might also want to try this site:
<http://speedof.me>

It's likely that your router is underpowered for the speeds one might
expect from a fiber connection.  Of course this is dependent on your
selected connection speed.  Anyway, there's a reason that you see
Russell periodically posting about group purchases of PC Engines
hardware.  If you have connection that is measured in 100's of mb/s, it
can take significant horsepower to route/firewall it.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] What's up (or down) with spiritone/aracnet?

2017-10-01 Thread Galen Seitz
On 10/01/17 09:48, David Fleck wrote:
> On Sun, 2017-10-01 at 09:29 -0700, Rich Shepard wrote:
> [rshepard@salmo ~]$ ping mx.spiritone.com
> PING mx.spiritone.com (216.99.193.22) 56(84) bytes of data.
> --- mx.spiritone.com ping statistics ---
> 9 packets transmitted, 0 received, 100% packet loss, time 7999ms
> 
> [rshepard@salmo ~]$ ping mx2.spiritone.com
> PING mx2.spiritone.com (216.99.193.24) 56(84) bytes of data.
> 64 bytes from mx2.spiritone.com (216.99.193.24): icmp_seq=1 ttl=56
> time=38.1 ms
> 64 bytes from mx2.spiritone.com (216.99.193.24): icmp_seq=2 ttl=56
> time=35.7 ms
> 64 bytes from mx2.spiritone.com (216.99.193.24): icmp_seq=3 ttl=56
> time=35.3 ms
> ^C
> --- mx2.spiritone.com ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
> rtt min/avg/max/mdev = 35.362/36.427/38.187/1.263 ms
> 
> 
> 
> Thanks for the digging, Rich. Interestingly, I can't successfully ping
> *any* IP address related to spiritone.com from where I am.

I can't reach them either.  I'm on a Comcast business connection.

galens@lion:~$ ping mx.spiritone.com
PING mx.spiritone.com (216.99.193.22) 56(84) bytes of data.
^C
--- mx.spiritone.com ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5765ms



galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] What's up (or down) with spiritone/aracnet?

2017-10-01 Thread Galen Seitz
On 10/01/17 07:03, David Fleck wrote:
> Anybody in the PDX area know what's happened to
> spiritone.com/aracnet.com? My wife uses them as her primary email
> account, and their mail and web servers have been offline and un-
> pingable since sometime Friday. Calls to tech support get automatically
> routed to a full inbox. This is not the level of service we've been
> used to over the past decade...

Normally they would use Twitter to let people know what is going on, but
their last tweet was in August of 2016.  I hope they haven't folded.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Troubleshooting ssh [FIXED]

2017-09-16 Thread Galen Seitz
On 09/15/17 19:07, Larry Brigman wrote:
> Have this problem all the time at work.  It didn't occur to me to share.
> We reinstall systems all the time.  So much so that I wrote a shell wrapper
> around ssh-keygen.
> It has an option to manage known hosts.
> ssh-keygen -q -v -R ${host}

What is the purpose of using both -q (silence) and -v (verbose) ?

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Emacs: removing obsolete assoc.el

2017-09-07 Thread Galen Seitz
On 09/07/17 08:33, Rich Shepard wrote:
>Running emacs-24.5 here. This morning when I started emacs I saw the
> message that package assoc is obsolete, so I did a web search. Found that,
> indeed, it was deprecated with 24.2 and the package is apparently called
> assoc.el. One contributor on the emacs wiki provided a script to find all
> his git packages that require assoc.el, but that's not relevent to me.
> 
>Looking for the package on my system using 'find / -name assoc.el'
> returned nothing.
> 
>While the deprecation warning does not stop use of emacs I would like to
> remove assoc.el when I can find it.
> 
>Thoughts?

It's probably in compiled form.  Trying looking for assoc.elc


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Locating an ODF author

2017-09-05 Thread Galen Seitz
On 09/05/17 11:47, Roderick Anderson wrote:
> I am trying to contact the author of a 'LibreOffice Base' tutorial.
> 
> https://wiki.documentfoundation.org/images/0/02/Base_tutorial.pdf
> 
> I just ventured into designing an application for a local non-profit 
> organization.  To make it portable across Windows, MACs, & Linux systems 
> I figured LibreOffice Base made sense.  (More so now that I've got into it.)
> 
> The last time I tried to work with Base I got basically to the corner of 
> No and Where.  I'm not new to database design and application coding but 
> have not been active for close to 10 years.
> 
> This tutorial so far has been great.  The author is covering some basics 
> that I know but find it easy reading.  The problem is it is a PDF and 
> doesn't play well on a smartphone, tablet, or Kindle.  I was hoping that 
> it could be converted into an ebook format.
> 
> So to the actual question.  How do I locate Mariano Casanova?  Nothing 
> (email, etc.) in the document and a Google search turns up a site in 
> Spanish for a guy born in 1833, a Facebook listing of lots of Mariano 
> Casanovas, an IMDB listing, and a singer.
> 
> Is the Mariano Casanova a pen name?
> 
> Any suggestions and other ways to search?

Perhaps Andrew 'Drew' Jensen could help.  Looks like he has worked with
Mariano on documentation.
  drewjensen.in...@gmail.com ?

<https://wiki.openoffice.org/wiki/Database>

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] usb to ethernet printer

2017-08-29 Thread Galen Seitz
On 08/29/17 17:15, fredj...@fredjame.cnc.net wrote:
> Looking for a replacement for an old HP LJ 4m+ Most new printers in
> the low price end are wireless and/or USB, but not Ethernet. Anyone
> had any experience with the USB to Ethernet adapters for connecting a
> USB printer to a LAN via Ethernet?
> 
> My need is really a laser printer (toner) to print the occasional
> envelope, thus the low price end.

Is repair of the old HP an option?  Parts should still be available.  I
have the same printer, and while I wouldn't mind having a new color
laser printer, this one just keeps going.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Selecting a SSD

2017-08-22 Thread Galen Seitz
On 08/22/17 17:06, Denis Heidtmann wrote:
> Samsung was recommended here.  I see $150 for their 850 EVO 480G, and they
> have a 5 Yr. warranty v.s. 3 Yr. for the other brands in that price range.
> But a number of reviewers report terrible interactions with their warranty
> support.  Anybody here have similar issues?  Is the likelihood of failure
> low enough to ignore this issue? (My plan is to have the SSD my only drive,
> and backup of data but not a duplicate of the system.)

Reliability should be quite high, but you could always be the unlucky
one.  I.e., if your data is not backed up, your data doesn't exist.

I think the reliability of Crucial, Intel, and Samsung are all likely to
be quite good.  One thing I would suggest is to be sure the disk has the
latest version of firmware before you start moving or installing data on
it.  It's typically easier and safer to do a firmware update prior to
using the disk.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] newegg security

2017-07-06 Thread Galen Seitz
On 07/06/17 07:49, Tim wrote:
> 
> 
>> OK, tried it again this morning and got the insecure connection problem
>> again.  I also tried it with Chrome and got a similar security warning.
>> Could someone else please try these two addresses and report if you see
>> a similar problem?  To the best of my knowledge, both of these are
>> Newegg IPs.
>>
>> https://38.95.229.188
>> https://216.52.208.188
> 
> 
> HTTPS certificate validation will fail if you are not accessing the
> web server using the site's appropriate DNS domain name.  Public HTTPS
> certificates cannot be issued for IP addresses, so the URLs you
> included are guaranteed to fail validation.

OK, that makes sense, and also explains why the SSL Labs test says I
can't use IP addresses.  Can you please try https://secure.newegg.com ?
It's causing security errors here.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] newegg security

2017-07-04 Thread Galen Seitz
Hi,

Yesterday I went to the newegg web site to buy a disk.  I opened a
private browsing session in Firefox and went to newegg.com.  I then
clicked on the login link on their home page.  At this point my memory
gets a bit fuzzy, but I believe it was at that point I got a "Your
connection is not secure" page from Firefox.  At that point I followed a
link from the Firefox page to the SSL Labs' test page.  I ran a test on
secure.newegg.com and it came back with a grade of F.  Unfortunately I
subsequently closed the firefox private session, losing the test
information and the IP address.  This morning I tried the SSL test again
on secure.newegg.com, and the resulting score was A+.  Now I'm left
wondering what was going on yesterday.  Has anyone else encountered
this?  I *really* wish I hadn't deleted that page with the F score.

FWIW, my Firefox is ESR 52.2.0.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Make RPM

2017-05-21 Thread Galen Seitz
On 05/20/17 19:13, Tom wrote:
> Would you be willing to share your filling Google form education class
> creation know-how Paul?
> Would it be universally applicable to other web applications?
> I am sure that the answer is just another G search away, but I am at
> loss what to look for ...

Tom, I'm guessing you intended that as snark.  Regardless, Paul has
definitely made contributions on the "how to build an rpm" subject.

<https://www.madboa.com/geek/specs/>

If you're curious how I found that, well, I've been on this list a
*long* time.  I knew that if I put 'heinlein rpm' into google, I'd
probably find a link to one of Paul's web pages.  As it turns out, it
was the second link.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using newly installed emacs mode

2017-05-11 Thread Galen Seitz
On 05/11/17 06:35, Rich Shepard wrote:
>When seeking how to have emacs use a newly installed language mode
> (js2-mode) I'm not using the appropriate web search terms. Results are many
> instances of writing emacs extensions to support languages, but not how to
> get emacs to use the mode when a language file is opened for editing.
> 
>I used 'install-package [RET] js2-mode [RET]' to download, build, and
> install the mode. Tried 'M-x run-js2' but that was not found. I assume that
> I need to add the language to ~/.emacs but find no information on how to do
> this.

It's probably as simple as M-x js2-mode


>Would appreciate learning how to make the mode active so I can use it now
> and in the future.

Generally modes are associated with filename endings, so .c or .h are
associated with c-mode, .py with python-mode, etc.  To make this
association, the mode is added to auto-mode-alist.  For example:

;; Any files that end in .v, .vh, .sv, or .svh should be in verilog mode
(add-to-list 'auto-mode-alist '("\\.s?vh?\\'" . verilog-mode))


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Change firefox open tab order

2017-05-08 Thread Galen Seitz
On 05/08/17 17:37, Rich Shepard wrote:
> On Mon, 8 May 2017, John Jason Jordan wrote:
> 
>> I have always been able to drag tabs around, including from one window to
>> another window, and if I drag a tab completely off of Firefox it opens the
>> tab in a new window.
> 
>This stopped working a couple of years ago.
> 
>I can move a tap to another position but as soon as I lift my finger from
> the trackball button the tab snaps back to its original position.
> 
>> I wonder if the problem is in your Firefox.
> 
>Not too likely. It's been this way for quite a few versions.
> 
>> Window manager? Desktop environment?
> 
>Xfce4.

Works fine here with xfce 4.8, ff 52.1.0, CentOS 6.9


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] USB enclosures

2017-04-03 Thread Galen Seitz
On 04/03/17 10:40, John Jason Jordan wrote:
> I am looking for a 2-bay USB enclosure, at least USB 3.0, with internal
> software capable of Raid 0. I have been looking at the ICY DOCK MB662U3-2S:

I would be leery of any USB RAID setup unless I knew with absolute
certainty that the RAID format/metadata was well documented and
portable.  In other words, you need to be very certain that it is
possible to remove the RAID disks from the enclosure and recover the
data.  If the RAID format is proprietary, you would be in trouble if the
enclosure dies or the company goes belly up.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using ssh-agent and ssh-add

2017-03-30 Thread Galen Seitz
On 03/30/17 13:12, Rich Shepard wrote:
>My laptops are not always on. When I do fire up one and want to exchange
> files with the desktop each transaction requires my typing my passphrase.
> Can I add ssh-agent and ssh-add to ~/.bash_profile so I need type the
> passphrase only once after booting a host?

I don't recall the details, but I believe I'm using some part of the
GNOME keyring manager here.  After logging in, the first attempt to use
ssh will pop up a window asking for my passphrase.  All subsequent use
of ssh does not require the passphrase.

My desktop is XFCE, but I have the appropriate GNOME pieces installed to
make this work.  What those pieces are, I don't remember.  It's been a
while since I set it up.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Monitor... dead audio

2017-03-25 Thread Galen Seitz
On 03/25/17 10:48, Chuck Hast wrote:
> Yes, I have tried both inputs, and zip. There is something wrong in the
> audio
> path. I can feed another TV with the HDMI cable from the RPi and get good
> audio, so the issue is with the TV/Monitor. I can tell you this much
> Westinghouse
> is useless, I sent them a note to the address given for such issues, they
> sent
> me a USER manual which I had stated very clearly that I had. Then they sent
> me a 800 number, I called that, they told me they were going to send it
> right
> out to me, they sent me a USER manual, called them and told them that I
> already had the USER manual, and that I needed the service manual, guy told
> me he did not have it, asked to talk to a manager and he hung up on me.
> 
> Called back, got a chick, she pulled up the trouble ticket number and put me
> on hold, and never came back online. Whatabunchaputzes...
> 
> I have looked high and low for it, I am trying to go through the FCC it has
> a
> FCC symbol on the back but no grantee code. So not sure what is going on,
> flat screen tv/monitors fall under part 15 because they radiate, so they
> have
> to have gone through the radiation testing, unless the label is boggus.
> 
> Once I can get the grantee I will KNOW who the actual manufacterer is, and
> I can try to go to them. Or FCC may have it on the site, I have got diagrams
> of devices off of the FCC site before.

I think there's a snowball's chance that you'll track down a manual.
Actually I'd say there's a snowball's chance that a manual even exists,
much less getting a hold of one.  Then there's the potential language issue.

Assuming you're comfortable working on this and know enough to stay away
from the AC supply ... sorry, I should have noticed the call sign
earlier.  That probably means what I'm about to suggest is what you
would have done anyway.

Pull the rear cover.

Find the audio amp if you can.  Presumably it's an integrated class D
amp.  Post the part number here if you find it.

Look for a datasheet.  If you can find one, consider that a minor miracle.

Feed an audio signal into the monitor.  My preference would be the 3.5
mm jack.

Probe the audio amp, looking for the line level audio.  Check the supply
pins too.

Discover that the amp is dead.

Order a replacement part.  This is where the major miracle occurs.

Replace the part and cross your fingers.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Monitor... dead audio

2017-03-25 Thread Galen Seitz
On 03/25/17 02:35, wes wrote:
> he did specify that he can send the audio elsewhere, but he likes the
> Westinghouse monitor's speakers and wants to fix them.
> 
> personally, I'd verify that it doesn't work with another device first.
> 
> -wes

Agreed.  First confirm that it truly is broken by trying it with another
device *and* cable that are known to work.

I see that it has a line-level 3.5 mm jack.  I would definitely try
feeding it an analog audio signal through this jack.  Alternatively, you
could try the audio RCA jacks.  This should tell you whether the audio
amp itself is broken, or whether the problem lies somewhere upstream.

Not to insult you, but you should also confirm it's not muted.  Even if
the on-screen display doesn't indicate it, I'd toggle the mute button a
few times.  Finally, I also suggest disconnecting power for a minute or
so and then reconnecting.  Perhaps the firmware has just gotten confused.

Beyond this, I think you're getting into oscilloscope territory.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] USB to ethernet adapters

2017-03-19 Thread Galen Seitz
On 03/19/17 05:45, Richard Owlett wrote:
> The recent thread about the Lantronix XPort caught my attention.
> A quick search found a variety of USB to ethernet adapters.
> 
> I will be visiting a local Staples next week. Their website lists several.
> What should I look for?
> A better question might be "What should I avoid?"

The USB to ethernet market is dominated by a semiconductor design house
called Asix, with Realtek making up most of the rest.  Microchip also
makes a USB to ethernet adapter, but it seems to be nonexistent in the
retail market.  Regardless, whatever you buy won't have these names on
the package.  In the fine print on the back you might find a part number
like AX88772.  This is a 100 Mbit Asix device that is very common and is
definitely supported by Linux.  I have one that was sold by Monoprice,
but I don't see it on their web site now.

Anyway, the short answer is that Linux has decent support for USB to
ethernet adapters.  My guess is that any 100 Mbit adapter that you find
will be supported.  1 Gbit adapters are more questionable due to their
newness.  YMMV


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] monitoring MAGNITUDE of internet activity - how?

2017-03-04 Thread Galen Seitz
On 03/04/17 00:41, Richard Owlett wrote:
> On 03/02/2017 01:48 PM, Keith Lofstrom wrote:
>> On Wed, Mar 01, 2017 at 04:33:57PM -0600, Richard Owlett wrote:
>>> Is there a tool which can be
>>>  "turned on"  at time t0
>>>  "turned off" at time t1
>>> which will report the number of
>>>   "uploaded"   bytes
>>>   "downloaded" bytes
>>> in that interval?
>>
>> For your purposes, perhaps you pipe a standard interface
>> reporting tool into a text file that you can edit into
>> .cvs format for a spreadsheet.
>>
>> However, sometimes the easiest way to do stuff is to learn
>> a scripting language and automate a task.  The good thing
>> about scripting languages is that you can always look at
>> the program to remind yourself how it works.
>> [snip]
> 
> For my needs I'll skip aiming at a spreadsheet and write some simple 
> bash scripts to gather data and do some basic formatting. For anything 
> more complex I'll use Tcl/Tk as I use it in another project. The more 
> practice the better.
> 
> I someone asks "How much can be done in bash?", I suggest browsing
> http://www.tldp.org/LDP/Bash-Beginners-Guide/html/Bash-Beginners-Guide.html
> and
> http://www.tldp.org/LDP/abs/html .

If you want to use this as a learning exercise, go for it.  If not, then
I feel you are making this more complicated than necessary.

First capture your data as Robert suggested.  Change the 10 to whatever
time interval is desired.
cp /proc/net/dev /tmp/foo; sleep 10; cat /proc/net/dev >> /tmp/foo

Now open the file using libreoffice.  Under Separator options, select
"Space" and "Merge delimiters".  Click OK.  Your task, as you have
described it, is now about 95% complete.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] nohup question

2017-02-26 Thread Galen Seitz
On 02/26/17 08:44, Rich Shepard wrote:
>For my immediate need I chose to use nohup rather than alternatives.
> There's a paucity of information on the web, even less in the man page.
> That's OK as it's a simple tool with no options.
> 
>I invoked the command in a virtual terminal in one Xfce4 workspace. When I
> run the command, jobs -l, I see the process number of background running job
> #1. But, when I try the same command from another v.t. I see nothing. So, if
> I log out of the GUI will I be able to check from the console that the job
> has finished or is still running? I have not found an answer on the web;
> perhaps I've not correctly asked the question there. As this long-running
> model is on a laptop I can remained logged in if I need to check job status
> from that one v.t.

ps auxw | grep 'my_program'

or, assuming nohup shows up the ps output

ps auxw | grep 'nohup'

or you could note the process ID when you invoke nohup and look for it
in the ps output.

ps auxw | grep 'my_pid'


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Running a Python application in the background

2017-02-23 Thread Galen Seitz
On 02/23/17 19:18, Rich Shepard wrote:
>A hydrologic model I need to run has an estimated completion time almost 4
> days in the future so I start it in the background by appending '&' to the
> command line.
> 
>The problem is when I log out of the system and log in as root that
> process (actually, there are 3 processes running, one with status Rl the
> others as S (suspended).
> 
>Is there an alternative way to have a program keep running after the user
> invoking it logs off?

Traditionally this was done using nohup, but screen is probably a better
choice.

<http://tecadmin.net/run-command-in-background-on-linux/>
(not *the* definitive link, just the first one that seemed to cover what
you were asking)

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Resolved: "Unable to locate printer"

2017-02-20 Thread Galen Seitz
On 02/20/17 11:46, Dick Steffens wrote:
> On 02/20/2017 11:24 AM, Rich Shepard wrote:
>> On Mon, 20 Feb 2017, Dick Steffens wrote:
>>
>>> Any ideas on what I need to do to fix this?
>> Dick,
>>
>> Two things: First, in the CUPS admin page under either maintenance or
>> administration look for an option to restart the printer. If that's not
>> present or resolving the problem proceed to the more involved fix.
> 
> I didn't find exactly what you described, but I did find:
> 
> On the page for the printer, under the Maintenance drop down list, 
> "Pause Printer"
> After pausing the printer that option changed to "Resume Printer"
> 
> Things are now back to normal.

On my CentOS 6 machine, cups defaults to 'stop on error', which may be
why you had to do a resume.  I recently dug into the printer options and
changed this to something like 'retry on error'.  You may want to do the
same.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] acroread for 64-bit machines?

2017-02-14 Thread Galen Seitz
On 02/14/17 10:45, Rich Shepard wrote:
> On Tue, 14 Feb 2017, Tom wrote:
> 
>> I regularly use okular and evince for presenting from PDF. To go to
>> full screen (presentation) mode use:
>>  evince - F11
> 
> Tom,
> 
>I just tried this and while F11 does expand to the full screen, the frame,
> side window, and icons along the top of the slides remain. Looking at the
> menu I learned that F5, presentation mode, centers the slides on the screen
> while maintaining the aspect ratio. The [Esc] key brings the display back to
> the small window which can then be closed.
> 
>It's interesting that when xpdf is invoked with -fullscreen it does so,
> but with a wide monitor it puts the slides toward the left side and fills in
> the right side with plain white background. On a non-wide-monitor portable
> xpdf works fine, but with a wide monitor evince/F5 is the way to go.

That's odd.  On my wide monitor, xpdf centers the slide and puts black
bars on either side.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] acroread for 64-bit machines?

2017-02-14 Thread Galen Seitz
On 02/14/17 08:14, Rich Shepard wrote:
>My use of Adobe's acrobat reader is infrequent, but good for presentations
> showing beamer-class slides. There was no problem that I recall using it
> with 14.1, but I'm having issues trying to get a version that works with
> 14.2.
> 
>I have a presentation tomorrow and neither xpdf nor mupdf will display the
> LaTeX/beamer slides full screen. The windows are full screen, but not the
> PDF file.

How are you invoking xpdf, and what window manager are you running?
xpdf -fullscreen works for me here under Centos 6.

galens@lion:~$ xpdf -help
xpdf version 3.04
Copyright 1996-2014 Glyph & Cog, LLC


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Embedded Linux Conference comes to Portland on Feb 21-23

2017-02-06 Thread Galen Seitz
Am I the last person to find out about this?

<http://events.linuxfoundation.org/events/embedded-linux-conference>


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Needed: Modern equivalent of a "null-modem cable"

2017-01-18 Thread Galen Seitz
On 01/18/17 14:25, Tom wrote:
> I have been watching this threat for a while - unsure how to respond to
> such quest and be contributing without writing complete how-to on how
> to use networking wrong way.

I too share your interest.  It's sort of a morbid curiosity.  What next,
a uucp link between XP and Linux?  I suppose PPP wouldn't be too bad.
If I were in a hurry and didn't want to mess with networking, I'd
probably fire up Kermit or something similar on each end.

>  If you come to some of our Linux meetups - let me know, I will
> give you working old router for free and even throw in a switch so that
> you can connect more than 4 PCs together.

While our 'local' Richard might be described as being out in east
county, our somewhat more remote Richard has been described as being
'east of Estacada'.  It's a rather long drive, and the TriMet service
area doesn't cover Missouri, which is where 'remote' Richard lives.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Sites aimed at fostering wiki CONTENT?

2017-01-06 Thread Galen Seitz
On 01/06/17 06:22, Richard Owlett wrote:
> I do not have the resources nor expertise to create or administer 
> such a site.
> Characteristics of such a site (roughly in order of importance):
>   1. ONLY the author of a page has write access to the page content.
>   2. there be some means for publicly readable comments on the 
> content.
>   3. the content should probably be open indexing by search engines.
>   4. if possible it should be flagged to not be archived by sites 
> such as
>  http://archive.org as one of the goals is to limit the 
> perpetuation of
>  erroneous "facts".

With the exception of #4, I think you just described a blog.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] RIP Paul Nelson

2017-01-03 Thread Galen Seitz
On 01/03/17 14:56, Michael Dexter wrote:
> 
> Hello all,
> 
> I have just heard about the passing of Paul Nelson, long-time PLUG 
> member and Clinic organizer.

Very sorry to hear that.

For those who weren't around during the time of the clinics at
Riverdale, here's an old article that will let you step back to a time
when Linux was subversive rather than ubiquitous.

<http://www.wweek.com/portland/article-2877-the-rebel-alliance.html>


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Emacs: convert all uppercase words to capitalized

2016-12-19 Thread Galen Seitz
On 12/19/16 16:17, Rich Shepard wrote:
>I've looked in both the emacs docs and the wiki and both show me that M-c
> will convert individual uppercase words to initial capitalized words, but
> I've not found the way to do this for all words rather than one at a time.
> 
>Selecting a region prior to invoking M-c does nothing.
> 
>A cluestick will be really helpful.

capitalize-region M-x ... RET
   Convert the region to capitalized form.
capitalize-word   M-c
   Capitalize the following word (or ARG words), moving over.
capitalized-words-modeM-x ... RET
   Toggle Capitalized Words mode.


Either give capitalize-word a numeric arg (via Ctrl-U), or use
capitalize-region (which isn't bound to a key here).


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] emacs and git

2016-12-16 Thread Galen Seitz
On 12/16/16 10:37, Galen Seitz wrote:
> Hi,
> 
> I'm about to install magit, but it would be interesting to hear what
> others have to say regarding emacs git packages.  I've used psvn
> extensively, but this will be my first attempt at serious emacs+git usage.

Well, magit may be the best thing since sliced bread, but running any
remotely recent version requires Emacs v24.4 and Git v1.9.4.  I've got a
recent version of git installed, but CentOS/RH 6 supplies emacs 23.1.1.
I really don't want to go down the rebuild/upgrade rabbit hole.  I think
I'll try the git.el that comes with git.  I someone tells me I really
really should upgrade emacs, perhaps I'll reconsider.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Emacs: change \n\n to \n

2016-11-10 Thread Galen Seitz
On 11/10/16 12:30, Rich Shepard wrote:
> On Thu, 10 Nov 2016, Dale Snell wrote:
> 
>> M-x replace-string RET C-q C-j C-q C-j RET C-q C-j
>> works fine for me -- I just tested it.  Am I missing something?
> 
> Dale,
> 
>No, I was missing use of M-x replace-string. I was using ctrl-alt-shift-%
> to enter regex search-and-replace.

Yes, feeding the linefeeds to regex isn't going to do what you want.

Note that a simple query-replace (M-%) will also work.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] source code browse/analyze

2016-11-04 Thread Galen Seitz
Hi,

I'm about to start going through about 24000 lines of C spaghetti code.
The code is spread across 24 source and include files.  I'm considering
installing source navigator to help me wade through it, but I'm curious
as what other tools people might recommend.

thanks,
galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] my printer is out of ink, recommendations for a new printer?

2016-10-28 Thread Galen Seitz
On 10/27/16 22:48, Russell Senior wrote:
> 
> The subject line is partly a joke.  I have an HP Deskjet 932c, probably
> 10 years old or something vaguely like that.  The ink cartridges are
> about shot (currently blue instead of black, morphing into a red).  A
> replacement set of ink (HP 78/45) is about $80, which is close to a new
> printer.  The printer is attached to an Ubuntu box, printing occurs
> through CUPS.

I recently went through this exercise for my mom.  I ended up
recommending a Brother DCPL2540DW.  This is an monochrome all-in-one
laser.  No complaints yet.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using display for sequence of images

2016-10-24 Thread Galen Seitz
On 10/24/16 10:18, Rich Shepard wrote:
> On Mon, 24 Oct 2016, Galen Seitz wrote:
> 
>> Have you tried "display *.jpg" and then used right click Next?
> 
> galen,
> 
>Nope. But I will. I've a mixture of .jpg and .png so ... of course, I can
> convert the .jpg to .png first, can't I? :-)

Presumably you can pass any file type that display can handle.  There's
no need to convert the files.  I was just being lazy in my example.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Using display for sequence of images

2016-10-24 Thread Galen Seitz
On 10/24/16 08:30, Rich Shepard wrote:
>The 'display' man page tells me that it 'displays an image or image
> sequence on any X server' and suggests looking at the web page or equivalent
> in /usr/share/doc/ImageMagick-6/www/display.html. Since no command line
> option seems to direct display to read the image file names from a file I
> assume that I need to list the filenames in a script with a command that
> waits for my input before changing images. Is this correct?
> 
>Seems like the bash 'read -p' command would be appropriate, but I have not
> used it before and don't know how to use it for a sequence of 'display'
> commands.
> 
>I want to display a series of images (*.jpg and *.png) and have them
> change under user control. If you've done this before and are willing to
> share your script, please do so.

Have you tried "display *.jpg" and then used right click Next?


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] unexpected perl dependencies

2016-10-06 Thread Galen Seitz
On 10/05/16 21:14, Larry Brigman wrote:
> I suspect that you are getting the the autodepends and it is finding
> something in the list that it thinks should be there.  You should try
> adding
> 
> AutoReqProv: no
> 
> and rebuilding again.

Thanks!  That was indeed the problem.  I now have my rsnapshot package
installed under CentOS 5.

There is a perl script in the rsnapshot doc directory that uses perl DBI
and XML modules.  Some searching suggests that under Fedora it is
forbidden to generate requires/provides based on the contents of
%{_docdir}.  Apparently that does not apply to CentOS 5 or 6, because
packages built there pull in DBI and XML perl dependencies.  I don't
have a CentOS 7 machine, so I'm not sure about that environment.

<https://fedoraproject.org/wiki/AutoReqProv_%28draft%29>


Regarding the Lchown module that Dale mentioned, yes, that is also
dependency.  I back ported a recent Fedora release of that package in
order to get it.

Also, I generally follow Ali's advice and avoid installing anything
beyond CentOS and epel packages.

Thanks to everyone for their help.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] unexpected perl dependencies

2016-10-05 Thread Galen Seitz
Hi,

I'm encountering dependency problems while trying to install an rpm
package that I built.  The program is rsnapshot, which is a perl program
similar to dirvish.

I've got it working under CentOS 6 and Ubuntu 16.04 (using alien), but
I'm having problems with CentOS 5 due to missing dependencies.  The rpm
I built under CentOS 5 has the following problematic dependencies.  As
far as I know, these dependencies are not readily available under CentOS
5.  I could build them if that's really necessary, but I have my doubts
as to whether they are legit.

perl(DBI)
perl(Data::Dumper)
perl(XML::Simple)
perl(XML::Validator::Schema)

I've searched the rsnapshot code looking for something that mentions DBI
or XML, but they don't appear in the code.  They do not appear in the
spec file either.  Also, the rsnapshot README says "It is written
entirely in perl with no module dependencies".  I'm not sure whether to
believe that or not.

Does anyone have an idea about what might be causing these dependencies
to be listed in the package?


Here's the spec file I'm using, sans the changelog stuff.

Name:   rsnapshot
Version:1.4.2
# tarball filename and resulting directory contains hyphen between the
# number representing the number of commits since the tag and the
# commit hash.  rpm doesn't allow hyphens in the version or release.
# Deal with this by using just the 'commits since tag' for the release
# number.
%define commit_count 11
%define commit_hash g02a2845
Release:%{commit_count}.2
Summary:Backup program using hardlinks
License:GPL-2.0+
Group:  Productivity/Archiving/Backup
Url:http://www.rsnapshot.org/
Source0:%{name}-%{version}-%{commit_count}-%{commit_hash}.tar.gz
Source1:rsnapshot.logrotate
Source2:rsnapshot.cron
#Patch1: rsnapshot-config.patch
BuildRequires:  logrotate
BuildRequires:  openssh
BuildRequires:  perl
BuildRequires:  rsync
Requires:   logrotate
Requires:   openssh
Requires:   perl
Requires:   perl-Lchown
Requires:   rsync
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch
%if 0%{?suse_version} >= 1320
BuildRequires:  util-linux-systemd
Requires:   util-linux-systemd
%endif

%description
rsnapshot is a filesystem snapshot utility for making backups of local
and remote systems. Using rsync and hard links, it is possible to keep
multiple, full backups instantly available. The disk space required is
just a little more than the space of one full backup, plus
incrementals. Depending on your configuration, it is quite possible to
set up in just a few minutes. Files can be restored by the users who
own them, without the root user getting involved. There are no tapes to
change, so once it's set up, you may never need to think about it
again.

%prep
%setup -q -n %{name}-%{version}-%{commit_count}-%{commit_hash}
#%patch1

%build
# replace hardcoded /usr/local
#find . -type f -exec sed -i "s|usr/local|usr|g" {} +
%configure
make %{?_smp_mflags}

%check
make %{?_smp_mflags} test

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
install -d "%{buildroot}/%{_sysconfdir}"
mv "utils/rsnapreport.pl" "%{buildroot}/%{_bindir}/rsnapreport"
chmod 755 "%{buildroot}/%{_bindir}/rsnapreport"
#install -m 644 rsnapshot.conf.default
"%{buildroot}/%{_sysconfdir}/rsnapshot.conf.default"
#install -m 600 rsnapshot.conf.default
"%{buildroot}/%{_sysconfdir}/rsnapshot.conf"
mv "%{buildroot}/%{_sysconfdir}/rsnapshot.conf.default"
"%{buildroot}/%{_sysconfdir}/rsnapshot.conf"
install -m 644 -D %{S:1} "%{buildroot}/%{_sysconfdir}/logrotate.d/rsnapshot"
install -m 644 -D %{S:2} "%{buildroot}/%{_sysconfdir}/cron.d/rsnapshot"

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README.md
%doc rsnapshot.conf.default
%doc utils/
%{_bindir}/rsnapshot
%{_bindir}/rsnapshot-diff
%{_bindir}/rsnapreport
%config(noreplace) %{_sysconfdir}/rsnapshot.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/rsnapshot
%config(noreplace) %{_sysconfdir}/cron.d/rsnapshot
%{_mandir}/man1/rsnapshot.1.gz
%{_mandir}/man1/rsnapshot-diff.1.gz


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] any AT plan for tonight?

2016-08-16 Thread Galen Seitz
Has anyone volunteered for tonight's AT meeting?  It's going to be a
nice night for going out.  Just looking for an excuse.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Minimalist network WinXP <-> Debian Jessie. How?

2016-08-16 Thread Galen Seitz
On 08/16/16 08:15, Jim Garrison wrote:
> On 8/16/2016 7:57 AM, Richard Owlett wrote:
>> I have two laptops:
>>1. Lenovo T43 running WinXP Pro SP3
>>2. Lenovo R61 running Debian Jessie (8.0.0)
>>
>> I have tired of swapping information via flash drive.
>> I would prefer to avoid WiFi from a security point of view.
>>(Who? Moi? *PAIRANOID* ;)
>>
>> Would it be as simple as obtaining a short piece of Ethernet cable?
>>
>> What should I be reading?
> 
> Minimal: A short CROSSOVER ethernet cable (might be hard to find).

Modern (anything built in the last 10 to 15 years) ethernet interfaces
support Auto MDI-X, which eliminates the need for a crossover cable.
Also, both of these laptops have gigabit ethernet, which never needs a
crossover.

See the Auto MDI-X section here:
<https://en.wikipedia.org/wiki/Medium-dependent_interface>


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-08-06 Thread Galen Seitz
On 07/25/16 14:35, Dick Steffens wrote:
> On 07/25/2016 09:48 AM, Russell Senior wrote:
>>
>>>> Aha!  I remember now, you need to turn on forwarding on the X200.
>>>>
>>>> Check "cat /proc/sys/net/ipv4/conf/all/forwarding" ... it is probably 0.
> 
> It is.
> 
>>>> If so, "echo 1 > /proc/sys/net/ipv4/conf/all/forwarding" will turn it
>>>> on.  You can add this to your script with the iptables rule.
> 
> First I tried:
> 
> rsteff@ThinkPad-X200-Tablet:~$ sudo echo 1 > 
> /proc/sys/net/ipv4/conf/all/forwarding
> bash: /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
> rsteff@ThinkPad-X200-Tablet:~$
> 
> Note that I was not asked for a password.
> 
> Then I tried it without sudo:
> 
> rsteff@ThinkPad-X200-Tablet:~$ echo 1 > 
> /proc/sys/net/ipv4/conf/all/forwarding
> bash: /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
> rsteff@ThinkPad-X200-Tablet:~$

Beating a very old horse here, but I've been intending to respond to
this.  The reason these commands are failing is that redirection ('>')
is performed by your original shell, not sudo.  Your rsteff account
doesn't have permission to write to files in the /proc directory, hence
the error.  Others have shown that you can just get a root shell and
then issue the echo command, but I wanted to point out that you can do
this from a single command.

This command invokes a root shell and then passes the desired command,
including redirection, to that shell.

sudo /bin/sh -c 'echo 1 > /proc/sys/net/ipv4/conf/all/forwarding'


<http://stackoverflow.com/questions/82256/how-do-i-use-sudo-to-redirect-output-to-a-location-i-dont-have-permission-to-wr>


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] painfully slow Fedora 23 Workstation Live boot

2016-05-12 Thread Galen Seitz
On 05/12/16 13:06, David wrote:
> On 05/12/2016 12:53 PM, Galen Seitz wrote:
>> Hi,
>>
>> I booted 64 bit Fedora 23 Workstation Live off of a 2 GB USB flash drive
>> on an AMD Sempron system (cpuid 020fc2).  It took at least 10 minutes to
>> get to the screen that allows selecting between Live and Install.
>> Knoppix boots in one tenth the time or less.  Is this normal?  Is there
>> something I can do to speed it up?
>>
>> thanks,
>> galen
>>
> 
> I'm going to guess it's systemd that's the issue, but that's just 
> pointing a finger at something that I'm not fond of. If it's like my 
> laptop, I suspect it's one of the network interfaces that are waiting 
> for something to complete. (My system can take anywhere from 1:15-1:40 
> to complete and move on.)
> 
> If I recall correctly, with CentOS there is a function key that can be 
> pressed on the install disc that allows you to get "verbose" mode which 
> just shows the old school "$process [OK|FAIL]" stuff. There may be the 
> same option for Fedora.

Thanks for the response.  I tried removing quiet and rhgb from the
kernel command line, but I didn't seem to get much more in the way of
output.  I also tried the Fedora 24 beta.  It seemed to boot slightly
faster, but still dog slow.  I'm now trying Xubuntu 16.04.  It's also
very slow, so now I'm inclined to think the slowness is a function of my
flash drive.  I may try a different one and see if there is any change.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] painfully slow Fedora 23 Workstation Live boot

2016-05-12 Thread Galen Seitz
Hi,

I booted 64 bit Fedora 23 Workstation Live off of a 2 GB USB flash drive
on an AMD Sempron system (cpuid 020fc2).  It took at least 10 minutes to
get to the screen that allows selecting between Live and Install.
Knoppix boots in one tenth the time or less.  Is this normal?  Is there
something I can do to speed it up?

thanks,
galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Pacific Solutions is going out of business

2016-04-27 Thread Galen Seitz

FYI: According to a neighbor, Pacific Solutions is going out of
business.  They will be closing on April 30.  Half off anything in the
store until then.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Victor wants a reality check with regard to raspberry pi and ZyXEL C1100Z

2016-04-01 Thread Galen Seitz
On 04/01/16 11:48, Louis Kowolowski wrote:
> I was using centrury link in vancouver with a 40/20 link. Other than
> the occasional modem reboot (once a month-ish), no problems at all.
> Had a static IP, and found I could actually get 20Mbit over OpenVPN
> from Zurich to Vancouver.

With 40/20, are you saying you had a 20 Mbit uplink?  Was this over copper?


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Victor wants a reality check with regard to raspberry pi and ZyXEL C1100Z

2016-04-01 Thread Galen Seitz
On 04/01/16 00:13, Victor Soich wrote:
> Hi all,
> 
> First, a bit of background
> I thought I lived in a comcast monopoly area, and just recently had a knock
> on my door in S.E. Portland from a guy saying I could get centurylink
> internet services.  I might make the plunge and pay 25 bucks a month for 40
> Mbs download speed, unless I hear heavy criticism about centurylihk
> service, as opposed to comcast.

If that's DSL as Russell suggests, you should know that your upload
speed is likely limited to 800 kbit/s, or perhaps double that if they do
bonding on the upstream path too.  Regarding bonded DSL, I will just
comment that my neighbor signed up for this a couple of years ago, but
CenturyLink could never get it to work.  This is in the area of SE 34th
and Belmont.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Emacs Text Editing Question

2016-03-25 Thread Galen Seitz
On 03/25/16 08:36, Ali Corbin wrote:
> On Mar 25, 2016 8:07 AM, "Rich Shepard" <rshep...@appl-ecosys.com> wrote:
>>
> ...
>> measures are difficult to interpret as suitable for fish and
>> wildlife. Biological-based standards of water quality are more useful
>>
>> The 'd' in "and" is on column 59; when I place "wildlife" on that line the
>> space after the '.' is in column 70. So, why is the \n placed between
> "and"
>> and "wildlife." when I reformat using M-q?
>>
> 
> I've noticed this too, but only when I've pasted text into Emacs. My trick
> is to add a second space after the period.
> 
> Now I went to school in the dark ages, and was taught to put two spaces
> between sentences. I presume that Emacs is of the same vintage, and has
> somehow decided that dot-single-space isn't really a word separator. But
> I'm sure there's a setting you can change if you prefer single spaces
> between sentences.

<http://www.gocomics.com/bloom-county/2015/10/01>

Be sure to see the strips from Oct 2 and 4 too.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Check your OpenVPN certification expire dates

2016-03-01 Thread Galen Seitz
On 02/29/16 14:47, Louis Kowolowski wrote:
> There are service checks for things like nagios that will alert you
> on an upcoming expiration of ssl certs for many services. I believe
> it may also offer the ability to check a file.

Keith, on your Scientific Linux distribution you should find a program
called certwatch.  It's part of the crypto-utils package.  I recently
got a reminder from my system that my mail server certificate was about
to expire.  I'm guessing that if you dropped your VPN cert in the
correct place, certwatch would check it for you.

$ rpm -qif /etc/cron.daily/certwatch
Name: crypto-utils Relocations: (not relocatable)
Version : 2.4.1 Vendor: CentOS
Release : 24.2.el6  Build Date: Wed Nov 10 19:52:48 2010
Install Date: Tue Oct  9 20:34:38 2012 Build Host: 
c6b4.bsys.dev.centos.org
Group   : Applications/System   Source RPM: 
crypto-utils-2.4.1-24.2.el6.src.rpm
Size: 184696   License: MIT and GPLv2+
Signature   : RSA/8, Sat Jul  2 21:08:27 2011, Key ID 0946fca2c105b9de
Packager: CentOS BuildSystem <http://bugs.centos.org>
Summary : SSL certificate and key management utilities
Description :
This package provides tools for managing and generating
SSL certificates and keys.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Automating mailings at intervals of 1 hour

2016-02-11 Thread Galen Seitz
On 02/11/16 16:10, Rich Shepard wrote:
>I have several hundred newsletter subscribers and, because my outbound
> mail needs to be relayed via my ISP's mail server there's a limit of 100
> messages/hour per IP address.
> 
>To accommodate this limit I've partitioned the address list in chunks of
> 100 addresses each and done the same with the mailx scripts (which requires
> me to edit the subject line for each script). What I'd like is to have a
> wrapper script that would be fed to 'at' and 1) enter the newsletter e-mail
> subject line on each mailx script and 2) send subsequent chunks at hourly
> intervals. Cron is not appropriate because newsletters are written and
> distributed irregularly.
> 
>A pointer to what I should read to learn how to accomplish this is what I
> need.

You're running Postfix, correct?  Why not let Postfix handle this?

I assume you are relaying through Spiritone.  I think that in this
context all of your deliveries are to the same destination since you are
using a relay.
<http://www.postfix.org/postconf.5.html#default_destination_rate_delay>

Note that I've never tried anything like this myself.  It just seems to
me that with all the knobs that Postfix has, one of them ought to do
what you want.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Question on mktime() results

2016-01-25 Thread Galen Seitz
On 01/25/16 20:57, Galen Seitz wrote:
> On 01/25/16 17:23, logical american wrote:
>> To C geeks:
>>
>> Could someone who has freetime on their linux system compile the 
>> following C program and see if they can duplicate these results?
>> I found a strange 422 second difference between the 2 times.
>>
>> ...snip...
> 
> galens@lion:~$ make mktime_test
> cc mktime_test.c   -o mktime_test
> galens@lion:~$ ./mktime_test 
> first struct tm object dump: 1 7 12 18 10 -17 0 321 0 -28378 LMT
> second struct tm object dump: 2 7 12 18 10 -17 0 321 0 -28800 PST
> First time tick: -2717640001 Second time tick: -2717639578 Difference: -423 
> secs.  Should be -1 seconds instead.
> Is this discrepancy due to the 7 min 2 sec difference between PST and Local 
> Mean Time (Solar Time) ?

Forgot to include this:

galens@lion:~$ cat /etc/redhat-release
CentOS release 6.7 (Final)

galens@lion:~$ rpm -q glibc
glibc-2.12-1.166.el6_7.3.x86_64

galens@lion:~$ rpm -q gcc
gcc-4.4.7-16.el6.x86_64


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] FYI: ACT-W Portland:A Conference to Advance the Careers of Tech Women

2016-01-04 Thread Galen Seitz
On 01/04/16 14:58, benjamin barber wrote:
> Which is based on a a pile of assertions, which are inherently tied into
> identity politics, and why identity politics is cancer.

Please take this discussion to plug-talk.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] [OT?] Do functional cell phones exist?

2015-12-23 Thread Galen Seitz
On 12/23/15 16:37, Louis Kowolowski wrote:
> On Dec 22, 2015, at 11:03 PM, Richard Owlett <rowl...@cloud85.net> 
> wrote:
>> 
>> On 12/22/2015 11:57 PM, wes wrote:
>>> I'll mail you my Samsung SGH-A107 if you want it.
>>> 
>>> http://www.amazon.com/dp/B003MW0OIQ 
>>> <http://www.amazon.com/dp/B003MW0OIQ>
>>> 
>>> -wes
>> 
>> Thanks for the reply. However <*GRIN*>, it has two down-checks:
>> 1. ATT has worst "customer Service" (sic) known to mankind. 2. 
>> According to Section 11 of its _User Manual_ [retrieved from
>> 
>> http://theinformr.com/upload/manuals/samsung-sgh-a107-manual.pdf]
>>
>> 
<http://theinformr.com/upload/manuals/samsung-sgh-a107-manual.pdf]>
>> 
>> It is internet capable, therefore is computer not phone ;/
>> 
> Given that even USB cables typically have electronics in them, you 
> will be very hard pressed to get a phone that isn’t a computer, in 
> fact, I would go so far as to say “not possible”.

AFAIK, USB <= 3.0 cables with Type A or B connectors are normally
passive.  With the Type C connector, that changes somewhat:

"Full-featured USB Type-C cables are active, electronically marked
cables that contain a chip with an ID function based on the
configuration data channel and vendor-defined messages (VDMs) from the
USB Power Delivery 2.0 specification."

<https://en.wikipedia.org/wiki/USB_Type-C>


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Small network managed switch?

2015-11-16 Thread Galen Seitz
On 11/16/15 09:13, Rich Shepard wrote:
> On Mon, 16 Nov 2015, Wayne E. Van Loon Sr. wrote:
> 
>> One member of the family that owns the plant also owns some sort of a
>> business computing consulting or services company. He wishes that I had
>> used a managed switch so he could know how busy my network was and I don't
>> know what else a managed switch would tell him.
> 
> Wayne,
> 
>Because I knew nothing about managed switches I looked up the term on the
> Web and learned the benefits they can provide over an unmanaged switch. The
> article (on eHow, I believe it was) suggested using a smart switch. Those
> apparently do most of what a managed switch does but at a much lower price.

I believe there was a time when some of these so-called smart switches
used Windows-specific software for configuration.  It looks like they
have now moved to web interfaces, but that's definitely something I
would confirm before purchasing.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Configuring Dual SSD/spinning HD System

2015-10-24 Thread Galen Seitz
On 10/24/15 06:15, Rich Shepard wrote:
> On Fri, 23 Oct 2015, chris (fool) mccraw wrote:
> 
>> I think you should put /opt on the SSD.  It is, for the effects of this
>> conversation, "your OS".  Nearly every other distro keeps all of its meat
>> in /usr, i guess slackware uses /opt for the installed packages instead.
> 
> Chris,
> 
>Over the years this issue repeats on the slackware mail list or
> linuxquestions. Purists say all executables should go in /usr and
> custom-built, company-specific applications should be installed in
> /usr/local. Yet, applications such as google-earth and jgnash install by
> default in /opt. To me it's similar to asking if you keep your wallet in the
> left or right pocket of you pants.

Stuff you build yourself generally goes in /usr/local, and third-party
applications generally go in /opt.

For example, I have electronic design tools from companies like Altera,
TI, and Xilinx.  I install their software under /opt.  Because I can
almost always find packages(rpms) for the other stuff I need, my
/usr/local happens to contain only one tool that I built myself.

Since you are the only one using your machine, you can obviously put
stuff wherever you like, but if you stray too far from convention, you
might find yourself swimming upstream.

You can find more rationalization for this here:

/usr/local
<http://refspecs.linuxbase.org/FHS_3.0/fhs/ch04s09.html>

/opt
<http://refspecs.linuxbase.org/FHS_3.0/fhs/ch03s13.html>

Top of the Filesystem Hierarchy Standard spec
<http://refspecs.linuxbase.org/FHS_3.0/fhs/index.html>


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] mp3 playback within Firefox under CentOS 6

2015-10-22 Thread Galen Seitz
On 10/22/15 15:52, Galen Seitz wrote:
> Hi,
> 
> I've been trying to get mp3 playback within Firefox working with no
> success.  This is under CentOS 6.7.  I have the epel and rpmfusion
> repositories enabled, and I have installed the following rpms:
...snip...

Well, it seems that Firefox ESR on CentOS 6 is built without gstreamer
support.

<https://lists.centos.org/pipermail/centos/2015-September/154820.html>

Hmmm.  I guess I'll need to either use a different browser, or build
firefox myself, neither of which is very appealing.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] mp3 playback within Firefox under CentOS 6

2015-10-22 Thread Galen Seitz
Hi,

I've been trying to get mp3 playback within Firefox working with no
success.  This is under CentOS 6.7.  I have the epel and rpmfusion
repositories enabled, and I have installed the following rpms:

$ rpm -qa|grep gstreamer
gstreamer-plugins-bad-0.10.19-2.el6.x86_64
phonon-backend-gstreamer-4.6.2-28.el6_5.x86_64
gstreamer-plugins-base-0.10.29-2.el6.x86_64
gstreamer-plugins-bad-free-0.10.19-3.el6_5.x86_64
gstreamer-plugins-good-0.10.23-3.el6.x86_64
gstreamer-tools-0.10.29-1.el6.x86_64
gstreamer-ffmpeg-0.10.11-2.el6.x86_64
gstreamer-plugins-ugly-0.10.18-4.el6.x86_64
gstreamer-0.10.29-1.el6.x86_64

Playback of mp3 files using xnoise works fine, but in order to view a
training course (slides + mp3), I need mp3 to work within firefox.  When
I go to the following site, all of the audio formats work except mp3 and
flac.

http://hpr.dogphilosophy.net/test/

What am I missing?  Suggestions?

BTW, youtube html5 playback has been working for quite some time.  Only
today did I break down and try to add mp3 support to my system.


thanks,
galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] DSL modem

2015-10-16 Thread Galen Seitz
On 10/16/15 14:34, Marvin Kosmal wrote:
> Hi
> 
> Where is a good place to get a DSL modem..
> 
> I have TDS and have their DSL modem in house.   I have another building I
> am running a phone line to.  I thought it might just be easier if I bought
> my own DSL modem for that installation.?
> 
> Any ideas?

It's likely I have a Zoom modem I could give you.  What are you using now?

BTW, what's TDS?


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Thunderbird annoyances

2015-09-26 Thread Galen Seitz
On 09/25/15 22:32, Dick Steffens wrote:
> On 09/25/2015 09:13 PM, Bruce Kilpatrick wrote:
>> On 09/25/2015 04:30 PM, Dick Steffens wrote:
>>> Did anyone else notice a change in Thunderbird lately?
>>>
>>> I don't recall having T-bird want to correct color to colour before
>>> today, nor do I remember a "More" button to the right of the "Delete"
>>> button on an e-mail I'm looking at.
>>>
>> I noticed the "More" button had just showed up recently.  I assumed it
>> came with the last upgrade.
> 
> Yeah. I've trained my mouse hand to click on the right most button. 
> Fortunately it doesn't do anything hazardous, but it is an annoyance.

Right click on any of the buttons to get to a customize menu.  Once
there, you can drag the buttons to get a different order, or drag them
to the customize window to get rid of them entirely.


> The weirder one is how the spell check dictionary changed. I see that 
> there's an add on available, but why should it have changed? Sigh.

I haven't noticed this yet ... color ... well, now I have.  It thinks
I've spelled color wrong.

Hmmm, Preferences->Composition->Spelling is set to English/UK.  I
certainly didn't do that.  I've now changed it back to English/US.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Resolved: Thunderbird annoyances

2015-09-26 Thread Galen Seitz
On 09/26/15 08:36, Dick Steffens wrote:
> On 09/25/2015 11:30 PM, Galen Seitz wrote:
>> On 09/25/15 22:32, Dick Steffens wrote:

>>> The weirder one is how the spell check dictionary changed. I see that
>>> there's an add on available, but why should it have changed? Sigh.
>> I haven't noticed this yet ... color ... well, now I have.  It thinks
>> I've spelled color wrong.
>>
>> Hmmm, Preferences->Composition->Spelling is set to English/UK.  I
>> certainly didn't do that.  I've now changed it back to English/US.
> 
> Hmm. I was in a hurry yesterday and missed the spelling tab. Now mine is 
> also set back to English/US. Maybe the person packaging the latest 
> update is from the UK. Oh, well. Now I'm back to having color spelled 
> correctly. Interestingly so is colour.

Tourist: What you mean.spell bolour with a K?
Bounder: Yes.
Tourist: Kolour. Oh thank you, I never thought of that.

<http://www.montypython.net/scripts/travagent.php>


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] fstab entry

2015-09-01 Thread Galen Seitz
On 08/30/15 16:55, Denis Heidtmann wrote:
> On Sun, Aug 30, 2015 at 9:04 AM, Galen Seitz <gal...@seitzassoc.com> wrote:
...
>> Well, to my mind, commands like mdir and mcopy are about as routine as
>> it gets, but if you're keen to use the GUI, then mtools won't be of much
>> use.  I will point out that not mounting a floppy has at least the one
>> advantage that you avoid the possibility of corrupting the floppy by
>> ejecting it when it is mounted.
>>
>> galen
>>
> 
> I am often hesitant to post questions here because my ignorance and
> inexperience get laid bare.  I do not understand how not mounting provides
> that protection.  This lack of understanding is because I do not have a
> clear view of what happens when a device is mounted, and how the device is
> accessed without mounting.

When a filesystem is mounted, the linux will typically cache blocks of
filesystem data in RAM for performance reasons.  Blocks of data that
need to be written back to the device (aka dirty blocks) may sit in RAM
for multiple seconds before being flushed to the device.  This is one of
the reasons that graceful shutdowns are always preferred over pressing
reset or yanking the cord.  In the case of a floppy or USB drive,
ejecting or unplugging is the equivalent of yanking the cord.  There is
no opportunity for the system to write the data to the device, and
filesystem corruption is often the end result.

AFAIK, the mtools commands don't do any caching of writes.  When you get
the next command prompt after executing an mtool command, it is safe to
immediately eject the disk.  As described above, this is not true of a
mounted filesystem.

Hope this helps.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] fstab entry

2015-08-30 Thread Galen Seitz
On 08/29/15 17:33, Denis Heidtmann wrote:
 On Sat, Aug 29, 2015 at 11:16 AM, Galen Seitz gal...@seitzassoc.com wrote:
 
 On 08/28/15 08:20, Denis Heidtmann wrote:
 I needed to use the floppy disk on my ubuntu 14.04 system (why is a
 separate story).  I found that the default setup had the floppy owned by
 root. Even when I made myself a member of the group floppy, I did not
 have
 write access. It appeared as if the drive was not a member of the group
 floppy.

 On searching for a solution I came across a change to /etc/fstab which
 solved the problem.  My question is, I would like to understand what
 these
 changes do and what the entries mean, and make sure that the changes do
 not
 have any flaws. Could the dropping of the utf8 option produce a problem?

 Original entry (as provided by the installation):
 /dev/fd0   /media/floppy0  auto   rw,user,noauto,exec,utf8  0 0

 New entry:
 /dev/fd0   /media/floppy   auto
 rw,user,noauto,exec,gid=floppy,umask=007 0
  0

 Do you really need to mount the floppy?  For occasional use, it's often
 easier to use mtools.

 http://www.gnu.org/software/mtools/
 https://launchpad.net/ubuntu/trusty/+package/mtools


 galen
 
 
 Since Ubuntu supports the floppy though the GUI, and I now have user rights
 to it, I do not see the advantage of mtools.  I only use it to transfer
 files to and from an ancient windows 3.1 system a former colleague and I
 are trying to resurrect.  I suppose if I wanted to do something less
 routine with the floppy, I would benefit from mtools.

Well, to my mind, commands like mdir and mcopy are about as routine as
it gets, but if you're keen to use the GUI, then mtools won't be of much
use.  I will point out that not mounting a floppy has at least the one
advantage that you avoid the possibility of corrupting the floppy by
ejecting it when it is mounted.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] fstab entry

2015-08-29 Thread Galen Seitz
On 08/28/15 08:20, Denis Heidtmann wrote:
 I needed to use the floppy disk on my ubuntu 14.04 system (why is a
 separate story).  I found that the default setup had the floppy owned by
 root. Even when I made myself a member of the group floppy, I did not have
 write access. It appeared as if the drive was not a member of the group
 floppy.
 
 On searching for a solution I came across a change to /etc/fstab which
 solved the problem.  My question is, I would like to understand what these
 changes do and what the entries mean, and make sure that the changes do not
 have any flaws. Could the dropping of the utf8 option produce a problem?
 
 Original entry (as provided by the installation):
 /dev/fd0   /media/floppy0  auto   rw,user,noauto,exec,utf8  0 0
 
 New entry:
 /dev/fd0   /media/floppy   auto  rw,user,noauto,exec,gid=floppy,umask=007 0
  0

Do you really need to mount the floppy?  For occasional use, it's often
easier to use mtools.

http://www.gnu.org/software/mtools/
https://launchpad.net/ubuntu/trusty/+package/mtools


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Fedora 21 OSX samba connection not working.

2015-08-22 Thread Galen Seitz
On 08/21/15 14:58, mitch portland wrote:
 Hi Guys,
 
 I thought I'd try a local resource. I have a Fedora 21 and an OSX 10.10.5
 system on the same network. I've tried applying all the information I could
 find through google searches on the subject, and it appears I have smb and
 nmb running on the Fedora box, but nothing is showing up in the network
 listing on the osx machine.
 
 I had initially tried an AFP server using netatalk, and with that I could
 see the linux machine from osx. But connecting to it failed. Apple is also
 moving away from AFP for file sharing apparently:
 http://appleinsider.com/articles/13/06/11/apple-shifts-from-afp-file-sharing-to-smb2-in-os-x-109-mavericks
 So I removed netatalk and am attempting to go with samba.
 
 The smb and nmb services are running, but something doesn't look quite
 right:
 
 hobgoblin:~:{928}service nmb status -l
...
 Aug 21 13:56:17 hobgoblin.localdomain nmbd[1124]: STATUS=daemon 'nmbd' : No
 local IPv4 non-loopback interfaces available, waiting for interface
 ...NOTE: NetBIOS name resolution is not supported for Internet Protocol
 Version 6 (IPv6).

Have you confirmed that your network interface is up and running?  Can
the Fedora machine ping the OS X machine?

Assuming you have network connectivity, what is the name of your
ethernet interface?  eth0 or something else?  You can use ifconfig to
list your interfaces.  Does it match your interfaces line in
/etc/samba/smb.conf?  I'm not sure how samba decides which interfaces to
use if they aren't explicitly listed, but a search shows someone curing
this problem by specifying his interface.

http://linuxadmin.melberi.com/2015/04/nmbd-no-local-ipv4-non-loopback.html


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Galen Seitz
On 07/10/15 18:03, Denis Heidtmann wrote:
 Well, it is at it again.  Second boot of the day I got the same error I got
 a 6 days ago:  Error 16: Inconsistent file system structure. Press any key
 to continue.
 A key press gets me to the menu of OS versions.  On choosing the usual
 (12.04) I get partway into the Ubuntu startup, then a black screen with a
 flashing cursor.  ^ALT DEL soon produces the msg.
 Busybox v 1.18.5 (Ubuntu1:1.18.5-1ubuntu 4.1) built-in shell (ash)
 Enter help for a list of built-in commands
 Prompt is (initramfs).  I enter exit.  Then I get the kernel panic
 messages.  (They are identical to those I got the last time.
 
 This time I used e2fsck -fvp /dev/sda1 from the Ubuntu 12.04 live CD.  No
 errors found.
 
 Then I ran the smart self-test in palimpsest (a gui).  It took two hours,
 but found nothing wrong, as far as I can tell from the report.
 
 System seems fine at the moment.
 
 Short of a new computer, any ideas?

As someone else mentioned, how is your disk partitioned?  You are
checking sda1, but are there other partitions/filesystems on your disk?
 You should confirm that it's not actually a different filesystem that
is failing.

Re-seat all cables and connectors.

Confirm all fans are operating.

Swap power supplies.

Swap disks.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Desktop machine failures

2015-07-11 Thread Galen Seitz
On 07/11/15 07:48, Denis Heidtmann wrote:
 I was planning on running e2fsck on sda2 and sda5 later today.  Here are
 the results of your suggested commands:
 
 parents@R2D4:~$  cat /proc/partitions
 major minor  #blocks  name
 
80  488386584 sda
81  482809446 sda1
82  1 sda2
855574523 sda5
   1101048575 sr0
 
 
 parents@R2D4:~$ df -mTPl -x tmpfs -x devtmpfs
 Filesystem Type 1048576-blocks   Used Available Capacity Mounted on
 /dev/sda1  ext3 464095 229728210793  53% /
 
 
 parents@R2D4:~$ sudo fdisk -l
 [sudo] password for parents:
 
 Disk /dev/sda: 500.1 GB, 500107862016 bytes
 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x000d3a6a
 
Device Boot  Start End  Blocks   Id  System
 /dev/sda1   *  63   965618954   482809446   83  Linux
 /dev/sda2   965618955   976768064 55745555  Extended
 /dev/sda5   965619018   976768064 5574523+  82  Linux swap / Solaris

OK, so you only have one disk partition that is being used as a
filesystem.  sda2/sda5 is an extended partition that is being used as
swap.  Given that you have successfully run fsck on sda1, it would seem
the problem lies elsewhere.

I'd still recommend giving the cabling and fans a check.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Mate vs Gnome Classic with fixes

2015-07-09 Thread Galen Seitz
On 07/09/15 09:47, Keith Lofstrom wrote:

 P.S. regards XFCE and others - interesting options, but the 
 distro I run (Scientific Linux) is tied to GNOME, and I do not
 want to give up hundreds of useful packages and addons in an 
 attempt to escape Gnome 3 foolishness.  When the providers of
 those tools leave in disgust, so will I.

Using XFCE doesn't preclude the use of Gnome applications.  I'm running
XFCE on CentOS 6, but Gnome libraries are installed such that Gnome
applications will typically run without issues.

galens@lion:~$ gnome-
gnome-aboutgnome-network-properties
gnome-about-me gnome-open
gnome-appearance-propertiesgnome-panel
gnome-at-propertiesgnome-power-bugreport.sh
gnome-at-visualgnome-power-manager
gnome-audio-profiles-propertiesgnome-power-preferences
gnome-character-mapgnome-session
gnome-control-center   gnome-session-properties
gnome-default-applications-properties  gnome-session-save
gnome-desktop-item-editgnome-terminal
gnome-display-properties   gnome-thumbnail-font
gnome-font-viewer  gnome-typing-monitor
gnome-help gnome-volume-control
gnome-keybinding-propertiesgnome-volume-control-applet
gnome-keyboard-properties  gnome-wacom-properties
gnome-keyring  gnome-window-properties
gnome-keyring-daemon   gnome-wm
gnome-mouse-properties


YMMV, of course.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] egrep syntax correction

2015-07-04 Thread Galen Seitz
On 07/04/15 17:29, Rich Shepard wrote:
 On Sat, 4 Jul 2015, Pete Lancashire wrote:
 
 $ cat p | egrep -cE '^P[[:digit:]]{5}'
 4
 
 [rshepard@salmo ~]$ cat p | egrep -cE '^P[[:digit:]]{5}' hrwq.dat
 cat: p: No such file or directory
 0
 [rshepard@salmo ~]$ cat hrwq.dat | egrep -cE '^P[[:digit:]]{5}'
 0
 
 Still no joy. Let's let it rest.


galens@lion:~$ cat test.txt
foo
P12345
P1234a
P1234
bar
Pbaz
P
P567890hello
P56789world

galens@lion:~$ grep -c '^P' test.txt
7
galens@lion:~$ grep -c '^P[0-9]' test.txt
5
galens@lion:~$ grep -c '^P[0-9]\{5\}' test.txt
3
galens@lion:~$ grep --version
GNU grep 2.6.3


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] New laser printer advice needed

2015-06-28 Thread Galen Seitz
On 06/27/15 19:24, John Jason Jordan wrote:
 I need a new desktop laser printer (no inkjets). Black and white is
 preferred, and a duplexer and ethernet are essential, but speed is
 irrelevant. For quite a few years I have been using an HP 4+ decked out
 with a duplexer, as much RAM as it will hold, and genuine Adobe
 Postscript, however it has developed the dreaded 13-paper jam
 syndrome. From reading a dozen web pages I'm pretty sure it's a sensor
 somewhere, but figuring it out would take hours of my time. I'm ready
 to say kaddish for it. (But if anyone here wants to have a go at fixing
 it, it's all yours.)

For the person that decides to take John up on his offer, there's a
wealth of information here:
http://www.fixyourownprinter.com/reference/errorcodes/hp
http://www.fixyourownprinter.com/reference/guides/sensors/ex

I suspect this would be relatively easy to fix.  The reward would be one
of the most reliable printers ever made.  I'd do it myself, but I
already have one.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] emacs: regex replace modified search string

2015-06-26 Thread Galen Seitz
On 06/26/15 08:41, Rich Shepard wrote:
 On Fri, 26 Jun 2015, Galen Seitz wrote:
 
 untested

 search: ^,\([:alpha:].*\)
 replace: ,'\1
 
 galen,
 
Worth a try the next time, but the string to be quoted is the third in
 each row (not at the beginning of the line) and the fourth string consists
 of digits. I'll take that for a test drive, though.

If you don't give us the complete problem, you're unlikely to get a
complete answer.  Anyway, wrapping the strings you want to keep in
parens is key.

search: \(some stuff to keep\)foo\(more stuff to keep\)
replace: \1bar\2


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] emacs: regex replace modified search string

2015-06-26 Thread Galen Seitz
On 06/26/15 07:48, Rich Shepard wrote:
In a text file  2200 lines have this form:
   ,C...
 that is. a comma followed by one or more characters. I want to replace that
 with:
   ,'C...
 by adding the quote between the comma and first character in the string.
 
This search string works ,[A-Za-z] (and ,[:alpha:] would also work), but
 I've not found the syntax for the replacement string while reading the emacs
 wiki or emacs regex tutorial. those cover only regex for searches.
 
Trying the string ,'\1 fails miserably. A pointer on how to replace the
 original string with a single quote between the comma and first char is
 needed.

untested

search: ^,\([:alpha:].*\)
replace: ,'\1

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] emacs: regex replace modified search string

2015-06-26 Thread Galen Seitz
On 06/26/15 10:20, Rich Shepard wrote:
 On Fri, 26 Jun 2015, Galen Seitz wrote:
 
 If you don't give us the complete problem, you're unlikely to get a
 complete answer. Anyway, wrapping the strings you want to keep in parens
 is key.
 
 galen,
 
OK. Here's an example row:
   'B',1992-03,Cl,4
 and what I want is to convert it to:
   'B','1992-03','Cl',4
 
The regex I tried to quote the year portion of the date:
   ,\([:digit:]\{4\}-[:digit:]\{2\}\) RET ,'\1
 did nothing. The plan was to do one chunk at a time because my regex skill
 is not sufficient to do it all in one step.

To quote whatever is in the N+1 CSV column:

search:  ^\(\([^,]*,\)\{N\}\)\([^,]*\)\(,.*\)
replace: \1'\3'\4

This won't work if you are trying to quote the first or last column, as
it expects ',' surrounding the thing you are quoting.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] emacs: regex replace modified search string

2015-06-26 Thread Galen Seitz

To quote whatever is in the N+1 CSV column:

search:  ^\(\([^,]*,\)\{N\}\)\([^,]*\)\(,.*\)
replace: \1'\3'\4

Everything leading up to the stuff you want to quote goes in the first
group:
^\(\([^,]*,\)\{N\}\)

  Match N occurrences of anything followed by a comma.  Anything
followed by a comma is the second group.  This group is needed in order
to do the N occurrences.
  \([^,]*,\)\{N\}

Match anything that's not a comma and put it in the third group.
\([^,]*\)

Match a comma followed by everything else, and put it in the fourth group.
\(,.*\)


Now replace with the first group, followed by the third group in single
quotes, followed by the fourth group.
\1'\3'\4


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] QR Code generator with text label

2015-05-31 Thread Galen Seitz
On 05/30/15 21:33, Chuck Hast wrote:
 I have been looking for something that will generate QR codes to
 create labels, I also want to add a short human readable line on
 the label but so far I have not found a single step Linux solution to
 do so.  What I want is the QR code and above or below it a short
 human readable description. I can find windows stuff that will do it
 and I can find some on line generators, but not sure that they would
 like it if I did a whole parts inventory.
 
 I see some people have used other applications to overlay the QR
 code onto something with the text or vice versa, but I want something
 that is reasonably simple to use and runs on Linux so that I can set
 it up for non-tech types to use.


I agree with Michael R.  It sounds like a job for Imagemagick.  Generate
the QR png file, then use convert to add the text.

http://www.imagemagick.org/Usage/annotating/


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] postfix smtp certificate verification failed

2015-05-18 Thread Galen Seitz
On 05/18/15 20:22, Galen Seitz wrote:
 
 I've just configured my postfix 2.6.6-6 mailserver to use a relayhost
 with tls, and I'm seeing warnings when I send mail.  Here's an example:
 
 May 18 19:41:21 lion postfix/smtp[3625]: certificate verification failed
 for mailout.example.com[x.x.x.x]:587: untrusted issuer
 /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
 
 It appears the correct solution is to specify smtp_tls_CAfile in
 main.cf.  That's easy enough to do, but I'm not sure which file to use.
  This is a CentOS 6.6 system.  If I do a locate on .crt, here's what I get:
 
 /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
 /etc/pki/ca-trust/source/ca-bundle.legacy.crt
 /etc/pki/tls/certs/ca-bundle.crt
 /etc/pki/tls/certs/ca-bundle.trust.crt
 /usr/share/pki/ca-trust-legacy/ca-bundle.legacy.default.crt
 /usr/share/pki/ca-trust-legacy/ca-bundle.legacy.disable.crt
 /usr/share/pki/ca-trust-source/ca-bundle.neutral-trust.crt
 /usr/share/pki/ca-trust-source/ca-bundle.trust.crt
 
 So many to choose from!  Which should I use?

I decided to go with /etc/pki/tls/certs/ca-bundle.crt.  I think this is
the correct one, but this stuff seems to be a bit of a mess.

https://www.happyassassin.net/2015/01/12/a-note-about-ssltls-trusted-certificate-stores-and-platforms/


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] postfix smtp certificate verification failed

2015-05-18 Thread Galen Seitz

I've just configured my postfix 2.6.6-6 mailserver to use a relayhost
with tls, and I'm seeing warnings when I send mail.  Here's an example:

May 18 19:41:21 lion postfix/smtp[3625]: certificate verification failed
for mailout.example.com[x.x.x.x]:587: untrusted issuer
/C=US/O=Equifax/OU=Equifax Secure Certificate Authority

It appears the correct solution is to specify smtp_tls_CAfile in
main.cf.  That's easy enough to do, but I'm not sure which file to use.
 This is a CentOS 6.6 system.  If I do a locate on .crt, here's what I get:

/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
/etc/pki/ca-trust/source/ca-bundle.legacy.crt
/etc/pki/tls/certs/ca-bundle.crt
/etc/pki/tls/certs/ca-bundle.trust.crt
/usr/share/pki/ca-trust-legacy/ca-bundle.legacy.default.crt
/usr/share/pki/ca-trust-legacy/ca-bundle.legacy.disable.crt
/usr/share/pki/ca-trust-source/ca-bundle.neutral-trust.crt
/usr/share/pki/ca-trust-source/ca-bundle.trust.crt

So many to choose from!  Which should I use?


thanks,
galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Weird chars in title

2015-05-17 Thread Galen Seitz
On 05/17/15 14:57, Rich Shepard wrote:
 On Sun, 17 May 2015, Chuck Hast wrote:
 
 No, it has 8g of video on it.
 
Copy protected? I've seen PDF files that can be read but not printed; your
 DVD might be of the same type.

That's my guess as well.  Commercial DVDs often have 'interesting'
construction that makes life difficult for DVD drives, but your typical
DVD player seems to handle just fine.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] denyhosts not blocking some IPs with failed ssh root logins

2015-03-09 Thread Galen Seitz
On 01/15/15 13:32, Paul Heinlein wrote:
 On Wed, 14 Jan 2015, Galen Seitz wrote:

 Hi,

 Is anyone else seeing problems with denyhosts not blocking some failed
 logins?  This popped up in last night's logwatch:

 Galen,

 I've largely ditched DenyHosts for Fail2ban, but I saw similar things a
 few weeks ago. The problem was that somewhere along the line the entries
 in syslog no longer matched the regex that indicated a failed login.

 I ended up writing a new set of regexes for Fail2ban. They sometimes
 overlap with the existing ones (which I didn't alter), but I'd rather
 have a bad log entry match twice than not at all.

 Bottom line: I'd suggest comparing the log entries that weren't matched
 with the regex code in DenyHosts.

Belated thanks, Paul.  I've finally gotten back to this.  I installed 
fail2ban this morning.  After an initial misconfiguration (sending the 
ban notifications to example.com), I think it's now running properly. 
What is somewhat interesting is that denyhosts is now blocking some of 
the same hosts as fail2ban.  I have no idea why installing fail2ban 
would cause denyhosts to start working again.  Perhaps it noticed the 
competition and decided to start doing its job.  In any event, once I'm 
confident fail2ban is working, I will retire denyhosts.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Configuring /etc/ssh/sshd_config

2015-02-07 Thread Galen Seitz
On 02/07/15 11:38, Rich Shepard wrote:
 Some time in the past I lost key authentication when connecting from my
 laptop to my server. Password works, but that's sent clear text so I want to
 get the server's /etc/ssh/sshd_config correct.

When you use password authentication with ssh, the password is encrypted.


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Future Time Stamp: Clocks FUBAR

2015-01-19 Thread Galen Seitz
Hi,

I know you've been having clock problems, but I'm not sure if you gotten 
it fixed yet.  Thus this message.

The following message just showed up here.  Here's the time and date 
from the headers.  Note that the time, day of month, and year are all 
incorrect.

Received: from salmo.appl-ecosys.com (unknown [50.38.88.7])
by white.spiritone.com (Postfix) with ESMTPSA id 0435873402CE
for plug@lists.pdxlinux.org; Fri, 16 Jan 2015 13:13:27 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
by salmo.appl-ecosys.com (Postfix) with ESMTP id 8EA3B99390
for plug@lists.pdxlinux.org; Thu, 16 Jan 2014 13:12:07 -0800 (PST)
Date: Thu, 16 Jan 2014 13:12:07 -0800 (PST)



On 01/16/14 13:12, Rich Shepard wrote:
 On Fri, 16 Jan 2015, John Meissen wrote:

 Why would you expect the timestamp on a directory to change without
 changing anything in the directory?

 John,

 Guess I was not sufficiently clear. All files in ./sqlite/ have today's
 date; none display a timestamp. That directory was created a couple of
 months ago and the previous upgrade (to 3.0.7.4) had no issues. That's
 before the system was rebooted.

 In that directory is the source file, sqlite-src-3080800.zip and when I
 look at the files within that (using 'unzip -v sqlite-src-3080800/') they
 all have a date/time like this:

 Makefile.in
267  Defl:N  190  29% 01-16-2015 05:47 3fe38957
 sqlite-src-3080800/sqlite3.pc.in

 That's when the .zip file was built.

 I unzip it, then tar it:

 tar cvf sqlite-src-3080800.tar sqlite-src-3080800/

 and when I look at the tarball (say at 13:08) with 'tar tvf
 sqlite-src-3080800.tar' I see:

 -rw-r--r-- rshepard/users 267 2015-01-16 20:47
 - sqlite-src-3080800/sqlite3.pc.in

 What I'm trying to learn is where the additional 15 hours was put in.
 Normally I could not care less about time stamps except that the tarball
 will not build with the script because of the differences in time.

 Is this more clear?

 Rich




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



-- 
Galen Seitz
Seitz  Associates
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] denyhosts not blocking some IPs with failed ssh root logins

2015-01-14 Thread Galen Seitz
Hi,

Is anyone else seeing problems with denyhosts not blocking some failed 
logins?  This popped up in last night's logwatch:

  sshd:
 Authentication Failures:
root (115.239.228.34): 408 Time(s)
root (62-210-180-195.rev.poneytelecom.eu): 311 Time(s)
root (62-210-82-91.rev.poneytelecom.eu): 303 Time(s)
root (62-210-83-108.rev.poneytelecom.eu): 203 Time(s)
root (62-210-142-105.rev.poneytelecom.eu): 198 Time(s)
root (62-210-82-152.rev.poneytelecom.eu): 41 Time(s)
root (61.174.50.149): 36 Time(s)
root (122.225.103.107): 28 Time(s)
root (61.174.50.188): 22 Time(s)
root (221.235.188.214): 9 Time(s)
unknown (184.107.41.52): 6 Time(s)
unknown (pluton.microtec.fr): 6 Time(s)
root (184.107.41.52): 5 Time(s)
unknown (200-158-64-81.dsl.telesp.net.br): 5 Time(s)
postgres (184.107.41.52): 1 Time(s)
root (200-158-64-81.dsl.telesp.net.br): 1 Time(s)
root (222.186.34.77): 1 Time(s)
 Invalid Users:
Unknown Account: 22 Time(s)


In the past denyhosts would typically block an IP after less than 10 
tries, so those entries with 100 are completely out of whack.  I know 
that denyhosts is still running because it blocked 6 IPs during the day 
today.

I have changed my sshd_config to 'PermitRootLogin no' to workaround the 
problem.  This will likely be a permanent change, but I think it would 
be worthwhile to understand why denyhosts is not working.

Yes, I know I could move sshd to a different port.  I don't want to do that.

Yes, I know I could change my sshd_config to 'PasswordAuthentication 
no'.  I'm considering doing that.


galens@lion:~$ cat /etc/redhat-release
CentOS release 6.6 (Final)

galens@lion:~$ cat /proc/version
Linux version 2.6.32-504.el6.x86_64 (mockbu...@c6b9.bsys.dev.centos.org) 
(gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ) #1 SMP Wed Oct 15 
04:27:16 UTC 2014

galens@lion:~$ rpm -q denyhosts
denyhosts-2.6-19.el6.1.noarch


thanks,
galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Sun Ultra 60 headed to Free Geek

2015-01-10 Thread Galen Seitz
I planning to take a Sun Ultra 60 to Free Geek today.  If you'd like to 
intercept it before it meets an unknown fate, let me know ASAP.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Firefox string substitution

2015-01-03 Thread Galen Seitz

There is a Firefox extension called FoxReplace which will replace 
arbitrary text strings on a web page, but I'm curious how to do it in 
js.  If you're looking to waste some time, below is 'my' greasemonkey 
script. It's basically a cut-and-paste from a tutorial I found.  It 
successfully replaces strings within the text portion of the page, but 
I'm not sure how to modify it to perform the substitution on the 
data-description tag for images.

Here's an example page from the Oregonian.

http://www.oregonlive.com/blazers/index.ssf/2014/12/no_strangers_to_the_comeback_trail_blazers_do_it_a.html

When the below script is applied to this page, 'Moda Center' becomes 
'Rose Garden', but only in the text.  The captions for the images remain 
unchanged.  I'd like to know how to modify the captions too.


// ==UserScript==
// @namerose_garden
// @namespace   http://localhost
// @description replace the corporate sponsor
// @include http://www.oregonlive.com/*
// @version 1
// @grant   none
// ==/UserScript==
textNodes = document.evaluate(//text(), document, null, 
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
var searchRE = new RegExp('the moda center','gi');
var replace = 'moda center';
for (var i=0;itextNodes.snapshotLength;i++) {
   var node = textNodes.snapshotItem(i);
   node.data = node.data.replace(searchRE, replace);
}
var searchRE = new RegExp('moda center','gi');
var replace = 'the Rose Garden';
for (var i=0;itextNodes.snapshotLength;i++) {
   var node = textNodes.snapshotItem(i);
   node.data = node.data.replace(searchRE, replace);
}



thanks,
galen
-- 
Galen Seitz
gal...@seitzassoc.com


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


Re: [PLUG] No ssh cracking attempts?

2014-12-23 Thread Galen Seitz
On 12/23/14 09:14, Rich Shepard wrote:
 On Tue, 23 Dec 2014, Dick Steffens wrote:

 Is there any possibility that all of those cracking attempts came from
 North Korea? From this morning's USA Today it sounds like someone cut
 North Korea off the Internet.

 Dick,

 As I wrote in response to Denis' comment, I thought of that, but when I
 see IP addresses from domains like 123data.cn and similar I wonder if _all_
 the cracking attempts come via PRNK. The news that the country was off-line
 showed up yesterday or the day before.

 So, has anyone else seen cracking attempts via ssh drop to zero over the
 past few days?

I have the opposite experience.  Starting yesterday ssh attempts went up 
significantly.  Originating IPs are from all over the world.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] 64 bit distros, older laptops, processor upgrades

2014-12-17 Thread Galen Seitz
On 12/17/14 15:09, Keith Lofstrom wrote:
 My current fave distro, the Scientific Linux clone of Red
 Hat Enterprise Linux, is only releasing for x86-64 starting
 with version 7.  Many of my older machines have 32 bit
 processors, including most of my Thinkpad T60 and X60 laptops.

 Fortunately, the 32 bit laptops use Intel Socket M processors,
 mostly T2500.  It turns out that 64 bit T7200 processors work
 in the same socket.  So, I ordered a bunch of allegedly new
 T7200 processors for $8 each on eBay, and will upgrade
 hardware and distros when the CPUs arrive from Hong Kong.
 T7600 processors are 16% faster but cost $50, not worth it.

 This same upgrade probably works with other types of laptop;
 if this works for me, perhaps we can do a mass CPU replacement
 and distro upgrade for older laptops at the January clinic.

I'd love to do this to my X40, but alas, the processor is soldered to 
the motherboard.

Won't you run into BIOS issues when doing this?


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Run graphics apps from the command line, but suppress graphics.

2014-12-13 Thread Galen Seitz
On 12/12/14 15:43, Tim Wescott wrote:
 Is there some way of running a command from a shell that gives the
 command a working X environment (so that it can make the figure), but
 hides that environment from me (so that I can keep designing a circuit,
 answering my mail, or whatever it is that engineers do)?

I haven't used it myself, but it sounds like xvfb is what you need.

http://www.x.org/archive/X11R7.6/doc/man/man1/Xvfb.1.xhtml


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Boosting WiFi Signals Cellular Connection of Portable to 'Net

2014-12-05 Thread Galen Seitz
On 12/05/14 07:33, Rich Shepard wrote:
 Thanks for showing me many options. With a modicum of skill (and luck)
 I'll be doing a lot more business travel in the coming months where this
 capability will come in quite handy. Of course, there are vast swatches of
 Oregon, Nevada, Utah, and Idaho that are official Radio Free Zones. No
 cellular coverage at all. Along I-80 cellular coverage is only 4 miles
 either side; beyond that it's sat phone territory (which is why I carry the
 latter with me on trips when I'm driving in those areas).

As others have mentioned, tethering might be an option.  My experience 
tethering with Ubuntu and ATT was relatively painless.  This was using 
Network Manager.  I seem to recall you are using something else to 
manage your network connection.  Nonetheless, you might want to 
experiment with tethering before you go buy something.  You might be 
pleasantly surprised.

galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


  1   2   3   >