Re: [PLUG] asking for the simple bash command for tail

2024-05-05 Thread David Fleck
I suspect he's getting something like this:

dcf@pop-os:~$ tail -1 myfiles*
tail: option used in invalid context -- 1

--
- David Fleck


On Sunday, May 5th, 2024 at 12:52 PM, Robert Citek  
wrote:

> What makes you say "does NOT work" ?



Re: [PLUG] asking for the simple bash command for tail

2024-05-05 Thread David Fleck
tail -n 1 files*

works for me.

--
- David Fleck


On Sunday, May 5th, 2024 at 10:00 AM, American Citizen 
 wrote:

> Hi:
> 
> Does anyone know the bash command for getting the tail command to work
> correctly for a range of files, using the wild card character?
> 
> tail -1 myfiles*
> 
> does NOT work, but I do want the tail to run over the matched files in
> myfiles*
> 
> Currently I am using
> 
> ls myfiles* | sed "s/^/tail -1 /" > tmp ; bash tmp ; rm tmp
> 
> 
> but this is cumbersome.
> 
> Thanks for showing a simple answer
> 
> Randall


Re: [PLUG] Brave Browser Video Issue

2024-03-25 Thread David Fleck
Try hamburger -> Help -> About

--
- David Fleck


On Monday, March 25th, 2024 at 12:20 AM, Dick Steffens  
wrote:

> On 3/23/24 21:59, Dick Steffens wrote:
> 
> > I've just run the latest updates from Ubuntu for my Xubuntu machines,
> > which included Brave browser. In each case, video does no longer
> > display. Audio works, and is the audio for the video I'm trying to
> > watch. I can successfully watch the same URL with Firefox, so I'm
> > assuming something went wrong with the Brave update.
> > 
> > And it appears that they've heard from other folks, because I just had
> > another update notice that included Brave. After running that, video
> > works again.
> > 
> > If it happened to you, wait a bit and try again. It will probably fix
> > itself.
> 
> 
> One of my machines provided a link to run the update again, but two
> others did not. I have unsuccessfully looked for how to force an update
> using Xubuntu. Both machines are running Xubuntu 20.04. The machine that
> called for another update, the one that fixed the video problem, is
> running Xubuntu 22.04. Looking online for how to update Brave tells me
> to click on the hamburger button, and then on about, but the window
> brought up by the hamburger button does not have an about link.
> 
> Ideas on what to do next will be appreciated.
> 
> --
> Regards,
> 
> Dick Steffens


Re: [PLUG] Entering accented characters from keyboard

2024-01-10 Thread David Fleck
How does this work in real life? My PopOS (based on Ubuntu, based on Gnome) has 
this exact mechanism, and the Compose key is set to the left Alt key. The 
Settings page even gives this handy bit of help: "compose key followed by C and 
0 will enter ©".  But when I bring up a terminal and hit those keys at the 
command prompt, I get o, nothing else. If I hold down left Alt while hitting 
both C and o, I get nothing at all. 

What am I missing here?

--
- David Fleck


On Tuesday, January 2nd, 2024 at 12:05 PM, Jeffrey Borcean 
 wrote:


> GNOME has had built-in support for mapping a key to be either AltGr or
> Compose since at least the 2.X days. I imagine most other DEs do as
> well.
> Settings > Keyboard > Special Character Entry
> 
> 
> I use this to set the Print Screen key on my ThinkPad (two keys right
> of spacebar) to be a compose key.


Re: Cron job not running

2023-02-21 Thread David Barr
Hi, Rich,

> /var/log/cron.1:
> Feb 21 01:19:01 salmo crond[1367]: exit status 1 from user root find /tmp 
> -mtime +7 -type d -exec rm -rf {} ';'
>

- What happens if you run that find command by hand?
- What happens if you run that find command without the -exec clause?

The find could be exiting with 1, or it could be passing the exit code
from the rm command. So, let's split that out and see exactly what's
failing.

David
--

David/dafydd

PGP Public Key
<https://keys.openpgp.org/vks/v1/by-fingerprint/042BC7A61817FD78AC85DD4ACC0B3F78FDDBD9AC>

Read. Read more. Read lots. Read /everything/!




OpenPGP_signature
Description: OpenPGP digital signature


Re: [PLUG] No space left on device

2017-10-25 Thread David Bridges
IIRC early in the thread it was said that no partition seems to be out
of space using du / file manager.

I find it unlikely on a desktop system but it is possible that a file
system is out of inodes.

You can use the following to check for inode usage

df -i

--
David


On Wed, 2017-10-25 at 06:44 -0700, Tomas Kuchta wrote:
> As mentioned already before, use:
> df -h
> du -sh /*
> in order to see what disk and partition is lacking free disk space.
> And
> which top level directory consumes it. Once you find the top level
> directory on the full disk/partition - drill down by using
> du -sh /suspectDir/*
> and so on and so forth.
> 
> You can also take short cut by skipping ahead like this:
> du -sh /*/*
> 
> More examples here
> https://www.tecmint.com/check-linux-disk-usage-of-files-and-directori
> es/
> or: man du
> 
> Do not forget about fishing in the .dirName (hidden directories)
> 
> I would not use any gui file manager to chase disk space - I assume
> that
> Thunar is ...
> 
> Best luck, Tomas
> 
> On Oct 25, 2017 11:02 AM, "John Jason Jordan" <joh...@gmx.com> wrote:
> 
> > On Tue, 24 Oct 2017 15:24:48 -0700
> > Bill Barry <waba...@gmail.com> dijo:
> > 
> > > Unfortunately, Thunar just displays all the movies in Movies
> > > without
> > > telling me if they are really on the USB drive or whether they
> > > are
> > > on /media/jjj/Movies. There are over 1400 folders (one for each
> > > movie),
> > > so checking each one individually would be ridiculous. I need a
> > > more
> > > efficient way to figure this out. Any suggestions?
> > > 
> > > Umount / disconnect the external drive  and then check to see if
> > > anything is still in the directory where the drive was mounted.
> > 
> > Argh! Too simple. I was looking for something more difficult. :)
> > 
> > However, having unmounted and disconnected Movies I discovered that
> > I
> > lied. It is not mounted at /media/jjj/Movies. It is mounted
> > at /media/jjj, and 'Movies' is just the label of the device. When
> > it is
> > not mounted there is no folder 'Movies.' I think my theory just
> > crashed
> > and burned.
> > 
> > I also rebooted, but I see no difference in available space on /.
> > 
> > This leads me to Data (sda). This has long been a weird device. It
> > appears in Thunar as 'Data,' which is the label that I put on its
> > sole
> > partition. But when mounted it appears as 'Data1,' yet 'Data' also
> > appears. I have a cron job that copies my mail folder to 'Data'
> > every
> > night, yet it appears in Data1; Data is empty. I tried to delete
> > Data1but got the error message that it could not be deleted because
> > itwas busy. I totally do not understand any of this.
> > 
> > Other than the copy of my mail folder (about 700MB), there is
> > nothing on
> > the device sda. So right now I deleted its partition and am
> > creating a
> > new one (with no label). I used Palimpsest for this action, and I
> > told
> > it to erase everything with zeros. Just now I looked and it said it
> > would take 16 hours longer. I probably didn't need to be so
> > thorough.
> > 
> > Some time tomorrow I will see what happened. In the meantime if
> > anyone
> > has any additional suggestions I'm all ears, er, eyes.
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> > 
> 
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Skype for Linux

2017-10-16 Thread David Barr
The data of my birth was within weeks of the Unix Epoch. I generally use that 
date when I don't feel my actual birthdate would be relevant or useful. Just 
another option...

David

> On Oct 16, 2017, at 5:43 PM, Dick Steffens <d...@dicksteffens.com> wrote:
> 
> I've had some spare time lately and have been working on getting Ubuntu
> MATE working to my satisfaction on a second machine I got months ago at
> ENU (RIP). I am required by the company I do work for to have Skype
> running. On my old machine, running Ubuntu 14,04, I have Skype 4.3. It
> still works just fine, although I don't know if that will continue. On
> the new machine, I had Skype for Linux beta installed. When I tried to
> run it today a window popped up apologizing that it was no longer
> supported. It had a link to a page that only provided the same version.
> 
> In frustration, I tried to install the Windows version of Skype on my
> virtual Win7. It only gets as far as a page requiring that I enter my
> birthday. There's no opt out available. I have a philosophical aversion
> to companies requiring personal information that I don't think they
> need, and don't want to give them.
> 
> Anyone else using Skype and running into restrictions?
> 
> --
> Regards,
> 
> Dick Steffens
> 
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

Dr. Viktor Frankenstein entered into a body building competition
only to find he has seriously misunderstood the objective.





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Skype for Linux

2017-10-16 Thread david
Debian Stretch is running the beta version well enough. I do have a 
minor issue with microphone that requires a USB headset (wired or 
bluetooth) be connected, then fire up the application, and on the first 
call, I have to manually configure the audio to use the USB instead of 
"auto detect."

dafr


$ dpkg -l skyp*
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  skypeforlinux  5.5.0.1  amd64Skype keeps the world 
talking, fo


$ cat /etc/apt/sources.list.d/skype-stable.list
deb [arch=amd64] https://repo.skype.com/deb stable main


On 10/16/2017 05:43 PM, Dick Steffens wrote:
> I've had some spare time lately and have been working on getting Ubuntu
> MATE working to my satisfaction on a second machine I got months ago at
> ENU (RIP). I am required by the company I do work for to have Skype
> running. On my old machine, running Ubuntu 14,04, I have Skype 4.3. It
> still works just fine, although I don't know if that will continue. On
> the new machine, I had Skype for Linux beta installed. When I tried to
> run it today a window popped up apologizing that it was no longer
> supported. It had a link to a page that only provided the same version.
> 
> In frustration, I tried to install the Windows version of Skype on my
> virtual Win7. It only gets as far as a page requiring that I enter my
> birthday. There's no opt out available. I have a philosophical aversion
> to companies requiring personal information that I don't think they
> need, and don't want to give them.
> 
> Anyone else using Skype and running into restrictions?
> 

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


Re: [PLUG] WPA2 vulnerability

2017-10-16 Thread David Bridges
Using Debian (sid) here, wpasupplicant was upgraded this morning and
from the changelog it appears that it addresses the vulnerabilities. 


wpa (2:2.4-1.1) unstable; urgency=high

  * Non-maintainer upload by the Security Team.
  * Fix multiple issues in WPA protocol (CVE-2017-13077, CVE-2017-
13078,
CVE-2017-13079, CVE-2017-13080, CVE-2017-13081, CVE-2017-13082,
CVE-2017-13086, CVE-2017-13087, CVE-2017-13088):
- hostapd: Avoid key reinstallation in FT handshake
- Prevent reinstallation of an already in-use group key
- Extend protection of GTK/IGTK reinstallation of
- Fix TK configuration to the driver in EAPOL-Key 3/4
- Prevent installation of an all-zero TK
- Fix PTK rekeying to generate a new ANonce
- TDLS: Reject TPK-TK reconfiguration
- WNM: Ignore WNM-Sleep Mode Response if WNM-Sleep Mode
- WNM: Ignore WNM-Sleep Mode Response without pending
- FT: Do not allow multiple Reassociation Response frames
- TDLS: Ignore incoming TDLS Setup Response retries


On Mon, 2017-10-16 at 12:07 -0700, Dick Steffens wrote:
> Have people looked in to this:
> 
> https://apnews.com/743db922a4d2473a8745ce54c134c33a/Researchers-disco
> ver-vulnerability-affecting-Wi-Fi-security
> 
> If so, how have you handled it?
> 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Email back up at Aracnet/Spiritone.

2017-10-08 Thread David Fleck
On Sun, 2017-10-08 at 17:37 -0700, Tomas Kuchta wrote:
> I am not a customer, but it seems to me, from the negative post storm
> here,
> that the company is full disaster recovery mode.

I agree with the "disaster" part. I see very little evidence of
"recovery".

> I am not sure what/how a little company could do differently, except
> maybe
> out of band email to customers - how would the customers read it when
> everything is on-line.

They have a twitter account (which has not been updated in over a year)
which would be a very good place to put status updates. Indeed, that's
what the account had been used for in the past.  This time, no twitter,
no recorded phone messages, no phone response at all, for 10 days and
counting.

> How would you handle things differently? How would you email or call
> hundreds of thousands customers with 10-ish employee, 5 of which are
> technical and 3 phones and no account data on-line?

See comment above.  Lack of service is very, very bad -- lack 
of information is *inexcusable*.

-- 
David Fleck <david.fl...@mchsi.com>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Email back up at Aracnet/Spiritone.

2017-10-08 Thread David Fleck
On Sun, 2017-10-08 at 12:14 -0700, Ken Stephens wrote:
> I got into my email with my cpanel password.  This is different from
> my old aracnet.com password.


Did you have a pre-existing cpanel account? If the systems don't accept
my aracnet password, I don't see how to go about setting a new one.

Not sure that I want to, anyway. Given this occurrence of this severe a
user support debacle, I'm not very inclined to continue business with
them (after 16 years...)

-- 
David Fleck <david.fl...@mchsi.com>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] SpiritOne issue

2017-10-06 Thread David Fleck
On Thu, 2017-10-05 at 18:31 -0700, Dick Steffens wrote:
> Rich Shepard can't get mail out, but can get mail in.
> 
> He can't relay mail out because it's being rejected. The error code
> is 
> 535, which is an SASL authentication error. It's  being denied
> because 
> it can't authenticate him as a trusted user.

My spiritone status as of this morning:

www.spriritone.com 
 (configuration error page (browser may be pulling from cache))

dcf@linux-95y9:~> ping www.spiritone.com
PING spiritone.com (23.254.147.194) 56(84) bytes of data.
64 bytes from hwns21420472.hostwindsdns.com (23.254.147.194):
icmp_seq=1 ttl=51 time=69.8 ms

 (very different IP and hostname than previously)

