Disabling IPv6 Kernel Module on Raspbian Stretch

I’m using Raspbian Stretch Lite (September 2017 version) and for some reason, wanted to disable IPv6 kernel module, which is loaded by default. Basically, it can be done by blacklisting the kernel module. [1] Here is steps I took.   1. Check already loaded modules (Optional) You can check already loaded modules by ‘lsmod’ command.… Continue reading “Disabling IPv6 Kernel Module on Raspbian Stretch”

Setting Up UART Serial Communication between Raspberry Pi and PC

This post shows how to setup serial communication between Raspberry Pi and PC using a USB-Serial cable. Here is the list of contents of this post. Contents Prerequisites Steps Wiring Setting up terminal emulator on Windows PC Enabling UART on Raspberry Pi Disabling console service Setting up terminal emulator on Raspberry Pi Test   Prerequisites These… Continue reading “Setting Up UART Serial Communication between Raspberry Pi and PC”

Waking Up Raspberry Pi Using Reset Pin

This post shows steps to wake up Raspberry Pi 3 from other Raspberry Pi by using RUN (reset) pin. Background: I was looking for a way to wake up my Raspberry Pi 3 from other device and found the information below, Resetting the board while in halt state wakes Raspberry Pi up [1] Raspberry Pi 3… Continue reading “Waking Up Raspberry Pi Using Reset Pin”

Running BLE GATT Server Example on Raspbian Stretch

The purpose of this post is to run an example code of Bluetooth Low Energy GATT server from BlueZ source code on Raspberry Pi. Here are the contents of this post. Contents – Assumptions – Steps 1. Download Example Code 2. Execute Example Code 3. Install Requisite 4. Start Advertising BLE 5. Verify – Reference… Continue reading “Running BLE GATT Server Example on Raspbian Stretch”

Disabling Screen Sleep on Raspberry Pi

By default the screen goes to sleep after some minutes of inactivity. It can be disabled by editing configuration file. Here is the steps. 1. Open /etc/lightdm/lightdm.conf file. sudo nano /etc/lightdm/lightdm.conf 2. Look for the line starts “xserver-command” under “[Seat:*]” section and modify as below: xserver-command=X -s 0 -dpms 3. Reboot the system. sudo reboot… Continue reading “Disabling Screen Sleep on Raspberry Pi”