Reference

Default passwords

Handy if you lose the information Distribution | Username | Password —————|————|————- Debian Squeeze | pi | raspberry Arch | root | root QtonPi | root | rootme Raspbian | pi | raspberry OpenElec | root | openelec Pidora | root | raspberrypi RISC OS…

Read more

mcp23017 and i2cset example

In a previous example at connecting a mcp23017 to your raspberry pi we used a python script to flash LEDs connected to mcp23017 but there are other options available. In this example we look at a command line tool called i2cset i2cset is a small helper…

Read more

Raspberry PI GPIO connector

Raspberry PI A+, B+ and 2B GPIO J8 40-pin pinout. Raspberry PI Models A and B have only the first 26 pins. GPIO# 2nd func pin# pin# 2nd func GPIO# – +3V3 1 2 +5V – GPIO2 SDA1 (I2C) 3 4 +5V – GPIO3 SCL1…

Read more

File and directory command line

File and directory command line Directories List directory: ls List directory (wildcard matching): ls *.txt List all files of type: find . -name “*.txt” -print Switch/toggle between dirs: cd – Make empty directory: mkdir sample-directory Remove empty directory: rmdir sample-directory Remove directory with all contents:…

Read more

Raspberry Pi hardware information

Raspberry Pi hardware information, open up the terminal and type the commands listed below, you can also see the output from the terminal cat /proc/cpuinfo displays details about the device’s processor. cat /proc/meminfo displays details about the Raspberry Pi’s memory cat /proc/partitions reveals the size…

Read more

Installing MySQL Client

The MySQL Client can be used to connect to MySQL Server databases across a network. It provides a text-based interface to a MySQL Server. Commands # Install MySQL Client from the Debian repository sudo apt-get install mysql-client The package manager may suggest some dependencies for MySQL…

Read more

Installing MySql Server

Installing MySQL Server Start LXTerm and enter the following # Install MySQL Server from the Debian repository sudo apt-get install mysql-server The package manager may suggest some dependencies for MySQL Server. Press “Y” then “enter”  to continue installation. The MySQL installation process will prompt for a…

Read more

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More