Re: [PLUG] Rsync command fail

2017-11-29 Thread Tomas Kuchta
I am not sure how you got to the backwards behavior, perhaps you have no
deleted what you thought you deleted.

I would run your rsync command this way though (adjust your options as
needed), mind the /
rsync -a --progress  /media/jjj/Movies /media/jjj/Synology/

Hope it helps, Tomas

On Nov 29, 2017 11:04 PM, "John Jason Jordan"  wrote:

I have an external USB drive that I back up to a Synology NAS drive
with the command:

rsync -rptog --progress --stats --delete
--exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/
/media/jjj/Synology

The object is to make the Synology a mirror of the USB drive
(/media/jjj/Movies).

I deleted a folder on the USB drive, ran the command, and the folder
was replaced on the USB drive. This is backwards. What am I doing wrong?
___
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] Converting audio files

2017-12-03 Thread Tomas Kuchta
mp3 patents expired earlier this year, if I am not mistaken and it wasn't
in 2016 already.

So at this point, it does not matter other than on technical merit such as
encoder efficiency, perceived quality, etc.

Tomas

On Dec 3, 2017 11:21 AM, "Galen Seitz"  wrote:

> On 12/03/17 10:54, Rich Shepard wrote:
> > On Sun, 3 Dec 2017, Galen Seitz wrote:
> >
> >> Why do you want to convert these files to mp3?
> >
> > Galen,
> >
> >   Because the .wav file (1032704 bytes) is much larger than the .mp3 file
> > (391488 bytes).
> >
> >> What is your goal? Do you really need mp3? If not, you should be able to
> >> convert the files to any one of a number of other formats. sox would
> >> be my
> >> first choice for this.
> >
> >   There are other audio formats supported by audio players on linux yet
> > .mp3
> > seems to be the most common. I've no preference for any one of them.
>
> mp3 is patent encumbered.  That's probably why your sox doesn't include
> it by default.  If the files are for your own use, I suggest converting
> them to ogg vorbis or to ogg opus.  opus is the latest and greatest open
> codec, so your sox might not support it.  It certainly should support
> the vorbis codec.
>
> If you can't make it work, email me a small example wave file.  I should
> be able to make it work.
>
>
> galen
> --
> Galen Seitz
> gal...@seitzassoc.com
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Mount cifs share from fstab.

2017-12-04 Thread Tomas Kuchta
When you put SMB password into root RO file, it is not secure locally, but
it is not transmitted over the network in the plain text as far as I know.

In my experience, SMB/CIFS is quie painful to use in multi user, multi
machine world without domain compatible single sign of.

To be fair, same goes for NFS with Kerberos, if you cannot live without
server side authentication.

Off topic:
In my opinion - single sign on should be basic stuff done by any ..nix
household chiefdom setup for both Linux and Windows. Once working, it makes
huge difference in usability and security. And it currently keeps M$ away
from local network resource scans.

-T

On Dec 4, 2017 3:47 PM, "David"  wrote:

> 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
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] dsl woes

2017-12-15 Thread Tomas Kuchta
You have/had DNS resolution problem.

Couple of ways to solve that on the router:
A) let router pick DNS by DHCP from WAN side
B) configure the router to use ISPs DNS servers by typing in their IPs. You
could get them by: cat /etc/resolved.conf while being connected to the DSL
modem directly.
C) use someone else's DNS for example Google's 8.8.8.8 and 4.4.4.4

Hope it helps,
T

On Dec 15, 2017 4:44 PM, "Bob Vinisky" <b...@cherrycreekdaffodils.com> wrote:

>
> > On Dec 15, 2017, at 4:09 PM, Tomas Kuchta <tomas.kuchta.li...@gmail.com>
> wrote:
> >
> > Thanks Bob,
> >
> > This should absolutely work - Unless you have some mis-configured routing
> > or DNS. Despite what you hear about the use of ISP gear only.
> >
> > Let's diagnose this a little - with your router connected to DSL modem
> and
> > a PC to LAN:
> > * Can you ping 8.8.8.8 ?
> > * Can you ping 192.168.107.1 ?
> > * Can you ping 192.168.1.1 ?
> > * Ping www.google.com ?
> >
> > Thanks,
> > T
>
> One of the issues that cropped up today, as a result of my fiddling with
> the labeling on the router, I now have issues with my LAN, which will be
> attended to later.
>
> From earlier tests: Yes I could ping both the LAN and WAN ip’s of the
> router (192.168.107.2 and 192,168,1,2), the ip of the DSL modem,
> 192.168.1.1. Could not get google, from either the ip or www.google.com.
>
> Thanks
>
> Bob
>
> 
> "If You want to Get Right ...
>  ... Be Right"
> ... jld ...
>
>
>
> ___
> 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] dsl woes

2017-12-15 Thread Tomas Kuchta
Thanks Bob,

This should absolutely work - Unless you have some mis-configured routing
or DNS. Despite what you hear about the use of ISP gear only.

Let's diagnose this a little - with your router connected to DSL modem and
a PC to LAN:
* Can you ping 8.8.8.8 ?
* Can you ping 192.168.107.1 ?
* Can you ping 192.168.1.1 ?
* Ping www.google.com ?

Thanks,
T


On Dec 15, 2017 3:59 PM, "Russell Senior" <russ...@personaltelco.net> wrote:

Fwiw, I am very interested to hear why a PC works and your router does
not, because that makes zero sense from your description.

Russell

On Fri, Dec 15, 2017 at 3:34 PM, Bob Vinisky
<b...@cherrycreekdaffodils.com> wrote:
>
>> On Dec 15, 2017, at 2:01 PM, Tomas Kuchta <tomas.kuchta.li...@gmail.com>
wrote:
>>
>> Bob,
>>
>> Russell was asking a few questions and after this long, there is still no
>> clear and definite answer.
>>
>> Could you please try to contain your frustrations and answer that, and
only
>> that? There is no help possible without knowing the facts.
>>
>> 1. What is this "dal" - what does that abbreviation mean?
>> 2. Does your internet works when you connect a computer to DSL modem
>> directly?
>> 3. If answer to 2. is yes, what is IP, net mask and default route for the
>> computer connected to DSL modem?
>> 4. What is WAN IP on your LAN router when you connect it to DSL modem.
>> 5. What IP, netmask and default route do you get when you connect a
>> computer to LAN side of your LAN router?
>>
>> Thank you,
>> Tomas
>
> Howdy,
>
> Sorry about the delay - just spent 2 hours with an actual technical
person who was helpful.
>
> In answer to your questions:
>
> 1 - DSL, the sole Internet connection available here. I live in the hills
outside Sherwood, so, except for Frontier’sDSL service, we only have
dial-up, wireless, hughes-net, etc.
>
> 2 - yes
>
> 3 - 192.168.1.3  —  255.255.255.0
>
> 4 - 192.168.1.2
>
> 5 - 192.168.107.xxx
>
> fwiw, I believe a solution to this issue is on the horizon. Working on a
fix now
>
> Thanks
>
> Bob
>
>   --
> Remember, even if you win the rat race -- you're still a rat.
>
>
>
> ___
> 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] dsl woes

2017-12-15 Thread Tomas Kuchta
Bob,

Russell was asking a few questions and after this long, there is still no
clear and definite answer.

Could you please try to contain your frustrations and answer that, and only
that? There is no help possible without knowing the facts.

1. What is this "dal" - what does that abbreviation mean?
2. Does your internet works when you connect a computer to DSL modem
directly?
3. If answer to 2. is yes, what is IP, net mask and default route for the
computer connected to DSL modem?
4. What is WAN IP on your LAN router when you connect it to DSL modem.
5. What IP, netmask and default route do you get when you connect a
computer to LAN side of your LAN router?

Thank you,
Tomas


On Dec 15, 2017 7:59 AM, "Bill Weiss"  wrote:

Bob Vinisky(b...@cherrycreekdaffodils.com)@Thu, Dec 14, 2017 at 06:32:02PM
-0800:
>
> > Can you ping the internet from the router?  It is plugged in directly.
> >
> > Are you sure you haven't scrambled your ethernet cables?
>
>
> Yes and no  From the router, or any other machine on the LAN I can
get to the dal modem. Can successfully ping the dos servers and gateway.
One of the Frontier techs gave me the ip no. for Frontier.yahoo.com - their
web portal. Interestingly enough I could ping it Tuesday, but not Wednesday
or today.
>
> My brain is now scrambled.
>
> Russell, I have checked, double-checked, cross-checked, and toasty
cinnamon-coated wheat checks the entire setup, LAN and WAN, rebooted
everything that was capable of rebooting, and then, just to make sure,
checked again.
>
> The only conclusion I can draw is that Frontier has made a change in
their system, or, this was their policy all along, and it took them this
long to catch up to me.

Possibly dumb proposal:

Unplug all the ethernet everywhere, then unplug the DSL modem from power
and put it in time out for a minute. Plug in the DSL modem, wait for it to
come up. Optionally, scramble your computer's MAC address. Plug your
computer into it, make sure it has internet. Unplug the computer, give the
WAN side of your router the same MAC address as your computer, plug WAN
into DSL modem. See if that works. If so, use router like normal and go
about your business.

This used to be the thing you had to do with cable modems before all the
cable companies got with the program. They can track what kind of device
you have, sort of, based on your MAC prefix. They can also just refuse to
learn more than X MAC addresses and keep you from connecting a switch to
the stupid thing that way.

Most routers even have a handy MAC cloning feature for just this sort of
thing.

--
Bill Weiss
___
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] SQLITE 3 C...

2017-12-19 Thread Tomas Kuchta
You either need to close and reopen the SQL DB or pass around the handle to
it, so that you can access it outside the scope of a function - main in
your case.

Tomas

On Dec 19, 2017 10:24 AM, "michael"  wrote:

> I have no understanding of what the callback function is for.
>
> I have converted a text file to a sqlite3 file successfully
> in C.  Problem is, I had to do all the sqlite3 stuff in
> main.  I want to create the database and write out the
> file in a separate function.  Further, I want to read the
> database and update a local data structure in a separate
> C function so that main can be short.
>
> Another problem, what is the callback function for?
> ...
> char * err_msg;
> char * sql = (char *)calloc(72,sizeof(char *));
> sprintf(sql,("INSERT INTO Steadyshot VALUES(%d,\"%s\",\"%s\");",ski
> p_settings,token[0],token[1]);
> int return_code = sqlite3_exec(db,sql,0,0,_msg);
> free(sql);
> ...
>
> Note in sqlite3_exec that the third or fourth argument can be used to
> indicate a callback function.
>
> I don't want to store the contents of the sqlite3 database file in a
> global data structure, but can
> I store it in a local data structure from a callback function?
>
> My goal is to abandon having a text file and just store the settings in a
> sqlite3 file.  This is
> the straightforward way to share settings between a C program and Apache.
>
> I could also use pointers on how to read the database in PHP from the
> Apache side and where the
> database file should be on the Linux filesystem.
> ___
> 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] incron issue

2017-11-17 Thread Tomas Kuchta
If I recall incron details correctly, you get multiple entries in your log
because you run your script multiple times at different events:
IN_CLOSE_WRITE,IN_NO_LOOP

Your other question: You see "create" in your log because that is what your
echo command puts there in your script.

-Tomas

On Nov 17, 2017 11:47 AM, "Denis Heidtmann" 
wrote:

I have pursued Tomas' advice to use incron to automatically send files
written by the win2k print driver to the printer.  I have everything down
to one issue.  To test, I have a simple script (intest.sh) that just sends
the event responded to to a log file:

#! /bin/bash
# test of incron
echo "tes1 create " $1 >> /home/denis/incronlog.log

The incron table is:

/home/denis/win2kfiles/Print_files IN_CLOSE_WRITE,IN_NO_LOOP
/home/denis/scripts/intest.sh $#

The resulting log is:

tes1 create  test12
tes1 create  test12.PLT
tes1 create  test12.PLT
tes1 create  test12.PLT

It generates multiple entries for one file added (i.e., one print
command).  I added  IN_ONESHOT to the incrontab:

/home/denis/win2kfiles/Print_files IN_CLOSE_WRITE,IN_ONESHOT,IN_NO_LOOP
/home/denis/scripts/intest.sh $#

I still got multiple entries in the log.


Questions:
Why does the log not say "close" instead of "create"?
Why four entries?
What might the result be when the script intest.sh is replaced by one that
prints and deletes the files?  Will it be called 4 times in rapid
succession?

Any suggestions for testing further?

Thanks,
-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] cpufreq governor selection

2017-11-11 Thread Tomas Kuchta
I can give you old, unused 4 core 64b ASRock Q1900DC mini-itx board. It
takes 10W from 12-19V power brick, it is 64bit and probably faster to
replace than you problematic piece of HW.

I do not use it because the battery keeping cmos ram and rtc is not
working. So, it needs screen and keyboard to hit F1 in order to come out of
power loss. That is not useful for closet server board. Otherwise it works
just fine. Maybe it just need new battery, I don't know.

Tomas

On Nov 11, 2017 5:37 PM, "King Beowulf"  wrote:

> On 11/11/2017 09:19 AM, Rich Shepard wrote:
> >   Trying to build a couple of packages here on my 32-bit, 2-core i686 AMD
> > Athlon(tm) II X2 255 Processor causes a CPU overheat shutdown of the
> > system.
> > Building one large package, ATLAS (a linear algebra library), is
> > recommended
> > to set cpufreq to 'performance' which fixes the govenor at the highest
> > speed. The normal governor is 'ondemand' which sets clock speed
> > depending on
> > load.
> >
> --snip---
> >
> >   Your thoughts and experiences will be helpful.
> >
> > Rich
> >
>
> If you are getting CPU overheating, esp. with this Athlon II X2, which ,
> you will need to look at defective case fans, CPU fan or reseat the CPU
> heat sink with fresh CPU paste. The ones I had here I used to pushed
> push hard with seti@home, climatepredictions@home, einstain@home etc
> BOINC projects, and yes games, and never had any significant heat issues.
>
>  AMD CPUs run much cooler than the typical Intel CPUs of the same era.
> Athlon II X2 255 have a TPD of only 65W. the cpufrew module just
> overrides the built in automatic CPU speed settings and is only useful
> to safe power (lower electric bill).
>
> You should be able to run that CPU all day at full blast without
> overheating.  Check your cooling fans and CPU heat sink.
>
> -Ed
>
>
> ___
> 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] linux for a Ludite

2017-11-11 Thread Tomas Kuchta
Wow, so many responses. Wonderful.

First - as much as I love vintage stuff - 15 years old computers sucks for
many reasons. Keep it as your pet vintage car type of project. Consider
something new, perhaps Chuwi 12.3, it looks like iPad, so non PC people are
not scared of it, and it is very affordable - not fast, but much better
than T42.

Second - talk and LISTEN to your wife what she would like the computer for.
If like you said it is light browsing and calling people with iPads and
iPods - then iPad is probably the best choice. You cannot win over everyone
constantly moaning about that she should just have iPad. It doesn't matter
how shallow it might be - enjoy talking about other things than computers.

If your wife really want/need a computer, you need to ask her what for. In
any case Ubuntu is probably the best choice because it is simple, it works
and your kids will be able to figure things out for her.

Hope it helps,
-T

On Nov 11, 2017 5:19 PM, "Chuck Hast"  wrote:

> Just went and looked at it, nice laptop from what I can see, and you can
> get
> it with Linux pre-installed.
>
> Speaking of relatives, I have to go and put linux on my mom's computer she
> got one with Windows 10 and it is such a mess, slow, the monitor will not
> wake
> up (it did but there was some update and messed that up) so I am going to
> move her to Linux too. The computer is a Dell and it is new so I can put a
> full distro on there, but I will just put the things she needs, add Cairo
> Dock so
> she can find others, and that should put a stop to all of that.
>
> I will move them one by one off of the other OS.
>
> On Sat, Nov 11, 2017 at 6:53 PM, Russell Senior  >
> wrote:
>
> > Fwiw, the CHUWI 12.3 is a 3:2 aspect ratio screen, and is high res, so no
> > jaggies.
> >
> > On Nov 11, 2017 4:51 PM, "Chuck Hast"  wrote:
> >
> > > All well taken, these are good pointers, perhaps we should publish a
> > > book...
> > >
> > > Here is what I am planning, the T42 is set up and running just fine. If
> > it
> > > works
> > > out I will get her a newer ThinkPad. I figure that if she gets through
> a
> > > few weeks
> > > or months with it, then I will move her up to something faster, only
> > issue
> > > is she
> > > LIKES the screen size on the ol' T42.
> > >
> > > As to 32 bits, yep the choices are rapidly going away. Though I was not
> > > planniing
> > > on putting a real large distro on it, If she can just do her web stuff
> > and
> > > learn it.
> > > The machine is way faster than she can type right now, so I am  not too
> > > worried
> > > about speed. It pays music and videos, and she can look at all she
> wants.
> > >
> > >
> > > On Sat, Nov 11, 2017 at 3:08 PM, Galen Seitz 
> > > wrote:
> > >
> > > > On 11/11/17 12:38, Chuck Hast wrote:
> > > > > Well I put Lubuntu on it and so far it does pretty good. She wants
> to
> > > > learn
> > > > > how to use the computer, (I offered a tablet, but no, now computer)
> > so
> > > I
> > > > am
> > > > > going to take a poke at Lubuntu. I will put the needed apps on the
> > > > desktop
> > > > > and let her go at it. Thank you all for all the good ideas. If this
> > > fails
> > > > > then I will
> > > > > try to get her to go for the iPad.
> > > >
> > > > Alternatively, you may want to consider a Chromebook.  This is what
> > I've
> > > > done for relatives.
> > > >
> > > > galen
> > > > --
> > > > Galen Seitz
> > > > gal...@seitzassoc.com
> > > > ___
> > > > PLUG mailing list
> > > > PLUG@pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Chuck Hast  -- KP4DJT --
> > > I can do all things through Christ which strengtheneth me.
> > > Ph 4:13 KJV
> > > Todo lo puedo en Cristo que me fortalece.
> > > Fil 4:13 RVR1960
> > > ___
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
>
>
>
> --
>
> Chuck Hast  -- KP4DJT --
> I can do all things through Christ which strengtheneth me.
> Ph 4:13 KJV
> Todo lo puedo en Cristo que me fortalece.
> Fil 4:13 RVR1960
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] incron issue

2017-11-21 Thread Tomas Kuchta
$(some command) will simply execute the command and give return value.

You do not see any time stamp because you are not giving stat a file. $1, in
your case, doesn't contain file name.

I have asked or suggested before to only use IN_CLOSE_WRITE event. That is
what you want - run the script after the file/dir was written to and is
closed. Not the other times when you look at it or read the file with your
script. Taking those other events off should solve the multiple invocation
problem.

I hope it helps,
Tomas


On Nov 20, 2017 5:54 PM, "Denis Heidtmann" <denis.heidtm...@gmail.com>
wrote:

Working my way through the script, trying to understand the behavior.  Here
is a simple test:

#! /bin/bash
# test of incron
echo -n "time: $(stat -c '%Y' $1)" >> /home/denis/incronlog.log
echo "test:  $1 $2" >> /home/denis/incronlog.log
# sleep 10

It generates what I would expect when executed from the command line:
~/scripts/intest.sh examples.desktop:
time: 1464568514test:  examples.desktop

But when invoked by incron the line including the time is empty except for
the word "time:"  The time value is absent.
time: time: test:   IN_ACCESS,IN_ISDIR
test:   IN_CLOSE_NOWRITE,IN_ISDIR
time: test:   IN_ACCESS,IN_ISDIR
time: test:   IN_OPEN,IN_ISDIR
time: test:   IN_OPEN,IN_ISDIR
etc.

My knowledge of the use of $, (, ", ',  and  {  is lacking, so I expect
that is where the trouble lies.

Is the problem obvious?

Thanks,
-Denis

On Sun, Nov 19, 2017 at 10:42 PM, Tomas Kuchta <tomas.kuchta.li...@gmail.com
> wrote:

> The script I posted does its own locking, so that other copies would know
> that it is already running and what file it is serving.
>
> See the lock file being created, checked and removed.
>
> Tomas
>
> On Nov 19, 2017 9:10 PM, "Denis Heidtmann" <denis.heidtm...@gmail.com>
> wrote:
>
> > Your script has things in it that stretch my knowledge of Bash, so
> > understanding what it does is difficult for me.
> >
> > I have no experience with file locking.  Is this a standard protocol?
> > Since the print file is created by a Windows print driver, I wonder if
> the
> > locking which is described in the ubuntu docs is reliably applicable.
> >
> > This is likely a discussion that stretches what is reasonable to attempt
> > via a forum, since I need considerable education.
> >
> > I appreciate your efforts.  I will play with it in an attempt to learn
> what
> > you are proposing, but do not be surprised if it takes me some time.
> >
> > -Denis
> >
> >
> >
> > On Sat, Nov 18, 2017 at 9:17 PM, Tom <tomas.kuchta.li...@gmail.com>
> wrote:
> >
> > > Hi Denis,
> > >
> > > Try something like the script below.
> > > It uses a lock to detect its own invocation as well as multiple
> > > invocations of self. If it prints it backs up the printed file, so you
> > > should not lose anything, should things go south.
> > >
> > > Note: I did not properly test it. So, give it good pass over and test
> > > it before calling it a day. As I said, it should not loose any print
> > > files and you should know if it prints.
> > >
> > > Please insert your own print command instead of the echo "" and
> > > redirect the output to a log file or /dev/null so it does not end up
> > > with incron.
> > >
> > > Beware of broken script lines by the email.
> > >
> > > I hope that it works as intended or as an example,
> > > Tomas
> > >
> > > #!/bin/bash
> > > ##
> > > # This command submits a file to print
> > > # It is triggered by incron and tries to
> > > # gracefully deal with multiple incron invocations
> > > # and waits for file to be closed by the
> > > # print application.
> > > # Example incron line:
> > > # printDirToMonitor IN_CLOSE_WRITE submitPrinterJob.bash $#
> > > ##
> > > lockDir=/tmp/
> > > lockFileBaseName=/tmp/submitPrinterJob
> > > thisPid=$$
> > > fileToPrint=$1
> > > printedFilesDir=/home/$USER/printedFilesDir
> > > mkdir -p $printedFilesDir
> > >
> > > searchLockPattern="${lockFileBaseName}_${fileToPrint}_*.lock"
> > > myLockFileName="${lockFileBaseName}_${fileToPrint}_${thisPid}.lock"
> > >
> > > # check if the file to print is still there
> > > if [ -e $fileToPrint ]; then
> > >   # Check if another script is running and serving this file
> > >   # Issue lock if not
> > >   c=0

Re: [PLUG] Reality check

2017-11-21 Thread Tomas Kuchta
Not the original poster - BUT, thank you very much for such positive post
Mike.

... more or these please ... and Knipex tools too!

On Nov 20, 2017 7:58 PM, "Mke C"  wrote:



On 11/20/2017 05:54 PM, plug-requ...@pdxlinux.org 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 accesswww.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.
>
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.

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.

tcpmux1/tcp# TCP port service multiplexer
echo7/tcp
echo7/udp
discard9/tcpsink null
discard9/udpsink null
systat11/tcpusers

This particular implementation, https://www.elifulkerson.com/p
rojects/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.

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.

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.

___
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] incron issue

2017-11-19 Thread Tomas Kuchta
a delay at the start of my printing script
> > > so it
> > > does not try to print an incomplete file.
> > >
> > > An aside:  The "masks" in the incrontab are separated by comas but no
> > > spaces are allowed.
> > >
> > > Nothing turns out as simple as it appears initially.
> > >
> > > -Denis
> > >
> > > On Fri, Nov 17, 2017 at 11:38 PM, Tom <tomas.kuchta.li...@gmail.com>
> > > wrote:
> > >
> > > >
> > > > I am glad you worked it out. Well done.
> > > >
> > > > Darn fast computers!!
> > > >
> > > > -T
> > > >
> > > > On Fri, 2017-11-17 at 18:04 -0800, Denis Heidtmann wrote:
> > > > >
> > > > > On the "Create":  this convinces me that I should take up
> > > > > drinking
> > > > > coffee,
> > > > > so some stronger brain stimulant. Dumb.
> > > > >
> > > > > On the multiple entries, I think the issue is that my test script
> > > > > is
> > > > > very
> > > > > short and fast.  I added a sleep 10 and I get only one entry--the
> > > > > first
> > > > > one.  Apparently the print driver (or the program calling it)
> > > > > closes
> > > > > the
> > > > > file multiple times.  I added $% to the incrontab file and %2 to
> > > > > the
> > > > > script
> > > > > (but w/o the sleep in my script) I got:
> > > > >
> > > > > test1 create  test23 IN_CLOSE_WRITE
> > > > > test1 create  test23.PLT IN_CLOSE_WRITE
> > > > > test1 create  test23.PLT IN_CLOSE_WRITE
> > > > > test1 create  test23.PLT IN_CLOSE_WRITE
> > > > >
> > > > > This behavior of the driver/application seems not the best, but
> > > > > there
> > > > > is
> > > > > nothing to be done about it.  I assume that my printing script
> > > > > will
> > > > > take
> > > > > sufficient time it will not matter.
> > > > >
> > > > > I recorded the times associated with the four log entries.  It
> > > > > was
> > > > > 347 msec
> > > > > overall, with the last step taking most of this time at about 300
> > > > > msec.  So
> > > > > my anticipation that the multiple writes/closing will not matter
> > > > > seems
> > > > > reasonable.  Let's hope so.
> > > > >
> > > > > Thanks again for the suggestion.
> > > > >
> > > > > -Denis
> > > > >
> > > > > On Fri, Nov 17, 2017 at 2:02 PM, Tomas Kuchta  > > > > @gma
> > > > > il.com>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > >
> > > > > > If I recall incron details correctly, you get multiple entries
> > > > > > in
> > > > > > your log
> > > > > > because you run your script multiple times at different events:
> > > > > > IN_CLOSE_WRITE,IN_NO_LOOP
> > > > > >
> > > > > > Your other question: You see "create" in your log because that
> > > > > > is
> > > > > > what your
> > > > > > echo command puts there in your script.
> > > > > >
> > > > > > -Tomas
> > > > > >
> > > > > > On Nov 17, 2017 11:47 AM, "Denis Heidtmann" <denis.heidtmann@gm
> > > > > > ail.
> > > > > > com>
> > > > > > wrote:
> > > > > >
> > > > > > I have pursued Tomas' advice to use incron to automatically
> > > > > > send
> > > > > > files
> > > > > > written by the win2k print driver to the printer.  I have
> > > > > > everything down
> > > > > > to one issue.  To test, I have a simple script (intest.sh) that
> > > > > > just sends
> > > > > > the event responded to to a log file:
> > > > > >
> > > > > > #! /bin/bash
> > > > > > # test of incron
> > > > > > echo "tes1 create " $1 >> /home/denis/incronlog.log
> > > > > >
> > > > > > The inc

