Changes

Raspberry Pi

1,621 bytes added, 13:31, 1 October 2016
Add link to verified SD Cards
== Setup ==
# Download [http://downloads.raspberrypi.org/NOOBS_lite_latest NOOBS], a simple to use installer that requires no command line knowledge
# Find an empty [http://elinux.org/RPi_SD_cards SD or microSD ] card (minimum 2gb/class 6, 4gb/class 10 recommended - try to find cards with UHS-1), make sure it's FAT32, and then extract all the files from the NOOBS zip onto it
# Plug in the SD card, an HDMI or composite display, a ethernet cable, usb keyboard + mouse, and a ''good'' 5v power supply (seriously - a lot of issues come from low power/fake power supplies) [[File:RasperrySetup.jpg|500px]]
# Power on the Pi, and wait a few seconds until you reach the screen below. Select Raspbian, click install, and wait a few minutes - the Pi should take 20-60 minutes to install depending on your internet connection and SD card. [[File:NOOBS.png|500px]]
# Click on finish, reboot your Pi, and you're good to go!
 
<pre>
Hackers guide, only do this if you know what you're doing - you could wipe the wrong device!
sync
##remove SD card and copy steps 3 and 5 above
## Configuration tool with menus / Outil de configuration par menu :
raspi-config
 
## Ddefault user / Utilisateur par défaut : pi
 
</pre>
 
=== WiFi ===
If you have a WiFi stick that is directly compatible with Raspbian, follow the instructions bellow. If it's not, then you'll need to troubleshoot with Google.
 
[http://www.debuntu.org/how-to-wifi-roaming-with-wpa-supplicant/ WPA supplicant setup] with different settings for different networks
 
=== Headless setup ===
 
If you don't want to connect a keyboard and monitor to your RPi, you can perform a [[Raspberry Pi: Headless installation|headless installation of Raspbian]] instead of using NOOBS.
 
== Screen blanking ==
add the following lines to /etc/xdg/lxsession/LXDE/autostart, remove the line with the screensaver option
 
@xset s off
@xset -dpms
@xset s noblank
== Software ==
Then you can edit files in /var/www/
=== Un wiki Wiki ===
==== Intro ====
Utiliser un Raspberry Pi pour remplacer un serveur AMD 64 bit est ce réaliste pour héberger un wiki?
Then you can edit files on your laptop.
 
=== Push notifications ===
You can send push notifications with Pushbulltet on various events, such as booting your Pi. Let's start off with a script that sends you a push notification with your IP when you turn on your Pi:
nano piip.sh
Paste this inside, and replace the example keys with your own keys:
#!/bin/bash
ipVar=$(/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')
curl https://api.pushbullet.com/v2/pushes \
-u <paste_your_API_key_here>: \
-d device_iden="<device_ID_of_your_phone>" \
-d type="note" \
-d title="Pi IP address" \
-d body=$ipVar \
-X POST
 
Set permissions to allow it to execute:
sudo chmod 777 piip.sh
 
Open the crontab:
sudo crontab -e
 
Then paste at the bottom of the crontab:
@reboot /home/pi/piip.sh
 
[https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=79151 Documentation]
== Hardware ==
[https://projects.drogon.net/raspberry-pi/wiringpi/the-gpio-utility/ Documentation]
 
[https://github.com/sarfata/pi-blaster PWM library]
38
edits