This is how I installed the Echolink Proxy Software on my Raspberry Pi

I wanted to see if I could use my Raspberry Pi as an Echolink Proxy server  due to it's small size and low power consumption. 

One of the radio club's I belong to offers a Proxy for members who may be traveling and are behind a Firewall they can't control.  I wanted to make the existing proxy we use smaller.

Here is what I did.

My initial setup was with the Ethernet cable plugged in to my router, A USB Keyboard, and an old TV Plugged into the RCA Jack on the Pi, and of course a Micro-USB cable for power.


- The official Raspian release from the Raspberry Pi Foundation:
http://www.raspberrypi.org/downloads
Follow the directions on the RPi site for creating the card.
Note, I used the Win32DiscImager to create my file (I used the WHEEZY DISTRO)

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) memory_split Change memory split (mine set to 16)
6) ssh Enable ssh server
7) boot_behaviour DO NOT BOOT INTO DESKTOP
(You can always run "sudo raspi-config" to get back to this setup screen
       Then click Finish.  The Pi will Restart.

I am running mine Headless, and didn't want any GUI.
I control mine via Putty and WinSCP on my Windows Laptop.
You can run    sudo raspi-config  from the command prompt and change how it boots up.
(Text only or GUI)
On initial boot, log in using user pi, and the password set above. The pi user is essentially a root user. 
If you want to create a root password.. so you donít always have to type sudo:
At the prompt, type:
sudo su -
passwd root (set a password)

The rest I did as user  root

Download the Proxy software from the Echolink download Site.
There are some proxy instructions at http://echolink.org/proxy.htm

(I downloaded, and unzipped the files using my windows computer, then moved the files to the Pi using WinSCP)

I put the 2 files into the /home/pi  directory.
EchoLinkProxy.jar and the ELProxy.conf
(A log file appears to have been generated automatically once run the first time)
Edit the ELProxy.conf file as required for your situation.
(At a minimum, Proxy Name, and Password)

Note: Luckily JAVA is included in the Wheezy Distro.  The proxy program is a Java based script.

You can then verify the program works by changing directories:
     cd /home/pi
and issuing the start up command 
java -jar EchoLinkProxy.jar

If all went well you should see the "Ready for new client connection"  message.

I also checked that the information was populated on
http://echolink.org/proxylookup.jsp
Use ctrl c to stop the program.

THIS IS HOW I GOT THE PROXY SCRIPT TO AUTOSTART WHEN THE PI REBOOTS

root@raspberrypi:~# nano /etc/rc.local
Then I added the following command to the bottom of  /etc/rc.local  file

# Auto run the Echolink Proxy Program
cd /home/pi && java -jar EchoLinkProxy.jar
exit 0

This seems to have worked for me...

type reboot  or  shutdown -r now to restart the Pi
Note:   You must also make sure that the proxy PC can accept UDP ports 5198 and 5199, and outbound TCP port 5200.
Also the SSH port. (Default 22) I recommend you change the default SSH Port.

Hopefully this will be helpful to someone out there. 
73 Good Luck YMMV

W2YMM
W2YMM RASPBERRY PI
ECHOLINK PROXY HOW TO PAGE

Other things to do.
Change ssh port number
nano /etc/ssh/sshd_config
Change port number from 22 to something else
service ssh restart


Installing Midnight Commander
(An addon program I like)

apt-get install mc
mc    to launch


Set a static IP address


W2YMM
long island ny
Beagle Bone Black
Raspian Jessie
Echolink Proxy Setup

Click Here
This is how I setup a spare Beagle Bone Black
as a Proxy Server for Echolink


Get the latest Debian Image from the link below.

http://beagleboard.org/latest-images

Debian 8.2 (BeagleBone, BeagleBone Black, Seeed BeagleBone Green,
Arrow BeagleBone Black Industrial - 2GB SD) 2015-11-12 -

Download and Save the zipped image file

Extract file with 7Zip

Use Win32 Disc Imager to burn image to sd card. (I used an 8GB card)

Insert the SD card into the BBB, Connect your network cable
and Power up the computer.

Find your BBB in your device list of your router.

Log in as root with no password.

Expand the File System Partition on the microSD card.

By default the microSD image is only about 2GB in size, You will need to
fully expand the partition to the full size of your microSD card.

      cd /opt/scripts/tools/
      git pull
      ./grow_partition.sh
      reboot

df will show drive space

You will need to install Java for the Echolink Proxy script  
Type    apt-get update
        apt-get install oracle-java8-installer

This will donwload and install Java,
You will be asked to accept the terms and conditions
on a pp up splash screen.

Next You will want to add a root password

Change the root password.
       passwd root
to set a root password.
Enter your new password in twice.


Change to the /home Directory then Make a directory called proxy
copy the Echolink proxy files into /home/proxy
Edit the config file

You will want the script to start automatically at reboot.
You can accomplish this with a cron job.

As root, type:
        crontab -e
Select your prefered editor I choose nano (1)

Add the following line:

@reboot /home/proxy && java -jar EchoLinkProxy.jar

Ctrl O to Write the file out
Ctrl X to Save an exit.

Now when you type reboot
the BBB will restart and the Proxy Program will
automatically start.


You will want to assign a Static IP address to the BBB.
http://elinux.org/RPi_Setting_up_a_static_IP_in_Debian

Set up a Static IP address on the BBB (First make a backup)

      cp /etc/network/interfaces /etc/network/interfaces.sav

      nano /etc/network/interfaces
edit the file and save then restart the network
      /etc/init.d/networking restart


    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.1.48
    gateway 192.168.1.1
    netmask 255.255.255.0
    network 10.0.0.0 # Not required
    broadcast 10.0.0.255 # Not required



Forward Port 5198-5199 + SSH Port# for remote access

Changing your SSH Port

Add more info.............

allowing root login via ssh
nano /etc/ssh/sshd_config

Edit the line below

# Authentication:
LoginGraceTime 120
#PermitRootLogin without-password      comment out
PermitRootLogin yes                    ADD THIS LINE
StrictModes yes

Restart ssh
service sshd restart

Now you should be able to log in as root.

Static IP Address   Debian Jessie
Despite lots of confusing information out there, it is actually pretty straightforward to set a static address in Raspbian.

Being by editing the file (do not use /etc/network/interfaces anymore!)

sudo nano /etc/dhcpcd.conf

Then all you need to do is append this to the bottom of the file, substituting the correct IP address you want.

interface eth0
static ip_address=192.168.1.150/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

Restart your Pi and you are set!
shutdown -r now



 
Additional info on changing the root password

log in as user pi
enter pi's password

sudo sh
passwd root
enter the new root password twice
exit