Auto-connect to wireless nets? lizdainis wrote:pjc123 can you share your script ? autoconnect First of all, don't expect to just copy my scripts and expect them to magically work for your application. You might find it a lot easier to use one of the gui applications like wicd, although I don't know their capabilities. 1) The config files scan for multiple routers, in the order given in the wpa_supplicant file. 2) Scan for routers with a hidden SSID (Not broadcasted). 3) I have two different wifi dongles that I use (An Edimax and a TP-Link). 4) I am using DHCP. 5) I am using WPA2. 6) You need to enter your SSID (and PSK if using one of the WPA protocols). 7) Just a side note that I set several other parameters explicitly, rather than relying on multiple or default settings. On your pi, the files in the directory /usr/share/doc/wpa_supplicant explain what all these parameters mean, and there are various example files for different configurations. Here are my config files: A) /etc/network/interfaces: Code: Select all
Raspberry Pi No-ip Tutorial Gegevens Categorie: Tutorials Dynamic IP adres? No problem! Note - Its important you create yourself an account and add a host on no-ip before installing the client as you will need your account details as part of the install. Install no-ip client: Create a directory for the client software mkdir /home/pi/noip[ENTER]cd /home/pi/noip Download the client software wget Extract the archive tar vzxf noip-duc-linux.tar.gz[ENTER] Navigate to the archive directoryNote - use 'ls' to check the directory name create when the archive was extracted, it was noip-2.1.9-1 when I installed the client. cd noip-2.1.9-1[ENTER] Compile and installThe client was compiled and installed on the Raspberry Pi, using the following commands: sudo make[ENTER]sudo make install During the install I was asked to proide my login, password and a refresh interval.Run the clientThe client is run using the following command: sudo /usr/local/bin/noip2[ENTER]
RPi Low-level peripherals Back to the Hub. Hardware & Peripherals: Hardware and Hardware History. Low-level Peripherals and Expansion Boards. Screens, Cases and Other Peripherals. Introduction In addition to the familiar USB, Ethernet and HDMI ports, the R-Pi offers lower-level interfaces intended to connect more directly with chips and subsystem modules. General Purpose Input/Output (GPIO) The layout of the Raspberry Pi P1 pin-header seen from the top, containing pins useable for general purpose I/O. General Purpose Input/Output (a.k.a. The Raspberry Pi allows peripherals and expansion boards (such as the Rpi Gertboard) to access the CPU by exposing the inputs and outputs. For further general information about GPIOs, see: the wikipedia article. The production Raspberry Pi board has a 26-pin 2.54 mm (100 mil) expansion header, marked as P1, arranged in a 2x13 strip. GPIO voltage levels are 3.3 V and are not 5 V tolerant. All the GPIO pins can be reconfigured to provide alternate functions, SPI, PWM, I²C and so.
Windows Installation Windows installation is very simple and works on Windows 2000 / XP, Vista and Seven. First, fetch the Windows installer from this link here and extract the contents to a folder. Next up, run the program called “setup.exe”, you may receive a UAC prompt if running Vista or later. This is because the Raspbmc installer needs to run as an Administrator on your system to write to the SD card at block device level. You will now be presented with an interface such as this: Your SD card should be shown on the list. WARNING: This program enumerates ALL removable devices on the system, data loss can occur and I will not be responsible if you image the wrong device. Note if you want to use your SD card for purposes other than Raspbmc and the card only appears to be about 60MB in Windows: That’s because Windows does not recognise the Linux partitions that Raspbmc uses.
Silverlight Developer » Blog Archive Bare Metal GPIO on the Raspberry Pi - Silverlight Developer The Raspberry Pi is classically used as a single board computer running Linux but it also offers the possibility of using the board without Linux (known as bare metal development). Add to this the availability of free ARM development tools and we have the opportunity to develop on a high speed ARM processor at a reasonable cost. This post explores the steps necessary to toggle a GPIO pin on the Raspberry Pi by directly accessing the registers without the presence of an operating system. Project Description For this simple project the software will need to perform three operations: Configure the GPIO portSet the GPIO pins for the selected portReset the GPIO pins for the selected port The application here will toggle two GPIO pins, one connected to one of the LEDs on the board (GPIO16 connected to the OK/ACT LED) and the second connected to a pin on the header (GPIO18 connected to Pin 12 on header P1). Resources Hardware Physical addresses range from 0x20000000 to 0x20FFFFFF for peripherals. and
Raspberry Pi « Naich's crappy blog These are appendixes from the set of posts about setting up and using a Raspberry Pi. Appendix A: Selecting an IP Address As part of the boot process, your Pi used DHCP to get an IP address from the router. The problem with this is that it is an automated process which is invisible to you unless you log onto your router’s admin page to discover it. If only the Pi and your router know what its IP address is, you don’t know where to log on to your Pi. You need to pick an address for your Pi – something like 192.168.1.16, but you want to pick one that is not in the range of addresses your router assigns for DHCP requests. I’m going to leave it to you to find out what range of addresses your router assigns for DHCP and which ones are suitable for static IP addresses. Your PC’s IP is 192.168.1.3 so you pick 192.168.1.250 for your PiYour PC’s IP is 192.168.1.101 so you pick 192.168.1.3 for your Pi Go back Appendix B: The Linux Filesystem naich@raspberrypi: ~ $ ls naich@raspberrypi: ~ $ Eh? Go back
Installing Transmission-daemon in Raspberry Pi running Raspbian - Robert Setiadi Website Transmission is a tool to download files using torrent service. Transmission-daemon is basically the same, but without user interface. We install it in always-on server (like Raspberry Pi), then access it from different computers. This guide assumes you already have Raspbian OS installed in your Raspberry Pi with LAN setting properly established. My Raspbian image file is dated 9 Feb 2013. Before installing new application or service in Raspbian, make sure to always type this into terminal :sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade If you’re installation is not the latest version, it might take a while as Raspbian will download the latest files from Internet. Now, open terminal again and install Transmission-daemon:sudo apt-get install transmission-daemon Ideally, we need two folders to contain Transmission files:mkdir /home/pi/progress (for incomplete downloads)mkdir /home/pi/completed (for completed downloads) You shall see many setting lines. 1. All done.
Five Basic Raspberry Pi Projects At $35, the Raspberry Pi is almost an impulse purchase. Once its in your hands, its basic nature calls out for it to be used in some great projects. While its always tempting to jump in and build something completely mindblowing, it pays to start with a few easy projects and learn the system before jumping in to the deep end and experiencing frustration. Easy Project Criteria We classified easy, basic Raspberry Pi projects as ones that required a limited amount of programming expertise and required only hardware that might be owned already. 1. Turning the Raspberry Pi in to a webcam server for remote access, or monitoring or recording events while you are away is a great use of the capabilities of the Raspberri Pi. 2. The onboard 10/100 ethernet on the Raspberry Pi is a good start for providing basic internet connectivity, but today we expect our devices to have wireless capabilities. 3. 4. The display options on the Raspberry Pi make it a prime candidate for driving digital displays.
s Raspberry Pi Lesson 11. DS18B20 Temperature Sensing @Raspberry_Pi #raspberrypi January 29, 2013 AT 8:28 am Adafruit’s Raspberry Pi Lesson 11. DS18B20 Temperature Sensing @ The Adafruit Learning System. The Occidentalis Linux distribution for Raspberry Pi (and Raspbian as of Dec 2012) includes support for the DS18B20 1-wire temperature sensor. Learn more! OAdafruit’s Raspberry Pi Lesson 10. Stepper motors fall somewhere in between a regular DC motor (Lesson 9) and a servo motor (Lesson 8]). Learn more! Adafruit’s Raspberry Pi Lesson 9. This lesson describes how to control both the speed and direction of a DC motor using Python and a L293D chip. Learn more! Adafruit’s Raspberry Pi Lesson 8. This lesson describes how to control a single servo motor using Python. Learn more! Adafruit’s Raspberry Pi Lesson 7. In this lesson we will explain how to install and use VNC on your raspberry Pi. Learn more. Tutorial: Adafruit’s Raspberry Pi Lesson 6. In this lesson you will learn how to remote control your Raspberry Pi over your local network using Secure Shell (SSH). Learn more.
dwelch67/raspberrypi Inputs - raspberry-gpio-python - How to use inputs in RPi.GPIO - Python library for GPIO access on a Raspberry Pi My favorites ▼ | Sign in Project Home Terms - Privacy - Project Hosting Help Powered by Google Project Hosting