Re: [PLUG] Move cron jobs to new computer

2023-09-30 Thread David Fleck
--- Original Message ---
On Friday, September 29th, 2023 at 6:22 PM, John Jason Jordan  
wrote:
> Names of what? I still haven't found where cron is storing the jobs.
> The cron man page is silent on the subject, and online I haven't found
> it mentioned yet. It's not /var/spool/cron; empty on both systems. And
> it's not in /etc/cron.d or any of the /etc/cron. folders, because
> all they have is the standard default folders and files, all with old
> timestamps.

Can you describe what you did to create the jobs in the first place?


--
David Fleck



Re: [PLUG] Ubuntu messed up LO!

2023-06-27 Thread David Bridges
I've always found the following helps with broken packages on a Debian
based system. 

apt-get -f install 

You can do man apt-get for more info.

--
David

-Original Message-
From: Michael Ewan 
Reply-To: Portland Linux/Unix Group 
To: Portland Linux/Unix Group 
Cc: PLUG 
Subject: Re: [PLUG] Ubuntu messed up LO!
Date: 06/26/2023 05:21:09 PM

Synaptic, Apt, or whatever all use dpkg under the covers.

Do 'dpkg --list' to see what is installed.

Make a list of things you want to remove, i.e. 'dpkg --list | grep
'somepattern' > files.txt

Then use 'dpkg deinstall' or 'dpkg -r' for each package you want to
remove,
you can gang them up on the command line if there are just a few.
There are various --force-[something] options if you run into trouble
with
dependencies or broken packages.






On Mon, Jun 26, 2023 at 2:07 PM John Jason Jordan 
wrote:

> I had LO downloaded from LO (not the Ubuntu repositories) and
> installed
> on my Xubuntu 22.04 laptop. Today I decided to do a system update,
> using
> the Update Manager utility. When the Update Manager finished sniffing
> the internet and my computer it came up with over 250 packages that
> needed to be updated. I scanned through the list and saw a lot of LO
> packages, so I painstakingly went through the entire list and
> deselected all the LO packages. If I had not done so, I reasoned, the
> updates would overwrite my installed non-Ubuntu version. When I
> finished I clicked the button to start the update.
> 
> As I watched the progress, imagine my horror as LO packages displayed
> as
> being installed. WTH? I don't know how this happened, but I figured
> the
> thing to do was let the update finish, reboot, and then open Synaptic
> package manager, select all the LO packages and mark them to be
> deleted, then click on Synaptic's Apply button to finish the task. My
> plan was to get rid of god only knows what mess was installed after
> the
> update, then download the current latest from LO and install it.
> 
> Sadly, this failed. Synaptic said it couldn't delete the packages
> because I had 'broken' packages that needed to be fixed. Guess which
> packages were broken? Yup, you guessed it - every one of the LO
> packages that I was trying to uninstall.
> 
> Just for kicks and giggles, before further attempts to resolve the
> problems, I decided to see what would happen if I tried to launch
> Writer, the only package I really use. Amazingly a Writer window
> opened, ready to start writing. The only problem was that my floating
> toolbar for formatting was missing, but that is easily fixed.
> 
> Questions:
> 
> 1) I had 7.3.7.2 (that's what it says in Writer's Help - About). If I
> download and install 7.4.7 or 7.5.4 (the latest from LO), will it
> overwrite all the messed up packages? Or will it fail to complete the
> installation and leave me with an even bigger mess?
> 
> 2) What would be a command line tool to fix the broken pages? I'd
> settle for just uninstalling them. After all, they're going to be
> replaced anyway.
> 
> Observations and suggestions welcome!
> 



Re: [PLUG] Remind or Tkremind

2022-12-21 Thread David Fleck
> now I have to figure out why '* * 21 * *' repeats the message  every 60 
> seconds.

because that first '*' tells cron to repeat an action once every minute of the 
hour, and the second '*' tells it to repeat the action every hour of the day.

Pick an hour you want the message to appear, and replace 
* * 21 * *
with
0 {hour} 21 * *
and you'll get the message once, at the top of the hour, on the 21st of each 
month.

--
- David Fleck


--- Original Message ---
On Wednesday, December 21st, 2022 at 4:12 PM, John Jason Jordan 
 wrote:


> Oops. Something is wrong with this line:
> 
> * * 21 * * MAILTO="" DISPLAY=:0.0 gxmessage -font "Junicode 24" Pay
> T-Mobile
> 
> I expected it to pop up a message today (the 21st), and it did so, but
> 60 second later it opened up another one, and again every sixty seconds.
> I couldn't figure out how to shut down gxmessage. It's not in Top or
> Task Manager. Eventually I opened crontab again and put a # in front of
> the line, then saved it and exited from the editor. That did the job,
> but now I have to figure out why '* * 21 * *' repeats the message every
> 60 seconds.
> 
> Steve,
> 
> Thanks for the suggestion. I spent some time trying to figure out how
> to do it with cron and gxmessage. I added this line to crontab:
> 
> * * 21 * * MAILTO="" DISPLAY=:0.0 gxmessage -font "Junicode 24" Pay
> T-Mobile
> 
> That is, I set it at the 21st, because that's tomorrow, to see if cron
> pops up the message. If I do just the gxmessage part at the command
> line it pops up the message, with an 'OK' button to close the message,
> so it ought to work if I got the crontab line correct.
> 
> Crossing fingers for tomorrow. :)
> 
> 
> On Mon, 19 Dec 2022 23:42:07 -0800
> Steve Dum dr.d...@frontier.com dijo:
> 
> > my ubuntu 22.04 release comes with a program called notify_send that
> > does what you request
> > it takes a -t n option to set the time it stays on screen and totally
> > ignores the parameter.
> > However it takes a urgency argument, -u critical seems to leave the
> > note on screen until you delete it.
> > notify-send -u critical "time to write that check"
> > seems to do what you want. But if you do more than 1 notify-send they
> > appear serially so you don't see the next one
> > until you close the current one.
> > looking at the online man page, it has tabs for every supported ubuntu
> > version so it's been around a while.
> > steve
> > 
> > John Jason Jordan wrote:
> > 
> > > I need an little application that will pop up a reminder on the same
> > > day of every month, and crucially, leave it on the screen until I
> > > manually close the window. There are lots of notify tools, but they
> > > just pop up a little notice for 10-20 seconds and then the notice
> > > disappears.
> > > 
> > > So far the only thing I have found is Remind, and its GUI tool,
> > > Tkremind. I've installed both, and they run, but there is no
> > > documentation other than a man page, which I can't figure out. That
> > > is, I created a reminder, but it never appears, so clearly I haven't
> > > done it right.
> > > 
> > > The purpose is to pay a bill that comes due every month on the 20th,
> > > and each month with a different amount. I could set up an auto-pay
> > > with my bank, but not if the amount varies. The vendor also has an
> > > auto-pay option, but to use it I have to give them my credit card
> > > number and authorization to charge it for whatever they want. No
> > > thanks, I'm not that stupid.
> > > 
> > > I could probably figure out how to use cron, but cron needs to call a
> > > program to do the announcement. Or at least I think it does. Cron is
> > > a mystery to me.
> > > 
> > > Surely there exists a simple, understandable reminder app. Any
> > > suggestions?


Re: [PLUG] Remind or Tkremind

2022-12-20 Thread David Fleck
My wife has had pretty good luck with KAlarm, which seems to behave just as you 
specify.  Not sure if KAlarm will work outside of KDE, though.

--
- David Fleck


--- Original Message ---
On Monday, December 19th, 2022 at 10:21 PM, John Jason Jordan  
wrote:


> I need an little application that will pop up a reminder on the same
> day of every month, and crucially, leave it on the screen until I
> manually close the window. There are lots of notify tools, but they
> just pop up a little notice for 10-20 seconds and then the notice
> disappears.
> 
> So far the only thing I have found is Remind, and its GUI tool,
> Tkremind. I've installed both, and they run, but there is no
> documentation other than a man page, which I can't figure out. That is,
> I created a reminder, but it never appears, so clearly I haven't done
> it right.
> 
> The purpose is to pay a bill that comes due every month on the 20th,
> and each month with a different amount. I could set up an auto-pay with
> my bank, but not if the amount varies. The vendor also has an auto-pay
> option, but to use it I have to give them my credit card number and
> authorization to charge it for whatever they want. No thanks, I'm not
> that stupid.
> 
> I could probably figure out how to use cron, but cron needs to call a
> program to do the announcement. Or at least I think it does. Cron is a
> mystery to me.
> 
> Surely there exists a simple, understandable reminder app. Any
> suggestions?


[PLUG] Linux laptop recommendations?

2022-12-18 Thread David Fleck
My ThinkPad E531 is showing signs of age and the effects of one too many 
beverages spilled onto the keyboard, and I am now seriously looking for a 
replacement laptop. Asking for any recommendations from the group for a 
replacement.

I use the laptop for web browsing and lightweight programming (generally 
command-line scripting), along with some video HDMI streaming and occasional 
DVD watching. The E531 has a built-in DVD-RW drive, which appears to be a 
vanishing feature in modern laptops. I can live without it, though - presumably 
I could find an external drive.

I'm somewhat partial to ThinkPads (I like the overall form factor and it's 
worked very well with OpenSUSE for me) but always interested in possible 
improvements. I'm intrigued by System76 and wonder if anybody has had 
experience with them (OpenSUSE or not), or any other model that they've found 
works well with Linux.

Thanks in advance for all responses--

--
- David Fleck

Re: [PLUG] Small script to run tftp

2022-10-15 Thread david

On 10/15/22 13:20, Chuck Hast wrote:

Folks,
I have some WiFi devices that I am loading code into to convert
them to something called AREDN, Amateur Radio Emergency
Data Network. Most of them use tftp to upload the new image
into the device. After doing several of them I tried to figure out
how to write a small script to do the tftp uploads. The steps are
as follows
kp4djt@kp4djt64:~$ tftp 192.168.1.1
tftp> bin(set binary transfer)
tftp> trace on   (set trace on)
Packet tracing on.(response)
tftp> put /tftp/file.bin   (file to send to device)

At this point it will either start showing blocks being
sent or will time out
I would like to write a script that just runs that, I would
have 2 versions one for devices which default to 192.168.1.1
and those who use .1.20, then it runs and all I have to do
is either edit it and put the upload file in or have it stop
and I paste/type the file name in and turn it loose.

Of course as soon as you invoke tftp it jumps into it's own
interface, I googled for writing scripts to control tftp, I saw
some that embed it in a bash script but appears that you
i have to make the tftp entries by hand with those scripts.

Anyone have any idea of how to write a script to invoke
tftp and insert commands to tftp?




I believe you want to explore the use of an "expect" script. This allows 
you to receive input from the system being connected to and acting when 
specific prompts are encountered.


It's been two decades since I have messed with this language, but I am 
certain that it will do what you want to accomplish, even if not a 
simple task to learn.


dafr



Re: [PLUG] Music Composing Software

2022-09-22 Thread David Bridges
I'd suggest Musescore (https://musescore.org/en) although at least for
me it is quite a learning curve.  

It would make things much more simple with a midi keyboard controller.
Any hardware midi suggestions would be appreciated.  I'm the cheap type
and was looking at something like the Arturia MiniLab MkII Mini Hybrid
Keyboard Controller.

--
David


-Original Message-
From: Michael Barnes 
Reply-To: Portland Linux/Unix Group 
To: Portland Linux/Unix Group 
Subject: [PLUG] Music Composing Software
Date: 09/22/2022 07:30:39 AM

I may have asked this before, but forgot.

Any suggestions on music composing software for Linux? I'm not talking
about an audio editor like Audacity. I want to see a staff and put
notes on
it and hopefully play it. I did find some programs maybe a year ago,
but
can't remember any of the names.

Thanks,
Michael



Re: [PLUG] filesystems question

2022-05-13 Thread David Bridges
I've forced this hundreds of times over the years working for a hosting
provider where we used software raid / LVM on almost all of our
servers.

I've found the following commands quite helpful when in the situation
like you describe.  I'd usually be using a CentOS rescue environment
mainly because I have it all set up to pxe boot, do installs, etc but
the Debian rescue environment works just fine too.

lvm vgscan
lvm vgchange -ay
lvm lvs

I'll always follow up with the following (assuming the commands worked)

e2fsck /dev/volumegroupname/logicalvolumename

<--snip-->

the array wasn't just in a degraded state when the new drive was added,
it could not be started at all. the system had crashed and would not
boot fully. it would load the kernel and whatever it could load from
md0, but once it came time to mount the volumes from md1, it stalled. I
had to go into a liveboot environment, manually assemble the array
(with --force), and add the new drive. it synced, then I had to re-
apply the correct name and uuid to the array. then it was detected and
started by the system on md0. but still could not mount the lvm
volumes.
<--snip-->

--
David


Re: [PLUG] Laptop battery health check: strange result

2022-03-14 Thread David Bridges
Perhaps your device is not correct.

Try upower --dump  to see everything.

--
David

-Original Message-
From: Rich Shepard 
Reply-To: Portland Linux/Unix Group 
To: plug@pdxlinux.org
Subject: Re: [PLUG] Laptop battery health check: strange result
Date: Mon, 14 Mar 2022 14:44:31 -0700 (PDT)

On Mon, 14 Mar 2022, Jeff Kirsher wrote:

> Do you have dmidecode installed? Usually that is needed to provide
> battery
> information

Jeff,

I assume that I do, Both laptops are running new installations of
Slackware64-15.0. One produced a complete battery report, the other
didn't.

Thanks,

Rich



Re: [PLUG] Replacement laptop

2022-02-25 Thread David Bridges
If you do decide to take a look at used equipment and you don't mind
buying out of state I think that https://discountelectronics.com/ is a
nice place to buy equipment from.  

I've bought lots of servers, workstations, and laptops from them over
the years.  If you are looking for refurbished Dell or HP stuff it
might be worth it for you to check them out.  They are based in Austin
and get new stuff almost daily.  Almost all systems come with a 1 year
warranty.

--
David

-Original Message-
From: Russell Senior 
Reply-To: Portland Linux/Unix Group 
To: Rich Shepard , Portland Linux/Unix Group

Subject: Re: [PLUG] Replacement laptop
Date: Fri, 25 Feb 2022 12:26:07 -0800

My 2¢. Look at the FreeGeek ebay store. They have recycled laptops for
cheap, already running Linux.

On Fri, Feb 25, 2022 at 8:32 AM Rich Shepard 
wrote:
> 
> I think it's time to replace my Dell Latitude E5410 since it's giving
> me
> fits installing Slackware64-15.0. It's run Slackware since about
> 2010,
> upgraded as new releases became available, but now it has major
> issues with
> the new release and a full, clean installation. (My Lenovo ThinkPad
> X200 has
> no issues with 15.0 but is too limited as a portable work station.)
> 
> I'm looking at Dell and Lenovo ThinkPads, 13"-14" screens preferred,
> but I
> accept that 15"+ are now the most common. I also want to spend as
> little as
> necessary to get a reliable laptop that will last like the Dell and
> X200
> have.
> 
> Recommendations and suggestions solicited.
> 
> Rich



