Re: [PLUG] Web browsers not displaying images

2017-03-03 Thread Don Buchholz
May you've got some settings/preferences or add-ins tweaked ...


1)  Close Firefox (and check process table to make sure nothing is still 
lingering).

2)  Rename your $HOME/.mozilla to something like $HOME/.OFF.mozilla.

3)  Make sure there is no $HOME/.firefox folder ... if there is, rename it too.


... just a shot in the dark.


- Don



From: plug-boun...@lists.pdxlinux.org  on 
behalf of Rich Shepard 
Sent: Friday, March 3, 2017 7:35:52 AM
To: Portland Linux/Unix Group
Subject: Re: [PLUG] Web browsers not displaying images

On Thu, 2 Mar 2017, Rich Shepard wrote:

> This morning I tested these sites from a different host and they all
> displayed and worked as expected. So the problem is on my desktop
> server/workstation.

> I rebooted the system but this does not fix the problem. I'm at a loss
> where to look for the source of this new issue as I've not before
> encountered anything like it.

   Today I re-installed firefox-45.7.0 but this made no difference. I'm
looking for suggestions for where to look for this problem. It's not
consistent (for example, some images on bbc.com and reuters.com display,
some do not; all images on other news sites display, none display on other
news sites) and affects only this desktop.

   Since rebooting the system and re-installing firefox did not fix the
problem where else should I look?

Puzzled,

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] Replace Quicken with GnuCash...

2017-02-28 Thread Don Buchholz
I can't speak for GnuCash.  I left Quicken for Moneydance a dozen years ago and 
never looked back.  In the last twelve years I've made an initial purchase and 
one upgrade purchase.  It is a Java application.


IIRC, initially support was via a mailing list.  They have a more polished 
system now.   I've never needed the support, so I really don't keep 
track of them.  I purchased the upgrade a few years ago just because I had been 
using it long enough I felt the guy who wrote it deserved just compensation.  
And they're not like Intuit who constantly push marketing messages at me and is 
always angling for a new way to nickle & dime me with another new 'service' [in 
the context of Intuit, a word most accurate when interpreted using a British 
slang dictionary].


- Don



From: plug-boun...@lists.pdxlinux.org  on 
behalf of Michael Christopher Robinson 
Sent: Monday, February 27, 2017 3:32:06 PM
To: plug@lists.pdxlinux.org
Subject: [PLUG] Replace Quicken with GnuCash...

How effective a replacement for Quicken is GnuCash?

Does GnuCash allow importing from Excel or LibreOffice Calc?

My fiance is trying the Windows version, but there is a Linux and a Mac
version too.  Does the Windows version of GnuCash work as well as the
Linux version?

I haven't convinced her yet that she doesn't need Quicken, but she has
GnuCash and is giving it a good try.  Quicken is ridiculously expensive
at upwards of $140 US.
___
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] fraud detection messages from PLUG

2016-12-26 Thread Don Buchholz

Does anyone else see/get these "... sender failed our fraud
checks ... " messages?

Easystreet was bought out by Atmosera a few years ago,
and in 2015, they migrated the email backend from Google
to Office365.   (Once upon a time, long, long ago, Easystreet
actually hosted their own mail servers.)

It looks like the Office365 mail system doesn't like the
PLUG list server?... but there are no problems unless
I am the one sending the message.




On 12/26/2016 5:55 PM, Don Buchholz wrote:
> [This sender failed our fraud detection checks and may not be who they appear 
> to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]
>
> On 12/26/2016 4:01 PM, Ken Stephens wrote:
>> Mike C. wrote:
>>>> All the Google searches show how to use semanage, but with no status for
>>>> the selinux user that is created the Dbus cannot send messages to the X
>>>> window system.  The
>>>> message I get is:
>>>>
>>>> Unable to contact settings server
>>>>
>>>> THE QUESTION, finally:
>>>> How do I get out of this ChromeOS jail?   I want X windows to work so I
>>>> an use OpenCPN on my sailboat.
>>>>
>>>>
>>> A quick and easy way to get out of the ChromeOS jail is to disable SELInux
>>> temporarly and put it into permissive mode which shouold allow to use
>>> OpenCPN and give you time to research the problem more or just be able to
>>> toggle SELinx for when you use OpenCPN.
>>>
>>>
>>>   - *Permissive* - switch the SELinux kernel into a mode where every
>>>   operation is allowed. Operations that would be denied are allowed and 
>>> a
>>>   message is logged identifying that it would be denied. The mechanism 
>>> that
>>>   defines labels for files which are being created/changed is still 
>>> active.
>>>
>>> Temporarily switch off enforcement
>>> You can switch the system into permissive mode with the following command:
>>>
>>> echo 0 >/selinux/enforce
>>>
>>> You'll need to be logged in as root, and in the sysadm_r role:
>>>
>>> newrole -r sysadm_r
>>>
>>> To switch back into enforcing mode:
>>>
>>> echo 1 >/selinux/enforce
>>>
>>> To check what mode the system is in,
>>>
>>> cat /selinux/enforce
>>>
>> Mike,
>>
>> Tried the echo 0 > /selinux/enforce
>> # cat /selinux/enforce
>> 0
>> #
>> no joy, same behavior even after reboot.
>> # sestatus
>> SELinux status:enabled
>> SELinuxfs mount:/sys/fs/selinux
>> Current mode:  permissive
>> Mode from config file:  permissive
>> Policy version:15
>> Policy from config file:  default
>>
>> Any other ideas?
>>
>> Thanks for the reply,
>> Ken
> Because everytime you reboot, it resets the "enforce"
> setting.  There's a config file in /etc which you can use
> to disable SELinux enforcement permanently.  Don't
> have a system with your distro though to figure out
> exactly which one it is ...
>
> Your distro may or may not have the 'getenforce' and
> 'setenforce' commands.  But those again tend to be
> temporary and "setenforce 0" will have to be executed
> at every reboot.
>
> My old-time favorite is to edit grub.conf|grub.cfg so
> the linux kernel boots with the option "selinux=0"
> ... that usually does a pretty good job of permanently
> disabling SELinux.  (Albeit, this advice is along the lines
> of "here's a gun.  it's loaded.  round is in the chamber.
> the safety is off.")   YMMV.
>
> And, of course, it seems that for pretty much all of
> the stuff I've seen above ... you need to have 'root'
> level permissions to change the SELinux setting ...
> So not really understanding your issues/ChromeOS
> very well, it sounds as if this could be a chicken-egg
> kind of problem ...
>
>
> ___
> 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] Chromebook and Debian Jessie

