Tag: Raspberry Pi
Making Robot Friends with RemoTV
Years ago at Maker Fair I saw a person followed by a rather impressive robot that seemed to have a mind of it’s own. Later I found out that the robot was being controlled by people through the internet using a site called LetsRobot. While that project is no more, that same person, Jillian Ogle, that I met is the creator of it’s successor RemoTV.
Continue reading Making Robot Friends with RemoTVWireless NAT server E-ink badge with Apache, PHP, SQL, Media Wiki, and MQTT
If you can not connect MediaWiki with your MySQL password and user name, do the following steps.
sudo /etc/init.d/mysql stop
Once MySQL has stopped, run:
sudo mysqld_safe --skip-grant-tables &
When MariaDB is loaded, run the following command but replace username and password with one of your choosing.
GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password';
Or try to reset the root password:
sudo /etc/init.d/mysql stop sudo mysqld_safe --skip-grant-tables & sudo mysql -uroot
when MariaDB is loaded, run the following commands but replace newpassword with the one you want.
use mysql;
press enter, then:
update user set password=PASSWORD("newpassword") where User='root';
press enter, then:
flush privileges;
press enter, then:
quit
press enter
Now stop and restart MySQL
sudo /etc/init.d/mysql stop sudo /etc/init.d/mysql start
Try logging into MySQL
sudo mysql -u root -p
At this point you may have to add a new user if the root password will not work.
After logging into MySQL, like before, run this command:
GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password';
Set up Home Assistant with a Raspberry Pi
This is a detailed guide for beginners to install and setup a home automation server using a Raspberry Pi and Home Assistant. Continue reading Set up Home Assistant with a Raspberry Pi
Setting up MQTT on RasPi with Node Red
Download and install Raspian Stretch Lite onto RasPi SD card
-
sudo raspi-config
- Enable SSL and any other desired options
Wireless NAT server E-ink badge with Apache, PHP, SQL, Media Wiki, and MQTT
Intro
This will walk you through setting up a Raspberry Pi Web server with Raspbian Buster Lite. The following services will be installed and available by the end of this tutorial.
- Apache web server
- MySQL database
- PHP
- MediaWiki
- MQTT
Continue reading Wireless NAT server E-ink badge with Apache, PHP, SQL, Media Wiki, and MQTT
Can’t get MediaWiki to connect to MySQL using root password.
If you can not connect MediaWiki with your MySQL password and user name, do the following steps. Continue reading Can’t get MediaWiki to connect to MySQL using root password.
Setting up a Pi Zero W
Intro
The Raspberry Pi Zero W is super good for a lot of projects and at $10 you can not do better than this mini Linux computer. However, it can be tricky to get things going due to the lack of Ethernet or full sized HDMI or USB port. You can get adapters, but we don’t need them anyway. Continue reading Setting up a Pi Zero W
What is the best programming language?
The thing I get asked the most by parents and people trying to figure out how to get into the tech world is where to start. While a knowledge of at least some hardware is important, this post will be more focused on the structure of programming languages and why it is better to know one over another. This really boils down to the common modern day argument over C++ vs JavaScript vs Python. Continue reading What is the best programming language?
I2C protocol for LED matrix
Wow this will come in handy when I get around to configuring the Imp to send I2C commands to the Adafruit 8×8 LED matrix backpack. Hopefully I can map the LED addresses easily so I can make an icon library to drive the matrix. Continue reading I2C protocol for LED matrix