dcf@linux-95y9:~> ssh d...@shell.aracnet.com
ssh: Could not resolve hostname shell.aracnet.com: Name or service not
known

 (a few days ago, this would connect but didn't recognize my password)

https://webmail.spiritone.com/roundcube/

 (connects, doesn't recognize password - previously browser would
refuse connection because of misconfiguration)

My wife says calling support has degraded from getting a recording
acknowledging a very serious problem to not getting an answer at all.



-- 
David Fleck <david.fl...@mchsi.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-02 Thread David Fleck
On Sun, 2017-10-01 at 17:38 -0700, Russell Senior wrote:
> Fwiw, it seems to be working for me, now.
> 
> I can ssh to my shell account there, and ping to/from my dsl service.


I can now successfully ping a number of their machines, but they reject
my password when I try to log in.  What machine do you use for your
shell account?

From here, the website is "up" in the sense that it returns a formatted
configuration error page rather than timing out.

-- 
David Fleck <david.fl...@mchsi.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 David Fleck
On Sun, 2017-10-01 at 09:29 -0700, Rich Shepard wrote:
$ dig spiritone.com MX

; <<>> DiG 9.10.5-P3 <<>> spiritone.com MX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32653
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;spiritone.com. IN  MX

;; ANSWER SECTION:
spiritone.com.  906 IN  MX  10
mx.spiritone.com.
spiritone.com.  906 IN  MX  30
mx2.spiritone.com.

;; Query time: 37 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Oct 01 09:26:53 PDT 2017
;; MSG SIZE  rcvd: 81

[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.

-- 
David Fleck <david.fl...@mchsi.com>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


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

2017-10-01 Thread David Fleck
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...


-- 
David Fleck <david.fl...@mchsi.com>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Accessing individual external hard drives in the same enclosure

2017-09-29 Thread david
On 09/29/2017 06:08 AM, Rich Shepard wrote:
> On Thu, 28 Sep 2017, Ken Stephens wrote:
> 
>> Check dmesg to see if the drives show up as to individuals. If so, then a
>> software mirror could be created. If not, then the drives may be mirrored
>> inside the enclosure.
> 
> Ken,
> 
> I don't want a mirror as one drive has a 1T capacity, the other has a 320G
> capacity. I would like to have one assigned as /dev/sdb/ and the other as
> /dev/sdc/ (or similar).

This all depends on the device. If the unit acts as a hub, plugging in 
the device with both drives installed, it's possible that it will be 
presented as /dev/sdc OR /dev/sdc && /dev/sdd.

The only simple way is to test it, and check the dmesg output or tail 
the /var/log/messages file.

If the operating system only sees one device, then the case is doing 
something internal and you likely won't be able to change. You would 
likely be able to guess at it by getting size information on the 
filesystem using parted or fdisk on the presented device.

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


Re: [PLUG] Transferring ssh public keys [DONE]

2017-09-24 Thread David
On 09/24/2017 10:18 AM, Rich Shepard wrote:
> On Sat, 23 Sep 2017, King Beowulf wrote:
> 
>> Check the permissions or /home/rshepard/authorized_keys on the server.
> 
> Ed,
> 
> They're all 644 except for my private key which is 600.

You may also need to check / modify the permissions on ~/.ssh, which 
should be 700.

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


[PLUG] Semi-OT: Apache reverse proxy URL resolution question

2017-09-23 Thread David Fleck
This isn't a Linux/UNIX specific question, so my apologies; though the
system involved is OpenSUSE 42.2.

I'm trying to understand how Apache handles URL rewriting for reverse
proxy setups.  In my test case, I've got Apache and Tomcat installed,
straight off OpenSUSE's package repository. My only modification to
Tomcat was sticking a sample .war file into its webapps directory;
my only modification to Apache was allowing browsing to '/' and adding
the proxy settings.  On Apache, the DocumentRoot contains an index.html
file only; on Tomcat, the equivalent location contains the 'sample'
directory. Apache is on port 80, Tomcat on 8080. If I set up the proxy
settings like the following:

ProxyPass /sample  http://localhost:8080/sample
ProxyPassReverse  /sample  http://localhost:8080/sample

Everything works as expected; I browse to http://localhost/sample, and the 
Tomcat sample webapp is displayed.

But...

If I make the following minor change to the proxy settings:

ProxyPass /zample  http://localhost:8080/sample
ProxyPassReverse  /zample  http://localhost:8080/sample

(note the 'z' -- 'zample' not 'sample' in the proxy path) and then browse to 
http://localhost/zample,  I get an Apache 404 error.  If I browse to 
http://localhost/zample/ (with the final slash) it works.  Why the difference 
in behavior?

I've tried every possible combination of putting, or not putting, trailing 
slashes in the URLs in the proxy settings. Reading the Apache documentation, it 
sounds as though this might have done the trick, but it didn't. It doesn't 
change the behavior at all.

One thing in particular that seems weird is that apache access log entries 
generated when I get the 404 error when browsing to http://localhost/zample are:

::1 - - [23/Sep/2017:15:39:52 -0500] "GET /zample HTTP/1.1" 302 - "-" 
::1 - - [23/Sep/2017:15:39:52 -0500] "GET /sample/ HTTP/1.1" 404 981 "-
" 

as though Apache is trying to find the remote path (/sample) on the
local DocumentRoot.  Conversely, when browsing to http://localhost/zamp
le/, the log entries are:

::1 - - [23/Sep/2017:15:36:46 -0500] "GET /zample/ HTTP/1.1" 200 636 "-
" 
::1 - - [23/Sep/2017:15:36:46 -0500] "GET /zample/images/tomcat.gif
HTTP/1.1" 200 1441 "http://localhost/zample/;  (works as expected)

and when browsing to http://localhost/sample (no trailing slash!):

::1 - - [23/Sep/2017:16:13:20 -0500] "GET /sample HTTP/1.1" 302 - "-" 
::1 - - [23/Sep/2017:16:13:20 -0500] "GET /sample/ HTTP/1.1" 200 636 "-
"  
::1 - - [23/Sep/2017:16:13:20 -0500] "GET /sample/images/tomcat.gif
HTTP/1.1" 200 1441 "http://localhost/sample/;   (this also works)

To summarize: if the local path element matches the last element of the
remote path, I can browse to a proxied URL either with or without a
trailing slash; but if the local path element does not match the last
element of the remote path, I *must* provide the trailing slash for the
URL to resolve.  

Does anybody know why this is? Is there a way to get apache to treat
the URLs consistently? What's a good resource for this?


-- 
David Fleck 
<david.fl...@mchsi.com>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Sluggish machine

2017-09-22 Thread David
On 09/22/2017 02:14 PM, Dick Steffens wrote:
> On 09/22/2017 02:00 PM, Rich Shepard wrote:
>> On Fri, 22 Sep 2017, Dick Steffens wrote:
>>
   What does 'top' show?
>>> rsteff@Enu-1:~$ top -n 1 -b > top.out
>>> I notice that running top with a limit to one iteration doesn't show
>>> what I usually see, which shows thunderbird, firefox, virtualbox, and
>>> the other programs I'm running in the top 10 lines more often. What's
>>> the best way to get the useful information you're asking for?
>> Dick,
>>
>>  Plain ol' top, no options.
>>
>> Rich
>> ___
>> PLUG mailing list
>> PLUG@lists.pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
> 
> The numbers change too fast to get a snapshot of top.
> 
> I've tried John Meissen's recommendation of cycling Firefox, and it
> appears to make a difference.
> 

You can always try running top on the side while launching LibreOffice 
to watch what is happening. If no CPU spike, pay attention to the memory 
utilization, and you can monitor that as you restart Firefox.

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


Re: [PLUG] Sluggish machine

2017-09-22 Thread David
On 09/22/2017 01:24 PM, Dick Steffens wrote:
> My machine opens programs slowly. It used to be that I'd double click on
> a spreadsheet icon and LibreOffice would open it in at most a couple of
> seconds. Now it takes several. What steps should I take to figure out
> what's causing this slow down?
> 
> The machine has 8 GB of RAM, a 1 TB hard drive with a 923.7 GB ext4
> partition, and a 7.9 GB swap partition.
> 

Several things you can check for. The most basic cpmmands are 'top' or 
'htop' and look for a busy CPU, I/O wait, and memory utilization.

Other things that can cause some applications to be slow and others to 
be fast are filesystem related. If you have network mounted drives and 
that connection is not responding, that can appear as a delay.

Since you don't indicate that other applications are having a problem, 
this is hard to guess at, but if you open a browser or new terminal by 
double clicking their icon and it's snappy, I'd suspect filesystem issues.

Of everything behaves the same, then you have a system resource issue, 
and the first commands above may shed some light.

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


Re: [PLUG] What to do when perl module installation fails

2017-09-13 Thread David Fleck
On Wed, 2017-09-13 at 05:44 -0700, Rich Shepard wrote:
>    Is there a way to trace the reason for the failure? In the past
> MCCPAN has
> told me there's an updated version available and how to upgrade, so I
> do
> that first. Nothing about that this time.
> 
>    Finding the reason for the failure and fixing it is my preference.
> Are
> there references or tools for non-perl coders to do this?

It's been about a decade since I delved into writing perl module tests,
so I'm afraid I don't have much insight to offer here. You could
attempt to contact the maintainers of the Net::DNS package ("Net::DNS
is maintained at NLnet Labs (www.nlnetlabs.nl) by Willem Toorop.") for
assistance.

I tried installing Net::DNS on my laptop, but it installed without
errors. It seems like your problem is in the file ~/.cpan/build/Net-
DNS-1.12-0/t/08-IPv4.t, but I don't see anything in your output that
indicates what specifically might have happened. The version that
installed for me from CPAN was a later one (1.12), which has a
different number of tests indicated for that test file, 91 for me vs.
77 for you.

FYI, my output for that portion of the test suite looks like this:
t/08-IPv4.t ... 81/91 # non-existent \
'bogus.example.com.' resolved: 198.105.254.63 198.105.244.63
t/08-IPv4.t ... ok     

Sorry I can't be of more help here. Testing is great and all that, but
failing mysteriously isn't a whole lot better than no test at all,
IMHO.

-- 
David Fleck <david.fl...@mchsi.com>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] What to do when perl module installation fails

2017-09-13 Thread David Fleck
On Mon, 2017-09-11 at 06:05 -0700, Rich Shepard wrote:
> As root I tried to install Net::BSD using 'perl -MCPAN -e shell' and
> this,
> too, failed:
> 
> Test Summary Report
> ---
> t/08-IPv4.t (Wstat: 65280 Tests: 70 Failed: 0)
>    Non-zero exit status: 255
>    Parse errors: Bad plan.  You planned 77 tests but ran 70.
> Files=106, Tests=2978, 48 wallclock secs ( 0.88 usr  0.14 sys + 10.62
> cusr  0.72 csys = 12.36 CPU)
> Result: FAIL
> Failed 1/106 test programs. 0/2978 subtests failed.
> Makefile:1337: recipe for target 'test_dynamic' failed
> make: *** [test_dynamic] Error 255
>    NLNETLABS/Net-DNS-1.05.tar.gz
>    /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module,
> try:
>    reports NLNETLABS/Net-DNS-1.05.tar.gz
> Failed during this command:
>   NLNETLABS/Net-DNS-1.05.tar.gz: make_test NO
> 
>    I've not had 'install ' fail before and need advice
> on how to
> proceed to get the module installed so spamassassin is once again
> happy.


You can try brute force on the CPAN command line:
 force  CMDtry hard to do command  
 fforce CMDtry harder
 notest CMDskip testing

so, either 'force install', 'fforce install', or 'notest install' in
this case, I think.

No guarantees that this won't result in compounded problems down the
line, though.

-- 
David Fleck <david.fl...@mchsi.com>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] PLUG Digest, Vol 156, Issue 17

2017-09-09 Thread David Phillips
Why not use rsync to dupe the data?


> On Sep 9, 2017, at 12:00 PM, plug-requ...@lists.pdxlinux.org wrote:
> 
> Send PLUG mailing list submissions to
>   plug@lists.pdxlinux.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.pdxlinux.org/mailman/listinfo/plug
> or, via email, send a message with subject or body 'help' to
>   plug-requ...@lists.pdxlinux.org
> 
> You can reach the person managing the list at
>   plug-ow...@lists.pdxlinux.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PLUG digest..."
> 
> 
> Today's Topics:
> 
>   1. Old home xfer to new? (Denis Heidtmann)
> 
> 
> --
> 
> Message: 1
> Date: Fri, 8 Sep 2017 17:05:36 -0700
> From: Denis Heidtmann 
> Subject: [PLUG] Old home xfer to new?
> To: "General Linux/UNIX discussion and help,  civil and on-topic"
>   
> Message-ID:
>   
> Content-Type: text/plain; charset="UTF-8"
> 
> I hopefully have what is needed to put what is in home on my old machine
> into the new machine.  I have an external drive into which I transferred
> using cp -R the contents of home.  (I believe the uid is the same on both
> machines: 1000
> 
> The new machine home folder is /home/household which has about 35 items in
> it--11 "dot" files, 13 "dot" folders, and 8 other folders and 1 file.  With
> only a couple of exceptions these were created when installing Ubuntu 16.04.
> 
> The old machine home folder has about 85 items in it.  It is a 14.04
> machine.
> 
> On the external drive resides those 85 items + the folders below.  They
> need to go into /home/household on the new machine.
> 
> Two questions:
> 
> Many of the system folders/files on the two machines have the same names,
> as do the sub-folders.  How do I decide which to use: those from the old or
> those from the new?  (This strikes me as an opportunity to break some stuff
> either way.)
> 
> What cp command do I use to transfer the files so that they end up in the
> /home/household folder?  (I was surprised that when transferring the data I
> did not end up with a top folder called household.)
> 
> Thanks,
> -Denis
> 
> 
> --
> 
> ___
> PLUG: http://pdxlinux.org
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 
> 
> End of PLUG Digest, Vol 156, Issue 17
> *
> 

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


Re: [PLUG] Cheap printer for Raspberry Pi idea

2017-08-22 Thread David
Be careful drawing that much power out of a cigarette lighter. The 
connection will get hotter than a pistol! It is not meant to handle that 
much current for more than a minute or so at time. 3 or 4 amps is a good 
long term maximum, which is still 40 or 50 watts. Been there ... done 
that. -Dave.


On 8/22/2017 12:25 AM, Tom wrote:
> I solved this kind of portability, and more, by purchasing an inverter.
> I find that way more universal than trying to get stuff working on
> battery power with unstable voltage. True 110V socket in the car is
> awesome for road and marine trips. The size of the inverter is about
> 15x20x5cm.
> If you chose to go this route, I would advice to get true sine wave
> inverter. It costs 2-3x more but it works way better than the square
> and/or modified sine wave inverters. They (not the true sine wave one)
> caused my power bricks + the inverter to overheat and it was bloody
> noisy. You can draw max 15A out of lighter socket in the car so 120
> -150W inverter is all you can feed without wiring it directly to the
> battery. I got it in Frys' after returning the cheaper modified sine
> wave one.
> Hope it helps, Tomas
> On Sun, 2017-08-20 at 23:08 -0700, Michael Barnes wrote:
>> Good to know. What would be really great is to find a similar printer
>> that
>> would run from 12VDC. I'd like to set up a completely portable fly
>> -away
>> package that ran from 12VDC to utilize battery/vehicle/solar power.
>>
>> Michael
>>
>>
>> On Sun, Aug 20, 2017 at 7:35 PM, Dave  wrote:
>>
>>> http://lists.pdxlinux.org/pipermail/plug/2017-August/087027.html
>>>
>>> Here's a follow-up report:
>>>
>>> /I ordered an HP Deskjet 1112 from Amazon for this application. It
>>> claims
>>> //
>>> //to have full support for Linux Debian (RPi?) and Mint via USB.
>>> For $29
>>> it's //
>>> //worth a try. If it works, it should be a perfect small addition
>>> to a //
>>> //stand-alone RPi student learning station.//
>>> /
>>> ---
>>> -
>>>
>>> Received the HP Deskjet 1112 and installed it first in Windows 7 to
>>> make
>>> sure it worked. Then installed it to a Raspberry Pi 3B.
>>>
>>> The software installation went mostly smoothly, carefully following
>>> the
>>> detailed instructions and accepting the defaults found at:
>>>
>>> http://hplipopensource.com/hplip-web/install/install/index.html
>>>
>>> They are close enough. (You do NOT have to worry about editing some
>>> ???
>>> file mentioned. It's not on the RPi.)
>>>
>>> The only glitch was the install requires a root/superuser password.
>>> If I
>>> had one it apparently didn't like it so I added *sudo passwd root*
>>> and
>>> made "*root*" the password. That worked. In the future I'll do up
>>> front
>>> before beginning the software install to get it out of the way.
>>>
>>> I'm quite pleased with the results. For the price, it is a lot of
>>> printer; quick, and excellent quality. But the HP software isn't
>>> perfect. I can't get it to print the last page first despite a tab
>>> to
>>> that effect, and it doesn't print footers despite showing them on
>>> the
>>> screen. Since the printed text appears to be a little larger than
>>> it
>>> should that probably explains the missing footers. I may be doing
>>> something wrong, but again, for $29, and having an easy RPi3
>>> Install,
>>> this ain't bad.
>>>
>>> Will also be installing the 1112 to a Linux MINT machine just to
>>> wring
>>> it out some more and see what happens. Hope this helps someone.
>>>
>>>
>>> ___
>>> PLUG mailing list
>>> PLUG@lists.pdxlinux.org
>>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>>
>> ___
>> PLUG mailing list
>> PLUG@lists.pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug

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


[PLUG] DataCenter Systems

2017-08-16 Thread David Phillips
All:

Recently moved to the area and brought some of my systems that I no longer need 
with me. I figured that someone in the group might be interested.

I have a Brocade ADX1000 load balancer. I bought it new 3 yrs ago and had the 
latest switch firmware on it as of 2015. I also have the class docs for this 
load balancer.
Hoping to get 500.
I also have a beast of a storage server. It holds 36 * 3.5 sas2/sata3 drives, 
it has 64gb ram and 2*4 way intel xeon’s with i7 core. Currently it has 12 * 1 
TB sas drives, 2 of the raid1 the other 10 in raid6. So currently has 7.5tb of 
raid6 storage. 
Hoping to get 2k
Also Have 18 * 3tb Seagate 7200 SAS drives, 50 each or make an offer.

ping me if interested.

David Phillips
503-544-5631


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


Re: [PLUG] /tmp/pgp-*

2017-08-01 Thread David Barr

> On Aug 1, 2017, at 10:29 AM, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> 
> On Tue, 1 Aug 2017, David Barr wrote:
> 
>> I usually see a gpg-agent automatically launched when someone does a shell
>> login to a host. At that point, gpg-agent is launched through
>> .bash-profile or .bashrc, so something in that stack. So...
> 
> David,
> 
>   Interesting. It's not explicitly called in either of these files.
> 
>> - Are you the only person to connect to this host?
> 
>   Yes.
> 
>> - Could a part of your start up be launching the gpg-agent?
> 
>   I suppose.
> 
>> - Have you looked at the process list ("ps -ef" or "ps -a") to see if a
>> - gpg-agent is running?
> 
>   Yes. There are many such processes in various stages of suspension. For
> example:
> 
> 31409 ?Ss 0:30 /usr/bin/gpg-agent --sh --daemon --write-env-file
> /home/rshepard/.cache/gpg-agent-info
> 
>   No question that something is invoking it, but still no clue what or why.
> Having many such processes is not an issue, my interest is clearing /tmp/ of
> these small subdirectories now and then.

You might find the invocation scripts in /etc/bashrc, /etc/profile, or 
/etc/profile.d/*, which are general to all users on the host. In principle, the 
agent should die when you log out, but I've seen some folks out in Google land 
add explicit kills to .bash_logout.

In any case, gpg-agent processes with a parent PID of 1 have been abandoned and 
can be killed. Any /tmp/gpg-* directory older than the last time you logged out 
can be deleted.

Cheers!
David

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

The most dangerous phrase is, 'We've always done it this way.' –RADM Grace 
Hopper



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] /tmp/pgp-*

2017-08-01 Thread David Barr
I believe that's the socket the PGP agent listens on for other PGP work.

David

> On Aug 1, 2017, at 9:07 AM, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> 
>   My /tmp/ directory accumulates directories for pgp, one per day. Each
> subdirectory contains only a socket and appears to be created when I log in.
> 
>   I think these are related in some way to e-mail, incoming or outgoing.
> 
>   If I remove all these subdirectories while logged in will today's be
> automatically re-generated? If not, I can log out, have root delete them
> all, then log in again as a user.
> 
> Rich
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

Dr. Viktor Frankenstein entered into a body building competition
only to find he has seriously misunderstood the objective.





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Upgrading rooted Samsung Android phone

2017-07-08 Thread David Bridges
If you device is supported I think that LineageOS is a great option. 
You can see if your device is support at the following link.  

https://wiki.lineageos.org/devices/

By default the device is not rooted but it can be added although I
personally do not have a need for it.

The particular device you mentioned does appear to be supported and
from looking over the information at the following page for the Galaxy
Note 3 (T-Mobile)(hltetmo) the installation of 14.1 (based on Nougat)
should be fairly straightforward.

https://wiki.lineageos.org/devices/hltetmo

--
David

On Fri, 2017-07-07 at 21:03 -0700, John Jason Jordan wrote:
> If you're rooted you can't do it in the usual way (over the air) - if
> you go into System Settings > General > About Device > Software
> Update
> you get "Your device has been modified, software updates are not
> available,"
> 
> According to internet advice you can upgrade a rooted Android phone
> with Kies, a Samsung app normally used to sync your phone with your
> computer. Unfortunately, you must install Kies on a Windows or a Mac
> computer. Just as well - the last thing I'd ever want to do is sync
> my
> phone with my computer.
> 
> My phone is a T-Mobile Samsung Galaxy Note 3 (now KitKat 4.4.2),
> which
> I have loved since I got it three or four years ago. I paid someone
> $10
> to root it for me because I couldn't figure out how to do it myself.
> Being rooted is great - for example, I uninstalled the texting app so
> I
> can no longer receive the spam text messages from the carrier (now
> Metro
> PCS). 
> 
> If anyone knows how to upgrade a rooted KitKat phone to Lollipop or
> later, I'm all ears. And if no one here knows, maybe this could be
> addressed at the next Clinic. 
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] ssh vs vpn

2017-06-21 Thread david
On 06/21/2017 04:06 PM, Rich Shepard wrote:
>For a sole practitioner away from the office does a vpn offer benefits
> greater than ssh for communicating with the office network?
>
>My question is prompted by upgrading openvpn here.

The biggest decision that you need to assess is what your needs are, and 
other replies have already covered this, so this is a bit of a more 
generic answer.

If you are able to do all your work over command line, ssh is probably 
good enough for you. You will largely need to tunnel back any gui 
applications through your tunnel back to your display and run binaries 
remotely.

If, however, you want to isolate *all* (or nearly so) your traffic from 
the network that you are connected to, you want VPN. This normally 
includes locally run browsers and mail clients. If you don't need this 
functionality, then VPN may not be necessary.

My home network is static enough that I have a pseudo static IP, and I 
have configured OpenVPN for my own use when I connect to any foreign 
hotspot when using my phone, tablet, or laptop. This allows me to 
isolate all traffic through a perceived safe (hey, it's Comcast after 
all) gateway to the Internet, and the VPN also provides me with access 
my internal only services such as ownClound when remote for those pesky 
files that aren't already downloaded to my device.

If your needs are simple and you can do everything over ssh, then stay 
with that, or explore and tinker with OpenVPN and decide if it's for you 
at some point in the future.

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


Re: [PLUG] Linux newbie needs guidance

2017-05-26 Thread David Fleck
On Fri, 2017-05-26 at 11:16 -0700, Ali Corbin wrote:
> On Fri, May 26, 2017 at 8:04 AM, Richard Owlett <rowl...@cloud85.net>
> wrote:
> 
> Upstream considers the supplied file (once extracted) to be
> satisfactory
> > 
> > for a typical user to trivially install tomboy. There are lots of
> > scripts in top level. But I've no idea of which to run in what
> > order.
> > 
> > richard@stretch-2nd:/usr/local/common/tomboy/tomboy-1.15.8$ dir
> > --group-directories-first
> > data   testcompile   configure intltool-
> > extract.in
> > Makefile.in   README
> > help   Tomboy  config.guess  configure.ac  intltool-
> > merge.in
> > Makefile.include  tomboy.doap
> > libtomboy  aclocal.m4  config.h.in   COPYING   intltool-
> > update.in
> > missing   tomboy.spec
> > m4 AUTHORS config.rpath  depcomp   ltmain.sh
> > NEWS  tomboy.spec.in
> > po ChangeLog   config.subinstall-shMakefile.am
> > pot-update.in
> > 
> > Me, the first thing I'd do would be to read the README file.
> That's where they should've put the build instructions.
> Ali

Or you could cross your fingers and run ./configure followed by ./make
.


-- 
David Fleck <david.fl...@mchsi.com>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Issues with Spam Filters

2017-04-24 Thread david
All,

I am requesting the help from this list to come up with a viable 
solution for a problem that has now been plaguing me for several weeks 
now. My hosting provider has been blacklisted and they seem to be having 
issues with removing their interface off of the blacklists for several 
providers.

What options are out there for mail service on a short term basis 
(hopefully) I can use in place of my hosting provider? I have an ancient 
Google account that apparently has some sort of service that might be 
grandfathered for this kind of service, but I can't remember what the 
name of it might be.

I'm willing to entertain and consider all options, even paid resources, 
to get my email life back in order. I just need something that is 
reliable and, preferably, backed by users of the list.

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


Re: [PLUG] Tool to identify applications requiring python

2017-04-16 Thread David Fleck
On Sun, 2017-04-16 at 15:49 -0700, Rich Shepard wrote:
>I was wondering if there's a gnu utility that can query installed
> executables (in /usr/bin, /bin, /usr/local/bin, etc.) for the string
> 'python.'

for i in /usr/bin/*; do strings $i | grep python && echo $i >>
output.txt

Replace /usr/bin/* as needed.
 

-- 
David Fleck <david.fl...@mchsi.com>

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


Re: [PLUG] Tarnished chromium

2017-04-10 Thread David Barr

> On Apr 10, 2017, at 1:38 PM, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> 
> On Mon, 10 Apr 2017, David Barr wrote:
> 
>> Did you make a note of the specific error message?
> 
> David,
> 
> "Your connection is not private
> 
> "Attackers might be trying to steal your information from www.key.com (for
> example, passwords, messages, or credit cards).
> NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED"
> 
> Solution?
> 
> Rich

Hey, Rich,

Googling the error got me

https://productforums.google.com/forum/#!topic/chrome/jPsbfBk9JN8;context-place=forum/chrome

Which reminded me of something I'd heard about Google Zero and Symantec:

https://techcrunch.com/2017/03/27/google-is-fighting-with-symantec-over-encrypting-the-internet/

So, I suppose it's up to you as to whether or not you'll trust certificates 
signed by Symantec as CA.

David

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

Rene Descartes walks into his neighborhood watering hole. The publican sees him 
and asks, "Will you have your usual, sir?"

Descartes ponders a moment and replies, "I think not."

And promptly disappears...





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Tarnished chromium

2017-04-10 Thread David Barr
> On Apr 10, 2017, at 11:18 AM, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> 
>   Installed here is chromium-54.0.2840.100, my backup browser when a server
> has issues with firefox. Recently I ran into a puzzling response by firefox
> when I tried to access my bank's web site. Because I received a solution to
> the firefox 'crash' page issue here I'm hopeful I'll get equally good advice
> on resolving the chromium issue.
> 
>   Using firefox (and opera in the past) I have no problems accessing my
> bank's web site using https. When I entered that URL in chromium it refused
> to load the site, turned 'https' red and put a slash through it, and told me
> it was so badly insecure (something about a SSL certificate) that it would
> not let me proceed. Really?
> 
>   I know little about chromium as it's used so infrequently. I've not found
> anything in the preferences/options that seem to address this issue. If you
> have ideas on how to fix this browser-specific problem please share them
> with me.
> 
> Rich

Chrome and chromium test for things like self-signed certificates, untrusted 
CAs, and other things. Here's one report:

https://www.scmagazineuk.com/google-creates-list-of-untrusted-certificate-authorities/article/530574/

Did you make a note of the specific error message?

David

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

The most dangerous phrase is, 'We've always done it this way.' –RADM Grace 
Hopper



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Movie fan needs storage space

2017-03-31 Thread david


On 03/31/2017 02:59 PM, John Jason Jordan wrote:

> I know that the 8TB WD in my Synology has a five year warranty, but
> I'll be damned if I can remember which color it is or which model
> number. I just spent the last half hour looking everywhere for the
> purchase details, but all I can determine is that it was not from
> Amazon, and the date must have been early July 2016, because that's
> when I signed up for the Synology forums, and I bought the drive and
> the Synology at the same time. I also remember them both arriving in
> the mail.

If you have a way to get data directly from the NAS, you can try 
smartctl (though I suspect this may not be possible):

sudo smartctl -i /dev/XXX

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


Re: [PLUG] CentOS 7 iso too big to burn...

2017-03-31 Thread David Bridges
As others have stated upgrading CentOS/RedHat is not really an option
but the options below will allow you to use the ISO to do a fresh
install on the new disk.

On Thu, 2017-03-30 at 22:59 -0700, Michael Robinson wrote:
> The CentOS 7 iso is 7.8 gigs.  My DVD-R media tops out at about 
> half that.  The server I'm trying to upgrade would have to use
> an external DVD drive in order to upgrade from a DVD.
> 
> I am trying to upgrade from CentOS 6.8 to CentOS 7.3.  I want
> to install CentOS 7.3 on a newly installed and unused 500 gig SSD.
> So far, I have created a 10G ext2 partition at the beginning of the
> new SSD and I have copied the CentOS 7.3 iso's contents to it.  I 
> used a loop mount to mount the iso and then cp -av.  I am trying
> to figure out how to install from a local hard drive instead of 
> a DVD disk.
> 
> I have Grub 1 in CentOS 6.8, is there a way to trigger the installer
> from my existing Grub on the second SSD?  Can I seamlessly upgrade 
> the old CentOS 6.8 to use Grub 2 instead of Grub 1?

I would not copy anything to the new disc that you want to use.  You
can just place the ISO on your current installation and create an entry
to boot into the CentOS 7 installer using your current grub following
the instructions below.

Mount the ISO and copy vmlinuz and initrd.img to your current /boot
partition from the images/pxeboot directory of the ISO.

You can create and entry in /boot/grub/menu.lst that resembles the
information below but it adjusted according to your current
installation.  I would suggest that you not make this the first entry. 

title installer
root (hd0,0)
kernel /vmlinuz
inst.repo=hd:vda3:/CentOS-7-x86_64-DVD-1611.iso
initrd
/initrd.img

The root line should be exactly the same as the other entries in the
file (assuming you put the vmlinuz and initrd.img files in /boot)

You will need to change vda3 to whatever partition the ISO is located
on and them modify that path to the ISO.  You will need to make sure
that you do not rename the ISO or this will not work without additional
parameters.

Reboot your computer and when you see the grub screen press space to
get a menu that shows you all boot options, select installer.

This will boot you into the installer so that you can install to your
new disk.  It will not modify your current bootloader, the install will
install grub2 on the disk you install to (make sure you install to the
correct disk).

Almost all computers will allow you to pick the disk you want to boot
by pressing some key in order to see a list of devices, if not you can
more than likely set it in the BIOS.  In order to be able to use the
new disk as the boot device.  Once you are in the new OS you can have
CentOS probe for your other installation and create an entry for it so
that you can boot it with the following command.

grub2-mkconifig -o /boot/grub2/grub.cfg

This still does not modify the boot sector on your original install. 
If you want to boot your original install (old grub) but also have the
option to boot into the new installation you can run the following
command.

grub2-install /dev/sda (modifying sda to be the device your original
install was on)

These instructions will work but if not done correctly can trash your
system so proceed at your own risk.

--
David


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


Re: [PLUG] USB to ethernet adapters

2017-03-20 Thread David
On 03/20/2017 12:59 PM, Richard Owlett wrote:
> On 03/19/2017 08:25 AM, David wrote:
>> On 03/19/2017 05:45 AM, 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?"
>>> TIA
>>
>> I can't speak for Staples specifically, but I recently bought a laptop
>> without RJ-45 on-board and successfully used both an old Netgear FA120
>> and an Apple USB-RJ45 without any problems.
>
> I visited the local Staples. All they stock locally is an Apple product,
> MC704ll/A. The package label says it is for use with only a Macbook Air.
> A web search was inconclusive - 1 says can't work, 1 says works fine.
>
> Is that the model you have?
> Should it work easily with Debian Jessie?
> TIA

The work issued dongle is an A1277, and I was working with Jessie.

dafr

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


Re: [PLUG] USB to ethernet adapters

2017-03-19 Thread David
On 03/19/2017 05:45 AM, 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?"
> TIA

I can't speak for Staples specifically, but I recently bought a laptop 
without RJ-45 on-board and successfully used both an old Netgear FA120 
and an Apple USB-RJ45 without any problems.

The only thing to note (if not mentioned elsewhere already) is that most 
of the USB dongles only support 100MB speeds for data transfer. If you 
need speeds exceeding that, you may run into compatibility issues with 
Linux and likely pay a premium for that feature.

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


Re: [PLUG] boot filled

2017-02-24 Thread David Barr

> On Feb 24, 2017, at 10:19 AM, Tony Schlemmer <aschl...@comcast.net> wrote:
> 
> On Fri, 2017-02-24 at 09:36 -0800, David wrote:
>> On 02/24/2017 07:57 AM, Denis Heidtmann wrote:
>>> 
>>> The last time this happened Tomas told me what to do, but I did not
>>> write
>>> it down and my mind is a sieve.  What is the solution?  There are 9
>>> archived images.  How do I safely throw out the older ones?
>>> 
>>> Thanks,
>>> -Denis
>> Howdy.
>> 
>> You don't provide quite enough information, but I can get you close
>> enough that you should be able to figure it out from there.
>> 
>> If you have a RH based system, you will want to use yum to remove the
>> oldest one or two kernel RPMs. I'd suggest starting with find out
>> your current kernel release, and then listing which kernel images are
>> installed:
>> 
>> $ uname -r # so you know what you can't remove
>> $ rpm -qa | grep kernel-[2-4]
>> $ sudo yum remove ${package name from above}
>> 
>> If you are using a Debian based system, it's similar:
>> 
>> $ uname -r # so you know what you can't remove
>> $ dpkg -l linux-image* | grep ^i
>> $ sudo apt-get remove ${package name from above}
>> 
>> You just want to be sure to leave your current running kernel and the
>> next youngest version (IMO), and the rest can be removed to free up
>> space in /boot.
>> 
>> dafr
> 
> I made the mistake one time of removing the active kernel under Ubuntu
> so I had to create a DVD recovery disk. With Ubuntu I use the Synaptic
> Package manager to uninstall old kernel images since I had a limited
> about of space in my boot partition. I have a new laptop that I bought
> in October so I have not had to delete any Kernels right now.


I've had the exact same problem, in the past. So, I wrote a fix...

https://github.com/dafydd2277/systemAdmin/blob/master/scripting/52_removeOldKernels.sh


Cheers!
dafydd

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

Dr. Viktor Frankenstein entered into a body building competition
only to find he has seriously misunderstood the objective.





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] boot filled

2017-02-24 Thread David
On 02/24/2017 07:57 AM, Denis Heidtmann wrote:
> The last time this happened Tomas told me what to do, but I did not write
> it down and my mind is a sieve.  What is the solution?  There are 9
> archived images.  How do I safely throw out the older ones?
>
> Thanks,
> -Denis

Howdy.

You don't provide quite enough information, but I can get you close 
enough that you should be able to figure it out from there.

If you have a RH based system, you will want to use yum to remove the 
oldest one or two kernel RPMs. I'd suggest starting with find out your 
current kernel release, and then listing which kernel images are installed:

$ uname -r # so you know what you can't remove
$ rpm -qa | grep kernel-[2-4]
$ sudo yum remove ${package name from above}

If you are using a Debian based system, it's similar:

$ uname -r # so you know what you can't remove
$ dpkg -l linux-image* | grep ^i
$ sudo apt-get remove ${package name from above}

You just want to be sure to leave your current running kernel and the 
next youngest version (IMO), and the rest can be removed to free up 
space in /boot.

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


Re: [PLUG] recommended hardware question on VPN router

2016-12-19 Thread david


On 12/19/2016 08:58 PM, logical american wrote:
> Can someone suggest good vpn hardware for a VPN client?  My friend has
> an account with a popular stock trading house, but he is now nervous,
> since so much hacking has occurred.
>
> I did check one of the big local chain stores, but they only had 2
> routers for sale, supporting vpn.  I see 2 other chain stores listing a
> Linksys Gigabit VPN router, but not sure of their quality.
>
> Any suggestions?


I'm not sure I fully understand what the requirements of your friend are 
at this point. Do they want a WiFi router, or something else?

I've been relatively happy with my R6400 from Netgear[1], but the built 
in OpenVPN doesn't play nice with anything except Windows. There was a 
recent patch that fixed a vulnerability for remote command execution, 
but largely it's been reliable. The last firmware release we relatively 
stable, but one of the previous releases only lasted about 30 days 
before it went haywire and required a reboot. The new one is only about 
4 days old now, so time will tell there.

I have a Linux workstation running behind the router and that receives 
connections for OpenVPN service that is installed there, and works well 
enough for me and all my mobile devices.

david


[1] <http://thewirecutter.com/reviews/best-wi-fi-router/>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Scripts vs GUI

2016-12-11 Thread David Fleck
On Sun, 2016-12-11 at 07:57 -0800, Rich Shepard wrote:
> On Sun, 11 Dec 2016, David Fleck wrote:
> 
> > I'll just step in here and say that I have never, ever found this to be
> > the case. Your mileage varies, obviously.
> 
> David,
> 
>Compare writing LaTeX in emacs vs. in LyX. :-) That's a serious advantage
> of the GUI.


True, but the original context was "in automation". GUIs obviously have
their uses, but where they will do best is in those situations where you
have to manually craft what you are doing with constant intervention and
oversight.

-- 
David Fleck <david.fl...@mchsi.com>

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


Re: [PLUG] Scripts vs GUI

2016-12-11 Thread David Fleck
On Sun, 2016-12-11 at 01:21 -0800, King Beowulf wrote:
> I disagree that the CLI is the most efficient method on
> all cases.  It is the CLI that is manual labor and a good GUI that is
> automation.

I'll just step in here and say that I have never, ever found this to be
the case. Your mileage varies, obviously.

-- 
David Fleck <david.fl...@mchsi.com>

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


Re: [PLUG] Firefox: remove incorrect 'place'

2016-12-06 Thread David
On 12/06/2016 03:09 PM, Rich Shepard wrote:
> On Tue, 6 Dec 2016, Dick Steffens wrote:
>
>> Hover over the offending entry and hit  instead of clicking on it.
>
>Nothing happens. A right-click on the URL line brings up a menu but the
> 'Delete' entry is greyed out.

What I have to do (on a Mac for the moment) is start the typing, get the 
suggestion drop down menu, use cursor keys to highlight item to delete, 
hold Shift, and then the delete key.

IIRC it's similar in Linux, but the key seems to be Shift.

dafr

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


Re: [PLUG] laptop message during boot

2016-12-05 Thread David
On 12/05/2016 11:26 AM, Denis Heidtmann wrote:
> Just before the sign-in dialog I get a brief message which I used a video
> to capture.  Googling points me to some discussion but no explanation of
> meaning that I can understand.  The message is something like:
>
> lvmetad is not active yet using direct activation during sysinit
> /dev/mapper/ubuntu-vg-root: clean 346675/9691136 files
>
> The above is a cut-and-paste from a site; my video is not good enough to
> read everything, but I believe that it is at least very similar.
>
> It refers to lvm.  I had only three entries containing "lvm" in dmesg;
> nothing related to this afaict.
>
> Is this just something spurious that I should ignore, or is there real
> information there?
>
> (running ubuntu 16.04)

Personally, I wouldn't worthy about either message. The first appears to 
be just a warning that is simply annoying. The second just says that 
fsck was successfully completed and was found clean (no errors).

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


Re: [PLUG] Sorting blocks of text

2016-11-22 Thread David Fleck
On Tue, 2016-11-22 at 18:50 -0800, John Jason Jordan wrote:
> On Tue, 22 Nov 2016 16:45:05 -0800 (PST)
> Rich Shepard <rshep...@appl-ecosys.com> dijo:
> 
> >I've a few files of names and addresses; each block is separated by two
> >blank lines. I'd like to sort them alphabetically by the first line.
> >'sort' does not seem to do this as I don't see a record separator,
> >only a field separator.

Rich-
this may be of no help to you at all, but the following string does what
you ask on a short unsorted text file of addresses on my machine:

cat filename | sed 's/^$/x/' | tr '\n' '+' | tr 'x' '\n' | sed '/^+$/d'
| sort |  tr '+' '\n'

No guarantees of any kind, etc.


-- 
David Fleck <david.fl...@mchsi.com>

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


Re: [PLUG] Enabling bi-directional ssh

2016-11-07 Thread David
On 11/07/2016 11:53 AM, Rich Shepard wrote:
> On Mon, 7 Nov 2016, David wrote:
>
>> I don't recall which OS, but this link has the two main streams:
>> <http://arstechnica.com/civis/viewtopic.php?t=1204829>
>
> dafr,
>
>And everyone agrees that when sshd is started it should create the server
> host_keys. Here it ain't doin' that. Sigh.


If you read the script that is referenced by "whowd", there is a test 
for the host keys, and that creation is bypassed because the file 
exists. My apologies for presuming that you would read it more carefully.

Try deleting the zero-byte files, and restart sshd. This should cause 
the script to run those parts to build those files for your system.

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


Re: [PLUG] Enabling bi-directional ssh

2016-11-07 Thread David
On 11/07/2016 11:25 AM, Rich Shepard wrote:
> On Sun, 6 Nov 2016, Rich Shepard wrote:
>
>>   On the server/workstation and a portable ~/.ssh has 700 perms while the
>> authorized_keys, known_hosts, and *.pub key files in that directory have 644
>> perms; the others are 600.
>
>I've identified the problem and am working on finding the solution. It
> turns out that on the portable, the ssh_host* keys are empty files. That's
> why sshd does not start when the system is booted or root tries to start it.



Glad to hear you figured out why ssh wasn't firing up.

I don't recall which OS, but this link has the two main streams:



dafr

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


Re: [PLUG] Re-doing ssh key phrase and key type

2016-11-02 Thread David
On 11/02/2016 10:28 AM, Rich Shepard wrote:
> On Wed, 2 Nov 2016, Smith, Cathy wrote:
>
>> I think 600 will also work on the .ssh directory.
>
> Cathy,
>
>As there are no executable files or sub-directories there I thought 600
> was the most restrictive.

No, 0600 is too restrictive for .ssh. You must have the executable flag 
on the .ssh directory so that the processes may traverse down into that 
directory to access the public keys and config file. Else you are forced 
to use password authentication.

Mode 0600 is required for the files within .ssh, however. (Or at least 
most of them.)

dafr


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


Re: [PLUG] Invoking ssh-agent in Slackware

2016-10-30 Thread David
On 10/30/2016 12:57 PM, Rich Shepard wrote:
> On Sun, 30 Oct 2016, Robert Citek wrote:
>
>> Good luck and let us know what works for you.
>
>Still seeking this goal. :-)
>
>After modifying ~/.bash_profile to invoke ssh-agent I sourced the file,
> then tried ssh-add which did not work:
>
> $ ssh-add
> Enter passphrase for /home/rshepard/.ssh/id_ed25519:
> Could not add identity "/home/rshepard/.ssh/id_ed25519": agent refused
> operation

<< clip >>

>Would be nice to learn why.
>
> Rich

 From the ssh-add man page:

DESCRIPTION
  ssh-add adds private key identities to the authentication agent,
  ssh-agent(1).  When run without arguments, it adds the files
  ~/.ssh/id_rsa, ~/.ssh/id_dsa, ~/.ssh/id_ecdsa, ~/.ssh/id_ed25519
  and ~/.ssh/identity.

I take that to mean that it *only* searches for those file names. I base 
this on the fact that I don't use any of those names and I don't get any 
prompt when I run ssh-add directly. If I give the full path and the 
non-conventional name as an argument to ssh-add, it loads just fine.

Alternatively, if you have two of those filenames present, does it load 
both and prompt you for the passphrase of the file you *think* it is 
loading? Doesn't appear so, but I also don't know the contents of your 
.ssh directory (nor should I).

dafr

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


Re: [PLUG] Re-doing ssh key phrase and key type

2016-10-26 Thread David
On 10/26/2016 03:51 PM, Rich Shepard wrote:
> On Tue, 25 Oct 2016, Rich Shepard wrote:
>
>> Having new installations of Slackware-14.2 on three hosts now (two more to
>> go after I get these three fully functional), I want to change my ssh
>> private and public keys using a new passphrase and type.
>
>Keeping the same thread going, I've read the ssh, sshd, ssh_config,
> sshd_config, ssh-keygen, and ssh-agen man pages and searched the web for
> usage examples and still have a few unanswered questions.
>
>On the desktop I generated a new ed25519 key pair. Wanting to set up
> communications between this host and the ThinkPad I tried
>
>   scp ~/.ssh/id_ed25519.pub typha:.ssh
>
> (and a couple of different references to the remote host) but the connection
> was refused.
>
>   I copied the public key to a USB thumb drive and manually installed it in
> typha: ~/.ssh.
>
>Then, logged into typha, I tried to scp ~/ from the desktop. Openssh told
> me it didn't recognize the remote machine and asked it I wanted to continue.
> I responded, "yes," and the public key was added to the ThinkPad's
> authorized_hosts file, but the connection was refused. Is the next step to
> specify verbotisty levels, e.g., 'ssh -vv '?
>
>On a related issue, as authorized_hosts holds public keys from remote
> hosts, and I'm essentially starting from a clean slate with the portables
> and the desktop, can I remove that old file from the desktop's ~/.ssh/ and
> start over again when I use ssh/scp from a portable to the desktop?
>
>On another related OpenSSH issue: ssh-agent. I've not before used it but
> it looks useful. If I understand the man page, I run it on hosts that will
> remotely connect to the desktop (the portables) so when they boot they'll
> have the public key available to all shells and I'll not need to enter my
> pass phrase each time I want to establish a secure connection. Is this
> correct? Should I also run it on the desktop?
>
> Rich



Take a gander at the tool ssh-copy-id which is pretty slick way to copy 
your keys into place.

If the key isn't being recognized, you may have a permissions issue, so 
eyeball the mode for the file and the .ssh directory and make sure it's 
restrictive enough. Too permissive, and I believe SSH ignores the 
directory/files for authentication.

Using the verbose ssh command should help provide some insight as well.

dafr


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


Re: [PLUG] Which linuxquestions.org forum most appropriate?

2016-10-23 Thread David Barr
I will unlurk long enough to opine that I generally get better suggestions from 
serverfault.com and the related stackexchange.com family of forums than I did 
at Linux Questions.

Good Luck!
dafydd


> On Oct 23, 2016, at 8:08 AM, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> 
>   Yesterday I received a used Lenovo ThinkPad x200 and tried to install
> Slackware-14.2/x86_64 on it using my external optical drive.
> 
>   The system booted off the distribution DVD (after I set up the BIOS to
> look at the optical drive first), cfdisk allowed me to partition the drive,
> and setup allowed me to assign sda1 to /, sda2 to swap, and sda3 to /home.
> Nothing to see here, move along. So I did.
> 
>   Choosing to run a full installation I pressed the [Enter] key. No optical
> drive spinup, and a message box displayed telling me the installation is
> complete and I can reboot the computer. Well, no. Nothing was installed.
> 
>   Not having this experience before, I posted a description of the problem
> in the Laptops and Notebooks forum on linuxquestions.org. There have been
> 168 voyeurs and one response to my question about designating sda1 bootable.
> Nothing about why no istallation when the drive is seen by the system and
> works as expected until time to install everything.
> 
>   Might I see useful responses if I repost to either the Slackware or
> ThinkPad fora instead of where it is? I'd like to get this done today as all
> my portables are currently down and I need to get them all back in working
> order.
> 
> Rich
> 
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

Werner Heisenberg is driving down the autobahn. A police officer pulls
him over. The officer says, "Excuse me, sir, do you know how fast you
were going?"
"No," replies Dr. Heisenberg, "but I know where I am."



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Bash: pause running script and continue it in background

2016-10-05 Thread David
On 10/05/2016 01:31 PM, Rich Shepard wrote:
>Starting a script to run in the background is simple: append '&' to the
> command line. When the script runs for a few hours and I forget to start it
> in the background (as I did today) I'd like to pause it (using ctrl-z) and
> continue running it in the background.
>
>My web searches show how to start scripts running in the background and
> how to pause them prior to bring them back to the foreground, but I missed
> seeing a solution to pausing then continuing processing in the background.
>
>Seems to me that I should be able to pause the running script (PID: 10952
> pts/0 S+ 0:00 sleep 15) or whatever the PID is when I pause the script, then
> run bg 10952 to re-start it in background mode. Is this correct?
>
> Rich

I don't do this extensively, but my solution is pretty straight forward:

$ bash ~/bin/some-script.sh
^Z
[1]+  Stopped bash ~/bin/some-script.sh
$ bg
[1]+ bash ~/bin/some-script.sh &

At this point it just runs in the background, but the caveat to mention 
is that I believe the terminal / shell that you executed the script in 
must stay open until the script completes, or it dies with the closing 
of the TTY.

dafr

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


Re: [PLUG] Joy++

2016-09-14 Thread David Fleck
On Wed, 2016-09-14 at 16:01 -0700, chris (fool) mccraw wrote:
> lest we forget, today's editor wars are nothing like as fun as they used to
> be back in the 90's:
> 


Thanks for that... best laugh I've had all day.


-- 
David Fleck <david.fl...@mchsi.com>

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


Re: [PLUG] sed regex corrections

2016-08-13 Thread David Fleck
On Sat, 2016-08-13 at 17:12 -0700, Rich Shepard wrote:
>So, I tried writing a sed script, but my syntax is off:
> 
> /s/\([A-Z]\)\([A-Z]+\)/[A-Z]\L\2/g
> 
> and sed tells me: "sed: file uptomixed.sc line 1: unknown command: '\'"
> 
>Please show me what I've done incorrectly.

Are we the only people here today?  Anyway, this works for me:

s/\([A-Z]\)\([A-Z]*\)/\1\L\2/g


Your line makes sense to me, but it doesn't work for me either. I'm not
sure why.



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


Re: [PLUG] Help needed installing abandoned OSS application

2016-08-13 Thread David Fleck
On Sat, 2016-08-13 at 10:32 -0700, Rich Shepard wrote:
> On Sat, 13 Aug 2016, Rich Shepard wrote:
> 
> > and when I try http://localhost/opt/xrms/install/install.php firefox tells
> > me that the file is not found.
> 
>Forgot to include that I wrote /etc/httpd/xrms-httpd.conf:
> 
> Alias /xrms/ /opt/xrms/
> 
>AllowOverride All
>AddHandler cgi-script .pl
>Options ExecCGI Includes FollowSymlinks
>Require all granted
> 
> 

Just shooting in the dark here, but shouldn't the URL be
http://localhost/xrms/install/install.php given the alias you've
included?
Anything interesting in the httpd error/access logs?



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


Re: [PLUG] RPi "UPS"

2016-07-23 Thread David
On 07/23/2016 11:45 AM, Chuck Hast wrote:
> I have been trying to find one of the back up battery packs that are charged
> through USB to keep a RPi alive when the power goes out, so far they all
> have a flaw, these packs all will power the RPi, but as soon as power is
> applied to the charge port, power is lost going to the RPi. Some of them
> drop power and then it comes back, but it is still a big canyon in the power
> road...
>
> Does anyone know of one of these back up battery packs that will supply
> power regardless of the state of the charge port (providing the battery is
> charged of course).
>
> I am using the RPi on a weather station, and would like to keep it powered,
> I suppose i can kludge up something on the work bench but was looking for
> a back up battery pack that would supply power regardless of the state of
> the input.
>
>


Check out one of these units from APC:





If you end up getting one, I'd be very happy to get a review on them as 
I'm already considering one for my modem and router in the near future.

dafr

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


Re: [PLUG] Rsync user confusion: Who is user 1026?

2016-07-11 Thread David Fleck
On Mon, 2016-07-11 at 18:07 -0700, Don Buchholz wrote:

showmount -e 192.168.0.101

Yes. Running this command (it may be /usr/sbin/showmount on your
machine) and posting the output will be helpful.  

It looks to me as though the NAS isn't configured quite right. You need
to know what it thinks it's configured to do (as compared to what you
think you configured it to do).



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


Re: [PLUG] Rsync user confusion: Who is user 1026?

2016-07-11 Thread David Fleck
On Mon, 2016-07-11 at 12:30 -0700, John Jason Jordan wrote:

> jjj@Devil-Bonobo:/media/jjj$ mount -t nfs
>   synology.local:/synology /media/jjj/Synology 
> mount: only root can do   that 
> jjj@Devil-Bonobo:/media/jjj$ sudo su
> root@Devil-Bonobo:/media/jjj# mount -t nfs
>   synology.local:/synology /media/jjj/Synology 
> mount.nfs: access denied by server while mounting
>   synology.local:/synology
> 

Forgive me if somebody has already posted this link:
https://www.synology.com/en-us/knowledgebase/DSM/tutorial/File_Sharing/How_to_access_files_on_Synology_NAS_within_the_local_network_NFS

Perhaps there is something in there that will clear up what the
configuration issue is.


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


Re: [PLUG] Rsync to a NAS drive

2016-07-09 Thread David Fleck
On Sat, 2016-07-09 at 11:59 -0700, Rich Shepard wrote:
> On Sat, 9 Jul 2016, John Meissen wrote:
> 
> > That's because 'cp' doesn't understand URL-style paths. 'cp' only deals
> > with local filesystems. If you want to use 'cp' you'll have to mount the
> > remote filesystem locally.
> 
>Doesn't smb, like nfs, make the remote partitions accessible like local
> partitions? It's been about a decade since I had nfs partitions on a
> separate server, but it seems to me that I could cd, cp, and otherwise treat
> them like those on the local workstation.

NFS, sure, because they generally get mounted explicitly in /etc/fstab
or similar.  I think that's an extra step that is missing here *if* the
original poster wants to use simple operations like 'cp' -- as noted,
that only works on locally-mounted file systems.  

However, what the original poster really wants to do doesn't depend on
opening that particular can of worms. He should concentrate on figuring
out the right rsync command (shouldn't be that hard) or the right scp
command (as also mentioned earlier).



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


Re: [PLUG] Rsync to a NAS drive

2016-07-09 Thread David Fleck
On Sat, 2016-07-09 at 11:00 -0700, John Jason Jordan wrote:
> cp  smb://synology.local/synology/
> cp: cannot create regular file ‘smb://synology.local/synology/’: No
> such file or directory
> 
> I also tried it without the trailing slash and again with a slash
> in front and got the same results. Then I tried adding http:// in
> front, but still no joy. For my last effort I specified the destination
> by the ip address of the Synology (192.168.0.101), and this time I got
> no error message, but it also failed to copy the file. However, when I
> added a slash in front of the ip address I got 'cp: cannot create
> regular file ‘/192.168.0.101’: Permission denied.' This reminds me that
> before Thunar would show the contents of the Synology I had to log into
> the share. 
> 
> I'm out of ideas. Suggestions?
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug


I've never used Thunar or a NAS, but...  
the first thing I'd do is run the command 
df -k
and see what it reported.


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


Re: [PLUG] Cannot get to printer

2016-07-03 Thread David Fleck
On Sun, 2016-07-03 at 11:03 -0700, Denis Heidtmann wrote:

> 
> ~$   sudo systemctl enable cups.service
> cups.service is not a native service, redirecting to systemd-sysv-install
> Executing /lib/systemd/systemd-sysv-install enable cups
> 
> Still not connected.  Tried:
> ~$ sudo systemctl restart cups.service
> 


This doesn't reference Ubuntu specifically, but it might be helpful:

https://bbs.archlinux.org/viewtopic.php?id=146154


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


Re: [PLUG] NAS System suggestions

2016-06-22 Thread David Gibbons
I've been very happy with my Synology, replaced a home built Freenas and
lost none of the features/functionality I was using in freenas. Less
management overhead, lower power usage. A+++ Would buy again.

On Wed, Jun 22, 2016 at 7:03 AM, r...@dimstar.net  wrote:

> Synology  runs Linux under the hood. Im running several of them at several
> different clients.
>
> Sent from my iPhone
>
> > On Jun 21, 2016, at 9:04 PM, John Jason Jordan 
> wrote:
> >
> > I need a NAS system which includes a two-bay enclosure capable of
> > holding two 6TB drives, and I want to start out with just one 6TB
> > drive. From my research so far I have determined that Western
> > Digital red drives are the best for this application, so the WD
> > WD60EFRX drive is at the top of my list. Suggestions for alternatives
> > are welcome.
> >
> > The enclosure, however, is a point of major confusion. It's amazing how
> > little actual information manufacturers web site give you. I'm sick of
> > reading how many photos of my loved ones I can place on the device.
> >
> > Since I'm leaning toward the WD drive above, WD enclosures would be
> > my first choice. Western Digital sells enclosures, but as far as I can
> > tell they only sell them as a unit with drives, i.e., if I buy a two-bay
> > enclosure it will come with two drives.
> >
> > My major confusions about the enclosures are about all the various
> > software features that they come with. My house is wired with Cat6
> > ethernet, but all my computers are Linux only. None of the web sites
> > tell me much about the software on the enclosure. But maybe I just need
> > to plan to nuke the software the enclosure comes with and replace it
> > with open source bits.
> >
> > I need some education.
> > ___
> > PLUG mailing list
> > PLUG@lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
>
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Fwd: lockup

2016-06-17 Thread David
On 06/17/2016 04:45 PM, Denis Heidtmann wrote:
> I have had about 3 lockups on my new (used) Lenovo L420.  The symptoms are
> that the system freezes with no responses to either the mouse or the
> keyboard.



I have an aging T61 that exhibited random lockup / reboot cycles as 
well. I found that removing the generic nouveau video driver for the 
proprietary nvidia driver resolved my issue.

The other thing that happened with this was a reduction of memory usage, 
a slightly cooler running machine, and a cessation of kernel panics.

Your situation seems to be slightly different and logging in remotely 
during a lockup, or better still before, from another system may glean 
some useful information as I found that my log files simply didn't 
contain anything useful.

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


Re: [PLUG] Ubuntu 14.04 -- Nautilus treats network folders as videos

2016-06-10 Thread David
On 06/09/2016 11:04 AM, Dick Steffens wrote:
> When I connect from my Ubuntu 14.04 desktop to my Linux Mint laptop, the
> two shared items are displayed in a Nautilus window. When I double click
> on the Public folder, instead of opening the folder in Nautilus, it
> tries to play it with Video and, of course, fails. Going the other way
> works -- I can connect to my desktop from my laptop and move around in
> the expected way.
>
> Any ideas what's going on, or what foo to use to search for this problem?
>
> Thanks.
>

Does this happen on _just_ network shares, or all folders? You could 
always try right clicking on the folder and see what it has in the 
pop-up window for hints on why it might be using a non-sensical application.

Nothing else is coming to me, sorry.

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


Re: [PLUG] Recommended Card Reader for Ubuntu 14

2016-05-18 Thread David
On 05/18/2016 07:46 AM, Dick Steffens wrote:
> On 05/17/2016 10:06 PM, Dick Steffens wrote:
>> On 05/17/2016 06:56 PM, David wrote:
>> While an obnoxious step most of the time, this is hook related and the
>> kernel may not respond well (in rare instances) when packages are added.
>>
>> You'll probably have to reboot to clear the lsusb issue if you can't
>> find which process is keeping it bound up.
>> I'll give that a try in the morning.
>
> I powered down and restarted. Then I installed usbmount. Then I
> restarted. Then I plugged in my card reader and got this message:
>
> 
> Unable to mount EOS_DIGITAL
>
> Device /dev/sdd1 is already mounted at `/media/usb0'.
> 
>
> lsusb works now and shows this:
>
> 
> rsteff@Enu-1:~$ lsusb
> Bus 002 Device 002: ID 8087:8000 Intel Corp.
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 002: ID 8087:8008 Intel Corp.
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 006: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
> Bus 003 Device 003: ID 04b3:3025 IBM Corp. NetVista Full Width Keyboard
> Bus 003 Device 002: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
> Bus 003 Device 004: ID 05f3:00ff PI Engineering, Inc. VEC Footpedal
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> 
>
> Sure enough, the card reader is mounted at /media/usb0. So some
> progress, but why that error message?
>
> In Nautilus there's a little triangle to the right of the device name
> that one clicks on to umount a device. When I click on it I'm required
> to provide a password. The password box has this wording:
>
> 
> Authenticate
>
> Authentication is required to unmount Generic USB CF Reader(/dev/sdd1)
> mounted by another user

This indicates that something else has mounted your device. The below is 
just asking for an administrator password.

> A application is attempting to perform an action that requires privileges.
> Authentication is required to perform this action.
>
> Password: []
>
> Details
> Action: org.freedesktop.udisks2.filesystem-unmount-others
> Vendor: The udisks Project
> 
>
> Upon entering the password I get this message:
>
> 
> Volume is busy.
>
> One of more applications are keeping the volume busy.
> rsteff@Enu-1: /media/usb0/DCIM
> [Cancel] [Eject Anyway]
> 

You can try to find out what is holding the device open with lsof, and 
that might hint at what was used to mount it, and then troubleshoot 
things from there. Eject Anyway could lead to a dirty umount or a broken 
shell / utility when it can't see the device any longer.

> I hit [Cancel], switched to a different directory in Nautilus and tried
> again. Same error message as before. This time I hit [Eject Anyway].
> EOS_DIGITAL disappeared from the left hand pane of the Nautilus window.
> I jostled the USB plug when reaching to unplug it. Very briefly,
> EOS_DIGITAL appeared in the left hand pane of the Nautilus window, went
> away, and the "Unable to mount EOS_DIGITAL error message appeared:
>
> 
> Unable to mount EOS_DIGITAL
>
> Device /dev/sdd1 is already mounted at `/media/usb0'.
> 
>
> So this is a work-around, but it seems screwy.
>

Yeah, screwy sums it up nicely. Keep plugging at it. You may also want 
to continue to do web searches on resolution with other means, and 
possibly confirm which group associations your user needs to be a member 
of for this to all work properly.

dafr

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


Re: [PLUG] Recommended Card Reader for Ubuntu 14

2016-05-17 Thread David
On 05/17/2016 05:50 PM, Dick Steffens wrote:
> On 05/17/2016 04:21 PM, David wrote:
>> On 05/17/2016 04:10 PM, Dick Steffens wrote:
>>
>> <...>
>>
>> Try checking out this resolution from 2014:
>>
>> <http://askubuntu.com/questions/499856/ubuntu-14-04-automatically-mount-usb-drive-without-clicking-on-it-manually>
>>
>> Looks like a package might not be installed by default, or not with the
>> global packages you selected at install.
>
> Sure enough, it was not loaded. I loaded it using Synaptic. I tried
> inserting my card reader. Nothing appeared to happen. I tried running
> lsusb, but it hangs, as in when I hit  nothing appears after the
> cursor in the terminal window. I can close the window, but it complains
> that it will close the process. After un-installing usbmount, lsusb
> still hangs.
>

Dare I ask if you considered or actually rebooted after installation? 
While an obnoxious step most of the time, this is hook related and the 
kernel may not respond well (in rare instances) when packages are added.

You'll probably have to reboot to clear the lsusb issue if you can't 
find which process is keeping it bound up.

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


Re: [PLUG] Recommended Card Reader for Ubuntu 14

2016-05-17 Thread David
On 05/17/2016 04:10 PM, Dick Steffens wrote:
> On 05/17/2016 03:51 PM, Rich Shepard wrote:
>> On Tue, 17 May 2016, Dick Steffens wrote:
>>
>>> Doesn't work is the opposite of, "It just works," which is what most of
>>> my Linux experience is. More specifically in this case, I plug the
>>> reader with a card in it into a USB port. In Ubuntu 12.04 and Linux Mint
>>> 13 after a very few seconds, a Nautilus (or whatever it is that Mint
>>> uses) window opens, and I can deal with the photos like any other files.
>>> On Ubuntu 14.04, "nothing happens" when I plug the card reader into a
>>> USB port.
>> Dick,
>>
>>  Oh. Okay. I don't use a GUI file manager so I always manually mount
>> drives.
>>
> lsusb shows: Bus 003 Device 020: ID 058f:6362 Alcor Micro Corp. Flash
> Card Reader/Writer
>
> Haven't found any useful links related to this issue and Ubuntu 14.04.
> Plenty on Ubuntu 9, but one would think that would have made it into the
> later versions by now.
>

Try checking out this resolution from 2014:



Looks like a package might not be installed by default, or not with the 
global packages you selected at install.

dafr

___
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 David
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.

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


Re: [PLUG] Does anyone have experience installing OpenBSD and/or a Live CD I could use?

2016-05-12 Thread David
On 05/11/2016 09:57 PM, John Jason Jordan wrote:
> On Wed, 11 May 2016 18:59:27 -0700
> Vedanta Teacher  dijo:
>
>>   Does anyone have experience installing OpenBSD for civilian use
>> and/or a >Live CD set?
>
> In anticipation of seeing you at the Clinic I decided to download the
> latest OpenBSD, which I understand is 5.9. I have great download
> bandwidth at home and it costs me nothing, and downloading an ISO for a
> distro takes only a few minutes. Once I have the ISO(s) on my computer
> I can burn them to optical media or a USB drive for you. From there
> others can help sort out the difficulties you are having with the
> installation.
>
> However, I am finding it difficult to find the appropriate ISO file.
> Apparently OpenBSD does not encourage the use of torrents. And the
> FTP pages on their mirrors are inscrutable. At least I cannot scrute
> them.
>
> Can someone point me in the right direction?


Based on my terribly quick search of information last night, I believe 
the amd64 ISO for 5.9 is this link:



Other releases have the same filename, just under a different subdir. 
For example, the i386 ISO is here:



dafr

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


Re: [PLUG] Does anyone have experience installing OpenBSD and/or a Live CD I could use?

2016-05-11 Thread David
On 05/11/2016 06:59 PM, Vedanta Teacher wrote:
> Greetings,
>
>Does anyone have experience installing OpenBSD for civilian use and/or a
> Live CD set?
>
> I have a relatively new Dell Insperon lap top W/6 gigs RAM and 1 TB HDD .
> 3000 series,
> model 3558., Intel i3-5051U so, I'm 99.9%+ sure its an AMD64 type of chip.
>
> #0: I don't have a Live CD so I tried to download the 5.9 version from a
> HTTP mirror
> in San Francisco ( http://ftp.openbsd.org/pub/OpenBSD/5.9/amd64/ ). I
> burned it to
> a CD but it didn't work. I've gone all of the way from just trying :
> install59.iso
> to burning and trying all of the images on the:
> Index of/pub/OpenBSD/5.9/amd64
> but nothing worked.




Unfortunately, I have no (or at least not recent) experience with 
installation of OpenBSD.

Have you consulted the README and INSTALL.amd64 files? (No snarkiness 
intended here.)




It appears there are some "gotcha" issues with this release per the 
README, and the second file gives you the information to use 
install59.iso to create the necessary bootable media.

I don't recall the exact cli command using dd to create the CD, or I'd 
pass that on here. If you have other software burning software, you can 
use that, or the dd command is easy to locate with your favorite search 
engine if needed.

There are also directions to create a bootable USB as well.

Hopefully this gets you going in the right direction.

dafr

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


Re: [PLUG] Cron advice needed

2016-04-26 Thread David
On 04/26/2016 04:05 PM, John Jason Jordan wrote:
> On Tue, 26 Apr 2016 11:53:52 -0700
> Paul Mullen  dijo:
>
>> This is a job for rsync, anyhow.  The following command should do
>> exactly what you want:
>>
>>   rsync -avx /home/jjj/Mail/ /media/jjj/Data/Mail
>>
>> Don't remove the trailing slash on the source path.  It tells rsync to
>> copy the contents of /home/jjj/Mail to /media/jjj/Data/Mail/, as
>> opposed to creating a new Mail dir under /media/jjj/Data/Mail/ (i.e.,
>> /media/jjj/Data/Mail/Mail).  The rsync man page has more details under
>> the "Usage" section.
>>
>> rsync has a dry run mode that will show you the changes it would
>> normally perform without actually making any.  Just add the "-n"
>> option to the command line.
>
> I thought of rsync too, but the advice from the Claws-Mail listserve
> included the cp command, so that's what I used.
>
> The above command works, except that it does not remove mails from the
> backup that have been deleted from the source.
>
> I have a couple dozen folders where I store mails that I want to save.
> However, I leave mail in the Inbox until the thread has exhausted
> itself, and then, if I think I want to save the thread for future
> reference, I move it manually to one of my storage folders. If I don't
> want to save it I just delete the mails from my Inbox. Either way, those
> mails are no longer in the Inbox, so I don't want them populating my
> backup Inbox. Otherwise the backup Inbox is going to end up with many
> thousands of mails in it. And if I needed to restore my Inbox I'd never
> be able to figure out which ones of the thousands to restore.
>
> And the same thing will happen with my storage folders. I don't delete
> mails from them as much, but occasionally I do a housekeeping and throw
> out stuff that I think I will never need again. I don't want them to
> keep growing until they choke my backup into uselessness.
>
> I might be able to figure out how to change the command to accomplish
> what I want, but I'm scared of rsync and its man page. :(

You probably would benefit from the --delete flag. From the man page, 
this flag will "delete extraneous files from dest dirs" which I believe 
is what you want to accomplish.

dafr


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


Re: [PLUG] Cron advice needed

2016-04-26 Thread David
On 04/26/2016 10:45 AM, John Jason Jordan wrote:
> On Sat, 23 Apr 2016 09:36:31 -0700
> Galen Seitz  dijo:
>
>> On 04/23/16 09:22, John Jason Jordan wrote:
>>> Using Russel's advice and yours above I created the crontab (using
>>> nano) and added the following command:
>>>
>>> 0 3 * * * cp -auf /home/jjj/Mail /media/jjj/Data/
>>>



>
> OK, I figured out that the crontab file is where it's supposed to be.
> But now I have another problem. The command
>
>   0 3 * * * cp -auf /home/jjj/Mail /media/jjj/Data/Mail
>
> Worked the first time I ran it, but not subsequent times, i.e., it's
> like it finds the data folders are already there and won't overwrite
> them. I first realized this when I checked and the Mail folder had not
> been changed by the 3am cron job. So I tried running the above
> command (just the actual command) manually from the command line and,
> again, it did nothing. Then I deleted the backup Mail folder completely
> and ran the command again. This time it copied the ~/Mail folder
> to /media/Data/Mail.
>
> According to man cp -auf is what I should be using for what I want the
> command to so, but apparently there is something that I am not
> understanding.

Once you start getting more complex commands, it's sometimes better to 
move them out of cron directly. I would suggest that you build a shell 
script that works as you wish, then put that into place in cron.

Something like this should work for you:


  0 3 * * * /bin/bash /home/jjj/bin/mail-sync.sh

You'll have to adjust names and pathing accordingly.

In the script, you can have variables, comments, and other "gee whiz" 
kind of stuff.

If the cp command is giving you grief (a quick read of the man page 
suggests -u might be a possible culprit), and if you know how to use 
rsync, you might just switch to that and move on with your day.

Based on the command provided above, your execution line might even be 
as simple as this:

  rsync -a /home/jjj/Mail /media/jjj/Data/Mail

Of course, I don't have access to your system to verify that this would 
be proper syntax, but it won't be far from it. Additionally, in your 
script, you can create modifications such as multiple iterations of the 
backup, change names, and more, which would allow you to roll back 
farther than just one day if needed.

If you need/want help with writing something like that, I might be able 
to spend a few minutes chatting with you and/or providing a rudimentary 
script.

dafr

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


Re: [PLUG] proxy.pac

2016-02-25 Thread David
On 02/25/2016 08:25 PM, Robert Citek wrote:
> On Thu, Feb 25, 2016 at 7:04 PM, Louis Kowolowski
>  wrote:
>> I don’t know if browsers support a local file for a proxy.pac or not. That 
>> would be the first thing I would investigate.
>
> That's what I was not (and still am not) sure of.  However, the site
> that I originally referenced did have this to say:
>
> "Once you’ve written a proxy auto-config file using the techniques
> above, you can either put it somewhere on your local disk and simply
> point the browser to it, ..."
>
> Unfortunately, it did not elaborate on what browsers or how to point
> the browser to it.
>
> Still googling.
>
> Regards,
> - Robert


Does this link help you?



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


Re: [PLUG] Folder creation/renaming quandary

2016-02-24 Thread David
On 02/24/2016 05:37 PM, John Jason Jordan wrote:
> On Wed, 24 Feb 2016 15:00:56 -0800
> David <dafr+p...@dafr.us> dijo:
>
>>> But I continued to get the same error message even after I renamed
>>> the file. Thus, the file and directory name were different. And
>>> Catfish said that no file with the same name as the folder existed.
>>
>> Having no experience with Catfish, I can't help you here. Perhaps the
>> filesystem has a phantom memory of a file or directory with the exact
>> name you are trying to create. To clear this, try to umount the
>> partition and run fsck on it. If that isn't possible, you may also
>> consider a 'find' on the directory with the _exact_ name as the target.
>
> It certainly is acting as though there is a phantom memory of a file or
> directory, so I had high hopes that umounting and running fsck would
> solve the problem. Sadly:
>
> jjj@Devil-Bonobo:/media/jjj$ sudo fsck /dev/sdc1
> [sudo] password for jjj:
> fsck from util-linux 2.20.1
> e2fsck 1.42.9 (4-Feb-2014)
> Movies: clean, 5360/152621056 files, 264645440/1220942336 blocks
>
> After remounting the error message continues.

Well, quite honestly it was a long shot at best (IMO) and I didn't have 
a lot of faith in it, but something to try. It's still worth using the 
find to see what returns:

$ find /media/jjj/$WHATEVER -name "8½ 1963" -ls

This is just a sample that may return something, and then again it may 
not. There are a lot of options with this command, this is just a simple 
test.

> I discovered that if I replace the space with a dot the folder is
> created without error. I did not change the '½' character, so this
> should at least demonstrate that it is unlikely that my '½' character
> is the cause of the problem. And most of the hundreds of folders in
> that partition have spaces in them, so nothing is adding up here.

That is consistent with a file or directory by that exact name existing 
already and the system won't let you execute the mkdir as a result.

> At some point I must continue with my life, so I'm just going to leave
> folder with the dot in it and move on.

There is always that

dafr

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


Re: [PLUG] Folder creation/renaming quandary

2016-02-24 Thread David
On 02/24/2016 02:14 PM, John Jason Jordan wrote:
> On Wed, 24 Feb 2016 13:32:40 -0800
> David <dafr+p...@dafr.us> dijo:
>
>> On 02/24/2016 01:31 PM, Rich Shepard wrote:
>>> On Wed, 24 Feb 2016, Denis Heidtmann wrote:
>>>
>>>> I just created a file named Desktop in the folder Desktop.
>>>
>>> Denis,
>>>
>>>  Interesting. I didn't know it could be done.
>>
>> The directory and file may not be at the same level, but they may be
>> nested without issues.
>
> But I continued to get the same error message even after I renamed the
> file. Thus, the file and directory name were different. And Catfish
> said that no file with the same name as the folder existed.

Having no experience with Catfish, I can't help you here. Perhaps the 
filesystem has a phantom memory of a file or directory with the exact 
name you are trying to create. To clear this, try to umount the 
partition and run fsck on it. If that isn't possible, you may also 
consider a 'find' on the directory with the _exact_ name as the target.

> Regarding spaces and scripts, I have only a couple very short scripts
> that I use, and they do not access files or folders with spaces in
> them. Furthermore, I usually use Gnome terminal, which happily
> automatically escapes all spaces in files that I copy and paste into
> it. I would say that the majority of files that I create have spaces in
> them, and I never have a problem.

If your tools suit your needs, please continue to use them. You appear 
to be a power user and I have more of an operations background where 
scripts that call lists and use variables for operations, the spaces are 
more difficult to escape or predict in behavior. I'm naturally 
pointy-clicky averse, so my experience is different than yours.

> As for the 'funky' ½ character, that is a valid codepoint in UTF-8. Is
> Xubuntu or ext4 not UTF-8 compliant? I use far 'funkier' characters in
> filenames all the time when I need a transcription in IPA.

In my experience, any character that requires multiple keystrokes are 
equally avoided for the above reasons. There is nothing wrong with them, 
but they may break other things in odd ways down the road. I can only 
hope this is NOT the case for you.

> Considering that the error messages that Thunar and Gnome terminal are
> giving me say 'the *file* already exists' leads me to conclude that
> somehow the filesystem thinks I am creating a file rather than a folder.
> Moreover, the file that it thinks exists does not actually exist.

Yes, the inode table seems to think the name is in use in that 
directory. See my above remarks about fsck and find.

Good luck.

dafr

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


Re: [PLUG] Folder creation/renaming quandary

2016-02-24 Thread David
On 02/24/2016 01:28 PM, Dick Steffens wrote:
> On 02/24/2016 01:18 PM, Denis Heidtmann wrote:
>> On Wed, Feb 24, 2016 at 12:28 PM, Rich Shepard 
>> wrote:
>>>  In linux and other unices everything is a file. Ergo, you cannot have
>>> directories and individual files with the same name.
>>>
>>>"...cannot have ... individual files with the same name." in the same
>> directory.  But what directory is the directory in?
>>
>> I just created a file named Desktop in the folder Desktop.
>
> And I have files with spaces in the names.
>
>

Spaces work fine if you escape them, but when it comes to scripting 
things to manipulate files and such and working from the command line, 
it makes escaping the space very, very challenging if not impossible. As 
such, the use of a space (and special characters such as the funky 1/2 
being used) is generally *highly* discouraged.

If you are willing to use these characters you welcome to do so, but 
please don't complain when those characters break things for you in the 
future.

dafr

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


Re: [PLUG] Folder creation/renaming quandary

2016-02-24 Thread David
On 02/24/2016 01:31 PM, Rich Shepard wrote:
> On Wed, 24 Feb 2016, Denis Heidtmann wrote:
>
>> I just created a file named Desktop in the folder Desktop.
>
> Denis,
>
> Interesting. I didn't know it could be done.

The directory and file may not be at the same level, but they may be 
nested without issues.

dafr


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


Re: [PLUG] Tool to test internet speed

2016-02-16 Thread David
On 02/16/2016 08:18 PM, John Jason Jordan wrote:
> On Tue, 16 Feb 2016 14:53:30 -0800
> Jim Garrison  dijo:
>
>> But you should disable all other bandwidth-consuming processes
>> in order to get an actual performance figure.  Also remember the
>> speed of any connection depends not on your speed but the speed
>> of the slowest segment between you and the remote end.
>
> OK, this evening I have been doing some experimenting. I started by
> just using Speedtest again, as I did this morning, with everything
> still running. The results were the same as this morning, e.g.:
>



>
> Through all these tests I sometimes pointed Speedtest at different
> servers, including even servers in Europe, but there was no appreciable
> change in the performance.
>
> And to repeat, I am paying Comcast for Performance-75 service, which is
> supposed to give me 50-75 Mbps down and 25 Mbps up. And until a
> couple weeks ago I used to see upload speeds of around 25 Mbps.
>
> Any suggestions for what I should do next?

The only thing you can do at this point is to contact Comcast, but they 
will probably tell you what I've heard before: they only guarantee the 
upload speeds to the edge of their network.

If you run the speed test using the Comcast tool pointing to an internal 
Comcast server and still don't get what you are paying for, then you 
have a very valid complaint and they need to fix it.

What you get after exiting the Comcast network will vary, and based on 
your numbers, may indicate a Comcast cap in place for some reason.

dafr
___
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-12 Thread David Fleck
On Thu, 2016-02-11 at 17:34 -0800, wes wrote:
> On Thu, Feb 11, 2016 at 5:22 PM, Rich Shepard <rshep...@appl-ecosys.com>
> wrote:
> 
> > On Thu, 11 Feb 2016, Jim Lewinson wrote:
> >
> > > How about if you have a cron job that looks every hour in a given
> > > directory, and selects the first file and sends it?
> > >
> > > The file contains the subject and the addresses, and after sending it, it
> > > is deleted.
> > >
> > > Then, you just put the files into that directory when you want to send
> > them,
> > > and otherwise the script wakes up and just goes back to sleep for an
> > hour.
> >
> > Jim,
> >
> >That could work ... as long as I remember to delete the top-most file
> > after it's sent.
> >
> > Thanks,
> >
> > Rich
> >
> 
> the script would delete (or move) the file at the end.
> 
> -wes

I think that would work best.  The logic could look like:

if [ mailfile ]; then
  while [ addresses ]; do
send mail to top addresslist
remove top addresslist
  done 
  remove mail
fi

Then it's just a matter of cp'ing the mail and address files into place
one time. Unless you have the complication of trying to send a second
mail while the first is still in process.


-- 
David Fleck <david.fl...@mchsi.com>

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


Re: [PLUG] File won't stay deleted

2016-02-09 Thread David Gibbons
> I tried lsof, but unless I can figure out a way to grep or filter the
>results it is useless - pages and pages of incomprehensible stuff.

You mean like piping it through grep or specify the file & path directly.

On Tue, Feb 9, 2016 at 9:42 PM, John Jason Jordan 
wrote:

> On Tue, 9 Feb 2016 21:24:20 -0800
> Ali Corbin  dijo:
>
> >On Tue, Feb 9, 2016 at 9:07 PM, John Jason Jordan 
> >wrote:
> >
> >> On Tue, 9 Feb 2016 20:17:41 -0800
> >> John Jason Jordan  dijo:
> >>
> >> >Xubuntu 14.04.3, up to date. Files ystem is ext4.
> >> >
> >> >Some time ago I created an ISO image of a movie DVD. I have been
> >> >through with the file for some time so I no longer need it. I can
> >> >delete it with either Thunar or the command line, but a few hours
> >> >later it reappears. Each time it reappears the size of the file
> >> >changes, always to slightly smaller, i.e., originally it was 4.6 GB,
> >> >but after deleting it a dozen times it now appears as only 2.6 GB.
> >>
> >> Correction: It just reappeared again, and this time it is 4.6 GB. So
> >> it isn't always smaller.
>
> >> I wonder if some process has it open and keeps repairing it for you.
> >Does lsof say anything about it?
>
> I tried lsof, but unless I can figure out a way to grep or filter the
> results it is useless - pages and pages of incomprehensible stuff.
>
> But since my original post I have additional information. I tried to
> rename it, just to see what would happen. A short while later the
> original reappeared alongside the renamed version. Now I have two that
> I can't get rid of. This is not an improvement!
>
> And then I tried double-clicking on the files. This launched K3b (my
> default burner), but for each file K3b threw an error saying that it
> couldn't open the file. So maybe the files really are not there; what
> I'm seeing is some ghost image. But the ghost image appears in both
> Thunar and the terminal. And deleting them with Thunar or the command
> line makes the ghost disappear, but only for a while.
>
> Any more suggestions?
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Question on mktime() results

2016-01-26 Thread David Barr
I will quite happily play the straight man, here: why are `gmtoff` and `zone` 
different in `first_tm` vs `second_tm`?

David

> On Jan 25, 2016, at 20:57, Galen Seitz <gal...@seitzassoc.com> 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) ?
> 
> 
> galen
> --
> Galen Seitz
> gal...@seitzassoc.com
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

--

David - Offbeat
dafydd - Online http://pgp.mit.edu/

51525354555657--

Dr. Viktor Frankenstein entered into a body building competition
only to find he has seriously misunderstood the objective.





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Optical drive driving me crazy

2015-12-30 Thread David
On 12/30/2015 09:39 AM, John Jason Jordan wrote:
> On Tue, 29 Dec 2015 22:16:42 -0800
> Russell Senior  dijo:
>
>>> "John" == John Jason Jordan  writes:
>>
>> John> However, at this point the optical drive won't mount anything. I
>> John> tried half a dozen different DVDs, the light on the drive flashes
>> John> briefly, then stops. The mount command does not see it, nor is
>> John> there anything in the GUI file manager.
>>
>> John> Now I'm worried that there might be a hardware failure.
>>
>> The other thing that is interesting is the last bit of the output from
>> dmesg.  Something like:
>
> I had been running dmesg |tail without the number, so it displayed only
> the last half dozen lines or so. I never saw anything untoward.
> However, just now I tried it again and, as before, there was nothing
> relating to disks except the very last line:
>
> [304047.428979] VFS: busy inodes on changed media or resized disk sr0
>
> Back when it was mounting media (even though it failed to remove the
> mount point) I never saw this line.
>
> So now I'm beginning to think it is not a hardware failure. But I
> need someone to translate the above line into English.

The device /dev/sr0 is typically the first CD/DVD device found by the 
operating system (and /dev/sr1 would be the second). All it's saying 
(loosely) is that the device wasn't cleanly closed before eject and an 
inode is still being "accessed" even if no available any longer by some 
process.

This is why you can't mount anything new at this point with the device 
still being "busy", according to the kernel.

dafr


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


Re: [PLUG] Optical drive driving me crazy

2015-12-29 Thread David
On 12/29/2015 12:15 PM, Russell Senior wrote:
>> "John" == John Jason Jordan  writes:
>
> John> On Tue, 29 Dec 2015 00:06:29 -0800 Russell Senior
> John>  dijo:
>
 "johnxj" == johnxj  writes:
>>>
> johnxj> The computer is otherwise running fine. From past experience the
> johnxj> only way I know to fix this problem is to reboot the
> johnxj> computer. Please don't tell me I must always reboot the computer
> johnxj> in order to change an optical medium. :(
>>>
> johnxj> Edit: Now I can't even mount a USB drive. It is at least
> johnxj> recognized, but attempts to mount it result in:
>>>
> johnxj> "Error creating mount point `/media/jjj/128GB': Read-only file
> johnxj> system."
>>>
>>> Remove the USB and optical media and in a terminal, run:
>>>
>>> mount
>
> Okay, now plug your USB thingie and run the plain "mount" command again
> and look for differences.  Likewise, your optical disk.
>
>

It also looks like the error is saying that /media/jjj is read-only at 
this point, and unless I'm reading the mount output from the previous 
email correctly, this would be /dev/sdb1. If this is the case, there may 
be errors on that partition and the filesystem was remounted read only.

What happens if you manually execute "mkdir /media/jjj/test" or "mkdir 
/tmp/test"?

The only way that I know to clear a read only filesystem is to remount 
it (if permitted), or to reboot with a manual fsck on the problem partition.

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


Re: [PLUG] Survey: what make/model router do you use at home?

2015-12-24 Thread David Fleck

On Dec 22, 2015, at 6:40 PM, Russell Senior  wrote:
> 
> 
> Galen Seitz and I are working on a project where we encountered a "bug"
> in our hardware/software when connecting to certain off-the-shelf wifi
> routers, involving the 4way handshake associated with RSN/WPA2.  We are
> trying to estimate the probability that customers are going to encounter
> this in the field.  So far, we know of 4 make/models that are
> problematic and 4 make/models that aren't.
> 
> Please answer the following questions to the best of your ability:
> 
> 1) what is the make/model of the wifi device that you use in your
>house?  none is an acceptable answer.

Netgear R6200v2

> 2) about how old is it (rough guess is fine)?

3-4yrs

> 3) is it running firmware from the vendor or have you installed a 3rd
>party firmware like DDwrt, OpenWrt or similar?
> 
current factory firmware

> 4) Do you now or have you ever exhibited any interest in model trains?
>(this is to weight your answer heavier for the target demographic)

Had HO layouts until I went to college.


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


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


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

2015-12-23 Thread David Fleck
On Tue, 2015-12-22 at 23:45 -0800, King Beowulf wrote:
> On 12/22/2015 11:03 PM, Richard Owlett 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
> >>
> >> -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]
> >   It is internet capable, therefore is computer not phone ;/
> > 
> 
> Unfortunately, any phone these days will be driven by a CPU of some
> sort, since all the processing and DSP is done in software rather than
> in special purpose chips.  The truly basic voice only cell phone has not
> been made in over 20-25 years.  Before "smart phones" we had "feature
> phones" - with basic computing capability.
> 
> Now, one can get a nice minimal "feature phones" that are not activated
> on a data plan, and just get a pay-as-you go, no contract voice only
> plan, and turn all the other stuff off on the phone settings.  The
> carrier just turns off internet access.
> 
> Take a gander here for some ideas:
> http://www.wirefly.com/no-data-required-phones
> 
> If wander into Walmart, Best buy, etc, you should find a display of pay
> as you go phones like these.  Among the shadier types in our society
> they are also known as "burner phones."
> 
> Happy Holidays
> -Ed
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug

Just a cautionary note -- my spouse and I had basic no-contract Motorola
flip-phones until quite recently. However we have heard (and have
anecdotal data to back it up) that the no-contract phones tend to have
significantly worse connectivity.

-- 
David Fleck <david.fl...@mchsi.com>

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


Re: [PLUG] OpenSuse confusion

2015-12-18 Thread david . fleck

https://news.opensuse.org/2015/11/04/opensuse-leap-42-1-becomes-first-hybrid-distribution/

"The naming strategy is SLE 12 SP1 or 12.1 + 30 = openSUSE Leap 42.1. Many have 
asked why 42, but SUSE and openSUSE have a tradition of starting big ideas with 
a four and two, a reference to The Hitchhiker’s Guide to the Galaxy."

Apologies for the top-posting.

--
-David Fleck



- Original Message -
From: "Ronald Bynoe" <ron...@bynoe.us>
To: "Portland Linux/Unix Group" <plug@lists.pdxlinux.org>
Sent: Friday, December 18, 2015 1:34:50 PM
Subject: Re: [PLUG] OpenSuse confusion

Or rather, pay more attention to your typing Ronald, sed 's/peak/leap/'

You can read more about it at https://en.opensuse.org/Portal:Leap but no, I
don't know why exactly they chose the numbers they did for the versioning!

Pleasantly,
Ronald Bynoe

On Fri, Dec 18, 2015 at 11:29 AM, Ronald Bynoe <ron...@bynoe.us> wrote:

> Yeah, it's SuSE's new approach to developing their distribution. Peak is
> to SuSE Linux Enterprise as CentOS is to Red Hat Enterprise Linux. And
> Fedora is equivalent to OpenSuSE.
>
> So Peak and CentOS will be the more forward-looking versions of their
> enterprise counterparts. Peak has a slight difference in that it will also
> incorporate packages that are slated for future releases, kinda like a
> hybrid between Fedora and RHEL.
>
> On Fri, Dec 18, 2015 at 11:27 AM, benjamin barber <starwor...@gmail.com>
> wrote:
>
>> seminds me of sunos / solaris, version numbers are are social constructs
>> ;-)
>>
>> On Fri, Dec 18, 2015 at 11:20 AM, John Jason Jordan <joh...@comcast.net>
>> wrote:
>> > I am trying to figure out what is the latest release of OpenSuse.
>> > Apparently there was a 13.2, and maybe a 13.3, but now suddenly there
>> > is Leap, which is version 42.1. WTH?
>> > ___
>> > PLUG mailing list
>> > PLUG@lists.pdxlinux.org
>> > http://lists.pdxlinux.org/mailman/listinfo/plug
>> ___
>> PLUG mailing list
>> PLUG@lists.pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
>
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Cannot delete files in .Trash

2015-12-18 Thread David Fleck
On Fri, 2015-12-18 at 18:13 -0800, John Jason Jordan wrote:
> I have a 128GB USB stick that I sometimes use to transfer files. Today
> I discovered that it was full, even though the GUI file manager
> (Thunar, Xubuntu 14.04) showed only a few files in it. It turned out
> that the .Trash-1000 file was full. Thunar's empty trash GUI doesn't
> recognize drives mounted in /media, so I just navigated to
> the .Trash-1000/files folder and deleted them manually. After doing so I
> discovered 223 text files in .Trash-1000/info, each a small text file
> with .trashinfo at the end of the filename. I am unable to delete these
> files; that is, if I delete one Thunar deletes it but creates a new one
> that ends in .trashinfo.trashinfo. Every time I delete one Thunar
> creates a new copy, appending another .trashinfo to the filename. 
> 
> They are all just a few bytes, but I don't like the idea of the history
> of what I have been transferring to be visible to anyone I might give
> the drive to. And since I have already deleted the files that they point
> to, they are useless. 
> 
> Suggestions?
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug


Can you rm -rf  the .Trash-1000 directory?

-- 
David Fleck <david.fl...@mchsi.com>

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


Re: [PLUG] Pleaze oh Pleaze: Git/GitHub4beginners talk.

2015-12-01 Thread David Gibbons
I've found people often struggle with when and how to rebase in various
forms. It could probably use a good portion of time.

On Tue, Dec 1, 2015 at 11:38 AM, Louis Kowolowski 
wrote:

>
> > On Nov 30, 2015, at 10:56 PM, Michael Dexter 
> wrote:
> >
> > On 11/30/15 10:52 PM, Ali Corbin wrote:
> >> I don't think I could come up with anything very organized, but I've
> used
> >> git and github for years and could probably babble on about them.
> >>
> >> But maybe everyone already groks git and just wants to get up to speed
> on
> >> github?  The only thing it really adds to git is this forking business I
> >> think. Except maybe for the wiki and the defect tracking that they give
> >> you, and the webpages.
> >
> > How about...
> >
> > You create a simple project "foo" on your GitHub account and walk people
> > through checking it out, modifying it, committing back, forking it,
> > borking it and you follow along on-screen via GitHub.org?
> >
> If that doesn’t include merge, add that to the list. I’d say something
> about git terminology, but @bcantrill already covered it quite nicely on
> the recent BSDnow podcast.
>
> --
> Louis Kowolowskilou...@cryptomonkeys.org
> 
> Cryptomonkeys:
> http://www.cryptomonkeys.com/ 
>
> Making life more interesting for people since 1977
>
>
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] systemd

2015-11-28 Thread david . fleck
I disagree.  I thought Keith's comments were insightful and echo a lot of my 
concerns and experiences with systemd. IMHO, distributions are far too cavalier 
about introducing fundamental changes that end up breaking stuff.

[top-posting against my better judgment]

--
David Fleck 


- Original Message -
From: "benjamin barber" <starwor...@gmail.com>
To: "Keith Lofstrom" <kei...@keithl.com>, "Portland Linux/Unix Group" 
<plug@lists.pdxlinux.org>
Sent: Saturday, November 28, 2015 2:27:51 PM
Subject: Re: [PLUG] systemd

This is filled with platitudes, but doesn't address any of the
substantitive questions.

For example, is it wise to have an init system also control su as well as
DHCPd. ?

also, are we transitioning from gnu-linux to lennartix by ditching the unix
philosophy ?

quite frankly this seems like the typical practice of embrace - extend -
extinguish.

On Sat, Nov 28, 2015 at 11:38 AM, Keith Lofstrom <kei...@gate.kl-ic.com>
wrote:

> Like many recent linux changes, systemd solves a lot of problems
> compared to the kluges that it replaces, but it was not deployed
> with other people and existing infrastructure in mind.  So, the
> burden of adapting to such changes is foisted on the rest of us.
>
> While glittery shiny first impressions are nice, pain rules
> our long term reaction to new things.  A distro that is easy
> 90% of the time and ridiculously difficult 10% of the time is
> less likely to endure than something that is 30% easy and 1%
> difficult.  Change is never easy, and migration is difficult.
>
> For me, a computer is a structure that I embellish with my own
> data, procedures, adaptions, and improvements.  Changing the
> structure means I must translate all of that, without help.
>
> It's like replacing the wooden beams of my house with carbon
> fiber.  That might help in an earthquake, but the cost of
> the transition would be more devastating than an earthquake.
> Instead, I added kludges and retrofits to achieve the same
> earthquake protection.  Build new houses with carbon fiber if
> you wish, but don't abandon the installed base that is better
> improved than replaced.  If you must change house structure,
> make your carbon fiber install cheap and painless.
>
> We invest in our computers, and change invalidates many of our
> investments.  If those who wish to impose these changes had
> to pay the full cost of their decisions, and help us recoup
> our lost investments, they would make different decisions,
> and provide tools that facilitate change and adaption.
>
> This is an opportunity hiding in a problem, for sane profit-
> seeking entrepreneurs (if there are any left in our community).
> Focusing on the needs of humans, rather than the needs of the
> machines.  Modelling change against the entire installed base,
> instead of a couple dozen configurations favored by developers.
>
> At a guess, linux designed for low cost mass deployment and long
> term stability might make new development five times harder for
> developers, almost cost-free for customers, and thus 100x cheaper
> overall, assuming millions of customers willing to pay a little
> something to avoid pain.  For those of us ready to graduate from
> "gratis" Linux to "least total cost" Linux, a new distro to fill
> the role that Redhat used to fill (stodgy but predictable) would
> be welcomed, and could be very profitable.
>
> Keith
>
> --
> Keith Lofstrom  kei...@keithl.com
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] DSL modem

2015-10-16 Thread David Gibbons
If you're needing to run wire for this, I would strongly suggest you forgo
running telephone line for data and run cat5 instead. I think you'll find
your success rate much higher.




On Fri, Oct 16, 2015 at 6:17 PM, John Meissen  wrote:

> >
> > John.  I would love to have the Westell 6100
> >
> > Of course each DSL Router will have it's own IP address..  What I will do
> > is only run one at a time.  Shut off the one I am not  using and turn on
> > the other.   That should work?
>
> I honestly don't know.
>
> I'm in Beaverton. Whereabouts are you? I'll probably be out running
> errands at
> some point tomorrow, if you're not too far out of the way I could swing by
> and
> drop it off.
>
> I'll look for the power brick tonight.
>
> john-
>
>
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Home network error

2015-10-06 Thread David
On 10/06/2015 12:53 PM, Dick Steffens wrote:
> On 10/06/2015 11:37 AM, Dick Steffens wrote:
>> 
>>
>> I can ssh into another Linux
>> machine on the network. But I can't see the network with Nautilus. When
>> I click on "Places > Network" I get a Nautilus window that shows the
>> "Windows Network" icon. Normally I would see icons for at least two
>> other machines. When I double click on the Windows Network icon I get a
>> pop-up that says,
>>
>> Unable to mount location
>> Failed to retrieve share list from server
>>
>
> More details. I went to a Linux laptop that was hibernating. When I
> tried to look at a network browsing window I get the same error message.
>
> I can go to my wife's Win-7 machine and see my desktop machine, and
> connect to it and view shared folders.
>
> I did a fresh install of Ubuntu 12.04 on a test machine this morning. I
> get the same error message on it, too.
>
> Does that jog any thoughts about where to look for the "share list" ?


Is portmap and Samba running?

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


Re: [PLUG] Perl Script Displayed, Not Run: httpd or perl?

2015-09-22 Thread David Gibbons
You could also post the httpd.conf to a pastebin and provide the link

Does the perl script you're attempting to execute end in a .pl extension?



On Tue, Sep 22, 2015 at 11:19 AM, Rich Shepard 
wrote:

>The financial software UI is a Web browser; firefox has fit that role
> for
> about 15 years. The perl script to log in now displays the file's code
> instead of running.
>
>Another user of this application had the same issue I have. When he
> added
> 'AddHandler cgi-script .pl' to httpd.conf that solved the problem. When I
> add that line here it makes no difference.
>
>I have a gzipped copy of httpd.conf (6458 bytes), but attachments are
> scrubbed off my the MLM. I'll send it to someone willing to look at it and
> determine if there are other modules that should be uncommented now, or
> other changes that might fix the problem.
>
> Rich
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


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

2015-08-22 Thread David Gibbons
You should also check for firewall rules on the fedora box.

On Sat, Aug 22, 2015 at 11:12 AM, Mitch mitchportl...@gmail.com wrote:

 Thanks Galen,

 LAN connectivity works through WiFi for both machines. I haven't tried
 pinging, but as I said, when I had a netatalk AFP server running on Linux,
 the OS X machine could see it - it just couldn't make a connection to it.

 I'll check ifconfig and see what's in the smb config file - maybe that'll
 she's some light.

 mitch

  On Aug 22, 2015, at 8:38 AM, Galen Seitz gal...@seitzassoc.com wrote:
 
  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
 ___
 PLUG mailing list
 PLUG@lists.pdxlinux.org
 http://lists.pdxlinux.org/mailman/listinfo/plug

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


Re: [PLUG] NSA Tools for the rest of us

2015-08-14 Thread David Gibbons
Seems like it would have a lot of cross over to the Ctrl-H hackerspace
group, especially since work by members of that group were included in the
article.


On Fri, Aug 14, 2015 at 1:14 PM, Rich Shepard rshep...@appl-ecosys.com
wrote:

 On Fri, 14 Aug 2015, Michael Rasmussen wrote:

  when details of NSA spy tools were made public many groups sought to
  reverse engineer them. One of those groups is sharing the fruits of their
  labors.
 
 
 http://arstechnica.com/information-technology/2015/08/the-nsa-playset-espionage-tools-for-the-rest-of-us/

Do I sense a new PLUG group in the near future?

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

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


Re: [PLUG] Home Router Recommendations

2015-07-30 Thread David Gibbons
Last time I had to make this decision I ended up taking the easy way out
and going with the top recommended option on wirecutter:
http://thewirecutter.com/reviews/best-wi-fi-router/ I've been pretty happy
with the device and haven't had to muck with it much. It does require a
restart to make static dhcp leases which is completely dumb but it's also
the only thing i've found that's out of line so far.


Prior I explored using a routerboard for this at home but found it was
limited in it's support for UPNP and DLNA. I also had good luck repurposing
a checkpoint vpn device as a pfsense box. It was just intel hardware which
made it easy to install pfsense on. Thats probably not a common thing for
someone to come across though.



On Wed, Jul 29, 2015 at 11:43 PM, Paul Mullen p...@nellump.net wrote:

 I've been neglecting the firmware on my eight-year-old Linksys
 wireless router for too long now, and my research leads me to believe
 that it's just too old to support modern firmware distributions like
 OpenWRT and DD-WRT.

 What are the cool kids using these days?  My needs are basic; this old
 Linksys has served just fine for years, after all.  My only real
 concern is maintainability of the underlying operating system.  I
 would be willing to spend more if the hardware could support a plain
 Linux or OpenBSD system, though.


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

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


Re: [PLUG] The Right Tool For the Job

2015-07-28 Thread David Gibbons
Adding the variable to environments without determining that is the
environment the code is running in is rather bad form.

You'd do better to write a separate script to print out the running
environment and evaluate if it sees it.

That actually tells you something about your environment and doesn't
pollute a namespace without cause.


On Tue, Jul 28, 2015 at 8:14 PM, Ken Stephens k...@cad2cam.com wrote:

 Rich Shepard wrote:
  On Tue, 28 Jul 2015, Rich Shepard wrote:
 
 Don't recall. Worth a second try.
  Made certain the variable was exported with the version quoted and
 not
  quoted and still no joy.
 
  Thanks, Wes,
 
  Rich
 Rich,

 When I expect a variable to be in the environment and it isn't, I
 usually find that the application has shelled out of my environment and
 into anothers.  This happens when I use root to install an application,
 which is usually required.  Have your tried to add the variable into the
 root's environment?

 Ken

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

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


Re: [PLUG] The Right Tool For the Job

2015-07-27 Thread David Gibbons
Rather than creating a temp file, you can also subshell out and cat the
current contents, this executes before the command that wraps it so you
don't worry about clobbering the contents before reading them.

for filename in /path/to/app/source/*py

do if ! grep wxversion $filename

then echo import wxversion
wxversion.select('3.0.2.0')
import os, time, wx

$(cat $filename)  $filename

fi

done

On Mon, Jul 27, 2015 at 10:54 AM, wes p...@the-wes.com wrote:

 On Mon, Jul 27, 2015 at 7:55 AM, Rich Shepard rshep...@appl-ecosys.com
 wrote:

 
 Before writing such a script advice on a (or most) appropriate tool
  would
  be helpful. Would awk be the appropriate tool for this? Should be a short
  script so perhaps a linux utility would be a parsimonious working
 solution.
 
  Rich
 
 
 Awk is for modifying existing data. You are adding completely new lines, so
 the best tool for the job would be cat.

 for filename in /path/to/app/source/*py

 do if ! grep wxversion $filename

 then echo import wxversion
 wxversion.select('3.0.2.0')
 import os, time, wx  $filename.new

 cat $filename  $filename.new

 mv $filename.new $filename

 fi

 done

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

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


Re: [PLUG] Installing to new disk

2015-07-27 Thread David Gibbons

  Second question:
  My desktop computer has an internal SATA drive and a SATA drive dock.
 The
  dock is normally used to hold my backup drive.  Can I do the install in
 the
  dock, copy data from the old drive to the new drive, then move  the new
  drive to the internal location?  Will the drive then be known as
  /dev/sdb1?  How do I tell the install program to find the external drive?

 When Linux boots, all drives get a /dev/sdX label but unless the
 partitions are in /etc/fstab they will not be automatically mounted.
 you can look in /var/log/[dmesg | messages | syslog]

 Find out all the /dev/sdXn as listed in the logs and then either make an
 entry in /etc/fstab (with out without noauto

 Also, once partitioned and formatted formatted, and depending on your
 WM/DE setting for dbus/udev, the hard drive in the dock should hot
 plug/automount.



You could also create a filesystem label instead of relying on what device
name the drives get. This way you can be consistent no matter if they get
reassigned.


This depends on the filesystem for which command you would use to label it
but for example with xfs:
xfs_admin -L MYDATA /dev/sdb

then in fstab
LABEL=MYDATA /mnt/data xfs ... defaults 1 1

Test this with the mount command with the disk unmounted and you can test
that it works as you want it.

googling for using labels in fstab comes up with more directions if
needed.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] [PLUG-ANNOUNCE] OSCON PASS CONTEST COUNTDOWN

2015-07-18 Thread David Gibbons
Here's mine as well: http://www.amazon.com/review/R1KLWZ4HAJGTGA

On Sat, Jul 18, 2015 at 12:30 PM, Michael Dexter dex...@ambidexter.com
wrote:


 Hello all,

 If I am not mistaken, I see these TWO entries to the pass contest:

 Scott Bigelow
 http://www.amazon.com/review/R3I23O2HMIQ6AX

 Ali Corbin
 http://www.goodreads.com/review/show/1326437454

 C'mon people! It's around a $1000 value. Let's see a few more.

 Deadline: Sunday 6PM and the distinguished panel of expert reviewers
 will pick a winner that evening.

 Michael Dexter
 PLUG Volunteer
 ___
 PLUG-announce mailing list
 plug-annou...@lists.pdxlinux.org
 http://lists.pdxlinux.org/mailman/listinfo/plug-announce

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


  1   2   3   4   >