DStar 101, or How do I do that in DStar?


Dvap and Raspberry Pi How to

By reading this article you are agreeing that you have read the Disclaimer page.

Many thanks to Graham G1RNZ for this excellent "how to".

The Raspberry pi makes a good companion to a DVAP because it is small in size and does not consume very much power and therefore can be left on 24/7.

What is required:

Raspberry pi model B (512mb preferably ) and a case makes a nice addition as the DVAP can be stacked on top. An SD card minimum 4GB class 10, a USB power supply that can deliver a minimum of 2A, USB cable for R-pi, Dvap and USB cable, Ethernet cable (preferred ) or Wi-Fi dongle (if using Wi-Fi dongle you will require a powered USB hub ).

Items required during first setup:

Mouse & keyboard, HDMI cable and suitable monitor or tv (the R-pi does have a RCA socket for video out which could be used on a monitor that has video in) USB hub, internet connection, computer running windows or Linux possibly Mac I have no experience of Mac so cannot advice.

There are a few ways of setting up the raspberry pi as a Dvap gateway all using Johnathan Naylor G4KLX's ircddbgateway and dvapnode software.

1) This is perhaps the easiest way as most of the work has been done for you by Brian GW6WTK (thanks Brian) who has produced a disc image with all the required software on.

Can be downloaded from:

http://www.westerndstar.Co.UK/downloads/Dvap+ircDDB+VNC.rar

You will require software to write the image to your are card you cannot just drag and drop to the card.

If you are using windows then you can download the following software called win32diskimager from:

http://sourceforge.net/projects/win32diskimager/files/latest/download

For Linux users here is a small bash script to do the job:

Just download the zip file and unzip and follow the install instructions in the readme file.

You should now have the required software and hardware, unzip Dvap+ircDDB+VNC.rar to your desktop of your pc (not R-pi).

Using win32diskimager (windows) or imagewriter (Linux ) burn the Dvap.img file to a 4GB (minimum) SD card this will take a little while. Once done the SD card is ready to be put into the Raspberry pi. I always make sure that there is no power attached to the Raspberry pi before inserting the SD card.

In order to configure the ircddbgateway & dvapnode software you will need a monitor mouse and keyboard connected, this will require a powered USB hub. Make all the connection including the Dvap to the powered USB hub except the power to the raspberry pi this is the mini USB connection. At this stage it's best to use an Ethernet connection for internet if you are intending to use Wi-Fi then that can be configured later. Your final connection should be the power to the raspberry pi if you have a good quality USB 2 hub you can plug the mini USB power lead for the R-pi into the hub so that it gets it's power from the hub, if not then use a separate power supply for the pi. After a while you should see the pi desktop and the two applications for the Dvap running.


Raspberry pie.








The basic setup is the same as for a dvap running on a pc so just follow the setup listed elsewhere on dstar 101


2) The second method is much the same as installing ircddbgateway & dvapnode on a linux distro running on a pc. You will need the same hardware as for method one. In addition you will need a copy of http://downloads.raspberrypi.org/images/raspbian/2013-02-09-wheezy-raspbian/2013-02-09-wheezy-raspbian.zip

and burn this to your sd card. Setup your raspberry pi and insert your sd card and power up. Now we need to configure some R-pi settings, on your desktop you will see an icon for lxterminal open this app and type sudo raspi-config

Raspberry Pie.














Select expand_rootfs and select Enable ssh server.

Select Finish and Reboot.

Now download the ircddbgateway & dvapnode software from the yahoo group dircetly onto the raspberry pi. Now it is the same install method as described for the PC linux install.