Thursday, 2 May 2013

How to easily install Fedora Remix 14 to your Pi

1. Download the installer for Windows [ Fedora installer / Linux Others Installer ( Python ) ]

2. Unzip the windows file to an easy destination. Then Right click and run as Admin with highest privileges.

3. Once the installer has started , then click the refresh (circle) button to refresh all of the download packages.

4. Select the image "Raspberry Pi Fedora Remix 14" ( or select the image if you downloaded it separately) 

5. Refresh the list of devices till you see your SD card drive. 

6. Select your SD card

7. Click INSTALL

8. Wait for installation to complete, and then remove the SD card, and boot with your Pi. Enjoy :) 

adding usb drives to raspberry pi

Powered USB Hub Required

In order to expand storage capacity, you will need to connect a powered USB hub to one of your Pi USB jacks, and then connect the keyboard, mouse/trackpad (if any), and USB drive to the hub. A USB hard drive can either have its own AC/mains power supply or it can have two USB plugs, and get a USB 2.0 hub with at least four expansion ports - more is better, within a reasonable cost. A four-port USB 2.0 hub will cost about US$7 - $15, and don't bother with a USB 3.0 hub, as the Pi only has a USB 2.0 interface.

Mounting Drive Partitions


You can plug in a USB flash or hard disk drive while the Pi is running without any problem, but, be sure to unmount a drive before unplugging it from the Pi (covered below). The USB device will be sensed by the Pi, however, it probably won't be added to the operating system's file system unless you are running an X window desktop such as LXDE, where USB drives should appear in the file manager. Running at just the command line will require some manual intervention to "mount" the device onto the file system. A flash or hard drive may be configured with one, or more, partitions, which you can create yourself in the unlikely event that the drive doesn't already have any. Creating partitions is covered in a separate tutorial.

USB Drive Hierarchy


Linux hardware devices are organized and identified by letters under the file system's device hierarchy, /dev. USB drives attached to the Pi are found under the file system as /dev/sdX, where "X" starts with the letter "a" representing the first USB drive, "b" for the second drive, "c" for the third, etc. The individual partitions on each drive are represented by incremented numbers, starting with "1". So, the first partition on the first USB drive is located in the file system as /dev/sda1, the second partition on that drive is /dev/sda2, the third partition on a third drive would be /dev/sdc3, etc.

Mount Points


In order to make a partition accessible to the file system, you need to use the Linux "mount" command, referencing the hardware (e.g., /dev/hda1) and a "mount point" in the file system, which is any empty directory, usually created for the purpose by the user. There is a canonical (i.e., standard) directory path where mount points are usually created: the /mnt directory. You can create a new directory under /mnt for each partition to be mounted, and it can be named anything you want as long as it doesn't contain any spaces. You might want to name it to correspond to the drive's physical characteristics, e.g., /mnt/1GB_USB_flash, or /mnt/120GB_USB_hard_disk.

Mounting a Partition


After creating the mount point for a partition, the only thing left to do is to actually mount the drive partition, e.g.:
sudo mount -o uid=pi,gid=pi /dev/sda1 /mnt/1GB_USB_flash
where:
-o (lowercase letter "o", not the number zero) specifies that an option string follows
uid=pi,gid=pi specifies the user ID is user "pi" and the group ID is "pi" (note there are no spaces allowed between these terms)
/dev/sda1 is the first partition on the first USB drive
/mnt/1GB_USB_flash is the mount point directory

Operations on a Mounted Partition


If all goes well, you will see nothing after pressing the Return key other than another command line prompt, which means there were no errors encountered during the mount process. You can then access the partition by referring it via /mnt/1GB_USB_flash/... where the "..." would be the file system path to the directories and files on which you want to perform an operation. For example, to list the details about the files at the top of the partition, you would simply type:
ls -l /mnt/1GB_USB_flash
To copy a file named "file1.txt" to another file named "file2.txt" in the directory "my_directory", you would type:
cp /mnt/1GB_USB_flash/my_directory/file.txt /mnt/1GB_USB_flash/my_directory/file2.txt
Of course, you can make this a lot simpler by just changing the current directory to my_directory like this:
cd /mnt/1GB_USB_flash/my_directory
To run an executable file "my_program.bin" while in that directory, you would type:
./my_program.bin
You can copy or move files and directories to or from any directory in the mounted partition by just referring to the appropriate path to that directory in the partition.

Unmounting a Partition Before Drive Disconnection


