Monthly Archives: November 2013

Setting up WiFi on Raspberry Pi

This isn’t only for Raspbian running on a Raspberry Pi, as far as I know you can use it on most flavors of GNU/Linux if you want to set up WiFi using only the terminal. This also assumes that you already have appropriate drivers installed. I have tested this with this wireless adapter and the most current version of Raspbian… Read more →

Creating a Samba share in Linux

Run the following: sudo apt-get install samba samba-common-bin Set a Samba password for a user with this command: sudo smbpasswd -a USERNAME Add the following to the end of /etc/samba/smb.conf [SHARENAME] path = /home/path/to/folder available = yes valid users = USERNAME read only = no browsable = yes public = yes writable = yes Then run: smbd restart See this… Read more →

Raspberry Pi Camera Module

In order to enable user access to vchiq, do the following as root: echo ‘SUBSYSTEM==”vchiq”,GROUP=”video”,MODE=”0660″‘ > /etc/udev/rules.d/10-vchiq-permissions.rules usermod -aGvideo USERNAME To disable the red camera LED, add the following to /boot/config.txt disable_camera_led=1 As example of a python program to control the LED state: #!/usr/bin/env python import time import RPi.GPIO as GPIO # Use GPIO numbering GPIO.setmode(GPIO.BCM) # Set GPIO for… Read more →