Friday, November 29, 2013

Raspberry Pi + svxlink = Low power echolink node

What is the easiest way to get echolink node up and running on raspberry pi? Surely, get a premade image which has everything inside. I've created one image which can fit into 2GB SD card for this, just follow the following steps to get it up and running:

For hardware, you need to have the following:
    • Raspberry Pi for sure, with a minimum 4GB SD card
    • A USB echolink interface, can be commercially sourced or DIY. There are many DIY schematics out there that you could follow.  
    • Here is the configuration on how to get the things working together, courtesy of svxlink.de website:


For software:
    1. Download the following prepared image from google drive, it is based on raspbian-2015-02-16 image and has pre-installed svxlink-14.08. raspi-wheezy-svxlink.img.zip
    2. Unzip the file and copy it to your SD card using the following instructions that can be found here.
    3. Boot up the RasPi, if you do not have an HDMI monitor, you may want to access the RasPi from your terminal emulator (putty or the like), connect the RasPi to your router via CAT5 cable. 
    4. To find the IP address of your RasPi, just go to your router status and look for the hostname raspberrypi. 
    5. Use SSH connection, logon to the RasPi using the default username/password which should be: pi/raspberry
    6. If you've bigger SD card then the 2GB image, you may want to use fullest capacity of the SD card, run the raspi-config command as sudo:
      • $ sudo raspi-config
      • Choose the first option to expand rootfs. Exit when done.
    7. Edit the following config files for svxlink (command):
      • $ sudo nano /etc/svxlink/svxlink.d/ModuleEchoLink.conf (edit the callsign - use sysop -L callsign, password, sysop, location and description)
      • $ sudo nano /etc/svxlink/svxlink.conf (edit the callsign), if you're using echolink interface that uses VOX, just leave the others as is. Edit the APRS info too as required.
    8. To tune the mic/speaker, use alsamixer:
      • $ sudo alsamixer (use the up/arrow to tune the volume, right/left to move between speaker and mic sliders). 
      • If the slider has MM underneath them, it means that they're muted, press 'M' to unmute.
    9. You should be done with the configuration, you may run the svxlink now to test it out.
      • $ sudo svxlink
    10. Your node should appear in the echolink now. Try to use your PC or android client to connect to your node and see if it is working. You may need to configure your router to allow echolink to work, use port forwarding and forward the UDP port 5198-5199 and TCP port 5200 to your RasPi IP address.
    11. If everything is working as expected and you want to run svxlink as a service, follow the steps here. The link to auto start the server has been vanished, so the best to do an autostart of the svxlink is by running the following command (if the /etc/init.d/svxlink is not present, copy the script over from the source under distribution/debian/etc/init.d/):
      • update-rc.d svxlink defaults

8 comments:

  1. I Would like to know the password to rpi iso
    thanks in advance

    ReplyDelete
  2. Hi sorry, a bit late, but hope you've found the password, it should be the standard password. Username: pi, Password: raspberry.

    ReplyDelete
    Replies
    1. the link does not work anymore, I seve the iso thanks
      ik7xlw Rino

      Delete
    2. Hi Rino, I've updated the image and location. The default password for pi and svxlink users is raspberry, please change it when you've it connected to the net.

      Delete
  3. I have been very successfully using the Raspberry Pi B together with direwolf.

    Direwolf is simple to install, has very good decoding capabilities, and depending on how you use it does not have excessive impact on the CPU.

    It can be used as a digipeater, igate or straight decoder.

    I will still try your configuration on a new rasbperry pi config.

    Regard,

    Alister de zs1ok (Cape Town)

    ReplyDelete
  4. I heard few ham guys successfully using Direwolf before. But does not have a time to try it.
    Would you like to share your setup with us?

    ReplyDelete
  5. Does the image have a graphical interface? It would make it easier to setup my wifi card and stuff.

    Thanks for the great work!

    ReplyDelete
  6. hi Im Tom from Poland SP6TK
    This img dont run in my Raspberry Pi 3. System no boot. Im wite img. on my 16Gb sd card.

    ReplyDelete