2016-12-26 Thread Don Buchholz
On 12/26/2016 4:01 PM, Ken Stephens wrote:
> Mike C. wrote:
>>> All the Google searches show how to use semanage, but with no status for
>>> the selinux user that is created the Dbus cannot send messages to the X
>>> window system.  The
>>> message I get is:
>>>
>>> Unable to contact settings server
>>>
>>> THE QUESTION, finally:
>>> How do I get out of this ChromeOS jail?   I want X windows to work so I
>>> an use OpenCPN on my sailboat.
>>>
>>>
>> A quick and easy way to get out of the ChromeOS jail is to disable SELInux
>> temporarly and put it into permissive mode which shouold allow to use
>> OpenCPN and give you time to research the problem more or just be able to
>> toggle SELinx for when you use OpenCPN.
>>
>>
>>  - *Permissive* - switch the SELinux kernel into a mode where every
>>  operation is allowed. Operations that would be denied are allowed and a
>>  message is logged identifying that it would be denied. The mechanism 
>> that
>>  defines labels for files which are being created/changed is still 
>> active.
>>
>> Temporarily switch off enforcement
>> You can switch the system into permissive mode with the following command:
>>
>> echo 0 >/selinux/enforce
>>
>> You'll need to be logged in as root, and in the sysadm_r role:
>>
>> newrole -r sysadm_r
>>
>> To switch back into enforcing mode:
>>
>> echo 1 >/selinux/enforce
>>
>> To check what mode the system is in,
>>
>> cat /selinux/enforce
>>
> Mike,
>
> Tried the echo 0 > /selinux/enforce
> # cat /selinux/enforce
> 0
> #
> no joy, same behavior even after reboot.
> # sestatus
> SELinux status:enabled
> SELinuxfs mount:/sys/fs/selinux
> Current mode:  permissive
> Mode from config file:  permissive
> Policy version:15
> Policy from config file:  default
>
> Any other ideas?
>
> Thanks for the reply,
> Ken

Because everytime you reboot, it resets the "enforce"
setting.  There's a config file in /etc which you can use
to disable SELinux enforcement permanently.  Don't
have a system with your distro though to figure out
exactly which one it is ...

Your distro may or may not have the 'getenforce' and
'setenforce' commands.  But those again tend to be
temporary and "setenforce 0" will have to be executed
at every reboot.

My old-time favorite is to edit grub.conf|grub.cfg so
the linux kernel boots with the option "selinux=0"
... that usually does a pretty good job of permanently
disabling SELinux.  (Albeit, this advice is along the lines
of "here's a gun.  it's loaded.  round is in the chamber.
the safety is off.")   YMMV.

And, of course, it seems that for pretty much all of
the stuff I've seen above ... you need to have 'root'
level permissions to change the SELinux setting ...
So not really understanding your issues/ChromeOS
very well, it sounds as if this could be a chicken-egg
kind of problem ...


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


Re: [PLUG] More desktop issues

2016-11-22 Thread Don Buchholz
On 11/22/2016 10:56 AM, Denis Heidtmann wrote:
> The latest in this saga is that the machine appears to be functioning
> normally.  Two possible reasons:
>
> 1.  I opened the case, cleaned out some dust, and reseated the sata cable
> to the hard drive.  The dust in my opinion was not bad.  Checks of
> temperatures and voltages never looked suspect.  So if this was responsible
> for the fix (assuming it stays fixed!) it was likely the sata connection.
>
> 2. During most of the boots into recovery mode I chose dpkg (repair broken
> packages).  After rebooting the last time I checked the "updater".  It
> reported "security updates for current hardware enablement stack ended on
> 2016-08-04: *http://wiki.ubuntu.com/1404_HWE_EOL;.  I chose install.  Then
> restart.  Every time I have run the  dpkg option during the recovery there
> were errors reported, but the text flew by so fast that I could not capture
> them.  I will be studying the logs to see if I can get any clues, but it
> would likely take a more knowledgeable brain than mine to decipher the
> messages.
>
> Thanks for the many suggestions.
>
> Until the next failure--
>
> -Denis

Denis,

To capture all the text (and control characters, etc. ...)

 # script 
 #run_command
 #run_another_command
 #  ...
 #  exit  ( or just [Ctrl-D])

If you run script(1) w/o a filename option, it will create a file
named "typescript" in the current directory.  After exiting that
shell, you can view, grep,  on the log/script file and never
have to worry that so many lines have passed by that you've
overrun your screen/terminal's line buffer.

- Don


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


Re: [PLUG] Sed syntax error

2016-11-15 Thread Don Buchholz
Perhaps his file has strings, with slashes, other than dates?  Pathnames 
perhaps.

On November 15, 2016 10:53:54 AM PST, Robert Citek  
wrote:
>On Tue, Nov 15, 2016 at 10:50 AM, Robert Citek 
>wrote:
>> On Tue, Nov 15, 2016 at 10:30 AM, Rich Shepard
> wrote:
>>>Trying to change the date format from a forward slash (/) to a
>dash (-).
>>> There's a syntax error in my sed script: "file
>change-date-format.sed line
>>> 6: invalid reference \3 on `s' command's RHS" and I'm not seeing
>why. Here's
>>> the script:
>>>
>>> #!/usr/bin/sed
>>> #
>>> # Change date format from / to -.
>>>
>>> s/[0-9]\{4\}\/[0-9]\{2\}\/[0-9]\{2\}/\1-\2-\3/g
>>>
>>>Please show me what I've done incorrectly here.
>>
>> Example input and sample expected data would be helpful.  But if I
>> were to guess (which is usually a really bad idea), your input date
>> string looks like this:
>>
>> 1996/03/10
>>
>> and you want your output data to look like this:
>>
>> 1996-03-10
>>
>> If that's correct (highly unlikely because I am guessing), then this
>would work:
>>
>> $ <<< '1996/03/10' tr / -
>> 1996-03-10
>>
>> But if you insist on sed:
>>
>> $ <<< '1996/03/10' sed -e 's#/#-#g'
>> 1996-03-10
>>
>> Or insist on sed using groups:
>>
>> $ <<< '1996/03/10' sed -e
>> 's#\([0-9]\{4\}\)\/\([0-9]\{2\}\)\/\([0-9]\{2\}\)#\1-\2-\3#g'
>> 1996-03-10
>>
>> or
>>
>> $ <<< '1996/03/10' sed -re
>> 's#([0-9]\{4\})\/([0-9]\{2\})\/([0-9]\{2\})#\1-\2-\3#g'
>> 1996/03/10
>
>Oops!  Corrected:
>
>$ <<< '1996/03/10' sed -re
>'s#([0-9]{4})/([0-9]{2})/([0-9]{2})#\1-\2-\3#g'
>1996-03-10
>
>This is why you want to KISS -- use tr, if possible.
>
>Regards,
>- Robert
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Sed syntax error

2016-11-15 Thread Don Buchholz
You need parentheses around the three sub-expressions on the LHS so when you 
try to use \1, \2, and \3 on the RHS, sed will know what matching text to use.

Also, don't forget, you don't have ave to use the / character as an expression 
delimiter ...  If my expressions contain / (e.g. path names), I'll generally 
switch to | or : to save the headache of escaping all the forward slashes.  
E.g.  's: match_expr: replace_expr:' or 's|match this|print that|g'.  

 

On November 15, 2016 10:30:02 AM PST, Rich Shepard  
wrote:
>Trying to change the date format from a forward slash (/) to a dash
>(-).
>There's a syntax error in my sed script: "file change-date-format.sed
>line
>6: invalid reference \3 on `s' command's RHS" and I'm not seeing why.
>Here's
>the script:
>
>#!/usr/bin/sed
>#
># Change date format from / to -.
>
>s/[0-9]\{4\}\/[0-9]\{2\}\/[0-9]\{2\}/\1-\2-\3/g
>
>   Please show me what I've done incorrectly here.
>
>Rich
>
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Enabling bi-directional ssh

2016-11-07 Thread Don Buchholz
On 11/7/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:
>> 
> dafr,
>
> And everyone agrees that when sshd is started it should create the server
> host_keys. Here it ain't doin' that. Sigh.
>
> Thanks,
>
> Rich
>
Have you deleted the existing zero-length files?

___
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 Don Buchholz
Does "env | grep -i ssh" show the two environment variables (IIRC, one is for 
PID, the other points to a socket) ssh-add will need to communicate with the 
agent?


On October 30, 2016 3:24:25 PM PDT, Rich Shepard  
wrote:
>On Sun, 30 Oct 2016, Russell Senior wrote:
>
>> My wild guess would be you typed the wrong passphrase.
>
>   My first thought, too. But, I created the passphrase again, typing
>carefully, and even when typing it one finger at a time for ssh-add it
>kept
>refusing it.
>
>Rich
>
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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 Don Buchholz
Are you sure you want "ssh-agent -k" in .bash_logout?  If you have multiple 
shells open with the same agent, then the first one you exit will kill the 
agent for all of them, right?


On October 30, 2016 12:37:59 PM PDT, Rich Shepard  
wrote:
>On Sun, 30 Oct 2016, Robert Citek wrote:
>
>> This is what I have near the top of my ~/.profile
>> [ -z "$SSH_AGENT_PID" ] && tty -s && exec ssh-agent bash --login
>
>Thanks, Robert. I knew there was more to invoking ssh-agent. I also
>added
>'ssh-agent -k' to ~/.bash_logout.
>
>> Good luck and let us know what works for you.
>
>One host at a time will get ssh and all its parts running ...
>correctly.
>Then I'll have 2-way communication between desktop and portables.
>
>Much appreciated,
>
>Rich
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] booting from RAID1 problems

