When it comes to run a script at Ubuntu/Raspbian startup it may be a pain. Where are some ways of doing it:
This guide is confirmed to work with MEO Technicolor TG784n v3 firmware v10.2.1.L but may be used as a reference for different firmware versions or different router models.
Assuming you have access, either physical or remote access, to you server you can reset your WordPress site with the following steps:
- Change location to your site folder (probably /var/www/html)
- Download wp-cli:
$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
- To easily use wp-cli:
$ chmod +x wp-cli.phar $ sudo mv wp-cli.phar /usr/local/bin/wp
- List your site user using:
$ wp user list
- And then update the password of a specific user with:
$ wp user update [username] --user_pass=[password]
where [username] is the user name and [password] is the new password
If you need to take a screenshot on Raspbian you will find that the PrintScreen key does not work at all.
Here is a solution for that! Continue reading
If you need to rotate your screen in Raspbian you will find that it is not as simple as you are used to.
If you need your python program to emulate a mouse movement/click or a key press here is what you need to do.