Re: [PLUG] incron issue

2017-11-21 Thread Tomas Kuchta
Of course that you see some/many invocations without any file names when
you trigger on all directory events. All sorts of of processes go by all
sorts of directories all the time on modern desktop. Not all of them look
at files.

What your aim is, I believe/hope, to respond to print file write and close
- and send that file to a printer. Ideally deleting or backing that file
away from the print dir. You want to do that reliably and without multiple
processes acting on any given file.

If you want to debug print job spooler, I would suggest to do just that. Do
exactly what you need to do, keep it simple, and expand from there.

If you are curious about kernel interworks, I would suggest to start
looking at kernel documentation and source code - it is more systematic way
of learning. Unfortunately, I am not the right person to have meaningful
conversation about kernel and VFS events/triggers. My knowledge is too
shallow for that.

Good luck,
Tomas

On Nov 21, 2017 9:44 AM, "Denis Heidtmann" <denis.heidtm...@gmail.com>
wrote:

> It is fully my intention to use only IN_CLOSE_WRITE in the final version.
> I currently am using IN_ALL_EVENTS just to see what the print
> driver/application is doing.  In fact, when I first started working on this
> I used just IN_CLOSE_WRITE  and saw 4 invocations.  That is what sent me
> exploring.
>
> Regarding what is in $1, I see what seems to me to indicate a file name in
> $1 *sometimes*.  Why only sometimes?  Here is the test script:
> #! /bin/bash
> # test of incron
> echo -n "time: $(stat -c '%Y' $1)" >> /home/denis/incronlog.log
> echo "test:  $1 $2" >> /home/denis/incronlog.log
>
> I get perhaps 270 invocations with IN_ALL_EVENTS.  A sampling shows some
> responses with the file name, but no times:
>
> test:   IN_ACCESS,IN_ISDIR
> time: test:   IN_CLOSE_NOWRITE,IN_ISDIR
> time: test:   IN_CLOSE_NOWRITE,IN_ISDIR
> time: test:  tst1.PLT IN_OPEN
> time: time: test:  tst1.PLT IN_OPEN
> test:  tst1.PLT IN_OPEN
> time: test:  tst1.PLT IN_CLOSE_NOWRITE
> time: test:  tst1.PLT IN_ACCESS
> time: test:  tst1.PLT IN_CLOSE_NOWRITE
> time: time: test:   IN_CLOSE_NOWRITE,IN_ISDIR
> test:   IN_ACCESS,IN_ISDIR
> time: test:  tst1.PLT IN_CLOSE_NOWRITE
>
> There are a number of questions raised by this, but I expect that most can
> be explained by the rapid multiple invocations.  Does that also explain the
> missing times?
>
> -Denis
>
>
> On Tue, Nov 21, 2017 at 12:23 AM, Tomas Kuchta <
> tomas.kuchta.li...@gmail.com
> > wrote:
>
> > $(some command) will simply execute the command and give return value.
> >
> > You do not see any time stamp because you are not giving stat a file. $1,
> > in
> > your case, doesn't contain file name.
> >
> > I have asked or suggested before to only use IN_CLOSE_WRITE event. That
> is
> > what you want - run the script after the file/dir was written to and is
> > closed. Not the other times when you look at it or read the file with
> your
> > script. Taking those other events off should solve the multiple
> invocation
> > problem.
> >
> > I hope it helps,
> > Tomas
> >
> >
> > On Nov 20, 2017 5:54 PM, "Denis Heidtmann" <denis.heidtm...@gmail.com>
> > wrote:
> >
> > Working my way through the script, trying to understand the behavior.
> Here
> > is a simple test:
> >
> > #! /bin/bash
> > # test of incron
> > echo -n "time: $(stat -c '%Y' $1)" >> /home/denis/incronlog.log
> > echo "test:  $1 $2" >> /home/denis/incronlog.log
> > # sleep 10
> >
> > It generates what I would expect when executed from the command line:
> > ~/scripts/intest.sh examples.desktop:
> > time: 1464568514test:  examples.desktop
> >
> > But when invoked by incron the line including the time is empty except
> for
> > the word "time:"  The time value is absent.
> > time: time: test:   IN_ACCESS,IN_ISDIR
> > test:   IN_CLOSE_NOWRITE,IN_ISDIR
> > time: test:   IN_ACCESS,IN_ISDIR
> > time: test:   IN_OPEN,IN_ISDIR
> > time: test:   IN_OPEN,IN_ISDIR
> > etc.
> >
> > My knowledge of the use of $, (, ", ',  and  {  is lacking, so I expect
> > that is where the trouble lies.
> >
> > Is the problem obvious?
> >
> > Thanks,
> > -Denis
> >
> > On Sun, Nov 19, 2017 at 10:42 PM, Tomas Kuchta <
> > tomas.kuchta.li...@gmail.com
> > > wrote:
> >
> > > The script I posted does its own locking, so that other copies would
> know
> > > that it is already running and what file it is serving.
> > >
>

Re: [PLUG] incron issue

2017-11-21 Thread Tomas Kuchta
My sample code works like this in principle:

1. You said 4-ish invocations per print file. That means that there would
be 4-ish instances of your script running, if I would not use that lock
file in /tmp to detect that another script instance is already dealing with
the print file. So, the script starts, looks for another script's lock
file, if it doesn't find one , it creates own one, waits a bit, checks
again, and if there is no collision (imagine multiple scripts checking and
creating locks at the same time) it waits for the print file to become
stable.
2. The print file is considered stable if it is not changed for the
duration of 3 (I believe) 1 second wait loops. If the file changes, the
loop counter resets and another 3 set of loops goes by. This way, you do
not have to wait for the max possible print time, every time. I imagine
that long or complex document might take long time to print - if we know
that the printing application updates the file at least every few seconds -
we reset the timer at every change, re-starting the count down.
3. File gets sent to a printer when it is considered stable, and then moved
to a backup dir under new name consisting of a time stamp + the original
name. If something goes wrong you can re-print manually. Backed up files
should sort by its date stamp.
4. On exit, the script removes the lock file.

That's about allif I remember correctly.

I guess, you could call that lock file a semafor if that sounds better.
Alternatively, you could also look for another process instead of keeping
the lock/semafor file, but that would not allow for multiple files printing
correctly at the same file.

I hope that it is little clearer.

-T


On Nov 21, 2017 7:12 PM, "Denis Heidtmann" <denis.heidtm...@gmail.com>
wrote:

> Me looking at kernel software would be no more educational than me reading
> about it in Greek.  And  I did not think I wanted to debug the spooler,
> whatever that is.
>
> So to get down to the essentials, using only IN_CLOSE_WRITE, I get four
> events (with this particular application printing).  For a big print job
> the timespan from the first event to the last is 10 seconds.  I can explore
> my two other applications and come up with a maximum (probable) time.  Add
> a buffer to that and use that time as a delay prior to printing the file.
> That was my intended approach.
>
> As I understand your approach it is to check the time stamp for the file in
> question, delay 2 seconds, then assume if no change has occurred, the file
> is ready to print.  Is this understanding correct?  If so, this assumes
> that the driver/application changes the file more frequently than every 2
> seconds.  To explore that, I was trying to send the time to the log every
> time I got an icron invocation with the IN_ALL_EVENTS mask.  Hence my use
> of that mask and trying to capture the time to the log.  This, I hope,
> explains why I wanted to see the result of  $1)" >> /home/denis/incronlog.log>, and the question of why no time appears
> in the log.  Notice that there are many cases in the log where $1  appears
> to be a filename.
>
> -Denis
>
> On Tue, Nov 21, 2017 at 1:37 PM, Tomas Kuchta <
> tomas.kuchta.li...@gmail.com>
> wrote:
>
> > Of course that you see some/many invocations without any file names when
> > you trigger on all directory events. All sorts of of processes go by all
> > sorts of directories all the time on modern desktop. Not all of them look
> > at files.
> >
> > What your aim is, I believe/hope, to respond to print file write and
> close
> > - and send that file to a printer. Ideally deleting or backing that file
> > away from the print dir. You want to do that reliably and without
> multiple
> > processes acting on any given file.
> >
> > If you want to debug print job spooler, I would suggest to do just that.
> Do
> > exactly what you need to do, keep it simple, and expand from there.
> >
> > If you are curious about kernel interworks, I would suggest to start
> > looking at kernel documentation and source code - it is more systematic
> way
> > of learning. Unfortunately, I am not the right person to have meaningful
> > conversation about kernel and VFS events/triggers. My knowledge is too
> > shallow for that.
> >
> > Good luck,
> > Tomas
> >
> > On Nov 21, 2017 9:44 AM, "Denis Heidtmann" <denis.heidtm...@gmail.com>
> > wrote:
> >
> > > It is fully my intention to use only IN_CLOSE_WRITE in the final
> version.
> > > I currently am using IN_ALL_EVENTS just to see what the print
> > > driver/application is doing.  In fact, when I first started working on
> > this
> > > I used just IN_CLOSE_WRITE  and saw 4 invocat

Re: [PLUG] associate *.PLT files with lpr?

2017-11-10 Thread Tomas Kuchta
Speaking of doing things automagically on a file event.

One could put the files to the same directory every time, and setup a
trigger on the directory change event. There would be no real delay that
way and as soon as a file shows up, it could be sent to a printer.

If you are interested in that, search for: monitoring files directories by
incron.

Tomas

On Nov 10, 2017 10:26 PM, "Russell Senior" 
wrote:

> Rather than clicking on it, you could set up a cronjob (or similar)
> that sends everything it finds in the particular directory you "print"
> it to, and automatically sends it to the printer and then deletes it.
> That would make it kind of automatic, if adding a little latency.
>
>
> Russell
>
> On Fri, Nov 10, 2017 at 3:32 PM, Denis Heidtmann
>  wrote:
> > Figured it out.  I needed to add %U to the exec line in the .desktop
> file.
> >
> > Where is there a list of the various command line options (such as this
> %U)?
> >
> > Thanks,
> > -Denis
> >
> > On Fri, Nov 10, 2017 at 3:14 PM, Denis Heidtmann <
> denis.heidtm...@gmail.com>
> > wrote:
> >
> >> I would like to be able to double-click on a .PLT file to have lpr
> launch
> >> with the file as the argument.
> >>
> >> I have created a *.desktop file, made it executable, and placed it in
> >> ~/.local/share/applications.  It shows up in Dash.  But it does not
> show as
> >> an application that I can associate with a file.
> >>
> >> Am I going in the right direction?
> >>
> >> Thanks,
> >> -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
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] winscp

2017-12-05 Thread Tomas Kuchta
I would like to reiterate that mount.cifs does not transmitted password in
plain text over the network. Unless you use ancient version, which I do not
think is possible without extra effort on your side.


On Dec 5, 2017 7:26 AM, "michael"  wrote:

> I'm thinking about how to address security concerns with mount.cifs from a
> Pi 3 running Raspbian Stretch.
>
> An option is to have the customer run winscp server on their Windows
> server and give me a login/password to a limited account that can see the
> relevant shared files on the windows network.
>
> Granted, once I'm connecting via a limited account, the security concerns
> are less for mount.cifs.  OpenSSH is the code behind winscp, but from what
> I can see, the administrator has to install winscp.
>
> If I ignore the security concern that the password transmits in the clear
> with mount.cifs, it is simple for the Windows administrator to set up a
> share and a limited login that can access that share.
>
> As far as active directory, etcetera, I don't understand how that works
> where I lack the necessary time to learn how that works.  PC-NFS has
> problems similar to  mount.cifs, unless of course Kerberos is used for
> authentication.  Again, I don't have time to learn how to setup Kerberos
> and it would be a lot of work on the windows side.
>
> The Raspberry Pi 3 model B is limited on processing power and memory.
> Push it hard enough and it will overheat.  Keep in mind, the only time
> truss files need to transfer from Windows to the Pi is when there is a
> request for a new one that isn't already locally available.  If scp is
> used, that should be lighter than keeping a CIFS share or an NFS share
> mounted between Linux and Windows.
> ___
> 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] Linux Journal magazine is no more

2017-12-02 Thread Tomas Kuchta
As far as I can say, based on their announcement. Their web presence will
last a little longer to accommodate the Linux Journal archive sales, etc.

I am not in the position of to know, but based on what they announced,
Linux Magazine or a private fund might be helping to stay on-line.

I also got their archive. It is a bargain and hopefully it will help them
close things down with employees and freelancers. The sooner, the better.

-T


On Dec 2, 2017 11:28 AM, "Michael Barnes"  wrote:

> Download link for the archive went through. Big file. Has all articles,
> letters, editorials, etc. searchable from the first issue to Nov 2017. I
> kind of wish they had the full issues to just read through like the early
> digital versions, but this is still a great resource. No idea how long this
> may be available, so you may want to jump as soon as possible. I thumbed
> through it last night, fond memories. I've read a lot of  Linux magazines,
> but LJ was the only one I actually subscribed to. Lots of catching up to
> do. Now I just have to figure out how to get it on my Kindle.
>
>
> On Sat, Dec 2, 2017 at 10:47 AM, Chuck Hast  wrote:
>
> > I am going to miss it. That was the first thing I did on the first of the
> > month
> > when the new digital issue was sent, set down (throne room session) read
> > it.
> >
> > My consternation when I opened what I thought was going to be the
> download
> > page and got that sad message. I think I have had a sub to it now for
> about
> > 10
> > years.
> >
> > I still hope someone can figure out how to keep it flying, but looks
> pretty
> > dark
> > right now.
> >
> > On Fri, Dec 1, 2017 at 9:12 PM, Neal  wrote:
> >
> > > On Fri, Dec 1, 2017 at 6:40 PM, Michael Barnes 
> > > wrote:
> > >
> > > > I loved Linux Journal and subscribed for many years. I let my
> > > subscription
> > > > go when they went digital as I didn't really have the resources to
> read
> > > it
> > > > at the time. I always meant to resubscribe, but never got to it.
> Their
> > > web
> > > > site let me order the 1994-2017 archive CD tonight, I hope I get it.
> I
> > > > always thought LJ was a great resource.
> > > >
> > >
> > > Ditto. Thank you for mentioning this Michael.
> > >
> > > NealS
> > > ___
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> >
> >
> >
> > --
> >
> > Chuck Hast  -- KP4DJT --
> > I can do all things through Christ which strengtheneth me.
> > Ph 4:13 KJV
> > Todo lo puedo en Cristo que me fortalece.
> > Fil 4:13 RVR1960
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Converting audio files

2017-12-02 Thread Tomas Kuchta
I wanted to post separately on your continued external disk troubles.

Unless you leave external USB resource management to standard hotplug you
will continue to have these kind of issues and conflicts.

The only way to workaround with your fstab way would be to do all below:
a) mount your USB disk to other place than media, so it is not of the way
for normal hotplug schemes
b) use uuid instead of /dev/... in fstab. That way it is guaranteed to
mount only the right disk/partition to the mount dir from a)

Good luck,
Tomas

On Dec 2, 2017 3:11 PM, "Rich Shepard"  wrote:

>   I bought a small digital voice recorder which saves files in .wav format.
> I found a script to convert from .wav to .mp3, but this device apparently
> has a non-standard format (0x0011).
>
>   Another web search found Sound eXchanger (SoX) which will not only change
> wav formats but convert among many different types. Unfortunately, the
> build
> script available at SlackBuilds.org does not compile with mp2 and mp3
> support (I've written the maintainer about this). But, ...
>
>   Until I get sox working to convert from .wav to .mp3 another search
> taught
> me that the 'play' capability within sox produces sounds from .wav files on
> linux. This is an interim solution. Are there other audio format converters
> that I might try on these files?
>
>   On a related issue, /var/log/messages shows that the recorder is seen as
> the SCSI disk /dev/sdb. I have an entry in /etc/fstab for my 3T external
> hard drive (ext3 file system) which the kernel sees as /dev/sdb assigned to
> /mnt/hd/. Root can mount the vfat file system recorder on /mnt/hd/; can two
> devices (with different file systems) be listed in /etc/fstab to be mounted
> on the same mount point?
>
> 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] Converting audio files

2017-12-02 Thread Tomas Kuchta
lame
ffmpeg

Should both work from command line given input.wav output.mp3 with optional
compression options.

ffmpeg in particular is the real "Swiss army knife" type of a tool.

-Tomas


On Dec 2, 2017 3:48 PM, "Dale Snell"  wrote:

On Sat, 2 Dec 2017 15:11:45 -0800 (PST), in message
alpine.lnx.2.20.1712021502330.21...@salmo.appl-ecosys.com, Rich Shepard
wrote:

>I bought a small digital voice recorder which saves files in .wav
> format. I found a script to convert from .wav to .mp3, but this
> device apparently has a non-standard format (0x0011).
>
>Another web search found Sound eXchanger (SoX) which will not only
> change wav formats but convert among many different types.
> Unfortunately, the build script available at SlackBuilds.org does not
> compile with mp2 and mp3 support (I've written the maintainer about
> this). But, ...
>
>Until I get sox working to convert from .wav to .mp3 another
> search taught me that the 'play' capability within sox produces
> sounds from .wav files on linux. This is an interim solution. Are
> there other audio format converters that I might try on these files?

Audacity has always worked well for me when it comes to converting
sound files.  FFMPEG is pretty good at conversions, too.

>On a related issue, /var/log/messages shows that the recorder is
> seen as the SCSI disk /dev/sdb. I have an entry in /etc/fstab for my
> 3T external hard drive (ext3 file system) which the kernel sees
> as /dev/sdb assigned to /mnt/hd/. Root can mount the vfat file system
> recorder on /mnt/hd/; can two devices (with different file systems)
> be listed in /etc/fstab to be mounted on the same mount point?

Give your 3TB hard drive a label, and use that label in fstab to
reference the drive when mounting it.  Or you could use a UUID,
but those are much longer to type.  :-)  The kernel assigns drive
locations on a first-come first-served basis, so using a label of
some sort is much more reliable than a drive location.

Hope this helps.

--Dale

--
Imagine if every Thursday your shoes exploded if you tied them the
usual way.  This happens to us all the time with computers, and
nobody thinks of complaining.-- Jeff Raskin
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Linux Journal magazine is no more

2017-12-01 Thread Tomas Kuchta
For those who remember the experience of actually reading a magazine front
to back, rather than just flicking pages full of shiny advertisement -
another one bites the dust.

So long Linux Journal
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Permissions over house network

2017-12-01 Thread Tomas Kuchta
Use NFS instead of Samba for ordinary sharing and replicate the user
accounts on the NFS server. That is probably the easiest.

Alternatively, you could setup a samba/active domain for central
authentication, so that you are the same user everywhere. That would take
care of it.

Tomas

On Dec 1, 2017 11:38 AM, "Tim Garton"  wrote:

> I believe there's a "force user = " option you can put into
> your smb.conf that will force all file operations to be performed as that
> user on the server side.  Probably only helpful if you only have on user
> involved, not sure about your situation.
>
> On Fri, Dec 1, 2017 at 11:06 AM, Dick Steffens 
> wrote:
>
> > On 12/01/2017 10:59 AM, Tim Garton wrote:
> >
> >> How are you mounting the remote filesystems?  If via NFS then I believe
> >> there's some ID mapping mechanism you can use...
> >>
> >
> > Just using Samba.
> >
> >
> > --
> > Regards,
> >
> > Dick Steffens
> >
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Linux centralized authentication

2018-05-04 Thread Tomas Kuchta
Free IPA would be excellent topic for talk...

I for one would love to hear practical experience with it.

Tomas

On Thu, May 3, 2018, 8:59 AM Andrew Denton <and...@flying-snail.net> wrote:

> At work we use FreeIPA for all our linux servers, it works really well.
> It's nice to have a web interface for the LDAP/Kerberos/DNS/Certificate/nfs
> automount stuff, and the client side setup automation (ipa-client-install
> or the new realmd) is handy.
>
> Like you our humans actually have AD accounts that come in via trust. In
> that case we still use FreeIPA to manage their shells, sudoers rules and
> ssh keys. I've never had a problem with that trust breaking, my only
> problem has been some weirdness with Kerberized NFS home directories not
> always mounting properly.
>
> On Wed, May 2, 2018 at 8:25 PM Tyrell Jentink <tyr...@jentink.net> wrote:
>
> > I'm using FreeIPA here at home; As a product, it's really just a bunch of
> > scripts and a web interface for LDAP+Kerberos+Certificate
> management+Samba;
> > It aims to be a complete identity management system, a product designed
> to
> > compete with (Or at the very least, perform an analogous set of tasks to)
> > ActiveDirectory. It is completely open source, developed by Red Hat, for
> > Fedora, and I use it on CentOS, but it is available for a number of other
> > distros.
> >
> > (Full disclosure: I do happen to use ActiveDirectory to store my user
> > accounts, and FreeIPA authenticates through an AD Interforest Trust, but
> > that's far from a requirement, and it probably causes me more grief than
> > many admins would tolerate)
> >
> > As for reading, I learned everything I know from their documentation:
> > https://www.freeipa.org/page/Documentation
> >
> >
> > On Wed, May 2, 2018, 20:01 Thomas Groman <tgrom.autom...@nuegia.net>
> > wrote:
> >
> > > Do you have any book or other resource recommendations for setting
> these
> > > up? I already do sysadmin work, just never done centralized auth
> before.
> > >
> > >
> > > On 05/02/2018 07:53 PM, Tomas Kuchta wrote:
> > > > The easiest is to pick LDAP or NIS, both work very well on Linux.
> With
> > or
> > > > without Kerberos for local small setup.
> > > >
> > > > NIS with NFS for file sharing would be probably the simplest setup,
> but
> > > you
> > > > will eventually wish you had LDAP for integration with various other
> > > > services.
> > > >
> > > > LDAP + Kerberos + NFS is probably the most common and extensible
> > > solution.
> > > > You will absolutely need local DNS and NTP to get it going, but it is
> > > well
> > > > integrated extensible solution.
> > > >
> > > > Another option would be to uses Samba - it combines LDAP + Kerberos,
> so
> > > it
> > > > has less moving parts and can accept Windows hosts without much
> > headache,
> > > > compared to LDAP and Kerberos.
> > > >
> > > > For both solution, you might need some enterprise admin to help
> setting
> > > it
> > > > up. If well and simply setup, it is not difficult to maintain and
> > manage.
> > > > IMHO
> > > >
> > > > Tomas
> > > >
> > > > On Wed, May 2, 2018, 5:36 PM Smith, Cathy <cathy.sm...@pnnl.gov>
> > wrote:
> > > >
> > > >> There used to be dns, ldap, kerberos, nis.  These are open source
> > > >> protocols and not restricted to Microsoft.
> > > >>
> > > >>
> > > >> --
> > > >> Cathy L. Smith
> > > >> IT Engineer
> > > >>
> > > >> Pacific Northwest National Laboratory
> > > >> Operated by Battelle for the
> > > >> U.S. Department of Energy
> > > >>
> > > >> Phone: 509.375.2687
> > > >> Fax:   509.375.4399
> > > >> Email: cathy.sm...@pnnl.gov
> > > >>
> > > >>
> > > >>
> > > >> -Original Message-
> > > >> From: plug-boun...@pdxlinux.org [mailto:plug-boun...@pdxlinux.org]
> On
> > > >> Behalf Of Thomas Groman
> > > >> Sent: Wednesday, May 02, 2018 5:16 PM
> > > >> To: plug@pdxlinux.org
> > > >> Subject: [PLUG] Linux centralized authentication
> > > >>
> > > >> Has anyone ever made a 100% UNIX/BSD/Linux network with centralized
> > > &g

Re: [PLUG] Ubuntu MATE 18.04 frustrations

2018-05-14 Thread Tomas Kuchta
You said that:
a) you cannot copy files from internal disk. True?
b) you are unable to connect to different machine on local network. True?

a) how do you mount that internal disk?
Can you see it mouted by: mount?
b) do you know IP address of both machines?
Try: ip address
Can you connect (ssh) using those IPs?

Tomas

On Sun, May 13, 2018, 2:15 PM Dick Steffens  wrote:

> I got Ubuntu MATE 18.04 installed sometime last week, and am now getting
> around to copying stuff to it. I have a directory with many .mp3 files
> worth of music on a separate SATA drive in the same machine. 27.6 GB. I
> started the copy process using Caja. At first it said it would take
> about 59 hours. (That's when I started typing this message.) Now it say
> it will take about 71 hours at 106.5 kB/sec. Rather than do that I
> decided I'd try copying from another machine, but I can't see any other
> machines, nor can the other machines see this machine. Sigh. Looks like
> I'm changing to an entirely different OS going from 16 to 18.
>
> I've found a few links that indicate networking is done differently now,
> but they're all user experience links. Can someone point me to Ubuntu
> MATE 18.04 documentation that clearly explains how to change what was
> successful in 16.04 so that it works in 18.04?
>
> Thanks.
>
> --
> Regards,
>
> Dick Steffens
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] VLC 3.0

2018-05-08 Thread Tomas Kuchta
What is Compiz?
What is it good for?
Can some explain it in a single digestible sentence?

I've been resisting to ask as not to provoke something unexpected or show
an ignorance; I asked G, as well as compiz.org - but I do not like the BS
Bingo answer meaning nothing.

Without any rational basis, I always thought that it is some sort of trendy
gimmick for shaking windows or such...

So, can someone who knows, break it down for me? What does it do?

Thanks,
T

On Tue, May 8, 2018, 7:34 PM Chuck Hast  wrote:

> I installed Ubuntu Mate, it let me select my favorite, Compiz. I have all
> of
> the Compiz stuff I like (cube etc) and have plenty of control over it. You
> use
> the Mate Tweak and go in and change the desktop to what you want. Use
> Compiz Config setting manager to set up a bunch of it.
>
> I tried Ubuntu and found the same thing, too restrictive and none of the
> Compiz
> stuff worked. They swapped their mamma for an ass... Unity was ugly but I
> was able to rapidly replace it with Compiz (it was based in part on Compiz)
> and get the screens I wanted, but now kind of like a Linux version of
> windows.
>
>
> On Tue, May 8, 2018 at 6:31 PM, Russell Senior 
> wrote:
>
> > So far, not a fan of 18.04.  I'd been using Gnome Ubuntu, and pretty
> happy
> > with it, but it got eaten by Ubuntu this release and in a test install
> the
> > user interface knobs I came to rely on are both uninstalled out of the
> box
> > and broken once installed. Ubuntu's power trip over a narrowly-conceived
> > user experience hasn't abated significantly afaict.  Ghosts of Unity.
> > Blech.
> >
> > On Tue, May 8, 2018 at 3:42 PM, John Jason Jordan 
> wrote:
> >
> > > On Fri, 9 Feb 2018 20:48:55 -0800
> > > John Jason Jordan  dijo:
> > >
> > > >VLC 3.0 has recently been released, but at this time Ubuntians can
> only
> > > >install it via Snap.
> > >
> > > 
> > >
> > > Having just dist-upgraded two computers to Ubuntu 18.04 I  find that
> > > both now have VLC 3.0.1. Unfortunately, the bug that causes it to fail
> > > to disable the screensaver is still not fixed.
> > > ___
> > > PLUG mailing list
> > > PLUG@pdxlinux.org
> > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
>
>
>
> --
>
> Chuck Hast  -- KP4DJT --
> I can do all things through Christ which strengtheneth me.
> Ph 4:13 KJV
> Todo lo puedo en Cristo que me fortalece.
> Fil 4:13 RVR1960
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] VLC 3.0

2018-05-08 Thread Tomas Kuchta
Thanks.
So is it a desktop environment like Gnome/kde/lxde/... ?

On Tue, May 8, 2018, 8:23 PM John Jason Jordan <joh...@gmx.com> wrote:

> On Wed, 09 May 2018 02:55:17 +0000
> Tomas Kuchta <tomas.kuchta.li...@gmail.com> dijo:
>
> >What is Compiz?
> >What is it good for?
> >Can some explain it in a single digestible sentence?
>
> Compiz allows the user to add a bit of art to their desktop by altering
> the appearance of windows and objects. As a common example that I use
> myself, you can add a shadow around windows. I keep my shadow thin and
> not very dark so it is just a hint. If you're not artistically
> inclined, then compiz is not for you.
>
> Sorry, that was more than one sentence. Hopefully they were digestible.
> ___
> 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] VLC 3.0

2018-05-09 Thread Tomas Kuchta
While I might not know what is Compiz, I certainly can recognize familiar
smell of major trouble coming - when I hear about upgrading U-buntu for the
last 12 releases AND not practicing regular clean installs.

Just a word of caution,
T

On Wed, May 9, 2018, 6:38 PM John Jason Jordan  wrote:

> On Thu, 10 May 2018 00:20:13 +
> Tim Garton  dijo:
>
> >What did you dist upgrade from? If it was Ubuntu 17.10 you are probably
> >running Wayland, which is most likely the problem. They reverted back
> >to Xorg with 18.04, but if you upgraded from 17.10 it may have carried
> >Wayland as the default from that. Wayland breaks many things, not the
> >least of which is the screensaver API.
>
> What you said is possible.
>
> I have three computers:
> 1.  desktop built 2 mos ago, started with Xubuntu 17.10 and just
> upgraded to 18.04.
> 2.  Lenovo T61 laptop, had 12.04 when it was retired; recently
> revived and dist-upgraded to 14.04 > 16.04 > 18.04
> 3.  System76 laptop, still running Xubuntu 14.04.5. Has VLC 2.2.5
> which inhibits the screensaver as it should.
>
> Both 1 and 2 have VLC 3.0.1 (from the dist-upgrades), which fails to
> inhibit the screensaver.
>
> I wonder what pieces of Wayland are still on 1 and 2, and what kind of
> exorcism is needed to get rid of them.
>
> While VLC 3.0.1 is the current version in the 18.04 repositories,
> version 3.0.2 has been released. I've looked everywhere for a change-log
> to see if it addresses this issue, but can't find one.
> ___
> 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] VLC 3.0

2018-05-10 Thread Tomas Kuchta
Thanks Ben

On Thu, May 10, 2018, 3:18 PM Ben Koenig <techkoe...@gmail.com> wrote:

> Since KDE version 4 they have split the desktop environment into a few
> chunks.
>
> They have the KDE SC, Software Compilation which is the applications
> that ship with the DE. Basically all the things that windows has by
> default - a calculator, basic web browser, Kwrite (instead of notepate)
> etc. This 'SC' is cross platform and can even be installed on Windows,
> essentially replacing apps like Notepad, IE and even Minesweeper with
> the kde versions ;)
>
>
> In this new design, Plasma is the desktop. On Linux, if you run KDE you
> will also be running Plasma. But you could theoretically be using a
> different desktop ( or different OS entirely ) and still run the apps
> that are part of KDE SC.
>
>
> So 'KDE' is an umbrella project for both Plasma, and the Software
> Compilation.The KDE project has even gone the the next step and built an
> official "KDE Distro" called KDE Neon.
>
>
> So Here is Neon, a version of Ubuntu with the Plasma desktop
> running the KDE Software Compilation. Took me a while to wrap my head
> around this change.
>
> https://neon.kde.org/
>
>
>
> On 05/10/2018 02:45 PM, Tomas Kuchta wrote:
> > I use KDE for decades at this point, together with Gnome and other xDEs
> du
> > jour. I have never noticed this Plasma monicker.
> >
> > Is Plasma Compiz equivalent for KDE?
> >
> > Thanks, T
> >
> >
> > On Thu, May 10, 2018, 4:45 AM elcaseti <elcas...@gmail.com> wrote:
> >
> >> Jason,  That is useful info.  I will be trying Kubuntu 18.04 to see if
> it's
> >> up to the task of replacing Mint KDE for myself, friends, & family.
> Mint
> >> has abandoned KDE Plasma, unfortunately.
> >>
> >> On Wed, May 9, 2018 at 10:42 PM, Jason Barnett <
> jason.barnet...@gmail.com>
> >> wrote:
> >>
> >>> I can vouch for Kubuntu 18.04 (upgraded from 17.10, Xorg) that the
> >> included
> >>> VLC 3.0.1 does NOT have any issues with the screensaver.
> >>> Not sure if this information is of any use to you, but now you know.
> >>>
> >>> On Wed, May 9, 2018 at 7:37 PM Tomas Kuchta <
> >> tomas.kuchta.li...@gmail.com>
> >>> wrote:
> >>>
> >>>> While I might not know what is Compiz, I certainly can recognize
> >> familiar
> >>>> smell of major trouble coming - when I hear about upgrading U-buntu
> for
> >>> the
> >>>> last 12 releases AND not practicing regular clean installs.
> >>>>
> >>>> Just a word of caution,
> >>>> T
> >>>>
> >>>> On Wed, May 9, 2018, 6:38 PM John Jason Jordan <joh...@gmx.com>
> wrote:
> >>>>
> >>>>> On Thu, 10 May 2018 00:20:13 +
> >>>>> Tim Garton <garton@gmail.com> dijo:
> >>>>>
> >>>>>> What did you dist upgrade from? If it was Ubuntu 17.10 you are
> >>> probably
> >>>>>> running Wayland, which is most likely the problem. They reverted
> >> back
> >>>>>> to Xorg with 18.04, but if you upgraded from 17.10 it may have
> >> carried
> >>>>>> Wayland as the default from that. Wayland breaks many things, not
> >> the
> >>>>>> least of which is the screensaver API.
> >>>>> What you said is possible.
> >>>>>
> >>>>> I have three computers:
> >>>>> 1.  desktop built 2 mos ago, started with Xubuntu 17.10 and just
> >>>>>  upgraded to 18.04.
> >>>>> 2.  Lenovo T61 laptop, had 12.04 when it was retired; recently
> >>>>>  revived and dist-upgraded to 14.04 > 16.04 > 18.04
> >>>>> 3.  System76 laptop, still running Xubuntu 14.04.5. Has VLC 2.2.5
> >>>>>  which inhibits the screensaver as it should.
> >>>>>
> >>>>> Both 1 and 2 have VLC 3.0.1 (from the dist-upgrades), which fails to
> >>>>> inhibit the screensaver.
> >>>>>
> >>>>> I wonder what pieces of Wayland are still on 1 and 2, and what kind
> >> of
> >>>>> exorcism is needed to get rid of them.
> >>>>>
> >>>>> While VLC 3.0.1 is the current version in the 18.04 repositories,
> >>>>> version 3.0.2 has been released. I've looked everywhere for a
>

Re: [PLUG] looking for secure space for a mail server

2018-06-18 Thread Tomas Kuchta
I have heard that security versus physical HW in colo argument so many
times.

In my opinion, a padlock is way less secure than well implemented crypto.

The only security benefit I see from physical HW would be hosting it on
premises - if your threat vector is suponea. Both VM or HW in colo can be
legally accessed without your knowledge, which shouldn't be possible when
hosting on premises.

Cost or special snowflake HW would be another consideration. If one gets to
rent 15U for $300 a month and if you can fully utilize that volume - you
could save considerable $$ in certain load scenarios.

Just my thoughts on possible value of real HW outside mainstream and
home/office.

Tomas

On Mon, Jun 18, 2018, 12:41 PM Louis Kowolowski 
wrote:

>
>
> > On Jun 18, 2018, at 1:38 PM, Michael Rasmussen 
> wrote:
> >
> > To stress "As others have suggested, you may be able to use a VM" - at
> my final job before retirement (Large bank, Fortune 500, etc) everything
> possible was migrated to in-house VMs.
> > I want to say mail services were an early migration. In any case, the
> entire mail infrastructure was run on virtual servers.
> >
> > There's no need for a physical server.
> >
> This is your opinion. We're not trying to determine if a VM is capable of
> running *a* mail server. We're trying to determine what the requirements of
> *his* mail server are, because that drives whether a physical server is
> required.
>
> There may be a security requirement such as "no AES key leakage to other
> tenants". In this case, he may not be able to use a VM. There are people in
> the crypto community who believe that any system that needs secure crypto
> should not be virtualized.
>
> Again, I'm trying to gather what the requirements are before stating what
> the solution is.
>
> --
> Louis Kowolowskilou...@cryptomonkeys.org
> Cryptomonkeys:
> http://www.cryptomonkeys.com/
>
> Making life more interesting for people since 1977
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] looking for secure space for a mail server

2018-06-16 Thread Tomas Kuchta
I would also encourage you to look for virtual machine - it is easier, the
choice is excellent and it is portable - you can move if you need to far
easier.

About your original question - the price you were quoted looks OK to me.
15U is huge - it would fit pretty sizable setup such as 14x 1U 2xCPU, 1TB
RAM + 4Hdd DL360 servers + 1U network switch. You could do quite a bit of
work/revenue with that.

I would imagine that small and cheap Colo setup would fit to 1U, not 15U.

Hope it helps, Tomas



On Fri, Jun 15, 2018, 6:31 PM Michael Rasmussen 
wrote:

> On 2018-06-15 16:32, logical american wrote:
> > Hi all:
> >
> > I've been quoted $263/month for a small locked cabinet (15U) space
> > with 1 power plug 110v AC and a business class internet connection.
> >
> > Is this price typical?
> >
> > I am looking for Vancouver WA first, then Portland OR second. This is
> > my very first time in trying to locate space for a small server.
>
> Consider using a virtual server instead of a physical one. Ramnode and
> Linnode are two providers I've had very good experience with.
>
> --
>Michael Rasmussen, Portland Oregon
>   Be Appropriate && Follow Your Curiosity
> ___
> 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] Linux centralized authentication

2018-06-19 Thread Tomas Kuchta
This is great technical discussion, thanks for keeping it public.

Reminds me my journey where implementing SSO/AD/LDAP - the project scope
kept expanding beyond my initial expectations.

As per your discussion - this, central, management/authentication needs
fully configured, reverse and authoritative DNS domain and NTP. This is
part of the host chain of trust/authentication. There is no workaround.

Once you get it working though it will become great asset and absolutely
worth it; think of access to data, services, etc.

Because of the many moving parts, keep detailed notes or better a manifest
of your setup. Also, plan for future migration now, when you understand
every detail of your setup. Without that - you will find it very, very
difficult to migrate/update your setup years from now. I certainly, found
my memories and notes insufficient to effectively migrate/update 5 years
later.

-T

On Jun 19, 2018 4:12 PM, "Tyrell Jentink"  wrote:

I also didn't answer about DHCP...

DHCP and DNS shouldn't have to care about each other, unless IP addresses
are likely to change; If they are, you will need a method of updating  the
DNS records. FreeIPA lets the client update their own records; Windows
prefers to deal with it on the server. SO, the "Best Practice" is
*probably* to let Windows play DHCP server.

That's probably what I will do next.

Currently, I'm using the DHCP server in my firewall, which is
less-than-ideal for a number of reasons, not the least of which is:

Because Windows machines belong to the win.example.com|10.42.2.0 network,
and Linux machines belong to the lin.example.com|10.42.1.0 network, all of
the leases need static reservations (As an aside, I don't put ALL machines
in the domains... Things like phones and Rasperry Pi's are considered
"Untrusted," get addresses out of the 10.42.0.0 IP pool, and don't have
domain names at all...). Which sucks for onloading a new machine: I have to
add the DHCP reservations to the firewall, then add the client to the
domain... In two separate interfaces. I suppose if it were all in Windows
Server, then it's at least all in the same place...




On Tue, Jun 19, 2018, 13:35 Galen Seitz  wrote:

> On 06/19/2018 12:33 PM, Tyrell Jentink wrote:>
> > The second is FreeIPA, lives at 10.42.1.10 and it serves the
> lin.example.com
> > subdomain and the 1.42.10.arpa reverse domain. It has a conditional
> > forwarder to forward requests under win.example.com to 10.42.2.10
>
> Some questions for you:
>
> What is the FQDN of your ipa server?
>
> Are you using DHCP for client machines?  If so, where is it hosted and
> how does it interact with your DNS server?
>
>
> thanks,
> galen
> --
> Galen Seitz
> gal...@seitzassoc.com
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Some how my system boots into text mode

2018-05-30 Thread Tomas Kuchta
Try: systemctl set-default graphical.target



On Wed, May 30, 2018, 11:16 AM Ken Stephens 
wrote:

> Johnathan,
>
> No entry about run levels in grub.cfg.  Still searching and scratching
> head.
>
> Thanks,
> Ken
>
> On Wed, May 30, 2018 at 11:05 AM, Johnathan Mantey 
> wrote:
>
> > Are you sure you didn't change GRUB to enter run level 3?  Check your
> > grub.conf file (or whatever it is called), and check for a solo "3" and
> > change it to a "5", which is the run level for UI.
> >
> > On Wed, May 30, 2018 at 11:01 AM, Ken Stephens <
> kennethgsteph...@gmail.com
> > >
> > wrote:
> >
> > > Ali,
> > >
> > > Thanks, but there is no /var/log/Xorg.  I can start X using startx
> after
> > > logging in.
> > >
> > > Found one in /var/lib/gdm/.local/share/Xorg.0.log.  No errors.  Owned
> by
> > > gdm.
> > >
> > > Ken
> > >
> > > On Wed, May 30, 2018 at 10:49 AM, Ali Corbin 
> > wrote:
> > >
> > > > On Wed, May 30, 2018 at 10:22 AM, Ken Stephens <
> > > kennethgsteph...@gmail.com
> > > > >
> > > > wrote:
> > > >
> > > > > I am puzzled.  Ages ago I did something to stop my Fedora 26 system
> > > from
> > > > > booting into graphical login mode.  I wish I could remember or
> > identify
> > > > > what I did, but age and time have intervened.
> > > > >
> > > > > #systemctl status default.target
> > > > > ● graphical.target - Graphical Interface
> > > > >Loaded: loaded (/usr/lib/systemd/system/graphical.target;
> > enabled;
> > > > > vendor preset: disabled)
> > > > >Active: active since Wed 2018-05-30 09:40:11 PDT; 30min ago
> > > > >  Docs: man:systemd.special(7)
> > > > >
> > > > > May 30 09:40:11 neptune systemd[1]: Reached target Graphical
> > Interface.
> > > > >
> > > > > But the system presents a text login.
> > > > >
> > > > > #systemctl status multi-user.target
> > > > > ● multi-user.target - Multi-User System
> > > > >Loaded: loaded (/usr/lib/systemd/system/multi-user.target;
> > static;
> > > > > vendor preset: disabled)
> > > > >Active: active since Wed 2018-05-30 09:40:11 PDT; 36min ago
> > > > >  Docs: man:systemd.special(7)
> > > > >
> > > > > May 30 09:40:11 neptune systemd[1]: Reached target Multi-User
> System.
> > > > >
> > > > > Before I disable multi-user I want your opinions on whether this is
> > the
> > > > way
> > > > > to regain my graphical login.  The graphical login has a dependency
> > on
> > > > the
> > > > > multi-user target.
> > > > >
> > > > > Regards to all,
> > > > > Ken
> > > > > ___
> > > > > PLUG mailing list
> > > > > PLUG@pdxlinux.org
> > > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > > > >
> > > >
> > > > I'd start out by looking at /var/log/Xorg*, to see if X didn't come
> up
> > > > because of an error.
> > > > ___
> > > > 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
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Some how my system boots into text mode

2018-05-30 Thread Tomas Kuchta
And reboot 


On Wed, May 30, 2018, 11:20 AM Tomas Kuchta 
wrote:

> Try: systemctl set-default graphical.target
>
>
>
> On Wed, May 30, 2018, 11:16 AM Ken Stephens 
> wrote:
>
>> Johnathan,
>>
>> No entry about run levels in grub.cfg.  Still searching and scratching
>> head.
>>
>> Thanks,
>> Ken
>>
>> On Wed, May 30, 2018 at 11:05 AM, Johnathan Mantey 
>> wrote:
>>
>> > Are you sure you didn't change GRUB to enter run level 3?  Check your
>> > grub.conf file (or whatever it is called), and check for a solo "3" and
>> > change it to a "5", which is the run level for UI.
>> >
>> > On Wed, May 30, 2018 at 11:01 AM, Ken Stephens <
>> kennethgsteph...@gmail.com
>> > >
>> > wrote:
>> >
>> > > Ali,
>> > >
>> > > Thanks, but there is no /var/log/Xorg.  I can start X using startx
>> after
>> > > logging in.
>> > >
>> > > Found one in /var/lib/gdm/.local/share/Xorg.0.log.  No errors.  Owned
>> by
>> > > gdm.
>> > >
>> > > Ken
>> > >
>> > > On Wed, May 30, 2018 at 10:49 AM, Ali Corbin 
>> > wrote:
>> > >
>> > > > On Wed, May 30, 2018 at 10:22 AM, Ken Stephens <
>> > > kennethgsteph...@gmail.com
>> > > > >
>> > > > wrote:
>> > > >
>> > > > > I am puzzled.  Ages ago I did something to stop my Fedora 26
>> system
>> > > from
>> > > > > booting into graphical login mode.  I wish I could remember or
>> > identify
>> > > > > what I did, but age and time have intervened.
>> > > > >
>> > > > > #systemctl status default.target
>> > > > > ● graphical.target - Graphical Interface
>> > > > >Loaded: loaded (/usr/lib/systemd/system/graphical.target;
>> > enabled;
>> > > > > vendor preset: disabled)
>> > > > >Active: active since Wed 2018-05-30 09:40:11 PDT; 30min ago
>> > > > >  Docs: man:systemd.special(7)
>> > > > >
>> > > > > May 30 09:40:11 neptune systemd[1]: Reached target Graphical
>> > Interface.
>> > > > >
>> > > > > But the system presents a text login.
>> > > > >
>> > > > > #systemctl status multi-user.target
>> > > > > ● multi-user.target - Multi-User System
>> > > > >Loaded: loaded (/usr/lib/systemd/system/multi-user.target;
>> > static;
>> > > > > vendor preset: disabled)
>> > > > >Active: active since Wed 2018-05-30 09:40:11 PDT; 36min ago
>> > > > >  Docs: man:systemd.special(7)
>> > > > >
>> > > > > May 30 09:40:11 neptune systemd[1]: Reached target Multi-User
>> System.
>> > > > >
>> > > > > Before I disable multi-user I want your opinions on whether this
>> is
>> > the
>> > > > way
>> > > > > to regain my graphical login.  The graphical login has a
>> dependency
>> > on
>> > > > the
>> > > > > multi-user target.
>> > > > >
>> > > > > Regards to all,
>> > > > > Ken
>> > > > > ___
>> > > > > PLUG mailing list
>> > > > > PLUG@pdxlinux.org
>> > > > > http://lists.pdxlinux.org/mailman/listinfo/plug
>> > > > >
>> > > >
>> > > > I'd start out by looking at /var/log/Xorg*, to see if X didn't come
>> up
>> > > > because of an error.
>> > > > ___
>> > > > 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
>>
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Some how my system boots into text mode

2018-05-30 Thread Tomas Kuchta
While it is always nice to know why and understand things properly - time
has value too.

Wouldn't it be faster to reinstall the box and call it a day?

If you back up /etc and /usr/lib/...systemd - diff might point to the cause
later.

-T



On Wed, May 30, 2018, 5:01 PM Ken Stephens 
wrote:

> Rich, Ben, Johnathan,
>
> Rich,
>
>  No active inittab.  Inittab is not used on a systemd system.  It did have
> a note on how to set "runlevels".
>
> #systemctl get-default
> graphical.target
>
> Which is what I want to get.  But, it does not get me there.
>
> Ben,
>
> Reinstalled gdm.  Rebooted.  Still comes up in a text screen.
>
> That is all I am going to do today.  Breaking off for a glass of wine and
> the 5:00 news.  Need the wine to listen to the news.
>
> Regards to all,
> Ken
>
>
> On Wed, May 30, 2018 at 3:11 PM, Johnathan Mantey 
> wrote:
>
> > Ken,
> > What happens when you 'sudo /sbin/init 5' in order to get to graphical
> > multi-user mode?
> >
> > Ben,
> > I disagree about GRUB.  The line that loads the kernel can have a run
> level
> > value assigned.  I have a unit in the lab that I boot to multi-user
> command
> > line by adding a literal 3 to the kernel.  If the kernel is not passed a
> > value then graphical multi-user (aka run level 5) is the default.
> >
> > On Wed, May 30, 2018 at 1:35 PM, Ben Koenig 
> wrote:
> >
> > > Ken,
> > >
> > > First of all, GRUB doesn't have any say in "booting a graphical login
> > > mode". The most grub can do is set the framebuffer and KMS settings,
> and
> > > even then X can override and set its own display settings.
> > > - Leave GRUB alone. You run the risk of breaking your boot for no
> reason.
> > >
> > > Second. The Multi User run level is where Display Managers are
> launched.
> > Of
> > > course systemd has no doubt managed to obfuscate that simple fact.
> > > - MultiUser mode is exactly what you want.
> > >
> > > Third. You are able to launch X. This means X is working, and you have
> a
> > > log file located at /var/log/Xorg.0.log.
> > > - Of course I'm assuming the fedora team is smart enough to do things
> > > properly.
> > >
> > >
> > > Last and most importantly. You have remnants of GDM on your system.
> > GDM
> > > will launch X to present the login screen, which is probably why it has
> > its
> > > own Xorg.0.log file.
> > > GDM is also a daemon process launched by your init system. In this case
> > > systemd.
> > >
> > >
> > > There are 2 things you need to do.
> > > - You need to make a Display Manager is fully installed (sometimes they
> > get
> > > broken into multiple packages...)
> > > - Make sure your display manager (GDM, KDM, whatever..) has been added
> > as a
> > > step in your init system.
> > >
> > > Slackware does this with inittab, runlevel 4 launches a script which
> > > launches KDM or XDM.
> > > Ubuntu had the "sudo service gdm start" command. This launched GDM if
> it
> > > wasn't running already.
> > > Fedora probably has whatever systemd stupidness the kids are promoting
> > > these days. It reads a service config file and launches the daemon
> > > described in that file. In your case this should be GDM.
> > >
> > >
> > > Maybe you can just do a complete reinstall of GDM from the repository.
> > > Maybe this will give systemd the kick it needs...
> > >
> > >
> > >
> > >
> > > On Wed, May 30, 2018 at 12:02 PM, Rich Shepard <
> rshep...@appl-ecosys.com
> > >
> > > wrote:
> > >
> > > > On Wed, 30 May 2018, Ken Stephens wrote:
> > > >
> > > > No entry about run levels in grub.cfg.  Still searching and
> scratching
> > > >> head.
> > > >>
> > > >
> > > > Ken,
> > > >
> > > >   Does Fedora have a file similar to Slackware's /etc/inittab? This
> > > > contains:
> > > >
> > > > inittab   This file describes how the INIT process should set up
> > > >   the system in a certain run-level.
> > > >
> > > > # These are the default runlevels in Slackware:
> > > > #   0 = halt
> > > > #   1 = single user mode
> > > > #   2 = unused (but configured the same as runlevel 3)
> > > > #   3 = multiuser mode (default Slackware runlevel)
> > > > #   4 = X11 with KDM/GDM/XDM (session managers)
> > > > #   5 = unused (but configured the same as runlevel 3)
> > > > #   6 = reboot
> > > >
> > > > # Default runlevel. (Do not set to 0 or 6)
> > > > id:3:initdefault:
> > > >
> > > > HTH,
> > > >
> > > > 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
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

Re: [PLUG] Cloning a mirror raid

2018-06-01 Thread Tomas Kuchta
dd from the raid Dev to /dev/sd?


On Fri, Jun 1, 2018, 6:10 AM Scott Howard  wrote:

> I need to clone a mirror raid on a linux box to one drive. Any software
> suggestions other than clonezilla.
>
>
>
> Scott Howard
> ___
> 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] SANE not quite easy - Resolution

2018-06-27 Thread Tomas Kuchta
I would encourage you to scan a few negatives/transparencies, measure the
time it takes and extrapolate to cover all your negatives/positives.

When I did that years ago, I quickly realized that scanners are just too
slow for what I wanted to do in a time given to me by mother nature - by
couple of orders of magnitude, actually. Plus the scan quality was not that
great either.

The solutions to speed things up are either:
a) adapter for your digital camera + automation. That way you can scan and
postprocess hundreds of pictures a day instead of a few with slow scanners.
With half decent DSLR, you will get high quality scans.
b) send the stash out for someone else to scan them. There are a few big
and decent companies still doing it. That is what I have eventually settled
on. The price is good and the quality is decisively better than from a
desktop scanner with transparency adapter.

Until I went through this scanning discovery, I naively believed in great
quality of film photography compared to digital. I was so wrong - today's
digital imaging is vastly superior, especially to old/aged films.

I hope that you find my comments useful,
Tomas

On Wed, Jun 27, 2018, 11:54 AM Russell Senior 
wrote:

> There is a guy in Seattle named Andrew Filer, who I met in a
> then-hackerspace called Metrix:Create who modified a Kodak Carousel
> projector in such a way as to backlight the slides (reduced wattage of the
> bulb, replaced the heat shield with frosted glass), basically used the
> projector as a slide advancing robot, removed the lens, and aimed a digital
> SLR with a macro lens back at the slide and photographed the slide.  With
> some simple transistor circuits, you could automate the camera's shutter
> release and the slide advance.  You could do a whole tray of slides in a
> few minutes with very little supervision.
>
> You need a digital SLR and a macro lens, preferably one with autofocus (as
> I discovered).  But orders of magnitude less tedious than a flatbed scanner
> where you manually loaded slides into a holder, 12 at a time.
>
> On Wed, Jun 27, 2018 at 11:09 AM, Denis Heidtmann <
> denis.heidtm...@gmail.com
> > wrote:
>
> > Russell,
> >
> > I would be interested in the method.  Picture of a screen?
> >
> > -Denis
> >
> > On Wed, Jun 27, 2018 at 11:03 AM, Russell Senior <
> > russ...@personaltelco.net>
> > wrote:
> >
> > > Gotcha.  I don't have any better solutions for that.
> > >
> > > If they were slides, I'd suggest the method I used in Seattle a few
> years
> > > ago, that went through about 3000+ slides in kodak projector carousels
> is
> > > an afternoon.  Automation++.
> > >
> > > On Wed, Jun 27, 2018 at 10:32 AM, Michael Rasmussen <
> mich...@jamhome.us>
> > > wrote:
> > >
> > > > Of primary interest are 2 1/4 x 2 3/4 (6x9cm) negatives from my
> > > > grandparents. After that 35mm negatives.
> > > >
> > > > I was entrusted to my grandparents' negatives and am feeling a
> > > > responsibility to scan them into digital files for my relatives.
> > > >
> > > >
> > > > On 2018-06-27 10:10, Russell Senior wrote:
> > > >
> > > >> What kind of transparencies?  If they are 35mm slides, and lots of
> > them,
> > > >> there is a better way.
> > > >>
> > > >> On Wed, Jun 27, 2018 at 9:00 AM, Michael Rasmussen <
> > mich...@jamhome.us>
> > > >> wrote:
> > > >>
> > > >> In another group, it was suggested I try Vuescan from
> > > >>> https://www.hamrick.com/
> > > >>> The free Linux download untars to three binaries.
> > > >>>
> > > >>> It just works.
> > > >>>
> > > >>> Now to, when I have time, figure out the issue with xsane.
> > > >>>
> > > >>>
> > > >>> On 2018-06-26 18:37, Michael Rasmussen wrote:
> > > >>>
> > > >>> I've acquired an Epson V500 flatbed scanner. After immediate
> install
> > of
> > >  xsane and the Epson iscan drivers scanning does not work.  I've
> > added
> > >  myself to the scanner group and done a bit of unproductive
> googling.
> > > 
> > >  The sympton can be summed up:
> > > 
> > >    michael@camper:~$ scanimage -L
> > >    device `epson:libusb:001:006' is a Epson  flatbed scanner
> > >    michael@camper:~$ scanimage -T
> > >    scanimage: rounded value of br-x from -32768 to -32768
> > >    scanimage: rounded value of br-y from -32768 to -32768
> > >    scanimage: sane_start: Invalid argument
> > >    michael@camper:~$
> > > 
> > >  If you have a cluestick on what needs to be done, I'm ready for a
> > > whack.
> > > 
> > > >>>
> > > > --
> > > >   Michael Rasmussen, Portland Oregon
> > > > Be Appropriate && Follow Your Curiosity
> > > > ___
> > > > 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] ls -d does not work as it should

2018-06-25 Thread Tomas Kuchta
Wow .. so many responses ...

I also feel that I should express my outrage about your daring "ls does not
do what it should". Pretty confident statement!

Well, the problem is that ./ is the directory you are trying to list in
your example. There is also ../ present.

These dot names are important for traversing the directory tree back.
Without them life would be much more difficult and also significantly
slower.

Git is popular example how painful it can be if you can trace
ownership/relationship one way only. Linus is my hero, but this seems to be
some oversight.

Tomas


On Mon, Jun 25, 2018, 5:41 PM Rich Shepard  wrote:

> On Mon, 25 Jun 2018, Brian Stanaland wrote:
>
> > I don't understand why this works but...
> >
> > ls -d */
>
> Brian,
>
>Okay ... that's another interesting solution.
>
> Thanks,
>
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Introduction - from Niagara Falls NY

2018-06-24 Thread Tomas Kuchta
Thank you for wonderful introduction.
You could teach us interesting trick or two.

Off topic, you write "raise" not grow plants. That, in my mind, entails
education. Do they speak French, play an instrument or play with kids after
Sunday's lunch?

Tomas

On Sun, Jun 24, 2018, 10:09 AM J. Hart  wrote:

>   I have been following your activities both on the PLUG list and
> via live streaming from the meetings for the last couple of months, and
> thought it might be time to introduce myself.
>
>   My name is Joseph Hart.  I am originally from Niagara Falls, NY,
> and have been working with electronics and computers since the late
> 1960's.  I lived in Japan for over 14 years working as a scientific
> progammer at a leading Kyoto area research laboratory in the fields of
> artificial life (Alife) and robotics.  My wife and I moved to Western NY
> when they closed my section several years ago. I've pretty heavily
> involved with Linux itself for over twenty years, having started to use
> it when the lab began a changeover from the many other Unix systems they
> were using at the time (ex. SunOS/Solaris, IRIX, HP-UX, AIX, various
> Connection Machines, etc).
>
>   I've got about 40 or so machines of various types (not all on at
> the same time...:-), including a goodly number of SGI boxes, five Amigas
> of various models, a number of miniaturized Japanese machines not
> available in the US, and of course a Raspberry PI.
>
>   Many of these machines run a "distribution" of Linux which I
> designed and built entirely from source code.  I originally did this
> about 10 years ago on an old 32 bit x86 machine just to see how far I
> could get with it.  I liked the result so much that I kept it, and have
> since done a full X86_64 (64 bit) version, and an 32 bit ARM version for
> my RaspberryPi.   Everything was built from source, including the
> kernels, glibc, Xorg (X11R6) , all the compilers (gcc, g++, f77, rust),
> Firefox 57, Thunderbird email client,  and many other packages.  My main
> machine has an X11 package which is configured to feed a quad monitor
> setup, and I run an i3 tiling window manager on top of that.
>
>   As I mentioned earlier, the Raspberry Pi runs my custom Linux OS
> instead of Raspbian.  It uses a  special UBoot configuration to boot a
> vanilla kernel.org kernel instead of a patched Raspbian one.   This ARM
> version  was built on one of my x86_64 machines using a custom designed
> cross-compile tool chain also built from source.
>
>   I use the Pi to provide locally what for me are low bandwith
> services such as  DHCP, NTP, cron, DNS, Subversion, NFS, and a few
> others.  It also functions as the manager/scheduler for my network
> backup system.  That system takes incremental snapshots every hour on
> the hour.  It also powers up selected machines one at a time during the
> night in order to handle machines which may have been on only
> infrequently during the day, takes the requisite snapshots, and shuts
> them down again if they were originally found off.  This allows all the
> machines except the Pi to be left off when not in use, which saves on
> energy consumption.
>
> I've also got an older Mac Pro 1.1 .  This was originally a quad core,
> but I have since modified it into an eight core machine.  It natively
> runs a 64 bit version I built for it.  Since this was my first 64 bit
> machine, the OS for it was built on one of my 32 bit machines using a
> similarly custom built cross-compile tool chain.
>
> That should be far more than enough about  that.
>
> I am presently still in Western NY.  It's very much a Microsoft "town".
> There's not very much of a Linux or technology market here so I'm
> somewhat semi-retired these days, but looking to get back into the field
> if chance permits.  The wife and I are considering a visit to Portland
> in the near future, with a view to possibly moving there some day.  We
> would like to try and catch a PLUG user group meeting if we can somehow
> manage that while we are there.
>
> My apologies for the lengthy message:-)
>
> Regards,
>
> J. Hart
>
> P.S. I also raise carnivorous plants for the fun of it...
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Terminal shortcuts

2018-06-19 Thread Tomas Kuchta
I would check for alias

Man alias or bash is your friend.
That allows you to assign shortcuts to a command and save typing.

Another alternative, more flexible, would be to create wrapper scrtipt or
function for your long commands.

-T

On Tue, Jun 19, 2018, 10:37 PM Russell Senior 
wrote:

> You can cut/paste with ctrl-shift-c/ctrl-shift-v in gnome terminal, afaik.
> What don't you like about up-arrow?  That you have to backspace over
> things?  There's probably a delete-word binding, Ctrl-W.  So, maybe Ctrl-P
> Ctrl-W?
>
> On Tue, Jun 19, 2018 at 10:09 PM, John Jason Jordan 
> wrote:
>
> > I prefer Gnome terminal because it is more visually configurable than
> > others that I have tried.
> >
> > Often I need to repeat a command with a different object, so the up
> > arrow doesn't save typing. For example:
> >
> > mkvmerge -i  (and repeat with a different movie)
> >
> > It annoys me that I keep having to re-type 'mkvmerge -i' over and over
> > again. I could copy it to the clipboard and paste it in, except that I
> > use the clipboard to get , which overwrites the clipboard.
> > And besides, 'mkvmerge -i' is only one of several such commands that I
> > have to keep re-typing.
> >
> > What would be really cool would be an 'auto-text' feature as in a word
> > processor, where you can create a series of letters (any length) and
> > assign it a short sequence of letters that you can type to invoke the
> > entire series of letters.
> >
> > Web searching found me Ctrl-r, but if I type mkv- it pops up the entire
> > preceding command, including .
> >
> > OK, this is Linux, where someone a long time ago decided to name a root
> > folder /usr to save typing just one tiny letter. I mean, seriously.
> > There has to be a way to save constantly re-typing at the command line.
> > Any suggestions?
> > ___
> > 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] Weird microSD failure

2018-05-01 Thread Tomas Kuchta
Would it help to add iflag=direct and/or oflag=direct?

-T

On Tue, May 1, 2018, 2:42 PM Russell Senior <russ...@personaltelco.net>
wrote:

> Followup on this, I noticed it again last night on multiple USB
> thumbdrives.  A dd to the device immediately succeeds (which is weird in
> itself for large writes of iso sized blobs), but unplugging-replugging
> shows the writes didn't actually happen. The problem was persistent until I
> rebooted the machine and it started working normally again. Very weird. I
> think the microSD was probably fine and the hosage was at the USB or
> something other than the hardware level. It might be related to unplugging
> a mounted device at some point. Any ideas are welcome.
>
> On Tue, Mar 6, 2018 at 8:29 PM, Russell Senior <russ...@personaltelco.net>
> wrote:
>
> > https://www.youtube.com/watch?v=r3GDPwIuRKI
> >
> > On Tue, Mar 6, 2018 at 8:22 PM, Russell Senior
> > <russ...@personaltelco.net> wrote:
> > > Yeah, I understood about the on-SD controller.  There is typically
> > > some kind of ARM-based microcontroller that does all the block-device
> > > to NAND translation.  It is doing something wrong and clearly
> > > dysfunctional now, though.  I am sure that I did successful block
> > > operations on the same microSD previously.
> > >
> > > On Tue, Mar 6, 2018 at 5:31 PM, Tomas Kuchta
> > > <tomas.kuchta.li...@gmail.com> wrote:
> > >> When I said card controller, I meant the card controller on/in the
> > actual
> > >> SD card. Not the piece of HW attached to your computer.
> > >>
> > >> My conclusion at the time I was trying to understand the same behavior
> > was
> > >> that the in-card controller must be doing file transactions of some
> > kind.
> > >> Not behaving quite like basic block device.
> > >>
> > >> I recall even trying to actively corrupt the card's content, no
> success.
> > >> Still, all worked fine when installing Linux on said cards.
> > >>
> > >> Hope it helps you avoiding wasting whole day or three on this, like I
> > did.
> > >>
> > >> Tomas
> > >>
> > >> On Mar 7, 2018 9:23 AM, tomas.kuchta.li...@gmail.com wrote:
> > >>
> > >>> I do not believe that SD cards respond to pure raw block writes from
> > dd.
> > >>> Not unless the stream looks like files.
> > >>>
> > >>> I run into the same discovery some time ago. If I remember correctly,
> > dd
> > >>> didn't overwrite the content even with random data. It could behave
> > >>> different for different firmware, but I tried a few with the same
> > result.
> > >>>
> > >>> Tomas
> > >>>
> > >>> On Mar 7, 2018 9:13 AM, "wes" <p...@the-wes.com> wrote:
> > >>>
> > >>> that's only if you want to generate a certain size. otherwise it just
> > keeps
> > >>> going until it runs out of blocks to fill.
> > >>>
> > >>> -wes
> > >>>
> > >>> On Tue, Mar 6, 2018 at 5:08 PM, Tim Garton <garton@gmail.com>
> > wrote:
> > >>>
> > >>> > Don't you need a "count=#" option to dd as well? Not at a computer
> > right
> > >>> > now otherwise I'd be able to check if that's the case...
> > >>> >
> > >>> > On Mar 6, 2018 5:02 PM, "Richard England" <rlengl...@frontier.com>
> > >>> wrote:
> > >>> >
> > >>> > > On 03/06/2018 04:20 PM, Tomas Kuchta wrote:
> > >>> > >
> > >>> > >> Try to delete the original files first. Then create empty file
> > using
> > >>> > >> /dev/zero and copy it to the card. I bet that it will be there
> on
> > the
> > >>> > card
> > >>> > >> and some of your original data will disappear as result.
> > >>> > >>
> > >>> > >> My guess is that the card controller is deduplicating your
> > /dev/zero
> > >>> > >> blocks
> > >>> > >> trying to protect the card from writes.
> > >>> > >>
> > >>> > >> Tomas
> > >>> > >>
> > >>> > >> On Mar 6, 2018 7:09 PM, "Russell Senior" <
> > russ...@personalte

Re: [PLUG] Linux centralized authentication

2018-05-02 Thread Tomas Kuchta
The easiest is to pick LDAP or NIS, both work very well on Linux. With or
without Kerberos for local small setup.

NIS with NFS for file sharing would be probably the simplest setup, but you
will eventually wish you had LDAP for integration with various other
services.

LDAP + Kerberos + NFS is probably the most common and extensible solution.
You will absolutely need local DNS and NTP to get it going, but it is well
integrated extensible solution.

Another option would be to uses Samba - it combines LDAP + Kerberos, so it
has less moving parts and can accept Windows hosts without much headache,
compared to LDAP and Kerberos.

For both solution, you might need some enterprise admin to help setting it
up. If well and simply setup, it is not difficult to maintain and manage.
IMHO

Tomas

On Wed, May 2, 2018, 5:36 PM Smith, Cathy  wrote:

> There used to be dns, ldap, kerberos, nis.  These are open source
> protocols and not restricted to Microsoft.
>
>
> --
> Cathy L. Smith
> IT Engineer
>
> Pacific Northwest National Laboratory
> Operated by Battelle for the
> U.S. Department of Energy
>
> Phone: 509.375.2687
> Fax:   509.375.4399
> Email: cathy.sm...@pnnl.gov
>
>
>
> -Original Message-
> From: plug-boun...@pdxlinux.org [mailto:plug-boun...@pdxlinux.org] On
> Behalf Of Thomas Groman
> Sent: Wednesday, May 02, 2018 5:16 PM
> To: plug@pdxlinux.org
> Subject: [PLUG] Linux centralized authentication
>
> Has anyone ever made a 100% UNIX/BSD/Linux network with centralized
> authentication? Using native protocols not some sort of strange Microsoft
> AD mesh thing.
> I wanted to build a hacker-space for a school and since it would be
> starting from scratch there's no reason to get locked in to a Microsoft
> product from the start. Also the Microsoft's protocols are not open source
> and hard to debug. They never really work well with UNIX like operating
> systems requiring id/group mapping and such.
> ___
> 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] serial communication with dmm (was com port in guest to usb in host (virtual box))

2017-12-29 Thread Tomas Kuchta
I have one of those simple Bitscope scopes/analysers for slow RPi type
interface hacking it might be the right tool for the job and it runs on
Linux.

Would that help? Do you want to borrow it?

Check the Bitscope website for details, but it is good enough for serial
ports. Perhaps even decoding it.

Tomas

On Dec 29, 2017 2:44 PM, "Denis Heidtmann" 
wrote:

> I made the measurements with my 'scope.  The voltages and waveforms are
> identical comparing  DTR, RTS (also RXD), although I am surprised a little
> that the pulses on DTR are as large as they are: 2.4V swing.  Must be some
> resistance in the supply to the drain.  But the level is up at 11.6V, so
> those 2.4V drops cannot matter.  The signals on the RXD pin are -3.6 to
> +8.2V for both the mfg. sw and sigrok.
>
> So no explanation yet, and hence no solution.  Is there a way to examine
> the serial parameters the mfg. sw uses?  Perhaps the docs on the protocol
> are in error.
>
> On Fri, Dec 29, 2017 at 9:17 AM, Denis Heidtmann <
> denis.heidtm...@gmail.com>
> wrote:
>
> > I will make those measurements, but I am doubtful it will show anything.
> > The schematic I have shows DTR to be the collector and RTS to be the low
> > end of the emitter resistor of the output NPN.  I did see solid pulses on
> > the emitter with sigrok.  But perhaps DTR and/or RTS are pulsed when they
> > should not be.  It is too bad my 'scope has limited record length and no
> > way to store the data off the 'scope.
> >
> > On Thu, Dec 28, 2017 at 11:42 PM, Russell Senior <
> > russ...@personaltelco.net> wrote:
> >
> >> Have you measured the voltages on DTR and RTS during the runs?
> >>
> >> Try it with sigrok and with the vendor software and see if there is a
> >> difference in those values.
> >>
> >> On Thu, Dec 28, 2017 at 9:51 PM, Denis Heidtmann
> >>  wrote:
> >> > This saga continues.
> >> >
> >> > On the laptop with a usb-serial adapter I got to the point where the
> >> > commands:
> >> > sigrok-cli --driver mastech-mas345:conn=/dev/ttyUSB0 --show
> >> > sigrok-cli --driver mastech-mas345:conn=/dev/ttyUSB0 --scan
> >> > sigrok-cli --driver mastech-mas345:conn=/dev/ttyUSB0 --samples 10
> >> >
> >> > behave as expected except the last one returns no data.  I was advised
> >> to
> >> > try using these same commands on the desktop which has an RS232 port,
> >> thus
> >> > removing the usb-serial adapter from the picture.  Good idea.
> >> >
> >> > After just guessing what serial port to use, I run the following
> >> command:
> >> >
> >> > sigrok-cli --driver mastech-mas345:conn=/dev/ttyS0 --scan
> >> > The following devices were found:
> >> > mastech-mas345 - MASTECH MAS345 with 1 channel: P1
> >> >
> >> > This is the same response I got on the laptop.
> >> >
> >> > sigrok-cli --driver mastech-mas345:conn=/dev/ttyS0 --show
> >> > mastech-mas345 - MASTECH MAS345 with 1 channel: P1
> >> > Supported driver options:
> >> > conn
> >> > serialcomm
> >> > Supported configuration options:
> >> >
> >> > This is the same response I got on the laptop.
> >> >
> >> > sigrok-cli --driver mastech-mas345:conn=/dev/ttyS0 --samples 10
> >> >
> >> > [no response except the usual ~10 second delay]
> >> >
> >> > This is the same response I got on the laptop.  RATS!
> >> >
> >> > This eliminates the usb-serial device from the picture.
> >> >
> >> > Recall that when running --samples 10 command on the laptop I was able
> >> to
> >> > detect pulses on the serial line consistent (in a general sense) with
> a
> >> > response from the dmm.  Also recall that running  the mfg. sw under
> >> windows
> >> > on the desktop showed flawless communication.
> >> >
> >> > finally, I report:
> >> > stty -F /dev/ttyS0 -a   speed 600 baud; rows 0; columns 0; line = 0;
> >> > intr = ; quit = ; erase = ; kill = ; eof =
> >> > ;
> >> > eol = ; eol2 = ; swtch = ; start = ; stop
> =
> >> > ;
> >> > susp = ; rprnt = ; werase = ; lnext = ;
> >> > discard = ; min = 0; time = 0;
> >> > -parenb -parodd -cmspar cs7 hupcl cstopb cread clocal -crtscts
> >> > -ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl
> -ixon
> >> > -ixoff
> >> > -iuclc -ixany -imaxbel -iutf8
> >> > -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0
> >> bs0
> >> > vt0 ff0
> >> > -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase
> -tostop
> >> > -echoprt
> >> > -echoctl -echoke -flusho -extproc
> >> >
> >> > And the protocol is reported to be:
> >> >
> >> > data format: 7n2 at 600 baud (7 bits, no parity, 2 stop bits).
> >> > Control lines:
> >> >DTR and RTS lines are used to power the TX line: RTS is clear
> >> >for -12 supply; DTR is set for +12 supply. Data transmission is
> >> >solicited sending whatever character to the RX line.
> >> >
> >> > Any suggestions as to where to go from here?
> >> >
> >> > Thanks,
> >> > -Denis
> >> > ___
> >> > PLUG mailing list
> >> > 

Re: [PLUG] LO Calc: text formatting question

2018-01-05 Thread Tomas Kuchta
You seems to have selected whole column past the cells wit numbers. So this
may be the max row number possible.

Try to select just the cells with values and repeat the formatting. Use
Ctrl+Shift+Arrow to select filled cells.

Tomas

On Jan 4, 2018 3:15 PM, "Rich Shepard"  wrote:

>   For those of you who use LibreOffice Calc.
>
>   I have a .csv file which wc reports having 5003 lines and Calc shows 5001
> lines. I don't mind the discrepancy of two lines. But, when I select a
> column and invoke Format -> Text -> Cycle case (to capitalize the first
> letter of each word)) the status bar on the bottom shows 1,048,513 rows and
> 1 column selected. Then the application hangs.
>
>   Where might Calc find 1048513 rows when the bottom row is at line 5001?
>
> 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] January PLUG POLL: Y'all around?

2017-12-21 Thread Tomas Kuchta
January 4th is my favourite day for such great topic.

On Dec 21, 2017 3:30 PM, "Russell Senior"  wrote:

> That's January 4th.  I'll be around and attending.
>
> On Thu, Dec 21, 2017 at 3:08 PM, Michael Dexter 
> wrote:
> >
> > Hello all,
> >
> > The illustrious Josh Berkus of RedHat and PostgreSQL fame is open to
> giving
> > a talk on Atomic Host at the 1st Thursday PLUG meeting.
> >
> > Will YOU be around and and attending (weather pending, as always)?
> >
> > Else should I consider an UnPLUG or even cancel?
> >
> > Thanks!
> >
> > Michael Dexter
> > PLUG Volunteer
> > ___
> > 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] How do I get rid of this command line environment?

2017-12-21 Thread Tomas Kuchta
Here is how to kill something you can click on:
1. Open a teminal
2. Type: xkill
3. Click on the window you want to kill (notice the changed mouse cursor)

Tomas


On Dec 21, 2017 3:40 PM, "Russell Senior"  wrote:

> "both screens" ... you didn't mention that before.  This is a
> dual-head set up?  In any case, you've wandered off of any reservation
> I have ever visited, so I'm out of ideas.
>
> On Thu, Dec 21, 2017 at 3:36 PM, Dick Steffens 
> wrote:
> > On 12/21/2017 03:27 PM, Russell Senior wrote:
> >>
> >> Ctrl-Alt-F7 (and Ctrl-Alt-F8, if you had more than one X11 session
> >> going, etc) was the traditional place to find X11.  It might be
> >> another one, try them all.  Ctrl-Alt-F1 (and neighbors) is where the
> >> text-based ttys live.  They work without X11.
> >
> >
> > Ctrl-Alt-F7 doesn't do anything, nor does Ctrl-Alt-F1 through F6.
> >
> > Ctrl-Alt-F8 makes both screens go to black. Ctrl-Alt-F7 returns the
> screens
> > to what they were before.
> >
> > I remember years ago using Ctrl-Alt-F1 through F6 before to get a command
> > prompt screen, which I would leave via Ctrl-Alt-F7. I don't recall
> getting
> > this one before, though.
> >
> >
> > --
> > Regards,
> >
> > Dick Steffens
> >
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] serial communication with dmm

2018-01-15 Thread Tomas Kuchta
Someone here, probably Wes, thought me embarrassing lesson:

http://lmgtfy.com/?q=python+crash+course

Put one/two day into learning basic python data types and syntax. It will
be worth it, I guarantee it.

T

On Jan 15, 2018 6:57 PM, "Denis Heidtmann" 
wrote:

> Well,  I have solved the issue of  "mult=self.units.strip()+'  '[0]:
> TypeError: can't concat bytes to int". It needs parentheses, which the
> original code had.  Now the code runs, but, alas, now it does not report
> the readings from the meter.  Since I really do not understand
> object-oriented python, I am at a loss.  It seems to me that this format is
> inadequate and inappropriate for schooling a coding novice on such things,
> so I will see what I help I can get in person.  Thanks for all who have had
> to suffer through this.
>
> -Denis
>
> On Sun, Jan 14, 2018 at 6:30 PM, Denis Heidtmann <
> denis.heidtm...@gmail.com>
> wrote:
>
> > Last discussion on this issue I mentioned a python program I found.  I
> > have since put the program in Spyder using Python3.  I had to make a
> number
> > of changes to accommodate the change to 3.  The latest is that I see that
> > the readings are available to the  program although parsing the data is
> > running into difficulty associated, I believe, with  Python3's fussiness
> > with bytes, strings, etc.  (The data I see is via some print statements
> > stuck in the code.)
> >
> > line 72: originally it had
> >
> > mult=self.units.strip()+'  '[0]
> > TypeError: can't concat bytes to int
> >
> > I tried:
> > mult=self.units.strip()+'  '.encode()[0]
> >
> > and
> > mult=self.units.strip()+b'  '[0]
> >
> > to no avail.
> >
> > Note:
> > data =  b'DC -0.000   V\r'
> > type data =  
> > 01234567890123456789
> > type units =  
> >
> > But the good news is that when I changed the reading on the meter the
> > value in data changed accordingly.  So I see the issue now as one of
> > knowing how to fix the Python so that it parses the data correctly,
> rather
> > than an issue of how  to communicate with the dmm.
> >
> > BTW, I  see no way to change the manufacture's sw running under Windows
> to
> > look at the usb, which is what I need to test the usb interface under
> > Windows.  I will explore the usb using Linux, which is  the ultimate
> goal.
> >
> >
> ___
> 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] SCSI device driver

2018-01-29 Thread Tomas Kuchta
Yes, this would create soft link to /dev/sr1 and satisfy your application.
And so on...

These links might disappear at some point, but that would be easy to solve,
if it works for you.

Tomas

On Jan 29, 2018 8:49 AM, "John Jason Jordan" <joh...@gmx.com> wrote:

On Mon, 29 Jan 2018 02:22:22 -0800
Tomas Kuchta <tomas.kuchta.li...@gmail.com> dijo:

>Pretty old distro/kernel. For what is worth it - I do not have the same
>problem with 16.04.
>
>Anyway, how about creating soft link pointing to /dev/sr?. Did you try
>that?

No, I did not. try creating a soft link. I assume it would need to
point /dev/sg* to /dev/sr0 and /dev/sr1 (my optical drives).

ls -la /dev/sg*
crw-rw+ 1 root cdrom 21, 0 Jan 23 16:33 /dev/sg0
crw-rw  1 root disk  21, 1 Jan 23 16:33 /dev/sg1
crw-rw+ 1 root cdrom 21, 2 Jan 23 16:33 /dev/sg2
crw-rw  1 root disk  21, 3 Jan 23 16:33 /dev/sg3
crw-rw  1 root disk  21, 4 Jan 23 16:34 /dev/sg4
crw-rw  1 root disk  21, 5 Jan 26 23:00 /dev/sg5

I note that the /dev folder has sx zero byte files for sg0 - 5, plus
zero byte sr0 and sr1.
I assume the syntax should be ln -s /dev/sg0 /dev/sr0, and
ln -s /dev/sg2 /dev/sr1, right? Or do I have that backwards?
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


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

2018-02-02 Thread Tomas Kuchta
That separate accounts will work only until someone who knows him will
email him or view his FB page.

Real privacy online is probably possible for a limited time, but
extraordinarily difficult. It is definitely beyond keeping the private time
useful.

T

On Feb 2, 2018 6:06 PM, "Michael Barnes"  wrote:

> In short, there is no such thing as privacy on the internet, period. If he
> wants to look at anything anywhere on the internet, any information on his
> computer is subject to retrieval. I would suggest he acquire a separate
> computer (preferably running Linux) and put absolutely no user identifiable
> information on it, i.e. user Fred Flinstone, address Bedrock, etc. Create a
> new email for the purpose, like fredf100...@gmail.com, and use that system
> for all internet activity. Whatever personal info is gleaned from that
> computer is worthless and he will have nothing to worry about. Of course he
> will have to create new YouTube, Facebook, etc. accounts. That's the cost
> of "privacy".
>
> On Feb 2, 2018 17:37, "Dick Steffens"  wrote:
>
> > On 02/02/2018 05:11 PM, Richard Owlett wrote:
> >
> >> On 02/02/2018 06:21 PM, Carl Karsten wrote:
> >>
> >>> He suspects they have been publishing his email address.
> 
> >>>
> >>> Please elaborate.
> >>>
> >>>
> >> I would if I could.
> >>
> >> I b geek -- he not
> >>
> >> He has associated the publication of his email address with videos he
> has
> >> viewed.
> >>
> >
> > My own experience shows that YouTube keeps track of what videos I've
> > watched and, no doubt using Google's technology, gives me more options
> > similar to ones I've watched. Sometimes that's useful. Sometimes it's
> not.
> > But from the descriptions you've given, it sounds to me like he's just
> > seeing what YouTube thinks he wants to see. How that relates to email, I
> > have no idea.
> >
> >
> > --
> > Regards,
> >
> > Dick Steffens
> >
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] SCSI device driver

2018-01-29 Thread Tomas Kuchta
Pretty old distro/kernel. For what is worth it - I do not have the same
problem with 16.04.

Anyway, how about creating soft link pointing to /dev/sr?. Did you try that?

Tomas

On Jan 27, 2018 9:39 AM, "John Jason Jordan"  wrote:

> Xubuntu 14.04.5, all updates applied.
>
> I have a program that can't find ether of my optical drives, /dev/sr0
> and /dev/sr1. Apparently there is a new module, 'sg,' that calls
> them /dev/sg0 and /dev/sg1, and those are all that the program will
> look for. I can't tell if I have the module installed or not:
>
> sudo modprobe sg - returns nothing, no error messages
> lsmod | grep sg - also returns nothing
> ls -la /dev/sg* returns:
> crw-rw+ 1 root cdrom 21, 0 Jan 23 16:33 /dev/sg0
> crw-rw  1 root disk  21, 1 Jan 23 16:33 /dev/sg1
> crw-rw+ 1 root cdrom 21, 2 Jan 23 16:33 /dev/sg2
> crw-rw  1 root disk  21, 3 Jan 23 16:33 /dev/sg3
> crw-rw  1 root disk  21, 4 Jan 23 16:34 /dev/sg4
> crw-rw  1 root disk  21, 5 Jan 26 23:00 /dev/sg5
> ls -la /dev/sr* returns:
> brw-rw+ 1 root cdrom 11, 0 Jan 25 17:46 /dev/sr0
> brw-rw+ 1 root cdrom 11, 1 Jan 23 16:33 /dev/sr1
>
> Synaptic lists no module 'sg,' although it does list 'sg3_utils and
> 'sscsitools-gui,' which I installed. I can't figure out how to use
> either one, no man pages and no way to launch the GUI.
>
> According to http://sg.danny.cz/sg/#mozTocId689512 the latest version
> of sg is 3.0.19.
>
> If it matters, uname -a gives:
> Linux Devil-Bonobo 3.13.0-139-generic #188-Ubuntu SMP Tue Jan 9
> 14:43:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> I can't tell is the module is installed or not. Evidence is confusing:
> 1) the program still can't find the devices
> 2) lsmod doesn't find it
> 3) modprobe returns no error messages
> 4) ls -la /dev/sg* shows the devices
>
> I could use some suggestions.
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Do any of you have a contact at Fibersphere?

2018-02-01 Thread Tomas Kuchta
They have customer support phones published on their website. I am sure
that there will be the usual phone gateway menu with tones of of option for
reporting all sorts of things.


On Feb 1, 2018 1:56 PM, "Bill Weiss"  wrote:

> I have a private question for someone with a clue over there. I tried a
> couple of obvious addresses (security, abuse, postmaster) and didn't get
> anyone. It's not super urgent, but I suspect they would like to hear it :)
>
> Thanks,
>
> --
> Bill Weiss
> ___
> 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] CPU info needed

2018-02-01 Thread Tomas Kuchta
If I would be building PC now, for similar usage patterns. I would
definitely go AMD Ryzen route + fanless low end MSI Nvidia GT 1030 cards
for about $70.

AMD just dropped their Ryzen CPU prices, so that should help

If you chose go the Intel CPU route, you will not need to buy graphics
card. What you save on graphics will most likely be spent on more expensive
motherboard.

Though Intel Linux support is second to none. Their graphics just works as
long as you do not buy their latest CPUs for the first half year. So, I'd
forget about Coffee Lake untill about May-ish.

Hope it helps,
T



On Feb 1, 2018 8:16 PM, "Jason Barnett"  wrote:

> I think only AMD's mobile CPUs have integrated graphics. I know my Ryzen 7
> desktop does NOT have integrated graphics.  AMD has a new open source
> driver AMDGPU that performs quite well under Linux.  I typically build my
> own systems, but bought a prebuilt one because it had good parts and I
> could not buy half the parts for the cost of a complete system.
> The Ryzen processors are an excellent value, perform quite well and the
> motherboards are reasonably priced. I can't say the same for Intel
> CPUs/motherboards.
>  The most expensive part of the build will likely be RAM. DDR4 is still a
> bit pricey. I have 8GB and it has been sufficient for my use. I may add
> more in a couple of years when the prices come down a bit.
>
> While shopping, you can use this for comparison on prices:
> This is what I bought for ~$550 after multiple discounts were applied ($780
> before discounts), 6 months ago:
> https://www.amazon.com/gp/product/B06W5J5XJJ/ref=oh_aui_
> detailpage_o04_s00?ie=UTF8=1
>
> If you are planning on buying from Amazon, I recommend using the website
> camelcamelcamel.com to see the price history for the items you are looking
> for.  Here is the ccc for the system I bought, the price would swing from
> $1170 to $780 in a matter of days.
> https://camelcamelcamel.com/iBUYPOWER-AM3101EA-Desktop-
> Gaming-8-Core/product/B06W5J5XJJ
>
>
> On Thu, Feb 1, 2018 at 6:10 PM John Jason Jordan  wrote:
>
> > First, let me make it clear that when it comes to CPUs, motherboards
> > and RAMI am hopelessly out of date. I was out of date four years ago
> > when I bought my laptop - I just selected component options based on the
> > price. I had no idea what any of the features of the CPU actually did.
> >
> > So now I need to buy a CPU, motherboard and RAM for the new desktop
> > computer that I am going to build. From web sites I see that you can pay
> > up to a couple thousand dollars for a CPU, so for my first step in the
> > decision making process I drew a line at ~$300 for the CPU. Intel/AMD
> > are going to have to find someone else foolish enough to pay thousands
> > of dollars for a CPU.
> >
> > My current desktop has an AMD Athlon 64 X2 Dual Core 4600+ on an ASUS
> > M2NPV-VM motherboard with nVidia video. It is pathetically slow. My
> > laptop has an Intel Core i7-4800 MQ CPU @ 2.7GHz. It is fast enough,
> > but I'd like the new desktop to have something faster, if only to stave
> > off obsolescence.
> >
> > I'm not averse to AMD, but don't their CPUs now come with video built
> > in, and haven't there been some driver issues with Linux?
> >
> > And speaking of video, my current monitor will do 1920x1080 and the
> > ancient nVIDIA on the ASUS motherboard drives it fine. But some day 4K
> > will no longer be cutting edge, so planning ahead for it might be a
> > good idea.
> >
> > Most of what the desktop does is stream internet radio all day long and
> > play over the air tv or movies at night. This is trivial work, but
> > sometimes I rip and encode a Blu-ray movie. On the faster laptop this
> > will take 2-4 hours. I tried it once on the current desktop and it took
> > a day and a half. I use Handbrake for this stuff and while it is
> > working it takes over 90% of the CPU. So I can justify a reasonably
> > fast processor.
> >
> > I asked DuckDuckGo what kind of CPU to get and was presented with a
> > bewildering array of choices. There's i3, 15 and i7, there are cores
> > and threads, there are different GHz ratings, not to mention Kaby Lake,
> > Skylake and even Coffee Lake. (Coffee Lake? So if I get one of these I
> > can just stick a spigot in the case and throw away my coffee maker?)
> >
> > I need a really, really dumbed down explanation, dumber than I have
> > found on the net.
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Alea jacta est*

2018-02-08 Thread Tomas Kuchta
I have similar setup to what JJ picked.

I chose a Corsair 650W PSU for only reason - the PSU fan is off below 200W.
I have yet to hear it turning on, even at full load. I am not a gamer,
internal Gfx is plenty fast for me.

Unless one need add on Gfx., 300W is plenty. 4x 3.5" hdd RAID is less than
additional 40W at full load.

With 300W PSU he should be at ideal power efficiency most of the time too.

Just my 2c,
-T

On Feb 8, 2018 3:56 PM, "John Jason Jordan"  wrote:

> On Thu, 8 Feb 2018 00:23:42 -0800
> King Beowulf  dijo:
>
> >No quibbles here except for the power supply.
> >
> >300W is going to be a bit thin at load even with intel GPU, and a HD or
> >two, some USB stuff and you are already pushing almost 200W at load.
> >Also, this power supply is for older style AT boards. You need ATX
> >power supply unless you want to modify plugs and use adapters - and
> >have enough 3.3V and 12V amps.
> >Don't skimp on the power supply.  A poor choice can fry all the other
> >components.
>
> The CPU is rated at 91w full load. I can't find specs for the
> motherboard and RAM. As for drives, there will be two optical drives,
> but all the other storage will be SSD. There will be one case fan. I
> find it difficult to believe that I will exceed 300w.
>
> However I do take to heart your comment about ATX. I knew that the
> motherboard was ATX, but it never occurred to me that power supplies
> were not universal. I just bought the cheapest 300w power supply they
> had.
>
> Having said the above, the computer I will be putting together is a
> replacement for a seven-year old computer in a case with a 500x Antec
> EA-500 power supply:
>
> https://www.antec.com/product.php?Type=c:\boot.ini=MTIxNQ===jp
>
> Antec's web site does not say if it is an ATX power supply, but it is
> currently powering an ATX motherboard, so it probably is. The only
> reasons I bought the new power supply is because the existing case,
> power supply, RAM, motherboard and CPU will go to a good home, and sans
> power supply it is not plug and play, plus the existing power supply
> is now seven years old. Still, it is a backup.
>
> >Also, hope you budgeted heatsink/fan and thermal compound.  I new Free
> >Geek has boxes of heatsinks but not all will fit the newer CPUs.
> >Cooler Master and Thermaltake in the $20-30 range are good.
> >
> >Also, I've recently switched from Arctic Silver 5 thermal compound to
> >the non-electrically conductive Arctic MX-4. 8 yr durability, stays
> >soft. https://www.newegg.com/Product/Product.aspx?Item=9SIAB7G5F67951
>
> This is also something that I did not buy. Free Geek has nothing for
> socket 1151. Best Buy at Jantzen Beach might have a heatsink/fan and
> thermal compound but Best Buy no longer answers their phones inside
> the store. Damn, I miss ENUinc. It looks like I might need to make a
> trip to Wilsonville before next Saturday (18th).
>
> Thanks for the heads up!
> ___
> 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] bash; anacron; wmctrl question

2018-02-06 Thread Tomas Kuchta
I do not believe that you will be able to open graphical window using cron.
The best you can hope for is sending notifications or emails.

If you have the strength to continue with random experiments. Try: export
DISPLAY :1
In your script before launching the window. Although that will likely be
blocked because the executing user is different than the user owning the
graphical environment.

The only sure way, I can think of, would be to use existing or write own
notification system. This would run after login, by the user and accept
your notification messages for displaying.

Hope it helps, Tomas

On Feb 6, 2018 1:45 PM, "Ali Corbin"  wrote:

> Another thing to try is to use the full path, in case the cron environment
> doesn't include $PATH
>
> On Tue, Feb 6, 2018 at 1:39 PM, wes  wrote:
>
> > try sudo wmctrl, the same way you're doing sudo zenity.
> >
> > -wes
> >
> > On Tue, Feb 6, 2018 at 1:27 PM, Denis Heidtmann <
> denis.heidtm...@gmail.com
> > >
> > wrote:
> >
> > > I have a script which runs daily via anacron.  I want the script to
> > launch
> > > a zenity window to notify the user, so I issue the command wmctrl -k on
> > > before zenity and wmctrl - off after.  This  is supposed to minimize
> all
> > > open windows to ensure that the zenity window will be visible.  I
> have a
> > > test script to show that it works.  Both scripts are owned by root, but
> > > editable by me.  I  have run the test script from a command  line login
> > > using sudo, as well as from a Gnome terminal.  The test script behaves
> as
> > > intended--the desktop is cleared of all open windows.   I inserted a
> test
> > > zenity window at the beginning of the real script to verity that when
> > > launched by anacron it would behave the same way.  It does not!  It
> does
> > > not minimize open windows, but the zenity window does appear on top of
> > the
> > > open windows.
> > >
> > > What is different about the anacron launch?  I have been monkeying with
> > > this thing for quite a while.  I tried wmctrl -R but that did not
> behave
> > as
> > > I had hoped.  wmctrl -k does what I want except when anacron is doing
> the
> > > launching.
> > >
> > > Ideas?
> > >
> > > -Denis
> > >
> > > Test script:
> > >
> > > #!/bin/bash
> > > # test to get zenity to work when script is not called from an X window
> > > # change to a non-X login (^ alt F2), call this w/sudo, then go back
> to X
> > > (^ alt F7)
> > > # to see if a zenity window shows up.
> > > # feb 5 2018 the above worked--all open windows minimized.
> > >
> > >
> > > Notification () {
> > > # pass title, text of notice, and timeout as 3 parameters
> > > TITLE=$1; MSG=$2; TIMOUT=$3
> > > wmctrl -k on
> > > sudo -u household zenity --question --title="$TITLE" --text="$MSG"
> > > --timeout="$TIMOUT"
> > > RETRNCODE=$?
> > > wmctrl -k off
> > > return $RETRNCODE  # return codes: 0 = YES, 1 = cancel, 5 = timeout
> > > }
> > >
> > > sleep 30
> > >
> > > export DISPLAY=:0
> > > # test of launch of zenity
> > > Notification "Test of zenity (backup_checksh)" "This should minimize
> all
> > > open windows." 20
> > > # remove when satisfied that launch works.
> > >
> > > Top of real script:
> > >
> > > #!/bin/bash
> > >
> > > Notification () {
> > > # pass title, text of notice, and timeout as 3 parameters
> > > TITLE=$1; MSG=$2; TIMOUT=$3
> > > wmctrl -k on
> > > sudo -u household zenity --question --title="$TITLE" --text="$MSG"
> > > --timeout="$TIMOUT"
> > > RETRNCODE=$?
> > > wmctrl -k off
> > > return $RETRNCODE  # return codes: 0 = YES, 1 = cancel, 5 = timeout
> > > }
> > > export DISPLAY=:0
> > > # test of launch of zenity
> > > Notification "Test of zenity (backup_checksh)" "This should minimize
> all
> > > open windows." 5
> > > # remove when satisfied that launch works.
> > > MAX_TIME=$((7 * 24 * 3600))
> > > ___
> > > 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] bash; anacron; wmctrl question

2018-02-06 Thread Tomas Kuchta
Thinking little more about it - you might be able to get around the access
permissions - to display stuff on other user's screens by using xhost
command as part of user's default environment setup at login.

That however is breaking the security - you can imagine how the desktop
would look if random users can display stuff on your desktop. Beside
annoyances, I can imagine fake terminals, browsers, etc. and windows
covering whole screen without the closing button. 

Tomas

On Feb 6, 2018 1:57 PM, "Tomas Kuchta" <tomas.kuchta.li...@gmail.com> wrote:

> I do not believe that you will be able to open graphical window using
> cron. The best you can hope for is sending notifications or emails.
>
> If you have the strength to continue with random experiments. Try: export
> DISPLAY :1
> In your script before launching the window. Although that will likely be
> blocked because the executing user is different than the user owning the
> graphical environment.
>
> The only sure way, I can think of, would be to use existing or write own
> notification system. This would run after login, by the user and accept
> your notification messages for displaying.
>
> Hope it helps, Tomas
>
> On Feb 6, 2018 1:45 PM, "Ali Corbin" <ali.cor...@gmail.com> wrote:
>
>> Another thing to try is to use the full path, in case the cron environment
>> doesn't include $PATH
>>
>> On Tue, Feb 6, 2018 at 1:39 PM, wes <p...@the-wes.com> wrote:
>>
>> > try sudo wmctrl, the same way you're doing sudo zenity.
>> >
>> > -wes
>> >
>> > On Tue, Feb 6, 2018 at 1:27 PM, Denis Heidtmann <
>> denis.heidtm...@gmail.com
>> > >
>> > wrote:
>> >
>> > > I have a script which runs daily via anacron.  I want the script to
>> > launch
>> > > a zenity window to notify the user, so I issue the command wmctrl -k
>> on
>> > > before zenity and wmctrl - off after.  This  is supposed to minimize
>> all
>> > > open windows to ensure that the zenity window will be visible.  I
>> have a
>> > > test script to show that it works.  Both scripts are owned by root,
>> but
>> > > editable by me.  I  have run the test script from a command  line
>> login
>> > > using sudo, as well as from a Gnome terminal.  The test script
>> behaves as
>> > > intended--the desktop is cleared of all open windows.   I inserted a
>> test
>> > > zenity window at the beginning of the real script to verity that when
>> > > launched by anacron it would behave the same way.  It does not!  It
>> does
>> > > not minimize open windows, but the zenity window does appear on top of
>> > the
>> > > open windows.
>> > >
>> > > What is different about the anacron launch?  I have been monkeying
>> with
>> > > this thing for quite a while.  I tried wmctrl -R but that did not
>> behave
>> > as
>> > > I had hoped.  wmctrl -k does what I want except when anacron is doing
>> the
>> > > launching.
>> > >
>> > > Ideas?
>> > >
>> > > -Denis
>> > >
>> > > Test script:
>> > >
>> > > #!/bin/bash
>> > > # test to get zenity to work when script is not called from an X
>> window
>> > > # change to a non-X login (^ alt F2), call this w/sudo, then go back
>> to X
>> > > (^ alt F7)
>> > > # to see if a zenity window shows up.
>> > > # feb 5 2018 the above worked--all open windows minimized.
>> > >
>> > >
>> > > Notification () {
>> > > # pass title, text of notice, and timeout as 3 parameters
>> > > TITLE=$1; MSG=$2; TIMOUT=$3
>> > > wmctrl -k on
>> > > sudo -u household zenity --question --title="$TITLE" --text="$MSG"
>> > > --timeout="$TIMOUT"
>> > > RETRNCODE=$?
>> > > wmctrl -k off
>> > > return $RETRNCODE  # return codes: 0 = YES, 1 = cancel, 5 = timeout
>> > > }
>> > >
>> > > sleep 30
>> > >
>> > > export DISPLAY=:0
>> > > # test of launch of zenity
>> > > Notification "Test of zenity (backup_checksh)" "This should minimize
>> all
>> > > open windows." 20
>> > > # remove when satisfied that launch works.
>> > >
>> > > Top of real script:
>> > >
>> > > #!/bin/bash
>> > >
>> > > Notification () {
>&g

Re: [PLUG] Parts shopping for new desktop

2018-02-06 Thread Tomas Kuchta
I love your suggestion Dennis, priceless!



On Feb 6, 2018 9:26 PM, "Denis Heidtmann"  wrote:

> My previous desktop did not have front USB, so I had a short extension
> cable bringing USB to the front.  Now that was 2.0, so I do not know if
> something running at 10Gbps could tolerate such a solution, but I bet not.
> I believe the reason for SATA Express is that it can accommodate higher
> bandwidth.  And that bandwidth may be the reason Gen 2 it is relegated to
> the back.
>
> Just turn your machine around.  No need for those lights and buttons and
> drives.
>
> -Denis
>
> On Tue, Feb 6, 2018 at 9:17 PM, John Jason Jordan  wrote:
>
> > On Tue, 6 Feb 2018 20:40:15 -0800
> > Denis Heidtmann  dijo:
> >
> > >I did a brief search and found a prediction that the SATA Express "may
> > >never catch on."
> >
> > That may be a true prediction, but at the moment a SATA Express port
> > plus the device to mount in the front panel is the only way I can find
> > to get USB 3.1 Gen. 2 in the front of a desktop computer. I can find
> > plenty of motherboards that offer ports accessible in the back of the
> > computer, but I don't want to have to crawl around on the floor behind
> > the computer to plug in a portable drive.
> >
> > For the benefit of those who may be wondering what I'm yammering about,
> > let me clarify the current situation re USB. USB 1.1 is now so old that
> > it is safely forgotten, having been replaced by USB 2.0 (480Mbps). USB
> > 2.0 was then replaced by USB 3.0 (5Gbps). USB 3.0 was recently
> > superseded by USB 3.1 (10Gbps). However, for reasons I cannot grasp, it
> > has been decided to rename USB 3.0 as 'USB 3.1 Generation 1' and the
> > new 10Gbps version as USB 3.1 Generation 2.' The result is a mass of
> > confusion on vendors' web sites as most older copy has not been
> > updated.
> >
> > My computing makes moderately heavy use of disc I/O. At this time I
> > have no portable devices with USB 3.1 Gen 2, but the computer I'm
> > replacing is 7-8 years old, so I am building a new one that I hope will
> > serve my needs for just as long. It won't be very long before Gen 2
> > becomes the norm, so it makes sense to be ready for it.
> > ___
> > 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] VLC 3.0

2018-02-09 Thread Tomas Kuchta
With snap you can have more than one version to coexist unlike with apt.

If you are bothered about the message. Try removing the snap version too.
Apt update and install the snap again.

I would trust what VLC says internally though.



On Feb 9, 2018 8:49 PM, "John Jason Jordan"  wrote:

VLC 3.0 has recently been released, but at this time Ubuntians can only
install it via Snap. I installed Snap (sudo apt-get install snapd), and
then VLC, but I got extremely strange results. Prior to this the
version of VLC on my computer was 2.2.6 (Umbrella). Afterward I had
both installed. Apparently Snap things are in a different world from
apt-get things. I had working launch entries for both versions.

One of the things that I use VLC for just about every day is playing
television from my HDHomeRun tuner. Unfortunately, starting the tuner
invoked 2.2.6, not 3.0. So I uninstalled 2.2.6 (sudo apt-get remove
vlc). It appeared in Synaptic as not installed. Now here's the weird
part that makes no sense: The only version of VLC installed on the
computer is 3.0, but when I open the HDHomeRun tuner and launch VLC,
the About popup in VLC says that it is 2.2.6. But 2.2.6 is certainly not
installed.

Major head scratching. Ubuntu forums are no help. Does anyone have an
idea about what is going on?
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] CentOS 6 to 7 migration

2018-02-09 Thread Tomas Kuchta
While you are at it - automate the setup/config - it will be great asset to
you when you need to repeat or extend it.

I second - systemd was the biggest change when I moved on a few years ago.
While I do not necessarily like its monolith architecture - I find it
pretty easy to work with. Systend is actually quite similar across
different distros, which is nice.

T

On Feb 9, 2018 7:55 PM, "Larry Brigman"  wrote:

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


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

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


[PLUG] Linux Journal is back with subscriptions and new magazine next month

2018-02-09 Thread Tomas Kuchta
Couple of people expressed sorrow about Linux Journal demise last month.

Well, if someone likes the idea of reading monthly old fashioned magazine
about Linux in pdf.

They are back thanks to UK based sponsor - Now accepting subscriptions for
brand new issue next month.

At: http://linuxjournal.com/

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


Re: [PLUG] [PLUG-ANNOUNCE] TONIGHT PLUG Advanced Topics: Linux as a security camera monitoring platform

2018-02-16 Thread Tomas Kuchta
How about stopping by with your camera at the Linux clinic this Sunday?

On Feb 16, 2018 5:29 PM, "Lou Chang"  wrote:

> Years ago I wanted to participate in this meeting, but I missed it. Any
> chance it could be re-visited?
>
>
> Also, I wonder if Dexter or someone else can help me walk through a
> installation of GNU/Linux based security camera for a small family
> business. I don't trust proprietary systems, so if possible I would like to
> avoid them.
>
>
> On 02/16/2016 11:13 AM, Michael Dexter wrote:
>
>> Portland Linux/Unix Group Advanced Topics Meeting Announcement
>>
>> Who: Kevin Kaelar
>> What: Linux as a security camera monitoring platform
>> Where: Free Geek, 1731 SE 10th Avenue,
>> 
>> Portland
>> When: Tuesday, February 16th 2016, at 7PM
>> Why: Because combining physical and digital security is an interesting
>> puzzle
>> Stream: http://pdxlinux.org/live
>>
>> Setting up a camera in Linux is relatively easy. With any luck, you plug
>> in the USB cable and it "just works". But what if you need ten cameras?
>> What if you need to store increasingly large amounts of footage for
>> liability purposes? What if you need to be able to access the realtime
>> feed from any (or all) of those cameras from anywhere in the world? What
>> if you need fine-grained motion detection for some of the cameras,
>> scheduled recording capabilities for others at certain times of day, and
>> provide varying levels of access to multiple users?
>>
>> This problem set is normally solved in a business environment by
>> purchasing expensive (and frequently proprietary) security camera
>> systems at a significant cost. However, it's possible to accomplish all
>> of these things with a Linux-based application called ZoneMinder. During
>> this talk, you'll be walked through the process of setting up a fully
>> featured security camera and monitoring system, and will have the
>> opportunity to learn about and/or discuss some of the supportive tech
>> such as an Apache proxy, firewall and router configuration, and pruning
>> and backing up video archives.
>>
>> About Kevin
>>
>> System administrator, game designer, software developer, open source
>> contributor, Soylent drinker, wood carver, small electronics prototyper,
>> blacksmith, poet, machinist, musician, and martial artist. Currently
>> working as a full time web application developer for a music publishing
>> company, Kevin spends most of his spare time babysitting a 3d printer
>> and doing fun (and occasionally strange) things with Arduino at his
>> startup in the Pearl District of Portland, Oregon.
>>
>> Calagator Page: http://calagator.org/events/1250469451
>>
>> Many will head to the Lucky Lab at 915 SE Hawthorne Blvd. after the
>> meeting.
>>
>> Rideshares Available
>>
>> PLUG Page with information about all PLUG events: http://pdxlinux.org/
>> Follow PLUG on Twitter: http://twitter.com/pdxlinux
>>
>> PLUG is open to everyone and does not tolerate abusive behavior on its
>> mailing lists or at its meetings.
>>
>>
>> See you there!
>>
>> Michael Dexter
>> PLUG Volunteer
>> ___
>> PLUG-announce mailing list
>> plug-annou...@lists.pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug-announce
>>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Username for network device

2018-02-22 Thread Tomas Kuchta
It seems that you have listed IP's allowed to mount the NFS export(s). If
the password reset doesn't work, you could also try to give your new
machine the same IP as the old one had.

NFS maps usernames to internal uuids on the NAS. So, you should also keep
the usernames identical on old/new hosts.

-T

On Feb 21, 2018 10:06 PM, "John Jason Jordan" <joh...@gmx.com> wrote:

> On Wed, 21 Feb 2018 17:43:24 -0800
> Tomas Kuchta <tomas.kuchta.li...@gmail.com> dijo:
>
> >I do not think that you will be able to break into the NAS without
> >either pulling disks out, mounting them on the PC and resetting the
> >password or by factory reset. So that would take some effort or data
> >loss.
> >
> >How did you access your data before without the password? NFS,
> >CIFS,...? I bet that both NFS and CIFS mounts are functional even on
> >Ubuntu.
>
> My laptop accesses the Synology without a problem. There is this line
> in fstab that mounts it every time I boot the laptop:
>
> 192.168.1.115:/volume1/Synology /media/jjj/Synology nfs
> auto,user 0 0
>
> So I added the line to fstab on the new desktop and rebooted. When it
> came up I saw Synology in the Thunar file manager, so I clicked on it
> hoping to see the list of files as I do on the laptop. Instead I get a
> popup:
>
> 'mount.nfs access denied by server while mounting
> 192.168.1.115/volume1/Synology.'
>
> The line in fstab is identical on both machines. I think the problem is
> that (apparently) when I set up the Synology I added something telling
> it to accept requests from the laptop and the old desktop. Now I need
> to add a permission for the new desktop. Unfortunately, I can't get in
> to the Synology administration because I have forgotten the username or
> password.
> ___
> 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] Username for network device

2018-02-22 Thread Tomas Kuchta
One more thing comes to my mind, if you run out of ideas. Try to keep
domain names same between the NAS and hosts, if you set them up. If you
didn't, check them, new distros can have different defaults.


On Feb 22, 2018 1:55 AM, "Tomas Kuchta" <tomas.kuchta.li...@gmail.com>
wrote:

> It seems that you have listed IP's allowed to mount the NFS export(s). If
> the password reset doesn't work, you could also try to give your new
> machine the same IP as the old one had.
>
> NFS maps usernames to internal uuids on the NAS. So, you should also keep
> the usernames identical on old/new hosts.
>
> -T
>
> On Feb 21, 2018 10:06 PM, "John Jason Jordan" <joh...@gmx.com> wrote:
>
>> On Wed, 21 Feb 2018 17:43:24 -0800
>> Tomas Kuchta <tomas.kuchta.li...@gmail.com> dijo:
>>
>> >I do not think that you will be able to break into the NAS without
>> >either pulling disks out, mounting them on the PC and resetting the
>> >password or by factory reset. So that would take some effort or data
>> >loss.
>> >
>> >How did you access your data before without the password? NFS,
>> >CIFS,...? I bet that both NFS and CIFS mounts are functional even on
>> >Ubuntu.
>>
>> My laptop accesses the Synology without a problem. There is this line
>> in fstab that mounts it every time I boot the laptop:
>>
>> 192.168.1.115:/volume1/Synology /media/jjj/Synology nfs
>> auto,user 0 0
>>
>> So I added the line to fstab on the new desktop and rebooted. When it
>> came up I saw Synology in the Thunar file manager, so I clicked on it
>> hoping to see the list of files as I do on the laptop. Instead I get a
>> popup:
>>
>> 'mount.nfs access denied by server while mounting
>> 192.168.1.115/volume1/Synology.'
>>
>> The line in fstab is identical on both machines. I think the problem is
>> that (apparently) when I set up the Synology I added something telling
>> it to accept requests from the laptop and the old desktop. Now I need
>> to add a permission for the new desktop. Unfortunately, I can't get in
>> to the Synology administration because I have forgotten the username or
>> password.
>> ___
>> 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] Multiple independent terminals on a single machinde

2018-02-18 Thread Tomas Kuchta
It is not the desktop environment doing the console, graphical or text,
switching. It is done by kernel or by X. The graphic console is being setup
by login manager - that is usually tied to the desktop environment these
days.

So if you run Ubuntu or Kubuntu you will most likely have different login
managers between them. That is what I tried to say - if you use different
login managers than the ones coming by default with KDE or Gnome - locking
the session might not give you the option to start new one.

Anyway, did you try to lock the screen - can you start new session and
login as different user from the unlock screen? If yes then you should be
able to switch between the sessions either through the lock screen or by
Ctrl+Alt+F7/8...

For different text consoles - Ctrl+Alt+F1/2/3/4/... should just work.

If I understand your question correctly.

T

On Feb 18, 2018 4:12 AM, "Richard Owlett" <rowl...@cloud85.net> wrote:

> On 02/17/2018 11:07 PM, Tomas Kuchta wrote:
>
>> I use mainly KDE/Gnome so things are probably different with Mate,
>> depending on your login manager. You could change that, I guess.
>>
>
> I don't understand the string "KDE/Gnome".
> I thought that KDE and Gnome were both Desktop Environments - an
> "either/or" situation.
> I gotten hints in my reading so far that KDE has some WM-like properties.
> Just color me confuzed ;/
>
>
>> On the physical PC - I start new independent graphical session by locking
>> the screen and starting new session with different user. Switching between
>> the session is done by Ctrl+Alt+F7-8-9-...
>>
>> For remote multi terminal access there is ssh for text or VNC for
>> graphical
>> environment.
>>
>
> For purposes of my question my universe consists of a single physical
> Lenovo T510.
>
>
>> Tomas
>>
>>
> ___
> 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] Gaming graphics cards?

2018-02-24 Thread Tomas Kuchta
Thanks Bill

On Feb 24, 2018 1:24 PM, "Bill Weiss"  wrote:

> First of all, in pedant mode, that's not open source :) It's free though.
>
> You could look into a Steam Link, which is a set-top box that acts as a
> remote console for a powerful machine running the Steam client and games
> that sit under it. If the games you care about run in Steam, it's a good
> way to separate the powerful (and possibly noisy) machine with the
> graphics card from the person playing the games. It's happier with gigabit
> ethernet than wifi, but you can always try wifi first.
>
> The Steam client also has that functionality built in, so you could have a
> lowend machine where the games are being played streaming from the powerful
> server, if you have some computers sitting around to take the place of the
> $35 (from Amazon) Link box.
>
> https://nexus.vert.gg/gaming-on-amazon-s-ec2-83b178f47a34 has a decent
> writeup of how this all works, just replace "EC2" with a VM on your local
> cluster. At Puppet we did that during an ops hackday and made it work. We
> were somewhat cheating with our 10G peering with Amazon, of course :)
>
> --
> Bill Weiss
> ___
> 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] Username for network device

2018-02-23 Thread Tomas Kuchta
If you are ok with this, trust hosts on your network, you could enable NFS
mount for all IPs on your private network this way: 192.168.1.1/24 instead
of listing individual hosts. That would save you from configuring it the
next time you add a host or change host's IP.

I'd keep the root host to single host though.

-T

On Feb 22, 2018 8:11 PM, "John Jason Jordan"  wrote:

On Thu, 22 Feb 2018 14:00:12 -0800
John Jason Jordan  dijo:

Success!

I tried dozens and dozens of usernames and I finally hit it. Everything
on the Synology is now visible on the new desktop!

And now I will write the username and password on a piece of paper and
tape it to the Synology.
___
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] New computer

2018-02-19 Thread Tomas Kuchta
We connected to the TV at FreeGeek through it's existing HDMI cable. It all
worked fine, without any kind of trouble.

Every recent enough TV probably has HDMI these days.

I prefer Display Port over HDMI. It has historically been trouble free
experience. Though my bad taste for DVI and HDMI is probably skewed by
using higher resolution high gamut photographic screens. It probably makes
no difference to ordinary screens these days.

Tomas

On Feb 19, 2018 9:49 AM, "Michael Rasmussen"  wrote:

On 2018-02-19 09:26, John Jason Jordan wrote:

> On Mon, 19 Feb 2018 05:50:18 -0800 (PST)
> Rich Shepard  dijo:
>
>   Did the video work at the clinic?
>>
>
> Yes, but we did not have any monitors with HDMI, so we connected it to
> the big TV screen on the south wall of the room. I was not the one who
> connected it, so I don't know what kind of cable/connector was used.
> but it did work, so at least I know that the video output from the
> motherboard is functional. It has two connectors - HDMI and DisplayPort.
>

Do you have a TV with HDMI input?

-- 
  Michael Rasmussen, Portland Oregon
Be Appropriate && Follow Your Curiosity

___
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] Application hijacks desktop

2018-06-21 Thread Tomas Kuchta
Try Alt+Tab to switch to different running application. You could also try
Alt+F1 for desktop menu or Alt+F2 and start terminal ...

On Thu, Jun 21, 2018, 1:50 PM John Jason Jordan  wrote:

> I installed kodi, a media player that is designed to turn a computer
> into a media center. It has some interesting features so I'd like to
> use it now and then. But apparently it never occurred to the developers
> to add an option to run it in a window instead of full screen. When it
> launches it takes over the screen so I cannot do something else while
> watching a video. I spent an hour searching for a solution and came up
> empty-handed.
>
> I opened the .desktop file that installing it created (Synaptic on
> Xubuntu 16.04), where I found a lot of actions, including
> 'Actions=fullscreen;standalone;' which I deleted, leaving just a
> bare-bones .desktop file, but it still comes up full screen.
>
> Before I uninstall it and go back to living my life, I am wondering if
> there is something I can add to the 'Exec=kodi' line in the .desktop
> file to force it to behave and cooperate with other applications
> running on the computer.
> ___
> 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] Three questions - Google Fiber in PDX ? Consider AWS or using IPv6 + DNS + 1Gb/s @ $70/month CenturyLink.? City of Portland & Dark Fiber ?

2018-08-03 Thread Tomas Kuchta
AWS stands for Amazon Web Service - I really meant it as - rent a computer
on the internet with 1Gb/s + SSD + static IP for $10/month or less instead
of paying overpriced ISP $20/month just for the IP + lousy high latency
connection.

Look up the details on:
https://aws.amazon.com/ - LightSail is probably what you need
https://www.linode.com/
Or any other service you might like

In my experience - I get much better value, network speed and service using
Linode and AWS than I could from any ISP available to me. And if you need
connection to home you can either VPN tunnel thought AWS/Linode or DDNS
privately or through one of the free services.

Hope that gives you good enough lead.

Tomas

On Fri, Aug 3, 2018, 4:30 AM mitch Stanley 
wrote:

> Hi, I forgot about Google Fiber , is it available in PDX  ?
>
>
>  In regards to considering  these 2 options   - AWS or using IPv6 + DNS +
> 1Gb/s @ $70/month CenturyLink , where would I find further  information.?
>
>
> Finally, When I took my Certificate in Telecom Admin at PCC we had people
> who were aware of  City of Portland reserving one or more strands of  Fiber
> Optic Cable . Did the City  roll out any
> services since then ( After the year ~  2005)  using these strands of
> Fiber ?
>
>
> Thank you, Mitch Stanley
>
>
>
>
> Message: 2
> Date: Wed, 1 Aug 2018 12:53:48 -0700
> From: Tomas Kuchta 
> To: "Portland Linux/Unix Group" 
> Subject: Re: [PLUG] Returning to SW Portland after 6 Years-
> Suggestions for Broadband incl Cable , DSL & Fiber Optic.
> Message-ID:
>  hdrezza5wqzmhd...@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> I do not know all the details, but $115 per month for 75Mb/s internet does
> not show/prove any ability on your part to negotiate a price. On the
> contrary.
>
> If you think that that is good deal, perhaps because of the 5 IPv4s - I
> would look into AWS or using IPv6 + DNS + 1Gb/s @ $70/month CenturyLink.
>
> For $57.50 per month for the next 3 years fixed contract, I will teach you
> how to do it and even maintain the setup for you.
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

On Aug 3, 2018 4:30 AM, "mitch Stanley"  wrote:

Hi, I forgot about Google Fiber , is it available in PDX  ?


 In regards to considering  these 2 options   - AWS or using IPv6 + DNS +
1Gb/s @ $70/month CenturyLink , where would I find further  information.?


Finally, When I took my Certificate in Telecom Admin at PCC we had people
who were aware of  City of Portland reserving one or more strands of  Fiber
Optic Cable . Did the City  roll out any
services since then ( After the year ~  2005)  using these strands of
Fiber ?


Thank you, Mitch Stanley




Message: 2
Date: Wed, 1 Aug 2018 12:53:48 -0700
From: Tomas Kuchta 
To: "Portland Linux/Unix Group" 
Subject: Re: [PLUG] Returning to SW Portland after 6 Years-
Suggestions for Broadband incl Cable , DSL & Fiber Optic.
Message-ID:

Content-Type: text/plain; charset="UTF-8"

I do not know all the details, but $115 per month for 75Mb/s internet does
not show/prove any ability on your part to negotiate a price. On the
contrary.

If you think that that is good deal, perhaps because of the 5 IPv4s - I
would look into AWS or using IPv6 + DNS + 1Gb/s @ $70/month CenturyLink.

For $57.50 per month for the next 3 years fixed contract, I will teach you
how to do it and even maintain the setup for you.
___
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] IP address for a virtual machine?

2018-07-27 Thread Tomas Kuchta
It is hard to second guess John's setup - so a few ideas to look into:

Perhaps the guest VM is behind host VM NAT - that would require either
changing the host VM network to Bridge type or setup port forwarding to NAT
VM guest (kind of like you would do on your home router if you want to
access the network internally)

If my assessment is correct, I'd think that the Bridge network setup is
easier to do - unless you would like to keep the guest isolated from your
home network.

Tomas


On Fri, Jul 27, 2018, 2:11 PM Ken Stephens 
wrote:

> The command line command to get all that information in Windows is
> 'ipconfig'.  I kept getting that mixed up with ifconfig when I use to go
> back and forth between Window$ and Linux.
>
> Regards,
> Ken
>
> On Fri, Jul 27, 2018 at 12:57 PM wes  wrote:
>
> > On Fri, Jul 27, 2018 at 12:41 PM, John Jason Jordan 
> > wrote:
> >
> > > I am trying to get a virtual Windows machine to see my HDHomeRun TV
> > > tuner, but it fails. I think the problem is that, while the host has an
> > > IP address set up in my router, the guest Windows machine does not. The
> > > Windows machine can surf the web and see other devices on the network
> > > (mine and the internet), but the HDHomeRun device requires that the
> > > machine it is on have an IP address.
> > >
> >
> > If the guest OS is able to access the network, it already has an IP
> > address. It pretty much can't talk to anything else on the network
> without
> > one (other than broadcast type stuff).
> >
> >
> > > I could set up an IP address for the Windows machine if it had a MAC
> > > address or some other way to identify it to the router. Any
> suggestions?
> > >
> >
> > It has a MAC address too. Go to Start and Run, put in cmd and press
> Enter.
> > Then type ipconfig /all and press enter. (These steps may vary slightly
> > based on which version of Windows you're running)
> >
> > Windows refers to a MAC address as a "physical address" and uses dashes
> > instead of colons to separate the digits.
> >
> > What happens when you try to access your HDHomeRun tuner from the Windows
> > VM guest?
> >
> > -wes
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] gawk switch statement syntax errors

2018-07-23 Thread Tomas Kuchta
I hope that I am not beating dead horse with this.

There is also performance problem with using case/switch statement like
this - the whole code block gets evaluated/run for every record/line.

If you use it the way suggested, the code block is only run for the correct
record/lines. You can optimize it further if you keep simple comparison
such as NF==35 condition before regexp comparison/search.

Depending on your awk script and/or your data - this can have significant
runtime impact, beside nicer coding style.

Tomas

On Mon, Jul 23, 2018, 3:21 PM Rich Shepard  wrote:

> On Mon, 23 Jul 2018, Tomas Kuchta wrote:
>
> > Do not use switch/case - just use NF==35 {print "I see 35 columns on this
> > line"}
> > ... type of a code.
> >
> > If you need more than that you can do something like this:
> > NF==35 && $2<5 {print "I see 35 columns on this line and column 2 is less
> > than 5"}
> >
> > I guess that is what Russell was saying too.
>
> Tomas,
>
>It turns out that the switch/case statement works when the whole thing
> is
> enclosed in curly braces because it's all part of the action response. So
> it
> would look like this:
>
> { switch (NF) {
>case 1:
>  ...
>case 2:
>  ...
>}
> }
>
>But, using the number of fields as the pattern does make it easier to
> read:
>
> NF == 36 { print  }
>
> Thanks,
>
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] gawk switch statement syntax errors

2018-07-23 Thread Tomas Kuchta
Do not use switch/case - just use NF==35 {print "I see 35 columns on this
line"}
... type of a code.

If you need more than that you can do something like this:
NF==35 && $2<5 {print "I see 35 columns on this line and column 2 is less
than 5"}

I guess that is what Russell was saying too.

Tomas

On Mon, Jul 23, 2018, 12:30 PM Russell Senior 
wrote:

> Ah, gawk does have switch(), but not in compatibility mode.  Maybe you are
> in compatibility mode.  But in either case, I don't see the need here (see
> my "thirdly" suggestion, and ignore my NR == 37 typo).
>
> On Mon, Jul 23, 2018 at 12:21 PM, Russell Senior <
> russ...@personaltelco.net>
> wrote:
>
> > First off, I don't have your book and have no idea what you are trying to
> > do.
> >
> > Second, I think you want NF, not NR.
> >
> > Thirdly, I think you want to just write matching rules (mawk manpage
> > didn't mention switch), e.g.:
> >
> >   NF == 38 { print stuff }
> >   NR == 37 { print other stuff }
> >
> > Lastly, if the vertical bars are significant, you should maybe parse on
> > that character to harmonize the input to a subsequent stage ... but
> that's
> > just a guess, since I don't know wtf you are doing.
> >
> > On Mon, Jul 23, 2018 at 11:02 AM, Rich Shepard  >
> > wrote:
> >
> >>   gawk-4.1.3 is installed here. According to Arnold Robbins' 'Effective
> >> awk
> >> Programming, 4th Ed',  page 154, the syntax for the switch statement is
> >> used
> >> in this code:
> >>
> >> # Get line length (number of fields)
> >> switch (NR) {
> >> case 36: # No shifts present.
> >> { print $1, $6, $7, $8, $9, $10, $11, $12, $13, $18, $19, $20, $21,
> >> $22, $23, $24, $25, $29, $30, $31, $32, $33, $34, $35, $36 }
> >> break
> >> case 37: # 1 shift present.
> >> { print $1, $6, $7, $8, $9, $10, $11, $12, $13, $19, $20, $21, $22,
> >> $23, $24, $25, $26, $30, $31, $32, $33, $34, $35, $36, $37 }
> >> break
> >> case 38: # 2 shifts present.
> >> { print $1, $7, $8, $9, $10, $11, $12, $13, $14, $20, $21, $22, $23,
> >> $24, $25, $26, $27, $31, $32, $33, $34, $35, $36, $37, $38 }
> >> break
> >> case ?:
> >> break
> >> }
> >>
> >>   Running this code on data results in syntax errors:
> >>
> >> $ gawk -f trim-fields.awk test.dat > out
> >> gawk: trim-fields.awk:13: switch (NR) {
> >> gawk: trim-fields.awk:13: ^ syntax error
> >> gawk: trim-fields.awk:14: case 36: # No shifts present.
> >> gawk: trim-fields.awk:14: ^ syntax error
> >> gawk: trim-fields.awk:17: case 37: # 1 shift present.
> >> gawk: trim-fields.awk:17: ^ syntax error
> >> gawk: trim-fields.awk:20: case 38: # 2 shifts present.
> >> gawk: trim-fields.awk:20: ^ syntax error
> >> gawk: trim-fields.awk:23: case ?:
> >> gawk: trim-fields.awk:23: ^ syntax error
> >>
> >>   I'm sure it's a simple error on my part but I'm just not seeing the
> >> problem.
> >>
> >>   Test data set (test.dat) has lines with each length:
> >>
> >> 11/24/07 0400 12.12 |0400 2090 0.01| 12.10 12.10 12.04 12.08 12.12 12.12
> >> 12.10 12.06 1200 12.00 |1200 1930 0.01| 12.08 12.06 12.07 12.04 12.00
> 12.04
> >> 12.03 12.03 12.05 | 2000 2000 | 12.03 12.06 12.04 12.01 12.00 12.02
> 12.00
> >> 12.01
> >> 11/25/07  12.01 | 1950 0.01| 12.01 12.01 11.99 11.97 11.97 11.98
> >> 11.96 11.96 2400 11.87 |2400 1770 0.00| 11.97 11.95 11.95 11.95 11.93
> 11.91
> >> 11.93 11.93 11.95 | 1860 1860 | 11.96 11.97 11.93 11.93 11.91 11.89
> 11.89
> >> 11.90
> >> 11/26/07 1830 11.97 |1830 1890 | 11.87 11.87 11.90 11.90 11.89 11.86
> >> 11.87 11.81 0800 11.78 |0800 1680 0.00| 11.78 11.88 11.86 11.79 11.81
> 11.89
> >> 11.81 11.82 11.87 | 1770 1770 | 11.80 11.79 11.92 11.92 11.94 11.92
> 11.95
> >> 11.93
> >> 11/27/07 0230 12.05 |0230 1990 | 11.94 11.99 12.04 12.04 12.04 12.04
> >> 12.04 12.03 2230 11.93 |2230 1840 | 12.03 12.02 12.02 11.98 11.95 11.97
> >> 11.96 11.95 11.98 | 1900 1900 | 11.94 11.94 11.94 11.96 11.97 11.97
> 11.94
> >> 11.93
> >> 11/28/07 2000 12.02 |2000 1950 | 11.94 11.92 11.91 11.92 11.90 11.88
> >> 11.88 11.86 1430 11.81 |1430 1710 | 11.85 11.85 11.86 11.86 11.85 11.82
> >> 11.82 11.83 11.89 | 1790 1790 | 11.86 11.86 11.87 11.90 12.02 12.00
> 11.90
> >> 11.91
> >>
> >>   I'm stuck (again) and I don't think this is a white space issue or an
> >> improper newline placement.
> >>
> >> 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] gawk switch statement syntax errors

2018-07-23 Thread Tomas Kuchta
Maybe you can speed things up by pdf2txt and identify the lines of interest
in awk.



On Mon, Jul 23, 2018, 4:43 PM Rich Shepard  wrote:

> On Mon, 23 Jul 2018, Tomas Kuchta wrote:
>
> > Depending on your awk script and/or your data - this can have significant
> > runtime impact, beside nicer coding style.
>
> Tomas,
>
>It takes me 5-10 minutes to highlight data in the PDF file and paste it
> into a text file. When done the shell script, calling two sed and six awk
> scripts runs in less than a second. The prompt returns almost immediately.
>
> 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] Favorite Certificate Authorities

2018-09-05 Thread Tomas Kuchta
Are there any other authorities other let's encrypt with free as in freedom
purpose?

LetsEncrypt.org

Unless of course you need cert for somebody else's web.

Tomas

On Wed, Sep 5, 2018, 12:49 PM Louis Kowolowski 
wrote:

> If you're OK with the added requirement of having to renew the cert every
> 3mo, and the machine is publicly reachable (either directly or indirectly)
> on tcp/80 and tcp/443, LetsEncrypt is probably a reasonable choice (as
> others have pointed out). There are a number of tools available for
> automating the renewal process. Personally, I prefer using the Caddy
> webserver and having it handle the renewal for me. Not needing to manage an
> additional tool is a bonus.
>
>
> > On Sep 5, 2018, at 12:59 PM, Paul Heinlein  wrote:
> >
> > The SSL certificate for my web site is due to expire in a few days. I'm
> not beholden to my current certificate authority (CA) and my requirements
> are pretty standard:
> >
> > * decent browser support
> > * modern crypto
> > * quick turnaround on requests
> >
> > I have no problem using chained certificates if necessary.
> >
> > So what CAs do you all favor these days?
> >
> > NB: There is no non-public content on my site, but there is some
> information about crypto usage. Back when I was running the site without
> https, I received an e-mail message from someone claiming to live in a
> country with an oppressive regime. (The return address and SMTP headers
> supported that claim.) That person asked if I could add SSL support so s/he
> could read my crypto pages without setting off alarm bells in the regime's
> sniffing software. I figured for a few bucks a year it was worth it.
> >
> > --
> > Paul Heinlein
> > heinl...@madboa.com
> > 45°38' N, 122°6' W___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
>
> --
> Louis Kowolowskilou...@cryptomonkeys.org
> Cryptomonkeys:
> http://www.cryptomonkeys.com/
>
> Making life more interesting for people since 1977
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-04 Thread Tomas Kuchta
As root: create a directory in your partition. Then set ownership, group
and permissions to that directory, allowing users to write into the
directory (ies).

Hope it helps,
Tomas

On Wed, Jul 4, 2018, 1:10 PM Richard Owlett  wrote:

> This Richard is confused ;/
>
> Using GParted I created an ext4 partition labeled "owlcommon".
> I added the following line to fstab:
>LABEL=owlcommon /home/richard/Documents/tst_common ext4 rw,user 0 0
>
> On reboot it does appear in the expected file system location.
>
> *BUT* it is locked {owned by root with users only able to read}
>
> I would like all users to have unrestricted access.
> If not possible, since "richard" has the same UID on all systems, I
> would like "richard" to have full access AUTOMATICALLY.
>
> IOW when I do a fresh install to another partition I want to write a
> line to that system's fstab (or elsewhere) such that "richard"
> automagically has full access.
>
>
> On 07/03/2018 05:06 PM, Rich Shepard wrote:
> > On Tue, 3 Jul 2018, wes wrote:
> >
> >> I suspect the other Richard could be confused in a similar fashion, so
> >> your reply was still valuable.
> >
> > wes,
> >
> >I must have been undercafinated when I responded. Partitions are
> always
> > /dev/sd* (or similar) while file systems have names. It's been a hectic
> day
> > but I won't claim that as an excuse.
> >
> > 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] Roll-your-own VPN server?

2018-07-04 Thread Tomas Kuchta
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
>
> 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...
>
>
>
> ___
> 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] Spammers on the plug list

2018-07-04 Thread Tomas Kuchta
We seem to have increased presence of spammers on the list either as
registered members or someone is compromised.

Do you get response from  customer support like the one mentioned by Rich
couple of months ago or Melina Taylor lovelygirl...@lovelynsacusal.pw or
...?

I get spam only when I post and I'm sure Gmail takes care of more then I
actually see.

Who is the list maintainer to check the list for specific email addresses?

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


Re: [PLUG] Weird microSD failure

2018-03-06 Thread Tomas Kuchta
I do not believe that SD cards respond to pure raw block writes from dd.
Not unless the stream looks like files.

I run into the same discovery some time ago. If I remember correctly, dd
didn't overwrite the content even with random data. It could behave
different for different firmware, but I tried a few with the same result.

Tomas

On Mar 7, 2018 9:13 AM, "wes" <p...@the-wes.com> wrote:

that's only if you want to generate a certain size. otherwise it just keeps
going until it runs out of blocks to fill.

-wes

On Tue, Mar 6, 2018 at 5:08 PM, Tim Garton <garton@gmail.com> wrote:

> Don't you need a "count=#" option to dd as well? Not at a computer right
> now otherwise I'd be able to check if that's the case...
>
> On Mar 6, 2018 5:02 PM, "Richard England" <rlengl...@frontier.com> wrote:
>
> > On 03/06/2018 04:20 PM, Tomas Kuchta wrote:
> >
> >> Try to delete the original files first. Then create empty file using
> >> /dev/zero and copy it to the card. I bet that it will be there on the
> card
> >> and some of your original data will disappear as result.
> >>
> >> My guess is that the card controller is deduplicating your /dev/zero
> >> blocks
> >> trying to protect the card from writes.
> >>
> >> Tomas
> >>
> >> On Mar 6, 2018 7:09 PM, "Russell Senior" <russ...@personaltelco.net>
> >> wrote:
> >>
> >> On Tue, Mar 6, 2018 at 3:04 AM, Russell Senior
> >>> <russ...@personaltelco.net> wrote:
> >>>
> >>>> On Tue, Mar 6, 2018 at 3:01 AM, Jim Karlock <jjkarl...@gmail.com>
> >>>> wrote:
> >>>>
> >>>>> My initial attempt to google this was unsuccessful (most people
point
> >>>>>> out the write protect tab, not my problem).
> >>>>>>
> >>>>>
> >>>>> Bad switch on the write protect tab? (The tab operates a tiny
> switch.)
> >>>>>
> >>>> Nope.
> >>>>
> >>>> I can turn the switch to lock and it mounts the device read only very
> >>>> clearly.  The behavior I observe is that it happily writes /dev/zero
> >>>> over the block device, but then when I read again, the old data is
> >>>> still present.
> >>>>
> >>> For example, if I flip the tab to write protect tab to "Lock", I get
> >>> this:
> >>>
> >>> # dd if=/dev/zero of=/dev/sdc status=progress bs=1M
> >>> dd: failed to open '/dev/sdc': Read-only file system
> >>> ___
> >>> 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
> >>
> >
> > |Perhaps using dd if=/dev/urandom |of=/dev/sdc status=progress bs=1M
> > ...just a thought.
> >
> > ___
> > 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] Weird microSD failure

2018-03-06 Thread Tomas Kuchta
Try to delete the original files first. Then create empty file using
/dev/zero and copy it to the card. I bet that it will be there on the card
and some of your original data will disappear as result.

My guess is that the card controller is deduplicating your /dev/zero blocks
trying to protect the card from writes.

Tomas

On Mar 6, 2018 7:09 PM, "Russell Senior"  wrote:

> On Tue, Mar 6, 2018 at 3:04 AM, Russell Senior
>  wrote:
> > On Tue, Mar 6, 2018 at 3:01 AM, Jim Karlock  wrote:
> >>
> >>> My initial attempt to google this was unsuccessful (most people point
> >>> out the write protect tab, not my problem).
> >>
> >>
> >> Bad switch on the write protect tab? (The tab operates a tiny switch.)
> >
> > Nope.
> >
> > I can turn the switch to lock and it mounts the device read only very
> > clearly.  The behavior I observe is that it happily writes /dev/zero
> > over the block device, but then when I read again, the old data is
> > still present.
>
> For example, if I flip the tab to write protect tab to "Lock", I get this:
>
> # dd if=/dev/zero of=/dev/sdc status=progress bs=1M
> dd: failed to open '/dev/sdc': Read-only file system
> ___
> 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] Weird microSD failure

2018-03-06 Thread Tomas Kuchta
When I said card controller, I meant the card controller on/in the actual
SD card. Not the piece of HW attached to your computer.

My conclusion at the time I was trying to understand the same behavior was
that the in-card controller must be doing file transactions of some kind.
Not behaving quite like basic block device.

I recall even trying to actively corrupt the card's content, no success.
Still, all worked fine when installing Linux on said cards.

Hope it helps you avoiding wasting whole day or three on this, like I did.

Tomas

On Mar 7, 2018 9:23 AM, tomas.kuchta.li...@gmail.com wrote:

> I do not believe that SD cards respond to pure raw block writes from dd.
> Not unless the stream looks like files.
>
> I run into the same discovery some time ago. If I remember correctly, dd
> didn't overwrite the content even with random data. It could behave
> different for different firmware, but I tried a few with the same result.
>
> Tomas
>
> On Mar 7, 2018 9:13 AM, "wes" <p...@the-wes.com> wrote:
>
> that's only if you want to generate a certain size. otherwise it just keeps
> going until it runs out of blocks to fill.
>
> -wes
>
> On Tue, Mar 6, 2018 at 5:08 PM, Tim Garton <garton@gmail.com> wrote:
>
> > Don't you need a "count=#" option to dd as well? Not at a computer right
> > now otherwise I'd be able to check if that's the case...
> >
> > On Mar 6, 2018 5:02 PM, "Richard England" <rlengl...@frontier.com>
> wrote:
> >
> > > On 03/06/2018 04:20 PM, Tomas Kuchta wrote:
> > >
> > >> Try to delete the original files first. Then create empty file using
> > >> /dev/zero and copy it to the card. I bet that it will be there on the
> > card
> > >> and some of your original data will disappear as result.
> > >>
> > >> My guess is that the card controller is deduplicating your /dev/zero
> > >> blocks
> > >> trying to protect the card from writes.
> > >>
> > >> Tomas
> > >>
> > >> On Mar 6, 2018 7:09 PM, "Russell Senior" <russ...@personaltelco.net>
> > >> wrote:
> > >>
> > >> On Tue, Mar 6, 2018 at 3:04 AM, Russell Senior
> > >>> <russ...@personaltelco.net> wrote:
> > >>>
> > >>>> On Tue, Mar 6, 2018 at 3:01 AM, Jim Karlock <jjkarl...@gmail.com>
> > >>>> wrote:
> > >>>>
> > >>>>> My initial attempt to google this was unsuccessful (most people
> point
> > >>>>>> out the write protect tab, not my problem).
> > >>>>>>
> > >>>>>
> > >>>>> Bad switch on the write protect tab? (The tab operates a tiny
> > switch.)
> > >>>>>
> > >>>> Nope.
> > >>>>
> > >>>> I can turn the switch to lock and it mounts the device read only
> very
> > >>>> clearly.  The behavior I observe is that it happily writes /dev/zero
> > >>>> over the block device, but then when I read again, the old data is
> > >>>> still present.
> > >>>>
> > >>> For example, if I flip the tab to write protect tab to "Lock", I get
> > >>> this:
> > >>>
> > >>> # dd if=/dev/zero of=/dev/sdc status=progress bs=1M
> > >>> dd: failed to open '/dev/sdc': Read-only file system
> > >>> ___
> > >>> 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
> > >>
> > >
> > > |Perhaps using dd if=/dev/urandom |of=/dev/sdc status=progress bs=1M
> > > ...just a thought.
> > >
> > > ___
> > > 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] MS-DFS a no go.

2018-04-09 Thread Tomas Kuchta
You have a few options here:
1. You could provide Linux file access on the back of your enterprise
filer. Filers can speak NFS and Kerberos. Bypassing the windows hassle
altogether. Although, probably not AD, these days.
2. Your Linux joins the AD, then you manage users via AD as you would on
windows/Linux clients. You can cook that up yourself or use some of many
commercial client solutions connecting AD with LDAP, NIS, 
3. I cannot recommend homebrew alternatives such as running server stuff to
expose the store inside VM/container on windows. Unless you know what you
are doing, they all bypass security of both Linux as well as windows.
4. Work around the problem designing service providing what you need and
running on windows or using a DB instead of storage.

I many ways, this is probably one of the key reasons why cloud got born -
too many people had too many bad choices - fight this windows monster
forever, give up, or avoid it altogether by building simple stuff outside
this environment.

Just my 2c,
T

On Mon, Apr 9, 2018, 8:34 AM michael  wrote:

> Nobody at my company has MSDN access or MSCE training.  I'm a Linux
> programmer, not a Windows programmer.
>
> My question is this, in an environment where you have MS-DFS shares and
> can't connect to them from Linux and there is probably Active Directory
> as well, can you instead provide a samba
> share with: a workgroup, a username, and a password?  To make this more
> acceptable, let the customer set: the workgroup, the username, the
> password, and the share name.  The customer will
> have to figure out how to sync files, but I have no idea how else to
> address this.  I'm thinking powershell scripting on the Windows server
> to do an rsync or something similar from the
> MS-DFS share to the Samba share every say two minutes.  This company
> cannot wait for a solution from the Samba community that fixes Samba and
> MS-DFS integration.  A solution could be
> found today, or five years from now.  The company needs to sell product
> yesterday.  I'm in a difficult spot because the company is financially
> in trouble.
>
> The company has really awful C/C++ code that uses opencv to auto
> calibrate essentially.  Reading the code is totally uninformative.  I
> haven't formally studied computer vision.  Solving this problem of auto
> calibrate not working is worth more than MS-DFS integration.  The code
> has horribly uninformative variable names, it is needlessly threaded,
> and it is totally undocumented.  I think we tweaked some constants and
> got reasonable results once, but there's no rhyme or reason to what
> those constants should be.
> ___
> 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] How to confirm my router is safe

2018-04-25 Thread Tomas Kuchta
Every time I hear about MAC address filter - I wonder who are we trying to
secure the network from.

It can make things difficult for friends who we not only need to tell your
password, but also go to the office, turn on the PC, figure out their MAC
and white list it. Quit a bit of a hassle for every single device.

It sure has no effect on an intruder from some far away land out of reach
of the Wlan.

It has no effect on a neighbor who knows the Wlan password, because they
can simply listen to your traffic, see some MAC which works and use that to
connect.

Random passer by would not know your password.

Kid's, spouse's friends - that will surely cause constant nagging and
judgement comments, not worth it, for sure.

So the only people I can think of it successfully deters are the ones we
care about.

Did I forgotten about somebody?

Tom

On Tue, Apr 24, 2018, 9:12 PM Dick Steffens  wrote:

> On 04/24/2018 02:26 PM, Rich Shepard wrote:
> > Brian Krebs had a blog post on this a while ago. The key thing to do --
> > unless I'm badly mistaken -- is to change the admin's password from the
> > factory default.
>
> That one I knew about when I got the router, and it has a password only
> I know. And it also has a wireless pass phrase that only I and a few
> friends who visited in the past know of. Most of them are
> unsophisticated enough that they probably forgot it, although their WiFi
> enabled devices probably still have it.
>
> > If your LAN is on a different class C subnet, change the
> > router's IP address from the standard 192.168.1.1 to an address on your
> > subnet.
>
> Not on a different subnet.
>
> >   And, while risking the wrath of Russell, limit access to the MAC
> > addresses
> > of your local hosts that will access it via radio.
>
> I hadn't thought of that one. It would be in addition to the pass
> phrase, and that would cover visiting friends who have been here before.
>
> --
> Regards,
>
> Dick Steffens
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Found unopened WinXP install disk + license - any takers?

2018-04-19 Thread Tomas Kuchta
The XP pack is taken.

Thank you for all the responses, I would have never expected so much
interest.

-T

On Apr 15, 2018 4:16 PM, "Tomas K"  wrote:

I am trying to rid of some old junk - and found unopened, unused,
shrink wrapped WinXP SP1 installation disk with the installation guide,
etc. books Anybody needs/wants it?

This proposition is/sounds pretty bad, particularly on this email list
- but there seems to be some old stuff collectors around.

"This offer will expire next weekend"


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


Re: [PLUG] Cannot access cell from USB (Chuck Hast)

2018-03-04 Thread Tomas Kuchta
While this is not direct answer to your question about fixing the USB
access on the phones. I too, run into the same problems, especially with
newer phoneOS versions. I could not solve it reliably myself by USB, PTP or
the other nasty protocols phone makers implement to push people to their
clouds, literally.

My solution is  my own ownCloud/nextCloud instance running in the other
people's clouds. Pun intended.

I sync the phone with local storage through that. I also use it to host own
calendar and contacts, but that is beside the point.

It works reliably, without USB and it adds value to me.

Tomas

On Mar 4, 2018 9:08 AM, "Chuck Hast"  wrote:

> kp4djt@kp4djt64:~$ gsettings get org.gnome.desktop.media-handling
> automount-open
> true
>
> Looks like it is true.
>
>
> On Sat, Mar 3, 2018 at 4:38 PM, Carl Karsten 
> wrote:
>
> > What do you get for this:
> >
> > carl@twist:~$ gsettings get org.gnome.desktop.media-handling
> > automount-open
> > true
> >
> > if false:
> >
> > $ gsettings set org.gnome.desktop.media-handling automount-open false
> >
> >
> >
> > On Sat, Mar 3, 2018 at 4:21 PM, Chuck Hast  wrote:
> >
> > > That is already selected on the phone. I have several other machines
> > that I
> > > use
> > > this phone on, all running Ubuntu Mate 16.04 with the updates done when
> > > they
> > > come down the pike.
> > >
> > > This one machine stopped accepting the phone, the others are just fine
> > with
> > > the machine. Indeed I just did a transfer using another machine and
> doing
> > > it
> > > that way.
> > >
> > > Thanks for the info though, I am continuing to look.
> > >
> > > On Sat, Mar 3, 2018 at 10:51 AM, Carl Karsten 
> > > wrote:
> > >
> > > > plug in usb cable - if you get a notification, there may be a shorter
> > way
> > > > to get here.. otherwise:
> > > >
> > > > Settings
> > > > Connected Devices
> > > > USB
> > > > Use USB to
> > > > * Transfer Files
> > > >
> > > > https://photos.app.goo.gl/aQFZtXv6NfS36BSG3
> > > >
> > > > When I select that, Ubuntu/Natulus? mounts and opens a gui file
> > browser.
> > > >
> > > >
> > > >
> > > >
> > > > On Fri, Mar 2, 2018 at 5:19 PM, Chuck Hast  wrote:
> > > >
> > > > > It was back in the latter half of last year. I remember that there
> > was
> > > an
> > > > > update,
> > > > > some days later I tried to pull some data off of my cell and it
> > > refused.
> > > > At
> > > > > that
> > > > > time I just plugged it into another machine pulled them off and
> > dropped
> > > > > them
> > > > > onto this machine, I have been doing that since when I need to
> (most
> > > > times
> > > > > I
> > > > > just pull them onto a laptop where I am going to use them)
> > > > >
> > > > > I wish I had taken note of the upgrade but at the time I was busy
> > doing
> > > > > some-
> > > > > thing else and did not take the time to do so. The other computer
> let
> > > me
> > > > > get by
> > > > > if it had all NOT worked I would certainly have noticed but it was
> > only
> > > > the
> > > > > one
> > > > > machine.
> > > > >
> > > > > The upgrade, or actually update, was the only thing of note that
> had
> > > > taken
> > > > > place
> > > > > that I could account for. I had not added any software, nor had the
> > > phone
> > > > > gone
> > > > > through an upgrade/update so the action on the PC was the only
> thing
> > > > that I
> > > > > was
> > > > > able to think of as the cause. Prior to that point it had worked
> > great,
> > > > > plug in
> > > > > phone, phone ask if I want to allow file sharing, I OK it and a
> file
> > > > > manager screen
> > > > > opens on the PC showing files in my phone. Now the phone ask if I
> > want
> > > to
> > > > > share the files, but on the Linux machine it opens an empty file
> > > manager
> > > > > screen
> > > > > when I touch the allow access to device data on the phone it fails
> > and
> > > > > starts over
> > > > > again.
> > > > >
> > > > > One way or another I will find it.
> > > > >
> > > > > On Fri, Mar 2, 2018 at 5:07 PM, Mke C> 
> wrote:
> > > > >
> > > > > > On 03/02/2018 12:00 PM, plug-requ...@pdxlinux.org wrote:
> > > > > >
> > > > > >> I used to be able to access my cell when I plugged it into this
> > > > machine.
> > > > > >> There
> > > > > >> was and upgrade some time back and after that it would not allow
> > > > > access. I
> > > > > >> am trying to figure out what is going on but no joy.
> > > > > >>
> > > > > > When is "some time back"? A day, week, month?
> > > > > >
> > > > > > Did this problem occur immediately after the upgrade?
> > > > > >
> > > > > > Was the upgrade on the phone or computer?
> > > > > >
> > > > > > To even begin a somewhat informed search, I'd start with the list
> > of
> > > SW
> > > > > > updates that are related to usb, mobile phone, etc and then read
> > > > through
> > > > > > the release notes to see if you can find something that's in the
> > 

Re: [PLUG] Set up default gateway in kernel routing table

2018-09-27 Thread Tomas Kuchta
I'd imagine that Rich is not using DHCP because he would like to be able to
identify the hosts on his network and doesn't feel like doing local
DNS/DHCP pair.

If my hunch is right, I would suggest using centralized DHCP IPv4 and
general network configuration for all hosts + let DHCP assign some defined
IPs based on their MAC.

That way, the user should see and manage the whole network configuration
for all hosts in one place and avoid annoyances like this one AND still
have stable/defined IPv4s.

This is just a suggestion to consider, given that this recurring type of
problem on the forum.

Tomas

On Thu, Sep 27, 2018, 12:07 PM Russell Senior 
wrote:

> Just a fwiw, DHCP. Static network configuration works too, if you know what
> you are doing. However, the empirical evidence suggests you would benefit
> from DHCP.
>
> On Thu, Sep 27, 2018, 09:47 Rich Shepard  wrote:
>
> >Having been a while since I last set routes I've lost a step when
> > setting
> > the default gateway.
> >
> >The routing table has both loopback and LAN routes. Now I need to set
> > the
> > default gateway and the kernel tells me there's a SIOCADDRT (address)
> > error.
> >
> >In slackware's rc.inet1.conf interface configuration file the default
> > gateway is set on 192.168.55.4. Using this command:
> >
> > route add default gw 192.168.55.4
> >
> > returns the above error that the network is unreachable.
> >
> >The route man page example has a host name for the gateway and I've
> > tried
> > that, too, with the same result.
> >
> >What have I missed here?
> >
> >On a curious, somewhat related issue, while there's only one Ethernet
> > port
> > on the motherboard ifconfig sees it as eth1 rather than eth0.
> >
> > 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] Mount command creates new folders

2018-10-17 Thread Tomas Kuchta
Mount doesn't make missing mount points. It prints error and fails.

It is either hotplug ( not sure if Ubuntu still uses it ) or more likely
systemd. I'd start checking systemd and dmesg first.

Actually, I'd  nevermind.

On Wed, Oct 17, 2018, 6:09 PM John Jason Jordan  wrote:

> On Wed, 17 Oct 2018 17:14:41 -0700
> Larry Brigman  dijo:
>
> >Is it possible that there was a pending mount from the GUI that was
> >waiting for the sudo permissions and it did the mount not your command?
>
> I don't see how that could be.
>
> First, the Movies drive is USB, which doesn't require sudo permissions,
> and it was often mounted at Movies1 instead of Movies. More
> importantly, I rarely try to mount something with the GUI, but if I did,
> it mounted right away - just not in the right folder, the same as when I
> mounted something from the command line.
>
> The only theory I can come up with is that mount can't mount something
> to an existing folder, therefore it makes up a new one. But that makes
> little sense too, because now that the mount point is specified in
> fstab, mount happily mounts the drives into existing folders.
>
> If I executed the command 'mount /dev/sdc /media/jjj/Movies' the
> command would execute immediately and without error, but /dev/sdc would
> usually be mounted in /media/jjj/Movies1.
> ___
> 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] Installing VirtualBox on Linux Mint 19

2018-10-29 Thread Tomas Kuchta
If you are installing Oracle VirtualBox version. Do not forget to uninstall
the standard version before you start.


On Mon, Oct 29, 2018, 10:46 PM Dick Steffens  wrote:

> On 10/28/18 11:35 PM, Tomas Kuchta wrote:
> > That is 32bit CPU, correct?
>
> The laptop is 64 bit, and that's the version of Linux Mint I installed.
> I don't know about the version of VirtualBox in the repos.
>
> When next I have time, which might not be until tomorrow, I'll try
> getting the version made for Ubuntu 18 from Oracle and see if that
> works. That's what I have on my desktop and it's working well.
>
> --
> Regards,
>
> Dick Steffens
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Installing VirtualBox on Linux Mint 19

2018-10-29 Thread Tomas Kuchta
That is 32bit CPU, correct?

If yes, you might try searching if the missing packages exist for 32bit CPU.

On Sun, Oct 28, 2018, 3:16 PM Dick Steffens  wrote:

> Is anyone using VirtualBox on Linux Mint 19?
>
> I followed the instructions at:
>
>
> https://www.itzgeek.com/how-tos/linux/linux-mint-how-tos/install-virtualbox-4-3-on-linux-mint-17.html
>
> But when I got to sudo apt-get install virtualbox-5.2 I get this error
> message.
>
>
> dick@Linux-Mint-X200-Tablet:~$ sudo apt-get install virtualbox-5.2
> [sudo] password for dick:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>   virtualbox-5.2 : Depends: libcurl3 (>= 7.16.2) but it is not going to
> be installed
>Depends: libpng12-0 (>= 1.2.13-4) but it is not
> installable
>Depends: libvpx3 (>= 1.5.0) but it is not installable
> E: Unable to correct problems, you have held broken packages.
> dick@Linux-Mint-X200-Tablet:~$
>
>
> Of course the web page instructions assume all went well, so they don't
> mention how to fix the broken packages. I tried running Fix Broken
> Packages in Symantic. I says they're fixed, but the error continues.
>
> Clue stick appreciated.
>
> --
> Regards,
>
> Dick Steffens
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Neo900 (was: handheld data collection)

2018-11-12 Thread Tomas Kuchta
It was probably mentioned her before - Purism is working on their Librem 5
smartphone. That one should be pretty open and free out of the box.

That is perhaps the easiest and the only free user serving smartphone since
the failed Ubuntu phones.

Check it out at https://puri.sm/

Maybe that is what you are looking for.

Tomas

On Tue, Nov 13, 2018, 10:30 AM Keith Lofstrom  On Sun, Nov 11, 2018 at 08:43:23PM -0800, Nat Taylor wrote:
> >  https://neo900.org/
>
> The Neo900 sounds fascinating.  At $550, I don't need
> another timesink, but if this has a good chance to evolve
> into a useful "smart" phone managed by an open source
> community, I might consider joining the crowdfunding
> effort and committing the time to learn to use the
> device when it "goes beta".
>
> I spent a couple of months fiddling with an Android,
> hoping I could jailbreak it into a device that served
> /me/ rather than serving me to Google's paying customers
> (advertisers, NSA, Palantir, etc.).  It was modifying me
> faster than I was modifying it, so I'm back to a
> brickphone for now.
>
> So, I'm /not/ looking for a pseudo-Android, but a window
> into an independent global project dedicated to freedom
> and collaboration, not distraction and consumption.
>
> What are the chances that Neo900 might evolve into this?
> What are the barriers on the way?
>
> Keith
>
> --
> Keith Lofstrom  kei...@keithl.com
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


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

2018-11-11 Thread Tomas Kuchta
I would not think that you want to really set any directory in /opt as 777.

So that anything could write or delete stuff there.

-T

On Mon, Nov 12, 2018, 2:17 AM 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
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Hard drive: size discrepancy

2018-11-11 Thread Tomas Kuchta
Disks we're not limited to <3 TB on 32b systems. The only limit there ever
was old MS FAT.

T

On Mon, Nov 12, 2018, 2:54 AM Rich Shepard  On Sun, 11 Nov 2018, Galen Seitz wrote:
>
> > How is the disk connected to your system? USB? Perhaps this applies:
> > 
>
> galen,
>
>Looks like drives sold in external USB enclosures do have different
> firmware on the drives. As a response on that thread wrote, "There have
> been
> several posts about this type of problem in the past on this forum. The
> usual culprit is a USB drive enclosure that has a 32-bit limitation. ...
> I've never heard of this problem showing up in Linux with internal drives,
> but it's theoretically possible."
>
>So I guess it's now a 750G drive since it started life as an external
> drive and I intended it to remain so, but in a multi-drive bay.
>
> Thanks very much,
>
> Rich
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] rsync in a cron job

2018-11-15 Thread Tomas Kuchta
I have found this regular rsync aproach inadequate with constant
babysitting sideffects.

These are desktops, so network filesystem would resolve this and more.

On laptops, I would recommend to use something like NextCloud synchronizing
to a master location.

Those two options do work better for dymanic content like data, docs, 
in your home dir.

-T



On Fri, Nov 16, 2018, 3:15 AM Rich Shepard  On Thu, 15 Nov 2018, Smith, Cathy wrote:
>
> > Just as a suggestion, get your backup running manually first before
> > running from cron. That reduces the time for troubleshooting. Understand
> > what your rsync is doing. Validate that your backup on the destination is
> > good. If you are going to use ssh keys, get that tested. Then put
> > everything in cron. It's a lot easier to figure out what is going wrong
> > that way.
>
>Backups have run daily with dirvish for years. My current need is to
> have
> the new desktop sychronized with the old one until it can replace the old
> one.
>
> Thanks,
>
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Firefox Quantum 60.2.1.esr lost saved passwords - downgrade

2018-10-02 Thread Tomas Kuchta
FWIWI, I have seen no Firefox issues whatsoever on both openSuse and 16/18
LTS Ubuntu branches.

Release notes would most likely mention settings location change and how to
proceed with the upgrade. I'd guess.

-T


On Tue, Oct 2, 2018, 1:37 PM Russell Senior 
wrote:

> In my brief investigation, it might result from the location of profiles
> moving from one version to another.  I can say that I, on firefox 62.0 from
> Ubuntu, have not seen this behavior.  Since distributions often tweak
> builds, it's not beyond the realm of possibility that your distribution's
> packagers are at fault here.
>
> On Tue, Oct 2, 2018 at 12:37 PM Keith Lofstrom  wrote:
>
> > > On Sun, Sep 30, 2018 at 06:53:06PM -0700, Keith Lofstrom wrote:
> > > > Sometime in the last two days, automatic updates on my
> > > > older 32 bit laptops "upgraded" to Firefox Quantum
> > > > 60.2.1.esr, and my saved logins stopped working.  I have
> > > > backups, and I can restore a previous version of Firefox
> > > > and my old .mozilla configuration files, then turn off
> > > > updates, but perhaps there is a way to make this
> > > > "upgrade" work.
> > >
> > > I'm running an old 32 bit distro on the laptops, which
> > > will get upgraded to a recent 64 bit distro Real Soon Now.
> > > Then I will upgrade myself to Chromium as John suggested.
> >
> > On Mon, Oct 01, 2018 at 10:14:42PM -0700, Russell Senior wrote:
> > > Did you report the bug?
> >
> > Not yet - I need to ponder my use-case a bit, and think
> > about how it differs from their (minimal) likely testing.
> >
> > My WAG is that this happened because we had browser windows
> > open when updates are scheduled, and their user-neglecting
> > code treats unlocked login/password files as "unencrypted".
> >
> > However, the fact that they would even conceive of deleting
> > /any/ user-generated file without warning or permission
> > suggests that their design goals are sociopathic and
> > arrogant.  I'll send them a bug report when I develop an
> > easy-to-reproduce use case, but I expect it to be rejected.
> > It won't be the first time they've done that to my reports.
> >
> > I hope the Chromium development team is more humane.  If
> > there is less code, there are fewer insecure interactions.
> > Code evaluated by two different groups (Google developers
> > and outsider repackagers) may be better tested.  Many eyes
> > make all bugs shallow; two sets of eyes makes bugs ever so
> > slightly less deep.
> >
> > -
> >
> > As an aside, my original reason for becoming involved with
> > "open-source" (long before Chris Peterson named it) was
> > that even a non-programmer like me could understand it and
> > find bugs.  I found the Y2K error in BSD, and my suggested
> > improvement was coded by Real Programmer(tm).  When most of
> > us become mere "code consumers", we eat whatever the "cooks
> > in the fast food code kitchen" churn out.  Some is great,
> > some is absolutely awful, but the quantity of code is huge,
> > and the combinatorial number of possible interactions is
> > literally astronomical, more than the baryon count for the
> > universe.  That makes secure, high-reliability software
> > impossible, even with "perfect" programmers and methods.
> >
> > Web browsers are vulnerable to their innate flaws, but
> > also to the flaws and exploits in every scrap of active
> > web content on the internet.  Perhaps we need a two-stage
> > process; our personal computers use plain-vanilla html
> > browsers and external proxies that process all the varied
> > crap out there into maximally simple html, with very few
> > local extensions.  That simplifies code on our machines,
> > though admittedly it helps big brother snoop the external
> > proxies.  I'd rather not have video codecs on the same
> > machine accessing the same memory as my password files.
> >
> > 
> >
> > I wonder how many of you read down this far?  In the
> > twitter age, most can't read a page of plain English,
> > much less software code.
> >
> > Keith
> >
> > --
> > Keith Lofstrom  kei...@keithl.com
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] question on system

2018-09-20 Thread Tomas Kuchta
When looking at the requirements 200-500 users - I cannot imagine any
practically useful scenario without single sign on solution al least across
the web services and centralized group/access control.

With 200-500 users there would be fair amount of user and access management
workload. This needs to be distributed to data owners/managers/leaders.

That is beside the already mentioned associated storage, backup, security
and disaster recovery management.

There are other companies beside G-company providing these kind of services
or enterprise level support. Some examples: Kolab, Nextcloud, Collabora,
...

Regardless of solution chosen - someone has to manage it full time. Given
the number of users - it is critical - hence it needs more than one
individual to cover for vacation/sickness/disasters/etc.

Just adding to the list of consideration. Do look up the services mentioned
above though. They work like G-company, but they are OSS, and the platforms
are deployable and manageable by individuals - so the lock-in is not as
strong as with proprietary services.

Tomas

On Thu, Sep 20, 2018, 7:13 AM Tyrell Jentink  wrote:

> It's been several years since I looked into this... Like others have said,
> the administrative overhead is substantial, and I ultimately decided that
> it was just easier and more reliable (for my needs) to use Google.
>
> That said... The top product I was looking at at the time was Kolab,
> http://kolab.org, and it SEEMS to meet many of your requirements...
>
> I consider it unlikely that a company of this size would be served by any
> single application... If I were setting up Kolab for a client, a good
> amount of energy would have to be put into questions like "How do we manage
> users?" And "How do we manage storage?" And "How do we manage backups?"
>
> Like, maybe you will find that managing lots of users pushes you into
> needing an LDAP server, possibly with Single Signon. As you add these
> "Supporting" services, your security footprint increases, and you may need
> additional firewall and intrusion detection software; Maybe these services
> should be on "Bastion Servers," individual servers for each service to
> increase both performance and security... Maybe you virtualized some.
>
> Maybe those questions lead to non-Linux answers... Maybe you find managing
> the workstations of all those users works best with ActiveDirectory rather
> than OpenLDAP; Maybe you find that managing the storage requires something
> more robust than LVM on XFS or EXT4... And then is Kolab's file sharing
> (WebDAV, if I remember correctly) enough for your users? Adding SMB and NFS
> can have unintended complications.
>
> And all of those questions have to be balanced against the inherent feature
> creep that comes from wandering down this road.
>
> For many companies, the answer is to simply let Someone Else do it...
> Often, that Someone Else is Google.
>
> On Wed, Sep 19, 2018, 13:40 logical american 
> wrote:
>
> > Hello again:
> >
> > Can anyone suggest a linux system server which will successfully do the
> > following?
> >
> > 1. successfully imitate and replace the Google Groups program
> > 2. successfully imitate and replace the Google gmail server
> > 3. allow Google drive operations or simulate those operations
> >
> > I am seeking to move a large group of users (200-500) from Google Groups
> > and gmail over to a stand-alone server and provide some type of Google
> > drive functionality also for them, but at a bare minimum a common area
> > to download files must exist so users can store their files.
> >
> > What would you suggest?
> >
> > The users are in the public domain.
> >
> > Thanks for the input
> >
> > - Randall
> >
> > ___
> > 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] Play a video from the command line?

2018-12-13 Thread Tomas Kuchta
While this is not exactly what you are asking - consider installing and
using Kodi with wireless mouse/keyboard for playing media.

With Kodi - if you can see the screen and have wireless mouse, then you can
control the player.

Otherwise, wireless mouse/keyboard works well with mplayer from a distance
too. :-)

Hope this helps,
Tomas

On Thu, Dec 13, 2018, 7:24 AM Dick Steffens  Thanks for all the replies. I'll give them a try when I get some time.
>
> As I think through the process, I'd:
>
> SSH -X into computer B from computer A.
>
> Start Mplayer with -display :x (whichever one works)
>
> At that point, the video is displayed on computer B, and input comes
> from computer A. I see from:
>
> http://www.mplayerhq.hu/DOCS/HTML/en/MPlayer.html#commandline
>
> that there are a number of keyboard controls I can use, and I could set
> up a remote with LIRC, which I still have from back when I was using
> MythTV.
>
> If those assumptions are correct, then this should be a workable
> solution. Actually, Mplayer by itself may be a workable solution without
> using the laptop. Part of the issue is being able to see all of the
> screen. This TV doesn't handle under-scan, so the edges are not
> displayed. But with keyboard control, that may not matter.
>
> Anyway, when I get the time I'll try them both and report my results.
>
> Thanks again for the replies.
>
> --
> Regards,
>
> Dick Steffens
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


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

2018-12-13 Thread Tomas Kuchta
+ 1 working openWRT ERX on my desk too.

The router works fine with the original firmware and it is getting timely
updates from Ubiquti too.

It is fantastic value and great HW design, from what I can tell.

-T

On Thu, Dec 13, 2018, 5:25 PM Russell Senior  FYI, I've had an ERX running OpenWrt for a year. There's one in my basement
> and another one on my desk, so I am pretty sure about it being supported.
>
> I will say, that there was a bug involving ubifs that affected the ERX (and
> every other device with NAND flash that is running the 4.14.x kernels)
> until mid-November. It is caused by ungraceful shutdown (i.e. power loss)
> after the first boot and the subsequent recovery. The work around is pretty
> easy (just login and run "sync" or reboot from software). It will be fixed
> in the next release and is in current snapshots.
>
> On Thu, Dec 13, 2018 at 5:17 PM Russell Senior 
> wrote:
>
> >
> >
> > On Thu, Dec 13, 2018 at 5:14 PM Rich Shepard 
> > wrote:
> >
> >> On Thu, 13 Dec 2018, Rich Shepard wrote:
> >>
> >> > Huh! Makes me wonder why searching for it or examining the list of
> >> > supported devices did not find this.
> >>
> >>It's for the ER-X-SFP version rather than the vanilla ER-X. That
> >> explains
> >> it.
> >>
> >
> > It would explain it, but that's wrong.  There is a different image for
> the
> > ERX-SFP:
> >
> >
> >
> https://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt7621/openwrt-18.06.1-ramips-mt7621-ubnt-erx-sfp-squashfs-sysupgrade.tar
> >
> > And, afaik, the SFP port doesn't work yet (last I heard).
> >
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


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

2019-01-07 Thread Tomas Kuchta
Yes, the file serving part works, and is observable in the logs. There is
good visibility on client side with curl or browsers. When Apache executes
it, I get the output html/json/ When it doesn't work, I get to download
the code.

I usually build couple of identical machines and synchronize their
config/content. Still, when one machine in the pair is stubbornly refusing
to run some stuff, it takes a lot of diffing, renaming, rebuilding, ...

What makes Apache to choose to execute some files and not the others, is
the $M question.

On Mon, Jan 7, 2019, 11:34 AM Bill Barry  On Mon, Jan 7, 2019 at 7:12 PM Tomas Kuchta 
> wrote:
>
> > Hi,
> >
> > I am having difficulty to debug why CGI scripts are not executed by
> > Apache2, again.
> >
> > Can someone recommend some iteligent, algorithmical and converging way to
> > debug this?
> >
> > There is nothing visible in the logs with CGIs, no error messages, no
> > config errors, no obvious file ownership, permission issues.
> >
> > I am standing up the servers using Ansible, one like the other,
> repeatably.
> > Still, some servers work, some do not. Most of the time, the script
> execute
> > fine upon provisionning, some times the do not. When they do not run, it
> > takes days of almost random rebuilds to resolve. Some times .cgi works,
> > sometimes .py/php does not. Often helloWorld.cgi runs but not some other
> > random.cgi. Usually, what I want/need does not run. I am sick of sinking
> > days in this unproductive trial and error...
> >
> > Any sensible and calm advice?
> >
> > Thanks, Tomas
> >
> > Can you confirm that Apache is receiving the request? If not is it an
> upstream DNS/networking problem?
>
> Bill
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


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

2019-01-07 Thread Tomas Kuchta
The problem is 99.9% in the Apache config - the same application runs
on one server not the other. No matter which way I synchronize the code, it
executes in one place, not the other.

The only difference are Apache config files, produced mostly with Jinja
templates and search and replace with a few config lines added related to
host aliases to flip things to production.

Often, the whole thing ends up working after a few days of tearing it apart
and putting it back together. I have a feeling that it may be something
like not printable characters or a white space typo,  In any case it is
not producing any load errors. Diffing config files produces identity with
the exception of the host name and intentional differences.

I tried dos2unix, etc too. ... All I can come up with is to take it apart
randomly and put it back together until I get lucky and it all works. No,
errors, no messages, no hints. Web is full of similar (Apache does not
execute my code) issues with no suggestion how to go after it other than
eye balling the configs.

On Mon, Jan 7, 2019, 1:31 PM Paul Heinlein  On Mon, 7 Jan 2019, Tomas Kuchta wrote:
>
> > Yes, the file serving part works, and is observable in the logs. There is
> > good visibility on client side with curl or browsers. When Apache
> executes
> > it, I get the output html/json/ When it doesn't work, I get to
> download
> > the code.
> >
> > I usually build couple of identical machines and synchronize their
> > config/content. Still, when one machine in the pair is stubbornly
> refusing
> > to run some stuff, it takes a lot of diffing, renaming, rebuilding, ...
> >
> > What makes Apache to choose to execute some files and not the others, is
> > the $M question.
>
> There are a few possible answers.
>
> First, the non-executing scripts may live in a directory not
> identified by a ScriptAlias directive or in a directory that doesn't
> have "SetHandler cgi-script" and "Options +ExecCGI" configured.
>
> Second, if the CGI script is handled by an interpreter (/usr/bin/perl,
> for example, or /usr/bin/python) the #! line may be incorrect or the
> file may not be marked as executable in the filesystem.
>
> Third, the CGI script fails to set the Content-Type header of the
> return text correctly. Use "curl -I <>" to see. In
> cases where it's failing, you're probably getting "text/plain"; but
> where it's successful you're seeing "application/json".
>
> Those are the most likely cases I can imagine.
>
> --
> Paul Heinlein
> heinl...@madboa.com
> 45°38' N, 122°6' W___
> 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] Comcast/Xfinity experiences?

2018-09-12 Thread Tomas Kuchta
I was Comcast customer - the initial rate only lasted until the renewal -
then they increased my rate 2-3x without any notice or warning. So, I ended
out of pocket by significant amount.

I was unable to negotiate nor to get out of the contract in any reasonable
ways. It was very upsetting experience. The company was behaving
unethically with anger and retaliated with cutting my internet connection
in the middle of the billing term.

I ended up with CenturyLink for about the same intro rate. I expect the
same headache at the end of CL contract term.

I cannot recommend Comcast, especially on price and customer behavior.
Their service was otherwise fine while it lasted. Horrible company.

Tomas

On Wed, Sep 12, 2018, 5:11 PM Russell Senior 
wrote:

> You can only do the negoation/extention of teaser rates if you haven't
> signed a term contract. It also means periodic, sometimes protracted
> telephone conversations. It is perverse.
>
> On Wed, Sep 12, 2018 at 5:03 PM, Dick Steffens 
> wrote:
>
> > On 09/12/2018 04:25 PM, Russell Senior wrote:
> >
> >> These are teaser rates, they'll go up after 6 months (most likely).  Or,
> >> it
> >> involves a 2 year contract, where the tail of the contract pays them
> back
> >> for whatever front end inducement they had to provide you.
> >>
> >
> > All that is true, but it is also possible to "negotiate" the increase
> > back. We've done it a couple of times now. As I recall, my wife told the
> > Comcast rep she didn't want to pay what they were asking, and after a
> > conversation, the rate was reset to what we've been paying for the last
> > year.
> >
> >
> > --
> > Regards,
> >
> > Dick Steffens
> >
> >
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Which distribution for new user?

2018-09-12 Thread Tomas Kuchta
SVG is ordinary Xml vector format description. I generate it as such for my
work. You can edit it in text editor and verify in a browser.

Tomas

On Wed, Sep 12, 2018, 5:15 PM Russell Senior 
wrote:

> SVG is scalable vector graphics. You can look at it as text. I don't see
> bitmaps.
>
> On Wed, Sep 12, 2018 at 5:00 PM, John Jason Jordan  wrote:
>
> > On Wed, 12 Sep 2018 15:49:01 -0700 (PDT)
> > Rich Shepard  dijo:
> >
> > >   Less than obvious way:
> > >
> > >wget http://futurist.se/gldt/wp-content/uploads/12.10/gldt1210.svg
> > >
> > >   Then there's the issue of viewing it. 'display' doesn't seem to
> > > work; inkscape might.
> >
> > Wget worked, and it views OK in Inkscape, although my default GUI
> > viewer wouldn't open it.
> >
> > The problem is that it is only 2220x10112 pixels. And in Inkscape I can
> > select objects but they appear to be bitmaps, so scaling will be a
> > problem.
> >
> > In any event, looking at it satisfied me that my 12x18 printer is not
> > nearly big enough. We need one of those big printers that drafting
> > people use. And first we need an image of much higher resolution.
> > ___
> > 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] Replace the CPU

2018-09-13 Thread Tomas Kuchta
This so easy to answer:
A) get any nice laptop with Linux - VNC to your desktop for speed.
B) http://lmgtfy.com/?q=the+fastest+killer+laptop+in+the+world+ever

All laptops are slow compared to desktop, workstation or a server powered
directly from the powerplant.

Lol, Tomas

Seriously, what you have is still pretty fast as laptops go. Speed needs
power and cooling - not quite what laptops are for.

On Wed, Sep 12, 2018, 9:00 PM John Jason Jordan  wrote:

> On Wed, 12 Sep 2018 11:00:54 -0700
> John Jason Jordan  dijo:
>
> >I have recently developed a desire to increase the speed of my 4.5
> >year-old laptop. It came with a 4th generation Intel Core i7-4800 MQ
> >processor, 2.7 GHz, 6MB L3 cache, 4 cores, plus hyperthreading.
> >Assuming it's not soldered to the motherboard, are there now faster
> >CPUs that will fit in the socket? If so, recommendations?
>
> I've just discovered from System76 that the CPU for "this laptop version
> isn't in a normal socket that allows easy upgrades."
>
> Bah. Now I'm thinking of a new laptop. After all, this one will be five
> years old in November, hard as it is for me to believe that. Man, that
> Tempus dude just fugits his tail along, doesn't he?
>
> So now I have a new question: Considering that I need CPU speed, what
> is the fastest CPU currently available in laptops?
> ___
> 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] What Comes After Unix?

2018-09-13 Thread Tomas Kuchta
I would google up Andrew Tanenbaum versus monolithic kernel and look back
at the history of this debate. It goes back to 90s - birth of Linux.

I am not going to judge it theoretically on a principle. Just observing the
real world as it currently is - microkernel security currently comes
primarily from the fact that it cannot do much and it is not used outside
SW research and niche such as "secure" IME (remember that last year).

The beauty of open source, in my opinion, is diversity and agiliy. So,
there is place for micro kernel OS.

I am not quite sure that minix is the future direction thought. It has not
been for the last 30+ years.

.

On Thu, Sep 13, 2018, 10:30 AM Louis Kowolowski 
wrote:

> On Sep 13, 2018, at 12:11 PM, Tyrell Jentink  wrote:
> >
> > ...
> > I guess I'm concerned that there isn't enough competition to keep the
> > internet safe. I'm concerned that capitalism, and the acceptance of work
> > flows that "Technically work, and are cheap enough to not want better" is
> > the enemy at hand...
> > ...
>
> I'm a little unclear how capitalism is related here. If we didn't use it,
> what would we use that would somehow mandate that people use sufficiently
> diverse things to maintain a notion of safety?
>
> We have lots of browsers, but they all have to interoperate to be
> relevant. Enter web assembly, the next way to deliver malware to every
> browser.
>
> --
> Louis Kowolowskilou...@cryptomonkeys.org
> Cryptomonkeys:
> http://www.cryptomonkeys.com/
>
> Making life more interesting for people since 1977
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


  1   2   3   4   5   6   7   >