Below are instructions on how to configure a wifi adapter on the Raspberry Pi.
O/S – Raspbian Jessie Lite
- Login to the RPi (username:pi password:raspberry)
- Input the following string, this loads the wifi config file into a text editor;
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
- The config file should already have something like the below in it;
- Add the below lines into the config file, replacing the XXXX’s with your WiFi info;
- So, once the new lines have been added, you config file will look like this;
- To close the editor and save the file, press Ctrl and X then select ‘Y’ and then the ‘Enter’ key.
- The system should recognize the config change and connect with wifi adapter after a couple of seconds, it it doesnt – restart the Pi using the following command.
By default, logging of Cron is disabled. To enable this log function, follow the steps below:
Use the below command to open up the ‘rsyslog.conf’ fine in the Nano editor
pi@rpi2 /etc $ sudo nano rsyslog.conf
Once the rsyslog is loaded into nano, navigate to the below section and un-comment the ‘cron’ option
# First some standard log files. Log by facility.
Save the document by pressing CTRL X, Y to confirm the file name and then Enter to comit the save, nano will then close.
Reboot the Raspberry Pi:
How to setup a Real Time Clock on a Raspberry Pi B v1.1
If you didn’t know, the Raspberry Pi doesn’t hold the time very well, this is because there is no on board Real Time Clock.
To keep the devices time accurate we need to add a module that holds the time whenever the RPi has no power running to it and then updates the RPi with the time saved on the battery powered module when the full power is restored and the system starts running again.
Continue reading Raspberry Pi Real Time Clock (RTC)
To run the mains powered electrical items of the
piTank I wanted a remotely controllable power bar connected to the same Raspberry Pi as the piTank software.
piTank power bar will include input connections for thermal probes, water sensors, switch inputs and an external connector to a viewing panel mounted on the front of the cabinet.
What is the first thing you do when you have a good idea, Google it to see if anyone has done the same!
Continue reading piTank Power Bar v1
Didn’t bother to stop. Cheers for the busted mirror. Bad driver.
||Taxed. Expires August 1, 2015
||Valid MOT. Expires May 1, 2016
||June 29, 2011