Re: [PLUG] Counting Files

2021-08-17 Thread David Fleck
Ugh. Sorry, too little coffee.  Didn't notice this had already been covered.

--- David Fleck

‐‐‐ Original Message ‐‐‐

On Tuesday, August 17th, 2021 at 7:39 AM, David Fleck  
wrote:

> 'cut' might work well also.
>
> > ls | cut -f1 -d@ | sort | uniq -c
>
> to get a list in sort order, or
>
> > ls | cut -f1 -d@ |sort | uniq -c | sort -n
>
> to get a list ordered by frequency.
>
> --- David Fleck
>
> ‐‐‐ Original Message ‐‐‐
>
> On Tuesday, August 17th, 2021 at 1:46 AM, Russell Senior 
> russ...@personaltelco.net wrote:
>
> > From the uniq manpage:
> >
> > Note: 'uniq' does not detect repeated lines unless they are
> >
> > adjacent. You may want to sort the input first, or use 'sort -u'
> >
> > without 'uniq'. Also, comparisons honor the rules specified by
> >
> > 'LC_COLLATE'.
> >
> > On Mon, Aug 16, 2021 at 10:45 PM wes p...@the-wes.com wrote:
> >
> > > On Mon, Aug 16, 2021 at 8:45 PM Randy Bush ra...@psg.com wrote:
> > >
> > > > can you point me to where it is documented that `find` is guaranteed
> > > >
> > > > to produce an ordered list?
> > >
> > > I don't have any such documentation or belief. my belief is that uniq will
> > >
> > > count non-consecutive matches, that's what I'm relying on. however, 
> > > sorting
> > >
> > > first doesn't hurt anything, so have at it.
> > >
> > > yeah, awk is often a more appropriate tool for this type of job, it's just
> > >
> > > that I happened to learn sed first, so I default to that. it's the same
> > >
> > > reason I use vi instead of emacs, it's largely down to complete 
> > > coincidence.
> > >
> > > -wes


Re: [PLUG] Counting Files

2021-08-17 Thread David Fleck
'cut' might work well also.

> ls | cut -f1 -d@ | sort | uniq -c

to get a list in sort order, or

> ls | cut -f1 -d@ |sort | uniq -c | sort -n

to get a list ordered by frequency.

--- David Fleck

‐‐‐ Original Message ‐‐‐

On Tuesday, August 17th, 2021 at 1:46 AM, Russell Senior 
 wrote:

> From the uniq manpage:
>
> Note: 'uniq' does not detect repeated lines unless they are
>
> adjacent. You may want to sort the input first, or use 'sort -u'
>
> without 'uniq'. Also, comparisons honor the rules specified by
>
> 'LC_COLLATE'.
>
> On Mon, Aug 16, 2021 at 10:45 PM wes p...@the-wes.com wrote:
>
> > On Mon, Aug 16, 2021 at 8:45 PM Randy Bush ra...@psg.com wrote:
> >
> > > can you point me to where it is documented that `find` is guaranteed
> > >
> > > to produce an ordered list?
> >
> > I don't have any such documentation or belief. my belief is that uniq will
> >
> > count non-consecutive matches, that's what I'm relying on. however, sorting
> >
> > first doesn't hurt anything, so have at it.
> >
> > yeah, awk is often a more appropriate tool for this type of job, it's just
> >
> > that I happened to learn sed first, so I default to that. it's the same
> >
> > reason I use vi instead of emacs, it's largely down to complete coincidence.
> >
> > -wes


Re: [PLUG] Counting Files

2021-08-16 Thread David Fleck
As Wes said, an example or two would help greatly.

--- David Fleck

‐‐‐ Original Message ‐‐‐

On Monday, August 16th, 2021 at 7:17 PM, wes  wrote:

> are firstnames and lastnames always separated by the same character in each
>
> filename?
>
> are the names separated from the rest of the info in the filename the same
>
> way for each file?
>
> are you doing this once, or will this be a repeating task that would be
>
> handy to automate?
>
> would you be able to provide a few same filenames, perhaps with the
>
> personal info obfuscated?
>
> generally, the way I would approach this is to pare the filenames down to
>
> the people's names, and then run uniq against that list. uniq -c will
>
> provide a count of how many times a given string appears in the input. if
>
> I'm doing this once, I would generate a text file containing the list of
>
> filenames I will be working with, for example:
>
> find Processed -type f > processed-files.txt
>
> then use a text editor to pare down the entries as described above, using
>
> find and replace functions to remove the extra data, so only the people's
>
> names remain. then simply uniq -c that file and you're done. I personally
>
> use vi for this, but just about any editor will do. I like this approach
>
> for a number of reasons, not the least of which is that I can spot-check
>
> random samples after each editing step to try to spot unexpected results.
>
> if you want to automate this, it may be a little more complicated, and the
>
> answers to my initial questions become important. if you can provide a
>
> little more context, I will try to help further.
>
> -wes
>
> On Mon, Aug 16, 2021 at 5:01 PM Michael Barnes barnmich...@gmail.com
>
> wrote:
>
> > Here's a fun trivia task. For an activity I am involved in, I get files
> >
> > from members to process. The filename starts with the member's name and has
> >
> > other info to identify the file. After processing, the file goes in the
> >
> > ./Processed folder. There are thousands of files now in that folder. Right
> >
> > now, I'm looking for a couple basic pieces of information. First, I want to
> >
> > know how many unique names I have in the list. Second, I'd like a list of
> >
> > names and how many files go with each name.
> >
> > I'm sure this is trivial, but my mind is blanking out on it. A couple
> >
> > simple examples would be nice. Non-answers, like "easy to do with'xxx'" or
> >
> > references to man pages or George's Book, etc. are not helpful right now.
> >
> > Thanks,
> >
> > Michael


Re: [PLUG] running (ancient) .BAS file with linux

2021-07-13 Thread David Bridges
Debian also has a package named basic256 which might work.  It is
available in stable, testing, and unstable repos.

--
David


> > > 
> > > I see a Debian package that might work
> > > python3-pcbasic - cross-platform emulator for the GW-BASIC family
> > > of
> > > interpreters (Python2)
> > > 
> > > Bill
> > 
> > A Debian package?
> > I don't find it when searching https://packages.debian.org .
> > 
> It could depend on which repositories are in your sources.list, but
> this search works:
> apt-cache search gw basic
> 
> Bill
> 
> 

I did separate searches for "python3-pcbasic" and "pcbasic" by entering
them in the search box at
https://www.debian.org/distrib/packages#search_packages to avoid 
possible sources.list related anomalies.

I just re-ran the search specifying "any" for suite.
"python3-pcbasic" is available in testing and unstable.

BTW it has a web site at http://robhagemans.github.io/pcbasic/ .








Re: [PLUG] Website of linux command examples

2021-06-20 Thread David Barr



On 6/20/21 09:00, Rich Shepard wrote:
> On Sun, 20 Jun 2021, John Jason Jordan wrote:
>
>>> I've seen a wiki-like page of Linux command examples.
>>> Unfortunately I failed to bookmark it.
>
>> I have never seen such a page, but that doesn't mean one could not be
>> created. Make it sort of like Wikipedia, where viewers can add their own
>> comments and tricks. But it would eventually get really big.
>
> I recommend downloading a copy of Linux In A Nutshell, 6th Edition
> <https://doc.lagout.org/operating%20system%20/linux/Linux%20in%20a%20Nutshell,%206th%20Ed.pdf>
>
> because it has the context.

/The Linux Command Line/ is also available online in its entirety.

http://linuxclass.heinz.cmu.edu/doc/tlcl.pdf

David

-- 

David/dafydd

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

"If all the girls attending the Yale prom were laid end to end, I
wouldn't be a bit surprised." --Dorothy Parker (attributed)



Re: [PLUG] Debian buster newbie: recompiling libgd for freetype support

2021-06-07 Thread David Bridges
I noticed others provided links with help related to building Debian
packages, doing it the Debian way is normally quite simple but it also
might be worth looking DebianScience.  The link below has information
about the project, links to mailing lists, etc.

https://wiki.debian.org/DebianScience

--
David

-Original Message-
From: Keith Lofstrom 
Reply-To: kei...@keithl.com, Portland Linux/Unix Group

To: plug@pdxlinux.org
Subject: [PLUG] Debian buster newbie: recompiling libgd for freetype
support
Date: Fri, 4 Jun 2021 15:40:23 -0700

I'm attempting to add freetype support to libgd for debian
buster.  What's the best way to replace or add a recompiled
library in debian?  I can figure out the specifics, but I
do not yet understand "The Debian Way".



I've used the Scientific Linux variant of RedHat/CentOS
Long Term Support for many years, but now both are going
away.  All that is going away due to BHMR (Butt Headed
Management Reversals), so I am attempting a transition to
Debian Buster, rebuilding shell scripts, and recompiling
many C language point tools I've built over the decades.

I've built hundreds of "engineering animations" using libgd
to make png frames, then combined them into flash animations
and displayed those with firefox.  I labelled the animations
with truetype fonts. 

All that Just Worked, mostly because many in the Scientific
Linux community did the same things.  And now it Doesn't
Just Work.  The SL community is scattering to the winds ...
some to $$$ Enterprise, some to Alma Linux, some to Debian,
and a few (including some small engineering businesses 
disturbingly like mine) to involuntary shutdown.

SL supported international collaborations that perform big
experiments at the Large Hadron Collider and LIGO and on
ISS, so this may impact science productivity for years -
and my productivity for many months.



The good news is that I have learned how to make animated
PNGs with "apngasm", and that works better than SWF. 
That also simplifies the web pages in which I imbed the
animations, so this part of the transition is going well.  

But I'm tearing my hair out trying to understand and work
with all the variations of libgd.  The builtin fonts for
libgd look like 1980's video game crap.  I've added the
packages for truetype fonts, but libgd doesn't find them.

Stock debian buster libgd (2.2.5-5.2) complains "libgd
was not built with freetype font support" ... /if/ I add
the package that converts return codes into error strings.  
"bullseye" and "sid" use libgd 2.3.0-2 ... also not built
with freetype font support.  That version of libgd also
seems to be called libgd3, which is confusing.

It seems like the best way forwards is to recompile libgd
with freetype font support enabled, then replace the
system's libgd library ... but I don't know the right way
to do that, and my clumsy efforts could break other tools
and screw up updates and upgrades.

So ... how do Debian Cool Kids recompile and upgrade 
commonly used system libraries like libgd?

Keith





Re: [PLUG] sed script help needed

2021-03-19 Thread David Fleck
Rich-

what's going wrong?  I tried that sed command out on your test lines and got:

'1983-074','Aq Permitting','Cr','Mid-Oregon Crushing Co., Inc.','','Notice of 
Civil Penalty Assessment','','8/26/1983','4500'
'1984-001','Wq Permitting','Wr','Vandervelde, Roy','','Notice of Civil Penalty 
Assessment',' Wq','5/23/1984','2500'
'1987-027','Wq Permitting','Wq','Merit Usa, Inc. (Briggs/Industrial Oil/Fuel 
Proce)','','Notice of Civil Penalty Assessment',' Wq','5/28/1987','3500'
'1988-017','Open Burning','Swr','Jones, Billy And Ladake, Robert','','Notice of 
Civil Penalty Assessment','','2/18/1988','500'
'1988-031','Asbestos','Nwr','Labenske, Bill R. Jr.','','Notice of Civil Penalty 
Assessment','','6/12/1988','0'
'1989-041','','Sw','Thomas, Donn, Aka/Donn Beam; Schultz, 
Richard;,Ann','','Notice of Civil Penalty Assessment','','2/23/1989','0'



--
- David Fleck

‐‐‐ Original Message ‐‐‐
On Friday, March 19, 2021 1:09 PM, Rich Shepard  
wrote:

> I have a sed script (all-caps-to-mixed.sed) that apparently worked some
> years ago but isn't working today. I'd appreciate learning how to fix it.
>
> The script:
> #!/usr/bin/sed
>
> ==
>
> usage: sed -rf all-caps-to-mixed.sed < inputfile > outputfile
>
> ==
>
> Change from all uppercase words to mixed case.
>
> ===
>
> ==
>
> s/([A-Z])([A-Z]*)/\1\L\2/g
>
> Here're some test lines; I included different string formats:
>
> '1983-074','AQ Permitting','CR','MID-OREGON CRUSHING CO., INC.','','Notice of 
> Civil Penalty Assessment','','8/26/1983','4500'
> '1984-001','WQ Permitting','WR','VANDERVELDE, ROY','','Notice of Civil 
> Penalty Assessment',' WQ','5/23/1984','2500'
> '1987-027','WQ Permitting','WQ','MERIT USA, INC. (BRIGGS/INDUSTRIAL OIL/FUEL 
> PROCE)','','Notice of Civil Penalty Assessment',' WQ','5/28/1987','3500'
> '1988-017','Open Burning','SWR','JONES, BILLY AND LADAKE, ROBERT','','Notice 
> of Civil Penalty Assessment','','2/18/1988','500'
> '1988-031','Asbestos','NWR','LABENSKE, BILL R. JR.','','Notice of Civil 
> Penalty Assessment','','6/12/1988','0'
> '1989-041','','SW','THOMAS, DONN, AKA/DONN BEAM; SCHULTZ, 
> RICHARD;,ANN','','Notice of Civil Penalty Assessment','','2/23/1989','0'
>
> While some uppercase strings should be that way, e.g. USA, those are easily
> repaied with emacs search-and-replace. It's the longer strings in
> multi-thousand line files that I want to modify.
>
> TIA,
>
> 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] Raving mad RAID

2021-02-18 Thread David

On 2/17/21 4:40 PM, John Jason Jordan wrote:


Yes, device names may change on booting or when plugged in, but don't
device names stay put once you are booted or a drive is plugged in?


This sounds like a cable or hardware issue to me. If a drive is mounted 
and something happens and the kernel isn't involved, you will get a new 
mount address of the same thing.


Either the drives are going to sleep, as already suggested, or there is 
a glitch in the communication path which is causing a sporadic 
disconnect/reconnect sequence.


I have seen this periodically with USB, and TB3 likely uses something 
similar, where udev is involved.


Sorry that I don't have a solution, but if you have another TB3 cable 
you could use, that may help narrow things down if the problem goes away.


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


Re: [PLUG] Next topic: whiteboard software

2021-02-01 Thread David Bridges
I've only made simple presentations but here are 2 options.

Libreoffice can make presentations and was simple enough to do what I
wanted but can probably do much more.

I also use OnlyOffice from a nextcloud instance I have here at home. 
It works very nicely for Documents, Spreadsheets, and presentations. 
It's also very handy to have stuff available from the web or an
internal network.  The only bad thing about OnlyOffice is that you
cannot edit from a mobile device (requires a paid license).  The
collaboration tools available in OnlyOffice are also great as long as
all users are using a PC.

--
David

-Original Message-
From: John Sechrest 
Reply-To: Portland Linux/Unix Group 
To: Portland Linux/Unix Group 
Subject: Re: [PLUG] Next topic: whiteboard software
Date: Fri, 29 Jan 2021 14:19:09 -0800

That makes sense.

However, sometimes people use various markup tools to generate text.
Most
don't do images well.

So I was hoping for a list of options



On Fri, Jan 29, 2021 at 11:02 AM Rich Shepard

wrote:

> On Fri, 29 Jan 2021, John Sechrest wrote:
> 
> > What are the more refined alternatives for sharing prepared slides?
> 
> John,
> 
> I've always used a PDF document of slides prepared using the Beamer
> class
> in
> LaTeX and I present them with the displayer, "impressive." Yes,
> that's its
> name. :-)
> 
> > And then what are the linux alternatives to doing shared
> > drawing/documenting/mapping?
> 
> Any application you use in linux that can be saved as a PDF or bit-
> mapped
> file (e.g., .jpg or .png).
> 
> Did I misinterpret what you asked?
> 
> 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] Execute Script Via Email

2021-01-21 Thread David

On 1/21/21 8:11 AM, Michael Barnes wrote:

Is there a way to execute a script via email? I have a machine that does
several monitoring tasks of equipment. When certain conditions are detected
and at scheduled times, the machine sends status emails to me. I would like
to send an email back to execute a script to perform tasks.

Is there an easy way to do this?


I'm not sure about the "easy" part, but take a look at procmail and its 
recipes.


I don't use it, but the utility ingests mail, analyzes it, and then 
"takes an action" which is generally just a routing of some sort.


There shouldn't be any reason why you might be able to trigger a script 
instead.


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


Re: [PLUG] GUI app to access files on another Linux computer

2021-01-09 Thread David Bridges
As long as you have ssh access between the computers a decent file
manager should work nicely for this task.  I know that NFS was
mentioned in the original post but I like simple solutions.

In the file manage on Gnome I can set a location I want to access using
a syntax along the lines of

sftp://kdb16@lfs17/home/kdb16

I use ssh key authentication between my computers and have quite a few
bookmarks set up to automatically browse many computers both local and
remote.

I'm assuming that whatever file manager you use would have this
functionality in 2021 but ymmv

--
David

-Original Message-
From: John Jason Jordan 
Reply-To: Portland Linux/Unix Group 
To: plug@pdxlinux.org
Subject: Re: [PLUG] GUI app to access files on another Linux computer
Date: Fri, 8 Jan 2021 22:39:29 -0800

On Fri, 8 Jan 2021 23:38:41 -0600
Bill Barry  dijo:

> Try searching sshfs gui. That is probably sort of close to what you
> are
> looking for.

I tried it. It was already installed. I tried sshfs and got
'need to specify destination,' so I specified the ip address of the
other computer, which gave me 'address must be in brackets' (why?) so i
added the brackets, and the error message was just repeated.

I'm not impressed with sshfs.
___
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-15 Thread David Bridges

> 
> Update. I got a USB-Ethernet adapter and am at least connected for
> now. I
> really want to  use the onboard NIC if possible. I was able to
> install
> pciutils so I can see things.  lspci shows:
> 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125
> 2.5GbE
> Controller (rev 04)
> 
> so at least it is being seen. I find no reference to it in dmesg, but
> I am
> not a dmesg guru, so I don't know if it should show up there.

I have the rev 05 version of that controller. I have been using the
driver from here
https://github.com/heri16/r8125

Perhaps looking over the pages at
https://forums.centos.org/viewtopic.php?t=75891=319289 or more
specifically 
https://centos.pkgs.org/7/elrepo-x86_64/kmod-r8125-9.003.05-1.el7_8.elrepo.x86_64.rpm.html
will help you get this going as long as you don't mind using a third
party repository on the system.

--
David

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


Re: [PLUG] ProxyJump Link

2020-12-04 Thread David Barr


On 12/4/20 10:03, Paul Heinlein wrote:
> On Thu, 3 Dec 2020, Paul Heinlein wrote:
>
>> Someone asked about the link to SSH ProxyJump documentation. There's
>> more to be said than this, but here's the link:
>>
>> https://www.madboa.com/blog/2017/11/02/ssh-proxyjump/
>>
>> I'll post a follow-up with a real configuration that uses that sort
>> of thing in the next day or two. tl;dr: search the Internet for "ssh
>> controlmaster"
>  ...
>
> The next customization for your ssh config file ensures any SSH
> session destined for *.my.com uses your control session.
>
> # part of ~/.ssh/config
> Host *.my.com
>   CheckHostIP no
>   ProxyCommand ssh mybastion -W %h:%p
>
> The important thing to note here is that you'll need to use fully
> quallified domain names (e.g., dev.my.com) rather than short versions
> (dev) if you want to use the multiplex connection.

You can still use short names via the HostName directive.

Host dev
  HostName dev.my.com
  CheckHostIP no
  ProxyCommand ssh mybastion -W %h:%p


Cheers!
David

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


"If all the girls attending the Yale prom were laid end to end, I wouldn't be a 
bit surprised." --Dorothy Parker

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


Re: [PLUG] Auto start HTOP in tty.

2020-08-31 Thread David Bridges
The very first hit for me when searching for the terms below on
duckduckgo more than likely has the information you need since it has
information for Ubuntu and also information for systems using init or
systemd.

start htop on tty on boot 

As with most things there are more than one way to do this.

On Sun, 2020-08-30 at 22:31 -0500, Chuck Hast wrote:
> Well went against the wall on that one. No inittab... Shows
> you how much I have looked there lately.
> 
> Not sure now where to do the work on the console, has
> to be in there.
> 
> On Sun, Aug 30, 2020 at 9:43 PM Chuck Hast  wrote:
> 
> > OK, I will go through all of it, has been a long time, did that
> > sort of thing when we set up amateur radio packet switches,
> > had a screen that brought up the switch info. That has been
> > a LOT of years ago. moved to SW WA in 2012, I think I did
> > the last packet radio sw setup back 3-4 years before that.
> > 
> > Yes, it is Ubuntu server and it is systemd... I will look for the
> > config file.
> > 
> > 
> > On Sun, Aug 30, 2020 at 2:47 PM King Beowulf  > >
> > wrote:
> > 
> > > On 8/30/20 8:10 AM, Chuck Hast wrote:
> > > > That finished nailing it. I am going to work on it this
> > > > afternoon, but
> > > > that data brought it all back. Funny, my searches all brought
> > > > up
> > > > doing this in a terminal screen in the GUI, command line only
> > > > gets
> > > > no respect...
> > > > 
> > > > 
> > > > On Sun, Aug 30, 2020 at 3:20 AM Tom 
> > > > wrote:
> > > > 
> > > > > On Fri, 28 Aug 2020 18:41:20 -0500
> > > > > Chuck Hast  wrote:
> > > > > 
> > > > > > There that brought a bunch of stuff back (old sux) and I
> > > > > > started seeing light flashes, as I knew I had done it in
> > > > > > the
> > > > > > past but just could not remember how.
> > > > > > 
> > > > > > This is a server box so there is no X on it.  I will take a
> > > > > > look at screen/tmux, and see how that does.  Thank you
> > > > > > very much.
> > > > > > 
> > > > > Hi there. Just place where you see /sbin/agetty in
> > > > > /etc/inittab with
> > > > > the path to the program you want to launch instead. like
> > > > > /usr/bin/top
> > > > > 
> > > > > 
> > > 
> > > Be aware you will need more that just replacing agetty command in
> > > inittab.  If you do not and stdout and stdin redirects, you will
> > > not
> > > have keyboard functionality. See my original post to this thread.
> > > 
> > > -Ed
> > > 
> > > 
> > > ___
> > > PLUG: https://pdxlinux.org
> > > 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: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Auto start HTOP in tty.

2020-08-28 Thread David

On 8/28/20 12:00 PM, Chuck Hast wrote:

Folks,
I have a server that I would like to have HTOP startup in
one of the TTY's so far all I find are how to do it from the
GUI (no gui this is a server) I would like for HTOP to start
in say terminal 3 for grins (I use 1 and 2 for doing changes
or whatever stuff I need if I am not doing it over and SSH
screen)

So far I have not been able to find some instruction to have
a terminal (tty) start a program, any guidance here?




I think you want to look at /etc/inittab for that configuration.

It may be helpful to look at how X is (re)spawned on your system and see 
if you can mirror that.


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


Re: [PLUG] 9 Tb only allocated 200 Gb

2020-08-25 Thread David Bridges
I'm glad that it worked for you.  Always happy to help.

--
David

On Tue, 2020-08-25 at 14:41 -0500, Chuck Hast wrote:
> That did it, I now have all of my disk space I need for video
> storage.
> Again, thank you very much.
> 
> On Tue, Aug 25, 2020 at 1:19 PM Chuck Hast  wrote:
> 
> > Going to look at it tonight but that looks logical. And it follows
> > the thread I was picking up in the sequence of commands.
> > 
> > 
> > 
> > On Tue, Aug 25, 2020 at 12:21 PM David Bridges 
> > wrote:
> > 
> > > On Tue, 2020-08-25 at 10:02 -0700, Tomas Kuchta wrote:
> > > > Could you boot Knoppix on the box and expand the partition with
> > > > gparted?
> > > > 
> > > > Btw: output from: fdisk -l + /etc/fstab would be more useful
> > > > than df
> > > 
> > > The space did actually get allocated but only to ubuntu-vg (the
> > > volume
> > > group)
> > > 
> > > > VG Size   9.09 TiB
> > > >   PE Size   4.00 MiB
> > > >   Total PE  2383615
> > > >   Alloc PE / Size   51200 / 200.00 GiB
> > > >   Free  PE / Size   2332415 / <8.90 TiB
> > > 
> > > The logical volume (ubuntu--vg-ubuntu--lv) was only allocated a
> > > small
> > > portion of the space.
> > > 
> > > gparted, well any partitioning tool is not what you need here,
> > > you just
> > > need to extend the logical volume and then resize the file
> > > system.
> > > 
> > > Resizing the logical volume and resizing the file system can be
> > > done
> > > while the file system is mounted.  The commands below are
> > > examples of
> > > how you can do this.
> > > 
> > > lvextend -l +2332415 /dev/mapper/ubuntu--vg-ubuntu--lv
> > > 
> > > The command above will use up the rest of the free PE's (physical
> > > extents)  Instead of using the -l you can use -L and specify a
> > > specific
> > > amount of disk space instead of the number of extents to extend
> > > the
> > > logical volume by.
> > > 
> > > man lvextend is your friend.
> > > 
> > > 
> > > Once the logical volume has been extended you can then resize the
> > > file
> > > system using the following command.
> > > 
> > > resize2fs -F -f /dev/mapper/ubuntu--vg-ubuntu--lv
> > > 
> > > The command above assumes an ext2/ext3/ext4 file system.  If your
> > > file
> > > system is something else you would need to use the appropriate
> > > commands
> > > to resize it.
> > > 
> > > man resize2fs is also your friend.
> > > 
> > > --
> > > David
> > > 
> > > 
> > > > -T
> > > > 
> > > > On Tue, Aug 25, 2020, 06:22 Chuck Hast 
> > > > wrote:
> > > > 
> > > > > Folks,
> > > > > I just setup a Zoneminder server the machine has 9 Tb of
> > > > > drive but when I did the Ubuntu server setup it only
> > > > > allocated
> > > > > 200Gb. Here are some numbers:
> > > > > 
> > > > > root@komodo:/home/kp4djt# df
> > > > > Filesystem1K-blocks Used
> > > > > Available Use%
> > > > > Mounted
> > > > > on
> > > > > udev   184304520  1843045
> > > > > 2   0%
> > > > > /dev
> > > > > tmpfs   3694824 1444   369338
> > > > > 0   1%
> > > > > /run
> > > > > /dev/mapper/ubuntu--vg-ubuntu--lv 205375464 11628640
> > > > > 183244680   6%
> > > > > /
> > > > > tmpfs  18474116  680  1625143
> > > > > 6  13%
> > > > > /dev/shm
> > > > > tmpfs  51200  512
> > > > > 0   0%
> > > > > /run/lock
> > > > > tmpfs  184741160  1847411
> > > > > 6   0%
> > > > > /sys/fs/cgroup
> > > > > /dev/sda2999320   10630482420
> > > > > 4  12%
> > > > > /boot
> > > > > /dev/sda1523248 795651529
> > > > > 2   2%
> > > > > /boot/efi

Re: [PLUG] 9 Tb only allocated 200 Gb

2020-08-25 Thread David Bridges
On Tue, 2020-08-25 at 10:02 -0700, Tomas Kuchta wrote:
> Could you boot Knoppix on the box and expand the partition with
> gparted?
> 
> Btw: output from: fdisk -l + /etc/fstab would be more useful than df

The space did actually get allocated but only to ubuntu-vg (the volume
group)

> VG Size   9.09 TiB
>   PE Size   4.00 MiB
>   Total PE  2383615
>   Alloc PE / Size   51200 / 200.00 GiB
>   Free  PE / Size   2332415 / <8.90 TiB


The logical volume (ubuntu--vg-ubuntu--lv) was only allocated a small
portion of the space.

gparted, well any partitioning tool is not what you need here, you just
need to extend the logical volume and then resize the file system.  

Resizing the logical volume and resizing the file system can be done
while the file system is mounted.  The commands below are examples of
how you can do this.

lvextend -l +2332415 /dev/mapper/ubuntu--vg-ubuntu--lv 

The command above will use up the rest of the free PE's (physical
extents)  Instead of using the -l you can use -L and specify a specific
amount of disk space instead of the number of extents to extend the
logical volume by.

man lvextend is your friend.


Once the logical volume has been extended you can then resize the file
system using the following command.

resize2fs -F -f /dev/mapper/ubuntu--vg-ubuntu--lv

The command above assumes an ext2/ext3/ext4 file system.  If your file
system is something else you would need to use the appropriate commands
to resize it.

man resize2fs is also your friend.

--
David


> -T
> 
> On Tue, Aug 25, 2020, 06:22 Chuck Hast  wrote:
> 
> > Folks,
> > I just setup a Zoneminder server the machine has 9 Tb of
> > drive but when I did the Ubuntu server setup it only allocated
> > 200Gb. Here are some numbers:
> > 
> > root@komodo:/home/kp4djt# df
> > Filesystem1K-blocks Used Available Use%
> > Mounted
> > on
> > udev   184304520  18430452   0%
> > /dev
> > tmpfs   3694824 1444   3693380   1%
> > /run
> > /dev/mapper/ubuntu--vg-ubuntu--lv 205375464 11628640 183244680   6%
> > /
> > tmpfs  18474116  680  16251436  13%
> > /dev/shm
> > tmpfs  51200  5120   0%
> > /run/lock
> > tmpfs  184741160  18474116   0%
> > /sys/fs/cgroup
> > /dev/sda2999320   106304824204  12%
> > /boot
> > /dev/sda1523248 7956515292   2%
> > /boot/efi
> > /dev/loop15632056320 0 100%
> > /snap/core18/1880
> > /dev/loop03072030720 0 100%
> > /snap/snapd/8542
> > /dev/loop27308873088 0 100%
> > /snap/lxd/16099
> > tmpfs   36948200   3694820   0%
> > /run/user/1000
> > /dev/loop35670456704 0 100%
> > /snap/core18/1885
> > /dev/loop43072030720 0 100%
> > /snap/snapd/8790
> > /dev/loop57232072320 0 100%
> > /snap/lxd/16922
> > root@komodo:/home/kp4djt#
> > /dev/mapper/ubuntu--vg-ubuntu--lv 205375464 11628640 183244680   6%
> > /
> > is the one of interest.
> > 
> > Here is more info:
> > root@komodo:/home/kp4djt# vgdisplay -v
> >   --- Volume group ---
> >   VG Name   ubuntu-vg
> >   System ID
> >   Formatlvm2
> >   Metadata Areas1
> >   Metadata Sequence No  2
> >   VG Access read/write
> >   VG Status resizable
> >   MAX LV0
> >   Cur LV1
> >   Open LV   1
> >   Max PV0
> >   Cur PV1
> >   Act PV1
> >   VG Size   9.09 TiB
> >   PE Size   4.00 MiB
> >   Total PE  2383615
> >   Alloc PE / Size   51200 / 200.00 GiB
> >   Free  PE / Size   2332415 / <8.90 TiB
> >   VG UUID   799iwc-0lYp-Mh3T-I5JO-lPoW-vodP-rUtr7C
> > 
> > This is where the video from the Zoneminder cameras will
> > be stored. I need to increase the size of the Alloc PE / Size
> >  51200 / 200.00 GiB
> > to access most if not all of the remaining  Free  PE / Size
> >  2332415 / <8.90 TiB
> > 
> > I am not sure how to go about this one but need to expand
> > that to where it will not fill up wi

Re: [PLUG] A minimalist oriented Debian derivative?

2020-06-30 Thread David Bridges
On Tue, 2020-06-30 at 05:57 -0500, Richard Owlett wrote:
> On 06/29/2020 09:37 AM, David Bridges wrote:
> > There is a difference between the installer and installing packages
> > on
> > an installed system.
> 
> That is the *CRUX* of the situation. I already have absolute control 
> over adding new packages to an existing system.
> 
> I want that level of control during *INITIAL* system install.

A quick search for debian installer disable recommends provided your
answer to me in the third hit.  ;)  

Well not the complete answer but if one knows how to pass boot
parameters when booting the install media you can easily accomplish
what it seems you want to do.

FWIW the link is to the boot parameters section of the Buster
installation guide so reading the Debian documentation could have
provided the same answer. 

To disable installing recommended applications you can do the
following.

Boot install media
Press the escape key
at the boot: prompt type the following
expert base-installer/install-recommends=false

I tried and and unselected everything in the package selection screen
except for standard system utilities.  The install completed without
installing recommended applications and also set APT::Install-
Recommends "false"; in the new system.

If it still installs more than what you want good luck on your quest.

--
David



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


Re: [PLUG] A minimalist oriented Debian derivative?

2020-06-29 Thread David Bridges
There is a difference between the installer and installing packages on
an installed system.

It looks like you can change the behavior.  Checking the apt
configuration on a fairly new install of mine I see that recommended
packages is enabled.

root@jekyll:~# apt-config dump | grep Recommends
APT::Install-Recommends "1";

It looks like you can override that behavior but creating a new file
in /etc/apt/apt.conf.d with something like the following.

APT::Install-Recommends "0";

Might help, might not.

--
David


On Mon, 2020-06-29 at 09:14 -0500, Richard Owlett wrote:
> On 06/29/2020 08:40 AM, David Bridges wrote:
> > Not a derivative suggestion but maybe this will help.
> > 
> > When you start the installer if you choose the Expert installation
> > (I
> > believe under advanced section) or if you press the Escape key and
> > type
> > expert at the boot prompt you can get a very minimal system
> > installed
> > although there will be a few more questions that you have to answer
> > along the way.
> > 
> > The trick is when you get to the package selection screen to
> > uncheck
> > everything except for Standard System which will give you only a
> > basic
> > system with no gui.
> > 
> 
> 
> A very fine workaround. Been doing that for years for different
> problems 
> 
> 
> My current problem is the official Debian installer is effectively 
> broken. It forces you to accept packages which the repository tags
> as 
> "recommended". The problem is those packages prevent *ME* from using 
> *MY* system for *MY* intended purposes and workflow <*GRUMBLE*>
> 
> So I'm looking for what *I* consider a *WORKING* installer ;/
> 
> 
> 
> > On Sun, 2020-06-28 at 08:45 -0500, Richard Owlett wrote:
> > > I like Debian very much.
> > > However its default installer coerces an undesirable collection
> > > of
> > > "must
> > > have" applications.
> > > 
> > > I want a MATE desktop with a very sparse selection of apps
> > > installed
> > > by
> > > default. I've discovered that the installer is designed *NOT TO*
> > > implement an equivalent of apt-get's "no-install-recommends".
> > > 
> > > I want a system that allows the use of the standard Debian
> > > repository
> > > but whose installer does not forcibly coerce the installation of
> > > undesired apps.
> > > 
> > > Suggestions?
> > > 
> > > 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
> > 
> > 
> 
> ___
> 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 minimalist oriented Debian derivative?

2020-06-29 Thread David Bridges
Not a derivative suggestion but maybe this will help.

When you start the installer if you choose the Expert installation (I
believe under advanced section) or if you press the Escape key and type
expert at the boot prompt you can get a very minimal system installed
although there will be a few more questions that you have to answer
along the way.

The trick is when you get to the package selection screen to uncheck
everything except for Standard System which will give you only a basic
system with no gui. 

--
David

On Sun, 2020-06-28 at 08:45 -0500, Richard Owlett wrote:
> I like Debian very much.
> However its default installer coerces an undesirable collection of
> "must 
> have" applications.
> 
> I want a MATE desktop with a very sparse selection of apps installed
> by 
> default. I've discovered that the installer is designed *NOT TO* 
> implement an equivalent of apt-get's "no-install-recommends".
> 
> I want a system that allows the use of the standard Debian
> repository 
> but whose installer does not forcibly coerce the installation of 
> undesired apps.
> 
> Suggestions?
> 
> 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] Folding@home

2020-04-20 Thread David Fleck
I don't have any insights about your prime concern, security. I can tell you I 
ran Folding@home for a while on a secondary laptop, and they aren't kidding 
about the compute intensity and running hot parts (at least on the fairly 
pathetic ThinkPad I used). I stopped because I didn't like the idea of an 
unattended machine running that hot all the time.


--
- David Fleck

‐‐‐ Original Message ‐‐‐
On Thursday, April 16, 2020 6:54 PM, Mark Heimstaedt  
wrote:

> Avast antivirus suggests installing Folding@home module to effect
> distributed computing to analyze covid proteins. It warns compute
> intensity, running hot, and high electric use, advises run at night.
> Seeking opinions on installing Folding@home plug@pdxlinux.org
>
> especially security risks, etc.
> Your thoughts ??
>
> -
>
> Mark Heimstaedt
>
> 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] Buzzing speakers - SOLVED!

2020-03-26 Thread David

On 3/25/20 8:43 PM, Michael Barnes wrote:
-- clip --



Source of problem discovered. Still working on why. My APRS base station
beacons every 30 minutes. For some reason, I recently started getting some
RFI into  things, this speaker being one of them. Just happened to be
looking at the APRS screen when it transmitted and heard the buzz at the
same time.  Now to figure out and solve why the RFI is only recently
getting into things.



I have limited little knowledge about APRS and my HT is analog so, along 
with being green, I don't have much to offer here.


The questions that spring to mind are:

* has an antenna been added, removed, or relocated recently?
* has the power source for the speaker or base station changed?
* proper grounding on the base station?
* what happens if you hit TX on your base station for voice?

A ferrite choke may be all that is needed, but I'm not sure where it 
would need to be positioned.


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


Re: [PLUG] How to use linux for those who need to learn

2019-12-17 Thread David Bridges
Sorry for the novel.  I know I'm not really providing an answer for the
document/book you are looking for but I thought I would share a recent
experience I had.  

As technical users I think that we tend to think to much about what we
think a computer user needs to know.

> Looking for an end user document/book that's distribution agnostic.
> Focused
> on basics, such as how to view a PDF file.

Does the user really want to learn about a computer or
applications?  Computers for most people are just a tool to get work
done and my opinion is that there should not be a big learning curve to
do normal every day tasks.

Earlier this year a friend of mine who works with insurance benefits
for a major university had his laptop die the first night we were all
out of town for a tennis tournament.  He said he didn't like using a
computer in the office centers of the hotels so I let him borrow mine
since my wife also had hers that I could use for my work.  I use Debian
along with the Gnome desktop environment.  He is a smart guy in what he
does but is not even close to being a technical guy.  

> Based on the above, any modern user-friendliness distro this user is
> likely
> to use will most likely have all the apps for common file types.

The only change I  made to the account I made for him was to enable the
Applications extension so that there would be an application menu.  He
had never used linux and I told him to give me a call if he had any
problems.  He never contacted me needing help.  The morning at
breakfast thanked me for lending him the computer and asked if he could
keep it until Sunday.

We had lunch with our friends before we all headed back home on Sunday
and I asked him if he was able to get his work done with my laptop.  He
said that it sure looked different but that he found firefox and that
along with the Writer application he found in the menu was really all
he needed to get work done.  He said at first he missed the task bar
but that with Alt+Tab was able to get back to his programs and was a
bit proud when he discovered that the Windows key would show all of the
applications and allowed him to click on the one that he wanted.  

I asked if he found anything that would not work and he said he had no
problems at all.  He said that other than work he did some youtube
stuff, browsed the web, and that he and found some nice games to relax
with.

> You can also install Linux distros that were specifically developed
> for
> people moving from MS WIN or Apple systems.

If a user is really concerned about not having Windows installing these
type of distributions might be a big help but from my experience owning
a computer business people tend to complain a lot about computers not
working like they expect them to.

In linux there are more things to learn than any of us will ever have
time to learn but not everybody is a linux person like we are.  Not to
start a distro/desktop environment war but I think that providing a
nice modern desktop (gnome/kde) on a distribution that doesn't require
you to look for new applications beyond something like the software
apps in Debian/Ubuntu/Mint would be much better than setting up a
distribution with your favorite window manager.  If it doesn't work for
them or they want more or want to learn more things you can always show
them different things.  I know you like Slackware and XFCE and I was a
Slackware user for a long time but it can be a lot of work.  I think
XFCE is nice as well but I do not see it as a good environment for a
complete novice.

I have a few family members that I have set up with Debian stable who
are very happy.  I have used Debian for decades and have their systems
get automatic updates because I've never really had any issues when
following the stable branch.  I hardly ever get support calls from them
and when I do it is usually simple things that aren't really a problem.

--
David




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


Re: [PLUG] Stupid network question

2019-12-08 Thread David Fleck
>From a quick Internet search, it looks to me as though MPD is a server 
>application, and Cantata is (one of) its clients -- I assume the address, 
>port, and password information being requested are so that the client can 
>access the server.  If you don't have a configured and running MPD 
>installation, I don't think Cantata is going to do you any good.


--
- David Fleck


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


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


Re: [PLUG] When is a VPN advantageous?

2019-11-21 Thread David Bridges
I use a VPN on my laptop when I am away from my home, well actually the
laptop is even configured to use the VPN even when at home and the
laptop is using our wireless.  It's very handy and allows me to route
everything through my home network which I consider secure.

I do not use a paid solution I use openvpn that I have set up on a
server at my house.  The authentication is handled using certificates
combined with passwords.  I do not run any GUI apps over the connection
but have my email client configured to connect to a private email
server on my lan, my private git server, ssh.  Once connected to the
VPN my DNS servers are also set to use a personal bind server that is
on my private network.

Early on I did run into some issues at some hotels that used the same
private network that I use a home but with some routing configuration
in the VPN client the problem was easily fixed.  If you use tools/apps
that do things based on your location they will not work as expected
because the location will always be where your VPN is but this doesn't
bother me because I tend to block that stuff as much as possible
anyway. 

This has worked very well for me for years and was well worth the small
amount of time that it took to get it configured.  I also have a VPN
set up on a work machine just in case my home connection is down.  This
doesn't allow me to use the resources on my home network but it allows
me to route things securely through a server that I have total control
over which should never be down.  

--
David

On Mon, 2019-11-18 at 11:50 -0800, Rich Shepard wrote:
> I'm not traveling out-of-state as much as I used to and I'm curious
> when a
> VPN would be advantageous for a sole practitioner professional
> services
> provider who would access the office LAN for mail and files when not
> sitting
> at the desk there. All thoughts welcome.
> 
> 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] Procmail issues

2019-10-31 Thread David

On 10/31/19 5:15 PM, David wrote:

On 10/31/19 5:11 PM, Rich Shepard wrote:

On Thu, 31 Oct 2019, David wrote:


This is precisely what I was trying to say here:

http://lists.pdxlinux.org/pipermail/plug/2019-October/093324.html


David,

I don't think I received that one.


I personally don't believe that permissions are the issue here.


Me neither.


Perhaps if a sanitized version of your .procmail file could be pasted so
we may be able to help you better?


Not sure what to sanitize so I'll post all recipes in ~/.procmailrc. 
You'll

note that several have multiple formats as I try to find one that works.

MAILDIR=$HOME/mail
DEFAULT=/var/spool/mail/rshepard
ORGMAIL=/var/spool/mail/rshepard
LOGFILE=$PMDIR/log



< clip >

The problem is likely that you do not have PMDIR set and so it can't 
open any files.


Try adding this and trying again:

PMDIR=$HOME/.procmail


david



To refine my answer, your output above indicates that it is attempting 
to open the file named "log" in the root ("/") directory, and that 
probably doesn't exist, and it likely wouldn't have the permissions 
required if it did.


I stand by the suggestion to configure the PMDIR value above the LOGFILE 
specification.


david


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


Re: [PLUG] Procmail issues

2019-10-31 Thread David

On 10/31/19 5:11 PM, Rich Shepard wrote:

On Thu, 31 Oct 2019, David wrote:


This is precisely what I was trying to say here:

http://lists.pdxlinux.org/pipermail/plug/2019-October/093324.html


David,

I don't think I received that one.


I personally don't believe that permissions are the issue here.


Me neither.


Perhaps if a sanitized version of your .procmail file could be pasted so
we may be able to help you better?


Not sure what to sanitize so I'll post all recipes in ~/.procmailrc. You'll
note that several have multiple formats as I try to find one that works.

MAILDIR=$HOME/mail
DEFAULT=/var/spool/mail/rshepard
ORGMAIL=/var/spool/mail/rshepard
LOGFILE=$PMDIR/log



< clip >

The problem is likely that you do not have PMDIR set and so it can't 
open any files.


Try adding this and trying again:

PMDIR=$HOME/.procmail


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


Re: [PLUG] Procmail issues

2019-10-31 Thread David

On 10/31/19 3:13 PM, Louis Kowolowski wrote:

On Oct 31, 2019, at 4:35 PM, Rich Shepard  wrote:


On Thu, 31 Oct 2019, Rich Shepard wrote:


I addition to several mail lists not being properly routed by procmail
recipies, for each incoming message the log records:
procmail: Opening "/log"
procmail: Error while writing to "/log"

The log file in located in ~/procmail/ and has 666 perms.


Looking more closely at the procmail log file it appears that the
mis-routing of some mail list messages are due to procmail not being able to
write to those files.

_All_ files in ~/mail/ have 666 perms.

What might cause a writing problem by procmail to any of these files?


If there is an error writing to “/log” that sounds like a path problem.

For permissions, directory permissions?



This is precisely what I was trying to say here:

 http://lists.pdxlinux.org/pipermail/plug/2019-October/093324.html

I personally don't believe that permissions are the issue here.

Perhaps if a sanitized version of your .procmail file could be pasted so 
we may be able to help you better?


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


Re: [PLUG] procmail issue

2019-10-28 Thread David

On 10/28/19 8:04 AM, Rich Shepard wrote:

I'm trying to learn why I'm not receiving messages from the plug maillist.
Plug-talk did return my sent message and a response.

In ~/procmail I set the perms for the log file at 666 because log entries
showed,
procmail: Error while writing to "/log"

My question is why am I still seeing these errors after changing perms from
600 to 666?


Two different responses here.

First, the error appears to be trying to write to the directory "/log" 
which it will never be able to do. I would suggest checking the 
configuration to make sure that a real file name is specified.


Second, the mode of 666 is considered insecure because it permits the 
world to read and write to the file. Mode of 600 allows only the owner 
of the file to read and write.


Being that this is likely a private, single-user system, this probably 
isn't a huge security risk, but only you can answer that.


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


Re: [PLUG] Nautilus can't see freenas...

2019-08-19 Thread David

On 8/19/19 1:31 PM, Michael C Robinson wrote:
I am on a CentOS 7 system running gnome 3, fully updated.  I want 
clicking on Windows Network in Nautilus to show my freenas 11.2 U6 
server.  My smb.conf on the CentOS 7 box follows:




<-- removed smb.conf -->



Please note that I am trying to use the CentOS 7 host as a client to the 
freenas server.  I'm trying specifically to use Nautilus and browse to 
the freenas server.


[mrobinson@eagle ~]$ nmblookup freenas
192.168.254.18 freenas<00>
[mrobinson@eagle ~]$

I can do a smb://freenas manually, but I want clicking on Windows 
Network to work properly.




How are you configuring the mount for this? In order to use Nautilus or 
other tools, the OS has to know how to find the share.


I do something similar with autofs in my home network, and it works 
fine. You can set up something similar, or use /etc/fstab strictly to 
mount on boot and leave it attached all the time.


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


Re: [PLUG] Copying to new host, excluding a directory tree

2019-07-31 Thread David Bridges
> Well, I'm the only human element involved and I have no problems.
> When
> synchronizing an entire directory there's never been an issue. What I
> want
> to learn is how to exclude a specific subdirectory on the source
> host.

In an earlier reply I mentioned using a file to exclude things that is
referenced on the rsync command line.  I know that things can be
excluded as an argument on the command line but I've been tripped up
doing it like that in the past.  I would suggest trying the following 
using your correct information of course.

Create a file on the source node /home/rshepard/excludes.txt that
includes the directory you want to exclude (in this case data no /
needed), and possibly excludes.txt

The following should do what you want as it works prefectly for me with
my specific directories and excludes.

rsync -arvP -e ssh --exclude-from='/home/rshepard/excludes.txt'
/home/rshepard/ rshepard@salmo:/home/rshepard/ 

I have files with commands resembling the one above on several
computers which have worked for me for years.

Hope this helps

--
David


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


Re: [PLUG] Copying to new host, excluding a directory tree

2019-07-18 Thread David Bridges
Exclusions can also be added to a file one per line,  When using a file
listing excluded files/directories you would add something like the
following to your command line.

--exclude-from='/some/directory/excludes.txt'

--
David

On Wed, 2019-07-17 at 23:20 -0400, tomas.kuchta.li...@gmail.com wrote:
>  ... adding to this ...
> you can use --exclude dirOrFileName multiple times - it will form a
> list
> 
> in this particular case: --exclude data would work too, but it would
> exclude all
> other directories and files called data inside your recursive
> directory. This
> can be handy, or not, depending on the situation.
> 
> -T
> 
> On Wed, 2019-07-17 at 16:08 -0700, Rich Shepard wrote:
> > On Wed, 17 Jul 2019, Ben Koenig wrote:
> > 
> > > --exclude ~/data/
> > 
> > Thanks, Ben. I missed that option when I read the rsync man page.
> > 
> > Regards,
> > 
> > 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

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


Re: [PLUG] Brother 9840CDW Fedora 30...

2019-07-09 Thread David Bridges
Running Debian sid here and there are several entries in the cups
configuration utility (localhost:631) for Brotner 9840CDW.

--
David

On Tue, 2019-07-09 at 00:45 -0400, Tomas Kuchta wrote:
> Did you try to install the driver from Brother?
> https://support.brother.com/g/b/downloadtop.aspx?c=us=en=mfc9840cdw_all
> 
> It claims to emulate PostScript 3 and PCL 6. So, it should perhaps
> work
> with generic driver, even with some older basic HP driver.
> 
> I'd give it a try.
> 
> -T
> 
> 
> On Mon, Jul 8, 2019, 22:15 Michael Christopher Robinson <
> mich...@robinson-west.com> wrote:
> 
> > Anyone get this printer working in Fedora 30?  My brother gave it
> > to me
> > and he said he had a hard time finding drivers for it for Debian.
> > 
> >   -- 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

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


Re: [PLUG] Open Source Help Desk software

2019-07-03 Thread David Bridges
We have quite a few customers who use osticket https://osticket.com
which is open source and can be downloaded and installed on your
server.  It seems to work quite well and is fairly simple to set up.

They also have hosted versions but that doesn't sound like what you are
looking for.

--
David

On Wed, 2019-07-03 at 09:09 -0700, Michael Downey wrote:
> Hi all; quick clarification below:
> 
> On July 3, 2019 8:58:51 AM PDT, Kevin Brooks 
> wrote:
> > We use a product called Cerb:
> > 
> > https://cerb.ai
> > 
> > We’ve been using it for years and have been happy with everything
> > it
> > does. It is open source (available on github) but only allows for 1
> > seat without a license. 
> 
> While Cerb does have its source code available on GitHub, it is not
> Open Source as it uses the "Devblocks Public License" which is not on
> the OSI list of approved licenses: 
> https://opensource.org/licenses/alphabetical
> 
> Good luck in your search and thanks to all who are sharing
> interesting options!
> 
> Cheers,
> Michael

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


Re: [PLUG] Distro suggestions

2019-06-30 Thread David Fleck
On Saturday, June 29, 2019 10:42 PM, Russell Senior  
wrote:
> My 2¢: Most of these have live-boot options, right? Honestly, I'd download
> and boot a few and see what you like.

I should have thought of that!

Thanks for all the replies. I now have some homework to do...

--
-David Fleck

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


[PLUG] Distro suggestions

2019-06-29 Thread David Fleck
For reasons not necessary to go into here, this long-time FreeBSD/OpenSUSE user 
needs to move to a new laptop* Linux distribution, and I have the following 
choices:
CentOS
Fedora
Mint
Ubuntu

I use CentOS in a text console / server at work, and it seems okay; I'm not 
familiar with the others at all. I seem to remember Ubuntu being described as 
more Windows-y than most distros, which I don't care for. But I'd like 
suggestions as to the pros/cons of the four listed above as laptop OS'es 
specifically.

(*ThinkPad Edge E531)


Thanks in advance--

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


Re: [PLUG] EE help sought

2019-05-05 Thread David Barr
Hey, Denis,

My best friend is a co-owner of Driven Innovation
(https://www.driveninnovation.com/), down in the SF Bay Area. He works
the design side, but I'm sure they have EEs they work with on a regular
basis. Since your contact says they need specific packaging, DI might be
able to help them end-to-end.

Good luck!
David

On 5/4/19 5:31 PM, Denis Heidtmann wrote:
> An out-of-town contact is looking for help.  I quote:
>
> "Specifically, we need someone who can design, source, assemble and program
> a battery management system for our battery pack.  Many BMS’s designs
> exist, but we need to package it in a very specific way. Our original idea
> was to find someone full time but as of now we are hoping to find someone
> who could do this one job as a freelancer (over the next two to three
> months). If you know of someone who might be interested, I can send you
> more specific requirements and our budget."
>
> If you think this is task for you, let me know and I will pass on your
> contact information.
>
> -Denis
> ___
> 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] Grub 0.97: convert VM with two disk to VM with single bootable disk

2019-04-26 Thread David Bridges
There are many variables and unknowns related to what you want to do
depending on how the original VM was built and installed.  I have used
the guidelines below to do the same sort of things you are wanting to
do.

Modify the /etc/fstab entries so that they point to the correct new
locations.  Some locations probably use labels (LABEL=/boot etc) and
from what I gather from your email you are no longer using LVM and are
only using 1 partition.  If this is correct you would need to comment
out old the entry that point to /home and modify the line for / so that
it points to the correct device (/dev/vdy1).  You didn't mention what
you are doing about swap so that is an exercise left up to you.

Shutdown the VM and connect a CentOS 6 CD to it and boot it using the
CD and enter rescue mode.  You'll be asked a few questions to get
things started.  When prompted to scan for existing installations
yes/ok.  If you have things copied over and have corrected the fstab
file it should find the install and mount it all under /mnt/sysimage. 
If the install was found and mounted you should be able to install grub
using the following.

At the shell prompt type the following
chroot /mnt/sysimage
grub-install --no-floppy --recheck /dev/vdy

If the grub-install command is successful type exit to leave the chroot
and exit 1 more time to reboot.  In theory the VM should be able to
successfully boot using the new image file but there could be some
issues depending on how things got copied from the old system.

In cases similar to what you have I usually just spin up a new VM make
a copy of the /etc directory on the new system to /etc.old then use
rsync to copy everything from the old VM excluding things like /proc,
/sys, /dev, /var/log, and /boot (unless you really need something in
it).  Once the rsync completes I restore the /etc/fstab file and things
like the /etc/sysconfig/network-scripts/ifcfg* files from the /etc.old
directory.  If you did rsync /boot you should probably run the same
sort of grub-install command listed above before rebooting.  This
usually works like a charm for any distribution as long as you know
what crucial files that need to be restored.

Good luck

--
David

On Tue, 2019-04-23 at 15:05 -0700, Robert Citek wrote:
> Greetings,
> 
> How can I turn a VM with two virtual disks into a VM with a single
> virtual
> disk that boots?
> 
> I have a VM with two virtual disks, running CentOS 6.10.  The first
> disk
> (vda) has the MBR and all the boot files, i.e. vda1 is eventually
> mounted
> at /boot.  The second disk (vdb) has an LVM partition at vdb1 and
> contains
> three LVs: lv_root (/), lv_home (/home), and swap.  What I want is a
> single
> disk (e.g. vdy) that contains all the files on a single partition
> (vdy1)
> and can boot.  And I almost have that.
> 
> That is, I detached all the disks from the original VM, created a
> separate
> temporary VM with a new disk (vdy), and attached and mounted the
> disks from
> the original VM.  I then partitioned, formatted, and mounted vdy1 at
> /mnt/vdy1/.  All the lv_root files were copied to /mnt/vdy1.  All the
> lv_home files were copied to /mnt/vdy1/home.  And all the /boot files
> were
> copied to /mnt/vdy1/boot.  Given that the system is CentOS 6.1 and
> runs
> grub 0.97, how can I install Grub at vdy from this temporary VM?
> 
> I imagine I have to modify /boot/grub/device.map,
> /boot/grub/grub.conf, and
> /etc/fstab on the /mnt/vdy1 filesystem, and then run some grub
> commands.
> 
> Thanks in advance for any pointers and guidance.
> 
> Regards,
> - Robert
> ___
> 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] Using xrandr to address overscan on TV

2019-03-29 Thread David Fleck


This may be an utterly naive question, but -- does the TV have multiple display 
modes? Our very old and very cheap Toshiba has about 5, one of which works 
perfectly with OpenSUSE + HDMI.


--
- David Fleck

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


Re: [PLUG] Terminal multiplexers

2019-03-27 Thread David Bridges
I think that searching for tmux examples will provide you with the
answers you are looking for. The first hit (link below) seemed to
explain it to me.

https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/

--
David

On Wed, 2019-03-27 at 06:22 -0700, Rich Shepard wrote:
> On Wed, 27 Mar 2019, Russell Senior wrote:
> 
> > "Screen is often used when a network connection to the terminal is
> > unreliable, as a dropped network connection typically terminates
> > all
> > programs the user was running (child processes of the login
> > session), due
> > to the session ending and sending a "hangup" signal (SIGHUP
> > <https://en.wikipedia.org/wiki/SIGHUP>;) to all the child
> > processes.
> 
> Yes, I've used screen to keep a process running after I've logged off
> the
> system, but screen is apparently not a terminal multiplexer.
> 
> My web search for tmux tells me it's a tool that supports multiple
> running
> applications on a single terminal. This suggests -- to me -- that it
> provides console services analagous to what a GUI desktop environment
> does.
> Which is why I asked under what circumstances would it be useful for
> those
> of us working on a single host or local network.
> 
> 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] Google Earth on Slackware 14.2 with Nouveau

2019-03-02 Thread David Fleck
‐‐‐ Original Message ‐‐‐
On Friday, March 1, 2019 12:12 PM, Dick Steffens  wrote:

> Do I need to create a link somewhere so google-earth-pro can see what it
> needs? Or is there some other problem?



On my opensuse system,

rpm -ql glu-9.0.0-x86_64-1

lists where the files for the GLU package go.

E.g.,

> rpm -ql libGLU1-9.0.0-18.4.x86_64
/usr/lib64/libGLU.so.1
/usr/lib64/libGLU.so.1.3.1


I can't remember if Slackware uses rpms. If so, are the files  there?


--
- David Fleck


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


Re: [PLUG] Wireless access point issues

2019-02-26 Thread David

On 2/26/19 3:29 PM, Rich Shepard wrote:

On Tue, 26 Feb 2019, Rich Shepard wrote:


Since nmap sees the WAP (line 5 of the results) and it's up what might be
preventing me (and root) from pinging it or accessing its admin page 
using

the browser?


More information:

# nmap -sS 192.168.55.200

Starting Nmap 7.12 ( https://nmap.org ) at 2019-02-26 15:27 PST
Nmap scan report for wap.appl-ecosys.com (192.168.55.200)
Host is up (0.00040s latency).
Not shown: 999 filtered ports
PORT STATE SERVICE
8080/tcp open  http-proxy
MAC Address: 08:86:3B:51:99:8C (Belkin International)

Does the http-proxy have anything to do with not being able to access it?


It would probably have everything to do with it if you don't specify the 
port number when you use you attempt to connect.


Try http://192.168.55.200:8080/

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


Re: [PLUG] CCC

2019-02-24 Thread David Bridges
> I tried BRU, didn't work.  I have BackupPC on FreeNAS as an option,
> don't know how to set it up though.  One backup program for Mac,
> Linux,
> and Windows would be preferable.

I've used Bacula for backups/restores for many years both Linux and
Windows and it has worked great for us.  I do see that there is a
client bacula-fd for Mac as well but I do not have any experience using
it.

There are some GUI frontends for it but we have always just used the
command line.

It can make bare metal restores although I only have done this on linux
systems and it does take some additional work, in my case custom boot
images we boot via PXE that contains a preconfigured bacula-fd client. 

I use it for a handful of Windows servers and a little over 100 linux
servers at work and have it running at home for all of my personal
stuff (linux only)

--
David

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


Re: [PLUG] Needed: RS-232 male plug to USB male plug

2019-02-22 Thread David Barr
Nah, that's just what it's advertised for. I use it on my OSX laptop.
You might need to dig to find a *nix driver for it, but I'm reasonably
sure one exists.

David

On 2/22/19 9:47 AM, Rich Shepard wrote:
> On Fri, 22 Feb 2019, David Barr wrote:
>
>> It even comes with idiot, er, activity lights.
>> https://www.amazon.com/Gearmo-Adapter-Indicators-Windows-Support/dp/B00AHYJWWG
>>
>
> David,
>
> Really? It's specific to certain Microsoft OS versions? I thought that
> hardware adapters were OS-agnostic.
>
> Anyway, I don't need a 5-foot cable since the cradle's cable is about
> that
> length too. A one-piece adapter with a male DB-9 on one end and a male
> USB A
> size on the other is ideal, and this seems to be what Galen has.
>
> Thanks for the idea!
>
> Best regards,
>
> 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] Wanted: simple Linux spreadsheet

2019-02-22 Thread David Bridges


> That does not solve my problems. I require that any time I launch 
> LibreOffice Calc the blank sheet which appears will have *MY*
> preferred 
> font and cell width. Also is there any way to force the Help system
> to 
> use a font size large enough to read?

If you open a new spreadsheet and set all of the fonts/sizes to what
you want them to be you can then save it as a template and set it to
the default so that new sheets you create will have your settings
preset.

New spreadsheet
Make changes you want
File --> Templates --> Save as Template
Set the name, select My Templates as the category
Click the Set as default template
Click the Save button

Next time you open libreoffice calc it will use your settings.

Not sure about the help on my system (Debian Sid) the help is displayed
in my default web browser so you can just use ctrl + to increase the
font size as needed.

--
David

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


Re: [PLUG] Wanted: simple Linux spreadsheet

2019-02-21 Thread David Bridges
> The features got in the way. The first problem was that
> LibreOffice Calc and Gnumeric was there's no no obvious way to set
> font 
> parameters and column width for entire spreadsheet. Then when
> looking 
> for solution to that problem  there were a plethora of iconized
> menus 
> with their own plethora of irrelevant choices. 


Actually it is quite simple to set fonts and column width for the
entire spreadsheet in Libreoffice Calc or pretty much any modern
spreadsheet application.

Selec the entire sheet by clicking the square in the top left of the
sheet between column A and Row 1.

Choose the font you want and it will be applied to all cells.

Right click on a column and then select Column Width then set the width
you want and make sure that a check is in the checkbox beside Default
Value.

--
David

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


Re: [PLUG] question on linux tool to clean URLs

2019-02-05 Thread David Barr
Hey, Randall,

To be pedantic, the tracking tags and such are all stuff that appear
after the question mark delimiting character in the HTTP PUT request,
right? `https://foo/bar/baz?evil_tag=evil`

The trick then, is to select only the lines containing question marks,
and then delete from the question mark to the end of the line. Try this:

```
sed -e '/\?/ s/\?.*$//' 
```

Pedantry again: That's "select lines containing a (backslash escaped)
question mark," followed by "substitute all characters from and
including that (backslash escaped) question mark to the end of the line
($) with nothing."

I haven't tested this on a file, so I deserve whatever mockery I get if
I missed something.

Cheers!
David

On 2/5/19 2:48 PM, logical american wrote:
> Hi:
>
> Is there a linux tool which cleans up the URLs in a text file (I
> believe Western unicode encoding) so that all the tracking tags,
> fbclid, etc are removed and the pure URL is left in the text?
>
> In one recent email I received, there were 28 govdelivery.com tags and
> others embedded inside the URLs, and I don't wish the posted material
> to provide an easy access for the website to be tracked.
>
> Thanks
>
> Randall
>

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


Re: [PLUG] What should prompt look like?

2019-01-09 Thread David

On 1/9/19 8:21 AM, Dick Steffens wrote:
On my "new" Slackware machine, booting in run level 3, after startx, and 
opening a terminal, the prompt looks like:


bash-4.3$

When I log in via ssh the prompt looks like:

rsteff@ENU-2:~$

When I open a terminal on Ubuntu, the prompt looks like:

Dick@ENU-1:~$

Why doesn't the prompt in the first example look like the one in the 
second, or similar to the one in the third?




There are two files that get sourced on login, depending on how you 
start a session:


.bash_profile
.bashrc

https://apple.stackexchange.com/questions/51036/what-is-the-difference-between-bash-profile-and-bashrc

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


Re: [PLUG] Disabling automatic mounting of USB connected mass storage

2019-01-07 Thread David

On 1/7/19 7:32 AM, Richard Owlett wrote:

I'm using Debian Stretch with MATE desktop.
I have a collection of USB drives (from 32GB -> 1TB) each with multiple 
partitions.


When I plug them in I don't  want anything automatically mounted.
I want to have them appear in MATE's "Devices" menu for individual 
selection.


How?


I believe this is part of the "udev" functionality. I don't recall how 
it all works off hand, but that may be enough to start you off on your 
next web search for hints.


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

On 1/2/19 11:07 AM, Dick Steffens wrote:

On 1/2/19 10:51 AM, David wrote:

On 1/2/19 10:42 AM, Dick Steffens wrote:

On 1/2/19 10:26 AM, David wrote:

<...>



In my config file:

$ sudo grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes

If you have a "no" (which I think is the default) that will probably 
be at least part the problem.


There are 22 lines commented out in the group where X11Forwarding lives. 
What I have for that is:


#X11Forwarding no




The setting required is "yes" for the option to forward X to a remote 
location.


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

On 1/2/19 10:42 AM, Dick Steffens wrote:

On 1/2/19 10:26 AM, David wrote:

<...>


Sounds like I need to figure out how to set DISPLAY.




Your sshd configuration may explicitly deny the variable from being set.

In my config file:

$ sudo grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes

If you have a "no" (which I think is the default) that will probably be 
at least part the problem.


If you edit that file to read as I have it, you will need to restart the 
service.


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

On 1/2/19 10:17 AM, Dick Steffens wrote:

On 1/2/19 10:04 AM, David wrote:

On 1/2/19 10:01 AM, Dick Steffens wrote:
I can run ssh -X on my Slackware machine and connect to my Ubuntu 18 
machine. But I can't run caja on that connection. I get this error 
message:


dick@ENU-1$ caja
Could not parse arguments: Cannot open display:
dick@ENU-1$



Try looking at the -Y flag to see if that helps your situation. I've 
gotten lazy (admittedly) and just run -XY on my connections when I 
need them these days.


Going from the Ubuntu machine to the Slackware machine, ssh -Y performs 
the same as ssh -X. In other words nothing happens and it is closed by 
C.


Going from the Slackware machine to the Ubuntu machine, ssh -Y connects. 
But when I run caja, it opens on the Ubuntu machine's display.


So ssh -Y doesn't help in my situation. Thanks for letting me know that 
-Y exists, though.




Let's start with the basics then.

When you connect each way, what is the response from the command:
   echo $DISPLAY

If you get back a blank line, something is preventing the variable from 
being set. If you get a line similar to "host:10.0" then I would suspect 
that caja is doing something and not using that environment variable.


Does xterm or something similar behave as anticipated?

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

On 1/2/19 10:01 AM, Dick Steffens wrote:
I can run ssh -X on my Slackware machine and connect to my Ubuntu 18 
machine. But I can't run caja on that connection. I get this error message:


dick@ENU-1$ caja
Could not parse arguments: Cannot open display:
dick@ENU-1$



Try looking at the -Y flag to see if that helps your situation. I've 
gotten lazy (admittedly) and just run -XY on my connections when I need 
them these days.


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


Re: [PLUG] A survey of backup philosophies/methods?

2018-12-22 Thread David Fleck
On Sat, 2018-12-22 at 08:04 -0600, Rich Shepard wrote:

> On Sat, 22 Dec 2018, Richard Owlett wrote:
>
>> Any recommended survey articles?
>
> Surveys about what?

Backups.

Personally, I have a script that uses rsync to copy files to an 
otherwise-unused desktop machine's hard drive. It works for me, but I doubt 
it's anything near a 'best practice'.

--

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


Re: [PLUG] Local network routing mystery [SOLVED]

2018-12-11 Thread David Fleck
Rebooting the router fixed the problem.

It's a Netgear genie 6200v2, with the original firmware, and getting a bit long 
in the tooth.  This is the first time that I remember it behaving oddly.

Thanks for the troubleshooting reminder.

--
- David Fleck

‐‐‐ Original Message ‐‐‐
On Tuesday, December 11, 2018 7:45 PM, Russell Senior 
 wrote:

> Oh, also check to see that the IPaddr that your problematic laptop has is 
> distinct from all other hosts on your network. I recall a problem once upon a 
> time with the Paradyne/Zhone DSL modems that Integra Telecom used would 
> happily hand out leases of ipaddrs that were already taken on the network, 
> leading to periodic clashes with devices with static IPs.
>
> On Tue, Dec 11, 2018 at 5:42 PM Russell Senior  
> wrote:
>
>> More info needed:
>>
>>   * What is the router? What is it running (i.e. stock vs 3rd party 
>> firmware);
>>   * Have you tried power cycling the router?
>>   * Have you looked at dmesg -T on your problematic laptop?
>>   * Have you looked at iptables on your problematic laptop?
>>
>> On Tue, Dec 11, 2018 at 5:32 PM David Fleck  wrote:
>>
>>> My wife and I have 2 practically identical ThinkPad laptops, both running 
>>> OpenSUSE 42.3.  They connect to a wireless router via DHCP.  We also have 
>>> several desktop machines (Linux & FreeBSD) with static IP addresses. All 
>>> the machines are connected by a router.  Both laptops can see the router, 
>>> the outside world, and each other.  But one laptop can see all the 
>>> desktops, and the other one can't see any of them. The desktops can't see 
>>> the one laptop, either.
>>>
>>> As far as I can see, the routing tables are the same on both laptops:
>>> m2:~ #  route  ### This is the non-connecting laptop
>>> Kernel IP routing table
>>> Destination Gateway Genmask Flags Metric RefUse 
>>> Iface
>>> default 192.168.1.1 0.0.0.0 UG60000 
>>> wlan0
>>> 192.168.1.0 *   255.255.255.0   U 60000 
>>> wlan0
>>>
>>> dcf:~> route   ### This is the connecting laptop
>>> Kernel IP routing table
>>> Destination Gateway Genmask Flags Metric RefUse 
>>> Iface
>>> default 192.168.1.1 0.0.0.0 UG60000 
>>> wlan0
>>> 192.168.1.0 *   255.255.255.0   U 60000 
>>> wlan0
>>>
>>> But when I try to ping from the non-connecting laptop:
>>> m2:~ # ping 192.168.1.9
>>> PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data.
>>> ^C
>>> --- 192.168.1.9 ping statistics ---
>>> 5 packets transmitted, 0 received, 100% packet loss, time 3999ms
>>>
>>> whereas:
>>> dcf:~> ping 192.168.1.9
>>> PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data.
>>> 64 bytes from 192.168.1.9: icmp_seq=1 ttl=64 time=9.59 ms
>>> 64 bytes from 192.168.1.9: icmp_seq=2 ttl=64 time=0.960 ms
>>> 64 bytes from 192.168.1.9: icmp_seq=3 ttl=64 time=0.960 ms
>>>
>>> I'm flummoxed. Everything I can think to look at on the non-connecting 
>>> laptop looks right, but the machines simply don't 'see' each other, even 
>>> though they can see other machines on the network and there is no 
>>> difference in network topology distinguishing connecting and non-connecting 
>>> machines. Reboots (of desktops and the laptop) haven't helped.
>>>
>>> Last data point: this was all working correctly 24 hours ago.
>>>
>>> --
>>> - David Fleck
>>> ___
>>> 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 network routing mystery

2018-12-11 Thread David Fleck
My wife and I have 2 practically identical ThinkPad laptops, both running 
OpenSUSE 42.3.  They connect to a wireless router via DHCP.  We also have 
several desktop machines (Linux & FreeBSD) with static IP addresses. All the 
machines are connected by a router.  Both laptops can see the router, the 
outside world, and each other.  But one laptop can see all the desktops, and 
the other one can't see any of them. The desktops can't see the one laptop, 
either.

As far as I can see, the routing tables are the same on both laptops:
m2:~ #  route  ### This is the non-connecting laptop
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
default 192.168.1.1 0.0.0.0 UG60000 wlan0
192.168.1.0 *   255.255.255.0   U 60000 wlan0

dcf:~> route   ### This is the connecting laptop
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
default 192.168.1.1 0.0.0.0 UG60000 wlan0
192.168.1.0 *   255.255.255.0   U 60000 wlan0

But when I try to ping from the non-connecting laptop:
m2:~ # ping 192.168.1.9
PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data.
^C
--- 192.168.1.9 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms

whereas:
dcf:~> ping 192.168.1.9
PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data.
64 bytes from 192.168.1.9: icmp_seq=1 ttl=64 time=9.59 ms
64 bytes from 192.168.1.9: icmp_seq=2 ttl=64 time=0.960 ms
64 bytes from 192.168.1.9: icmp_seq=3 ttl=64 time=0.960 ms

I'm flummoxed. Everything I can think to look at on the non-connecting laptop 
looks right, but the machines simply don't 'see' each other, even though they 
can see other machines on the network and there is no difference in network 
topology distinguishing connecting and non-connecting machines. Reboots (of 
desktops and the laptop) haven't helped.

Last data point: this was all working correctly 24 hours ago.

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


Re: [PLUG] Problem with Google Earth Install

2018-12-09 Thread David Fleck
On Sat, 2018-12-08 at 21:59 -0600, Michael Barnes wrote:
> On Sat, Dec 8, 2018 at 12:37 PM Tomas K  >
> wrote:
> 
> > I was kind of curious what is Google Earth. So 
> > 
> > I tried GEarth on bunch of Ubuntu installs both 16.04 and 18.04
> > I experienced no problems with GoogleEarth after doing following:
> > 1. Download:
> >    wget -Nc https://dl.google.com/dl/earth/client/current/google-ea
> > rth-
> > pro-stable_current_amd64.deb
> >  > ble_current_amd64.deb>
> >    You might need to visit https://www.google.com/earth/versions/
> > in
> > browser
> > 2. Install:
> >    sudo dpkg -i google-earth-pro-stable_current_amd64.deb
> >    (the installation added repository to
> > /etc/apt/sources.list.d/google-earth-pro.list)
> >    So, it should be updating itself normally when running apt
> > upgrade
> > 3. Start it:
> >    google-earth-pro &
> > It works as expected - according to Google's web screenshots.
> > 
> > My Ubuntu installations are mostly default without any of odd bits
> > and
> > pieces of customization often discussed here.
> > 
> > In terms of your issues I'd try to:
> > * remove it and reinstall by:
> >   sudo apt remove google-earth-pro-stable
> >   sudo apt update
> >   sudo install google-earth-pro-stable
> > 
> > If that does not help - are you using X or Wayland? I believe that
> > I am
> >  using X on both 16.04 as well as 18.04.
> > 
> > I cannot offer much help with GUI type problems as I am not a GUI
> > kind
> > of guy. It just work for me in the default shape and form and I do
> > not
> > feel the need to fight little changes and annoyanceswith
> > trivial workarounds - I do not mind adjusting self as things
> > change.
> > 
> > Hope it helps, Tomas
> > 
> > 
> > > 
> > > Okay, screen shot is at http://nwgrr.org/SS-GE.png
> > > 
> > > You can see my desktop is shown in the primary screen, the
> > > toolbar
> > > thing is
> > > on the left, and the actual map is a small box in the upper left
> > > corner. I
> > > can manipulate the small map, zoom, scroll, etc. but I can't
> > > really
> > > do anything useful as it is so small.
> 
> I tried your suggestion. Didn't work well.
> 
> $ sudo install google-earth-pro-stable
> install: missing destination file operand after 'google-earth-pro-
> stable'
> Try 'install --help' for more information.

I think you want 

sudo apt install google-earth-pro-stable

note the 'apt'.


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


Re: [PLUG] rsync: worked once now perms error [RESOLVED]

2018-11-13 Thread David

On 11/13/18 2:03 PM, Rich Shepard wrote:

On Sun, 11 Nov 2018, Rich Shepard wrote:


Yesterday rsync copied ~/ from the current desktop (salmo) to the new
desktop (baetis) using this command from ~/ on the new desktop: rsync -av
salmo: .


   I gave up trying to find a reason for this behavior and re-ran 
ssh-keygen,
ssh-agent, and ssh-add. Now rsync is transferring files from the old 
desktop

to the new one. Perhaps this will stick.


Is it possible that your old system overwrote the keys from old system 
during the first sync? If so, that would explain a lot, and you would 
have the same happen again after this run completes.


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


Re: [PLUG] rsync: worked once now perms error

2018-11-11 Thread david

On 11/11/18 7:49 AM, Rich Shepard wrote:

   Yesterday rsync copied ~/ from the current desktop (salmo) to the new
desktop (baetis) using this command from ~/ on the new desktop: rsync -av
salmo: .

   /opt on both hosts have perms 777.

   However, when I try to copy the /opt partition from salmo to baetis I 
get

a permission denied (publickey) error. Running 'ssh -vv salmo' from the new
desktop shows sending and receiving packets with no issues until this:

debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering ED25519 public key: /home/rshepard/.ssh/id_ed25519
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey).

   Line 5 looks to be trying to send the private key rather than the public
key.

   Here's what I checked:

   1. Perms for both hosts' .ssh/ are 644 except for the private keys for
 which it is 600.
   2. Both hosts have the other host's public key in 
~/.ssh/authorized_keys.

   3. Both hosts have the other host recognized in ~/.ssh/known_hosts.
   4. From salmo I can successfully connect to baetis,

   Since rsync worked on baetis yesterday to copy my home directory from
salmo I'm not seeing why today it will not copy /opt. And web searches
(almost all from ubuntu and github users) offered nothing different from
what I checked.

   A clue stick will help.



A series of thoughts, but nothing specifically to help, sorry.

Are you able to connect to salmo using the password, and is it 
configured to accept the ED25519 key format?


Are both machines set up with the UID/GID values for the username in 
question? You can try specifying the username on the rsync call to be a 
bit more specific, too. (I don't expect this to be a problem, but worth 
looking at.)


Also, even if /opt is set for 777, directories below that may not be, 
and that may be a cascading problem after the key issue is resolved.


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


Re: [PLUG] Specifying numeric order to sort

2018-10-29 Thread David Fleck
On Mon, 2018-10-29 at 15:51 -0700, Rich Shepard wrote:
> 
   The command 'sort -n -r -k 3 number-samples-per-site.txt -o sorted' is an
> example. And, the reverse option is ignored when I specify a numeric format.
> (Whether the -k option has a space before the 3 makes no difference here.)
> 
>I'm not seeing what I'm missing.

I think you're missing the '-t' option.  Try

sort -n -r -t '|' -k 3 number-samples-per-site.txt -o sorted

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


Re: [PLUG] New desktop: issue with 'find'

2018-10-04 Thread David

On 10/04/2018 11:20 AM, Rich Shepard wrote:

On Thu, 4 Oct 2018, wes wrote:


Hopefully someone recognizes this error and can help, it's not one I've
seen before. Would you please provide a real-world example, and its
complete output? And also the output of find --version?


wes,

   On the new desktop:

[root@baetis ~]# find / -name stripes.png
find: paths must precede expression: /
Usage: find [-H] [-L] [-P] [-Olevel] [-D 
help|tree|search|stat|rates|opt|exec] [path...] [expression]


Try this:

 find / -name 'stripes.png'

Not sure it will do anything different, but possibly the shell is 
expanding the dot. It may be worth comparing versions of your shell on 
the two systems if this works.


 echo $SHELL
 `echo $SHELL` --version


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


Re: [PLUG] Searching all filesystems except /proc

2018-09-30 Thread David Fleck
On Sun, 2018-09-30 at 14:46 -0700, Rich Shepard wrote:
>I want to exclude /proc from being examined by 'find' when searching for
> a file from /. I did not see an option in the man page to exclude specific
> partitions. Is there a way to have find ignore /proc?

Not exactly what you want, but you can specify file system type with 
-fstype xxx.  Anything in /proc is fstype 'proc',  so maybe you could
specify "! -fstype proc" as one of your sets of arguments to find.

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


Re: [PLUG] Indecipherable rsync error message

2018-09-29 Thread David Fleck
On Fri, 2018-09-28 at 23:34 -0700, wes wrote:
> "getcwd()" is a function that returns the current working
> directory, so I'd start there. 

Are you in a valid directory location when running the command?

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


Re: [PLUG] Distinguishing instances of GUI file manager by color

2018-09-27 Thread David Bridges
You might look into the Meld application.  It is file/directory compare
tool with multiple panes that works pretty well although it can be a
bit slow when working with large remote directories.  It's available
via apt-get on Debian.

--
David


On Thu, 2018-09-27 at 05:11 -0500, Richard Owlett wrote:
> On 09/26/2018 04:52 AM, Richard Owlett wrote:
> > I'm setting up a new machine and copying files from the old
> > machine's 
> > home directory. At the same time I'm creating a new directory
> > structure 
> > to better match how I work.
> > 
> > I found it expedient to have at least three instances of the file 
> > manager open - [one for source directory and at least two for 
> > destination (sub)directories].
> > 
> > Suggestions?
> > Is it even possible?
> > 
> > Brief web search was not encouraging. But my search terms may have
> > been 
> > the problem. Suggested search terms?
> > 
> > TIA
> > 
> 
>  >
> 
> I asked related questions on a Debian list and a Tcl/Tk group.
> Suggestions tended towards a two pane file manager.
> Having followed multiple chains of links caused me to rethink my
> work 
> flow simplifying use of my current file manager (Caja).
> 
> Long term, I'll pursue a two pane solution.
> I've installed Krusader and GNOME Commander for testing.
> 
> A chain of links led to 'filerunner' 
> [https://sourceforge.net/projects/filerunner/] which I downloaded and
> am 
> reading the documentation to chose which options to initially chose.
> 
> Usage appears to be intuitive - at least for my work style.
> It is intrinsically highly configurable.
> It is written in Tcl/Tk allowing/encouraging further customization.
> 
> It will likely be my long term solution.
> 
> Thanks for all the links.
> 
> 
> 
> 
> 
> 
> ___
> 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] Which distribution for new user?

2018-09-12 Thread David
Linux MINT. Easy choice IMHO. (Former Ubuntu user plus many others over 
the decades.)



On 9/12/2018 12:39 PM, c wrote:

Take a look at linux mint. Its pretty friendly to people coming from
windows. People say that the mint distro with cinnamon is closest to a
windows experience. Personally I prefer the mate desktop.

I generally lean towards recommending something based on ubuntu, so ubuntu
mate or linux mint are my first recommendations for somebody new to linux.

Purcell

On Wed, Sep 12, 2018 at 12:07 PM Rich Shepard 
wrote:


On Wed, 12 Sep 2018, David wrote:


I don't have a true answer for you, but a consideration should be which
distribution you are willing / able to support when questions come up.

David,

Not an issue. I won't be doing any support. :-) That's why I want
something stable and easy to learn.

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] Which distribution for new user?

2018-09-12 Thread David

On 09/12/2018 11:22 AM, Rich Shepard wrote:

   I'm building a system for a user new to linux and know that Slackware is
not the preferred distribution for such a user. The various Debian 
offspring
seem to be very popular, but it seems to me to be a very large family. 
Would

xubuntu be an easy to learn, stable, reliable distribution for this type of
user? Or is there something else that you'd recommend?


I don't have a true answer for you, but a consideration should be which 
distribution you are willing / able to support when questions come up.


With Slack being a decedent of the RPM tree, I would suggest considering 
Fedora unless you are also fluent in .deb, apt, and dpkg.


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


[PLUG] Semi-OT: Anybody here used Bazel?

2018-08-04 Thread David Fleck
I've been tasked with evaluating the replacement of build tools for a
very large, multi-platform, multi-language (mostly Java and C++) 
client-server application.  Currently, the app is built using a
combination of Ant, Ivy, Java, Make, GCC, Visual Studio, and a whole
lot (and I do mean *a lot*) of Perl gluing things together.  It's
complex, brittle, and slow.

Bazel (https://bazel.build) sounds like it might be a candidate for us,
as it is designed for big heterogeneous applications like ours. But I
don't find a whole lot of information about it other than its own web
page, and I find its tutorials rather opaque and unilluminating. 
Curious if anyone has had experience with it, especially for C++
builds.

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


Re: [PLUG] An awk question: multiple actions acting on each line.

2018-07-22 Thread David Fleck
On Sun, 2018-07-22 at 15:24 -0500, David Fleck wrote:

> Rich-
> I got the attached script to do what you want (I think).  


Looks like attachments aren't allowed (?). Anyway, here's attempt #2,
inline:

#!/usr/bin/awk

BEGIN { FS="," }
{print $1",00:00,"$2+"296.93",
"\n"$1",01:00,"$3+"296.93",
"\n"$1",02:00,"$4+"296.93",
"\n"$1",03:00,"$5+"296.93",
"\n"$1",04:00,"$6+"296.93",
"\n"$1",05:00,"$7+"296.93",
"\n"$1",06:00,"$8+"296.93",
"\n"$1",07:00,"$9+"296.93",
"\n"$1",08:00,"$10+"296.93",
"\n"$1",09:00,"$11+"296.93",
"\n"$1",10:00,"$12+"296.93",
"\n"$1",11:00,"$13+"296.93",
"\n"$1",12:00,"$14+"296.93",
"\n"$1",13:00,"$15+"296.93",
"\n"$1",14:00,"$16+"296.93",
"\n"$1",15:00,"$17+"296.93",
"\n"$1",16:00,"$18+"296.93",
"\n"$1",17:00,"$19+"296.93",
"\n"$1",18:00,"$20+"296.93",
"\n"$1",19:00,"$21+"296.93",
"\n"$1",20:00,"$22+"296.93",
"\n"$1",21:00,"$23+"296.93",
"\n"$1",22:00,"$24+"296.93",
"\n"$1",23:00,"$25+"296.93"}

You may be able to restore some of the whitespace.  I took it all out
because otherwise lines wouldn't all start in column 1.


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


Re: [PLUG] An awk question: multiple actions acting on each line.

2018-07-22 Thread David Fleck
On Sun, 2018-07-22 at 12:26 -0700, Rich Shepard wrote:
> 
2006-10-01,10.72,10.70,10.72,10.69,10.66,10.65,10.66,10.66,10.66,10.64,10.64,10.63,10.63,10.64,10.64,10.65,10.68,10.68,10.67,10.68,10.69,10.69,10.69,10.67
> 2006-10-02,10.67,10.67,10.67,10.67,10.68,10.67,10.68,10.68,10.68,10.68,10.68,10.68,10.68,10.68,10.64,10.64,10.69,10.75,10.74,10.70,10.69,10.71,10.70,10.70
> 2006-10-03,10.70,10.70,10.71,10.72,10.72,10.71,10.72,10.72,10.72,10.72,10.72,10.72,10.72,10.72,10.71,10.71,10.71,10.72,10.73,10.73,10.72,10.70,10.70,10.71
> 2006-10-04,10.72,10.73,10.73,10.73,10.72,10.73,10.72,10.72,10.72,10.73,10.72,10.72,10.72,10.72,10.72,10.72,10.70,10.70,10.69,10.69,10.70,10.71,10.73,10.73
> 2006-10-05,10.74,10.75,10.71,10.69,10.71,10.74,10.75,10.74,10.71,10.70,10.69,10.70,10.69,10.70,10.70,10.71,10.72,10.72,10.71,10.70,10.70,10.71,10.72,10.71
> 2006-10-06,10.70,10.70,10.72,10.74,10.74,10.74,10.74,10.72,10.72,10.69,10.66,10.67,10.72,10.73,10.73,10.71,10.68,10.71,10.75,10.77,10.75,10.73,10.72,10.69
> 
>The awk script intends to change this wide format to a long format. Each
> line will have the date ($1), an added hour, then the numeric value ($3).
> 
>I've looked in my awk book and searched the web (perhaps with the wrong
> search terms) and haven't found my syntactical error. Help is needed.
> 
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug

Rich-
I got the attached script to do what you want (I think).  Note that I
had to eliminate your readable formatting so as not to get extra spaces
in the output.  Essentially, it was a matter of moving the quotes and
commas around.

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


Re: [PLUG] Roll-your-own VPN server?

2018-07-04 Thread David Bridges
The tutorial at https://wiki.debian.org/OpenVPN is fairly easy to
follow and will produce a nice stable VPN although you will need to
tweak it some for specific situations.

--
David

On Wed, 2018-07-04 at 08:52 +0200, Tomas Kuchta wrote:
> OpenVPN does what you need. There are good clients for almost any
> device.
> 
> Servers, can be build and configured on any distro or used prebuild.
> 
> Tomas
> 
> On Wed, Jul 4, 2018, 5:44 AM David Barr  wrote:
> 
> > Good Morning,
> > 
> > If I were to build a VPN server for transient client connections,
> > like
> > mobile devices or laptops, what would you recommend?
> > 
> > - Bonus points for using certificates for the server ~and clients~,
> > so
> > devices would have to be "registered" in advance.
> > - Bonus points for requiring 2FA on top of that, to reduce the risk
> > of a
> > lost/stolen device.
> > 
> > I haven't looked in a while, but I recall OpenVPN was really
> > oriented
> > towards setting up permanent connections, and configuring for
> > transient
> > connections was really convoluted.
> > 
> > Thanks!
> > David
> > 
> > --
> > 
> > David - Offbeat http://pgp.mit.edu/
> > dafydd - Online 0xda3f18449337d6b5
> > 
> > 5152535455565
> > 7--
> > 
> > Rene Descartes walks into his neighborhood watering hole. The
> > publican
> > sees him and asks, "Will you have your usual, sir?"
> > 
> > Descartes ponders a moment and replies, "I think not."
> > 
> > And promptly disappears...
> > 
> > 
> > 
> > ___
> > 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] Roll-your-own VPN server?

2018-07-03 Thread David Barr
Good Morning,

If I were to build a VPN server for transient client connections, like mobile 
devices or laptops, what would you recommend?

- Bonus points for using certificates for the server ~and clients~, so devices 
would have to be "registered" in advance.
- Bonus points for requiring 2FA on top of that, to reduce the risk of a 
lost/stolen device.

I haven't looked in a while, but I recall OpenVPN was really oriented towards 
setting up permanent connections, and configuring for transient connections was 
really convoluted.

Thanks!
David

--

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

51525354555657--

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

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

And promptly disappears...





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


Re: [PLUG] Correcting duplicate strings in files

2018-06-19 Thread david

On 06/19/2018 06:02 PM, Rich Shepard wrote:

On Tue, 19 Jun 2018, david wrote:

While I believe the answer has already been found, would the 'uniq' 
command have been useful as an alternative?


david,

   Good question. Can it find a difference in a specific field and change
only one of them? Perhaps, but I've no idea.


Without a bigger sample size of data from you, I'm not sure.

I use the uniq command a lot when I pull a list of stuff (usually IPs 
and more) with grep or other utilities from log files and then pipe 
things through uniq to get a count of times an entry is found (-c flag).


Provided all data lines are unique, except for your one duplicate line, 
then yes, you could use this. A crude, but effective approach to test 
would be:


cat $file | uniq -u > $outfile

There are a lot of approaches, and I like the awk approach. This might 
just be another tool for you to use in the future to satisfy other needs.


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


Re: [PLUG] Multiple independent terminals on a single machinde

2018-02-20 Thread David Fleck
On Tue, 2018-02-20 at 03:41 -0800, Russell Senior wrote:
> I have no idea what a kde activities is, fwiw. Why don't you explain
> in
> English what it is your goal is, and then we won't have to guess?

From Richard's link:

Activities were introduced with the KDE 4 release series. For some
reason, they have never caught on, partly because the project has
rarely emphasized or explained them, and partly because how they are
different from virtual workspaces has never been clear. It doesn't
help, either, that from the virtual workspace pager on the panel, you
can set virtual workspaces so that each can have its own icons, widgets
and settings, just as Activities can.

I've been using KDE + SuSE for over a decade, and I *still* haven't figured out 
what "Activities" are or why I need them. On the other hand, I've found that I 
can ignore their existence without detriment.

(I'd just like to take this opportunity to give a shout-out to whomever put 
together the OpenSuSE 42.2 -> 42.3 update process. Smoothest upgrade I've ever 
done, on any OS.)


> ___
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] Need an OLD style BASIC

2017-12-15 Thread David Bridges
Perhaps basic256 is close to what you are looking for.  It is packaged
for Debian so it should be easy enough to check out.

apt-cache show basic256

http://www.basic256.org/index_en

--
David

On Fri, 2017-12-15 at 16:47 +0200, John Sechrest wrote:
> What is the goal of the basic?
> 
> Just dinking around?
> 
> Or creating value of some kind?
> 
> Or solving some particular problem?
> 
> The default language that I point purple to is JavaScript, since it
> is so
> ubiquitous and since it solves many problems in the default user
> interface
> these days.
> 
> It looks like there are three versions of basic transpired to
> JavaScript
> 
> https://github.com/jashkenas/CoffeeScript/wiki/List-of-languages-that
> -compile-to-JS
> 
> So JavaScript has some versitility
> 
> On Dec 15, 2017 6:07 AM, "Richard Owlett" <rowl...@cloud85.net>
> wrote:
> 
> > The thread titled "Learning programming" prompts to ask.
> > 
> > I'm looking for a _simple_ BASIC, similar to "Dartmouth BASIC" or
> > "Lawrence Livermore BASIC", to run on my Debian machine. Modern
> > Basic's are
> > too powerful and filled with glitter.
> > 
> > I have mind some simple scripts. I'm learning Tcl which is
> > appropriate for
> > most if not all of my needs. But my intro to programming used
> > CORC/CUPL
> > (Cornell's predecessor of Dartmouth's BASIC) and I would like to
> > use
> > something I'm fluent in. I wouldn't miss requiring line numbers. I
> > might
> > even use a GOTO or two. (an elderly owl does expect to duck for
> > cover ;)
> > 
> > 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
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Finding a contact at SpiritOne

2017-12-10 Thread David Fleck
On Sun, 2017-12-10 at 14:31 +0900, Bryan Linton wrote:
> I initally wanted to receive a prorated refund, but at this point,
> I'd be happy to just know that my account has been cancelled and
> won't auto-renew or be sent to collections because of SpiritOne's
> inability to be contacted regarding the matter.
> 
> Does anyone know of *any* possible way I can get into contact with
> someone at SpiritOne?  An email, phone number, carrier pigeon
> address, or anything at all?


Some people have reported that bill...@spiritone.com works, at least
some of the time.  If you use Facebook, you may want to check out https
://www.facebook.com/groups/1616813681672836/, the "Aracnet & SpiritOne
Refugees" Facebook group. You will find many fellow sufferers there,
and possibly some useful information.

Personally, we were billed monthly and in early Oct. I gave up on
trying to contact SO, called up the credit card co. and told them I
disputed the Oct. monthly charge, and any charges from then on. That
seems to have worked for us. I'm not sure how that will apply to your
situation, though.

Good luck-

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


Re: [PLUG] Mount cifs share from fstab.

2017-12-04 Thread David

On 12/04/2017 03:36 PM, michael wrote:

On 2017-12-04 17:00, David wrote:

On 12/04/2017 02:33 PM, michael wrote:
I have it working.  I don't want the password for the owner of the 
share in plain text in a file though.  Creating

/home/pi/.smbpasswd with the contents:
username=Test
password=password
domain=somedomain
and chmod 600 isn't good enough.

The password should be salted in this file even if it is password!

Is there a simple way to use an smbpasswd file properly salted 
without implementing a full samba server?


The proper tool that I know of is "smbpasswd" as an executable, which
is part of the samba-common-bin package on my system (Debian).

It may have dependencies which includes a full smb server (which I
run), so this may not be helpful information.

dafr




I am most concerned about the password having to be in plaintext when 
transmitted over the network.  Even if
there is a way without a full samba server deployment to have the 
password sent in encrypted form over the
network, that would be great.  The server is probably the latest 
incarnation of Windows server.  I don't

like the idea of having to have a Linux user for every Windows user either.




Sure, I get that, and agree with the concerns. I was looking at the 
smbpasswd man page initially and this is why I think you want to use 
this utility:


  "On a UNIX machine the encrypted SMB
   passwords are usually stored in the smbpasswd(5) file."

Now, the problem with the utility is that unless you do something fancy, 
you may have to be on the localhost where the share is exported to set / 
reset the password as a user. This may not be feasible in your situation 
unless there is a web interface that you can front smbpasswd with to 
allow users to change passwords.


When mounting a share in a Windows VM on my Linux host, I have to auth 
with a pop-up window of user / pass to access the shared directory. I'm 
not sure if (and don't believe that) you have to have a Linux account 
for the Windows user. They are different password files, but my 
experience is also limited to a full samba server, so your needs may be 
more an issue than mine.


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


Re: [PLUG] Reality check

2017-11-21 Thread David

On 11/20/2017 07:58 PM, Mke C> wrote:



On 11/20/2017 05:54 PM, plug-requ...@pdxlinux.org wrote:


-clip -


When the firewall receives an ICMP packet, ping and traceroute both will
show failure and/or lack of "up: state. If the attacker knows the 
device is

there by DNS resolution or IP address, they have a known target, and the
dropping of packets (IMO) is just obscuring things a little bit.


This is more of an ol' skool mentality that reflects a serious lack of a 
deeper understanding of networking and of being a good & useful netizen. 
In reality, we should actually see less and less of this over time as 
the ICMP protocol suite is very useful and blocking it doesn't amount to 
very much that's good and/or useful.


Coming from an admin background, you are correct that I don't have a 
deep understanding of networking. I am continually trying to learn from 
my mistakes, the input of others, and from readings that I can pick up.


I agree that ICMP is a useful too, and I am frustrated by the security 
group at $WORK that has disabled the return of these packets.



Other tools that you can try are telnet to the port for the service in
question, nmap to check for all open ports (potential for looking like an
attacker), and netcat (nc) to test for specific, or scan for all open,
ports.

A deeper way to search if things are connecting at all is the use of
netstat, Wireshark, or tcpdump in some cases.


I've been a network engineer for over a decade and I've learned to use 
the simplest tool possible for a task. In this case tcping is a very 
good simple and easy to use tool for anyone who's just wanting to test 
connectivity to network host. Most implementations allow for a port 
number to  be specified. If you're unsure of the port number from the 
Linux cli you can cat the /etc/services file to get a listing of udp & 
tcp ports w. description that's updated by IANA.


e.g.
~$ cat /etc/services
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single 
well-known port number for both TCP and UDP; hence, officially ports 
have two entries

# even if the protocol doesn't support UDP operations.
#
# Updated from http://www.iana.org/assignments/port-numbers and other 
sources like http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/services .
# New ports will be added on request if they have been officially 
assigned by IANA and used in the real-world or are needed by a debian 
package.

# If you need a huge list of used numbers please install the nmap package.

tcpmux        1/tcp                # TCP port service multiplexer
echo        7/tcp
echo        7/udp
discard        9/tcp        sink null
discard        9/udp        sink null
systat        11/tcp        users

This particular implementation, 
https://www.elifulkerson.com/projects/tcping.php , provides a lot of 
HTTP mode options as well setting wait interval for a response, 
calculating jitter (variance in delay) and prefer ipv4 or ipv6.


Cool, a new tool to check out. Thank you for this information.

Network connectivity is going to likely become more problematic, and 
our means of testing things will likely become more restricted as time 
passes.

Just my guess, but it's a trend I have been noticing.


I don't follow nor subscribe to this logic at all. I expect network 
connectivity and ways to test to it to only get better as everyone and 
their grandparents demand well performing, highly reliable internet 
connectivity from all of their devices, everywhere. 5 years ago while 
working at an ISP in downtown Portland I had to work on networking 
problems from end-users of our ISP business partners who where 
complaining about high ping times in their favorite online game. And I'm 
talking about sub 150 ms round-trip ping times which is used as the 
measuring stick for toll quality VoIP.


My pessimism revolves around the increasing number of attacks by black 
hats (thinking of Mirai), human errors that impact large networks 
(recent Level 3 / Comcast routing issues), and the potential of the 
federal government trying to take away a level playing field.


It is my hope that the tools will get better and with it the willingness 
on the part of the major ISP players to provide more transparency and 
information real time as problems happen in the future.


> Also, consider that IPv6 provides improved QOS functionality, better
> security and faster routing on an end to end connection basis. As
> infrastructure gets re-designed and changed  out I only expect network
> connectivity to get less problematic with greater visibility into
> problems provided by better tools and information.

All good things for me to learn from and consider. IPv6 is not something 
that I have deep understanding of, and maybe now is the time to start 
looking at, and learning, it again.


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


Re: [PLUG] Reality check

2017-11-19 Thread david

On 11/18/2017 03:47 PM, Rich Shepard wrote:

   With the mail/phone issues I've had recently I want to check that I'm
doing things correctly. Two instances of not reaching web pages.

   I can load (and ping) www.opendkim.org, but cannot load (or ping)
lists.opendkim.org. This means their mail list page is off-line. Yes?


No, not necessarily.


   Yesterday and today I try to access www.verizonwireless.com but the page
won't load. Neither can I ping that server. This means that their web site
is down. Yes?


Again, not necessarily.

More and more IT / Security groups are going to dropping the ICMP (ping) 
packets for "security" reasons, and this affects several tools that have 
long been used by the layperson and professional alike.


When the firewall receives an ICMP packet, ping and traceroute both will 
show failure and/or lack of "up: state. If the attacker knows the device 
is there by DNS resolution or IP address, they have a known target, and 
the dropping of packets (IMO) is just obscuring things a little bit.


Other tools that you can try are telnet to the port for the service in 
question, nmap to check for all open ports (potential for looking like 
an attacker), and netcat (nc) to test for specific, or scan for all 
open, ports.


A deeper way to search if things are connecting at all is the use of 
netstat, Wireshark, or tcpdump in some cases.


Network connectivity is going to likely become more problematic, and our 
means of testing things will likely become more restricted as time 
passes. Just my guess, but it's a trend I have been noticing.


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


Re: [PLUG] Fun sed challenge!

2017-11-16 Thread David Fleck
On Thu, 2017-11-16 at 00:09 -0800, Russell Senior wrote:
> Can anyone suggest a nice unix pipeline filter using lightweight > tools
> (no python) to output an ipv6 address in reduced format.  That is, > with
> the extra zeros removed and colons condensed according the normal > ipv6
> rules.  Bonus for an example that leaves timestamps unscathed.  In my
> case, the ipv6 address is inside square brackets.  For example:
> 
> ipv6 Thu Nov 16 00:05:34 PST 2017 > [2603:01c2:1800:a8c0::::0001] 
> foo bar baz
> 
> should become:
> 
> ipv6 Thu Nov 16 00:05:34 PST 2017 [2603:1c2:1800:a8c0::1] foo bar baz

How about
cat logfile | sed -e 's/:0/:/g' -e 's/:0/:/g' -e 's/:0/:/g' -e
's/:0/:/g' -e 's/:::*/::/g'
?

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


Re: [PLUG] Backup MX server

2017-11-10 Thread David Barr
Following!

Something I've thought about for when I have my domain host back under my 
direct control is acting as a backup MX for friends (and at least one of them 
returning the favor). My idea is to act as a spooler until the Primary MX is 
back. I haven't seen much documentation out there about a mail server that just 
spools messages until the primary MX is back on line, though.

David

> On Nov 10, 2017, at 7:36 AM, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> 
>  I would like to add a backup MX server for the rare times my primary MX
> server here is off-line for a while. If weather predictions for the area
> turn out to be true long power outages might occur and it would be nice to
> have someone catch incoming mail until power is restored.
> 
>  Are there free services for this as there are for DNS servers?
> 
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

--

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

51525354555657--

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



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