Okay, had heard that, once you have the card ready for the Pi, it's also readable on the PC - in an intelligible way.
Tried the card from 5 years ago - and, when I plug it in (it's an SD, not microSD BTW - for the version 1 Pi)- I get two new USB drives showing - one readable, the other saying "Need to format." No thanks.
But, with the brand new one I just got, when I plug in, I get..
four new drives! And yes, there's a boot(G:) that does have the wpa_supplicant.conf
So, let's see :)
Yes, that gets the Pi showing up when you run nmap through the Zenmap GUI (for those of you who are wary of the Russian alternative - Advanced IP Scanner).
But, try getting in with ssh and... connection refused. *d Caleb Bergquist. Be thorough man!
Turns out, you need a file in your boot directory called ssh - just an empty file. And that will take care of it. My advice, go to Cygwin and then /cygdrive/g and touch it and you're done. Notepad++ manages to still give you grief, though I'm sure it's Windows to be blamed.
But, beware - what do you do if you've booted up your Pi and now can't turn it off for want of being able to connect? Caveman :( You have to connect a USB keyboard and then, very carefully,
CTRL-ALT-F1 and then very carefully, "sudo shutdown -h now" and see the LED blink 10 times and then you're good to pull the plug.
Showing posts with label raspberry pi. Show all posts
Showing posts with label raspberry pi. Show all posts
Wednesday, January 15, 2020
Sunday, December 7, 2014
how can I use motion by ken lavrsen to send a text message to my phone?
That's what we're attempting to answer today..
Short answer, edit (as su) /etc/motion/motion.conf and change
# Command to be executed when an event starts. (default: none)
# An event starts at first motion detected after a period of no motion defined by gap
; on_event_start value
To
# Command to be executed when an event starts. (default: none)
# An event starts at first motion detected after a period of no motion defined by gap
on_event_start /home/pi/textme.py
Simple? You would just put in on_event_start echo Alert | mail -s "Subject" number@messaging.sprintpcs.com
Okay, this actually works - but, there's a blemish - as soon as you launch motion with "sudo motion", you get a text message.. Why? That's just dumb. Is it a problem with motion?
Anyhow, I think this gmail to send text to phone with Raspberry Pi might have a hole somewhere. Just a day after doing this, I get a spam SMS this morning :(
Short answer, edit (as su) /etc/motion/motion.conf and change
# Command to be executed when an event starts. (default: none)
# An event starts at first motion detected after a period of no motion defined by gap
; on_event_start value
To
# Command to be executed when an event starts. (default: none)
# An event starts at first motion detected after a period of no motion defined by gap
on_event_start /home/pi/textme.py
Simple? You would just put in on_event_start echo Alert | mail -s "Subject" number@messaging.sprintpcs.com
Okay, this actually works - but, there's a blemish - as soon as you launch motion with "sudo motion", you get a text message.. Why? That's just dumb. Is it a problem with motion?
Anyhow, I think this gmail to send text to phone with Raspberry Pi might have a hole somewhere. Just a day after doing this, I get a spam SMS this morning :(
Labels:
eben upton,
home security,
ken lavrsen,
raspberry pi
Subscribe to:
Posts (Atom)