Re: [PLUG] Cannot open config file

2023-03-25 Thread Larry Brigman
Where is the default.conf file located?  Is dirvish running as something
other than root?
Unless the directory has execute permissions on it, only root can read
anything in the directory there
by making the config file unreadable.
I've had upgraded packages change how things run like changing the running
user of the processes.

On Sat, Mar 25, 2023 at 7:33 AM Rich Shepard 
wrote:

> I'm trying to initialize each backup storage vault (a directory) and
> dirvish
> tells me it cannot open each vaults' config file: default.conf.
>
> The default.conf files are owned by root and has permissions 644.
>
> I had this same issue about 14 months ago when I set up the MediaSonic
> Probox. I read the threads about this issue (on this and the dirvish mail
> list) and didn't see the solution, so I need to re-learn why dirvish cannot
> open the config file.
>
> The main backup is /media/bkup1 and its permissions are 777.
>
> Help's needed.
>
> Rich
>
>
>


Re: [PLUG] Venue for next month ...

2023-03-06 Thread Larry Brigman
Take light rail to downtown Hillsboro (3rd street station?)  to find a few
places for after-hours.
Sports Look is right at the stop.  Other places are only a couple of blocks
away.


On Mon, Mar 6, 2023 at 5:21 PM Ted Mittelstaedt 
wrote:

> There's lots of places afterwards near Hawthorne Farms.  But like any
> suburban place they expect you to be driving cars to get to them.  Mass
> Transit is sort of a novelty out there.  It's kind of like the token green
> thing they drag out and show people to prove they care about the
> environment.  LOL   (disclaimer I grew up a few miles from there)
>
> Ted
>
> -Original Message-
> From: PLUG  On Behalf Of Keith Lofstrom
> Sent: Monday, March 6, 2023 2:52 PM
> To: Portland Linux/Unix Group 
> Subject: Re: [PLUG] Venue for next month ...
>
> On Sun, Mar 05, 2023 at 01:54:29PM -0800, Michael Ewan wrote:
> > If you can find a member at Intel or a sponsor there, the auditoriums
> > are free to use and are outside the security area.  The Hawthorne
> > Farms site is ideal since it is on the MAX line.  Of course that
> > implies people will want to travel to Hillsboro.
>
> I've attended many IEEE meetings at Intel Hawthorne Farms.
> The Max Blue Line stop is a 7 minute walk south of HF3.
> A meeting at Intel might attract some interesting speakers and attendees.
> Not much nearby for afters.
>
> But then, I live in Beaverton, and I've noticed that many Portlanders
> encounter an invisible force barrier west of Washington Park, perhaps the
> same force barrier that I encounter near Vancouver and Gresham and
> Gladstone.
>
> Keith
>
> --
> Keith Lofstrom  kei...@keithl.com
>


Re: [PLUG] trying to lock down DNS addresses problem

2023-01-13 Thread Larry Brigman
You can install your own wifi router behind the cable modem.  At that point
you could change the settings that the router hands out for DNS.

The pi-hole project shows how to change the settings where they point to
your local pi-hole server and it forwards anything unknown to a location of
your choice.

On Fri, Jan 13, 2023, 1:11 PM American Citizen 
wrote:

> To all:
>
> Some careful troubleshooting with removing the Firefox browser (and
> cache and local files) and reinstalling revealed the problem with the
> DNS issue was due to advanced settings called "DNS over HTTP" or DoH was
> being used to push the requests to the Cloudflare DNS servers.
>
> I was NOT even aware that this setting had been set. After the new
> install of firefox, it is NOT using the DoH option and things seem normal
>
> The VPN is now working correctly, and the VPN is pushing its DNS
> requests to the private encrypted non-logged VPN DNS associated with the
> VPN IP, just as ProtonVPN advertised so I am happy about this.
>
> In the clear, Comcast Communications is directing my system's DNS
> request to 3 of their DNS servers located in Beaverton OR.
>
> I am hopeful of changing that, but I might not be able to, since I do
> NOT have control of the firmware in the Netgear C6300v2 cable modem, as
> Comcast reserves the right to push firmware upgrades solely from them
> and NOT from the user.
>
> Maybe I will have to find a better cable modem / router WIFI box?? (but
> Comcast might disallow on their network)
>
> Randall
>
>
>


Re: [PLUG] trying to lock down DNS addresses problem

2023-01-13 Thread Larry Brigman
You can load up the bind-utils package.
That gives you the command dig which allows you to explore the DNS
information more than
you can with just ping and a browser.

You can use dig on the address but be aware that not all IP addresses have
a reverse lookup.

On Fri, Jan 13, 2023 at 1:05 AM Russell Senior 
wrote:

> Because I don't have the router you have, I am lacking any particular
> insight into what it is doing, so anything I suggest is pure guesswork.
> Vendor firmware on commercial off the shelf routers is quite varied and
> sometimes bordering on arbitrary in how they choose to behave.
>
> One other thing to be aware of, some browsers (including Firefox) are doing
> DNS over HTTPS (or similar) by default these days. You can check the
> setting in General / Network Settings / Enable DNS over HTTPS, and the
> associated destination. Mine defaults to Cloudflare. I generally don't use
> other browsers, but others may be doing something similar. You can, of
> course, choose a different DNS over HTTPS provider, or you can turn it off
> in Firefox's Settings. Further research into this behavior and its nuances
> might be needed.
>
> --
> Russell Senior
> russ...@personaltelco.net
>
> On Thu, Jan 12, 2023 at 5:55 PM American Citizen <
> website.read...@gmail.com>
> wrote:
>
> > Hello all:
> >
> > I am currently hitting an unusual problem with two DNS addresses which I
> > have set up in both the NetGear C6300v2 cable modem/router which has the
> > option to manually set the DNS addresses (which I did) and with the
> > openSuse Linux Leap 15.4 OS using NetManager, which has the option to
> > set the DNS addresses in the configured connection. (and I did manually
> > configure them too) .
> >
> > I am expecting to see DNS addresses 208.67.220.220 and 208.67.222.222
> > when landing on either the https://www.dnsleaktest.com/ website or the
> > https://surfshark.com/dns-leak-test website, but to my surprise both
> > sites keep coming up with two Cloudflare DNS addresses
> >
> > IP  HostnameISP Country
> > 108.162.218.150 NoneCloudflare  Newark, United States
> > 108.162.218.190 NoneCloudflare  Newark, United States
> >
> > I am concerned about this, as I do NOT want cloudflare doing the DNS
> > lookups, I expected ExpressVPN DNS numbers to show up.
> >
> > Any ideas on how to fix this problem?
> >
> > Randall
> >
> >
>


Re: [PLUG] ubuntu or debian

2022-11-17 Thread Larry Brigman
Ubuntu server?

On Thu, Nov 17, 2022, 9:33 PM Ben Koenig  wrote:

> --- Original Message ---
> On Thursday, November 17th, 2022 at 8:54 PM, Keith Lofstrom <
> kei...@kl-ic.com> wrote:
>
>
> > On Thu, Nov 17, 2022 at 06:34:42PM -0800, Randy Bush wrote:
> >
> > > ubuntu has drivers for almost all kinky hardware
> > > debian does not, but may move that way
> > > ubuntu for laptops, debian for servers, is my use pattern
> >
> >
> > There are some places in the world, with specialized
> > jobs and tools, where a properly equipped person can
> > honestly say "YOU CAN'T HAVE TOO MANY DOGSLEDS!"
> >
> > For my office, and my job, I can (and DO) have too many
> > operating systems.
> >
> > My goal is to have fewer machines using one operating system,
> > and focus my time and attention on writing, math, science,
> > engineering, invention, and learning.
> >
> > I want to pay as much attention to operating systems as I
> > do to my gutters ... which we finish replacing tomorrow,
> > using materials that will outlast me, and perhaps my wife.
> >
> > Like the rainwater in my gutters, I want my data to flow
> > without turbulence or leaks. I don't want two kinds of
> > gutters, or operating systems.
> >
> > Indeed, debian is suboptimal for my laptops, and ubuntu
> > is suboptimal for my servers, but two distros are
> > suboptimal for the limited mind-space I can devote to
> > them. Which distro is least-suboptimal for both jobs?
> > Which distro will be least-suboptimal in ten years?
> >
> > Note that I cannot afford to hire a sysadmin - and I've
> > tried to do so with what little I can afford.
> >
> > Keith
> >
> > --
> > Keith Lofstrom kei...@keithl.com
>
> You said you have old Thinkpad T60 laptops.
> https://wiki.debian.org/InstallingDebianOn/Thinkpad/T60/lenny
>
> I doubt debian will be anything other than out-of-the-box on your
> Thinkpads. And even IF (that's a really big if) debian is a PITA to run on
> your laptops, it will always be the same PITA. On Debian - Any hoops you
> jump through now will be the same hoops people jumped through 10 years ago.
> The same cannot be said for Ubuntu.
>
> The Ubuntu I used in 2010 is dead. It's gone and it never came back no
> matter how many people complained. In 2032 the Ubuntu everyone is using
> today will be gone.
>


Re: [PLUG] Does an Open Source Thermostat exist?

2022-07-15 Thread Larry Brigman
On Thu, Jul 14, 2022 at 2:53 PM Tomas Kuchta 
wrote:
> I have seeded house + exterior with bunch of 433MHz wireless temperature +
> humidity sensors - which I read with cheap SDR.
> I control this with simple raspberry PI + relay board + simple program.

Which sensors did you used?


Re: [PLUG] Does an Open Source Thermostat exist?

2022-07-14 Thread Larry Brigman
There are plenty of projects out there for thermostats.
Here is one that I found using "DIY Nest thermostat"
https://www.stuff.tv/features/how-build-homemade-nest-thermostat/

On Thu, Jul 14, 2022 at 2:22 PM Paul Heinlein  wrote:

> On Thu, 14 Jul 2022, Frank Filz wrote:
>
> > Program a single preferred temperature (the thermostat won't let us
> > set heat to and cool to temperatures closer than 3 degrees - I
> > understand that is necessary to keep the system from over heating so
> > it has to turn on air conditioning only to over cool, and turn heat
> > back on.). With programing I could have it not turn on cooling if
> > the temperature is slightly high IF the system had just been heating
> > and visa versa.
>
> In the grand PLUG tradition of not really answering your question,
> I'll note that my Nest thermostat has "heat only" and "cool only"
> modes in addition to "heat/cool".
>
> In "heat only" mode, the AC never kicks in regardless of how hot it is
> in the house -- and vice-versa for "cool only" mode.
>
> I find those modes much more predictable and energy-efficient than the
> combined "heat/cool" mode.
>
> I know Nest is a commerical product and that there are privacy
> concerns. I'm just reporting my experience.
>
> --
> Paul Heinlein
> heinl...@madboa.com
> 45°22'48" N, 122°35'36" W
>


Re: [PLUG] Hardware recommendations: KVM switch

2022-07-01 Thread Larry Brigman
I had issues with kvm too.
I finally gave up.
I did find an alternative that seems to work at least for me.

A program called "Synergy" from symless.com

There is(was) an open source version for a while and it worked for me.

YMMV

https://symless.com/synergy

On Fri, Jul 1, 2022, 5:40 AM Rich Shepard  wrote:

> On Thu, 30 Jun 2022, Keith Lofstrom wrote:
>
> > Tomas' use case seems simpler than mine and Rich's.
>
> Keith,
>
> You use two monitors, both displaying what's on a single computer, and
> switch between two computers. I will have a single monitor displaying
> applications on two desktops. That was my setup a long time ago, and I then
> used NFS, so I'll re-learn how to set that up because it's more reliable
> than KVM switches as I've been told by those who have felt the pain.
>
> > I'm guessing Rich (who, like me, is no spring chicken) has a similar
> > legacy accumulation of ancient and custom tools. For months, I've been
> > porting and failing and tweaking and (re)discovering flaws and
> > workarounds. I hope to create work platforms that I can maintain into
> > advanced old age.
>
> Both desktops (and the laptop) run Slackware so upgraded applications that
> work on one will work on the others.
>
> In 2003 I went through the pains of switching distributions, from Red
> Hat-7.0 to Slackware-8.0. It did take a while to rebuild essential tools
> and
> learn the new package management system.
>
> Stay healthy,
>
> Rich
>
>


Re: [PLUG] Where can one buy a DB25 connector locally?

2021-11-23 Thread Larry Brigman
I know that it may be a distance to drive but I found Norvac Electronics
still in business in Salem.
http://norvacsalem.com/

On Tue, Nov 23, 2021 at 11:34 AM Rich Shepard 
wrote:

> On Tue, 23 Nov 2021, Vince Winter wrote:
>
> > @Rich Shepard  Free Geek is only online right
> now
> > via eBay. :(
>
> Thanks, Vince.
>
> Regards,
>
> Rich
>


Re: [PLUG] Android question

2021-07-08 Thread Larry Brigman
This site might help.
https://fsfe.org/activities/android/liberate.en.html#OS
If the device is in their list, the wiki for that device should give you
the details of how to replace the shipping ROM.

On Thu, Jul 8, 2021 at 2:20 PM VY  wrote:

> Thanks for all the replies.
>
> As Jonathan pointed out, "e-waste" is what I am hoping to avoid.
> But it sounds like recycling the box to do something useful  for me is
> going to range from being difficult to arduous, I will see if I can crack
> open and recycle some hardware within.
>
> Will check out Slackware.
>
> Thanks again
>  for all the replies.
>
> -v
>
>
> On Thu, Jul 8, 2021 at 1:16 PM Rich Shepard 
> wrote:
>
> > On Thu, 8 Jul 2021, VY wrote:
> >
> > > Separately, Is there Linux on ARM?
> >
> > Slackware.
> >
> > Rich
> >
>


Re: [PLUG] bash environment when ssh'ing?

2021-06-29 Thread Larry Brigman
I had something similar on a Centos 7 system and found that my login shell
was /bin/sh.
Even though /bin/sh was linked to bash, it acted more like a Bourne shell
and wasn't acting on my .bashrc or .bash_profile.

On Tue, Jun 29, 2021 at 3:09 PM Reid  wrote:

> Does your ~/.bash_profile not source ~/.bashrc? Mine (Fedora) does by
> default but maybe yours is different.
>
>
> https://unix.stackexchange.com/questions/332531/why-does-remote-bash-source-bash-profile-instead-of-bashrc
>
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐ Original Message ‐‐‐
> On Tuesday, June 29, 2021 3:00 PM, Russell Senior <
> russ...@personaltelco.net> wrote:
>
> > I noticed that my attempt to keep my shell history indefinitely was
> > thwarted. My .bashrc has HISTFILESIZE=-1 and HISTSIZE=-1, but when I
> > ssh in to the box and run "echo $HISTFILESIZE " I mysteriously get
> > 500. I don't currently understand why and I have not yet dug into
> > serious research yet.
> >
> > Does anyone happen to know?
> >
> >
> -
> >
> > Russell Senior
> > russ...@personaltelco.net
>
>
>


Re: [PLUG] Logging network use while using Zoom

2021-05-11 Thread Larry Brigman
Zoom uses an adaptive bitrate codec.  The bandwidth you use will be
dependent upon latency to and from the server.
A test on your broadband connection will be different than a wireless
connection.



On Tue, May 11, 2021, 4:03 PM Rich Shepard  wrote:

> On Tue, 11 May 2021, Dick Steffens wrote:
>
> > My purpose is collecting data so when I go to the wireless folks I'll
> know
> > about how much we'll be using each month (a 1-1/2 hour meeting twice a
> > week), and know what data plan will make sense when we set one up for the
> > building that has no phone or Internet connection, and doesn't need
> either
> > for anything else. I'm looking into a WiFi only setup for my church.
>
> Dick,
>
> Ah, so. Thanks for clarifying. Good luck finding a solution that works for
> all of you.
>
> Regards,
>
> Rich
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Internet providers

2021-05-05 Thread Larry Brigman
My experience with Ziply has been pretty good.  I ordered an upgrade to 1Gig.
They waved the installation fee.
The installer had to do a rewire of my twisted pair from the Fiber
termination to my router.
My setup was just two pairs (I started on DSL at this location).
Gigabit Ethernet requires all four pairs.
The installer took almost 3 hours and need to replace the ODN.

The installer checked the bandwidth and that is how we found the issue.
Afterward, I found that using Chrome will limit bandwidth to a tab.
Checking from Linux with a speed test app (non-browser-based) got me
930Mbps (Max theoretical is 970Mbps.)
Did the same on my Windows box and got close to that.

I'm using my own router.  It wasn't an issue with them.

On Wed, May 5, 2021 at 5:01 PM Richard England  wrote:
>
>
> On 5/5/21 1:27 PM, Rich Shepard wrote:
> > On Wed, 5 May 2021, Denis Heidtmann wrote:
> >
> >> Anybody have any experience with Ziply?
> >
> > Raises hand. I do.
> >
> > I see no difference from when it was Frontier.
> >
> > Rich
> > ___
> >
> I concur.
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Raving mad RAID

2021-02-03 Thread Larry Brigman
You can use mdadm to examine the superblock on each drive and it will
give you the details of the array that the drive thinks it is in.
Without a mdadm.conf, the kernel will attempt to assemble the array
based on what it finds in the drive superblocks and will default to
md127 and count up from there.
/proc/mdadm will give you the status of the assembled arrays directly
without the need to go through the mdadm util.

On Tue, Feb 2, 2021 at 9:09 PM John Jason Jordan  wrote:
>
> On Tue, 2 Feb 2021 19:46:51 -0800
> wes  dijo:
>
> >If you create the RAID array with UUIDs, it (probably) won't break when
> >your system renames devices.
>
> Brilliant!
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Creating array with mdadm

2021-01-24 Thread Larry Brigman
There are tons of options for mdadm.
No, you should not put a format on the devices prior to adding them to
the array.
It is recommended that you partition the drives prior to adding them
to the array but you don't need to do that.
You can just use the raw drive.

On Sun, Jan 24, 2021 at 7:04 PM John Jason Jordan  wrote:
>
> I can't believe this information is not in the mdadm man page. Web
> sites that purport to make it easy to use mdadm just parrot the man
> page.
>
> I created an array on the four NVMe drives in my TB3 enclosure with the
> following command:
>
> sudo mdadm --create --verbose /dev/md0 --level=0 --raid-devices=4
> /dev/nvme1n1 /dev/nvme2n1 /dev/nvme3n1 /dev/nvme4n1
>
> Afterwards I found that /dev/md0 had been created. But when I tried to
> format it I got a lot of errors.
>
> Question: Should I have created a partition on each drive first, and
> then made the array out of the four partitions? If so, should each
> partition have been formatted before creating the array?
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] New Computer - No Ethernet

2020-12-11 Thread Larry Brigman
Maybe running a Live CD/DVD long enough to get the necessary pieces of
info/driver files.
ELREPO for Centos7 carries newer kernels.

On Fri, Dec 11, 2020 at 6:55 PM Russell Senior
 wrote:
>
> The specs for your board says the on-board NIC is an RTL8125, The
> driver was merged into the kernel about a year ago:
>
> commit 087f5b8758ae9f1b1968bc469bb3f5fae53e639b
> Author: Heiner Kallweit 
> Date:   Fri Aug 9 20:45:14 2019 +0200
>
> net: phy: realtek: add support for the 2.5Gbps PHY in RTL8125
>
> This adds support for the integrated 2.5Gbps PHY in Realtek RTL8125.
> Advertisement of 2.5Gbps mode is done via a vendor-specific register.
> Same applies to reading NBase-T link partner advertisement.
> Unfortunately this 2.5Gbps PHY shares the PHY ID with the integrated
> 1Gbps PHY's in other Realtek network chips and so far no method is
> known to differentiate them. As a workaround use a dedicated fake PHY ID
> that is set by the network driver by intercepting the MDIO PHY ID read.
>
> v2:
> - Create dedicated PHY driver and use a fake PHY ID that is injected by
>   the network driver. Suggested by Andrew Lunn.
>
> Signed-off-by: Heiner Kallweit 
> Reviewed-by: Andrew Lunn 
> Signed-off-by: David S. Miller 
>
>
> On Fri, Dec 11, 2020 at 6:48 PM Russell Senior
>  wrote:
> >
> > Even a USB-ethernet dongle will get you going. A USB3 dongle can do
> > gigabit pretty easily.
> >
> > On Fri, Dec 11, 2020 at 6:43 PM Russell Senior
> >  wrote:
> > >
> > > Can you install another NIC that is supported?
> > >
> > > On Fri, Dec 11, 2020 at 6:39 PM Michael Barnes  
> > > wrote:
> > > >
> > > > On Fri, Dec 11, 2020 at 5:37 PM TomasK  
> > > > wrote:
> > > >
> > > > > CentOS 7 is pretty old (predates it by years) for your hardware - you
> > > > > need kernel 5.3 or newer for this to work properly.
> > > > >
> > > > > I am not sure if you can get this new kernel from CentOS 7
> > > > > repositories. If you are used to CentOS - try CentOS stream or Fedora
> > > > > with newer kernel.
> > > > >
> > > > > Hope that helps,
> > > > > Tomas
> > > > >
> > > > > On Fri, 2020-12-11 at 16:53 -0800, Michael Barnes wrote:
> > > > > > Just got a new computer a friend built. It is using a Biostar 
> > > > > > B550GTA
> > > > > > Motherboard. I installed CentOS 7 in it, which went well.
> > > > > >
> > > > > > Problem is, I cannot get a network connection. I plug in the 
> > > > > > Ethernet
> > > > > > cable
> > > > > > and get a good light on the switch and a blinking yellow light on 
> > > > > > the
> > > > > > jack
> > > > > > in the computer. Cable verified good.
> > > > > >
> > > > > > If I do an 'ip a' it only shows io, no eth0. If I run the network
> > > > > > utility
> > > > > > nmtui, it does not show any Ethernet devices.
> > > > > >
> > > > > > I haven't worked on machines at this level in a few years, so I have
> > > > > > likely
> > > > > > forgotten all the obvious stuff. I went into the Motherboard setup
> > > > > > and find
> > > > > > nothing regarding enable/disable onboard Ethernet.
> > > > > >
> > > > > > Any ideas?
> > > > > >
> > > > > > Thanks,
> > > > > > Michael
> > > > > >
> > > > >
> > > >
> > > > First, the computer I had was too old. Now, it is too new. I have to use
> > > > CentOS7 for the application I am running, which uses qt4. CentOS8 only 
> > > > has
> > > > qt5, which is not backwards compatible. And, so far, everything I have 
> > > > seen
> > > > says because CentOS Stream is based on pre-release RHEL, it is not ready
> > > > for production use. Looks like I'm getting caught between a rock and a 
> > > > hard
> > > > place.
> > > >
> > > > I wanted to see what it said about the nic, so I ran lspci and got 
> > > > "command
> > > > not found". I guess I need to install pciutils, which is on the
> > > > installation DVD, but I don't know how to install it from that. Only 
> > > > have
> > > > the command line at this time.
> > > >
> > > > Michael
> > > > ___
> > > > PLUG: https://pdxlinux.org
> > > > PLUG mailing list
> > > > PLUG@pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Anyone on the list with Verizon Fios service and own router?

2020-12-11 Thread Larry Brigman
The router side setup is straight DHCP.  No credentials needed.
At one time I had to call them to swap out the router as they had it
locked down to a single mac address but the last time I did it they
just had me go on the router and release the address
and put the new router in place and all was good.  No more calls
needed to replace the router if that step was followed.

On Fri, Dec 11, 2020 at 10:14 PM Larry Brigman  wrote:
>
> And yes it was a service call since they had to swap out the ONT as
> the one installed was too old.
>
> On Fri, Dec 11, 2020 at 10:13 PM Larry Brigman  
> wrote:
> >
> > Verizon sold to Frontier then to Ziply Fiber.
> > I just got Ziply (back in Oct) to upgrade me to 1Gb.
> > I have my own router since I switch from DSL to Fiber.  Wasn't an issue.
> > Ziply didn't have an issue with my own router either.
> > Even waved the installation charge (for the upgrade) even though they
> > had to troubleshoot my twisted pair which was configured on just two
> > pair and Gigabit ethernet needs all four pair.
> >
> > On Fri, Dec 11, 2020 at 7:27 PM Johnathan Mantey  wrote:
> > >
> > > They wouldn't do it without sending a "service call" which means $$ out of
> > > my pocket.
> > > Perhaps ZipWhatever is more accommodating.
> > >
> > > On Fri, Dec 11, 2020 at 7:04 PM wes  wrote:
> > >
> > > > This is configurable at the ONT. You can get them to switch it to the 
> > > > RJ45
> > > > port.
> > > >
> > > > -wes
> > > >
> > > > On Fri, Dec 11, 2020 at 6:41 PM Russell Senior 
> > > > 
> > > > wrote:
> > > >
> > > > > On Fri, Dec 11, 2020 at 6:37 PM TomasK 
> > > > > wrote:
> > > > >
> > > > > > Some ISPs manage the connectivity activation through web interface
> > > > > > similar to captive portal + user account handshake. Helios used to 
> > > > > > do
> > > > > > that before they retreated from PDX.
> > > > >
> > > > > I never even heard of them. Was it this?
> > > > >
> > > > > https://en.wikipedia.org/wiki/Helio_(wireless_carrier)
> > > > > ___
> > > > > PLUG: https://pdxlinux.org
> > > > > PLUG mailing list
> > > > > PLUG@pdxlinux.org
> > > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > > >
> > > > ___
> > > > PLUG: https://pdxlinux.org
> > > > PLUG mailing list
> > > > PLUG@pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > >
> > > ___
> > > PLUG: https://pdxlinux.org
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Anyone on the list with Verizon Fios service and own router?

