background preloader

How to Turn a Raspberry Pi into a Low-Power Network Storage Device

How to Turn a Raspberry Pi into a Low-Power Network Storage Device
Mix together one Raspberry Pi and a sprinkle of cheap external hard drives and you have the recipe for an ultra-low-power and always-on network storage device. Read on as we show you how to set up your own Pi-based NAS. Why Do I Want to Do This? The benefit of having an always-on network storage device is that it’s extremely convenient to have your data (or backup destination) always accessible to the computers both inside and outside your network. The downside, in most instances, is that you’re consuming a fair amount of power for the convenience. Our office server, for example, runs 24/7 and consumes almost $200 worth of power a year. We’ll be the first to grant you that a full fledged server is going to have more storage space and the capability to do more work (such as transcoding a multi-terabyte video collection in a reasonable span of time). What Do I Need? In addition to the gear you’ll need from the Getting Started with Raspberry Pi tutorial, you’ll only the following hardware: or Related:  raspberry pi

DIY Raspberry Pi Torrentbox: Quickly Turn your Raspberry Pi into a Always-on TorrentBox Downloading and seeding Torrents from the computer or any other dedicated server consumes a very fair amount of energy, if you are seeding it 24x7. And it’s also not justified to put the laptop on all the time to just download the Torrent. So here our Pocket sized computer comes into picture: Raspberry Pi. There are mainly two most popular solutions for downloading Torrents in Linux System (Raspberry Pi): Transmission and Deluge. Transmission vs Deluge: As mentioned earlier that Transmission is simple and light weight torrent client in comparison with Deluge. Transmission comes with Web Interface out of the box, through which you can access the torrents on the Desktop, as well as on Smartphones using the web browser. My primary purpose is to just download the Torrents without messing around the configuration and I don’t want to install another Torrent client on my desktop (already have uTorrent), so I have used Transmission. Converting Raspberry Pi into a TorrentBox in Few Minutes: #!

The HTG Guide to Getting Started with Raspberry Pi Over the last year the Raspberry Pi, a cheap credit-card sized computer, has taken the computing and DIY world by storm. Read on as we guide you through everything from buying to powering to running the tiny dynamo. What Is the Raspberry Pi? The Raspberry Pi is a credit-card sized general purpose Linux computer designed and manufactured by the Raspberry Pi Foundation, a non-profit organization dedicated to making computers and programming instruction as accessible as possible to the widest number of people. Although the original mission of the Raspberry Pi project was to get inexpensive computers with programming capabilities into the hands of students, the Pi has been embraced by a diverse audience. The Pi features a system-on-a-chip setup built around the Broadcom BCM2835 processor (a tiny but fairly powerful mobile processor commonly used in cellphones) that includes a CPU, GPU, audio/video processing, and other functionality all on a low-power chip. What’s On The Raspberry Pi Board?

Make Your Own Wireless Printer With A Raspberry Pi Wireless technology is perhaps the best improvement to home printing for years. Fewer cables, flexibility about where you can put your printer – it’s win-win. Unless you have an older printer. While it might be easy enough to buy a new printer for under $50, you might have spent enough on your last one, and be unable to justify the outlay. The solution, then, is to make it wireless. Benefits Of Wireless Printing If you haven’t already enjoyed the benefits of wireless printing, then this project is definitely the place to start. With a wireless printer you can move your printing into a separate room (perhaps even your shed) and collect your print jobs when they’re complete. Wireless printing really is about making printing flexible rather than “locking” it to the desk. Preparing For Wireless Printing With The Raspberry Pi For this project, you’ll need to ensure you have connected and setup a wireless USB dongle for your Raspberry Pi. To update, enter sudo apt-get update followed by lsusb

How to Configure Your Raspberry Pi for Remote Shell, Desktop, and File Transfer So you have a Raspberry Pi and you would like to maximize its tiny footprint by turning into a totally stand alone box—no monitor, keyboard, or other input peripherals. Read on as we show you how to set up remote shell, desktop, and file transfer access on your Pi. Why Do I Want to Do This? The Pi, even clad in a sturdy case, is a tiny computer. It’s perfect for tucking somewhere out of sight without a gaggle of wires sticking off of it—for many projects you simply don’t need a permanent monitor and peripheral accompaniment. That doesn’t mean, however, that you won’t need to connect to the box to make changes, update things, transfer files, and so on. What Do I Need? If you’re brand new to working with the Raspberry Pi, we strongly suggest checking out The HTG Guide to Getting Started with Raspberry Pi to get a handle on the basics of the device and get up to speed. For this tutorial you will need the following things: Setting Up and Connecting to the SSH Server sudo raspi-config #! sudo reboot

petrockblog/OwncloudPie Mappages de broches Raspberry Pi 2 & 3 broches - Windows IoT Les interfaces matérielles pour Raspberry Pi 2 et Raspberry Pi 3 sont exposées via l’en-tête J8 de 40 broches sur la carte. Les fonctionnalités incluent : 24x - Broches GPIO1x - UARTs série (RPi3 inclut uniquement mini UART)2x - Bus SPI1x - Bus I2C2x - Broches d’alimentation 5V2x - 3.3V broches d’alimentation8x - Broches au sol Broches GPIO Examinons le GPIO disponible sur cet appareil. Vue d’ensemble du code pin GPIO Les broches GPIO suivantes sont accessibles par le biais d’API : * = Raspberry Pi 2 UNIQUEMENT. Exemple GPIO Par exemple, le code suivant ouvre GPIO 5 en tant que sortie et écrit un « 1 » numérique sur la broche : using Windows.Devices.Gpio; public void GPIO() { // Get the default GPIO controller on the system GpioController gpio = GpioController.GetDefault(); if (gpio == null) return; // GPIO not available on this system // Open GPIO 5 using (GpioPin pin = gpio.OpenPin(5)) { // Latch HIGH value first. pin.SetDriveMode(GpioPinDriveMode.Input); Épingler le Muxing UART série Bus I2C

WTware for Raspberry Pi 2 — thin client operating system Turn your Raspberry Pi into a wireless access point | The MagPi This article explains how to convert your Raspberry Pi into a wireless access point using a simple WiFi USB dongle. You will need - A Raspberry Pi model B (of course!) - An SD Card for your Raspberry Pi: I used a 4GB for this but whatever you have should be good - A USB WiFi Dongle: I used a ZyXEL Communications Corp. Setting up your SD card First install Raspbian from the Raspberry Pi site at the URL below: www.raspberrypi.org/downloads Install the image to your SD card as explained here: www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf Logging into your Raspberry Pi Log in to your Raspberry Pi – I setup mine via SSH but no reason why you can’t do it via a keyboard and screen if you have it connected that way. If you’re using SSH then you’ll need to locate your Raspberry Pi’s IP address on your LAN using (on Linux systems, at least): $ sudo nmap -sP 192.168.0.0/24 Nmap scan report for UNKNOWN (192.168.0.54)Host is up (0.65s latency). Configuring your Raspberry Pi #!

thibmaek/awesome-raspberry-pi: A curated list of awesome Raspberry Pi tools, projects, images and resources Quelle différence entre apt update, upgrade, dist-upgrade et full-upgrade ? Si vous utilisez un système Linux Debian ou basé sur Debian (comme Unbuntu ou Linux Mint) en ligne de commande, vous avez sans doute déjà utilisé l’instruction apt-get, apt ou encore aptitude. Grâce à ces dernières, vous pouvez installer et mettre à jour des paquets sur votre distribution Linux. Mais quelle est la différence entre un apt update, apt upgrade, apt dist-upgrade ou apt full-upgrade ? Laquelle de ces options devriez-vous utiliser ? Les mises à jour en ligne de commande APT est une interface de gestion des paquets des systèmes Linux Debian. apt-get est le programme de base permettant d’installer, de mettre à jour ou de supprimer des paquets. L’utilisation d’apt-get reste toutefois recommandée dans les scripts Shell sinon c’est apt qu’il convient maintenant d’utiliser. apt update # apt update L’instruction update va rechercher les mises à jour disponibles pour votre système et vos programmes installés en se basant sur les sources définies dans /etc/apt/source.list. apt upgrade

Raspberry Pi Scratch Robot | Eric Barton Fuller I found an application for the Raspberry in my classroom! With the endless possibilities of the Raspberry Pi in education, it is difficult to focus on one application. This is my attempt to document a focused application. I am sure this idea will branch out into other ideas or supplemental ideas will follow. Goal: The students are presented with an easy to develop hardware system on top of the robot chassis consisting of the Raspberry Pi, Pi Cobbler, Battery pack, H-bridge motor controller, and a Breadboard. The students are presented with an easy to use graphical/block based software programming environment using a modified version of Scratch for the Raspberry Pi which allows for control of GPIO pins. Students will be provided with resources such as wiring pin-outs, diagrams, schematics, hardware tutorials, software tutorials so they may create working robots in class (hopefully in about 10 minutes). Autonomous vs. Summary: This project will take a work on the back end. Resources:

Creating a LAMP server (web server - Linux Apache Mysql PHP) on the Raspberry Pi - Linux tutorial from PenguinTutor This provides details of how to configure a Raspberry Pi as a webserver. This is similar to the guide to using Xubuntu as a LAMP webserver, but adds some of the things that need to be handled differently for the Raspberry Pi. It is termed a LAMP server which is one of the most common configuration for webservers which standard for: Linux – operating system Apache – webserver (http) software Mysql – database server PHP or Perl – programming languages This setup is probably overkill for most uses of the Raspberry Pi, but it is the setup that most users will be familiar with and is a good way to learn about setting up a webserver. I’ll be looking at setting up a lightweight setup in future. All this configuration is done at the command line. Why use the Pi? Avoiding the geeking answer of “because I can” I think there are some good reasons for doing this. Learn Linux The main aim of this site is to teach Linux skills. Debian Linux Security passwd and follow the prompts for changing the password.

raspberrypi/documentation

Related: