Re: [PLUG] Mate Caja Connect to server question.
Normally setting the ssh client logging to debug gives some clues as to why. Not sure how to do that in the tool you mentioned. On Tue, Nov 21, 2023 at 11:10 AM Chuck Hast wrote: > Folks, > I do most of my ssh work from the console but there are > times when it is handy to use the "Connect to Server" > tool in Ubuntu Mate Caja. In which case I enter the usual > data, and I am accessing the other machine. I have one > case where I can access a device from the console just > fine. But when I try to use the Caja tool it fails and tells > me to check credentials > > I have looked high and low for the client side logs for SSH > and find nothing, there is a boat load out there for sshd... > But in this case it is the client side I want to see what is > going on. > > This same tool works for every other device that I am > trying to access, but this one device. Any guidance would > be most appreciated, > > > -- > > 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 >
Re: [PLUG] Linux Time?
Linux time correction software is ntp or chrony. Ntpdate can be run instead if the machine is not on all the time. On Oct 21, 2017 1:12 PM, "Dave Lien - W7DAL"wrote: > I've just begun running FT8 on Linux Mint (works great!) but am > wondering if I need to add time correction software like DIM4 as used > with Windows? Or does modern Linux auto-adjust the time to high > precision each time it is booted? Thanks! Dave. > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting ssh [FIXED]
The tool is very verbose to begin with. I put this in a wrapper. -q reduced the normal output to nothing. -v gives me debugging messages in case something went wrong. With these two in place for the operation being performed, it tells me that it found an entry and where the backup file was written. On Sat, Sep 16, 2017 at 7:28 AM, Galen Seitz <gal...@seitzassoc.com> wrote: > On 09/15/17 19:07, Larry Brigman wrote: > > Have this problem all the time at work. It didn't occur to me to share. > > We reinstall systems all the time. So much so that I wrote a shell > wrapper > > around ssh-keygen. > > It has an option to manage known hosts. > > ssh-keygen -q -v -R ${host} > > What is the purpose of using both -q (silence) and -v (verbose) ? > > galen > -- > Galen Seitz > gal...@seitzassoc.com > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Troubleshooting ssh [FIXED]
Have this problem all the time at work. It didn't occur to me to share. We reinstall systems all the time. So much so that I wrote a shell wrapper around ssh-keygen. It has an option to manage known hosts. ssh-keygen -q -v -R ${host} On Sep 10, 2017 3:47 PM, "Ken Stephens"wrote: > Rich Shepard wrote: > > On Tue, 5 Sep 2017, Rich Shepard wrote: > > > >> I'm out of ideas of what to test so I can fix this issue, and seek > advice > >> from experienced network admins. > > Having tried all suggestions from my thread on LQ I re-read openssh > web > > pages, particularly the sections on authorized_keys and known_hosts. It > > occurred to me that for reasons known only to computers, the server's > entry > > in ~/.ssh/known_hosts was FUBAR. > > > > Yep. That was the problem. Cleaned out all known_host entries on each > > portable, then entered the command $ ssh salmo. Told openssh to connect > to > > the unknown server, correctly entered my passphrase, and the connection > was > > established for each portable. > > > > My web searches did not find any result that suggested cleaning > > known_hosts when a client refuses to connect to a server. This is a > lesson > > I'll not soon forget. > > > > Rich > > > Rich, > > Thanks for sharing your findings. You come up with interesting problems > and solutions in Linux. I > learn from them. > > I find that if I don't find a solution after diligent searching, the > problem is usually something very > obvious that I have missed. My forehead is much flatter after discovering > what I did from the slap > that reflexibly happens at that time. > > Thanks, again, > Ken > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Internet access certificate issues
If the wireless router was providing the DNS lookup services for wireless clients, then the conclusion that the router was hacked and providing bogus DNS info was correct. Figuring that out would need to recreate the situation and check the IP against the DNS name received. Earlier references to DNS poisoning were the correct term. On Sep 15, 2017 9:16 AM, "Denis Heidtmann"wrote: > The router is out of service, not powered. Is there any way to diagnose > it at this point, or would I have to place it back in service and observe > a repeat of the problem? Or is the problem not in the router at all; just > coincidence that it went away when I removed the router? Clearly I need > some very basic understanding of how all these things operate. > > -Denis > > On Fri, Sep 15, 2017 at 2:52 AM, Russell Senior > > wrote: > > > > "Denis" == Denis Heidtmann writes: > > > > Denis> [...] My son suggested that the router was attacked. Other > > Denis> explanations could be poor wired connections: one end of one of > > Denis> the Ethernet cables is missing the mechanical lock. Maybe it got > > Denis> noisy. Also, it could be the power supply to the router is > > Denis> failing. I have not checked it yet. > > > > Denis> My son want to examine the router. How about you, Russell? > > > > That sounds like maybe DNS poisoning, someone giving incorrect answers > > to your device's DNS requests in order to try to redirect your browser > > to a spoofed site, possibly to try to steal your credentials. > > > > Don't tell your browser to accept invalid certificates! Rebooting the > > AirRouter should clear its cache. Diagnosing probably involves running > > tcpdump to see what's going on. > > > > > > -- > > Russell Senior, President > > russ...@personaltelco.net > > ___ > > PLUG mailing list > > PLUG@lists.pdxlinux.org > > http://lists.pdxlinux.org/mailman/listinfo/plug > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] VOIP, NOMOROBO, POTS, FAX
Got to a computer so I can add the URL: http://www.jollyrogertelco.com/ And the Ted talk: https://www.youtube.com/watch?v=UXVJ4JQ3SUw On Wed, Sep 6, 2017 at 4:43 PM, Larry Brigman <larry.brig...@gmail.com> wrote: > Just after answering another call like yours, I stumbled upon another site > that doesn't charge. Jolly Roger telephone company. They turn the tables > on the callers tying up the most expensive part of the operation, the human. > You can use it with any number/service that supports ringing multiple > numbers at the same time. Backend database to auto select known > robocaller. > The guy that created it did a Ted talk about it. > > On Sep 6, 2017 3:23 PM, "Chuck Hast" <wch...@gmail.com> wrote: > >> See below: >> >> On Sep 6, 2017 16:52, "Keith Lofstrom" <kei...@kl-ic.com> wrote: >> >> Today, 10 spam calls since 630 AM, and Frontier says (after >> half an hour on hold) that they can't block fake phone >> numbers or "Out of area". It's like the submitting a list >> to the police of the 10 name-badge-wearing people you don't >> want to kill you. Time for a change. >> >> >> I was getting a load of these on my cell, ended up installing an app that >> blocks anything that does not id. That took care of all but the spoofed >> numbers, most of those are dumb enough to leave a real number for callback >> so I have been able to get rid of more of them. I have not had a >> landlines >> on such a long time that I do not know what to tell you beyond the >> Asterisk >> thing and let it do the filtering. But you said you have had enough pain >> with asterisk. >> >> >> Complications: We've got a fax, which we use 3-5 times >> per month, for HIPAA-sensitive stuff. No internet fax >> services are truly HIPAA compliant. >> >> >> I find that so funny since fax has been breakable ever since the druggers >> used to send "orders" over hf using fax machines and very expensive SSB >> radios, some using pilot carrier to lock both ends. HIPAA, banks and >> insurance companies still use fax believing it is not hackable. >> >> >> We've got Frontier FIOS; QOS goes to hell on "Netflix >> Nights", but there may be a way to fix that, too. >> >> Nomorobo.com (which depends on a VOIP connection) looks >> interesting. That means a VOIP link to the network. >> Also, they are "free", which means somebody may be >> paying them to listen in. >> >> My vague idea, feedback and consulting help welcome: >> >> 1) We move our 503-xxx- phone number of 30 years >> to a VOIP service, and connect that to nomorobo.com . >> >> 2) We buy a magic box to connect the existing house phone >> wiring (POTS) and the FAX to the IP network. Suggestions? >> >> >> I used to use Vonage for that, they provide the loop and ring down for >> pots >> phones and provide a port for fax machines. Since the encryption HIPAA >> puts >> so much importance in is from end to end the link being Voip should not >> matter. >> >> >> 2a) We have a dozen wireless phones scattered around the >> house, and eventually the greenhouse, connected that way. >> >> >> That is the way I had most of my phones that talked to the Vonage device. >> >> >> 2b) We have a Sangoma card than might work in a small >> format PC with Asterisk, but I would rather have a >> simple box with outside tech support. Asterisk; >> been there, done that, got the scars. Too much work! >> >> >> There were a lot of solutions based on Asterisk that simplified the whole >> process, where I see the device being useful is in filtering the phone >> spam. >> >> >> 3) PLUG puts together a SIG to think about how to do this. >> Perhaps a few of us put together a businss. >> >> >> 4) We work to change the laws to make the carriers >> responsible for the anonymous/fraudulent crap they insist >> on passing through. Their computers can (in principle) be >> programmed to stop this crap if the end user requests it; >> they steadfastly refuse. These are $300/incident torts; >> If every Oregonian gets 2 such calls per week, and 25% >> are angry enough to do something about it, that is >> 100 million torts or $30 billion per year. Frontier's >> market cap is $1.1 billion, so Oregon owns them in two >> weeks, other carriers with similar policies ditto. We >> sell the assets to new and responsible owners, and fund >> the schools with the proceeds. >> >> >> Wish in one hand, but creating a box to do a lot of that filtering would >> be >> a good thing. >> ___ >> PLUG mailing list >> PLUG@lists.pdxlinux.org >> http://lists.pdxlinux.org/mailman/listinfo/plug >> > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] VOIP, NOMOROBO, POTS, FAX
Just after answering another call like yours, I stumbled upon another site that doesn't charge. Jolly Roger telephone company. They turn the tables on the callers tying up the most expensive part of the operation, the human. You can use it with any number/service that supports ringing multiple numbers at the same time. Backend database to auto select known robocaller. The guy that created it did a Ted talk about it. On Sep 6, 2017 3:23 PM, "Chuck Hast"wrote: > See below: > > On Sep 6, 2017 16:52, "Keith Lofstrom" wrote: > > Today, 10 spam calls since 630 AM, and Frontier says (after > half an hour on hold) that they can't block fake phone > numbers or "Out of area". It's like the submitting a list > to the police of the 10 name-badge-wearing people you don't > want to kill you. Time for a change. > > > I was getting a load of these on my cell, ended up installing an app that > blocks anything that does not id. That took care of all but the spoofed > numbers, most of those are dumb enough to leave a real number for callback > so I have been able to get rid of more of them. I have not had a landlines > on such a long time that I do not know what to tell you beyond the Asterisk > thing and let it do the filtering. But you said you have had enough pain > with asterisk. > > > Complications: We've got a fax, which we use 3-5 times > per month, for HIPAA-sensitive stuff. No internet fax > services are truly HIPAA compliant. > > > I find that so funny since fax has been breakable ever since the druggers > used to send "orders" over hf using fax machines and very expensive SSB > radios, some using pilot carrier to lock both ends. HIPAA, banks and > insurance companies still use fax believing it is not hackable. > > > We've got Frontier FIOS; QOS goes to hell on "Netflix > Nights", but there may be a way to fix that, too. > > Nomorobo.com (which depends on a VOIP connection) looks > interesting. That means a VOIP link to the network. > Also, they are "free", which means somebody may be > paying them to listen in. > > My vague idea, feedback and consulting help welcome: > > 1) We move our 503-xxx- phone number of 30 years > to a VOIP service, and connect that to nomorobo.com . > > 2) We buy a magic box to connect the existing house phone > wiring (POTS) and the FAX to the IP network. Suggestions? > > > I used to use Vonage for that, they provide the loop and ring down for pots > phones and provide a port for fax machines. Since the encryption HIPAA puts > so much importance in is from end to end the link being Voip should not > matter. > > > 2a) We have a dozen wireless phones scattered around the > house, and eventually the greenhouse, connected that way. > > > That is the way I had most of my phones that talked to the Vonage device. > > > 2b) We have a Sangoma card than might work in a small > format PC with Asterisk, but I would rather have a > simple box with outside tech support. Asterisk; > been there, done that, got the scars. Too much work! > > > There were a lot of solutions based on Asterisk that simplified the whole > process, where I see the device being useful is in filtering the phone > spam. > > > 3) PLUG puts together a SIG to think about how to do this. > Perhaps a few of us put together a businss. > > > 4) We work to change the laws to make the carriers > responsible for the anonymous/fraudulent crap they insist > on passing through. Their computers can (in principle) be > programmed to stop this crap if the end user requests it; > they steadfastly refuse. These are $300/incident torts; > If every Oregonian gets 2 such calls per week, and 25% > are angry enough to do something about it, that is > 100 million torts or $30 billion per year. Frontier's > market cap is $1.1 billion, so Oregon owns them in two > weeks, other carriers with similar policies ditto. We > sell the assets to new and responsible owners, and fund > the schools with the proceeds. > > > Wish in one hand, but creating a box to do a lot of that filtering would be > a good thing. > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Compile issue: libraries present but not seen
Make doesn't know about library paths. That comes from the the compiler and the added paths provided on the compile line Just because the .so.version file is there doesn't mean that you can compile against it. In rpm parlance, means you need the devel package installed. If the library is not in one of the standard location, it must be added. On Sep 3, 2017 9:06 AM, "Rich Shepard"wrote: >I'm trying to build gnucash-2.6.17 on my Slackware-14.2/32-bit system. > The > build fails because make cannot find libgnc-gnome, which is in turn > dependent on libgtk-x11. Both are present on this host. > >Many of you make a living coding and/or administering systems so I hope > you can provide me with some potential reasons why make might not find > libraries that are actually present in /usr/lib/. I don't recall > encountering this situation before now, only when a needed library was not > installed. > > TIA, > > Rich > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] HDHomeRun Config GUI loses connection
You need to determine which side is losing the connection. Silicondust does have a decent Linux Forum. Is everything up to date on the 14.04? I had tried to setup TVHeadend on Linux. At the time I tried it, things were not all that stable with the V4L drivers and the HDHomeRun. Something else that could cause problems is time. Is ntp running? Does the time step every once in a while? On Thu, Aug 31, 2017 at 10:06 PM, John Jason Jordanwrote: > My house is wired with Cat6 ethernet to which everything is connected, > including an HDHomeRun TV tuner (the Connect, not the Extend or the > Prime). The incoming signal is just an over the air antenna. The router > is a D-Link DIR-860L B1 (thanks again, Russell). The router also > supplies wireless, used only by my phone and my laptop, although the > laptop is also wired. > > Everything works perfectly except that the HDHomeRun Config GUI pops up > a 'communication error' message periodically. Sometimes I can go a > couple days without it happening, but this evening it happened three > times, one right after the other. I can recover just by scrolling up or > down in the channel list in the HDHomeRun confit GUI. In other words, > this is a major annoyance, but not a total fail. > > Side note: All my computers are just straight Xubuntu 14.04, up to > date. There is no mythtv installed. All I use to view television on VLC > is the HDHomeRun Config GUI. > > The manufacturer, Silicondust, provides occasional firmware updates. > The latest is dated 8/15/2017 and I have applied it, but there was no > change in the frequency of the errors. > > At the last Clinic I brought up this issue and Tomas suggested setting > up a cron job to ping the HDHomeRun device periodically. After thinking > about it I think that this would accomplish nothing. It would respond > to the ping and several hours later would lose the connection again. > > I could use some suggestions. > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Cheap printer for Raspberry Pi idea
I find that cups will support anything that supplies a ppd file. On the printers at work, we found the ppd file in the mac drivers package for the canon printers. On Sun, Aug 13, 2017 at 9:58 PM, Davewrote: > Thanks Tyrell for that valuable link. I will also take a closer look at > HPLIP with regard to some other printers here. > > I ordered an HP Deskjet 1112 from Amazon for this application. It claims > to have full support for Linux Debian (RPi?) and Mint via USB. For $29 > it's worth a try. :-$. If it works, it should be a perfect small > addition to a stand-alone RPi student learning station. > > -Dave > > > On 8/13/2017 8:47 PM, Tyrell Jentink wrote: > > It's been a while since I plugged in my HP printer... I have one of the > > OfficeJet Pro L7680, stopped using it because I don't print frequently > and > > so Laser printers are better suited to my needs... But when I was > > researching the purchase, I referenced HPLIP, the HP Linux Imaging and > > Printing project: > > http://hplipopensource.com/hplip-web/supported_devices/index.html > > > > The HPLIP project is initiated and led by HP directly, and in my > > experience, they are pretty good about keeping their lists up to date. > > > > I am not fluant in CUPS, and my understanding may be fundamentally > > flawed... But it is my understanding that CUPS only supports a short > list > > of printers directly, but provides a common API for drivers for other > > printers to be written. When it comes to HP printers, I believe the > go-to > > driver is HPLIP, and I believe HPLIP depends on CUPS. > > > > I suspect other printers are supported indirectly in a similar manner, > and > > thus they may not show up on the Pi CUPS list... Even though they are > > indeed supported, potentially out of the box... > > > > > > On Sat, Aug 12, 2017 at 5:38 PM, Dave wrote: > > > >> Hi Tom- > >> > >> Thanks for your thoughts. > >> > >> I have owned a LOT of printers over the years. Starting with an early > >> Centronics in the '70s that sounded like washing machine and cost a > >> fortune! Also had an Epson MX-80 before it was released to the public. . > >> Then wrote the tutorial book that went in the box. 8-). > >> > >> Had a few really good printers over time, but a number of > >> disappointments too. Too many have not worked well with Linux thus my > >> caution here. > >> > >> For this little learning application I just want something that > >> definitely works with the Pi. Am checking the Pi CUPS list here now > >> against the offerings of WalMart, Office Depot, Costco etc and have not > >> found even one that is on the list. Most CUPS listings are for obsolete > >> printers it seems... > >> > >> -Dave > >> > >> > >> > >> On 8/12/2017 5:05 PM, Tom wrote: > >>> I am great fan of HP printers and multifunction devices - because they > >>> just work on Linux (with some rare exceptions). > >>> My current one HP 8600, in the past: HP 3510, HP 1505N, . > >>> Generally, it just prints and also scans with some minor love. > >>> I have also owned Epson C88 (I think) - the printer worked just fine in > >>> Linux - it wasted as much ink as the HP printers, but it would not work > >>> with EU bought ink - which was major pain. > >>> Just look up the printer in CUPS list before buying it - it is trivial > >>> to carry the list in the smart-phone avoiding two trips to store. > >>> If fact, I would not hesitate returning the printer if it would not > >>> work with Linux - it is their problem to solve if they do not bother to > >>> write a statement for Linux users on the box. > >>> I do not expect much from a printer these days 50-100 pages a year - > >>> hence my bias - some years are 3x depending on moves/relocation > >>> WARNING: Customary rant about printers > >>> I hope that I am not starting something bigger by expressing my > >>> opinion: > >>>- there is not such thing as cheap inkjet printer these days due to > >>> ink cost coupled with regular head cleaning cycles. > >>>- I do not print a lot - there have been couple instances that I > have > >>> printed about 20-30 pages per 4x cartridge set due to time passage and > >>> regular cleaning cycles. > >>>- My wife prints a lot (work related) and went trough $150 ink per > >>> month in her cheap ~$60 HP printer. We got expensive, enterprise > >>> printer with low per page cost to fix that. > >>>- Without calculating it - owning reliably functioning inkjet > printer > >>> can costs as much as $80 per year in ink printed or wasted. > >>> Tomas > >>> On Sat, 2017-08-12 at 14:19 -0700, Dave wrote: > I'm looking to buy a a small cheap inkjet printer to dedicate to a > Raspberry Pi. USB connect, no multipurpose, and actually has a driver > in > the CUPS list. Ideas appreciated. > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org >
Re: [PLUG] ENU,Inc R.I.P.
There are some places still around. Iguana Micro for those on the west side. http://www.iguanamicro.com/ Also for bits and pieces - surplus gizmos - http://www.surplusgizmos.com/ On Sun, Aug 13, 2017 at 3:41 PM, Pete Lancashirewrote: > Portland Oregon .. the Black Hole of technology > > On Sun, Aug 13, 2017 at 2:59 PM, Chuck Hast wrote: > > > I was over in Honolulu abt this time last year, needed some parts was > > directed to a place not too far from the seafood plant where I was, > walked > > in and found one of those type of emporiums. Had some in the Tampa Bay > area > > and Orlando (cape surplus stuff) sure miss that. > > > > On Aug 13, 2017 13:57, "Rich Shepard" wrote: > > > > > On Sun, 13 Aug 2017, Edward Koenig wrote: > > > > > > > I really do miss the days browsing the local shops for part to build > my > > > > own boxes. > > > > > >When I had my ham radio license and built my own transmitters and > > > receivers I used to go down to Canal St (NYC) and rummage in the bins > for > > > the resistors, capacitors, switches, vacuum tubes, etc. I needed. No > > > blister > > > packs; buy only what you need. Those days are gone. To a large extent, > I > > > miss them. > > > > > > Rich > > > ___ > > > PLUG mailing list > > > PLUG@lists.pdxlinux.org > > > http://lists.pdxlinux.org/mailman/listinfo/plug > > > > > ___ > > PLUG mailing list > > PLUG@lists.pdxlinux.org > > http://lists.pdxlinux.org/mailman/listinfo/plug > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Raspberry Pi cross compile...
A cross compile setup would run faster. On Aug 11, 2017 6:06 PM, "Michael Christopher Robinson" < mich...@robinson-west.com> wrote: > I have an AMD FX system with 16 gigs of ram running Fedora 26. I want > a Raspberry Pi 3 simulator so I can compile on this machine instead of > the Pi. An hour and a half for opencv is a long time if I don't set > the correct flags on the 1st compile. > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Ethernet connection dropping
Just a note. I found out this week that the DHCP client in Linux eventually times out trying to get a lease. These machines won't recovery without manual intervention unless there is a watchdog set. On Aug 6, 2017 8:32 AM, "Dick Steffens"wrote: > On 08/05/2017 11:56 PM, Russell Senior wrote: > > "Dick" == Dick Steffens writes: > > > > Dick> Two times over the last three days my machine has dropped its > > Dick> Ethernet connection. It doesn't say it's dropped, but I can't see > > Dick> beyond the machine, not even other machines in the house. Using > > Dick> the widget on the top bar on the Ubuntu MATE 16.04 screen I > > Dick> manually drop and then reconnect, and all is well again. > > > > Dick> I've never had this happen on other machines running various > > Dick> versions of Ubuntu. Any ideas on where to look to see why the > > Dick> connection is dropping? > > > > Do you still have a dhcp lease? That is, is there a reasonable ip > > address attached to the interface? Do you have a link? When you say > > "dropped" does that mean to anywhere? Do you have a default route? > > Good questions. Next time it happens I'll check those. And yes, > "dropped" does mean to anywhere. I have two other machines on my desk > that it cannot see. They all go through the same switch to get to the > router. I didn't check both, but I had no trouble getting out to the > Internet with one of them. > > -- > Regards, > > Dick Steffens > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Current state of Linux voice recognition
Actually it is fact. Amateur radio operators and radio to digital voice use a 2k wide bandwidth filter. IRLP project uses 8khz sampling. On Jun 28, 2017 8:51 AM, "Richard Owlett" <rowl...@cloud85.net> wrote: > On 06/28/2017 09:54 AM, Larry Brigman wrote: > > Not really answering your question but providing important facts > > about the domain. > > Human voice frequency range tops out at 8khz. Normal speech is around > > 2-3khz. Any soundcard that samples at 48khz will work just fine. > > That's the theory that's been around "forever". > I'm in possession of a factoid that prompts me to do some research > needing high resolution at high sample rates. > > For more than 60 years I've had significant high frequency hearing loss > in one ear due to repeated ear infections in childhood. Forty years ago > I consulted a major medical center in Boston at the prompting of a RN > friend. The formal diagnosis was "nerve deafness" based on comparing my > tests with headphones and a "bone conduction" setup. I personally > suspect there are also complications attributable to scar tissue on the > eardrum. > > I date from the era when all males attending "land grant institutions" > were required to take two years of ROTC. I planned to take Advanced > ROTC. I barely passed the physical due to my hearing loss. I have > *personal* knowledge that 'high frequency' components are important as I > must use my "good ear" when expecting to understand female speakers. > > If I recall my terminology [and spelling ;] correctly, consider > "sibilants" and "fricatives" [possibly also "full stops"]. > > > > > > On Wed, Jun 28, 2017 at 6:52 AM, Richard Owlett <rowl...@cloud85.net> > wrote: > > > >> Up until about ten years ago, while still using Windows, I was following > >> voice recognition. At that time the only option was commercial product > >> which cost too much and wasn't a good match for my desires at that time. > >> > >> Time has passed and I'm retired. What I'm looking for would be a large > >> vocabulary, single speaker, continuous speech system. The application > >> would be straight text note taking - I'm a slow and lousy typist. > >> > >> I'm already investigating good microphones with good A/D resolution and > >> preferably high sample rate [I've ideas on pre-processing I would like > >> to experiment with]. > >> > >> Can anyone recommend some survey articles &/or competent current > reviews. > >> TIA > > > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Current state of Linux voice recognition
Not really answering your question but providing important facts about the domain. Human voice frequency range tops out at 8khz. Normal speech is around 2-3khz. Any soundcard that samples at 48khz will work just fine. On Wed, Jun 28, 2017 at 6:52 AM, Richard Owlettwrote: > Up until about ten years ago, while still using Windows, I was following > voice recognition. At that time the only option was commercial product > which cost too much and wasn't a good match for my desires at that time. > > Time has passed and I'm retired. What I'm looking for would be a large > vocabulary, single speaker, continuous speech system. The application > would be straight text note taking - I'm a slow and lousy typist. > > I'm already investigating good microphones with good A/D resolution and > preferably high sample rate [I've ideas on pre-processing I would like > to experiment with]. > > Can anyone recommend some survey articles &/or competent current reviews. > TIA > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Reality collides with Linux worldview
Maybe with automount and udev rules it could get set automatically. On Apr 12, 2017 8:39 AM, "Richard Owlett"wrote: > On 04/11/2017 01:13 PM, Richard Owlett wrote: > > On 04/11/2017 12:30 PM, Paul Mullen wrote: > >> On Tue, Apr 11, 2017 at 11:02:37AM -0500, Richard Owlett wrote: > >>> Can fstab cause the partition's owner to 'universal' of group > 'universe'? > >>> NOTE BENE: spelling of 'universal'/'universe' intentional. > >>> > >>> The intention being that *all* users would *AUTOmagically* be members > of > >>> group 'universe'. Would require attention to creating same gid > >>> automatically. > >> > >> FAT-based file systems have no concept of file ownership. The Linux > >> msdos and vfat file systems provide the ability to set static values > >> for user, group, and permissions, though. The "umask" option in your > >> fstab entry is one of them. > >> > >> You can specify the owning user and group by adding the "uid" and > >> "gid" options. If left unset, they default to the user that mounts > >> the partition (root, in your case). Note that the value assigned to > >> these options are the user's and group's numeric identifiers, not > >> their names (e.g., "uid=1000"). > >> > >> You can also specify permission mode masks separately for files and > >> directories, which will eliminate your difficulty with file creation > >> and deletion. (A user must have execute permission for a directory > >> before he can add to or delete from it.) Adding "dmask=022" > >> (resulting in a directory mode of 0755) and "umask=133" (resulting in > >> a file mode of 0644) should suffice. > >> > >> So try changing your fstab entry to this: > >> > >> UUID=E90C-65B4 /media/common vfat auto,exec,rw,flush,uid=YOUR_ > UID_HERE,gid=YOUR_GID_HERE,dmask=022,fmask=133 0 0 > > Based on the man page for mount saying: > > uid=value and gid=value > Set the owner and group of all files. (Default: the uid and gid of > the current process.) > > I experimentally deleted "uid=YOUR_UID_HERE,gid=YOUR_GID_HERE,". > I got something closer to my mental image of how things should work. > It required the partition be manually mounted. > That resulted with the existing files on the partition being "owned" by > the user triggering the mount - a near ideal situation. > HOWEVER :< > I managed to lose that configuration - I THOUGHT I'd saved all my > iterations. > I'll try again tomorrow morning. Right now I've got myself going in > non-productive circles. > > > > > > That worked. > > It raised some questions that I'll have to experiment with. > > Can't just now as I'm leaving for an appointment. > > > >> > >> It's probably safe to remove the "exec" and "flush" options, unless > >> you have specific reasons to include them. > > > > I don't recall why I included exec. > > However flush was explicitly recommended in a "HOWTO" I saw somewhere. > > It specifically aimed at uses with vfat. > > > >> The mount manpage has all > >> of the details on the various options. Search for "Mount options for > >> fat" and "Mount options for vfat". > >> > >> > > > > More later. > > Thanks. > > > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Install Horde from RPMS...
Check the CVE report. They list the distributions affected. What may not be obvious is that RedHat and others regularly backport fixes to their versions. On Apr 6, 2017 10:12 PM, "Michael Christopher Robinson" < mich...@robinson-west.com> wrote: > On Thu, 2017-04-06 at 21:55 -0700, Ali Corbin wrote: > > On Thu, Apr 6, 2017 at 9:44 PM, Michael Christopher Robinson < > > mich...@robinson-west.com> wrote: > > > > > Anyone have tips on installing Horde Webmail edition on a CentOS 7 > > > server via yum? A couple of concerns, the version of php that > > > CentOS 7 > > > uses is old as is the version of apache that CentOS 7 uses. The > > > version of openssl that CentOS 7 uses is old too. I'm concerned > > > about > > > heartbleed among other things. Can you create rpms from pear? > > > > > > > RedHat is good about backporting security fixes into their older, > > stable > > versions of rpms. And then CentOS gets them from them. > > ___ > > How does PHP-5.6.30 compare to the stock PHP in CentOS 7? > Similarly, CentOS 7 does not use the latest openssl. Is > the openssl that CentOS 7 has out of the box safe? > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Problems running WordPress on http://localhost/ - was {Re: Network server and client simultaneously ...}
Those package resources are typical of a remote hosted system and ftp is how you would connect to the remote system. In this case, the book and other instructions just didn't allow for someone that had full console access to the server running wordpress. Pull the modules down and then follow the instructions after the packages are ftp'ed onto the system. On Wed, Mar 29, 2017 at 6:50 AM, Richard Owlettwrote: > On 03/22/2017 11:30 AM, Richard Owlett wrote: > > On 03/20/2017 03:33 PM, wes wrote: > >> you certainly can. simply point your browser (aka HTTP client) at > >> http://localhost. configure apache (aka HTTP server) to serve the > desired > >> website with the virtualhost defined as "localhost" and you should be > good > >> to go. > >> > >> -wes > > > > *ROFL* > > I clicked on the http://localhost above and got a page whose sixth line > > of HTML is " Apache2 Debian Default Page: It works " ;/ > > > > The page includes links which should answer the 2 or 3 dozen questions > > that your post raised. > > Thank you. > > signed > > HHHMRA {He hoot hath much reading ahead} > > > > I was overly optimistic in ways ;< > I'm running Debian Jessie. > There was apparently no problem installing Apache2. > wget and ufw(with defaults) are installed. > I then installed WordPress from the Debian Repository and created "My > first WordPress page". > I'm using _WordPress All-in-One For Dummies_ 2nd Edition (3rd edition on > pre-ordered) as a guide. > Things apparently work, barring operator errors. > > There is an update available for the installed theme. > I am having problems. > > To perform the requested action, WordPress needs to access your web > server. Please enter your FTP credentials to proceed. If you do not > remember your credentials, you should contact your web host. > Hostname > FTP Username > FTP Password > > I enter "localhost/" for Hostname. > I have 2 combinations of Username and Password that I use for my local > experiments. I've tried both. The error message is always: >"Failed to connect to FTP Server localhost/:21" > > > How many errors am I making? > > Have I not installed an FTP related module? > The book mentions three "hosting account management" packages - > cPanel, Plesk, and NetAdmin. Using Synaptic to search the repository > based on those names or the description gives no hits. > > Suggestions please. > TIA > > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Surplus shop -- with equipment racks?
Surplus Gizmos On Mar 26, 2017 6:57 PM, "nat...@sandver.net"wrote: > Hello, > > For any of you familiar with the Seattle area, is there any place in > Portland like Re-PC? I'm particularly looking to get my hands on an > inexpensive full-size, four-post equipment rack, but if there's anywhere > that also carries a weird and wonderful assortment of random old Unix > workstations, network gear, etc., that's always fun to browse and pick up > odd toys from, too. > > Thank you! > > -- > Nathan Sandver > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Seeking opinion on new century link 1G install
On Tue, Mar 7, 2017 at 9:48 PM, John Jason Jordanwrote: > > > I neglected to say that the CenturyLink modem connects to my Netgear > 6250 gigabit router, and from the Netgear to a couple switches that > then connect to my computers, laser printers, and other devices. In > other words, I am not using the router features of the modem. > Check the WAN side of you Netgear router. If it is using 192.168.X.X then you are using both routers since the CenturyLink router is also doing NATing of all your internet traffic - actually dual NAT Netgear and CL. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Job running in background
If you started it with nohup; it will stay running until it exits on its own or is killed. The output of jobs (based on my reading) is local to the running shell. So each window/shell could result in different output. If the shell closes, the jobs list is removed. Current running jobs would receive a SIGHUP when the shell closes. NOHUP causes the shell to not send the signal, just like if disown job_num was issued. These background jobs tend to be monitored by a status file. If you don't have some way to determine how far into the program/data the program has progressed you won't know it has stalled. Putting this in screen or tmux will allow you to come back to the session even if you have totally logged out of the machine. To check the status, login and re-attach to the (still) running session. On Thu, Mar 2, 2017 at 6:22 AM, Rich Shepardwrote: >Knowing that a model would run for a long time I started it last Sunday > at > 8:10 am in the background by appending '&' to the command line. Since then > I > sporadically look at the status of that process ID and see the status as S, > which I understand is interruptible sleep. > >When I check status with 'jobs -l' there's nothing returned so why does > it > continue to display in the process list? > > Rich > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] proc/fs hard link count warning [RESOLVED]
/proc /sys /selinux /cgroups are all pseudo file systems. You do not need to back them up as the kernel will auto-populate them with the needed information. On Sun, Feb 26, 2017 at 6:30 AM, Rich Shepardwrote: > On Sun, 26 Feb 2017, Rich Shepard wrote: > > > How do I correct this? > >This is apparently benign and creading an alias (alias find='find > -noleaf') will do the trick. > >This is the first time I've seen this in 20 years of running linux on > various hardware. That's why I thought it was something needing to be > fixed. > For that matter, it had not appeared on this laptop prior to the installing > the new SSD. > > Rich > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Temperature and Raspberry Pi.
Stratification occurs rapidly if you don't have your ice at all levels of your container. Ice floats, warmer water sinks. On Tue, Jan 17, 2017 at 3:15 AM, Tomwrote: > You will need to calibrate the sensors to get real/absolute > measurements out of these devices, in my experience. > I used them for datalogging and they were +-3C between the three of > them I had. > They were self heating by the read process, so you need to let them > stabilize before calibrating and then read them at the same (slow > > 60s) intervals as when calibrating. > I calibrated them to 0C and 60C, determining offset and scaling for > each of them. Although the thermometers were not very linear to this > simple calibration, they were OK to +- about 1C within the range. > I would highly recommend the Maxim DS18B20 as mentioned in the link by > Chuck if you need something more accurate. They cost under $2 in the > waterproof version. > Hat-down to the analog designers @ Maxim designing them so precise > within this wide temperature and voltage range (±0.5°C Accuracy from > -10°C to +85°C @ Vdd=3-5.5V) <-- the probe + reference + A/D convertor > are at the same hot/cold temperature and at variable voltage for about > $1 per sensor delivered. Amazing, in my opinion. > I hope it helps, Tomas > On Mon, 2017-01-16 at 23:48 -0800, Michael C. Robinson wrote: > > I am using a Raspberry Pi 3 2016 Model B. > > > > I'm trying to use USB TEMPer2 Thermometers to detect the temperature > > of ice water and the temperature of nearly boiling water. I am not > > getting the correct temperatures. > > > > pi@raspbypi:~/project $ cat temper-pi.txt > > http://www.linuxjournal.com/content/temper-pi > > pi@raspbypi:~/project $ > > > > pi@raspbypi:~/project $ lsusb > > Bus 001 Device 010: ID 0c45:7401 Microdia > > Bus 001 Device 009: ID 0c45:7401 Microdia > > Bus 001 Device 008: ID 0c45:7401 Microdia > > Bus 001 Device 007: ID 0409:0058 NEC Corp. HighSpeed Hub > > Bus 001 Device 005: ID 0a81:0205 Chesen Electronics Corp. PS/2 > > Keyboard+Mouse Adapter > > Bus 001 Device 011: ID 0c45:7401 Microdia > > Bus 001 Device 006: ID 0c45:7401 Microdia > > Bus 001 Device 004: ID 0409:0058 NEC Corp. HighSpeed Hub > > Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. > > SMSC9512/9514 Fast Ethernet Adapter > > Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > pi@raspbypi:~/project $ > > > > pi@raspbypi:~/project $ lsusb -t > > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M > > |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M > > |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, > > Driver=smsc95xx, 480M > > |__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M > > |__ Port 1: Dev 6, If 0, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 1: Dev 6, If 1, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 4: Dev 11, If 0, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 4: Dev 11, If 1, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 3: Dev 5, If 0, Class=Human Interface Device, > > Driver=usbhid, 1.5M > > |__ Port 3: Dev 5, If 1, Class=Human Interface Device, > > Driver=usbhid, 1.5M > > |__ Port 4: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M > > |__ Port 1: Dev 8, If 0, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 1: Dev 8, If 1, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 2: Dev 9, If 0, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 2: Dev 9, If 1, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 4: Dev 10, If 0, Class=Human Interface Device, > > Driver=, 1.5M > > |__ Port 4: Dev 10, If 1, Class=Human Interface Device, > > Driver=, 1.5M > > pi@raspbypi:~/project $ > > > > pi@raspbypi:~/project/temper-python $ cat take_temps.bash > > #!/bin/bash > > > > while (true) > > do > > > sudo temper-poll -p > > > sleep 10 > > done > > > > @raspbypi:~/project/temper-python $ ./take_temps.bash > > Found 5 devices > > Device #0 (bus 1 - port 4): 25.1°C 77.1°F > > Device #1 (bus 1 - port 2): 24.1°C 75.3°F > > Device #2 (bus 1 - port 1): 21.5°C 70.7°F > > Device #3 (bus 1 - port 4): 23.8°C 74.9°F > > Device #4 (bus 1 - port 1): 23.2°C 73.8°F > > Found 5 devices > > Device #0 (bus 1 - port 4): 25.1°C 77.1°F > > Device #1 (bus 1 - port 2): 24.1°C 75.3°F > > Device #2 (bus 1 - port 1): 21.5°C 70.7°F > > Device #3 (bus 1 - port 4): 23.8°C 74.9°F > > Device #4 (bus 1 - port 1): 23.2°C 73.8°F > > Found 5 devices > > Device #0 (bus 1 - port 4): 25.1°C 77.1°F > > Device #1 (bus 1 - port 2): 24.1°C 75.4°F > > Device #2 (bus 1 - port 1): 21.5°C 70.7°F > > Device #3 (bus 1 - port 4): 23.8°C 74.9°F > > Device #4 (bus 1 - port 1): 23.2°C 73.8°F > > Found 5
Re: [PLUG] Comcast speed upgrade
Docsis modems will broadcast a request for configuration on initial boot. Think of it like DHCP/bootp configuration for computers. You may get more bandwidth on the outbound than you have now. On Fri, Jan 6, 2017 at 10:38 PM, Denis Heidtmannwrote: > You might ask them "What else are you doing?" > > > -Denis > > On Fri, Jan 6, 2017 at 8:51 PM, Dick Steffens > wrote: > > > An email arrived this afternoon from xfinity (Comcast) telling me that > > they are upping my speed from 75 Mbps to "up to 100 Mbps" after I > > reboot. These are download speeds. They provided directions: > > > > > > 1. > > > > Shut down your computer & > > unplug your modem from the outlet > > > > 2. > > > > Wait 10 seconds, then plug your modem back in > > > > 3. > > > > Wait 30 seconds, then turn your computer back on > > > > > > Before going through that process I ran the test at speedtest.net on two > > machines in the house: > > > > Machine Ping Download Upload > > Wife's Win97 17 ms 91.29 Mbps6.1 Mbps > > My Ubuntu 14.04 20 ms119.02 Mbps6.18 Mbps > > > > I ran mine a second time and got > > > >9 ms119.62 Mbps9.19 Mbps > > > > > > So, without shutting anything down I get better than promised speed on > > my machine, and close to it on my wife's machine. > > > > Is there likely to be any change if I shut down my router, their cable > > modem, and start them back up? > > > > -- > > Regards, > > > > Dick Steffens > > > > ___ > > PLUG mailing list > > PLUG@lists.pdxlinux.org > > http://lists.pdxlinux.org/mailman/listinfo/plug > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Remote GUI access to an Ubuntu machine
>From ssh man page. -Y Enables trusted X11 forwarding. Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls. On Tue, Dec 6, 2016 at 5:37 PM, Michael Barnes <barnmich...@gmail.com> wrote: > -Y ? That's a new one on me. More info, please. > > Thanks, > Michael > > > On Dec 6, 2016 10:45, "Larry Brigman" <larry.brig...@gmail.com> wrote: > > The simplest solution is to add -X or -Y to your ssh line and then launch > the program from the command line. > > On Dec 6, 2016 10:20 AM, "Dick Steffens" <d...@dicksteffens.com> wrote: > > > What's the word I need to search on for a tool to connect to a remote > > Ubuntu machine and have access to the GUI? > > > > I already SSH into the machine for one task I need to do. But sometimes > > I need to run a program on it that requires a GUI. I recall that there > > are such tools, but don't recall the names. > > > > The remote box runs MythTV. I'm no longer using it to drive a TV, but > > just for viewing the schedule. I can always get out a monitor and hook > > it up, but for the few times I need to run the front end program, it > > would be easier to do it from another machine. > > > > -- > > Regards, > > > > Dick Steffens > > > > ___ > > PLUG mailing list > > PLUG@lists.pdxlinux.org > > http://lists.pdxlinux.org/mailman/listinfo/plug > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Remote GUI access to an Ubuntu machine
The simplest solution is to add -X or -Y to your ssh line and then launch the program from the command line. On Dec 6, 2016 10:20 AM, "Dick Steffens"wrote: > What's the word I need to search on for a tool to connect to a remote > Ubuntu machine and have access to the GUI? > > I already SSH into the machine for one task I need to do. But sometimes > I need to run a program on it that requires a GUI. I recall that there > are such tools, but don't recall the names. > > The remote box runs MythTV. I'm no longer using it to drive a TV, but > just for viewing the schedule. I can always get out a monitor and hook > it up, but for the few times I need to run the front end program, it > would be easier to do it from another machine. > > -- > Regards, > > Dick Steffens > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] MURPHY's LAW????? - was [Re: Coercing sane file permissions]
On Wed, Nov 23, 2016 at 4:52 AM, Richard Owlett <rowl...@cloud85.net> wrote: > On 11/22/2016 6:41 PM, Larry Brigman wrote: > > On Sun, Nov 20, 2016 at 12:31 PM, Richard Owlett <rowl...@cloud85.net> > > wrote: > . > My universe consists of a single laptop intentionally isolated > from any network. > > Even when you don't have any external networking Linux Inter-Process Communications uses networking of some fashion. Unix Sockets. Dbus. If you use virtual machines on your Laptop for testing, it uses networking for internal networks (all isolated from the outside world of course). ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] MURPHY's LAW????? - was [Re: Coercing sane file permissions]
Screen doesn't need to be networked. It is a terminal multiplexer with lots of options; one being logging. The conference just introduced me to the tool and an example usage. Soon as I mentioned it at work, there were multiple people saying, I've used it in the past and didn't know it was ported to Linux. On Wed, Nov 23, 2016 at 4:52 AM, Richard Owlett <rowl...@cloud85.net> wrote: > On 11/22/2016 6:41 PM, Larry Brigman wrote: > > On Sun, Nov 20, 2016 at 12:31 PM, Richard Owlett <rowl...@cloud85.net> > > wrote: > > > >> . > >> > >> Is there a standard log file that will record *ALL* operator > >> "GUI" *OR* "command line" actions *AND* the system's response? > >> > >> I've the time but am short on test procedure design skills. > >> > > > > The closest thing to your request that is standard would be enabling > > auditd on your system. > > It won't capture the responses but will capture the command line > operations. > > https://packages.debian.org/jessie/auditd pointed to > http://people.redhat.com/sgrubb/audit/ > That link led in many directions. As its motivation is logging > for security concerns such as intrusion detection, it is > overkill. I'm still looking for appropriate introductory > material. One blog under the heading "Auditing goals" lists one > as "Record commands used by individual users". Its example was > not relevant but did demonstrate my goal is reasonable. > > The little I've read so far gives hints of how to better define > my goals. > First I need a cup of coffee ;/ > > > > > To capture both command line and responses you will need a recorder of > some > > type. The simplest that is included by default is script. That normally > > requires an invocation on the command line but I guess it could be > started > > from a login. > > I've used script. It's not a good fit. > > > > > Something I learned from a conference. The Chicago Mercitile Exchange > > requires everyone working on production machines to login through a set > of > > bastion host machines. These > > are the only ones that can reach the production machines. They are > > configured to run 'screen' to capture everyone session. This is only for > > ssh access though. > > My universe consists of a single laptop intentionally isolated > from any network. > > Thank you. > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] MURPHY's LAW????? - was [Re: Coercing sane file permissions]
On Sun, Nov 20, 2016 at 12:31 PM, Richard Owlettwrote: > . > > Is there a standard log file that will record *ALL* operator > "GUI" *OR* "command line" actions *AND* the system's response? > > I've the time but am short on test procedure design skills. > > The closest thing to your request that is standard would be enabling auditd on your system. It won't capture the responses but will capture the command line operations. To capture both command line and responses you will need a recorder of some type. The simplest that is included by default is script. That normally requires an invocation on the command line but I guess it could be started from a login. Something I learned from a conference. The Chicago Mercitile Exchange requires everyone working on production machines to login through a set of bastion host machines. These are the only ones that can reach the production machines. They are configured to run 'screen' to capture everyone session. This is only for ssh access though. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] awk vs. gawk
I suspect that they are supplied by the same package. Awk would be compiled with the --traditional option as embedded default. Gawk can revert to that mode when supplying that option on the command line. On Nov 18, 2016 8:21 AM, "Rich Shepard"wrote: I was curious whether awk is a soft link to gawk on my Slackware systems so I checked. They are two separate binaries. Since awk is apparently not the same as gawk, what version of awk does it represent? It's interesting that 'man awk' displays the gawk man page. A curious mind wants to know, Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Clarifying -- Re: Permissions for an entire PARTITION
The reason you can do some of this with USB and optical is that these are devices that don't show up until they are inserted and are handled with hot-plug/udev settings. People have specific use cases that lots of people want. It gets written and refined by the community. It's possible to do what you want but you will need to write a wrapper script around mount where it does the mount of the device gets the metadata that you want from the partition and then decide what options that you really wanted to mount the device like. Until you have the script and the metadata file format, you will be editing udev rules to achive what you want. On Thu, Nov 10, 2016 at 6:09 AM, Richard Owlettwrote: > On 11/9/2016 6:13 PM, Tom wrote: > > I am afraid that what you want to do cannot be done: > > * access control at physical partition/disk level cannot be done. > >Maybe in newest NTFS versions, but that is not a Linux realm > > I've come close for the case of a USB flash drive - facilitate by > Debian's treatment of removable devices. > I should be able to come closer with socalled rewritable optical > media, but I don't have appropriate facilities. > > Hints of my mindset ate in > https://lists.debian.org/debian-user/2016/11/msg00361.html FWIW ;/ > Thank you. > > > > > * you could control access to disk at BIOS boot time by setting HDD > > password, though I suspect that it is not quite what you want. > > > > You can control access via: > > * user/groups at mount point for physical partitions/drives > > * encryption keys at block level on mount time - this can be done for > > partitions as well as storage containers (encrypted file containig file > > system such as home dir) > > * user/groups and/or netgroups at access level to a networked storage > > such as SMB/CIFS or NFS+Kerberos > > > > Alternatively you could use Virtual Machines to achieve the > > disk/partition isolation. > > > > Please feel free to correct me, if I forgot/omitted some new/old way of > > controlling block access storage. > > > > Good luck, Tomas > > > > On Wed, 2016-11-09 at 09:48 -0600, Richard Owlett wrote: > >> On 11/7/2016 6:20 AM, Richard Owlett wrote: > >>> > >>> My primary use case is a laptop: > >>> 1. purchased explicitly for use as a test bed. > >>> 2. whose HD has been erased multiple times in ONE day. > >>> 3. is isolated from ANY network. > >>> 4. has multiple installs of Debian, primarily classed as: > >>> a. a full GUI install - what one would get choosing all > >>>installer defaults. > >>> b. a GUI install limited to the tools I use routinely. > >>> c. an install oriented to whatever my current experiment > >>> needs. > >>> 5. has 2 classes of "DATA Partitions": > >>> a. those which UID 1000 may mount without entering any > >>>password. > >>> b. those which *ANY* user may mount only by using root > >>>password. > >>> [deleting paragraph which "muddied" the waters ;] > >> > >> Consider a machine with a single hard drive with vast unused > >> space on it. > >> I wish to create two classes of partitions: > >> One class would require root privileges &/or appropriate > >> fstab entry to mount. > >> [i.e. current default behavior] > >> A new "thingy" [explicitly avoiding calling it a partition ;] > >> > >> This "thingy" would have metadata within itself identifying who: > >> 1. may *NOT* mount it at all. > >> 2. mount it *READ ONLY* > >> 3. may mount it read/write with access determined by > >> individual file permissions. > >> > >> I'm beginning to suspect a variation of LVM might be relevant. > >> Haven't found appropriate docs yet. > >> > >> I'm doing some experiments with USB flash drives that show > >> potential for illustrating effects I desire. They are *EXPLICITLY > >> UNSUITABLE* for my application as they are removable devices! > >> > >> Any clearer than my first try? > >> > >> > >> > >> > >> > >> > >> ___ > >> PLUG mailing list > >> PLUG@lists.pdxlinux.org > >> http://lists.pdxlinux.org/mailman/listinfo/plug > > ___ > > PLUG mailing list > > PLUG@lists.pdxlinux.org > > http://lists.pdxlinux.org/mailman/listinfo/plug > > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Enabling bi-directional ssh
I would first try doing ssh to each host locally and see if that works. On Nov 8, 2016 3:36 PM, "Rich Shepard"wrote: > On Tue, 8 Nov 2016, Paul Mullen wrote: > > > Manually running ssh-agent will start up another process, but it won't > > export any environment variables. You have to do that yourself. > >True. > > > (This is unnecesssary if an ssh-agent process was already started > > automatically at login, either via an X display manager or > > ~/.bash_profile.) > >And why it's not automatically started at login, from ~/.bash_profile, > is > another issue needing resolution. > > > Since you don't have any ssh environment variables set on your typha > > login, kill any existing ssh-agent processes that belong to you (`killall > > ssh-agent`) and start a fresh process. This time, run `eval > $(ssh-agent)`. > > It should only output a single line, "Agent pid ". Now, you should > > have environment variables set. Verify with `env | grep SSH`. > >Done. > >Still cannot connect since ssh tells me there's no identity file > id_ed25519 which does exist. Quite puzzling ... to me, at least. > > Thanks, Paul, > > Rich > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Enabling bi-directional ssh
Normally the sshd start up script generates the host keys. This should be automatic for system installs. On Nov 7, 2016 11:28 AM, "Rich Shepard"wrote: > On Sun, 6 Nov 2016, Rich Shepard wrote: > > > On the server/workstation and a portable ~/.ssh has 700 perms while the > > authorized_keys, known_hosts, and *.pub key files in that directory have > 644 > > perms; the others are 600. > >I've identified the problem and am working on finding the solution. It > turns out that on the portable, the ssh_host* keys are empty files. That's > why sshd does not start when the system is booted or root tries to start > it. > >My Web searchers discuss using ssh-keygen to create user keys. I just > re-generated the keys on the portable using > ssh-keygen -t ed25519 > and it recreated ~/.ssh/id_ed25519, ~/.ssh/id_ed25519.pub, and > ~/.ssh/known_hosts. But /etc/ssh/ still has private and public key files > with 0 bytes. > >Still looking ... > > Rich > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Specifying white space as delimiter for 'cut'
Looking at the info on cut, you cannot do it in a single command. You would need to use sed. or tr with a pipe On Mon, Nov 7, 2016 at 8:01 AM, Larry Brigman <larry.brig...@gmail.com> wrote: > Woops extra $ in the script. > ls -l | awk '{print $1 $NF;}' > > > On Mon, Nov 7, 2016 at 8:00 AM, Larry Brigman <larry.brig...@gmail.com> > wrote: > >> Try using awk >> ls -l | awk '{print $1 $$NF;}' >> >> Note if the file timestamp (creation or modification) is over a year old >> it changes and the output may not have 9 columns then. >> >> On Mon, Nov 7, 2016 at 7:47 AM, Rich Shepard <rshep...@appl-ecosys.com> >> wrote: >> >>>I tried using cut to list permissions and filenames from a directory >>> listing, example: >>> >>>ls -l | cut -d"\b" -f 1,9 > temp.txt >>> >>> but the delimiter is more than a single character. Using -d " " for the >>> delimiter does not work as there are more than a single space separating >>> fields, and the white space is not uniformly a tab. >>> >>>The man page and results from my web searches haven't shown me how to >>> correctly specify the delimiter. >>> >>>Here's an example listing from ~/; >>> >>> $ ls -l | head >>> >>> -rw-r--r-- 1 rshepard users 14 Nov 5 08:30 CURRENTIP >>> drwxrwxr-x 2 rshepard users 4096 Nov 8 2010 Desktop/ >>> drwx-- 2 rshepard users 4096 Oct 18 2014 Downloads/ >>> drwx-- 8 rshepard users 4096 Nov 7 05:39 Dropbox/ >>> drwxr-xr-x 2 rshepard users 4096 Jul 6 08:31 News/ >>> drwxrwxr-x 44 rshepard users 4096 Nov 4 10:47 R/ >>> -rw-r--r-- 1 rshepard users 2569555 Oct 31 16:29 rue2009.pdf >>> -rw-r--r-- 1 rshepard users14052 Dec 4 2015 UTF-8-demo.txt >>> -rw-r--r-- 1 rshepard users 1318075 Oct 25 10:16 al-rawas2011.pdf >>> >>> and I want to extract fields 1 and 9. >>> >>> TIA, >>> >>> Rich >>> >>> >>> ___ >>> PLUG mailing list >>> PLUG@lists.pdxlinux.org >>> http://lists.pdxlinux.org/mailman/listinfo/plug >>> >> >> > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Specifying white space as delimiter for 'cut'
Woops extra $ in the script. ls -l | awk '{print $1 $NF;}' On Mon, Nov 7, 2016 at 8:00 AM, Larry Brigman <larry.brig...@gmail.com> wrote: > Try using awk > ls -l | awk '{print $1 $$NF;}' > > Note if the file timestamp (creation or modification) is over a year old > it changes and the output may not have 9 columns then. > > On Mon, Nov 7, 2016 at 7:47 AM, Rich Shepard <rshep...@appl-ecosys.com> > wrote: > >>I tried using cut to list permissions and filenames from a directory >> listing, example: >> >>ls -l | cut -d"\b" -f 1,9 > temp.txt >> >> but the delimiter is more than a single character. Using -d " " for the >> delimiter does not work as there are more than a single space separating >> fields, and the white space is not uniformly a tab. >> >>The man page and results from my web searches haven't shown me how to >> correctly specify the delimiter. >> >>Here's an example listing from ~/; >> >> $ ls -l | head >> >> -rw-r--r-- 1 rshepard users 14 Nov 5 08:30 CURRENTIP >> drwxrwxr-x 2 rshepard users 4096 Nov 8 2010 Desktop/ >> drwx-- 2 rshepard users 4096 Oct 18 2014 Downloads/ >> drwx-- 8 rshepard users 4096 Nov 7 05:39 Dropbox/ >> drwxr-xr-x 2 rshepard users 4096 Jul 6 08:31 News/ >> drwxrwxr-x 44 rshepard users 4096 Nov 4 10:47 R/ >> -rw-r--r-- 1 rshepard users 2569555 Oct 31 16:29 rue2009.pdf >> -rw-r--r-- 1 rshepard users14052 Dec 4 2015 UTF-8-demo.txt >> -rw-r--r-- 1 rshepard users 1318075 Oct 25 10:16 al-rawas2011.pdf >> >> and I want to extract fields 1 and 9. >> >> TIA, >> >> Rich >> >> >> ___ >> PLUG mailing list >> PLUG@lists.pdxlinux.org >> http://lists.pdxlinux.org/mailman/listinfo/plug >> > > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Specifying white space as delimiter for 'cut'
Try using awk ls -l | awk '{print $1 $$NF;}' Note if the file timestamp (creation or modification) is over a year old it changes and the output may not have 9 columns then. On Mon, Nov 7, 2016 at 7:47 AM, Rich Shepardwrote: >I tried using cut to list permissions and filenames from a directory > listing, example: > >ls -l | cut -d"\b" -f 1,9 > temp.txt > > but the delimiter is more than a single character. Using -d " " for the > delimiter does not work as there are more than a single space separating > fields, and the white space is not uniformly a tab. > >The man page and results from my web searches haven't shown me how to > correctly specify the delimiter. > >Here's an example listing from ~/; > > $ ls -l | head > > -rw-r--r-- 1 rshepard users 14 Nov 5 08:30 CURRENTIP > drwxrwxr-x 2 rshepard users 4096 Nov 8 2010 Desktop/ > drwx-- 2 rshepard users 4096 Oct 18 2014 Downloads/ > drwx-- 8 rshepard users 4096 Nov 7 05:39 Dropbox/ > drwxr-xr-x 2 rshepard users 4096 Jul 6 08:31 News/ > drwxrwxr-x 44 rshepard users 4096 Nov 4 10:47 R/ > -rw-r--r-- 1 rshepard users 2569555 Oct 31 16:29 rue2009.pdf > -rw-r--r-- 1 rshepard users14052 Dec 4 2015 UTF-8-demo.txt > -rw-r--r-- 1 rshepard users 1318075 Oct 25 10:16 al-rawas2011.pdf > > and I want to extract fields 1 and 9. > > TIA, > > Rich > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] source code browse/analyze
Anything that has ctags or cscope support is recommended. On Nov 4, 2016 3:48 PM, "Galen Seitz"wrote: > Hi, > > I'm about to start going through about 24000 lines of C spaghetti code. > The code is spread across 24 source and include files. I'm considering > installing source navigator to help me wade through it, but I'm curious > as what other tools people might recommend. > > thanks, > galen > -- > Galen Seitz > gal...@seitzassoc.com > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] unexpected perl dependencies
I suspect that you are getting the the autodepends and it is finding something in the list that it thinks should be there. You should try adding AutoReqProv: no and rebuilding again. On Wed, Oct 5, 2016 at 7:07 PM, Galen Seitzwrote: > Hi, > > I'm encountering dependency problems while trying to install an rpm > package that I built. The program is rsnapshot, which is a perl program > similar to dirvish. > > I've got it working under CentOS 6 and Ubuntu 16.04 (using alien), but > I'm having problems with CentOS 5 due to missing dependencies. The rpm > I built under CentOS 5 has the following problematic dependencies. As > far as I know, these dependencies are not readily available under CentOS > 5. I could build them if that's really necessary, but I have my doubts > as to whether they are legit. > > perl(DBI) > perl(Data::Dumper) > perl(XML::Simple) > perl(XML::Validator::Schema) > > I've searched the rsnapshot code looking for something that mentions DBI > or XML, but they don't appear in the code. They do not appear in the > spec file either. Also, the rsnapshot README says "It is written > entirely in perl with no module dependencies". I'm not sure whether to > believe that or not. > > Does anyone have an idea about what might be causing these dependencies > to be listed in the package? > > > Here's the spec file I'm using, sans the changelog stuff. > > Name: rsnapshot > Version:1.4.2 > # tarball filename and resulting directory contains hyphen between the > # number representing the number of commits since the tag and the > # commit hash. rpm doesn't allow hyphens in the version or release. > # Deal with this by using just the 'commits since tag' for the release > # number. > %define commit_count 11 > %define commit_hash g02a2845 > Release:%{commit_count}.2 > Summary:Backup program using hardlinks > License:GPL-2.0+ > Group: Productivity/Archiving/Backup > Url:http://www.rsnapshot.org/ > Source0:%{name}-%{version}-%{commit_count}-%{commit_hash}.tar.gz > Source1:rsnapshot.logrotate > Source2:rsnapshot.cron > #Patch1: rsnapshot-config.patch > BuildRequires: logrotate > BuildRequires: openssh > BuildRequires: perl > BuildRequires: rsync > Requires: logrotate > Requires: openssh > Requires: perl > Requires: perl-Lchown > Requires: rsync > BuildRoot: %{_tmppath}/%{name}-%{version}-build > BuildArch: noarch > %if 0%{?suse_version} >= 1320 > BuildRequires: util-linux-systemd > Requires: util-linux-systemd > %endif > > %description > rsnapshot is a filesystem snapshot utility for making backups of local > and remote systems. Using rsync and hard links, it is possible to keep > multiple, full backups instantly available. The disk space required is > just a little more than the space of one full backup, plus > incrementals. Depending on your configuration, it is quite possible to > set up in just a few minutes. Files can be restored by the users who > own them, without the root user getting involved. There are no tapes to > change, so once it's set up, you may never need to think about it > again. > > %prep > %setup -q -n %{name}-%{version}-%{commit_count}-%{commit_hash} > #%patch1 > > %build > # replace hardcoded /usr/local > #find . -type f -exec sed -i "s|usr/local|usr|g" {} + > %configure > make %{?_smp_mflags} > > %check > make %{?_smp_mflags} test > > %install > make DESTDIR=%{buildroot} install %{?_smp_mflags} > install -d "%{buildroot}/%{_sysconfdir}" > mv "utils/rsnapreport.pl" "%{buildroot}/%{_bindir}/rsnapreport" > chmod 755 "%{buildroot}/%{_bindir}/rsnapreport" > #install -m 644 rsnapshot.conf.default > "%{buildroot}/%{_sysconfdir}/rsnapshot.conf.default" > #install -m 600 rsnapshot.conf.default > "%{buildroot}/%{_sysconfdir}/rsnapshot.conf" > mv "%{buildroot}/%{_sysconfdir}/rsnapshot.conf.default" > "%{buildroot}/%{_sysconfdir}/rsnapshot.conf" > install -m 644 -D %{S:1} "%{buildroot}/%{_sysconfdir}/ > logrotate.d/rsnapshot" > install -m 644 -D %{S:2} "%{buildroot}/%{_sysconfdir}/cron.d/rsnapshot" > > %files > %defattr(-,root,root) > %doc AUTHORS COPYING ChangeLog README.md > %doc rsnapshot.conf.default > %doc utils/ > %{_bindir}/rsnapshot > %{_bindir}/rsnapshot-diff > %{_bindir}/rsnapreport > %config(noreplace) %{_sysconfdir}/rsnapshot.conf > %config(noreplace) %{_sysconfdir}/logrotate.d/rsnapshot > %config(noreplace) %{_sysconfdir}/cron.d/rsnapshot > %{_mandir}/man1/rsnapshot.1.gz > %{_mandir}/man1/rsnapshot-diff.1.gz > > > galen > -- > Galen Seitz > gal...@seitzassoc.com > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Arduino issue
You should be able to look at the library function and confirm his claims. One byte writes to any flash device would be really slow as the block size on a flash device is at least 512 bytes most of the time one, larger like 2048 or 4096. So the device will be doing a read, modify write until the whole block gets replaced. Writing the whole block in one pass, will greatly speed up the process. On Mon, Sep 26, 2016 at 6:15 PM, Denis Heidtmannwrote: > I found this: > http://forum.arduino.cc/index.php?topic=49649.0 > > I do not claim to understand it, but he says that what I am doing is super > slow. Maybe that is what is gumming up the works. I will try his > suggestion (blindly) and see what happens. I note that the post is almost > 6 years old, so maybe it no longer applies, but I can give it a try. I had > assumed that my code used the buffer on the card, but he says that print > does not. > > -Denis > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Possible reasons why tarball creation would fail
Tar is using a temp file as it is doing the compression. It needs to store it someplace - one of the three tmp directories most likely /tmp. On Mon, Sep 26, 2016 at 6:00 AM, Rich Shepard <rshep...@appl-ecosys.com> wrote: > On Sun, 25 Sep 2016, Larry Brigman wrote: > > > Running out of space on the /tmp mount point? > > Larry, > >I don't understand. The source partition is ~/ and the destination > partition is /mnt/hd. Is /tmp used in the transfer? If so, then running out > of space there is possible. > > Thanks, > > Rich > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Possible reasons why tarball creation would fail
Running out of space on the /tmp mount point? On Sep 25, 2016 5:11 PM, "Rich Shepard"wrote: >Prior to upgrading the OS version on my Dell E5410 laptop I tried to > backup everything in ~/ to a 2.7T external hard drive with 22M of data on > it. After deleting cruft from ~/ du -sh told me my home directory contained > 40G of data. > >With /mnt/hd/caddis/ (the laptop's host name) as the pwd I entered the > command: >tar czvf caddis-home-2016-09-24.tgz /home/rshepard/ > > The system churned away for a long time (I didn't time it, but it would > have > been more than a coffee break in length) and finally exited with an error > message about exiting after prior errors occurred. Tried this again with > the > same results. > >What might cause such a response? > > Rich > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Learning Linux Sys Admin & Linux/Open Source tools
I found a couple of things recently that might be of use. http://devopsbootcamp.osuosl.org/ http://tfitch.com/automation-tools-bootcamp/vagrant.html I got these from an Open Spaces session at DevOps Days PDX. I've looked at both of their lists and it covers most of the things that I use just about every day in my work with my development team. On Wed, Aug 31, 2016 at 4:07 PM, Rich Shepardwrote: > On Wed, 31 Aug 2016, Mike C. wrote: > > > There's a few rubs here that I'll enumerate for contemplation / > > conversation sake. > > > 2. There's a really big communication gap to be bridged between a resume > / > > cover letter and the hiring manager that usually includes HR, recruiters > > and poorly written job descriptions that are based on "what you're good > > at" now and not on "how you can learn, change, grow and contribute to the > > company in the future." > > Mike, > >You have no control over poorly written job descriptions. Just ask the > contractors Portland hired for huge software projects! But, you do have > control over how you approach finding a job that fits you like custom > shoes. > >The cover letter has one purpose: to get the recipient to read your > resume. That's all. > >Your resume has only one purpose: to get invited to an interview. > >At the interview -- with the technical folks with whom you'll work -- > you > have the opportunity to probe for what they think they need and how you'll > fit in the corporate culture. I offer no ideas on dealing with HR folks as > I've never had to do so. > > > Over my 15 years of working in the IT field, I've seen a reluctance of > > companies to invest in employees and build customized systems and > software > > in-house to meet a businesses needs. > >That's really unfortuate and can limit the business' future. In the > mid-1980s I was developing dBASE III and Paradox applications for > businesses > who did not want to change how they did business to fit what the > shrink-wrapped packages did. For example, a gas station that sold fuel by > the 10th of a gallon but purchased it by the gallon. No available > accounting > software accommodated that. Another client was a fabric store that bought > by > the bolt but sold by the 1/3rd of a yard. > > > It's a different world now, especially in Portland. where Linux oriented > > jobs are being driven by software development companies. Great for Linux! > > Difficult for ol' school Linux SysAdmin folks who love and appreciate > > Linux and want to be able to make a living working with it. > >But, there probably are many SME (small-to-medium size enterprises) who > would value your knowledge and experiences. Pardon the cliche, but think > outside your experiences. Next month there's a Networking After Work > meeting > that might be worth the money for you to attend. Why? Because the couple I > went to last year were filled with folks from hotels, restaurants, law > firms, and other retail-facing businesses. None prospective clients for me, > but they might be a target for your job search. > > HTH, > > Rich > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Rsync user confusion: Who is user 1026?
You cannot change ownership of mounted filesystems. That must be done from the remote end. Only the contents can be modified when you have permissions. You will probably need to figure out what the expected options are on the NFS mount command. We mount our NAS at work as remote home directories. We have this long line of options. I suspect some (but not all) of these will apply. Output of mount with no options (and only my remote home directory being shown): bilbo.arrs.arrisi.com:/vol/users/users/lbrigman/private on /users/lbrigman type nfs (rw,nosuid,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.109.0.189,mountvers=3,mountport=4046,mountproto=udp,local_lock=none,addr=10.109.0.189) showmount only shows the exported mount points not the permissions of the mount. sudo showmount -e 10.109.0.189 Export list for 10.109.0.189: /vol/departments (everyone) /vol/cifs_01 (everyone) /vol/isos(everyone) /vol/vm_align01 10.109.80.0/23,10.109.86.0/24 /vol/cvinstall (everyone) /vol/vol0/home (everyone) /vol/vol0austria.arrisi.com,highlands.arrisi.com /vol/export2 (everyone) /vol/data_arwen (everyone) /vol/vm_isos 10.109.80.0/23,10.109.86.0/24 /vol/maupin2 (everyone) /vol/users (everyone) Notice that the actual mount point is not the exported mount point but a directory further in the tree. Here is my actual mount command: mount -t nfs -o rw,nosuid,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.109.0.189,mountvers=3,mountport=4046,mountproto=udp,local_lock=none,addr=10.109.0.189 bilbo.arrs.arrisi.com:/vol/users/users/lbrigman/private /users/lbrigman Note the above command is a single long line. On Mon, Jul 11, 2016 at 7:44 PM, John Jason Jordanwrote: > On Mon, 11 Jul 2016 19:05:46 -0700 > Don Buchholz dijo: > > > > >I think you're really close ... > > > >(1) > > sudo mount -t nfs > > 192.168.0.101:*/*volume1/Synology /media/jjj/Synology > > > >... that little "/" in front of 'volume1' could be important. > > You may be onto something here. First, I thought the : was the proper > divider, and when I replaced it with the / I got something interesting > (see below). Then I added both, i.e., :/ and the command executed > without error. It's finally mounted!! > > But all is not completely well, because I can't > access /media/jjj/Synology. Here is what I did: > > sudo mount 192.168.0.101/volume1/Synology /media/jjj/Synology > mount: special device 192.168.0.101/volume1/Synology does not exist > > sudo mount 192.168.0.101:/volume1/Synology /media/jjj/Synology > > But all is not well: > cd /media/jjj/Synology/ > bash: cd: /media/jjj/Synology/: Permission denied > > ls -la > d-26 root root 81920 Jul 10 18:38 Synology > > Aargh! Now the /media/jjj/Synology folder is owned by root again, the > same as happened when I mounted the share with SMB. Except this time > note all the missing permissions, which didn't happen when I mounted it > with SMB. > > I was able to change ownership to jjj with 'sudo chown,' which is > also different from the SMB experience. Mounted with SMB the folder was > owned by root and I was not able to take ownership, even after sudo su. > On the other hand I could see all the files and act on them, it's > just that they were all owned by the mysterious user 1026, thus rsync > was not able to transfer ownerships from the source files. > > I suppose I could also change the permissions here with chmod. But the > greater question is why is this even happening? > > In any event, thanks for the breakthrough insight! Finally a shred of > progress! > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] NOT QUITE SOLVED Re: Rsync to a NAS drive
Sorry. There are reasons for multiple mounts. Bind for one. On Jul 9, 2016 7:48 PM, "John Jason Jordan"wrote: > On Sat, 9 Jul 2016 19:08:40 -0700 > Bill Barry dijo: > > >> Whew! Hooray! > >> > >> Now on to trying to figure out rsync. > > >Excellent! Next time maybe try --diplomatic before --force. > > Even better, next time try not stupidly mounting the filesystem > twice. :) > > That might be a good feature request for mount. If the filesystem is > already mounted someplace, don't allow it to be mounted again, with an > error message to umount the other one first. > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Limiting memory to a program
We had an issue similar to this. We called it the vi of death. Since the boxes we were on didn't have swap, opening a very large file could consume all of available memory, invoking oom killer. We put these in a cgroup with a memory limit using cgexec. The group needs to be created in advance but it won't partition that memory usage until a process is placed in the group. On Jul 7, 2016 12:16 PM, "Tim Wescott"wrote: > I have a program (Scilab), which occasionally decides that it's hungry > and wants to eat lots and lots of memory. This seems to be dependent on > what code I'm running (Scilab includes an interpreted data-analysis > language). > > Something about the way that Ubuntu is set up lets it use up so much > memory that it bogs down my computer to the point where I need to do a > hard reboot. I think that it's hitting swap so hard that the normal > rationing of processor time to processes is hijacked by memory > availability. > > Once I'm done rattling the appropriate bars at Scilab.org with a bug > report, is there a way to launch a program under Linux that limits its > memory access, either by total amount or in a way that'll throttle down > just that program when it goes to swap? > > -- > > Tim Wescott > www.wescottdesign.com > Control & Communications systems, circuit & software design. > Phone: 503.631.7815 > Cell: 503.349.8432 > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Creating a home network
Remember he is in outer Missouri, not Portland metro. On May 11, 2016 10:13 AM, "Keith Lofstrom" <kei...@kl-ic.com> wrote: > On Wed, May 11, 2016 at 07:51:45AM -0700, Larry Brigman wrote: > > All of 1) can be handled by a network switch. Network switches can be > > chained together to allow more connections. > > Surplus stores. Plenty of perfectly good 10/100 8 port > (even 24 and 32 ports) switches out there, replaced by > gigabit switches. There's a whole shelf of them at > ecoBinary in Beaverton. For my own office, I scored a > 32 port gigabit switch with a broken power supply that > I knew how to fix. > > I use the huge bandwidth for backups every night, but > normal users less obsessive about backup can easily > get by with 100 mbps. > > Keith > > -- > Keith Lofstrom kei...@keithl.com > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Creating a home network
All of 1) can be handled by a network switch. Network switches can be chained together to allow more connections. 2) and 3) now required a wireless router something like the one I am using ASUS RT-AC66R. It has two USB ports and the option to handle alternate routing for a 3/4G modem. You can turn off the wifi. If you only have four computers you could just get the ASUS device and be done but the temporary devices would be over the four port limit of the router. On Wed, May 11, 2016 at 4:15 AM, Richard Owlettwrote: > An underlying question: What should I be reading? > > I wish a blackbox which: > > 1. Connects 4 local machines via Ethernet [WiFi shall *NOT* be > considered] > A. A desktop with WinXP and multiple versions of Debian > B. A laptop with WinXP Pro SP3 whose reason for existence is > running SeaMonkey. >Historically it is/was my primary machine. Its future is > as a portable. > C. A laptop dedicated to Linux experiments. I have erased the > HDD as many as >ten times in one week ;/ > D. Misc temporarily connected laptops. > 2. It shall provide multiple USB ports in order that a selection > of flash dives > and a 1 TB HDD can be accessed by any machine. > 3. It *SHALL* connect to the internet via a T-Mobile 4G Hotspot > Z915 connected > via USB. The WiFi features have been disabled. I really > wanted a USB cell network > modem. The local T-Mobile outlet was only vendor that didn't > try assaulting me with > their 'smartphone-du-jour' with an atrociously large data > plan. this connection > shall be protected by a firewall. > > How broke will I be? > TIA > > > > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Survey: what make/model router do you use at home?
On Tue, Dec 22, 2015 at 6:40 PM, Russell Seniorwrote: > > > 1) what is the make/model of the wifi device that you use in your > house? none is an acceptable answer. > Asus RT-AC66R > > 2) about how old is it (rough guess is fine)? > Less than a year > > 2) is it running firmware from the vendor or have you installed a 3rd > party firmware like DDwrt, OpenWrt or similar? > Vendor > > 3) Do you now or have you ever exhibited any interest in model trains? > (this is to weight your answer heavier for the target demographic) > No > > > -- > Russell Senior > russ...@personaltelco.net > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] If you want to pre-study some Git
There are multiple others. I have tried most of these. Github has training. Free stuff listed. https://try.github.io/levels/1/challenges/1 initial intro - about 15 minutes https://training.github.com/classes/ the first one is free https://training.github.com/kit/ CodeSchool https://www.codeschool.com/courses/try-git - initial intro - about 45 minutes http://gitimmersion.com/ - covers almost everything except special github stuff. about 3-4 hours. On Wed, Dec 2, 2015 at 8:38 AM, Michael Rasmussenwrote: > Code Academy just launched a Git course. Estimated course time is two > hours. > https://www.codecademy.com/learn/learn-git > > -- > Michael Rasmussen, Portland Oregon > Be Appropriate && Follow Your Curiosity > Money can buy A LOT of chains. > ~ James Altucher > ___ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Home Router Recommendations
I just got an ASUS RT-66U just recently. It has been working for me just fine with the base firmware but I can also change the firmware out to DD-WRT or OpenWRT. On Thu, Jul 30, 2015 at 7:27 AM, Dick Steffens d...@dicksteffens.com wrote: On 07/29/2015 11:43 PM, Paul Mullen wrote: I've been neglecting the firmware on my eight-year-old Linksys wireless router for too long now, and my research leads me to believe that it's just too old to support modern firmware distributions like OpenWRT and DD-WRT. What are the cool kids using these days? My needs are basic; this old Linksys has served just fine for years, after all. My only real concern is maintainability of the underlying operating system. I would be willing to spend more if the hardware could support a plain Linux or OpenBSD system, though. I've been happy with the Buffalo router recommended by denizens of this list. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Using GitHub Download
You could try it from a git clone of the project. On Fri, Jul 10, 2015 at 2:53 PM, Larry Brigman larry.brig...@gmail.com wrote: The zip file from a release should have everything from that project that is expected to use the project. If not then that should probably be opened as an issue. To open an issue you probably do need a github account. On Fri, Jul 10, 2015 at 2:44 PM, Rich Shepard rshep...@appl-ecosys.com wrote: An update to a 5-year-old book is being written with code available on the project's github page. The author asks for feedback on the developing second edition, and I need to learn how to use the subject of the book (ggplot2 for R graphics). My Web search taught me that there's a 'download everything as a .zip file' button on each project page. I used that link and now have a local directory that is supposed to be the entire source, but I cannot find the *.tex files to compile. Do I need a github account to get everything needed to build the document locally? Suggestions and advice appreciated. Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Using GitHub Download
The zip file from a release should have everything from that project that is expected to use the project. If not then that should probably be opened as an issue. To open an issue you probably do need a github account. On Fri, Jul 10, 2015 at 2:44 PM, Rich Shepard rshep...@appl-ecosys.com wrote: An update to a 5-year-old book is being written with code available on the project's github page. The author asks for feedback on the developing second edition, and I need to learn how to use the subject of the book (ggplot2 for R graphics). My Web search taught me that there's a 'download everything as a .zip file' button on each project page. I used that link and now have a local directory that is supposed to be the entire source, but I cannot find the *.tex files to compile. Do I need a github account to get everything needed to build the document locally? Suggestions and advice appreciated. Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Multi host init system?
I would be using something simple like Ansible. It isn't a multi-host init system but it will get the job done. You can even have it wait on ports being opened before doing the next item in the startup. There are other option is you want to run these application pieces in docker containers; things like kubernetes and docker swarm. If you could move this to docker you also could use things like coreos and fleet. Fleet is a cluster wide init system. If you want this application resilient to host restarts and the distribution cannot then maybe something else like corosync/pacemaker could be used. On Thu, Jul 9, 2015 at 6:23 PM, Michael Rasmussen mich...@jamhome.us wrote: On Thu, Jul 09, 2015 at 05:18:57PM -0700, Tim Bruce - PLUG wrote: Would something like Rundeck work for you? http://rundeck.org/ First glance says yes. Now to dig in. Thank you. -- Michael Rasmussen, Portland Oregon Be Appropriate Follow Your Curiosity I find the overhead of secret keeping burdensome and certainly lying much more so and prefer honesty and openness out of laziness and sloth. ~ Russell Senior ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] gawk: modify field contents
Messed that one up Sample data needed/wanted to verify proper operation. On Tue, Jul 7, 2015 at 4:14 PM, Larry Brigman larry.brig...@gmail.com wrote: Output same of the data would make it easier to actually test our results. On Tue, Jul 7, 2015 at 4:09 PM, Larry Brigman larry.brig...@gmail.com wrote: You mean something like this? awk '{sub(/^\./, , $1); printf(.%s, $1)}' This takes the first arg and looks for . at the beginning of the line and removes it and prints. The print happens regardless of the modification. In this example the input to this was the output of 'tar tf' being converted to an absolute location. I haven't use sub without a target recently. So off to the man page. It operates on $0 which is the whole line and sub will operate on the longest matched string once per invocation meaning per line. On Tue, Jul 7, 2015 at 3:39 PM, Rich Shepard rshep...@appl-ecosys.com wrote: I understand sub(), gsub(), and substr() but have difficulty figuring out how to use any or all to modify a field's contents. Context: data files have variable numbers of fields per record; most of these fields represent measured values as integers or (more often) as floating point numbers. When a value is below the laboratory's method detection limit they report the value with '', ' ', or '-' preceeding the floating point number. I want to strip off the leading symbol (with any following white space) and retain the floating point number as the field's content. It seems that sub() should do the job when I understand how to present the arguments to the function. The syntax is sub(regex, replacement [, target]). Not knowing if I can have if/elseif/elseif/else in the regex position my initial approach is to use four calls to the function; e.g., sub(/\/,) or sub(/\ /,) Would these leave the remainder of the field's contents intact? gsub() probably adds no more capabilities to solving this problem than does sub(). Not sure if substr() is really appropriate here. I've read the two post-The AWK Book books I have and understand the syntax but not how to apply the functions to achieve what needs to be done. This is just one issue that I need to grok while developing this generic data cleaning program. Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] gawk: modify field contents
You mean something like this? awk '{sub(/^\./, , $1); printf(.%s, $1)}' This takes the first arg and looks for . at the beginning of the line and removes it and prints. The print happens regardless of the modification. In this example the input to this was the output of 'tar tf' being converted to an absolute location. I haven't use sub without a target recently. So off to the man page. It operates on $0 which is the whole line and sub will operate on the longest matched string once per invocation meaning per line. On Tue, Jul 7, 2015 at 3:39 PM, Rich Shepard rshep...@appl-ecosys.com wrote: I understand sub(), gsub(), and substr() but have difficulty figuring out how to use any or all to modify a field's contents. Context: data files have variable numbers of fields per record; most of these fields represent measured values as integers or (more often) as floating point numbers. When a value is below the laboratory's method detection limit they report the value with '', ' ', or '-' preceeding the floating point number. I want to strip off the leading symbol (with any following white space) and retain the floating point number as the field's content. It seems that sub() should do the job when I understand how to present the arguments to the function. The syntax is sub(regex, replacement [, target]). Not knowing if I can have if/elseif/elseif/else in the regex position my initial approach is to use four calls to the function; e.g., sub(/\/,) or sub(/\ /,) Would these leave the remainder of the field's contents intact? gsub() probably adds no more capabilities to solving this problem than does sub(). Not sure if substr() is really appropriate here. I've read the two post-The AWK Book books I have and understand the syntax but not how to apply the functions to achieve what needs to be done. This is just one issue that I need to grok while developing this generic data cleaning program. Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] gawk: modify field contents
Output same of the data would make it easier to actually test our results. On Tue, Jul 7, 2015 at 4:09 PM, Larry Brigman larry.brig...@gmail.com wrote: You mean something like this? awk '{sub(/^\./, , $1); printf(.%s, $1)}' This takes the first arg and looks for . at the beginning of the line and removes it and prints. The print happens regardless of the modification. In this example the input to this was the output of 'tar tf' being converted to an absolute location. I haven't use sub without a target recently. So off to the man page. It operates on $0 which is the whole line and sub will operate on the longest matched string once per invocation meaning per line. On Tue, Jul 7, 2015 at 3:39 PM, Rich Shepard rshep...@appl-ecosys.com wrote: I understand sub(), gsub(), and substr() but have difficulty figuring out how to use any or all to modify a field's contents. Context: data files have variable numbers of fields per record; most of these fields represent measured values as integers or (more often) as floating point numbers. When a value is below the laboratory's method detection limit they report the value with '', ' ', or '-' preceeding the floating point number. I want to strip off the leading symbol (with any following white space) and retain the floating point number as the field's content. It seems that sub() should do the job when I understand how to present the arguments to the function. The syntax is sub(regex, replacement [, target]). Not knowing if I can have if/elseif/elseif/else in the regex position my initial approach is to use four calls to the function; e.g., sub(/\/,) or sub(/\ /,) Would these leave the remainder of the field's contents intact? gsub() probably adds no more capabilities to solving this problem than does sub(). Not sure if substr() is really appropriate here. I've read the two post-The AWK Book books I have and understand the syntax but not how to apply the functions to achieve what needs to be done. This is just one issue that I need to grok while developing this generic data cleaning program. Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Equation may p0wn your hard drive
Not just hard drives but the whole of the electronics coming out of china in the near future. http://www.zdnet.com/article/us-slams-new-chinese-rules-for-tech-firms/?utm_campaign=OpenStack+Nowutm_source=hs_emailutm_medium=emailutm_content=16098696_hsenc=p2ANqtz-8xi16xIK3jwISc8800aWwOSL-U9XA5KTClYb16Hu8RWAAdEV_ORznb5jVFUHD6G1UQtVhEt4UTYTjyOQxRzbcYgu0tLQ_hsmi=16098696 On Wed, Feb 18, 2015 at 12:23 PM, Keith Lofstrom kei...@gate.kl-ic.com wrote: http://www.kaspersky.com/about/news/virus/2015/Equation-Group-The-Crown-Creator-of-Cyber-Espionage http://tinyurl.com/osdhxs8 A week ago, I merely worried that hard drive manufacturers could insert backdoors into the disk firmware on the assembly line. According to this Kapersky Lab report, it is worse than that. Hard drives shipped to 30 target countries can have backdoors in the hard drive firmware. Software on USB drives and CDs (such as those provided at conferences) can also add backdoors by exploiting firmware vulnerabilities in the drives. Without open hardware designs, verifiable by third parties down to the chip transistor level, software security ... isn't. If you don't own the schematic, and occasionally tear a chip down to the transistors to look for deviations from that schematic, you are trusting the chip manufacturer too much. The even more frightening thing is that a transistor level chip designer like me can add analog hacks that are invisible to gate level logical analysis, but can be subtly triggered to have logic-level outcomes. Bits are a myth. The EVEN MORE frightening thing ... well, I won't go there in a public forum, but you want continuous and verifiable live security camera surveillance, and surprise inspections, during some phases of wafer manufacturing, so the fab should be open, too. If you have superb software security procedures, and pay no attention to the electronics, it is like adding a steel bank vault door to the front of a tissue paper tent. Keith -- Keith Lofstrom kei...@keithl.com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] cron.weekly, early monday morning?
On Mon, Feb 16, 2015 at 4:48 PM, Keith Lofstrom kei...@gate.kl-ic.com wrote: I've been running an offsite network-hog backup script once a week, which I foolishly put in /etc/cron.weekly. Further scrutiny reveals that anacron runs cron.weekly in the wee hours of Monday morning; since this script may need a day to send data over a low bandwidth ADSL uplink, this is not a good thing to continue through the workday monday. Does anyone know why anacron is configured this way, or where to change it? If your system is configure similar to mine then here is where things are configured: [lbrigman@area51 ~]$ cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] RESOLVED: bash and awk strangeness
Typically you would use awk to process the file instead of using bash as a filter. The problem with things to awk is that the single quote prevents bash from doing substitution making awk try to figure out what to print and maybe printing nothing as the variable isn't set. On Tue, Jan 27, 2015 at 10:56 AM, Daniel Herrington herd...@gmail.com wrote: On Tue, Jan 27, 2015 at 10:25 AM, Daniel Herrington herd...@gmail.com wrote: On Tue, Jan 27, 2015 at 10:15 AM, Rich Shepard rshep...@appl-ecosys.com wrote: On Tue, 27 Jan 2015, Daniel Herrington wrote: host=$(awk '{ print wtf: $m }') Daniel, Your awk statement begins by printing the string, wtf: and that is why you see that in the output. As Paul wrote, show us the input file and we can examine the output relative to it. Regards, Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug The file: foo bar baz bunt awk seems to be able to read bar in the file before the echo before testing: statement(line 8). Actually, it clearly has to, I just don't understand why: Starting script before testing: foo foo :: wtf:bar wtf:baz wtf:bunt The code for before testing: should be read for each run of the for loop, and should occur before the awk gets called. If I comment out the awk line, I get the loop behavior I would expect. In fact, I think the for loop is actually superflous, as the while itself should just loop. Also: SunOS svanyc587 5.10 Generic_150400-13 sun4v sparc sun4v -- Daniel B. Herrington Ok, it has something to do with the way I'm passing in the variable to awk. The original statement: host=$(awk '{ print wtf: $m }') works when I do: host=$( echo $m | awk '{ print wtf: $1 }') The way I'm calling awk is the issue. It also seems it would be better to just call awk against the file directly. thanks all, -- Daniel B. Herrington ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Cleaning Up Multiple Copies of a Library
The first directory you reference saying you want to leave the 2014 files and remove the 2013 files won't work as the 2014 files are just symlinks to the 2013 libraries. Similar in the /usr/lib. Most of those that are listed (*.a) are development libraries and not shared libraries. All of these point back through links back to /lib. Also note that /usr/lib all reference /lib/libcurses so your ll listing on /lib is missing some things there too. Since the two locations point to different libraries it probably more of an issue. On Tue, Jan 20, 2015 at 11:08 AM, Rich Shepard rshep...@appl-ecosys.com wrote: Somehow, libncurses is present in two copies, with different dates and file sizes. This may be the reason I'm having problems using unixODBC so I want to clean this up. Did not find the file containing libncurses; it may well be in one of the base Slackware files, such as aaa_libs. Here are the two directories' contents: ll /lib/libncurses* lrwxrwxrwx 1 root root 17 Mar 9 2014 /lib/libncurses.so.5 - libncurses.so.5.9* -rwxr-xr-x 1 root root 313416 May 7 2013 /lib/libncurses.so.5.9* lrwxrwxrwx 1 root root 18 Mar 9 2014 /lib/libncursesw.so.5 - - libncursesw.so.5.9* -rwxr-xr-x 1 root root 395048 May 7 2013 /lib/libncursesw.so.5.9* Need to remove the 2013 files while leaving the 2014 files in place. and ll /usr/lib/libncurses* -rw-r--r-- 1 root root 414822 May 7 2013 libncurses++.a -rw-r--r-- 1 root root 416350 May 7 2013 libncurses++w.a -rw-r--r-- 1 root root 488966 May 7 2013 libncurses.a lrwxrwxrwx 1 root root 20 Mar 9 2014 libncurses.so - - /lib/libncurses.so.5* lrwxrwxrwx 1 root root 12 Nov 7 2010 libncurses.so.5 - libcurses.so* -rw-r--r-- 1 root root 592644 May 7 2013 libncursesw.a lrwxrwxrwx 1 root root 21 Mar 9 2014 libncursesw.so - - /lib/libncursesw.so.5* lrwxrwxrwx 1 root root 13 Nov 7 2010 libncursesw.so.5 - libcursesw.so* Need to remove the 2010 and 2013 copies while leaving the 2014 copies in place. Don't know if the solution is distribution-specific or -agnostic. TIA, Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Membership tracking software?
I know you want to move stuff to FOSS but here is some info to help convince others. Be aware that QB can become ransomware. A friend that does Taxes and bookkeeping ran into this. Something about 15K limit on one records like invoices. Once you hit the limit you cannot get into the data without upgrading to QB pro. On Wed, Jan 14, 2015 at 8:40 AM, Roderick Anderson raander...@gmail.com wrote: Recommendations? I just took on the Treasurer position for a local non-profit which includes tracking membership and dues. Currently the club (Kootenai Amateur Radio Society) is using Quick Books for accounting and Excel spreadsheets for membership rosters. So here I am trying to get a Windows system up for QB and using a spreadsheet for something better done with a data base. Did some research (Google searches) but probably picked poor search terms. Didn't get good results. I seem to remember some mention on the list of others working with membership handling. Therefore the request for recommendations. Dream solution: First: it is FOSS. Second: runs on Linux or Windows. Third: not web based right now as I don't know the full story on the clubs hosting situation but could put up my own server if that is the better solution. Forth: If it is OSS, coded in Perl or ... PHP so I can feel fairly comfortable if hacking is needed. C, Fortran, Basic and Python can be dealt with. As usual all thoughts, ideas, or clue-sticks are appreciated. \\||/ Rod -- ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] TONIGHT: December PLUG Advanced Topics: CFPs from Announcement to Reimbursements
Was this recorded or the previous one? If so, where are the archives? I don't see a link on the pdxlinux.org site (except to the live stream). On Tue, Dec 16, 2014 at 11:59 AM, Michael Dexter dex...@ambidexter.com wrote: Portland Linux/Unix Group Advanced Topics Meeting Announcement Who: Michael What's His Name What: CFPs from Announcement to Reimbursements Where: Free Geek, 1731 SE 10th Avenue, Portland (Left Entrance) When: Tuesday, December 16th, 2014 at 7pm Why: The pursuit of technology freedom Stream: http://pdxlinux.org/live/ CFPs or Calls for Papers/Participation are something you generally are oblivious to or schedule your whole year around. A CFP is what conference organizers use to formally announce their desire for speakers at an upcoming event. They often set guidelines and requirements for the talk and the organizers of successful conferences can find themselves rejecting hundreds of proposals. Michael will analyze a number of prominent open source community CFPs and will step through every stage of a CFP that requires an extended abstract, paper and presentation. Attendees will hear repeatedly how astonishingly easy some CFPs (like PLUG's) are to respond to and in will fact have their proposals ready by the end of the talk. Calagator Page: http://calagator.org/events/1250467061 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 mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] 64 bit distros, older laptops, processor upgrades
There was a group trying to build the 32 bit version of 7. I don't know if they succeeded. SL6 had a 32 bit version. http://ftp1.scientificlinux.org/linux/scientific/6x/i386/iso/ That one will be good through 2021 with security fixes until 2024. On Wed, Dec 17, 2014 at 3:09 PM, Keith Lofstrom kei...@gate.kl-ic.com wrote: My current fave distro, the Scientific Linux clone of Red Hat Enterprise Linux, is only releasing for x86-64 starting with version 7. Many of my older machines have 32 bit processors, including most of my Thinkpad T60 and X60 laptops. Fortunately, the 32 bit laptops use Intel Socket M processors, mostly T2500. It turns out that 64 bit T7200 processors work in the same socket. So, I ordered a bunch of allegedly new T7200 processors for $8 each on eBay, and will upgrade hardware and distros when the CPUs arrive from Hong Kong. T7600 processors are 16% faster but cost $50, not worth it. This same upgrade probably works with other types of laptop; if this works for me, perhaps we can do a mass CPU replacement and distro upgrade for older laptops at the January clinic. Keith P.S. - SL is a trailing edge distro, but version 6 will provide long term support and security upgrades until 2023, and version 7 until 2026. I wrote a huge pile of fragile legacy code that is a pain in the ass to upgrade, so I change versions as often as most people build a new house. Extended LTS is more important than pretty GUIs and marble countertops. -- Keith Lofstrom kei...@keithl.com ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Specifying a minimalist/instuctional/??? Linux install
Not totally sure this is relevant but the free class on edx might be useful. https://www.edx.org/course/introduction-linux-linuxfoundationx-lfs101x-2#.VIYdyUSv40c On Mon, Dec 8, 2014 at 1:27 PM, Richard Owlett rowl...@cloud85.net wrote: Michael Dexter wrote: On 12/8/14 11:20 AM, Richard Owlett wrote: The short form of my personal goal is: 1. bring back*PERSONAL* to personal computing. Primary implication - shall not be capable of being a network server. Secondary implication - only one person will ever be the operator. 2. understand Linux internals 3. minimal number of modules, secondarily minimize size of footprint I thought exactly that when I first discovered Unix but with the arrival of the Web, it became increasingly clear that everything will be TCP/IP networked even if only on the LAN or even localhost. Call it Internet of Things (I prefer a more vulgar term given the security implications) but ever since the arrival of desktops like GNOME and KDE, the Unix/network server parts have been a tiny portion of the system. That part will fit on a Raspberry Pi/fad device of choice. I have three separate use cases in mind: 1. My home systems for which I have nobody to blame if they go belly up. 2. Some standalone systems at church used for elementary school students. Not only will networking be disabled but I'm considering not installing drivers for WiFi, Bluetooth and Ethernet. 3. The most difficult case will be for a friend. Evidently I did more to tout Linux than I realized. A few weeks ago he sent me a older spare laptop asking me to do a demonstrative install. That one will need training wheels in spade. I've known him for over 40 years. That said, you seem to have a sense of Unix and I suggest you try PC-BSD and then pair it down to raw FreeBSD once you have identified what you do and do not want. This is exactly what I did with Red Hat 5.2 way back in the day. With the different that *BSD does not have LinuxConf thrashing configuration files unrelated to the task at hand. I suspect I've gotten myself locked into Debian. Do BSDs have equivalents of Debian repositories and apt-get or Synaptic? ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Specifying a minimalist/instuctional/??? Linux install
On Mon, Dec 8, 2014 at 1:48 PM, Richard Owlett rowl...@cloud85.net wrote: My preferred method don't install rather than don't run. To do that will typically require some knowledge about how the installer operates to reduce your packages set to a bare minimum. Even there, the best method for being able to repeat this process is to set up a configuration file and do a network install. The portion of my results that may be useful to the community in general will be met-packages for better control of what gets installed. There once was Debian work being done aimed at embedded systems that was going in that direction. That project has been terminated as small systems are now so big and fast that efficiency and careful design for purpose not relevant ; Embedded systems have moved on from being able to self-host their development environment as most systems are resource constrained. You just need to know where to look to find their replacements. Some projects: Buildroot or Yocto These aren't distributions but tools to build your own systems. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Specifying a minimalist/instuctional/??? Linux install
At least around here the libraries provide computers with internet access and free wifi. On Mon, Dec 8, 2014 at 3:43 PM, Richard Owlett rowl...@cloud85.net wrote: Larry Brigman wrote: Not totally sure this is relevant but the free class on edx might be useful. https://www.edx.org/course/introduction-linux-linuxfoundationx-lfs101x-2#.VIYdyUSv40c Sounds like it could be interesting - but I'm on dial-up *GRIN* ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Specifying a minimalist/instuctional/??? Linux install
On Mon, Dec 8, 2014 at 3:53 PM, Richard Owlett rowl...@cloud85.net wrote: Larry Brigman wrote: On Mon, Dec 8, 2014 at 1:48 PM, Richard Owlett rowl...@cloud85.net wrote: My preferred method don't install rather than don't run. To do that will typically require some knowledge about how the installer operates to reduce your packages set to a bare minimum. Even there, the best method for being able to repeat this process is to set up a configuration file and do a network install. I have a physical constraint - I only have dial-up. I purchase the complete set of stable (have both Squeeze and Wheezy). I've asked related questions on debian-user. One reply was to investigate using debootstrap or multistrap (I'm leaning to the later). I was thinking that you need to do multiple computer set ups - the education computers. Get one figured out then you will either need to clone the drive or set up a temporary network to install the others. The other choice here is to move the install and the config file to a USB device for the install. Maybe I think too much like a programmer or test engineer. If I have to do it more that twice, I'm going to find a way to automate and document it at the same time. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Specifying a minimalist/instuctional/??? Linux install
Probably not over dial up. On Dec 8, 2014 10:19 PM, Nat Taylor biob...@gmail.com wrote: If you're committed to debian, maybe make a live cd, with the packages you want, selecting the debian-installer as an option... http://live-systems.org/build/ On Mon, Dec 8, 2014 at 9:43 PM, Richard Owlett rowl...@cloud85.net wrote: Larry Brigman wrote: On Mon, Dec 8, 2014 at 3:53 PM, Richard Owlett rowl...@cloud85.net wrote: Larry Brigman wrote: On Mon, Dec 8, 2014 at 1:48 PM, Richard Owlett rowl...@cloud85.net wrote: My preferred method don't install rather than don't run. To do that will typically require some knowledge about how the installer operates to reduce your packages set to a bare minimum. Even there, the best method for being able to repeat this process is to set up a configuration file and do a network install. I have a physical constraint - I only have dial-up. I purchase the complete set of stable (have both Squeeze and Wheezy). I've asked related questions on debian-user. One reply was to investigate using debootstrap or multistrap (I'm leaning to the later). I was thinking that you need to do multiple computer set ups - the education computers. Get one figured out then you will either need to clone the drive or set up a temporary network to install the others. The other choice here is to move the install and the config file to a USB device for the install. I've work out another method influenced by interim goals I've had along my journey. I'm learning the art creating/using preseed files. I've set aside a laptop for experimenting with various configurations. I got tired of manually entering the same information repeatedly. Once suggested, that logically led to considering scripted installs using debootstrap or multistrap. Maybe I think too much like a programmer or test engineer. If I have to do it more that twice, I'm going to find a way to automate and document it at the same time. I spent many years in engineering support. That's the way I think. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] RPM installing an RPM
You should be able to declare anything of importance as resource for other packages. The minimum is the package name. That a look at the output of rpm -q --provides package_name. Other packages can depend on the package or just one or more of the provides. Www.maxrpm.org is the manual for using and building with rpm. On Dec 3, 2014 11:23 PM, Daniel Herrington herd...@gmail.com wrote: It's a third part installer. My initial attempt was to take their silent install and wrap that with and rpm. Their installer expands a bunch of files into /tmp copies them over to the specified install directory, executes some configuration (updating files, creaking security keys, etc.) then runs rpm to essentially just register itself within the rpm db. I can't break into their installer, as it would most likely void the support contract, or at the very least if they called with an issue on the machine, support would make them reinstall to prove it wasn't their installer that caused the issue. Can I use dependencies to point to the third party install, and within that, the subsequent rpms? On Wed, Dec 3, 2014 at 6:11 PM, chris (fool) mccraw gen...@gmail.com wrote: Last time I had to do something like that, I shipped a shell script with a bunch of rpm's embedded in it (in a shell archive), which first extracted them and then installed them serially (where needed) and in a group (where not needed). This worked well enough to circumvent the problem. This was 2001. Sad to hear things haven't improved in that world, yet! On Dec 3, 2014 5:56 PM, Daniel Herrington herd...@gmail.com wrote: All, Can you have RPM call a third party installer that then calls RPM? I tried this a month ago and could not get around a lock error on the rpm db, I googled and saw an email thread form some years ago where the reply was no. I'm wondering if I just didn't look hard enough. I eventually abandoned for a self-extracting installer, but thought I'd revisit the problem thanks, -- Daniel B. Herrington ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug -- Daniel B. Herrington ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] RPM installing an RPM
Normally that is why you use rpm dependencies. You can install all of them as needed from a single call to rpm. If you need to adjust something once another package is installed use a trigger inside of the package. You can always build a meta package that has nothing but package dependencies that help you install the correct packages. The answer to the above question is no but if things are packaged correctly why would you want to make is so hard. On Wed, Dec 3, 2014 at 6:11 PM, chris (fool) mccraw gen...@gmail.com wrote: Last time I had to do something like that, I shipped a shell script with a bunch of rpm's embedded in it (in a shell archive), which first extracted them and then installed them serially (where needed) and in a group (where not needed). This worked well enough to circumvent the problem. This was 2001. Sad to hear things haven't improved in that world, yet! On Dec 3, 2014 5:56 PM, Daniel Herrington herd...@gmail.com wrote: All, Can you have RPM call a third party installer that then calls RPM? I tried this a month ago and could not get around a lock error on the rpm db, I googled and saw an email thread form some years ago where the reply was no. I'm wondering if I just didn't look hard enough. I eventually abandoned for a self-extracting installer, but thought I'd revisit the problem thanks, -- Daniel B. Herrington ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Flashair and wget
You didn't miss understand -nc. You missed the -O option where that expects the next argument to be the output file retrieved from the URL. On Tue, Nov 18, 2014 at 10:11 AM, John Jason Jordan joh...@comcast.net wrote: At the Clinic Wes composed a lovely command (that I converted to a shell script) to download files from a Flashair SD+wifi card that lives in a CPAP machine upstairs in my house. The connection is a bit wobbly because the advertised range of the Flashair is 30 feet, and that is about the distance from the machine to my laptop downstairs, plus there is a floor in between. But it does work if I am patient. Here is the command: wget -qO - http://192.168.0.1/DATALOG | grep 'DATALOG.*fname' | sed -e s/^.*fname\\:\// -e s/\, \fsize.*// | while read line; do wget http://192.168.0.1/DATALOG/$line;done The reason for the grep and filename search is that Toshiba, in its alleged wisdom, decided to bury the files in the html rather than just use a directory structure like ftp. But there is a problem: Every night the CPAP machine writes eight more small files to the DATALOG folder, where the name of each file starts with the date, e.g.: 20141116_235932_BRP.crc (from Sunday night) 20141117_235932_BRP.crc (from last night) The normal behavior of wget is to re-download files already downloaded and append .n to the additional copies, so running the script this morning would result in the following files in the folder: 20141116_235932_BRP.crc (from Sunday night) 20141116_235932_BRP.crc.1 (from Sunday night) 20141117_235932_BRP.crc (from last night) After a while the folder where I store these files on my computer is going to get horribly cluttered. I could add a line to the script to delete all files ending in .1, but considering the time it takes for the script to run (due to the poor connection) it would be far preferable for wget not to download copies in the first place. According to the man page adding -nc (no-clobber) is supposed to do this. So I added -nc like this: wget -qO -nc - http://192.168.0.1/DATALOG ... When I ran the script it downloaded no new files, but created a file 'nc' of zero bytes. WTH? Clearly I have failed to grasp how the -nc option is supposed to work. Are there any wget experts here who can lead me to the light? ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Flashair and wget
In the shell script, you would add -nc to the second wget command. BTW, http protocol doesn't support a directory listing. Where you see these from a browser it is the web server making an index of the directory and presenting it as html. That is expected and proper. On Tue, Nov 18, 2014 at 10:25 AM, Larry Brigman larry.brig...@gmail.com wrote: You didn't miss understand -nc. You missed the -O option where that expects the next argument to be the output file retrieved from the URL. On Tue, Nov 18, 2014 at 10:11 AM, John Jason Jordan joh...@comcast.net wrote: At the Clinic Wes composed a lovely command (that I converted to a shell script) to download files from a Flashair SD+wifi card that lives in a CPAP machine upstairs in my house. The connection is a bit wobbly because the advertised range of the Flashair is 30 feet, and that is about the distance from the machine to my laptop downstairs, plus there is a floor in between. But it does work if I am patient. Here is the command: wget -qO - http://192.168.0.1/DATALOG | grep 'DATALOG.*fname' | sed -e s/^.*fname\\:\// -e s/\, \fsize.*// | while read line; do wget http://192.168.0.1/DATALOG/$line;done The reason for the grep and filename search is that Toshiba, in its alleged wisdom, decided to bury the files in the html rather than just use a directory structure like ftp. But there is a problem: Every night the CPAP machine writes eight more small files to the DATALOG folder, where the name of each file starts with the date, e.g.: 20141116_235932_BRP.crc (from Sunday night) 20141117_235932_BRP.crc (from last night) The normal behavior of wget is to re-download files already downloaded and append .n to the additional copies, so running the script this morning would result in the following files in the folder: 20141116_235932_BRP.crc (from Sunday night) 20141116_235932_BRP.crc.1 (from Sunday night) 20141117_235932_BRP.crc (from last night) After a while the folder where I store these files on my computer is going to get horribly cluttered. I could add a line to the script to delete all files ending in .1, but considering the time it takes for the script to run (due to the poor connection) it would be far preferable for wget not to download copies in the first place. According to the man page adding -nc (no-clobber) is supposed to do this. So I added -nc like this: wget -qO -nc - http://192.168.0.1/DATALOG ... When I ran the script it downloaded no new files, but created a file 'nc' of zero bytes. WTH? Clearly I have failed to grasp how the -nc option is supposed to work. Are there any wget experts here who can lead me to the light? ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] TUESDAY: October PLUG Advanced Topics: Living Desktop Environment-Free
In the presentation, there is a link for history via a shell script. In looking at that shell script it has a command that I don't know what it does - vmenu. I can guess but is it another script or a binary program that is specific to arch Linux? On Wed, Oct 22, 2014 at 8:47 AM, Dick Steffens d...@dicksteffens.com wrote: On 10/22/2014 07:45 AM, Ronald Bynoe wrote: Oh, I should have realized this. The talk was about simplification of your computing workflow, right? So this isn't a mousing interface presentation. Press the right and left arrow keys to navigate on a PC! Ah. I didn't know about that one. That's certainly easier than what I did. Thanks for pointing that out. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] ssh passwordless login
If this an older version of solaris/sshd, is it possible that it doesn't support rsa keys or requires authorized_keys2. http://serverfault.com/questions/116177/whats-the-difference-between-authorized-keys-and-authorized-keys2 Nowadays, I just symlink authorized_keys2-authorized_keys On Tue, Oct 21, 2014 at 12:34 PM, Daniel Herrington herd...@gmail.com wrote: All, I have permissions set to 600 on id_rsa.pub. I hvae explicitly set IdentityFile in config, so it's using id_rsa.pub. I have removed id_rsa. Also, I should mention that .ssh is in the home directory on an NFS mount. However I suspect that it is something with what the server returns to client in regards to the hostname. So here is the setup: source: serverA target: severB (public internet alias: publicserverB.com) ssh command: ssh f...@publicserverb.com my firewall redirects anything hititng port 22 on publicserverB.com to serverB. I think I may not have this configured correctly. In my ~.ssh/config file I do have HostKeyAlias set to serverB. However, is there a way to figure out what host sshd is comparing or looking for? Here is the log from the serverB sshd server (auth.log): Oct 21 12:30:24 XXX sshd[29836]: Connection from XX.XXX.XXX.X port 38057 Oct 21 12:30:43 XXX sshd[29836]: Failed publickey for dan from XX.XXX.XXX.XXX port 38057 ssh2 Can I increase logging in sshd above VERBOSE? On Tue, Oct 21, 2014 at 11:29 AM, Ali Corbin ali.cor...@gmail.com wrote: On Mon, Oct 20, 2014 at 1:45 PM, Daniel Herrington herd...@gmail.com wrote: All, I'm stuck with a ssh passwordless login problem. Source machine is a solaris 10 box behind a firewall and NAT. The remote machine is Mint 13 behind firewall and NAT. The last time I had an ssh problem that ssh -vvv didn't help me with, I logged onto the target system and tailed /var/log/secure. And it told me exactly what was wrong with my permissions. Ali ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug -- Daniel B. Herrington ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Adding timestamp to log file entry
That seems to be an issue with the dhcp server configuration. Yes, they can set the reservations to be very short but to constantly shift them is overkill - especially if you have a business account. Do you know your netmask? That is a class A address space that is being used so 16,777,216 hosts in the 50/8 network unless it is being segmented. On Fri, Sep 26, 2014 at 11:13 AM, Rich Shepard rshep...@appl-ecosys.com wrote: On Thu, 25 Sep 2014, Robert Citek wrote: Assuming that is in a bash script, you can do something like this: echo $(date +%FT%T%:z) ${NEWIP} /home/rshepard/getiplog Robert, I left out the first 'T' because I did not see 'FT' on the man page; the time string is not separated from the date string. Just added the 'T' to the format. What's interesting is that I now see how frequently Frontier changes my IP address. Yes, it's unreasonable to change it so frequently, but ... that's just the way it is with them. Here's the log since I changed the script yesterday afternoon: 50.38.103.143 2014-09-25 19:30:08 50.38.109.240 2014-09-26 00:30:07 50.38.84.71 2014-09-26 01:30:02 50.38.71.234 2014-09-26 03:30:02 50.38.79.177 2014-09-26 04:30:06 50.38.97.179 2014-09-26 05:30:03 50.38.126.250 The top IP address was current when I modified the cron script. Thanks for the lesson, Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Such a thing as a single user Linux?
On Thu, Sep 25, 2014 at 11:39 AM, Richard Owlett rowl...@cloud85.net wrote: Are there Red Hat derived Live CDs that I should try? Centos and Scientific Linux both have Live CD images for both 6.x and 7.x I just installed the latest minimal Ubuntu release. It's not a live system but it's small. Nobody from the outside can get on this install as it doesn't have any networking listening servers running, not even sshd. The minimal Linux distributions are probably as close to the old cp/m systems (w/ added functionality). ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Question About RAID and LVM - Ubunu 14.04
If you did install raid1, then the installer didn't figure out that you needed to include the mdadm package. Also in raid1, either drive would show the same info if things were correctly configured. Loading the mdadm package and querying the drives will show you that info. Your link about setting up raid is valid. It just doesn't say anything about what packages should be installed. On Thu, Sep 18, 2014 at 9:05 PM, Mark Phillips m...@phillipsmarketing.biz wrote: Loren, Thanks for you comments. As I said in my first post, I used ubuntu server to install both raid and lvm, and then installed ubuntu-desktop. The image in my second post is from the text based ubuntu server installation process. I guess I could try it again, but I don't see how anything would change. Thanks, Mark On Sep 18, 2014 8:54 PM, Loren M. Lang lor...@north-winds.org wrote: On Thu, 18 Sep 2014 18:17:28 -0700, Mark Phillips m...@phillipsmarketing.biz wrote: Josiah, Thanks for your response. It looks as if LVM is using the hardware directly Yes, it looks like LVM is directly using the hardware indeed. The Ubuntu Desktop installer does not include RAID support nor install mdadm by default. You can get mdadm by doing sudo apt-get install mdadm from the command-line. In fact, Ubuntu would have said so if you tried running mdadm without using sudo. It's not smart enough, though, to recommend such things via sudo. The real problem is that both hard drives are allocated as independent physical volumes to LVM giving you twice the space you would normally have. I also noticed that you have all of the volume group entirely allocated to one physical volume. That kind of negates any benefit to using LVM as live volumes can't be shrunk. Most benefits of LVM like taking live snapshots or creating new volumes on the fly require that there is some unallocated space in the volume group. There is a way to restore RAID without reinstalling, but it's a long, complicated procedure. I recommend to reinstall and use the Ubuntu Server ISO. Set up RAID and LVM as you see fit. Once Server is finished installing, just install the ubuntu-desktop package (or kubuntu-desktop, xubuntu-desktop, etc.) and you will have a normal desktop. Ubuntu Desktop is actually based on the standard Server install plus everything ubuntu-desktop pulls in. sudo apt-get install ubuntu-desktop - mark@tsunami:~$ sudo pvscan -v [sudo] password for mark: Wiping cache of LVM-capable devices Wiping internal VG cache Walking through all physical volumes PV /dev/sda1 VG vg1_tsunami lvm2 [931.51 GiB / 0free] PV /dev/sdb1 VG vg1_tsunami lvm2 [931.51 GiB / 0free] Total: 2 [1.82 TiB] / in use: 2 [1.82 TiB] / in no VG: 0 [0 ] mark@tsunami:~$ Part of my confusion is that mdadm is NOT installed on my system. Everything I have read about raid involves mdadam, but as I said in my original post, it is not installed - mark@tsunami:~$ sudo mdadm sudo: mdadm: command not found mark@tsunami:~$ However, in the Ubuntu 14.04 server installer I specifically set up the drives to be in a raid1 array. From the instructions I followed (see reference above) - Designate your new partition for RAID by selecting “Physical volume for RAID” at the “How to use this partition:” prompt. This process will create a new RAID device. Repeat the previous step for the other physical disk. - Here’s the overview of my partition layout and settings: (mine looked the same, but the drives are 1 TB Samsung drives. - At the prompt asking, “Write the changes to disks and configure LVM?” Select yes. I then entered the LVM process, finished the installation, picked a few packages including ubuntu-desktop, and as I said above it boots just fine. What should I do now? I could do a re-install, but the steps won't change, so I am not confident I will get a RAID1 array out of it. Or, I could install mdadm and see what it says.but can a software raid be installed without mdadm? If the system is magically configured as a raid array, will installing mdadm screw it up? I don't believe this laptop has any raid hardware installedat least System76 never told me about it, and I asked them to configure the drives as RAID1 when I bought the beast and they said they could not do that. Thanks, Mark On Thu, Sep 18, 2014 at 3:45 PM, Josiah Luscher s...@josiahluscher.com wrote: Finally a question I might be able to help with! I'm so excited! I can think of many ways to get more information to help alleviate the confusion. I'd suggest starting with an LVM scan of physical volumes: pvscan -v. That will tell you weather LVM is using 'md#' devices, or the hardware directly ('sd#' devices). You
Re: [PLUG] Slackware on Virtual Box
For virtual machines, don't do any swap and only one partition. On Aug 2, 2014 5:46 PM, Dick Steffens d...@dicksteffens.com wrote: I've downloaded slackware64-14.1-install-dvd.iso, and the md5sum matches slackware64-14.1-install-dvd.md5. I've created an empty virtual box virtual machine with 1024 MB memory and 8 GB virtual drive. I've pointed the virtual DVD drive to the above mentioned .iso and started the virtual machine. Where can I find instructions on partitioning that virtual 8 GB? The tutorials that I've found all tell me to partition the space for a primary partition and a swap partition, and assume that I know how to do that. Does anyone know where to find something that spells out what to call that virtual drive for fdisk? Also, since the purpose of the installation is just to get to know Slackware, what is the recommended swap partition size? I recall something about making it some multiple of the memory, but don't recall if that was 1:1 or something else. Thanks for the advice. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Network puzzle
192.168.0.0/24 is a broadcast address which if the dhcp is configured to hand out 192.168.0.0 is a mistake. I don't know if the software is smart enough to know that it shouldn't hand out a broadcast address. Also Gigabit normally indicates auto-negotiation. If something is set to use a specific speed and cannot get it, you won't get a link. Without a managed switch, you won't see this failure and printers without a network connection probably don't have a log to see the problem either. On Thu, Jul 31, 2014 at 9:26 AM, Ben Koenig techkoe...@gmail.com wrote: Do you maybe have an IP conflict? doing 192.168.0 seems odd to me. I'm not in charge of my home network, but it appears the the modem sets the 0 subnet, and everything else (printers, computers, whatever) lives on 192.168.1.0, set by our Netgear router. Also, you say you have it set to use x=0 to 100 for the printers but I thought 192.168.0.0 would signify the 192.168.0 subnet in its entirety, like specifying the whole net instead of just 1 individual machine... if I understand your wording it might try to set 192.168.0.0 for a printer...? Who knows just some thoughts :) Have fun! Ben On 07/29/2014 06:47 PM, wes wrote: So here's the big question: Why would the Phaser 7400 suddenly be unable to connect through switch 2? It was hard to digest the whole description but the one thing that jumps out at me is that you did not try one of the wires that worked in an HP printer in the Phaser. The fault could be anywhere that isn't shared between the two. You also did not explicitly state that it was the same patch cable that was previously plugged into switch 2 that you plugged into switch 1. Are these switches in the same location? Once it worked in switch 2, did you try switch 1 again? -wes ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Configuring CUPS to print to a different subnet
Just use the IP address. On Jul 28, 2014 6:08 PM, Rich Shepard rshep...@appl-ecosys.com wrote: The Sony Vaio here connects to everything via the Wireless Access Point, which is on a different subnet from the LAN which has the printers. Please point me to some doce on how to configure CUPS on the Sony so it can send files to the printers here. TIA, Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Computer hell (Solved, I hope)
A stuck key will act as a key press and drop you into the grub menu. On Tue, Jul 22, 2014 at 10:22 PM, John Jason Jordan joh...@comcast.net wrote: Today at Oscon I picked up a live DVD of Fedora 20. When I got home I booted it on the laptop, and when it came up everything was working, including the keyboard. Amazed, I shut it down and booted to my regular Xubuntu 13.10 on the disk. It came up normally (not even to the Grub menu as before) and I was able to enter my password and log in. So here I am all fixed and I haven't even opened the case to clean the keyboard, let alone install the new one that is on the way from System76. One small correction to the above: the right shift key is not working, nor is the left arrow key. I might discover more as I continue to use the computer, but at the moment I am functional again. I still plan on taking the keyboard out and cleaning it, which will probably solve the remaining issues. I have no explanation for why Xubuntu on the disk was always taking me to the Grub menu when it normally never did, and did not do so tonight. Nor can I explain the bizarre behavior of the Xubuntu 14.04 live DVD that I was using when I couldn't get past the Grub menu to boot my normal Xubuntu. But perhaps I should not look a gift horse in the mouth. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PLUG OSCON BOOTH materials and staff
I have a conference pass so I won't need the expo pass. When do you need booth volunteers? On Fri, Jul 18, 2014 at 10:24 AM, Michael Dexter dex...@ambidexter.com wrote: Hello all, Than you everyone for your past help with the PLUG OSCON booth and I hope some of you can participate next week! For the booth, I have: The distro history poster Two or three PLUG 36 X 24 posters including a new honking one with Linus Candies! Why Portland fliers from last year Business cards MISC A LibreSSL poster that needs a spot I will try to get some more large binder clips but any and all are appreciated as I have posters for other groups. 1. Feel we're missing anything? 2. Want to volunteer? We generally rotate our booth presence and a few people (you know who you are) have been awesome about taking the duty seriously. I believe we have TWO expo badges with lunch. Please contact me directly if you are interested in more than symbolic booth duty. Thanks! Michael ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Capture of CSV data
These lines contain more data but more 0 data and span multiple lines per record. Date,time, . ..EOData Or that is the email parsing and all data is in one line. On Wed, Jun 25, 2014 at 6:16 AM, Chuck Hast wch...@gmail.com wrote: Folks, I tried both curl and netcat (nc) and both gave me good results, here are some samples with just a simple command, I got a nice dump to the screen as the data comes in from the machine: Using Curl kp4djt@NetCracker:/$ curl 172.20.80.5:9030 Pth,ID,TRACK#,Mld,COUNT#,Path,InspRes1,InspRes2,Status,EOData GET / HTTP/1.1 User-Agent: curl/7.35.0 Host: 172.20.80.5:9030 Accept: */* 06/25/2014,06:07:32.375,Pas,34,13,098,3538633,0x0041,0x,0x,0x0c00,EOData 06/25/2014,06:07:32.781,Pas,34,14,003,3538634,0x0041,0x,0x,0x0200,EOData 06/25/2014,06:07:33.78,Pas,34,15,021,3538635,0x0041,0x,0x,0x0200,EOData 06/25/2014,06:07:33.468,Pas,34,01,033,3538636,0x0041,0x,0x,0x0200,EOData 06/25/2014,06:07:33.765,Pas,34,02,026,3538637,0x0041,0x,0x,0x0200,EOData 06/25/2014,06:07:34.171,Pas,34,03,022,3538638,0x0041,0x,0x,0x0200,EOData ^C kp4djt@NetCracker:/$ Using nc kp4djt@NetCracker:/$ nc 172.20.80.5 9030 Pth,ID,TRACK#,Mld,COUNT#,Path,InspRes1,InspRes2,Status,EOData 06/25/2014,06:08:41.328,Pas,34,14,173,3538814,0x0041,0x,0x,0x0a00,EOData 06/25/2014,06:08:41.718,Pas,34,15,023,3538815,0x0041,0x,0x,0x0200,EOData 06/25/2014,06:08:42.125,Pas,34,01,022,3538816,0x0041,0x,0x,0x0200,EOData 06/25/2014,06:08:42.406,Pas,34,02,071,3538817,0x0041,0x,0x,0x0a00,EOData 06/25/2014,06:08:42.812,Pas,34,03,036,3538818,0x0041,0x,0x,0x0200,EOData 06/25/2014,06:08:43.203,Pas,34,04,019,3538819,0x0041,0x,0x,0x0200,EOData ^C kp4djt@NetCracker:/$ Here are two captures of port 9010 Curl kp4djt@NetCracker:/$ curl 172.20.80.5:9010 EMHART Glass EOData Per Bottle Data over TCP/IP (C) 1998-2001 EOData rev: 3, 0, 0, 87 EOData EOData Date,Time,Path,Pass,Reject,unknown,SourceID,Track#,Mold#,Count,Path,Results1,Results2,Status,AddedDataSize,Tools:,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,MNR,Current,Hgt,Ring,Plug,Dip,Mold:,Number,Status,ReadErr,ListPath,Dip:,Avg,Setup,Rot:,Rot1,Rot2,Rot3,WT1:,WT1Min,WT1Max,WT1Rng,WT1Oval,WT1Stat,WT2:,WT2Min,WT2Max,WT2Rng,WT2Oval,WT2Stat,WT3:,WT3Min,WT3Max,WT3Rng,WT3Oval,WT3Stat,WT4:,WT4Min,WT4Max,WT4Rng,WT4Oval,WT4Stat,EOData GET / HTTP/1.1 User-Agent: curl/7.35.0 Host: 172.20.80.5:9010 Accept: */* 06/25/2014,06:10:11.890,Pass,1,0,0,34,2,25,3539057,0x0041,0x ,0x ,0x 0200,404,Tools:,14,16,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,92,0,0,0,521,0,Mold:,25,0x,13,0x080,Dip:,0,0,Rot:,0,749,749,WT1:,,,,,,WT2:,,,,,,WT3:,,,,,,WT4:,,,,,,EOData 06/25/2014,06:10:12.296,Pass,1,0,0,34,3,26,3539058,0x0041,0x ,0x ,0x 0200,404,Tools:,16,23,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,94,0,0,0,520,0,Mold:,26,0x,12,0x080,Dip:,0,0,Rot:,0,749,749,WT1:,,,,,,WT2:,,,,,,WT3:,,,,,,WT4:,,,,,,EOData 06/25/2014,06:10:12.578,Pass,1,0,0,34,4,21,3539059,0x0041,0x ,0x ,0x 0200,404,Tools:,14,26,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,83,0,0,0,521,0,Mold:,21,0x,12,0x080,Dip:,0,0,Rot:,0,749,749,WT1:,,,,,,WT2:,,,,,,WT3:,,,,,,WT4:,,,,,,EOData ^C kp4djt@NetCracker:/$ nc: kp4djt@NetCracker:/$ nc 172.20.80.5 9010 EMHART Glass EOData Per Bottle Data over TCP/IP (C) 1998-2001 EOData rev: 3, 0, 0, 87 EOData EOData Date,Time,Path,Pass,Reject,unknown,SourceID,Track#,Mold#,Count,Path,Results1,Results2,Status,AddedDataSize,Tools:,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,MNR,Current,Hgt,Ring,Plug,Dip,Mold:,Number,Status,ReadErr,ListPath,Dip:,Avg,Setup,Rot:,Rot1,Rot2,Rot3,WT1:,WT1Min,WT1Max,WT1Rng,WT1Oval,WT1Stat,WT2:,WT2Min,WT2Max,WT2Rng,WT2Oval,WT2Stat,WT3:,WT3Min,WT3Max,WT3Rng,WT3Oval,WT3Stat,WT4:,WT4Min,WT4Max,WT4Rng,WT4Oval,WT4Stat,EOData 06/25/2014,06:11:26.578,Pass,1,0,0,34,6,7,3539256,0x0041,0x ,0x ,0x 0200,404,Tools:,14,22,0,0,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,98,0,0,0,522,0,Mold:,7,0x,12,0x080,Dip:,0,0,Rot:,0,750,749,WT1:,,,,,,WT2:,,,,,,WT3:,,,,,,WT4:,,,,,,EOData 06/25/2014,06:11:26.984,Pass,1,0,0,34,7,25,3539257,0x0041,0x ,0x ,0x
Re: [PLUG] NFS again
On Mon, Jun 23, 2014 at 10:59 PM, John Jason Jordan joh...@comcast.net wrote: On Mon, 23 Jun 2014 21:35:51 -0700 There wasn't even a /var/log/messages file. I wonder where Ubuntu decided to hide them. /var/log/syslog ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] ntpd and subnet
On Tue, Jun 24, 2014 at 11:58 AM, Rich Shepard rshep...@appl-ecosys.com wrote: On Tue, 24 Jun 2014, Larry Brigman wrote: If these laptops have CPU's that change frequency(or sleep) based on load/temp, running ntpd is problematic. Also getting the machine into hibernate mode to be moved also could cause problems. Running ntpdate via cron is probably more than adequate. Larry, I've no idea how the CPUs respond to load/temp. The load is generally limited to as many open browser tags as the memory will allow. :-) Some times the laptops are on for several days continuously, other times they're shut down between uses. I like your suggestion of running ntpdate via cron. What frequency would you recommend? Probably no more than once an hour. Using adjtimex to help determine if the hwclock is the source of your problem would also be a good idea as the starting time is from powered off is sourced from there and saved there if the machine goes through the shutdown cycle. Thanks, Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] ntpd and subnet
http://www.ntp.org/ntpfaq/NTP-s-trouble.htm On Tue, Jun 24, 2014 at 12:15 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Tue, 24 Jun 2014, Larry Brigman wrote: Probably no more than once an hour. Using adjtimex to help determine if the hwclock is the source of your problem would also be a good idea as the starting time is from powered off is sourced from there and saved there if the machine goes through the shutdown cycle. Larry, I just booted the Toshiba and the time was correct. However, I had not included running /usr/sbin/ntpd in rc.local which is what I do on the desktop/server and the Dell laptop. I'll see if that makes a difference. Will report results in a day or three. Thanks, Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Capture of CSV data
In looking at the data in the sample, I would recommend taking the first two fields and converting that into epoch seconds. You can easily, convert that back into any date format during reports or at least combine the two fields into a single field at the database as a date/time field which will do the conversion internally. If you don't connect to the port, how much data does it store before you start loosing data? Are all three ports different data for the same machine. Does each port data need to be synced up? On Mon, Jun 23, 2014 at 8:51 PM, Chuck Hast wch...@gmail.com wrote: Forgot, one row = 1 bottle, so that means that a machine is outputting about 180 rows/minute. On Mon, Jun 23, 2014 at 8:49 PM, Chuck Hast wch...@gmail.com wrote: Well folks, this is what is neat about Linux Open Source and all of the people associated with it. I have a bundle of info here and plenty of entry points at all levels to start poking at it. I figured that a flat file was a no-no, but wanted to make sure. The row rate is based on the number of bottle inspections the machine is doing, today we are running heavy bottles so the machines are only doing about 180 bpm (bottles per minute) this is more or less a weaponized wine bottle, if you are in a bar fight you WANT one of these in your hand. When we run lighter ware we may run as high as 280bpm, this is just one of three outputs, the one that is available on port 9010, is almost 3 times as long and has more info in it, and there is a binary output on port 9050, but for right now the data on port 9030 is enough to get started. Tomorrow at work I will start poking at the data capture end and see what I can do there, then I will start looking at setting up a db (I have muddled through some work on them, I run ZoneMinder and every once in a wile i have to go in and clean the MySQL db on some of the ZM machines though of late I have not had to do it, so they must be doing some work there. I figure that once I can get those rows of data into a place where they can be used, then I can move on to other machines, the format is more or less the same for all of them, so once I can work with that one I can move to the hot end (the moulding part of the plant) and capture that data for processing, capture the data off of the cold end, and then they can get even more precise data on which moulds are causing issues etc. Again, I am all ears and will give it all a try. On Mon, Jun 23, 2014 at 7:34 PM, Benjamin Foote p...@bnf.net wrote: Chuck, All, As you approach analysis of that data I highly suggesting sending it to an ELK stack (ElasticSearch, Logstash, Kibana). http://logstash.net http://logstash.net/docs/1.4.1/filters/csv http://www.elasticsearch.org/overview/kibana/ More than just excellent graphing and log analysis, the interface is simple yet powerful. The ability to make custom dashboards that I can hand to a developer and offer them insight into what's going on has been instrumental in effecting change :) ben Benjamin Foote Linux System Administration and Development 503-313-5379 b...@bnf.net http://bnf.net @bnf On Mon, Jun 23, 2014 at 3:34 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Mon, 23 Jun 2014, Chuck Hast wrote: To be a bit more clear, I am not sure how to get the data off of the communications medium and into a db, that is where I am at loss. I assume that I have to create a table in the db that is laid out like each row, and then have a tool that can pipe the data from the source into the db. Chuck Ah! You're not familiar with databases. Each table has a series of columns that store the attributes; e.g., mould number, through-put rate, number of rejects, etc. Each row in the table is a unique set of those attributes identified by (perhaps) mould number and time. The format of the connection is http://URL/ipaddy:PortNum PortNum may be 9010, 9030 or 9050, the last one spits out the data in binary format, I will deal with that later, right now I just want to get my data in the CSV format stuffed into a db. Off-hand I cannot give you an answer because I've not done this before. However, I know it can be done quickly and easily with python and psycopg2. You might consider contracting with a python/postgres coder to quickly write the application for you. There are a bunch available locally. Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug -- Chuck Hast -- KP4DJT -- Glass, five thousand years of history and getting better. The
Re: [PLUG] Small system hardware recommendation
Back when I was evaluating hardware for a different company we found these guys. http://www.win-ent.com/ On Mon, Jun 9, 2014 at 3:56 PM, Russell Senior russ...@personaltelco.net wrote: Brian == Brian Martin plug...@martinconsulting.com writes: Brian All, I'm looking for a hardware recommendation from fellow Brian Pluggers. I need an inexpensive, fairly minimal system to run Brian pfSense firewall software. Something equivalent to Atom Brian processors or better would be fine. On the order of 512M Brian should meet our needs. 4-5 Ethernet NICs are required to allow Brian multiple ISPs and internal zones. The device will be installed Brian at a client site, so it needs to have a presentable image Brian rather than look like a science project. I can get something Brian from Logic Supply for ~$700, but that seems really expensive Brian for what I want. What's on the market these days that I should Brian consider? I assume you've looked here: https://www.pfsense.org/hardware/index.html#vendors I don't do pfsense, but it looks like it is x86 only. If you were willing to consider linux instead of bsd, then your options open considerably. If not, stop reading now, partial solutions follow: Many modern wifi routers are going to have 5 ethernet jacks, which you can segment with vlan tagging into seperate networks. There are mostly going to be MIPS architecture, or maybe ARM, but not many in the x86. The pcengines.ch APU (x86) might be worth considering, though it has only 3 ethernet interfaces, maybe not enough for you. I have some mikrotik rb493g boards with 9 gigE jacks (split across 2 switch chips), 680MHz MIPS cpu, 256Meg RAM, plus three miniPCI sockets for adding radios (or ??). They were circa $175 each. They run OpenWrt. A Netgear WNDR3800 has the same CPU, with less RAM. I got some recently off ebay for $30+shipping, it is EOL'd since about a year ago. -- Russell Senior, President russ...@personaltelco.net ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Accounting Software -- anyone doing their books with Linux?
One piece of advice that I found out from an account friend of mine. After you go over the internal limit of invoices (between 15000-16000); the local quickbooks application will lock you out of your data until you upgrade to quickbooks pro. On Thu, May 1, 2014 at 2:32 PM, Tim Wescott t...@wescottdesign.com wrote: On May 1, 2014 9:38 AM, Tim Wescott t...@wescottdesign.com wrote: To date, I've been doing my accounting in Peachtree, on Windows XP, in Virtual Box, under Linux. :: snippity :: Thank you all for your replies so far: please don't stop if you've got something more useful. The notion of doing my books online hadn't occurred to me at all. Goody. Now I have twice as many facets to mull over! -- Tim Wescott www.wescottdesign.com Control Communications systems, circuit software design. Phone: 503.631.7815 Cell: 503.349.8432 ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] OT old linksys may be dead
Switch router troubleshooting: Were you using the default addressing from the linksys with static addressing? Do you get link? Does it give out dhcp addresses? I personally don't want to allow people access to my printers without my permission. Without a router/firewall then you have just given permission. Plus allowed additional snooping of your network. A flow of packets from the internet to your computer would give a better picture to allow a recommendation. Like mine: Frontier FIOS - netgear WGT624-10/100 switch - Computer. On Tue, Apr 29, 2014 at 4:44 PM, Fred James fredj...@fredjame.cnc.netwrote: All systems here are Linux All systems here are running personal firewalls, set to allow nothing Events: Linksys BEDSR81 (a) powered through battery backup (b) had a power outage (several city blocks) (c) power came back on (d) lights on front of Linksys seemed OK, but ... (e) DSL couldn't see Linksys (f) computer couldn't see Linksys (g) put a Linksys EFAH08W in its place (h) reconfigured the printers (i) everything is working OK Questions: (A) should I assume then that the BEDSR81 is dead/un-salvageable? (B) should I be looking for another switch/router, or will the workgroup hub be good enough? Thank you in advance Regards Fred James ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Open Source - Home Security Cameras
There is another similar project designed for monitoring/alarm systems called motion. http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome On Sun, Apr 6, 2014 at 9:15 PM, Chuck Hast wch...@gmail.com wrote: No problem. Back when I lived in Tampa, FL, we had a issue with the offspring of a neighbor using the mailboxes as drops for drugs. I put up a camera but did not have a way to capture the video, I started to look for a open source solution, and found ZM. That was about 12 yrs ago, I have been using it ever since. I have seen it used for all kinds of novel things, one guy (and his neighbors) over in the UK had a issue with a person driving at excessive speed through the area, all of them had young children, but they could not get the police to do anything about it, as I recall he used ZM to not only ID the car but to obtain a reasonable estimate of speed on the vehicle, and I believe they were able to obtain relief with the aid of the video captures. I also had a neighbor have a break in, one of my cameras captured the vehicle entering and leaving the property, the sheriff asked for more video and in the end I gave them the last 6 months of video capture, I do not know if they found the guy, but we were able to see that he was driving a Jeep Cherokee and he had a large tat on the left arm. He was also rather obese. ZM captures each frame as a JPG, law enforcement really likes that format. Yes ZoneMinder is fun to play around with, or get serious and cap- ture some serious video. On Sun, Apr 6, 2014 at 6:12 PM, Michael Ewan mhew...@comcast.net wrote: On 04/06/14 09:00, Chuck Hast wrote: I am new to the list, have been living here in Kalama WA now for two years, I have been using ZoneMinder for over 10 years. I use it here in the glass plant, and also I have a server (not installed) which I brought from my home in Tampa when we moved here. I use all IP cameras on it and it works great. When I lived in Tampa one of my amateur radio friends who is a com- mericial security systems guy told me that ZoneMinder had things that only very expensive DVR products have, and I have used it to do all sort of detection things. Take a look at it: www.zoneminder.com It is VERY flexible and of course ALL open source. There is a large community. I am running it on a very BIG box her (8 xeon 24G memory server because I had it and I expect to expand the thing) but you can run it on most anything that you can get your hands on in this day and age. It likes a lot of memory and a 500G Hd will keep 8 cameras with 6 months of history easy. I run all IP cameras though it can do both IP and analogue cams. I usually set the cameras up on a 1gb island lan so i am not routing video over a shared resource, but if you are only sending a few images every once and a while you can try your hand at sharing your lan. the only part that needs to be a gb link is between the DVR and the switch, most cameras are 100mb, Make sure that the switch has enough space so it does not block if you get several cameras being hit at the same time. On Sat, Apr 5, 2014 at 11:18 AM, Tyrell Jentink tyr...@jentink.net wrote: I won't speak to the subject of hardware or recording software, because I have no experience with either... But for cloud storage, just about anything can store encrypted files. You can encrypt the video archives and sync them to Dropbox, and there ain't no one watching them without your decryption key. And if you set it to auto delete at a sane interval, you should be able to keep the total storage size on the cloud pretty reasonable (and in turn, cheap) as well. I would personally be tempted to NOT have a streaming server with associated holes in my firewall, and instead rely souly on whatever cloud service I ended up using to access the recordings. That way, IF you trust the encryption on the files, the only security risk is equivalent to basic web browsing. NEW QUESTION: Home security cameras and Linux: I often wonder about networked home security cameras with an ability to stream to internet or cloud storage in to preserve evidence out of reach of the miscreants harming one's property. The advantage of open source (in that it is inspectable by many disinterested persons) is that users can be more confident that there are either no software backdoors built in and possibly that if any hardware backdoors are discovered, that there maybe software patches which available to them. Otherwise you might get THIS: http://www.latinospost.com/articles/25613/20130815/video-baby-monitor-hacked-texas-foreign-man-who-called-toddler.htm So - is anyone playing around with home security using remote storage of surveillance video which is secure from unauthorized access? (Including
Re: [PLUG] Multi-page TIFF
Another possible solution would be to see if the windows viewer that all the users know will run under wine. On Tue, Apr 22, 2014 at 12:00 PM, Chuck Hast wch...@gmail.com wrote: Yes, for some reason the lines even on a good white rendering come out gray rather than black. As to re- scanning them, with Emhart it is what it is. I would be happy if I could just see all of the pages, the fun thing is that the fax viewer on Windows will view them just fine. Indeed at times I have to go move them to a Win XP box to open them as I get tired of fighting with all of the issues on my linux box. What are you viewing them with? As I said, the light lines, seems to be a part of the way they come out and I know that has been that way ever since I worked with them, but the multi-page, that is my real issue. The only thing that is working at this time is Image Magic, and that is kind of fiddly to get from one page to another. On Tue, Apr 22, 2014 at 10:31 AM, Rich Shepard rshep...@appl-ecosys.com wrote: On Tue, 22 Apr 2014, Chuck Hast wrote: Here is the link to some tiff samples: https://www.dropbox.com/sh/cl0drntnnj5w6vs/TfUaN2mHqd I have imagemagic and it will display them but the 2nd page is sort of grayed out, I can see the drawing but it is gray and the lines are just deeper gray. Chuck, When I look at the three pages on dropbox.com, the first two pages are so faint they're barely readable. The third page is sufficiently dark to be easily read. Perhaps the issues are with the .tif files and not the viewers? BTW, I get scanned documents from clients quite frequently. They're all .jpg files and I wonder if whomever in the Engineering Department creates these drawings can scan them in a bit-mapped format other than TIFF. Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug -- Chuck Hast -- KP4DJT -- Glass, five thousand years of history and getting better. The only container material that the USDA gives blanket approval on. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PCIe to USB3 cards, test results
There are only three major drive manufactures in the world today. Seagate WD/Hitachi Toshiba http://en.wikipedia.org/wiki/File:Diagram_of_Hard_Disk_Drive_Manufacturer_Consolidation.svg On Mon, Apr 14, 2014 at 8:34 PM, John Jason Jordan joh...@comcast.netwrote: On Mon, 14 Apr 2014 19:51:40 -0700 Keith Lofstrom kei...@gate.kl-ic.com dijo: P.S. Yes, I know the Seagates are unreliable. Today I discovered yet another failed Seagate drive. That is #4 in about two years. Seagate now tops my do not buy list. Sadly, they have bought out most of the competition in the US, so there are few alternatives. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PXE booting OpenBSD using pxelinux
I set up a little menu system within the pxelinux system. That has worked well for few years but I'm now experimenting with ipxe as a replacement. Better scripting and an active developer community. On Mar 28, 2014 4:35 PM, Paul Heinlein heinl...@madboa.com wrote: Up front, I'll admit this question is a bit of a shot in the dark, but it never hurts to ask, right? I've got PXE/TFTP setup for various Linux distributions and some utilities (clonezilla, dban, etc). I'm now starting in on OpenBSD. As far as I've been able to figure out via internet searches, pxelinux (from the syslinux package) is unable to pass control of a machine directly to a BSD kernel. Instead, you have to use the BSD-supplied 'pxeboot' loader. The naming conventions enforced by pxelinux mean that pxeboot must be called pxeboot.0. Here's a simplified view of my tftpboot directory: etc/ `-- boot.conf images/openbsd/ `-- 5.4 |-- amd64 | |-- bsd | `-- pxeboot.0 `-- i386 |-- bsd `-- pxeboot.0 And here's a relevent snippet of my PXE menu file: LABEL openbsd-5.4.amd64 MENU LABEL OpenBSD 5.4 amd64 KERNEL images/openbsd/5.4/amd64/pxeboot.0 So far so good. If I boot the image listed above, I get the BSD boot loader -- but, and this is the crux of my question, afaict I have to type the location of the actual kernel manually: boot boot images/openbsd/5.4/amd64/bsd After I type that, the OpenBSD installation kernel boots without a hitch. But manually typing the kernel path is prone to error, and it's not scriptable. It appears that you can have one (and only one!) boot.conf file from which pxeboot can get some directions. Since I want to be able to serve up at least two different images (32- and 64-bits), I can't specify a kernel in boot.conf. The best I can do is print a banner, e.g., echo ** echo The OpenBSD pxeboot utility cannot be passed an alterative echo kernel path. So you'll have to issue one of the following echo commands manually from the boot prompt: echo echo boot images/openbsd/5.4/amd64/bsd echo boot images/openbsd/5.4/i386/bsd echo ** My question: Does anyone else know a better way? Can I pass an alternative kernel path to pxeboot? Or is there a way to specify an alternate boot.conf file? -- Paul Heinlein heinl...@madboa.com 45°38' N, 122°6' W ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Wireless local network
On Tue, Feb 25, 2014 at 12:38 AM, Mike C. mconno...@gmail.com wrote: ssh -vg -L 2022:localhost: user@remotepc This is for tunneling a service that is not ssh and is firewalled or otherwised has the port blocked. Once the connection is established, Connections to port will be routed through your ssh connection to remotepc and back out to port on remotepc It should be more like: ssh -v user@remotepc: or ssh -v -p user@remotepc ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Myth Issue: Video Source Setup - Retrieve Lineups fails with SchedulesDirect
Using DHCP, the other term for static assignment is reservation. That is what I find on my netgear box. It is typically associated with a portion of the LAN side under dhcp. In my netgear box, it one of two settings for the lan side. When you provide a reservation you can also hand out a hostname. Depending on the router, and where DNS is pointed, you could also get the name. On Sun, Jan 5, 2014 at 8:49 PM, Dick Steffens d...@dicksteffens.com wrote: Dick Steffens wrote: What log should I look in to see what's going on in the Retrieve Lineups step so I can try to figure out why the backend setup program can't connect to SchedulesDirect? I'm assuming that's where the problem lies. I can log in to SchedulesDirect, plus I have it working with WiRNS on my old ReplyTV, so I don't think the problem is on the SchedulesDirect end. After looking through several log files I ran across a place where I saw an IP address that shouldn't have been there. It was one I had used on that box before switching to DHCP. My guess is that when I switched to DHCP there was someplace -- probably in Myth -- that I needed to change, too, but I can't fine it now. I'm thinking the best thing to do, since I'm still trying to get it working for more or less the first time, is to reinstall and go with DHCP right off. But, now I'm concerned that I need the facility mentioned by several folks that insures that my router, a WRT54G version 6, always assigns the Myth box the same IP address after power cycling. I don't find that capability. So now I'm back to thinking about sticking with a static ip assignment for the box, or getting a replacement WRT54G, a newer model. If I go the route of a newer model router, what is the current favorite among the cognoscenti? -- Regards, Richard C. Steffens ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Question on using localtime(), but not in your own timezone, to find calendar time
localtime is not thread-safe. Even calling localtime with different values for printing like printf( Zone1: %s Zone2: %s\n, localtime(seconds1), localtime(seconds2); will print the same value for both. http://pubs.opengroup.org/onlinepubs/007904875/functions/localtime_r.html You must store off the result before the next call as it reuses the string. On Tue, Nov 19, 2013 at 2:32 PM, website reader website.read...@gmail.comwrote: While changing from Unix epoch time, to calendar time, using the localtime() function, this works great when you expect the calendar to be correct for your local timezone, as the computer determines it to be. However I have been trying to change from epoch time to the tm structure in different timezones, and have occasionally hit with failure (defaulting back to the local timezone) in about 1 in 200 attempts. My code reads: timespec unix_time = { 1384899797,0}; // recent example std:string zone(EST); struct tm new_calendar; time_t* current_secs = unix_time.tv_sec; setenv(TZ, const_castchar*(zone.c_str)),1); new_calender = *localtime(current_secs); However I am running 7 or 8 threads and they are calling this function too so collisions to this localtime() library call might be possible. Is there anyway to have a guaranteed way to do this? Hide this call inside a Posix mutex? Will it be necessary to make atomic calls to this routine to insure correct conversion? Randall p.s. I have noticed that apparently the system is setting the TZ variable back to the local time zone or something is glitching during this time conversion. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] DOCSIS 3.0 modems
I would start with the list of modems that Comcast has certified. They could even rent you a new modem with the new wireless AC standard. On Oct 30, 2013 6:25 PM, John Jason Jordan joh...@comcast.net wrote: Several months ago Comcast announced to me that they had massively increased my internet speeds. OK, that was hyperbole, but there was some recent speed increase. I am not hurting, as I regularly get in excess of 3 MB/s down and 600 KB/s up, but this is America, so more is always better, right? However, there was a footnote in small print. It seems that to take advantage of the latest Comcast bounty I need a DOCSIS 3.0 modem. A quick check revealed that my current modem is a pathetic DOCSIS 2.0 modem. I'm not sure what to do. Google, Amazon and others provide a long list of DOCSIS 3.0 modems, but I can find little information about which is the best. The same manufacturer often lists several DOCSIS 3.0 modems, with ever escalating prices, with promises of ever greater speed as the price goes up. Isn't DOCSIS 3.0 the same regardless of the device? Other than possible construction quality, why pay extra for a modem as long as it is DOCSIS 3.0? Observations, experience, insights and suggestions welcome. ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Can I use a 3 TB internal drive?
On Mon, Oct 28, 2013 at 3:59 PM, Russell Senior russ...@personaltelco.netwrote: John == John Jason Jordan joh...@comcast.net writes: Motherboard with UEFI BIOS or compatible controller card and compatible OS needed for drives greater than 2.2TB I assume that a SATA-3 drive will work on a SATA-2 controller; it just won't run as fast as if it was on a SATA-3 controller. But what is this about drives greater than 2.2 TB? John Never mind. I found this on Seagate's web site: Some (many?) larger, newer drives can't be used as boot devices on non-UEFI bios motherboards, apparently. As long as you are booting off of something else, you should be okay, I think. I've got a couple 3TB drives waiting to get plugged into a file server which came with that warning. There are a few tricks that allow large drives like this to boot even without uefi motherboards. http://www.linux.com/learn/tutorials/730440-using-the-new-guid-partition-table-in-linux-good-bye-ancient-mbr- http://www.ibm.com/developerworks/linux/library/l-gpt/ ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] Belkin N900 Not Seen at 192.168.2.1
ip addr add 192.168.3.4/24 dev eth0 On Aug 11, 2013 11:09 AM, Rich Shepard rshep...@appl-ecosys.com wrote: On Sun, 11 Aug 2013, wes wrote: as I recall, you have a tendency to set up your network nodes with static IP addresses. this scenario is one of the downsides of such a setup - your static IP is not within the logical definition of the router's network. Not only a tendency, but that's what I do. With only a few hosts there's no advantage to DHCP. try switching to DHCP, or setting statically an IP within the 192.168.2.x range. once you're logged in to the router's management interface, you can change the router's IP to be within 192.168.55.x, and then change your machine's IP back to its previous. also, configure the router's built-in DHCP server to hand out addresses that won't conflict with your statically assigned ones. I was looking for my saved message on how to set a second eth0 interface, but I cannot find it. That's what I did before. Thinking a bit more, I realize that reaching a world-addressable IP address is different from reaching a non-world-addressible IP address from within the LAN. I'll go search for the ifconfig syntax to add a second network to eth0. Thanks, Wes, Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug