I have been waiting for a few weeks, but i finally got the cables and adapters i needed for the Motorola atrix lapdock. The main issue was finding an adapter to get from female micro hdmi to regular hdmi. I thought i was going to have to strip out the USB power cables so it didnt put 5v into the USB port the keyboard was going into but a forum post showed me i had a new board and surprise! It not only worked and let me type but it provided power to the raspberry too. Screen is really crisp. Works great. Added bonus is a powered 2 port USB dock. Really the perfect testing setup.
Now to see how long the built in battery will power the setup.
- Expand File system to use entire SD card
- Memory Split to 16
****NOTE: From here down, the instructions are not Raspberry Specific. Should work on Debian, ubuntu, etc
- sudo apt-get update
- sudo apt-get upgrade -y
- sudo apt-get install -y cacti
#Set a password for mysql if you want or leave it blank
#Hit ok a couple times
#Which kind of web-server should be used by cacti?
#meanwhile back on the qnap…
On your pc:
- Go to Network Services and Select SNMP Settings
- Enable SNMP Service
- Enter your raspberry’s IP in Trap 1
- You can leave the Community field or change it. This is your snmp “password”. You will need to enter it in the Cacti page.
#Back at the Raspberry pi, eventually you will be asked if you want to “configure database for cacti with dbconfig-common” on the raspberry.
#When it is done it will drop you back to the command prompt. You are now done with the PI.
#Back at your computer:
- Next >>
- Next >>
- Admin / Admin
- Make a new password
#Add the Qnap in the Cacti webpage
- Choose Devices
- Click on ADD
- Description: Some name
- Hostname: IP or Hostname of NAS
- Host Template: Linux Server
- SNMP version 2
- SNMP community: whatever you entered in the QNAP above
- If successful you should see some info at the top like the picture below:
#Now its time to make some graphs
Select Create Graphs in the top right
You will see a list of things you can monitor. You probably want CPU, memory, eth0, and the disk partitions. Select the things you want to monitor and “create”
#Now we just need to add it to the Graph Tree
On the left, select Graph Tree and than Default Tree
Click Add on the right.
Change Item type to HOST and find your Device Name
#No go to Graphs on the top and open the Default Tree to verify that it is showing up. It will take 5-10 minutes to show any graphs.
#Take a break
I have a fever and the only cure is more cacti
Trying to use a 3.5 screen on composite, with stock raspian settings, is pretty much unreadable. Here are a couple settings that can help out:
#Increase the font size used on the Terminal Monitor
- sudo nano /etc/default/console-setup
#Rotate the screen in Mame4All for games like pacman and frogger so it uses the entire screen
- sudo nano /home/pi/emulators/mame4all-pi/mame.cfg