When you're done with a drive and want to disconnect it from the Pi, you should unmount the drive by using the "umount" command (notice there is no letter "n" between the "u" and the "m") and referring to the mount point:
sudo umount /mnt/1GB_USB_flash

Other mount and umount Features


You can learn more about mount and umount features by typing mount -h or mount --help,umount -h or umount --help, or via their "man" (manual) pages by typing man mount or man umount.

Raspberry Pi Tutorials


Happy Pi Day! After the popularity of our 20 awesome projects for Raspberry Pi slideshow, we felt the best way to celebrate the geekiest day of the year was to bring you another round of inspiration for the microcomputer. This time we rounded up the best YouTube tutorials out there, and there were quite a few to choose from.
The Raspberry Pi community is strong and a search for Raspberry Pi on YouTube brings up almost 16,000 results, but below are the best we came across, from what to do when you first unpack your device to fun projects like setting it up as an internet radio device.
1. Unbox and setup
This video takes you through the very first steps after your Raspberry Pi arrives at your door, including things like power supply connection, SD card setup and first boot.
2. Using Raspberry Pi for web hosting
This tutorial shows you step by step directions for setting up your Raspberry Pi to act as a web host for personal web pages, resumes and the like.
3. Build a retro-style computer
If you want to take on a more intense computer build based on Raspberry Pi, this is a cool one to take on.
4. Make a $35 media center
One of the most common Raspberry Pi projects is using it as a devoted media center. This video shows you one way to go about it.
5. Ultrasonic sensor
This video comes from YouTube user Raspberry Pi who uploads many tutorials for the device. This one would be a cool beginner level project that also lets you get your hands dirty. Called Raspberry Pi Spy, this project lets you measure how far away something is calculating the time interval between sending a high frequency signal and receiving the echo.
6. Internet radio
This video is the longest of the bunch, but it gives detailed directions for setting up your Raspberry Pi as an internet radio device.
7. WiFi Wireless Internet
This is an especially useful tutorial. Learn how to set up wireless internet on the Raspberry Pi.

Raspberry Pi No-IP Client




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 http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
[ENTER]
Extract the archivetar 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 install
The 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]

The client runs continuously until shutdown or the Raspberry Pi is shutdown.
taken from 
http://raspberrypihelp.net

Sickbeard / Headphones / Sabnzb / Transmission / Couchepotatoe PI

Sickbeard / Headphones / Sabnzb / Transmission  / Couchepotatoe PI


Right after a little while i've knocked up a script that should install on a fresh pi and be ready for you lot to download your favourite music / films  / tv shows.

just run the following:

sudo wget http://www.xcellweb.co.uk/sofar.sh && sudo chmod 777 sofar.sh && ./sofar.sh

All are on the default ports.

Sorry for the poor blog but hey ho it works for me!

Tuesday, 26 February 2013

Slideshow HELL!

First of all........ ARRGGGHHHHHHHHH

fbi the tool to do a slideshow is doing me head in as it does not work so now using something else.

pqiv

due to issues with raspbian there is a lovely fix to get this working

To build the app on a raspberry pi you need the following:
(if you do no have debian wheezy, things may look different)

# remove the installed version
sudo apt-get remove pqiv

# install the required packages to get the source from git and compile it
sudo apt-get install git libgtk2.0-dev

# as user pi in the user home directory (/home/pi), this will create a sub directory 'pqiv'
git clone https://github.com/phillipberndt/pqiv.git -b 0.12

# configure will validate all preconditions and create a platform specific make file
cd pqiv
./configure

# now it's time to make the fix in the source code
replace "gchar option;" by "gint option";
in the variables declaration of the main() function in pqiv.c.

# make and install the app
sudo make all install

# that's it, you have a fixed version of pqiv

Taken From : http://www.raspberrypi.org/phpBB3/viewtopic.php?t=17033&p=199176

Tuesday, 29 January 2013

Wepbuster on PI

I've been playing with PWNPI and one of my fav wep cracking scripts is wepbuster but when you try to install it there are issues.


found a quick and easy way to install all the bits and bobs it requires:

apt-get install libterm-readkey-perl libnet-scp-expect-perl libfile-policy-perl libnumber-range-perl libalgorithm-permute-perl libparallel-forkmanager-perl

Latest Version of Wepbuster:

http://wepbuster.googlecode.com/files/wepbuster-1.0_beta-0.7.tgz

Amazon

Donate

Donate Towards More Raspberry PI's for Projects