Re: [PLUG] Break in attempt?

2012-03-03 Thread Mike Connors
*cough cough* http://perimetergrid.com/wp/2008/05/17/ubuntudebian-crng-cracked-ssh-vulnerable/ Missed that one. Seems to be limited to Debian's RNG, and affects only the key generation process, not the protocol itself. quite correct. point being, even SSH keys aren't

[PLUG] Cron script help wanted

2012-03-03 Thread Rich Shepard
This morning I'm seeing this error when the script looks at www.whatismyip.com for the assigned IP address: /home/rshepard/shell-scripts/ngetip.sh: line 4: [: too many arguments What is recommended for error checking and graceful recovery in a bash shell script like mine? BTW, I can point

Re: [PLUG] Cron script help wanted

2012-03-03 Thread Rich Shepard
On Sat, 3 Mar 2012, Roderick A. Anderson wrote: Probably the quickest way would be to enclose $NEWIP and $OLDIP in double quotes. if [ $NEWIP != $OLDIP ]; then Rod, Dale suggests this, too, so I made the changes. As far as the URL. I get an error when I use the http version but

Re: [PLUG] Cron script help wanted

2012-03-03 Thread Rich Shepard
On Sat, 3 Mar 2012, Dale Snell wrote: First thing I'd do is put quotes around the variables in the test: if [ $NEWIP != $OLDIP ]; then Dale, Done. Second thing would be to put some rudimentary error checking ahead of the test, after $NEWIP is set: if [ -z $NEWIP ]; then

Re: [PLUG] Cron script help wanted

2012-03-03 Thread wes
On Sat, Mar 3, 2012 at 9:48 AM, Roderick A. Anderson raander...@gmail.comwrote: Probably the quickest way would be to enclose $NEWIP and $OLDIP in double quotes. if [ $NEWIP != $OLDIP ]; then OF course this will not fix the actual problem of why either of them are empty. from what I

Re: [PLUG] Cron script help wanted

2012-03-03 Thread wes
Errors checking for the current IP address have happened only 4 or 5 times since the switch to DHCP. No way to predict when it happens. And, when it does occur, the next check (in 15 minutes) works properly. this strongly suggests a problem at the other end, at whatismyip.com. perhaps

Re: [PLUG] Cron script help wanted

2012-03-03 Thread wes
On Sat, Mar 3, 2012 at 9:35 AM, Rich Shepard rshep...@appl-ecosys.comwrote: This morning I'm seeing this error when the script looks at www.whatismyip.com for the assigned IP address: because you reported this, I went and checked my own script using whatismyip.com - and it's broken too.

Re: [PLUG] Cron script help wanted

2012-03-03 Thread wes
On Sat, Mar 3, 2012 at 11:27 AM, wes p...@the-wes.com wrote: On Sat, Mar 3, 2012 at 9:35 AM, Rich Shepard rshep...@appl-ecosys.comwrote: This morning I'm seeing this error when the script looks at www.whatismyip.com for the assigned IP address: because you reported this, I went and

Re: [PLUG] Cron script help wanted

2012-03-03 Thread Dwight Hubbard
That looks useful and I was bored so I wrote it in python. When I played with it, I found the server would intermittently return text that loks like: htmlbodyh1 HTTP/1.1 500 Server Error/h1/body/html instead of the IP address. So you should be able to add something like this right after

Re: [PLUG] Cron script help wanted

2012-03-03 Thread Rich Shepard
On Sat, 3 Mar 2012, wes wrote: this strongly suggests a problem at the other end, at whatismyip.com. perhaps resulting from load related issues. there are a lot of people using it in this way. I wonder if your dynamic IP host has any equivalent service to offer you? wes, You are correct

Re: [PLUG] Cron script help wanted

2012-03-03 Thread Rich Shepard
On Sat, 3 Mar 2012, wes wrote: because you reported this, I went and checked my own script using whatismyip.com - and it's broken too. this leads me to believe they have changed something. Interesting, Wes. ... which means that when whatismyip.comreturns an error, your script will

Re: [PLUG] Cron script help wanted

2012-03-03 Thread jgw
You could just find a better site to get your IP; sdf.org/ip is pretty good. Or maybe whoever manages the PLUG site could add a My IP page; it's just a server side include value IIRC. Jeff ___ PLUG mailing list PLUG@lists.pdxlinux.org

Re: [PLUG] PSK error in wicd

2012-03-03 Thread Rich Shepard
On Sat, 3 Mar 2012, Rich Shepard wrote: What might I be doing incorrectly here? This is the last hurdle in the race to get this new laptop fully up and running. Methings I've a protocol mis-match between the WAP and the laptop. On the Asus WL-520GC for Authentication Method I selected

Re: [PLUG] Cron script help wanted

2012-03-03 Thread Martin A. Brown
Hello all, I imagine that there are quite a few (old) sysadmins, developers and Pythonistas lurking on this list who are also interested in this question. I'm one of them, I suppose, and I couldn't help but want to add a point or two. Rich--I think you have gotten quite a bit of help so far

Re: [PLUG] PSK error in wicd

2012-03-03 Thread Mike Connors
I hope someone here is fluent in wicd 'cause I can't figure out the solution to a problem. Context: new Sony Vaio laptop running Slackware-13.37/x86_64 with wicd-1.7.0. When invoked with 'wicd-client -n' from the command line, up pops the wicd network manager showing our local AP