IRLP

 

It was time consuming for me when I did my first set up

so here are some instructions and links I found helpful.

 

These instructions worked for me:

 

Steps to installing IRLP on a Raspberry Pi:

Read to the bottom of the page before you start!

I modified these instructions a bit. They are basically the same. Just easier for me to follow. Use at your own risk.--N7ZYS

The original unedited instructions are here.

Back up your  install using the "backup_for_reinstall"
script. It will create an irlp_backup.tgz file on a USB stick - More on this
later.

 This is experimental and not supported. If it breaks something, I
apologize, but I can not forsee all possible issues. I will try to help where I
can, but can not promise it will all work.

Hardware required:
- IRLP Ver 3.0 board
- Raspberry Pi Model B (any Revision SHOULD work, tested on a Rev 2)
- DB-25 to IDC 26 parallel cable (or similar)(see below)
- USB sound card (See below)
- 8G  SD card (larger is better, but not required)
- USB keyboard and mouse(for initial boot only)

USB sound card I use is a Syba SD-CM-UAUD, based on Cmedia CM119.
Some Pics of the sound card:
http://www.steila.com/USB4IO/Syba/Syba.html

Where you can get it from ($8.99 free shipping to US):
http://www.newegg.com/Product/Product.aspx?Item=N82E16812186035

Modifications required:
- Please prepare the IRLP board/parallel cable and sound card. (see picture page below)


Software Required:
- The official Raspbian release from the Raspberry Pi Foundation:
http://www.raspberrypi.org/downloads
(no support will be offered for this, besides what buttons to press) Follow the
directions on the RPi site for creating the card.

SPECIAL NOTE ABOUT THE PI - Do not "hotplug" USB devices, as the unit tends to
reset without warning when USB devices are plugged in. So if you are going to
run an irlp-reinstall, I would suggest plugging your USB key with the backup
file in before you boot the PC.

Boot your Pi, and perform the following steps in the config:
1) expand_rootfs Expand root partition to fill SD card
2) change_pass Change password for 'pi' user
3) change_locale Set locale (as required)
4) change_timezone Set timezone
5) NEW - Set up the keyboard layout (defaults to UK keyboard)
6) memory_split Change memory split (set to 16)
7) ssh Enable ssh server
8) boot_behaviour DO NOT BOOT INTO DESKTOP

Then click Finish.

On initial boot, log in using user pi, and the password set above. The pi user
is essentially a root user, and we want to create a root password, and carry on.
That makes this more like other IRLP nodes...

At the prompt, type:

sudo su -
passwd root (set a password)

Now in the future, you can log in as root, or you can also choose to remove the
pi user (optional):

userdel -r pi

Now we download the IRLP "get-irlp-files" script, which will carry us through
the rest of the install:

Make sure the IRLP board and sound card are connected to the Pi.

wget ftp://ftp.irlp.net/get-irlp-files
chmod +x get-irlp-files
./get-irlp-files

(This process will take several minutes (up to 50), as it basically strips the
default install of about 200 unneeded packages, and configures your Pi for the
packages it needs for IRLP to run). Lets be honest - the Pi is not the fastest
beast on the block.... so this process takes time.

Then progress with your install as usual. All of the commands are the same as a
normal node, and the installer automatically picks up the special binary files
for the ARM processor.

Your node should work at this point.

The last step we will do is update the firmware on your Pi. This will help keep
everyone on a "level" playing field, and will help instructions work for all
users.

Follow the directions at:
https://github.com/Hexxeh/rpi-update/

EXCEPT, as you are already logged in as root, you can remove the "sudo" in the
front of all of the commands. So the command string is:

wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update

rpi-update

Then reboot, and enjoy your new PiRLP node.

 

Stop and do a backup NOW!

The backup instructions are here.

 

You will need to make a ribbon cable.

It's called: DB25 to IDC 26 pin F/F Port Ribbon Cable. Amazon has it for around $5.

Here is a video of the mod you need to do.

 

You will need an IRLP board modified for 3.3v.

Here is where you buy your board.

 

USB soundcard info:

The link that helps you get the right one.

You will need to mod the soundcard. (see picture page below)

The resistor on the soundcard is a 4.7k

Here is a page with pictures that is very helpful. You will need to look at these pictures to complete several install steps.

 

Some good help documents here.

 

A link if you want to order your radio cables:

http://www.irlpcables.com/

Or.. if you want to use an older radio and make your own:

http://www.irlp.net/pnp-radio-pinouts.html

 

You can get help here:

https://groups.yahoo.com/neo/groups/irlp/info

 

Instructions to set up a static IP:

http://elinux.org/RPi_Setting_up_a_static_IP_in_Debian

 

To run the Troubleshooting Script:

su – repeater (su SPACE MINUS SPACE repeater)
troubleshoot-irlp

Run this script to check for port and other problems. You must log in as "repeater" first.

 

To adjust the audio levels:

su – repeater (su SPACE MINUS SPACE repeater)

alsamixer

To Save your settings:

alsactl store

 

To check audio:

audio_level_test

(Use the "D" key on your mic to send 8 seconds of audio)

 

Set up the ID, time out timer, ect...

(From root) nano /home/irlp/custom/environment

 

Look up the required router settings HERE.

 

* These instructions are a good start. You will still need to do some research on the net and be familiar with the Pi.

Good luck!

Neil-- N7ZYS