Static IP on Raspberry PI
Saturday, October 14, 2017 10:10:00 PM
As I've been doing a bunch around cameras, streams, security, I wanted to make sure I can move my Raspberry Pi around with out worrying about the IP address changing. That's really because my house has a pretty decent router that protects from incoming traffic.
But I've added some redirects and port forward, to allow certain things through, but securely :). Well, setting the IP address on the Pi wasn't obvious, at least not to me. So here's a few steps:
sudo nano /etc/dhcpcd.conf
Then to change the wifi connection to a static IP, add this (or modify that file)
Streaming Video with the Raspberry Pi
Saturday, October 14, 2017 10:02:00 PM
I bought one of those cheapy camera boards for the Raspberry Pi, and I thought it'd be good to have it watching outside my office all the time.
The thing is, I didn't want to just take pictures, I wanted to stream video from it.
RPi-Cam-Web-Interface to the rescue. Thanks to all the people that put that together, because it was super easy to configure.
Saturday, October 14, 2017 9:01:00 PM
I had a lot of audio issues using Analog option.
The following helped:
-- add the following line:
Simple Website on a Raspberry PI
Monday, October 9, 2017 10:10:00 AM
Install a few important components
sudo apt-get install apache2 php5 libapache2-mod-php5
Start the apache service
sudo service apache2 restart
Modify the default page:
sudo nano index.html
apt-get died unexpectedly segmentation fault
Monday, October 2, 2017 6:02:00 PM
What an exciting title for a post :)
This is purely for me. After starting my Raspberry PI 3, I went to do an update and the "sudo apt-get update" failed with an error that contained "has died unexpectedly" and "segmentation fault".
After many minutes googling and binging I found that this worked :
dpkg -i apt_0.9.7.7+rpi1_armhf.deb
But, I ended up going to "http://mirrordirector.raspbian.org/raspbian/pool/main/a/apt/" to find a package that existed and that I could actually install without an error.
It is meant to update your "apt-get', but it actually downgraded it. I'm hoping after the update/upgrade, it will update that also.
Hope this helps someone.