2016-09-27 Thread Don Buchholz
My first guess is that the motherboards are sufficiently different that the 
initramfs for the old one doesn't contain the correct driver modules for the 
new one.


On September 27, 2016 8:56:57 PM PDT, Russell Senior 
 wrote:
>> "Russell" == Russell Senior  writes:
>
>Russell> I have a debian box (v7.11, says /etc/debian_version) that is
>Russell> built on top of a RAID1 array, including the root filesystem.
>Russell> It has been perking along pretty reliably for years.  Recently
>Russell> there was a problem with the motherboard (it doesn't power-up
>Russell> anymore, tried replacing the power supply, still nothing). 
>So,
>Russell> I ran down to Free Geek and grabbed one of their $100 Dell
>Core
>Russell> 2 Due boxes and plugged the two SATA hard disks into the Dell,
>Russell> so far so good.  But it is having trouble finding the arrays
>Russell> and therefore can't find the root filesystem.  I also get a
>Russell> busybox error that says: "/bin/sh: can't access tty; job
>Russell> control turned off" and I get an unresponsive prompt:
>Russell> "(initramfs)"
>
>Russell> It seems like it ought to work, since the disks are the same,
>Russell> all the configuration should be self-contained.  I get a grub
>Russell> menu, so it's reading the disk.  I've tried modifying the
>Russell> kernel commandline within grub to use /dev/md0 as the rootfs
>Russell> instead of the uuid.  It seems like the arrays aren't being
>Russell> re-assembled, but debugging output is so limited I can't
>really
>Russell> tell what is going wrong.  I can live-boot an Ubuntu USB
>stick,
>Russell> and can reassemble the arrays, they are clean, I've made
>Russell> backups of the files.  So WHY no workie?  The partititions are
>Russell> raid-autodetect (or whatever that's called), and the arrays
>are
>Russell> metadata v0.9.
>
>At some point during failure, I see:
>
>  Loading, please wait...
>  modprobe: module unix not found in modules.dep
>  mdadm: No devices listed in conf file were found.
>  Gave up waiting for root device.  Common problems:
>   - Boot args (cat /proc/cmdline)
>- Check rootdelay= (did the system wait long enough?)
>- Check root= (did the system wait for the right device?)
>   - Missing modules (cat /proc/modules; ls /dev)
>  ALERT! /dev/disk/by-uuid/ does not exist.
>  Dropping to a shell!
>  modprobe: module i8042 not found in modules.dep
>  modprobe: module atkbd not found in modules.dep
>  modprobe: module ehci-hcd not found in modules.dep
>  modprobe: module uhci-hcd not found in modules.dep
>  modprobe: module ohci-hcd not found in modules.dep
>  modprobe: module usbhid not found in modules.dep
>
>
>  BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
>  Enter 'help' for a list of built-in commands.
>
>  /bin/sh: can't access tty: job control turned off
>  (initramfs) _
>
>
>
>-- 
>Russell Senior, President
>russ...@personaltelco.net
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Gkrellmd on RPi

2016-09-25 Thread Don Buchholz
Excellent, Chuck!  Good to see the problem resolved.
- Don

On 9/24/2016 5:35 PM, Chuck Hast wrote:
>
> On Sat, Sep 24, 2016 at 4:27 PM, Don Buchholz <buchh...@easystreet.net 
> <mailto:buchh...@easystreet.net>> wrote:
>
> netstat -an -A inet
>
>
> Here is what it gave me:
>
> pi@kp4djt-dns:~ $ netstat -an -A inet
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address   Foreign Address State
> tcp0  0 127.0.0.1:19150 <http://127.0.0.1:19150> 
> 0.0.0.0:*   LISTEN
> tcp0  0 0.0.0.0:53 <http://0.0.0.0:53> 
>  0.0.0.0:*   LISTEN
> tcp0  0 0.0.0.0:22 <http://0.0.0.0:22> 
>  0.0.0.0:*   LISTEN
> tcp0172 192.168.7.2:22 <http://192.168.7.2:22> 
> 192.168.7.62:45784 <http://192.168.7.62:45784>ESTABLISHED
> tcp0  0 192.168.7.2:22 <http://192.168.7.2:22> 
> 192.168.7.51:56086 <http://192.168.7.51:56086>ESTABLISHED
> tcp0  0 192.168.7.2:22 <http://192.168.7.2:22> 
> 192.168.7.51:56088 <http://192.168.7.51:56088>ESTABLISHED
> udp0  0 0.0.0.0:67 <http://0.0.0.0:67>  0.0.0.0:*
> udp0  0 0.0.0.0:68 <http://0.0.0.0:68>  0.0.0.0:*
> udp0  0 192.168.7.2:123 <http://192.168.7.2:123> 
> 0.0.0.0:*
> udp0  0 127.0.0.1:123 <http://127.0.0.1:123>   
> 0.0.0.0:*
> udp0  0 0.0.0.0:123 <http://0.0.0.0:123> 
> 0.0.0.0:*
> udp0  0 0.0.0.0:5353 <http://0.0.0.0:5353>   
>  0.0.0.0:*
> udp0  0 0.0.0.0:59806 <http://0.0.0.0:59806>   
> 0.0.0.0:*
> udp0  0 0.0.0.0:53 <http://0.0.0.0:53>  0.0.0.0:*
>
> As you can see the very first entry is localhost and the 19150 port is 
> the one
> set up in the gkrellmd.conf file.
>
> Here is one from another RPi I am using as a test bed. The first one 
> is also
> my DNS/DHCP/NTP server.
>
> pi@rpi02:~ $ netstat -an -A inet
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address   Foreign Address State
> tcp0  0 0.0.0.0:19150 <http://0.0.0.0:19150> 0.0.0.0:* 
>   LISTEN
> tcp0  0 0.0.0.0:22 <http://0.0.0.0:22>  0.0.0.0:* 
>   LISTEN
> tcp0280 192.168.7.127:22 <http://192.168.7.127:22> 
> 192.168.7.62:49438 <http://192.168.7.62:49438>  ESTABLISHED
> udp0  0 0.0.0.0:68 <http://0.0.0.0:68>  0.0.0.0:*
> udp0  0 192.168.7.67:123 <http://192.168.7.67:123>   
>  0.0.0.0:*
> udp0  0 192.168.7.127:123 <http://192.168.7.127:123> 
> 0.0.0.0:*
> udp0  0 127.0.0.1:123 <http://127.0.0.1:123> 0.0.0.0:*
> udp0  0 0.0.0.0:123 <http://0.0.0.0:123> 0.0.0.0:*
> udp0  0 0.0.0.0:5353 <http://0.0.0.0:5353>  0.0.0.0:*
> udp0  0 0.0.0.0:56161 <http://0.0.0.0:56161> 0.0.0.0:*
>
> Again you can see the very first entry though this time 0.0.0.0 is the 
> same
> port for gkrellmd. So it is shown in both of them
>
> -- Did not send this so added the update to it. -
>
> OK, I appear to have found it, checked my machines that were working and
> they all had the entry
> #address 127.0.0.1
> as
> address 127.0.0.1
> As soon as I put a octothorp in front of it and restarted the service, 
> l got joy.
>
> Now I can watch my little server remotely from other parts of the house
> while I learn more about how it is doing.
>
> I use Hughesnet as my internet provider, sucks but seems like the ISP's
> around here only go after the ground level fruit, I live only 4 miles 
> from town
> (including curves) and we can not even get stinking DSL here. I caught a
> centurylink tech working at a dmark box at the top of the hill, and asked
> him about it, he told me he had been hollering at management for ages
> now but they were concentrating on the high population centers, I asked
> about the Universal Fund monies, he said it was all going to Portland and
> Vancouver. I think I will demand a refund.
>
> Anyhow I replaced my Netgear router with a Mikrotik and outboarded the
> DNS/DHCP/NTP parts to a RPi, and between offloading those services to
> another box, reducing the amount of queries that had to go over that 
> satellite
> link and possibly getting rid of some bufferbloat, it runs much more 
> smoothly,
> and those places I go to a lot are of course a lot faster.
>
>
> -- 
>
> Chuck Hast  -- KP4DJT --
> Glass, five thousand years of history and getting better.
> The only container material that the USDA gives blanket approval on.
>
>

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


Re: [PLUG] Gkrellmd on RPi

2016-09-24 Thread Don Buchholz
To see what ports are open for communication, try using something like  
"netstat -an -A inet".  (On the road, so no system with man pages available.  
If I botched the area, you'll have to read the manpage.).  'lsof' might be 
useful, if you can give it a PID as an argument ...

On September 24, 2016 4:17:32 PM PDT, Chuck Hast  wrote:
>No, that was the first thng I tried, you have to set it up. Funny thing
>is
>that I
>can run gkrellmd on a linux box and reach out to it from the RPi, but I
>can
>not get to gkrellmd on the RPi. I can see gkrellmd running in TOP but I
>am
>wondering if it is reading the config file.
>
>
>On Sat, Sep 24, 2016 at 1:44 AM, Tom 
>wrote:
>
>> Firewall on Pi?
>>
>> Can you connect to gkrellmd locally?
>> If yes, look at Pi's system logs to see if the firewall is dropping
>> your gkrellm client connection requests.
>>
>> T
>>
>> On Thu, 2016-09-22 at 23:21 -0700, Chuck Hast wrote:
>> > Folks,
>> > I have been trying to run gkrellmd on some RPi's. But when I try to
>> > connect
>> > to the gkrellmd daemon, I get "broken server connection" I have
>> > installed
>> > gkrellmd on some other Linux machines here and I am able to connect
>> > to
>> > those and view the gkrellm output. Indeed I gan go from the RPi to
>> > the
>> > laptops/desktops and I can connect to the gkrellmd in all.
>> >
>> > Gkrellmd is running on the RPi's I can see it in TOP. I just can
>not
>> > connect to it. Any ideas?
>> > ___
>> > 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
>>
>
>
>
>-- 
>
>Chuck Hast  -- KP4DJT --
>Glass, five thousand years of history and getting better.
>The only container material that the USDA gives blanket approval on.
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Linux and AWS: Cloud Chronicles

2016-08-31 Thread Don Buchholz
On 8/30/2016 11:40 PM, Michael Dexter wrote:
> On 8/30/16 1:23 PM, Paul Heinlein wrote:
>> Amazon's services are often expensive compared to the cost of running
>> those services in-house on bare metal -- but once you factor in the
>> costs of leasing space and building out your own data center, they
>> become reasonable.
> Funny you should say that. I work with a storage vendor and while the
> "cloud" on-demand model works great for compute, it falls down
> completely for storage. A napkin-math calculation for 16TB allowed you
> to buy a new small NAS system every two or three months. :)
>
> Michael

I'm curious.  Did the back-o-the-napkin estimate include operational 
costs?  Backups, backup verification, offsite storage and the cost of 
the connection (it may be a courier van or more bandwidth) to move the 
data offsite ... and restore in a reasonable amount of time?  I haven't 
run the numbers ... but am reminded how often systems are purchased on a 
budgets which assume ops/maintenance will "just happen".
Cheers,
- Don

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


Re: [PLUG] Where are 'at' commands stored?

2016-07-28 Thread Don Buchholz

use the "atq" command to list the at job queue

use "atrm" to remove a job

Hint:  try "man at" ...


On 7/28/2016 6:56 AM, Rich Shepard wrote:
> I use 'at' to schedule one-off jobs by passing the command the file to run
> and the time. What I've not been able to find is where the command is stored
> until it's run. Can I find it in crontab?
>
> I'd like to know this in case I want to cancel the scheduled job before
> it's run.
>
> 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] Rsync user confusion: Who is user 1026?

2016-07-11 Thread Don Buchholz

I think you're really close ...

(1)
 sudo mount -t nfs 192.168.0.101:*/*volume1/Synology /media/jjj/Synology

... that little "/" in front of 'volume1' could be important.


(2)
 You might want to clean-up the exports list ...
  ... just to get started, put *only* the IP address for
  the client host (the system on which you are running
  the 'mount' command)
  ... if it will allow, you can try "192.168.0/24" or
  "192.168.0.*"  --  I can't speak for Synology's
  implementation specifics.

(3)
 Is there any kind of firewall running on your client host?






On 7/11/2016 6:47 PM, John Jason Jordan wrote:
> On Mon, 11 Jul 2016 18:07:23 -0700
> Don Buchholz <buchh...@easystreet.net> dijo:
>
>> (3) Try this command (as 'root'!) to see what the NAS is making
>>  available to mount with the NFS protocol:
>>
>>  showmount -e 192.168.0.101
> Export list for 192.168.0.101:
> /volume1/Synology *.*.*.*,192.168.0.136,192.168.0.146,192.168.0.126
> /volume1/Synology_NFS 192.168.0.126,192.168.0.146,192.168.0.101
>
> Note that the above lists all kinds of attempts by me - adding IP
> addresses for my laptop (...126), desktop (...146) and even *.*.*.*,
> plus creating a second share Synology_NFS. All to no avail so far.
>
> I should add that I didn't notice that you said 'as root' so I ran it
> as jjj, and later as root. The results were the same.
>
> And seeing the results I amended my mount command to
>
> sudo mount -t nfs 192.168.0.101:volume1/Synology /media/jjj/Synology
> sudo mount -t nfs 192.168.0.101:volume1 /media/jjj/Synology
>
> But I still get 'access denied by server.'
>
>> (2) About your local mount point ...
>>  I'd suggest:
>>  mkdir /synology
>> / ... makes a new mount //point/
> Didn't make any difference, not that I expected it to. I have lots of
> things mounted in /media/jjj - USB drives mostly.
>
> I should add that I get the same results from my desktop computer (also
> Xubuntu 14.04).
>
___
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 Don Buchholz

(1) "only root can do that ..."
 -- um, yes, generally, only 'root' is allowed to perform
mount(8) commands
 -- so, you need to become 'root'
  (a) login to the console as 'root', -OR-
  (b) execute the command "su -" and enter root p/w
  when prompted, -OR-
  (c) prefix everything with "sudo" (as you've done in
  earlier messages to this forum

(2) "the extra '/' ..."
 -- you're right, it shouldn't be there ...


(3) Try this command (as 'root'!) to see what the NAS is making
 available to mount with the NFS protocol:

 showmount -e 192.168.0.101


(4) In it's most simple form, the mount(8) command is parsed as

 mount

 "mount" --> the command

 ""  -->  When mounting a partition
  from a local disks the argument will look something
  like "/dev/sda1"/.  When mounting an NFS filesystem,
  it will look like "server:/path".

  In your case, "server" is '192.168.0.101' and the
  "path" is 'Synology'.

 ""  --> "/media/jjj/Synology".


 So, putting it all together ...

 mount 192.168.0.101:/Synology /media/jjj/Synology



Now -- I see two possible problems ...

(1) The 'path' on the NAS might not by "/Synology".

 This is why I suggest you do the "showmount -e 192.168.0.101".
 It should tell you what path(s) are being exported.


(2) About your local mount point ...

 With all the GUI and hand-holding crap that goes on with
 these modern distros (what in the heck is a 'Thunar' anyway?)
 some areas of the filesystem fall under 'special' management
 [cue Dana Carvey Church Lady voice when you say 'special'].

 "/media" is probably one of those areas ...

 I'd suggest:

 mkdir /synology
/ ... makes a new mount //point/

 mount -t nfs  192.168.0.101:/Synology  /synology
/ ... mounts NAS filesystem onto /synology (assuming
  we've got the correct name for the path begin
  exported -- see the "showmount -e 192.168.0.101"
  results.
/

 df -t nfs
/ ... displays "disk-free" on all mounted filesystems
  of type (-t) "nfs"/



On 7/11/2016 5:37 PM, John Jason Jordan wrote:
> On Mon, 11 Jul 2016 18:04:41 -0500
> David Fleck  dijo:
>
>> 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.
> Thank you, I had not yet found that.
>
> I read through the whole thing and followed the instructions to the
> letter, but I still get 'access denied by server.'
>
> I should add that their instructions say the mount command should be
> (copied and pasted):
>
>   mount [Synology NAS IP address] : [mount path of shared
>   folder] / [mount point on NFS client]
>
> Thus my command should be
>
>   mount 192.168.0.101:Synology / /media/jjj/Synology
>
> Note the extra / between the source and the destination. If I add it
> the mount command fails completely and displays help information. The
> extra / can't be right.
>
> And when I try it without the extra / it generates 'only root can do
> that.' If I preface it with sudo or do sudo su to root, then I get
> 'access denied by server.'
>
> At the very end of the instructions it says "Can't mount the shared
> folder? The user account you enter here must have access privileges for
> the shared folder that you wish to map." I'm not sure where 'here' is,
> the NAS or my command line? In any event, when I initially set up the
> NAS with the Synology DiskStation Manager it came with an admin and a
> guest account and I added an account 'jjj.' I gave all of them every
> permission I could find.
>
> I recently discovered a user forum on Synology's website. My next
> effort wll be to post my tale of woe there.
> ___
> 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] Rsync user confusion: Who is user 1026?

2016-07-11 Thread Don Buchholz
On 7/11/2016 10:34 AM, John Jason Jordan wrote:
> On Sun, 10 Jul 2016 23:02:13 -0700
> Bill Barry  dijo:
>
>> On Sun, Jul 10, 2016 at 10:42 PM, John Jason Jordan
>>  wrote:
>>> I have discovered something that I should have noticed a long time
>>> ago, that is, that the entire drive is owned by root. That would
>>> explain the fact that   the -o --owner and -g --group options are
>>> not working in rsync, leaving the owner of the files the mysterious
>>> user 1026. (I'm betting user 1026 is root on my Xubuntu.) "And why
>>> is the drive owned by root?" you ask. That is because the only way I
>>> could mount it was with sudo.
>> The problem is not quite that the entire drive is owned by root. The
>> underlying problem is that you are trying to rsync to a windows type
>> file system. Or probably more correctly what is presented to you as a
>> windows file system.  This will prevent you from correctly preserving
>> owners and groups and such because windows has a different notion of
>> such things.   If you want to preserve those file attributes, you
>> would be better off mounting the drive as an NFS drive if the Synology
>> allows for that.
> The Synology does provide NFS and, in fact, in my initial setup with
> the DiskStation Manager utility I enabled both SMB and NFS.
>
> Now the question is how to mount it with NFS instead of SMB. I scoured
> the DiskStation Manager Help and didn't find a word about how to mount
> the share with NFS, just lots of stuff about setting permissions. I
> suppose that is because mount commands probably vary from OS to OS.
>
> This is the command that mounts it with SMB:
>
> sudo mount.cifs //synology.local/synology/ /media/jjj/Synology/
>   --verbose -o user=jjj
>
> I assume I have to change either 'mount.cifs' or
> '//synology.local/synology/. So far Google hasn't been much help.
> ___
Based on your 'mount.cifs' command ...

 sudo mount -t nfs synology.local:/synology /media/jjj/Synology

To auto-magically mount at boot time ... put this In the /etc/fstab (see 
"man fstab").

 synology.local:/synology  /media/jjj/Synology nfs 
auto,defaults  0  0

 column#1:  -->  hostname:/path/on/server
 column#2:  -->  local mount point
 column#3:  -->  filesystem type (in this case "nfs")
 column#4:  -->  mount options:
  "auto" -->  mount at system boot time
  "defaults"  --> just use the normal default
  options for thefilesytems type
  being mounted ...
 column#5:  --> used for the dump(8) backup program. Leave
it as "0" ...

 column#6:  --> As the system boots, local filesystems may be 
checked for
consistency/integrity.  This really doesn't 
apply to remote
(CIFS or NFS) filesystems.  Leave it as "0" ...


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


Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive

2016-07-09 Thread Don Buchholz
Make sure any stale entries have been cleared from /etc/fstab and then reboot.

On July 9, 2016 5:26:34 PM PDT, John Jason Jordan  wrote:
>On Sat, 9 Jul 2016 16:53:54 -0700
>John Jason Jordan  dijo:
>
>>On Sat, 9 Jul 2016 16:40:02 -0700
>>Bill Barry  dijo:
>>
>>>Check to see if the cifs-utils package is installed.
>
>Not quite solved. After installing cifs-utils I ran the command, but I
>didn't realize that the last time I ran the mount command I was trying
>to mount it in /mnt - so that is where it mounted it. Realizing my
>error I ran the command again and mounted it in /media/jjj/Synology. So
>then I needed to umount it from /mnt, but the umount command didn't
>like that:
>
>jjj@Devil-Bonobo:/media/jjj$ umount //synology.local/synology/
>   umount: it seems //synology.local/synology/ is mounted multiple
>   times
>
>I solved this problem with the -f (force) option. That umounted it from
>both places. Then I remounted it just in /media/jjj/Synology. I thought
>all was solved but now Thunar won't display the filesystem. The error
>message is 
>
>Failed to open directory "Filesystem"
>Error when getting information for file '/mnt': No such device.
>
>I tried mkdir /mnt, but I got 'cannot create directory '/mnt': File
>exists.'
>
>Now what?
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Cannot get to printer

2016-07-03 Thread Don Buchholz
Just in case systemd is wrong ...
1) ps ax | grep cup
2) grep -r cup /var/log 

I'm not familiar w/ Ubuntu/Debian, but the first command is simply looks for 
anything in the process table that matches 'cup'.  The second command does a 
recursive search for the pattern in your log files/folder.



On July 3, 2016 11:03:05 AM PDT, Denis Heidtmann  
wrote:
>On Sat, Jul 2, 2016 at 11:05 PM, John Meissen  wrote:
>
>>
>> denis.heidtm...@gmail.com said:
>> > That is what I did:
>> > sudo systemctl stop cups.service:
>> >no messages in response.
>> > sudo systemctl restart cups.service.
>> >Msg: "failed to restart cups.service unit cups.service is
>masked"
>>
>> Have you tried
>>
>>   sudo systemctl unmask cups.service
>>
>>   sudo systemctl enable cups.service
>>
>
>That sounded like a good idea, but this is what I get:
>~$ sudo systemctl unmask cups.service
>[sudo] password for denis:
>Removed symlink /etc/systemd/system/cups.service.
>
>~$   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
>
>No dice.  The GUI reports "Printing service is not available.  Start
>the
>service on this computer or connect to another server."
>
>The button for "start service" is not active.  If I choose connect, I
>get:
>failed to connect to server.
>
>Aside from fixing this, I wonder what broke it?
>
>-Denis
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Show of hands/poll on tcpdump

2016-06-27 Thread Don Buchholz
comfortable
-- filtering on host name/IP, protocol (IP, IPv6, TCP, UDP, ARP 
...), port, or MAC address
-- more complex filtering (packet inspection) will require 
(man+Google)-Fu

On 6/27/2016 10:55 AM, Michael Rasmussen wrote:
> If asked to self assess your tcpdump comfort level would you reply with:
>
>   * I'm great, what do you need done?
>   * I'm comfortable, can do capture with filtering
>   * I'm rusty, but could spin up quick
>   * Only use it with the man page handy for reference
>   * tcpwhat?
>
> Back story after a few responses roll in.
>

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


Re: [PLUG] Needed: Virtual OS Driver [UPDATE]

2016-06-26 Thread Don Buchholz
On 6/26/2016 5:49 PM, Rich Shepard wrote:
> On Sun, 26 Jun 2016, Don Buchholz wrote:
>> What distro is this?  Can you run the "virt-manager" GUI tool?
> Slackware-14.1/x86_64.

Umm, OK.  I've been doing quite a bit of (simple) KVM work
w/ Fedora/RHEL-6.x/RHEL-7.x lately.  If you're in a Red Hat
environment, and not used to KVM, the 'virt-manger' GUI
can sure simplify things.  I'm not sure that Slackware
supportsit though ...

>> Rather than 'virtio_net' have you tried specifying an emulated
>> hardware option (e.g. have the QEMU/KVM system tell it's VM
>> that's actually an Intel 'e1000' device)?
>>
>> No. I haven't. I'll look for more on the qemu document site tomorrow.
>>
>> Thanks,
>>
>> Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Needed: Virtual OS Driver [UPDATE]

2016-06-26 Thread Don Buchholz

Rich,

What distro is this?  Can you run the "virt-manager" GUI tool?

Rather than 'virtio_net' have you tried specifying an emulated
hardware option (e.g. have the QEMU/KVM system tell it's VM
that's actually an Intel 'e1000' device)?

- Don



On 6/26/2016 5:18 PM, Rich Shepard wrote:
> On Sun, 26 Jun 2016, Rich Shepard wrote:
>
>>I'm totally stumped. The script needs 'mynet1' as the netdev name so I've
>> no idea what else should be modified.
> A bit closer now. I commented out the bottom two lines of the script and
> replaced the next to last following the example on the qemu doc page:
>
> -netdev user,id=mynet0,net=192.168.55.0/24,dhcpstart=192.168.55.75\
>
> Now IE loads, but still cannot open a web page. When the OS looks for
> reasons all they can suggest is to power down the DSL bridge and bring it
> back up. Sheesh! That's Microsoft's solution to everything: reboot or
> upgrade with new hardware.
>
> Enough for today. Thanks, everyone, I'll get back to this some time
> tomorrow after I get some work done.
>
> 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] Cron advice needed

2016-04-26 Thread Don Buchholz
Are you sure it's a zero and not the letter 'O'?   Are there any spaces to the 
left of the '0'?  

On April 26, 2016 8:50:30 PM PDT, John Jason Jordan  wrote:
>On Tue, 26 Apr 2016 19:56:14 -0700
>John Jason Jordan  dijo:
>
>>>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.
>>
>>OK, I changed it to:
>>
>>  rsync -avx --delete /home/jjj/Mail/ /media/jjj/Data/Mail
>>
>>And it seems to be working. 
>
>I spoke to soon. It worked fine when I ran it directly from the command
>line, but crontab pukes it up:
>
>jjj@Devil-Bonobo:/media/jjj$ crontab -e
>crontab: installing new crontab
>"/tmp/crontab.xbNVsm/crontab":0: bad minute
>errors in crontab file, can't install.
>Do you want to retry the same edit? (y/n) y
>
>This is the line in crontab:
>
>0 3 * * * rsync -avx --delete /home/jjj/Mail/ /media/jjj/Data/Mail
>
>The 'minute' is 0, which worked before. 
>
>Suggestions?
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Cron advice needed

2016-04-26 Thread Don Buchholz
On 4/26/2016 4: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.
I suspect the reason for this is that rsync(1) will
first scan the folder hierarchy being copied, and
then begin the data transfer.  If anything changes
between the initial scan and before rsync(1) is
finished copying, you will get "diagnostic" messages.

>
> 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. :(
> ___
> 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] Cron advice needed

2016-04-25 Thread Don Buchholz
On 4/23/2016 9:36 AM, Michael Rasmussen wrote:
> On Sat, Apr 23, 2016 at 09:22:25AM -0700, John Jason Jordan wrote:
>> The command executed, but this morning I decided to enhance it by
>> adding your handy reminder and a couple additional # lines copying and
>> pasting your explanation of '-auf' for future reference. When I went to
>> save my crontab to disk (Crtl-o in nano) I noticed from the prompt that
>> nano wanted to write the file as:
>>
>>  /tmp/crontab.2Atvun/crontab
>>
>> This puzzles me. I thought things in /tmp were only for temporary use.
>> Why is the file saved to /tmp? Shouldn't it be saved to someplace in ~/?
> the command `crontab -e` creates a copy of your crontab file in /tmp.
> After you complete your editing and save it the crontab program checks it for
> validity before copying the version in /tmp to the real crontab - in your 
> example
> it is probably /var/spool/cron/jjj or /var/spool/cron/crontabs/jjj
>
> No, not in ~/ the folks who created cron decided that all cron files on a 
> system
> should be stored in the same place.

In a true NFS environment, you would almost certainly not want
your crontab kept in $HOME.  Consider an network with ~100 work-
stations and a single NFS server providing $HOME for the entire
userbase.  When you schedule a task for 3pm, which one of the
100+ systems should run that job?  This is why job scheduling
is managed on a local filesystems (e.g. /var, /etc, ...).


___
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 Don Buchholz
Was that "25Mbps up" or "up to 25Mbps up"?  Those two little syllables ...

On February 16, 2016 9:13:12 PM PST, John Jason Jordan  
wrote:
>On Tue, 16 Feb 2016 20:43:43 -0800
>Jim Garrison  dijo:
>
>>On 2/16/2016 8:39 PM, Jim Garrison wrote:
>>> On 2/16/2016 8:18 PM, John Jason Jordan wrote:
 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.
>>> 
>>> Hmmm... I've never seen any Comcast service that offers 25Mbps
>>> upload. In fact the plan descriptions list only download speeds and
>>> not upload. They seem to have scrubbed the website of any mention of
>>> upload speed. Maybe that is so they can mess with upload speeds at
>>> will and not have to tell you?
>>> 
>>> I'd suggest that if rebooting the modem doesn't fix the problem it's
>>> time for a chat with Comcast support.  Yes, I know a root canal
>>> without anaesthetic would be less painful.  Sorry.
>>> 
>>
>>Just FYI, my account page says I have "Pro 75" service.  I just tested
>>and got 89 Mbps down and 6.1 Mbps up, which is what I've been seeing
>>consistently since the last bump a few months ago.
>
>Thanks for the observations. 
>
>I did call them this morning, mostly to bitch about my bill, where they
>had added $2 per month because I was not using the Cable TV box that
>they sent me six months ago. During the conversation I asked what
>service I had and they said 'Performance-75.' I asked what speed that
>entitled me to and they said 50-75 Mbps down and 25 Mbps up. 
>
>I don't usually need the full 25 Mbps up, but when I have just
>downloaded the latest Ubuntus via torrent the uploads reach that
>quickly, and I seed forever. I have definitely seen Ktorrent list the
>total upload speed at 3 MBps (Ktorrent switches Mbps to MBps when
>over 1024 Mbps). 
>
>Considering that your test results are similar to mine, I wonder if
>Comcast is doing the same thing to both of us. Also, the paranoid part
>of my brain remembers when Comcast was shaping traffic to discourage
>torrents. Makes me wonder.
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] File won't stay deleted

2016-02-10 Thread Don Buchholz
... also,
   # cd /var/log
   # grep -r 
If some daemon is responsible for restoring it, maybe it's logging the event.
-Don
P.S.  I know there is interest in figuring out "why?", but I still think that 
nuking it in single-user mode would be a good test ...

On February 10, 2016 7:12:00 PM PST, Bill Barry  wrote:
>On Wed, Feb 10, 2016 at 7:01 PM, John Jason Jordan 
>wrote:
>> We shall see what happens.
>
>The output of lsof would be useful. Try something like
>lsof | grep -i filename
>to see if something has the file open.
>
>Bill
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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 Don Buchholz
On 2/9/2016 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?

1)  Shutdown.
2)  Reboot into single-user mode.
3)  Login as 'root'.
4)  Use "rm -f" to delete the file.

___
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 Don Buchholz
On 12/29/2015 8:18 AM, Don Buchholz wrote:
> On 12/29/2015 12:06 AM, Russell Senior wrote:
>>>>>>> "johnxj" == johnxj  <joh...@comcast.net> 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
>>
>> by itself and paste the results.
> "eject  ..." is the terminal command to eject media (optical disks, USB
> sticks, external drives, etc.).  What you type after "eject" will depend
> on the output from the "mount" command that Russell has requested.
> The output of "fdisk" can often be helpful, too ...
Um, that's  "fdisk -l"     (Sorry, a bit of a caffeine deficiency 
still.)

- Don
___
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 Don Buchholz
On 12/29/2015 12:06 AM, Russell Senior wrote:
>> "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
>
> by itself and paste the results.
>
>

"eject  ..." is the terminal command to eject media (optical disks, USB
sticks, external drives, etc.).  What you type after "eject" will depend
on the output from the "mount" command that Russell has requested.
The output of "fdisk" can often be helpful, too ...

- Don
___
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 Don Buchholz
On 12/22/2015 9:44 PM, Richard Owlett wrote:
 >  I'm a senior citizen who has been referred to as living "out past
 >  Estacada, even."  As a convert from Windoz(tm) to *nix I presume
 >  "do 1 thing. Do it well." Elderly relatives demand that I obtain cell
 >  connectivity. I will cave in to their demands *IF* I can find a hand
 >  held object capable of placing VOICE telephone calls that is *NOT*
 >  a disguised main-frame of yesteryear.
 >
 > Signed "Frustrated Yankee living in 'Show Me State" ;
 >

If you're truly "out past Estacada", do you even have decent cell
coverage?  I've got relatives in Scotts Mills who get nada from AT
and Verizon connectivity is spotty -- both spatially and temporally.
I wouldn't waste a moment looking for a cell phone until I've asked
the neighbors what they use.

- Don


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


Re: [PLUG] Small network managed switch?

2015-11-16 Thread Don Buchholz
They track more than traffic.  They also track errors, types of errors, and 
traffic statistics are often broken down into different packet sizes. 

 VLANs are another reason to need a managed switch.

On November 16, 2015 9:20:28 AM PST, wes  wrote:
>>
>>
>>
>> One member of the family that owns the plant also owns some sort of a
>> business computing consulting or services company. He wishes that I
>had
>> used a managed switch so he could know how busy my network was and I
>> don't know what else a managed switch would tell him.
>>
>>
>A managed switch offers tracking of the traffic on each port,
>accessible
>via SNMP so you can easily create graphs and such.
>
>-wes
>___
>PLUG mailing list
>PLUG@lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] boot failure

2015-11-04 Thread Don Buchholz

The "attempt to read/write outside of 'hd0'" message
has me thinking your Grub installation was/is bad.
Maybe a fresh "grub2-install" will fix it?

I was wondering about the partition table, but if fsck(8)
was able to scan/fix the partition(s), then the partition
table data is probably OK.  The corrupt data in the
'sda1' filesystem isn't good.  Do you suspect that
power was simply yanked from it at one point?  Is
there any other reason why the data on your disk
might be corrupt?


On 11/4/2015 6:46 PM, Denis Heidtmann wrote:
> Thanks for the information.  I have been running the system on the dvd for
> a number of hours without incident.  I just ran sudo fsck.ext4 -fv
> /dev/sda1.  There were a number of errors, but nothing which looked very
> serious to me.  (All errors corrected.)  I should have captured the reports
> to a file, but instead I took two photos. Errors were inodes part of a
> corrupted linked list, inode w/zero dtime, block bitmap differences, free
> blocks count wrong, inode bitmap differences, free inodes count wrong.
> There were no bad blocks.  If the details are important I expect I can get
> the photos up.
>
> I should point out that this HD is new as of August, as is the OS (ubuntu
> 14.04 replacing 12.04).
>
> Assuming I have been hacked, how do I recover?  (I have not tried to reboot
> since running fsck.)
>
> Thanks again for your advice.
>
> -Denis
>
> On Thu, Nov 5, 2015 at 2:20 AM, Mark Phillips 
> wrote:
>
>> Denis,
>>
>> Be sure you ran the system with the CD 12.04 for awhile, and you used the
>> system as you normally use it. If you have a heat problem, you need to
>> exercise your system as much as possible to see if the problem reappears.
>>
>> You can run diagnostics on your hard drive from the CD to see if you have a
>> HD problem. Someone on the list will know more about disk utilities on your
>> CD than I do.
>>
>> If there is no heat issue and no HD issues, then you may have been hacked.
>>
>> Mark
>>
>> On Wed, Nov 4, 2015 at 2:21 PM, Denis Heidtmann > wrote:
>>
>>> Now there is something I can do.  CD 12.04 seems to run fine.  So you
>> would
>>>   point to SW.  How about the HD?  Is there a chance that an intruder
>> mucked
>>> things up?  Our system is not on line all the time--only when it is use.
>>>
>>> What to do next?
>>>
>>> Thanks so much.
>>>
>>> Gotta go now, but will be back this evening.
>>>
>>> -Denis
>>>
>>> On Wed, Nov 4, 2015 at 1:08 PM, Nat Taylor  wrote:
>>>
 A live cd or live usb stick running properly would tell u your issue is
 software.  If it locks up too heat or power supply could be the
>> culprit.
 On Wednesday, November 4, 2015, King Beowulf 
 wrote:

> On Wednesday, November 4, 2015, Denis Heidtmann <
 denis.heidtm...@gmail.com
> >
> wrote:
>
>> The precursor may or may not be related.
>>
>> I discovered that my wife's gmail had been accessed by an iphone on
 Nov,
>> 1.  We have no iphone, and were home alone at the time listed.  So
>> I
>> changed the pass word.  Then tried to open firefox.  Would not
>> load.
>> Nothing would work, except the mouse pointer would move around.
>> Had
>>> to
> use
>> the power button to restart.  Now I get error: attempt to read or
>>> write
>> outside of disk 'hd0'.  Entering rescue mode.  grub rescue>
>>
>> Yesterday the computer froze in a similar fashion when my wife was
> looking
>> at email in evolution.  A power switch intervention was required,
>> but
 it
>> booted fine at that time.
>>
>> So the two incidents point to hardware problems or intrusion?
>>
>> I have googled for grub rescue recovery, but what I found was aimed
>>> at
>> people with more understanding than I have.
>>
>> Are there suggestions that someone here can offer?
>>
>> thanks,
>> -Denis
>>
> sounds like overheating. When was the last time you cleared out the
>>> dust
> and checked CPU fan?  The thermal compound btween heat sink and CPU.
>>> will
> get brittle over time as well.
>
> -Ed
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Running X application on remote host

2015-10-23 Thread Don Buchholz
Red Hat / CentOS systems will require xorg-x11-xauth be installed ...

On 10/23/2015 7:33 AM, Rich Shepard wrote:
> Until I purchase a new video card for my desktop I'm working on my laptop.
> Access to alpine is via ssh, and I want access to a couple of business
> applications on the blind server using X-forward.
>
> From the local rxvt I enter 'ssh -X salmo', enter my passphrase and see
> that salmo cannot open the display. Does this indicate that X11-forwarding
> is not enabled on salmo, or another condition?
>
> 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] Mail rejected - advice to resolve?

2015-08-02 Thread Don Buchholz
Michael,

You might want to re-consider your .sig block.  Using one of the Seven 
Words (see George Carlin) can trigger a lot of message content filters.

- Don


On 8/1/2015 9:16 PM, Scott Bigelow wrote:
 When I ran an e-mail server for a small company, MSN/Hotmail/Outlook was
 the worst for actually receiving e-mails. Even though we never sent spam,
 we had to go through this whole approval process, mostly tied to the IP.
 Periodically, we fell off for no reason and had to reapply, messages being
 rejected for days at a time. We ended up creating a postfix transport that
 relayed messages destined for those domains through Amazon SES, with all
 others going directly to the destination mail server..

 On Sat, Aug 1, 2015 at 5:52 PM, Michael Rasmussen mich...@jamhome.us
 wrote:

 Forgot to mention I am starting down the path described at:
  http://www.rackaid.com/blog/hotmail-blacklist-removal/

 On Sat, Aug 01, 2015 at 05:40:15PM -0700, Michael Rasmussen wrote:
 Hotmail thinks I'm a nefarious netizen.

   The mail system

 tonyhilre...@hotmail.com: host mx1.hotmail.com[65.55.92.136] said:
 550 SC-001
 (SNT004-MC1F37) Unfortunately, messages from 173.246.104.35 weren't 
 sent.
 Code 550 SC-001 is:

  Mail rejected by Outlook.com for policy reasons. Reasons for rejection
  may be related to content with spam-like characteristics or IP/domain
  reputation. If you are not an email/network admin please contact
  your Email/Internet Service Provider for help.

 The content of the mail is conversation about the upcoming Oregon Star 
 Party.
 Leading me to believe the 550 is generated by the IP/domain reputation.

 How do I get Hotmail to take my domain off of their shit list?

 --
Michael Rasmussen, Portland Oregon
  Be Appropriate  Follow Your Curiosity
 You can always piss on them. Though some may consider that a waste of 
 perfectly good urine.
  ~ Peter Jon White (No, I won't reveal what component he was talking 
 about.)

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