2020-12-11 Thread Larry Brigman
And yes it was a service call since they had to swap out the ONT as
the one installed was too old.

On Fri, Dec 11, 2020 at 10:13 PM Larry Brigman  wrote:
>
> Verizon sold to Frontier then to Ziply Fiber.
> I just got Ziply (back in Oct) to upgrade me to 1Gb.
> I have my own router since I switch from DSL to Fiber.  Wasn't an issue.
> Ziply didn't have an issue with my own router either.
> Even waved the installation charge (for the upgrade) even though they
> had to troubleshoot my twisted pair which was configured on just two
> pair and Gigabit ethernet needs all four pair.
>
> On Fri, Dec 11, 2020 at 7:27 PM Johnathan Mantey  wrote:
> >
> > They wouldn't do it without sending a "service call" which means $$ out of
> > my pocket.
> > Perhaps ZipWhatever is more accommodating.
> >
> > On Fri, Dec 11, 2020 at 7:04 PM wes  wrote:
> >
> > > This is configurable at the ONT. You can get them to switch it to the RJ45
> > > port.
> > >
> > > -wes
> > >
> > > On Fri, Dec 11, 2020 at 6:41 PM Russell Senior 
> > > wrote:
> > >
> > > > On Fri, Dec 11, 2020 at 6:37 PM TomasK 
> > > > wrote:
> > > >
> > > > > Some ISPs manage the connectivity activation through web interface
> > > > > similar to captive portal + user account handshake. Helios used to do
> > > > > that before they retreated from PDX.
> > > >
> > > > I never even heard of them. Was it this?
> > > >
> > > > https://en.wikipedia.org/wiki/Helio_(wireless_carrier)
> > > > ___
> > > > PLUG: https://pdxlinux.org
> > > > PLUG mailing list
> > > > PLUG@pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > >
> > > ___
> > > PLUG: https://pdxlinux.org
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > ___
> > PLUG: https://pdxlinux.org
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Anyone on the list with Verizon Fios service and own router?

2020-12-11 Thread Larry Brigman
Verizon sold to Frontier then to Ziply Fiber.
I just got Ziply (back in Oct) to upgrade me to 1Gb.
I have my own router since I switch from DSL to Fiber.  Wasn't an issue.
Ziply didn't have an issue with my own router either.
Even waved the installation charge (for the upgrade) even though they
had to troubleshoot my twisted pair which was configured on just two
pair and Gigabit ethernet needs all four pair.

On Fri, Dec 11, 2020 at 7:27 PM Johnathan Mantey  wrote:
>
> They wouldn't do it without sending a "service call" which means $$ out of
> my pocket.
> Perhaps ZipWhatever is more accommodating.
>
> On Fri, Dec 11, 2020 at 7:04 PM wes  wrote:
>
> > This is configurable at the ONT. You can get them to switch it to the RJ45
> > port.
> >
> > -wes
> >
> > On Fri, Dec 11, 2020 at 6:41 PM Russell Senior 
> > wrote:
> >
> > > On Fri, Dec 11, 2020 at 6:37 PM TomasK 
> > > wrote:
> > >
> > > > Some ISPs manage the connectivity activation through web interface
> > > > similar to captive portal + user account handshake. Helios used to do
> > > > that before they retreated from PDX.
> > >
> > > I never even heard of them. Was it this?
> > >
> > > https://en.wikipedia.org/wiki/Helio_(wireless_carrier)
> > > ___
> > > PLUG: https://pdxlinux.org
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > ___
> > PLUG: https://pdxlinux.org
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CMR/PMR hard drive manufacturers and vendors

2020-11-01 Thread Larry Brigman
There are only three disk drive manufacturers left.
Western Digital
Seagate
Toshiba


On Sun, Nov 1, 2020, 1:38 PM Keith Lofstrom  wrote:

> I want to purchase more backup hard drives:
> 3.5 inch SATA, 6 to 10 TB ( best price per terabyte ),
> 5400 RPM ok, reliability important.
>
> Who makes,  and who sells, reliable "CMR" hard drives
> with a decent (3 to 5 year) full replacement warranty?
> Who should I avoid?
>
> I would especially like to hear from those who recently
> purchased drives for RAID arrays; an application with
> the same write performance requirements as mine.
>
> 
>
> long winded explanation:
>
> Since my last backup hard drive purchases 2-3 years ago,
> "CMR/PMR" ( Conventional/Perpendicular Magnetic Recording )
> hard drives models are being replaced with "Shingled" hard
> drives, which squeeze more bytes on fewer platters, but
> have much slower write latency.
>
> Write latency (time to complete an operation) is critical
> for my backup application, which often rewrites filesystem
> directories.
>
> Shingled writes don't just rewrite sectors or tracks, but
> 256 megabyte groups of tracks.  The write head is wider
> than a readable track, so a SHINGLED write requires reading
> all 256 MB into a RAM cache, changing the sectors in RAM,
> then writing back the entire 256 MB block on top of the
> old 256 MB.
>
> This allows denser track spacing; with current technology,
> a write head is wider than a minimum-sized read head.  So,
> SMR drives write a wide track overlapping the edge of the
> previous track in the spiral ... "shingling", like the
> overlapping shingles on the roof.
>
> Clever, in the same sense as a cheapskate using both sides
> of the toilet paper.  Similarly slow and dirty, IMHO.
>
> 
>
> I looked on Amazon (I have Prime, they deliver fast), and
> struggled through dozens of candidates that are CMR model
> names that now use SMR.  From the "Majors": Western Digital,
> Seagate, Toshiba, all of whom have been exposed as SMR
> "bait-and-switch" vendors.  Many Amazon hard drives are
> "refreshed" with a 90 day warranty.  I had to read through
> a lot of Q/A messages from users (some of whom are shills)
> to figure this out.  Frustrating.
>
> It would be nice to have new drives in a week, but I am
> in no hurry to fail over the next two years.  Amazon is
> fast and sometimes inexpensive, but not trustworthy.
> I'd rather help the startup that eats their lunch.
>
> Keith
>
> --
> Keith Lofstrom  kei...@keithl.com
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Awk script syntax help

2020-09-23 Thread Larry Brigman
Note your sample data has issues with embedded field separator data.


On Wed, Sep 23, 2020 at 2:04 PM Rich Shepard  wrote:
>
> On Wed, 23 Sep 2020, Robert Citek wrote:
>
> > Couldn't help to golf that. :)
> > awk -v FS=, '$7 !~ /Gen12[cu]/'
>
> Robert,
>
> That's another alternative I didn't see or think of trying.
>
> Thanks,
>
> Rich
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Stress-testing a hard disk

2020-09-02 Thread Larry Brigman
In my former life as a test engineer for a disk company, we used custom
testers to stress-test.
That eventually moved to custom code loaded directly on the device to do
the work.
When I moved to Linux we used direct-io libraries to write and read/verify
random or patterned data to the drive; in both seq, random and butterfly.
Low-level tools like the sg3-utils have a large set of direct disk access
tools.
Other tools to use are IOZone and FIO to run a large sample of tests over
and over again.

On Wed, Sep 2, 2020 at 10:30 PM Galen Seitz  wrote:

> On 9/2/20 9:43 PM, Keith Lofstrom wrote:
> > I bought an 8TB Seagate USB3 drive Real Cheap at Costco,
> > which I will eventually "shuck" to get at the SATA hard
> > drive inside.
> >
> > Voiding the hell out of the warranty, so I would like to
> > stress test it for a few months before I open the case.
> > There are many tools (like bonnie++) that can thrash a
> > hard drive, but they use more CPU than I would like.
> >
> > Is there a non-intrusive command-line hard drive test tool
> > that can stress-test a hard drive for months with minimal
> > CPU and RAM activity?  How do server farms stress test
> > incoming drives before committing important data to them?
>
> I'm guessing it probably doesn't meet your criteria for a stress test,
> but the SMART long test won't load your system at all, since it is
> performed by the drive itself.  I don't know how well the SMART tests
> work over a USB interface.  I think there was a time when smartctl
> wouldn't work over USB, but that may have been solved long ago.
>
> There's also the badblocks command.  I don't know how much it would load
> your system, but I bet it would be less than a program like bonnie which
> tests performance.
>
> galen
> --
> Galen Seitz
> gal...@seitzassoc.com
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Search entire filesystem except two mounted partitions

2019-11-30 Thread Larry Brigman
If you were looking for mounts why not use this?
cat /proc/mounts

you would probably need to filter it some to get what you want as it
contains every mount.

On Sat, Nov 30, 2019 at 8:47 PM John Jason Jordan  wrote:

> On Sat, 30 Nov 2019 23:08:16 +
> David Fleck  dijo:
>
> >On Thursday, November 28, 2019 10:02 PM, John Jason Jordan
> > wrote:
> >>
> >> I tried updatedb as jjj and with sudo and it did nothing much. It
> >> took about one second to complete. Clearly it is not updating the
> >> database for all files on all partitions.
> >>
> >> I think I found one solution - find with the --prune option. I'm
> >> trying to figure out the syntax to make it exclude the entire /media
> >> folder (because that's where everything but / and /home are
> >> mounted). I wish man pages would give examples of usage.
> >
> >
> >What about
> >find {all /-level dirs except /mnt} {other find options}
> >?
> >You could stick it into a tiny script or shell alias.
>
> After hours of trying to find an easy way to do what I wanted, I
> finally succeeded with the following find command:
>
> sudo find / -name "*.mount" -print -o -path '/media' -prune
> >~/find_mount_points.txt
>
> This command searches / for any file ending in .mount (you have to put
> it in quotes in you use a wildcard), -o = or, and the folder to prune
> must be in single quotes, and finally the result is sent to a text file
> in my home folder. It took about ten seconds to execute.
>
> I neglected to say beforehand what I was trying to find. I am still
> struggling to figure out how systemd decides what to mount and in what
> order. Apparently such things are kept in a file with the
> extension .mount, so that is what I was trying to find. Unfortunately,
> while my command worked without going into anything mounted in /media,
> it returned 146 files that end in .mount, of which 58 were located in
> folders containing 'systemd.'
>
> Find is a very powerful search tool, with options for just about
> anything. However, that makes it also incomprehensible. But the
> education was worth the time spent.
>
> And now that I have a find command that excludes /media I have saved it
> for use in the future when I need to find something that I know is not
> on any of my attached external drives. I only wish there was a way to
> save commands permanently in the GUI terminal - it would be faster and
> more convenient than having to open a text file of saved commands.
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Your first PLUG talk!

2019-07-25 Thread Larry Brigman
I have a talk (or two) in mind but I will need some help getting it worked
into shape.
Maybe if I feel good about it, I might submit it to OSCON but I think that
is a stretch.
I have given one of the Advanced topics long ago on disk drives and
S.M.A.R.T which is embedded in all drives these days.

On Wed, Jul 24, 2019 at 10:12 PM Michael Dexter  wrote:

>
> Hey!
>
> I left OSCON with a speaker but now... not so much.
>
> I have reached out to a few candidates but... how about YOU give it a
> go? I guarantee that each of you have a technological story to tell and
> I am happy to help you flesh out ideas.
>
> Has the time come? Ready to headline PLUG?
>
> You can do it!
>
> (You do NOT want to hear about my multi-OS ZFS lab. Russell said so!)
>
> Michael Dexter
> PLUG Volutneer
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Problem building Supermicro 1U...

2019-07-23 Thread Larry Brigman
Also, SuperMicro has a quiet boot screen(Default) that gives little
feedback in that mode.

On Tue, Jul 23, 2019 at 8:05 AM Louis Kowolowski 
wrote:

> How long have you let it run? IPMI takes several minutes to boot from a
> power-off state. It also has to complete booting before the rest of the
> machine does the equiv of a power-on. It could be up to 5min before you see
> a bios prompt.
>
>
> > On Jul 23, 2019, at 1:43 AM, Sam's Lists  wrote:
> >
> > I've bought all the parts to build a 1U server.  The motherboard is an
> > X11SCM-LN8F.  I've got a Xeon processor, 64 GB of RAM, and a supermicro
> > chassis.
> >
> > I've assembled the system and it flashes up a message about IPMI when
> it's
> > turned on, and then nothing happens.  I can't get into the bios (or even
> > press the caps lock key and get the keyboard caps lock led to light up).
> >
> > Any ideas as to what to try?
> >
> > Anyone in town specialize in building rackmount servers?  I wouldn't mind
> > paying someone to figure out what I did wrong and fix the whole thing.
> >
> > I'm not really sure otherwise how to proceed, since I can't figure out if
> > it's the cpu, the ram, or the motherboard.  (If I had spares I guess I
> > could, but I only have the one motherboard and the one cpu).
> >
> > Thanks
> > Sam
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
>
> --
> Louis Kowolowskilou...@cryptomonkeys.org
> 
> Cryptomonkeys:
> http://www.cryptomonkeys.com/ 
>
> Making life more interesting for people since 1977
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Linux supported laptop 5ghz wifi cards

2019-07-15 Thread Larry Brigman
I got to OSCON this morning and found that my laptop won't connect to the
conference wifi.  Turns out the I bought a laptop that only had 2.4ghz wifi.

I'm looking for recommendations.
Laptop - HP 15-BW0
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I get ssh to not challenge for a password

2019-06-12 Thread Larry Brigman
The only time I had something like that happen was when the user's file
system wasn't properly labeled for SElinux.
sshd from the command line doesn't source or use
/lib/systemd/system/sshd.service nor /etc/sysconfig/sshd
You can also use -vvv from the client side to see what it doesn't like.

On Tue, Jun 11, 2019 at 9:35 PM Russell Senior 
wrote:

> oh, hmm. it works when you start sshd manually. That makes my permissions
> theory less likely.  I'd turn up verbosity and capture the results in the
> failing and not failing scenarios and diff them for clues.
>
> On Tue, Jun 11, 2019 at 9:32 PM Russell Senior 
> wrote:
>
> > I've never used ssh-copy-id (presumably adding a public key to an
> > authorized_keys file). Have you checked the permissions on the .ssh
> > directory and contents?
> >
> > On Tue, Jun 11, 2019 at 9:10 PM Ken Stephens  >
> > wrote:
> >
> >> Fedora 29 both systems.
> >> Laptop does not challenge for password after ssh-copy-id from atlas.
> >> atlas challenges after ssh-copy-id from laptop.
> >> stopped sshd service on atlas and started on command line as root with
> >> /usr/sbin/sshd &.  atlas does not challenge for password, accepts key.
> >>
> >> Where and what do I need to change to get atlas not to challenge for
> >> password after "normal" startup by systemd?
> >>
> >> Ken
> >> ___
> >> PLUG mailing list
> >> PLUG@pdxlinux.org
> >> http://lists.pdxlinux.org/mailman/listinfo/plug
> >>
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] help with /proc/cpuinfo

2019-04-25 Thread Larry Brigman
Dmidecode will give you much about the hardware/firmware on the machine.

On Thu, Apr 25, 2019, 8:47 AM VY  wrote:

> Thanks for your reply.
> The reason I highlighted this field is exactly what you brought up -- this
> number is different in the other
> machines I have in our data center.  All the others say "4" but this one
> machine is "25".
> Not sure how I can look up firmware or whether specter mitigation has been
> applied.  Need to look those up.
>
> thanks
>
>
> On Wed, Apr 24, 2019 at 7:36 PM Ben Koenig  wrote:
>
> > On 4/24/19 5:40 PM, VY wrote:
> > > Dear All
> > >
> > > I need some help with reading the output of /proc/cpuinfo.
> > >
> > > We have several machines and they are all supposedly identical Intel
> Xeon
> > > machines. 4 CPUs each and identical Linux version.
> > > One of the machines are reporting VERY high load consistently.
> > > They are all running identical applications and I don't see any
> > difference
> > > in load.
> > >
> > > However, when I look at /proc/cpuinfo, this "very high load" box is
> > saying:
> > >
> > > apicid : 25
> > >
> > >initial apicid : 25
> > >
> > >
> > >
> > > All the other machines are reporting 4 for this number.
> > >
> > > Does it matter what this number say?  I looked online but cannot quite
> > tell
> > > whether it matters or not.
> > >
> > >
> > >
> > > thanks
> > >
> > >
> > > -v
> > > ___
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> >
> > the apicid might be unrelated to what you are troubleshooting. My
> > understanding is that it's an identifier used to keep track of logical
> > cores.
> >
> > If this number is the same on all your other systems then all that says
> > is that this CPU might be from a different lot.
> >
> > It could also suggest a difference in microcode, or BIOS firmware, which
> > you can identify through more effective means.
> >
> >
> > I would compare some of the other details, such as the various levels of
> > firmware that govern software->hardware interactions. Maybe this box is
> > running a different spectre mitigation?
> >
> >
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Can anyone recommend intligent way to debug not executing CGI scripts on Apache2?

2019-01-07 Thread Larry Brigman
I would suspect that there are conditionals in those jinja2 templates that
is making things different.


On Mon, Jan 7, 2019, 6:28 PM Bill Barry  On Tue, Jan 8, 2019 at 2:02 AM Bill Barry  wrote:
>
> >
> >
> > On Mon, Jan 7, 2019 at 9:52 PM Tomas Kuchta <
> tomas.kuchta.li...@gmail.com>
> > wrote:
> >
> >> The problem is 99.9% in the Apache config - the same application
> runs
> >> on one server not the other. No matter which way I synchronize the code,
> >> it
> >> executes in one place, not the other.
> >>
> >
> >
> >
> >>
> >> The only difference are Apache config files, produced mostly with Jinja
> >> templates and search and replace with a few config lines added related
> to
> >> host aliases to flip things to production.
> >>
> >>
> > That does sound like a good source for the problem,  maybe you can create
> > the config files in a completely different way, say static files that
> read
> > from environment variables.
> >
> > Bill
> >
>
> On the other hand that does not really explain the symptoms.
>
> Bill
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Larry Brigman
Maybe I'm stating the obvious. Normally you would be running this command
from a local X client where the shell would have the $DISPLAY value set.
Like this:
echo $DISPLAY
127.0.0.1:0.0

Once I connect via ssh -X,  the same command produces this output:
echo $DISPLAY
localhost:10.0

You have three options in the destination host sshd_config that control
whether you can have the application display on the remote server.
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes

Only the first one needs to be set.  The other settings are default and
don't need to be changed.

Maybe another obvious fact
Restarting sshd will allow it to operate with changed settings on new
connections.  Existing connections will continue with the old settings.



On Wed, Jan 2, 2019 at 9:53 PM Dick Steffens  wrote:

> On 1/2/19 6:28 PM, Ben Koenig wrote:
> > Ran some DDG searches, found a few old articles, maybe give this one a
> read?
> >
> >
> https://www.linuxquestions.org/questions/slackware-14/x-forwarding-in-slack-over-ssh-unable-to-open-display-451697-print/
> >
>
> Thanks. I see some lines I haven't looked at in my ssh_config files.
> I'll check those tomorrow.
>
>
> --
> Regards,
>
> Dick Steffens
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] An apology needed? - was [Re: Wanted: handheld data collection device with Linux OS]

2018-11-15 Thread Larry Brigman
The Display for the Noodle Pi has been discontinued without a compatible
replacement for the project.

On Thu, Nov 15, 2018 at 10:57 AM Nat Taylor  wrote:

> I may have to check out the Noodle pi too!
>
> On Thu, Nov 15, 2018 at 8:35 AM Richard Owlett 
> wrote:
>
> > On 11/15/2018 09:29 AM, Nat Taylor wrote:
> > > The Dual Boot Gemini is in production, and is available in wifi-only.
> > > You can buy it here:
> > >
> >
> https://store.planetcom.co.uk/collections/gemini-pda/products/gemini-pda-wifi-only?variant=6314880499739
> >
> > Was referring to it when I said "I'm tracking it." I received a response
> > from them on one point of concern. It may have Noodle Pi as competitor.
> >
> > >
> > >
> > > On Thu, Nov 15, 2018 at 7:12 AM Johnathan Mantey 
> > wrote:
> > >
> > >> Richard,
> > >>
> > >> I viewed one of the links I provided in the "old devices" thread,
> > related
> > >> to this one.  It seems based on what I just read that the *Noodle Pi*
> > may
> > >> be very close to your list of requirements.
> > >> I also sent another link, which I have not viewed, comparing 5
> different
> > >> handheld devices (https://www.youtube.com/watch?v=dXNllO79_68)
> > >>
> > >> You hadn't commented on the info provided, so I wanted to add it to
> this
> > >> thread.
> > >>
> > >> On Thu, Nov 15, 2018 at 6:32 AM Richard Owlett 
> > >> wrote:
> > >>
> > >>> On 11/13/2018 07:46 PM, Russell Senior wrote:
> >  On Tue, Nov 13, 2018 at 1:26 PM Richard Owlett  >
> > >>> wrote:
> > >
> > > I know I have *WEIRD* preferences.
> > >
> > > How should I pose questions in a manner that they would be taken
> > > _ *EXTREMELY LITERALLY* _?
> > 
> >  You should pose it knowing that you may get answers that don't fit
> >  perfectly. You are responsible for wading through the responses and
> >  extracting the value you can. They may be the best answers available
> >  from the people you are asking. Learn to live with that.
> > 
> > >>>
> > >>> ROFL? Don't know if I should laugh, cry, groan, or inspire a SNL skit
> > ;}
> > >>> Been "living with 'it' " for ~half a century :}
> > >>> Who? Me? Strange world view? 
> > >>>
> > >>> More seriously, compared to other fora this one has a better track
> > >>> record of answering the questions actually asked rather than the
> > >>> question that some wished I had asked.
> > >>>
> > >>> You have to see the humor of this thread.
> > >>>
> > >>> 1. I state I'm interested in current production.
> > >>>  It is suggested I buy decade old units on ebay.
> > >>>  Some came closer by mentioning things that barely made it out of
> > >>>  a crowd funding phase before ceasing production.
> > >>>
> > >>> 2. I specify *"physical form factor similar to a Palm Pilot"* and
> > >>>  having USB connectivity.
> > >>>  I can't have that as USB did not exist in Palm Pilot era.
> > >>>
> > >>> 3. I specify a "Linux device" and " *NOT* be shipped with Android
> OS".
> > >>>  I'm told that is unreasonable as ~"everybody uses Android".
> > >>>  [One person did point to a device shipped with Linux dual
> booted.
> > It
> > >>>   meets my underlying requirement on not having to deal with
> > Android.
> > >>>   It is unclear if it has yet entered production &/or ships with
> my
> > >>>   preferred mix of options. I'm tracking it.]
> > >>>
> > >>> I've had requests for justification of some of my specifications.
> > >>>
> > >>> My physical environment strongly influences my choices:
> > >>> 1. due to >70 years of wear-n-tear my doctor would like data.
> > >>> 2. pen and paper is non-viable.
> > >>> 3. I'm on an exercise program which would benefit from records.
> > >>> 4. walking with a pair of forearm crutches which introduces
> > >>>portability issues.
> > >>>
> > >>> I specify Linux for choice of installing only relevant software
> > >>> and is easily customized - in my case by Tcl/Tk scripts.
> > >>>
> > >>> Android is not acceptable due to personal experience. A few years ago
> > >>> Lenovo had a cell phone available in three configurations:
> > >>> 1. with sim card and a cell phone carrier.
> > >>> 2. with no sim card installed making cell connectivity optional.
> > >>> 3. *without* possibility of installing a sim card.
> > >>> I bought one of the later discovering:
> > >>> 1. primary source of _free software_ was Google who required an
> > >>>unacceptable amount of personal info for "free" software.
> > >>> 2. it placed unreasonable barriers to installing a preferred OS.
> > >>>
> > >>> I referenced Palm Pilot due to it's form factor and capabilities:
> > >>> 1. nominal size 6" x 4" x 1" would be good - thinner better.
> > >>> 2. as an example of minimal capabilities.
> > >>>
> > >>> Cell connectivity serves no useful purpose and gives manufacturers
> > >>> unreasonable justifications for restrictions on user modifications
> > >>> to their personal property. Current dis

Re: [PLUG] rsync in a cron job

2018-11-15 Thread Larry Brigman
Even the shell in cron could be different from your login shell.  Only the
location running cron should be affected.
The ~/ is a shell alias pointing to the $HOME variable.

On Thu, Nov 15, 2018 at 10:07 AM Rich Shepard 
wrote:

> On Thu, 15 Nov 2018, Larry Brigman wrote:
>
> > Note that none of your shell variables from your login will be set when
> > you run from cron.
>
> Larry,
>
>Would this affect synchronizing files in ~/ on both hosts?
>
> Thanks,
>
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] rsync in a cron job

2018-11-15 Thread Larry Brigman
Note that none of your shell variables from your login will be set when you
run from cron.

On Thu, Nov 15, 2018, 7:53 AM Rich Shepard I want to update ~/ on the new desktop with changes made in ~/ on the
> old
> desktop using rsync in a daily cron job. The old desktop has a directory
> ~/data while the newdesktop has a /data partition separate from /home.
>
>There is an --exclude option to rsync and I'm not sure where it should
> go
> in the command line. Is this correct if run from my crontab?
>
> rsync salmo: --exclude=data .
>
>Would a separate rsync command be needed to copy changes from
> salmo:data/
> to baetis:/data or could both be accomplished with the same command?
>
> TIA,
>
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] An apology needed? - was [Re: Wanted: handheld data collection device with Linux OS]

2018-11-13 Thread Larry Brigman
No offense taken.

I have worked as a test engineer in multiple areas and as a software
engineer including doing some embedded development.
I typically get requirements for the task to be accomplished and some idea
of budget.

With that information I craft a design or select hardware for a
hardware/software solution.

>From my projects, I have always needed to have some level of connectivity.

For remote field collection of data,  I would still want external
connectivity such that the data collected wout automatically transfer when
connected to the network.

For long term collection; internet of things or custom solutions use mesh
networks with points of upload via cell networks or satellite.

Data collection is more about the data than how it is collected or on what
OS platform.  The bigger issue would be making sure the  data is
transferable and in a readability format.

The list tries to assist with your request and requirements.  When we
cannot find exactly what is required, we pose possible alternatives.  Not
knowing the underlying requirements sometimes gets you responses that go
far a field.



On Tue, Nov 13, 2018, 1:20 PM Richard Owlett  I know I have *WEIRD* preferences.
>
> How should I pose questions in a manner that they would be taken
>   _ *EXTREMELY LITERALLY* _?
>
> TIA
>
> On 11/13/2018 12:04 PM, Richard Owlett wrote:
> > On 11/13/2018 11:25 AM, Larry Brigman wrote:
> >>
> >> The retail market is Android or iPhone these days.
> >
> > So what? Consumers are sheep herded by  Madison Ave.
> >
> > I can not be the only one looking for something very similar.
> > Other wise there would not be so many crowdfunding projects that only
> > failure was being available for too short a time span.
> > I.E. I find out about them too late.
> >
>
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Wanted: handheld data collection device with Linux OS

2018-11-13 Thread Larry Brigman
I think these requirements are about 20+ years too late.  Even when there
were PDA devices to they didn't have standard USB connections as the
connector was too large.

The retail market is Android or iPhone these days.
To get something close you would probably need to start searching in the
industrial area.  Those devices will be very expensive.

20+ years ago, I set up a data collection system.  It used a handheld
terminal with a hardwired serial connection.
The system was driven from screens via database coding.

Adding custom software to any device should be the norm even for Windows
devices.  You would just need to learn the SDK to write it yourself.

Devices with cell phone communication are required to have an Airplane mode
to turn the radio off.

On Sun, Nov 11, 2018, 6:35 AM Richard Owlett 
>
> I'm looking for a current production Linux handheld data collection
> device {aka PDA} similar in form and function to a Palm Pilot
> (https://en.wikipedia.org/wiki/PalmPilot).
>
> A major justification of Linux OS is to allow custom software.
>
> Specification:
>be currently available from U.S. retail vendor.
>have a physical form factor similar to a Palm Pilot
>should have provision for using a USB/Bluetooth connected keyboard.
>be able to read/write a USB flash drive (preferably FAT32 or ext2).
>*no* cell network connectivity .
>must *NOT* be shipped with Android OS
>
> Yes, this thread resembles one from a year ago.
> I'm renewing by search first done a decade ago.
> I kick myself for not having purchased a Palm Pilot back in the day.
>
> My web searches have turned up "we're working on it" type answers and
> crowdfunding appeals.
>
> Any suggestions other than putting up with a smartphone?
> TIA
>
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Wanted: handheld data collection device with Linux OS

2018-11-11 Thread Larry Brigman
Did you happen to find the pocketChip in your search?
https://makerprojectlab.com/pocket-chip-review/
https://shop.pocketchip.co/

There is probably plans on thingy for a 3d printed case.

On Sun, Nov 11, 2018, 7:13 AM Rich Shepard  On Sun, 11 Nov 2018, Richard Owlett wrote:
>
> > I kick myself for not having purchased a Palm Pilot back in the day.
>
>eBay probably has them for sale. I bought backup Treo 700ps and a Palm
> Pilot on eBay because they are so useful (the Palm Pilot is for the time
> all
> the Treos die.)
>
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Ubuntu Mate 18.04 Root full...

2018-11-05 Thread Larry Brigman
'fsresize' is your friend after you change your partition sizes.

On Mon, Nov 5, 2018, 5:12 PM Chuck Hast  Select morsels of good data, thanks to you all. I went in and looked at the
> 9.1G partition,
> it has /tmp and /var in there so yes those have a bunch of log files and
> whatnot in there.
>
> Now I will just re-size the thing when I get home (I am on the road in a
> hotel tonight). I am
> going to have to look hard at how these things get setup, I recall now that
> when I did the new
> disk I just told it to create two partitions
> /
> and
> /home
> I should have remembered that and gone in and fixed it when I got the time.
> I let the auto
> setup thingy do it's thing because I needed to get back up, but I should
> have as soon as I
> had the time gone in and done some work on it beyond moving the old home
> directory's
> to the new disk.
>
> Anyhow a big thank you, and I am all ears if there is anything to add to
> it.
>
> On Mon, Nov 5, 2018 at 10:57 AM Rich Shepard 
> wrote:
>
> > On Mon, 5 Nov 2018, Nat Taylor wrote:
> >
> > > if you type
> > > du / | sort -n
> >
> >And, if you append the -sh options to the disk usage command the
> results
> > will be a summary for each section (e.g., directory) and in
> human-readable
> > format.
> >
> >A second pass within a large directory, without the '-s' option will
> > show
> > contents in human-readable format.
> >
> > Rich
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
>
>
> --
>
> Chuck Hast  -- KP4DJT --
> I can do all things through Christ which strengtheneth me.
> Ph 4:13 KJV
> Todo lo puedo en Cristo que me fortalece.
> Fil 4:13 RVR1960
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Ubuntu Mate 18.04 Root full...

2018-11-04 Thread Larry Brigman
Use 'df' to see what partitions are in use and percentage.

On Sun, Nov 4, 2018, 8:14 PM Bill Barry  On Mon, Nov 5, 2018 at 3:40 AM Chuck Hast  wrote:
>
> > I went in and was able to boot to the previous image. The recovery
> offered
> > to remove all
> > unneeded files, then did the update. I was able to restart it. For
> > some reason it reported
> > that root was full, but (I double checked this) it was saying "root".
> There
> > is a "root " directory
> > in the boot directory, it is normally only accessed by root I do a chmod
> to
> > it to get into it, then
> > I change it back once done. There is not much in there. So seems the real
> > issue is boot.
> >
> > I have purged out all old images, but seems that boot should not come
> near
> > filling up a
> > 9.1G directory, at least to me. I see a lot of stuff but not sure what. I
> > think I am going to
> > increase the size of boot so that this doesn't happen again again. I
> > generally try to keep no
> > more than 2 older kernels.
> >
> > Only partitions get full, not directories. Is /boot in a separate
> partition than / ? If not then check your partition structure and see which
> partition is full and clean it out or make it bigger.
>
> Bill
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] IBM acquires Redhat

2018-10-29 Thread Larry Brigman
Not 100% sure on that last comment as most of the people running the
infrastructure/Build systems are Redhat Employees.

On Mon, Oct 29, 2018 at 3:16 PM Ben Koenig  wrote:

> FYI CentOS does not need the blessing of IBM any more than it already needs
> the blessing of Red Hat. Here's some reading material you might find
> interesting.
> https://www.centos.org/about/
> https://docs.fedoraproject.org/en-US/council/
>
> Change of management at Red Hat will likely have no serious impact on the
> development of Fedora and CentOS.
>
>
> On Mon, Oct 29, 2018 at 11:32 AM John Jason Jordan  wrote:
>
> > On Mon, 29 Oct 2018 10:49:48 -0700
> > Richard England  dijo:
> >
> > >IBM will probably continue their Linux efforts. The better question is
> > >what will they do with Fedora and the desktop. IBM may have little
> > >interest in the desktop and their interest in non-revenue initiatives
> > >like Fedora and CentOS are questionable, as well.
> >
> > My take is that Redhat started Fedora as a test bed. I used it for a
> > couple of years before giving up on it. Yes, it's free, and in some ways
> > a competitor to the bigger desktop providers like Mint and Ubuntu, but
> > I couldn't put up with the constant, almost mandatory updates.
> > Nevertheless,  while I bitched about having to update, I had to
> > recognize that I knew the purpose of Fedora before I started using it -
> > I got a free desktop in exchange for being Redhat's guinea pig. So, as
> > long as Redhat needs a place to test new ideas, Fedora will probably
> > continue.
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] IBM acquires Redhat

2018-10-29 Thread Larry Brigman
Not yet.  Still needs government approval.

On Mon, Oct 29, 2018, 8:56 AM  Apparently Redhat Software is now part of IBM. What does this mean for the
> Linux community?
>
>  -- Michael C. Robinson
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Mount command creates new folders

2018-10-17 Thread Larry Brigman
Is it possible that there was a pending mount from the GUI that was waiting
for the sudo permissions and it did the mount not your command?

On Wed, Oct 17, 2018, 5:11 PM John Jason Jordan  wrote:

> On Wed, 17 Oct 2018 13:25:42 -0700 (PDT)
> Rich Shepard  dijo:
>
> >   I meant to ask what mount moints you have on /mnt.
>
> None on /mnt. Everything is on /media/jjj. Except maybe the optical
> drives; I'm not actually sure where they go. But they are not a problem
> so I ignore them.
>
> I think I have a solution. The man page for mount says that it goes
> to /etc/fstab to find where it is supposed to mount things, so I
> decided to do some serious editing of fstab. Here is my final version:
>
> # / and /home were installed on /dev/sdb because it was faster than
> /dev/sda
> #
> UUID=27c11f6b-b443-417e-9853-12c99789d8d9 / ext4 errors=remount-ro,user 0 1
> UUID=9a201393-e364-4d11-b372-877cded3b9cc /home  ext4 defaults,user 0 2
> 192.168.1.115:/volume1/Synology /media/jjj/Synology nfs auto,user 0 0
> #so clients can see nfs share
> /media/jjj /export/users none bind  0  0
> #This line not added by me:
> #/dev/disk/by-label/256GB-1 /media/jjj/256GB-1 auto
> nosuid,nodev,nofail,noauto,x-gvfs-show,x-gvfs-name=256GB-1 0 0
> #For Data drive
> UUID=f8b85f57-d7a6-4454-9939-7e21fb355bb4 /media/jjj/Data ext4
> errors=remount-ro,user 0 1
> #For Movies USB device
> UUID=50b66cfb-01ba-4c15-9f3c-5e9718c6f604 /media/jjj/Movies ext4
> errors=remount-ro,user 0 1
>
> After saving fstab where I added the Data and Movies drives, I unmounted
> both Data and Movies, and then did 'sudo mount -a'. It worked - both
> drives were mounted where they belonged, not in Data1 or Movies1 as
> sometimes happened in the past.
>
> I still don't know why mount would often take it upon itself to make a
> new folder to mount the drive in, ignoring the folder that I specified
> in the command. Like 'hey mount, what part of /media/jjj/Data did you
> not understand?'
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Mount points drive me nuts

2018-10-12 Thread Larry Brigman
hotplug adding new lines?

On Fri, Oct 12, 2018, 9:22 PM John Jason Jordan  wrote:

> Xubuntu 16.04.
>
> I have a large external USB drive that is normally mounted
> at /media/jjj/Movies. Suddenly I find that it is also mounted
> at /media/jjj/Movies1. I certainly didn't do this deliberately. I can
> access all files on the device via either mount point. They appear in
> the GUI (Nautilus or Thunar) with the same information, e.g., 2,767
> files/folders. I created the Movies mount point ages ago, but I never
> created the Movies1 folder.
>
> In fstab I find a new line that I did not write:
>
> /dev/disk/by-label/256GB-1 /media/jjj/256GB-1 auto
> nosuid,nodev,nofail,noauto,x-gvfs-show,x-gvfs-name=256GB-1 0 0
>
> The device in that line '256GB-1' is one of two USB flash drives that I
> acquired very recently (the other is '256GB-2'). When I got them I
> reformatted them ext4 and gave them their labels. I do not understand
> how a device like that can cause a line to be written to fstab, and if
> it can, why the other one did not also create a line for itself.
>
> Explanations? Suggestions?
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Rsync again

2018-10-06 Thread Larry Brigman
I would add checking of the return code (exit code) for the 'cd' commands.
As it is now those could fail but something latter would have to detect the
failure.

On Sat, Oct 6, 2018, 5:28 PM John Jason Jordan  wrote:

> On Sat, 06 Oct 2018 13:08:21 -0700
> Tomas K  dijo:
>
> >Simple if statement in your backup script should take care of it.
> >You can do it number of ways - here is one - checking that there is any
> >content in the directory before starting rsync (in bash):
> >
> >#!/bin/bash
> >backupTargetDir=/media/jjj/Synology
> >cd $backupTargetDir
> ># wait 30 seconds for the directory to mount
> >sleep 30
> >filesInDir=$(ls | wc -l)
> >if (( $filesInDir > 0 )); then
> >  echo "INFO: Backing up files to $backupTargetDir"
> >  rsync 
> >else
> >  echo "WARNING: No files in $backupTargetDir"
> >fi
>
> ¡Me gusta!
>
> Here is how I finalized it:
>
> #!/bin/bash
> cd ..
> cd /media/jjj/Movies
> backupTargetDir=/media/jjj/Synology
> cd $backupTargetDir
> # wait 30 seconds for the directory to mount
> sleep 30
> filesInDir=$(ls | wc -l)
> if (( $filesInDir > 0 )); then
>   echo "INFO: Backing up files to $backupTargetDir"
>   rsync -rptog --progress --stats --delete
> --exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/
> /media/jjj/Synology
> else echo "WARNING: No files in $backupTargetDir"
> fi
>
> I could probably add another if statement to be sure
> that /media/JJJ/Movies is mounted, but that's my work directory, so
> it's highly unlikely that it would not be mounted.
>
> I tested it and it works fine! Thanks for the help!
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] A "Where am I" routine

2018-07-06 Thread Larry Brigman
Do you have more than one home directories?   I would think that should be
separated out from the running distro.

On Fri, Jul 6, 2018, 8:04 AM Richard Owlett  wrote:

> When I said "directory usable by all" I wanted to run the same script
> independent of which install of Debian is active. {i.e. independent of
> hostname}
>
> On 07/06/2018 09:50 AM, Larry Brigman wrote:
> > It's common to have a $HOME/bin directory to store scripts and add that
> > directory to the PATH.
> >
> >
> > On Fri, Jul 6, 2018 at 4:24 AM Richard Owlett 
> wrote:
> >
> >> I multi-boot several configurations &/or releases of Debian.
> >> I will run identical test scripts on each.
> >> I want to store the results in a common logging file.
> >>
> >> I can set up an appropriate environment with a custom fstab containing:
> >>>
> >>>   # create a common area
> >>>   LABEL=owlcommon /home/richard/Documents/tst_common vfat
> >> user,rw,umask=000 0 0
> >>>   # a dummy mount labeled to show which instance
> >>>   LABEL=dummy /home/richard/Documents/where/sda14 ext4 user,ro 0 0
> >>>
> >>>
> >> The first statement gives me a directory usable by all.
> >> The second tells me where I am by using:
> >>  ls /home/richard/Documents/where
> >> in any test script.
> >>
> >>
> >> ___
> >> PLUG mailing list
> >> PLUG@pdxlinux.org
> >> http://lists.pdxlinux.org/mailman/listinfo/plug
> >>
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> >
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] A "Where am I" routine

2018-07-06 Thread Larry Brigman
It's common to have a $HOME/bin directory to store scripts and add that
directory to the PATH.


On Fri, Jul 6, 2018 at 4:24 AM Richard Owlett  wrote:

> I multi-boot several configurations &/or releases of Debian.
> I will run identical test scripts on each.
> I want to store the results in a common logging file.
>
> I can set up an appropriate environment with a custom fstab containing:
> >
> >  # create a common area
> >  LABEL=owlcommon /home/richard/Documents/tst_common vfat
> user,rw,umask=000 0 0
> >  # a dummy mount labeled to show which instance
> >  LABEL=dummy /home/richard/Documents/where/sda14 ext4 user,ro 0 0
> >
> >
> The first statement gives me a directory usable by all.
> The second tells me where I am by using:
> ls /home/richard/Documents/where
> in any test script.
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Problems installing MariaDB

2018-07-01 Thread Larry Brigman
Just a btw.
The command 'script' can record your commands and the output.

On Sun, Jul 1, 2018, 2:56 AM Richard Owlett  wrote:

> Reading the man page for dpkg-reconfigure lead to reading debconf-show
> which lead to further investigation.
>
> Which led to doubts about integrity/consistency of my complete system.
> One of the suggestions from another list suggested purging mariadb and
> installing mysql. Not sure if I muddled that operation.
>
> I have enough disk to create 2 more partitions; one for installing
> mariadb and one for installing mysql. Both will be as minimalist as
> practical. That will allow keeping complete records of what and when I
> do things. I suspect I've triggered some "corner case" bug.
>
> On 06/30/2018 03:50 PM, Ben Koenig wrote:
> > mariadb-server is a meta package pointing to the latest version of
> mariadb
> > in the repository so it may not have of the configure scripts. Try
> running
> > 'dpkg-reconfigure mariadb-server-10.1'
> >
> > Of course I have I have no idea if this is actually why its not
> > reconfiguring just a thought.
> >
> > On Fri, Jun 29, 2018 at 9:36 AM, Richard Owlett 
> wrote:
> >
> >> I have not used a relational database since dBASEII was current.
> >> About a year ago I attempted to install MariaDB but didn't find a
> tutorial
> >> which was a close enough match to my system.
> >>
> >> I use Debian 9 with MATE.
> >>
> >> I found:
> >> https://www.tecmint.com/install-mariadb-in-debian/
> >> https://www.linode.com/docs/databases/mariadb/mariadb-setup-debian/
> >>
> >> Using the official Debian repository:
> >> apt-get install software-properties-common
> >> apt-get install mariadb-server mariadb-client
> >>
> >> There seemed to be no problems.
> >>
> >> *BUT* both references auto-magically go to a GUI setup screen.
> >>
> >> It was suggested in another forum that I (as root) do:
> >> dpkg-reconfigure debconf
> >> dpkg-reconfigure mariadb-server
> >>
> >> The first appeared to run.
> >> The second did nothing. No warnings. No error messages. Just returned to
> >> prompt.
> >>
> >> Ideas.
> >> TIA
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] [OT ? ?? ???] Linux and computer literacy

2018-06-24 Thread Larry Brigman
The local 169.254 address is part of zeroconf.  If that package (avahi on
some distros) isn't loaded or the service is disabled/not running then
there won't be any autoconfiguration.
I did see that one of the interfaces was up with link(UP,LOWER_UP) in the
output.

On Sun, Jun 24, 2018 at 4:48 PM wes  wrote:

> On Sun, Jun 24, 2018 at 2:55 PM, Tyrell Jentink 
> wrote:
>
> > What are you even on about? It's a network device... "Gates and Company"
> > uses a really complicated, error prone piece of crap sync software to do
> a
> > one-time sync from a system running an old version of Windows to a system
> > running a newer version of Windows... Linux can very very certainly
> > outperform it... What we can't help you with is what you aren't
> explaining:
> >
>
> I haven't followed every detail of this thread, so I apologize if the
> following is a repeat of some earlier post.
>
> This is the device he's working with:
>
> https://sewelldirect.com/usb2bridgecable
>
> http://prolificusa.com/product/pl25a1-hi-speed-usb-host-host-bridge-controller/
> http://www.prolific.com.tw/US/ShowProduct.aspx?pcid=43
>
> I've just ordered one so I can play with it for a bit myself. Perhaps at
> the next Linux Clinic, if we have time, we can invite Richard to
> participate remotely.
>
> I also found the following writeups of people doing similar things with
> this device:
>
>
> http://paulswasteland.blogspot.com/2014/01/getting-prolific-pl-2501-based-usb-to.html
>
> https://www.linuxquestions.org/questions/linux-networking-3/host-to-host-cable%3B-no-usb0-779573/
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/516923
> https://www.raspberrypi.org/forums/viewtopic.php?t=131042
>
> The last one suggests that it "just works" - the previous 3 are older and
> talk about requiring a patch to a kernel module to get this cable to work.
> We don't really know what Richard's particular situation is.
>
> I do realize that network interfaces are created; however the lack of
> autoconfig and the "state UNKNOWN" worry me. He should at least be getting
> a self-generated 169.254 address.
>
> I also realize it can be frustrating when advice is offered to someone and
> they ask the same question again as if you hadn't said anything in the
> first place. Usually I find in these cases that it comes from the other
> person misunderstanding the advice. I do this not infrequently, though now
> that I'm familiar with this behavioral quirk, I will admit to it. If this
> is so frustrating to you that you feel the need to become cross about it, I
> would have to suggest that you decline to reply further. Others are likely
> to take up the baton in your place. This is a group effort, after all.
>
> -wes
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Terminal shortcuts

2018-06-19 Thread Larry Brigman
On Tue, Jun 19, 2018 at 10:47 PM wes  wrote:

> >
> >
> > OK, this is Linux, where someone a long time ago decided to name a root
> > folder /usr to save typing just one tiny letter. I mean, seriously.
> > There has to be a way to save constantly re-typing at the command line.
> > Any suggestions?
> >
>
> I have so many command aliases, that I've moved them out of my .bashrc into
> their own .shell_aliases file. You'll want to find a handy combination of
> letters which don't already belong to a command, and create one to suit
> your purposes. There are many ways to do this, each having their own pros
> and cons. I'll discuss one way; I'm sure others will chime in with various
> other solutions and tell me what's missing from mine.
>
> Since the utility you're calling is mkvmerge, I might be tempted to create
> an alias called "mm". That doesn't do anything on my system, but you might
> want to check yours first to make sure it's not taken. Such an alias would
> look like so:
>
> alias mm='mkvmerge -i'
>
> Thereafter, you can simply type mm , and you're off to the
> races. Bash automagically passes along any arguments you supply to an
> alias.
>
> You can place this in your .bashrc file if you want it to be available upon
> each future login.
>
> And bash (or zsh) autocomplete will try to autocomplete using esc-esc and
that applies to aliases too.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] [OT ? ?? ???] Linux and computer literacy

2018-06-19 Thread Larry Brigman
On Tue, Jun 19, 2018 at 5:13 AM Richard Owlett  wrote:

> On 06/19/2018 06:45 AM, Russell Senior wrote:
> > Here is someone 10 years ago, using debian:
> >
> >
> >
> https://jonmccune.wordpress.com/2008/12/09/prolific-pl-25a1-usb-to-usb-bridge-in-linux/
>
> Now bookmarked. I read. It stated in part "... a new usbX network
> interface (view with `ifconfig -a`)."
> I tried and was given much - need to read up to understand what it tells
> me.
>
> Then I read the rest of your post ;/
>
> ifconfig will only output the interfaces that have been configured.  If
the usbN interface(or some other name) has been created but not configured,
you will only see it in the dmesg or the ip link command output.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I talk to it

2018-06-11 Thread Larry Brigman
from a wine/dos prompt -> dir g:?

On Sun, Jun 10, 2018 at 9:28 PM Chuck Hast  wrote:

> Yes that is what g: is aimed at. But for some reason the program does not
> see
> it.
>
> On Sun, Jun 10, 2018 at 11:20 PM, Larry Brigman 
> wrote:
>
> > More likely to sdb.
> >
> > On Sun, Jun 10, 2018 at 9:01 PM Chuck Hast  wrote:
> >
> > > On closer inspection I see that both of these are removed when the
> device
> > > is
> > > disconnected:
> > > Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.185219] sd 9:0:0:0: Attached
> > > scsi generic sg2 type 0
> > > Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.191102] sd 9:0:0:0: [sdb]
> > > Attached SCSI removable disk
> > >
> > > So should my link be to /dev/sdb
> > > or
> > > /dev/sg2
> > > ??
> > >
> > >
> > > On Sun, Jun 10, 2018 at 10:56 PM, Chuck Hast  wrote:
> > >
> > > > Chee, I missed that one... Well now to give it a try, but I am
> getting
> > > too
> > > > sleepy,
> > > > so better wait until tomorrow.
> > > >
> > > > On Sun, Jun 10, 2018 at 9:08 PM, Russell Senior <
> > > russ...@personaltelco.net
> > > > > wrote:
> > > >
> > > >> dmesg says /dev/sdb
> > > >>
> > > >> df or mount will only show it if it has been mounted.
> > > >>
> > > >> On Sun, Jun 10, 2018 at 6:20 PM, Chuck Hast 
> wrote:
> > > >>
> > > >> > That was the second option after looking in /dev. I figured it
> would
> > > >> show
> > > >> > up in
> > > >> > one of those places but no joy.
> > > >> > Here is what I see from the df command
> > > >> >
> > > >> > Pre-USB connection:
> > > >> > kp4djt@kp4djt-t420:/dev$ df
> > > >> > Filesystem 1K-blocks  Used Available Use% Mounted on
> > > >> > udev 3952548 0   3952548   0% /dev
> > > >> > tmpfs 794616  9544785072   2% /run
> > > >> > /dev/sda1  472559888 168056020 280476172  38% /
> > > >> > tmpfs3973072 28056   3945016   1% /dev/shm
> > > >> > tmpfs   5120 8  5112   1% /run/lock
> > > >> > tmpfs3973072 0   3973072   0% /sys/fs/cgroup
> > > >> > tmpfs 79461640794576   1% /run/user/1000
> > > >> > kp4djt@kp4djt-t420:/dev$
> > > >> >
> > > >> > Post connection:
> > > >> >
> > > >> > kp4djt@kp4djt-t420:/dev$ df
> > > >> > Filesystem 1K-blocks  Used Available Use% Mounted on
> > > >> > udev 3952548 0   3952548   0% /dev
> > > >> > tmpfs 794616  9556785060   2% /run
> > > >> > /dev/sda1  472559888 168056024 280476168  38% /
> > > >> > tmpfs3973072 28056   3945016   1% /dev/shm
> > > >> > tmpfs   5120 8  5112   1% /run/lock
> > > >> > tmpfs3973072 0   3973072   0% /sys/fs/cgroup
> > > >> > tmpfs 79461640794576   1% /run/user/1000
> > > >> > kp4djt@kp4djt-t420:/dev$
> > > >> >
> > > >> > As you can see there is no difference.
> > > >> >
> > > >> >
> > > >> >
> > > >> > On Sun, Jun 10, 2018 at 1:51 PM, Ken Stephens <
> > > >> kennethgsteph...@gmail.com>
> > > >> > wrote:
> > > >> >
> > > >> > > The it will be a drive letter in dosdevices.  Do a df and see
> > where
> > > >> it is
> > > >> > > mounted.  In a Fedora Distribution, it should be mounted in
> > > >> > > /run/media//.
> > > >> > > Link that to a drive letter in dosdevices.
> > > >> > >
> > > >> > > Ken
> > > >> > >
> > > >> > > On Sun, Jun 10, 2018 at 11:18 AM Chuck Hast 
> > > wrote:
> > > >> > >
> > > >> > > > Ken,
> > > >> > > > The first thing I did was look in /dev to see if it was there
> > but
> > > no
> > > >> > > joy. I
> > > >>

Re: [PLUG] How do I talk to it

2018-06-10 Thread Larry Brigman
More likely to sdb.

On Sun, Jun 10, 2018 at 9:01 PM Chuck Hast  wrote:

> On closer inspection I see that both of these are removed when the device
> is
> disconnected:
> Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.185219] sd 9:0:0:0: Attached
> scsi generic sg2 type 0
> Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.191102] sd 9:0:0:0: [sdb]
> Attached SCSI removable disk
>
> So should my link be to /dev/sdb
> or
> /dev/sg2
> ??
>
>
> On Sun, Jun 10, 2018 at 10:56 PM, Chuck Hast  wrote:
>
> > Chee, I missed that one... Well now to give it a try, but I am getting
> too
> > sleepy,
> > so better wait until tomorrow.
> >
> > On Sun, Jun 10, 2018 at 9:08 PM, Russell Senior <
> russ...@personaltelco.net
> > > wrote:
> >
> >> dmesg says /dev/sdb
> >>
> >> df or mount will only show it if it has been mounted.
> >>
> >> On Sun, Jun 10, 2018 at 6:20 PM, Chuck Hast  wrote:
> >>
> >> > That was the second option after looking in /dev. I figured it would
> >> show
> >> > up in
> >> > one of those places but no joy.
> >> > Here is what I see from the df command
> >> >
> >> > Pre-USB connection:
> >> > kp4djt@kp4djt-t420:/dev$ df
> >> > Filesystem 1K-blocks  Used Available Use% Mounted on
> >> > udev 3952548 0   3952548   0% /dev
> >> > tmpfs 794616  9544785072   2% /run
> >> > /dev/sda1  472559888 168056020 280476172  38% /
> >> > tmpfs3973072 28056   3945016   1% /dev/shm
> >> > tmpfs   5120 8  5112   1% /run/lock
> >> > tmpfs3973072 0   3973072   0% /sys/fs/cgroup
> >> > tmpfs 79461640794576   1% /run/user/1000
> >> > kp4djt@kp4djt-t420:/dev$
> >> >
> >> > Post connection:
> >> >
> >> > kp4djt@kp4djt-t420:/dev$ df
> >> > Filesystem 1K-blocks  Used Available Use% Mounted on
> >> > udev 3952548 0   3952548   0% /dev
> >> > tmpfs 794616  9556785060   2% /run
> >> > /dev/sda1  472559888 168056024 280476168  38% /
> >> > tmpfs3973072 28056   3945016   1% /dev/shm
> >> > tmpfs   5120 8  5112   1% /run/lock
> >> > tmpfs3973072 0   3973072   0% /sys/fs/cgroup
> >> > tmpfs 79461640794576   1% /run/user/1000
> >> > kp4djt@kp4djt-t420:/dev$
> >> >
> >> > As you can see there is no difference.
> >> >
> >> >
> >> >
> >> > On Sun, Jun 10, 2018 at 1:51 PM, Ken Stephens <
> >> kennethgsteph...@gmail.com>
> >> > wrote:
> >> >
> >> > > The it will be a drive letter in dosdevices.  Do a df and see where
> >> it is
> >> > > mounted.  In a Fedora Distribution, it should be mounted in
> >> > > /run/media//.
> >> > > Link that to a drive letter in dosdevices.
> >> > >
> >> > > Ken
> >> > >
> >> > > On Sun, Jun 10, 2018 at 11:18 AM Chuck Hast 
> wrote:
> >> > >
> >> > > > Ken,
> >> > > > The first thing I did was look in /dev to see if it was there but
> no
> >> > > joy. I
> >> > > > see the
> >> > > > device appear on my desktop as a ST MicroSD Flash, but I cannot
> find
> >> > > where
> >> > > > to setup a link to the thing.
> >> > > >
> >> > > > On Sun, Jun 10, 2018 at 11:02 AM, Ken Stephens <
> >> > > kennethgsteph...@gmail.com
> >> > > > >
> >> > > > wrote:
> >> > > >
> >> > > > > Chuck,
> >> > > > >
> >> > > > > You need to add a link to it in ~/.wine/dosdevices
> >> > > > >
> >> > > > > Ken
> >> > > > >
> >> > > > > On Sat, Jun 9, 2018 at 9:20 PM Chuck Hast 
> >> wrote:
> >> > > > >
> >> > > > > > Folks, I have a radio that uses a USB link to an STMicro
> >> device. It
> >> > > > shows
> >> > > > > > up on my laptop as an SDMicroSD Flash. I need a program that I
> >> run
> >> > in
> >> > > > > > Wine to see it but cannot figure out how to make it visible to
> >> the
> >> > > > > program.
> >> > > > > >
> >> > > > > > Here is the trace from a console capture:
> >> > > > > >  Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.086367] usb 1-1.1:
> >> new
> >> > > > > > full-speed USB device number 8 using ehci-pci
> >> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181567] usb 1-1.1:
> >> New
> >> > USB
> >> > > > > > device found, idVendor=0483, idProduct=5720
> >> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181577] usb 1-1.1:
> >> New
> >> > USB
> >> > > > > > device strings: Mfr=1, Product=2, SerialNumber=3
> >> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181583] usb 1-1.1:
> >> > > Product:
> >> > > > > Mass
> >> > > > > > Storage in FS Mode
> >> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181588] usb 1-1.1:
> >> > > > > Manufacturer:
> >> > > > > > STMicroelectronics
> >> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181592] usb 1-1.1:
> >> > > > > SerialNumber:
> >> > > > > > 001B
> >> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.184059] usb-storage
> >> > > > 1-1.1:1.0:
> >> > > > > > USB Mass Storage device detected
> >> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.184232] scsi host9:
> >> > > > > usb-storage

Re: [PLUG] How to confirm my router is safe

2018-04-24 Thread Larry Brigman
The second piece that I saw was to turn off upnp protocol.
Akamai(sp?) has a white paper about it and a list affected routers.

On Tue, Apr 24, 2018, 5:07 PM Ben Koenig  wrote:

> > https://www.opb.org/news/article/npr-sounding-the-alarm-
> > about-a-new-russian-cyber-threat/
> >
> > It recommends following your router manufacturer's guidance on making
> sure
> > the router is secure. It doesn't say specifically what to search for. I
> > have a Buffalo WZR-600DHP running OpenWrt LuCI, Attitude Adjustment
> 12.09.
> > What foo should I use to determine what version of firmware I should be
> > running to be reasonably secure?
> >
>
>
> Dear God. You just linked to an HTTPS website that contains insecure
> content. I examined the source code for that web page, and nearly drowned
> in the tsunami of Javascript that filled my screen.
>
>
> Supposedly, the authenticity of opb.org was verified by a certificate,
> however there are some jpg images being displayed that were retrieved via
> the HTTP protocol.
>
> Looks fishy, does anybody here know who
> opb-imgserve-production.s3-website-us-west-2.amazonaws.com is? There are a
> number of images on that article page that are linked from that domain over
> HTTP. It's not a mistake, since they appear to be inaccessible when making
> the request over https://.
>
>
> http://opb-imgserve-production.s3-website-us-west-2.amazonaws.com/c_limit,g_center,h_480,q_90,w_620/583fb000afffed62434e727397972932.jpg
>
> I'm not exactly sure how "bad" this is, but just to be safe I'm going to
> update my firmware AND stop visiting www.opb.org   :-(
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Interpreting lm_sensors output

2018-04-08 Thread Larry Brigman
The ACPI is part of the motherboard and as such will take automatic action
no matter the OS that is installed.
We had several servers shut down when the AC went out in our lab.  All of
these are real servers with IPMI monitoring.
Nothing tripped in the IPMI but the machines were shut down.  After some
investigation, we found that the ACPI levels for
temperature were lower than the IPMI levels.  At the time of the event, we
didn't even have the ACPI package installed,
so there was no log of what happened.  We did eventually find one machine
that recorded the over-temp event.

On Sun, Apr 8, 2018 at 7:40 AM, Rich Shepard 
wrote:

>   Yesterday I upgraded logwatch and it changed the output while leaving the
> datetime stamps on /usr/share/logwatch/default_conf/logwatch.conf
> unchanged
> but changing the .conf file. Shrug.
>
>   Anyway, looking at the .conf file the only change I saw from the prior
> file
> was directing the output to stdout rather than mail. I fixed that. The
> maillog output format changed (no big deal), and a report on lm_sensor
> output was added at the end of the report.
>
>   I find no man page or other local doc that explains the output and would
> like a pointer to a doc that teaches me how to interpret the report.
> Today's
> report follows:
>
> - lm_sensors output Begin 
>
>  atk0110-acpi-0
>  Adapter: ACPI interface
>  Vcore Voltage:  +1.38 V  (min =  +0.85 V, max =  +1.60 V)
>   +3.3 Voltage:  +3.34 V  (min =  +2.97 V, max =  +3.63 V)
>   +5 Voltage:+4.92 V  (min =  +4.50 V, max =  +5.50 V)
>   +12 Voltage:  +11.98 V  (min = +10.20 V, max = +13.80 V)
>  CPU FAN Speed: 2777 RPM  (min =  600 RPM, max = 7200 RPM)
>  CHASSIS FAN Speed: 2777 RPM  (min =  600 RPM, max = 7200 RPM)
>  CPU Temperature:+61.0 C  (high = +60.0 C, crit = +95.0 C)
>  MB Temperature: +34.0 C  (high = +45.0 C, crit = +75.0 C)
>
>  k10temp-pci-00c3
>  Adapter: PCI adapter
>  temp1: +0.0 C  (high = +70.0 C)
> (crit = +99.5 C, hyst = +97.5 C)
>
>
> -- lm_sensors output End -
>
>   While this all looks good to me I want to know what actions to take if
> values approach or exceed the high, max, or crit values.
>
> Rich
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] SAS HBA and miniSAS cabling

2018-03-08 Thread Larry Brigman
Do some searching.  Most of the hba controllers can replace the firmware
with a non-raid version.

On Mar 8, 2018 4:50 PM, "Russell Senior"  wrote:

> Hi,
>
> Wearing my Personal Telco Project non-profit hat at the moment, we got
> a new server by way of a generous grant from FreeGeek, a Dell R720.
> Come to find out, though, Dell's installed RAID controller (H710 mini)
> is missing the ability to treat the drives as Just a Bunch of Disks
> (JBOD).  It is possible to use the H710 mini to create 1-drive RAID0
> arrays and use the resulting virtual disks that way, but
> unfortunately, that breaks hot-swapping which is very desirable for us
> (we don't want to take downtime every time a disk fails).
>
> So, I've been looking at options for installing an LSI or IBM
> ServeRAID controller in so-called IT mode that makes the disks
> available as regular disks.  In order to reach the extra distance to
> the PCIe risers where the Host Bus Adapter (HBA) would be installed,
> we need new, longer cables as well.
>
> Before plumbing the depths of E-bay, I wonder if anyone on this list
> has: a) experience doing this and associated advice; and/or b) a spare
> card and/or cables.
>
> TIA!
>
> --
> Russell Senior, President
> russ...@personaltelco.net
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CentOS 6 to 7 migration

2018-02-09 Thread Larry Brigman
The biggest learning curve is systemd.
If you have service scripts for things, you will need to convert them.
Also file system defaults to xfs.
NFS also goes to the next version.


On Feb 9, 2018 3:53 PM, "Galen Seitz"  wrote:

> Hi,
>
> My task for this weekend is to install CentOS 7 on my primary machine.
> It's currently running CentOS 6, so after tonight's backup I will
> perform the 7 install.  I've done other installs of 7, but this will be
> the first of a machine that is running important stuff.
>
> Here are some of the services that I currently have running.  Among
> these, ssh, postfix, and dovecot are the most critical.  The others can
> be brought up on an as needed basis.
>
> cups0:off   1:off   2:on3:on4:on5:on6:off
> denyhosts   0:off   1:off   2:on3:on4:on5:on6:off
> dovecot 0:off   1:off   2:on3:on4:on5:on6:off
> fail2ban0:off   1:off   2:off   3:on4:on5:on6:off
> httpd   0:off   1:off   2:on3:on4:on5:on6:off
> postfix 0:off   1:off   2:on3:on4:on5:on6:off
> postgresql  0:off   1:off   2:on3:on4:on5:on6:off
> smb 0:off   1:off   2:on3:on4:on5:on6:off
> sshd0:off   1:off   2:on3:on4:on5:on6:off
>
> If you've learned anything relevant from performing a CentOS, Scientific
> Linux, or RHEL migration, I'd love to hear it.  I've read through the
> Redhat Migration Guide, but I'd be interested in hearing any other words
> of wisdom regarding the move from 6 to 7.
>
> Thanks!
> galen
> --
> Galen Seitz
> gal...@seitzassoc.com
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] [OT?] Internet privacy? ?? ???

2018-02-02 Thread Larry Brigman
Clicking on a link in a YouTube video could get that type of information to
a source that could/would use it,
as the link could take you off the youtube site completely.
Any site that he connects can collect any information that the browser has
configured as to his identity.

Also without any clicking, he could receive spam email that looks like it
was extracted related to his viewing habits
but be totally unrelated.

On Fri, Feb 2, 2018 at 6:32 PM, Richard Owlett  wrote:

> On 02/02/2018 08:06 PM, Michael Barnes wrote:
>
>> In short, there is no such thing as privacy on the internet, period. If he
>> wants to look at anything anywhere on the internet, any information on his
>> computer is subject to retrieval. I would suggest he acquire a separate
>> computer (preferably running Linux) and put absolutely no user
>> identifiable
>> information on it, i.e. user Fred Flinstone, address Bedrock, etc. Create
>> a
>> new email for the purpose, like fredf100...@gmail.com, and use that
>> system
>> for all internet activity. Whatever personal info is gleaned from that
>> computer is worthless and he will have nothing to worry about. Of course
>> he
>> will have to create new YouTube, Facebook, etc. accounts. That's the cost
>> of "privacy".
>>
>>
> I do not know if you are "PARANOID" or "ACCURATE".
> As I compulsively avoid social media, I've no idea of what questions to
> ask to determine what is happening.
>
> Thanks for the efforts.
>
>
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Am I asking the "right question"

2017-12-28 Thread Larry Brigman
'chroot' is an isolation/security mechanism.  It doesn't allow programs
running within it to access anything except the kernel and the
programs/libraries within the chroot.
For what you are doing, think of it as a file system tree that you can test
most of your boot environment (short of booting) prior to needing to
actually boot it.
And because it is just a command away,  it is fast to change and experiment.

On Thu, Dec 28, 2017 at 8:13 AM, Richard Owlett  wrote:

> Those are among the pages that confused me long ago.
>
> They, without adequate background, say to use "chroot".
> My visualization of using debootstrap is to place Debian on a write only
> medium.
> The descriptions of "chroot" I've seen imply it's a crude VM like thingy.
>
>
>
> On 12/28/2017 09:30 AM, David Bridges wrote:
>
>> Search for debootstrap, the link provided earlier was for an extremely
>> old version of Debian although a search for dbootstrap debian | debian
>> dbootstrap  in search engines finds current documentation
>>
>> debootstrap wiki page
>> https://wiki.debian.org/Debootstrap
>>
>> Current Debian install guide
>> https://www.debian.org/releases/stable/amd64/index.html.en
>>
>> debootstrap section in current install guide
>> https://www.debian.org/releases/stable/amd64/apds03.html.en#idm46300556
>> 432288
>>
>> To me this doesn't really sound like what you are looking for but only
>> you can know for sure.
>>
>> --
>> David
>>
>>
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Local openshift resources

2017-12-04 Thread Larry Brigman
This list is probably the best for finding Linux things that Google puts
too far down the lists to be useful.
I'm looking for any Portland local resources to help answer questions
related to Openshift Origin.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Figure out IP camera

2017-12-03 Thread Larry Brigman
Unless this is a multi-thousand dollar device, I suspect that it isn't
doing anything fancy except maybe encryption but that could prevent them
from exporting the device.  For port 53, you will need to point dig at it.

For VLC, the it to open a UDP stream at the ports in question.

On Dec 3, 2017 5:41 AM, "Chuck Hast"  wrote:

> Well, I ran wireshark against it, I can see the port 54 arp queries, but I
> see
> nothing else.
>
> I tried netcat but get nothing. Even when I send udp packets to the ports
> that
> nmap says are open i.e. 53, 8000 and 49153.
>
> I installed an app on the android device that is supposed to capture data
> but
> it just sees the arp transactions but nothing with the video, so not sure
> if they
> are using the apr just to ID then doing something at the mac level or what.
>
>
> On Sun, Dec 3, 2017 at 12:35 AM, Tomas Kuchta <
> tomas.kuchta.li...@gmail.com>
> wrote:
>
> > Try pointing web browser at those ports, both http and https or mplayer
> in
> > various modes, as you would normally do with webcam.
> >
> > I personally failed to do anything, but opening a file with VLC in more
> > instances than I can count. That app is a mystery to me  no patience
> > for GUI, I suppose... LOL
> >
> > -T
> >
> > On Dec 2, 2017 9:28 PM, "Larry Brigman"  wrote:
> >
> > > Have you tried VLC against one of of the ports?
> > > Also port 53 is normally DNS. Maybe it will provide the necessary
> > > information.
> > >
> > > On Dec 2, 2017 9:02 PM, "Chuck Hast"  wrote:
> > >
> > > Folks,
> > > I purchased a borescope, it has a wifi output on it to view the
> borescope
> > > video,
> > > but it works with android and iOS. I am trying to get into it with a
> web
> > > browser to
> > > see if I can pull the video that way.
> > >
> > > A scan shows the following UDP ports open
> > > 53
> > > 8000
> > > 49153
> > >
> > > I am assuming that they are using one of those ports for the video, but
> > not
> > > sure how to try to get it to send video to me without the app. I have
> > tried
> > > to
> > > get a packet capture on the android device I have the app installed on.
> > >
> > > This is a General Tool borescope (same concept at an endoscope) I would
> > > like to be able to view the video on something beside a phone. I have
> > been
> > > able to find the paths to video sources on ip cameras but this thing
> has
> > me
> > > stumped.
> > >
> > > I tried running wireshark on a laptop and tried to do a capture on the
> > data
> > > on the Wifi channel but no joy. I remember that I used to be able to do
> > it
> > > in
> > > the past, but guess either the encryption or something is not working
> in
> > > promiscuous mode. .
> > >
> > > --
> > >
> > > Chuck Hast  -- KP4DJT --
> > > I can do all things through Christ which strengtheneth me.
> > > Ph 4:13 KJV
> > > Todo lo puedo en Cristo que me fortalece.
> > > Fil 4:13 RVR1960
> > > ___
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > ___
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
>
>
>
> --
>
> Chuck Hast  -- KP4DJT --
> I can do all things through Christ which strengtheneth me.
> Ph 4:13 KJV
> Todo lo puedo en Cristo que me fortalece.
> Fil 4:13 RVR1960
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Figure out IP camera

2017-12-02 Thread Larry Brigman
Have you tried VLC against one of of the ports?
Also port 53 is normally DNS. Maybe it will provide the necessary
information.

On Dec 2, 2017 9:02 PM, "Chuck Hast"  wrote:

Folks,
I purchased a borescope, it has a wifi output on it to view the borescope
video,
but it works with android and iOS. I am trying to get into it with a web
browser to
see if I can pull the video that way.

A scan shows the following UDP ports open
53
8000
49153

I am assuming that they are using one of those ports for the video, but not
sure how to try to get it to send video to me without the app. I have tried
to
get a packet capture on the android device I have the app installed on.

This is a General Tool borescope (same concept at an endoscope) I would
like to be able to view the video on something beside a phone. I have been
able to find the paths to video sources on ip cameras but this thing has me
stumped.

I tried running wireshark on a laptop and tried to do a capture on the data
on the Wifi channel but no joy. I remember that I used to be able to do it
in
the past, but guess either the encryption or something is not working in
promiscuous mode. .

--

Chuck Hast  -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Closing sockets using atexit C code.

2017-11-14 Thread Larry Brigman
TCP Connections will linger in the kernel for about 15 minutes after the
application closes them.  Those can be seen from netstat or ss as TIME_WAIT.

A user/process has limits on file descriptors.  A non-root user by default
is only allowed 1024.

On Nov 14, 2017 1:33 PM, "michael"  wrote:

> Thank you.  Another question, how can I tell if the program opening
> sockets is crashing enough times to cause problems for other processes?
> My hypothesis is that this program opens 3 sockets and crashes, sockets
> linger for a while.  Do this n times, the Pi starts to have problems.
> If the Pi is resource starved, that will affect the NFS server running
> on it.
>
> On 2017-11-14 12:48, John Meissen wrote:
>
>> Sockets are just file descriptors. All file descriptors should be closed
>> automatically as part of the process termination cleanup that the system
>> does.
>>
>> While it's good practice to handle these sorts of things they will happen
>> automatically if you don't.
>>
>> In C there is an atexit function that takes no arguments.  Because of
>>> this, you can't pass in the
>>> file descriptors for your sockets.  Uge!  Short of making these integers
>>> global, how can I close
>>> these sockets on premature program termination?
>>>
>>> int client=0,server=0;
>>>
>>> void exiting()
>>> {
>>>  close(client);
>>>  close(server);
>>> }
>>>
>>> int main(void)
>>> {
>>>  atexit(exiting);
>>>
>>>  struct sockaddr...
>>> }
>>>
>>> Note that there are a bunch of includes for TCP sockets and a lot more
>>> code.
>>> ___
>>> PLUG mailing list
>>> PLUG@pdxlinux.org
>>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>>
>>
>>
>> ___
>> PLUG mailing list
>> PLUG@pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug